diff --git a/assets/c4Diagram-44c43e89-5a4b3c70.js b/assets/c4Diagram-44c43e89-8fb065c3.js similarity index 99% rename from assets/c4Diagram-44c43e89-5a4b3c70.js rename to assets/c4Diagram-44c43e89-8fb065c3.js index 87f36b67..159f3c7c 100644 --- a/assets/c4Diagram-44c43e89-5a4b3c70.js +++ b/assets/c4Diagram-44c43e89-8fb065c3.js @@ -1,4 +1,4 @@ -import{s as Ve,g as je,a as Ue,b as Fe,c as Ut,d as Ee,m as ze,e as Xe,f as Yt,h as Qt,l as _e,i as We,j as ke,w as Qe,k as le,n as xe}from"./index-cc077c34.js";var qt=function(){var e=function(Ot,_,x,m){for(x=x||{},m=Ot.length;m--;x[Ot[m]]=_);return x},t=[1,6],n=[1,7],o=[1,8],l=[1,9],i=[1,16],a=[1,11],r=[1,12],s=[1,13],u=[1,14],y=[1,15],d=[1,27],p=[1,33],C=[1,34],T=[1,35],R=[1,36],D=[1,37],L=[1,72],Y=[1,73],Q=[1,74],H=[1,75],q=[1,76],G=[1,77],K=[1,78],J=[1,38],Z=[1,39],$=[1,40],tt=[1,41],et=[1,42],it=[1,43],nt=[1,44],st=[1,45],at=[1,46],rt=[1,47],lt=[1,48],ot=[1,49],ct=[1,50],ht=[1,51],ut=[1,52],dt=[1,53],ft=[1,54],pt=[1,55],yt=[1,56],gt=[1,57],bt=[1,59],_t=[1,60],xt=[1,61],mt=[1,62],vt=[1,63],Et=[1,64],kt=[1,65],At=[1,66],Ct=[1,67],wt=[1,68],Tt=[1,69],Nt=[24,52],$t=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],It=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],v=[1,94],E=[1,95],k=[1,96],A=[1,97],w=[15,24,52],fe=[7,8,9,10,18,22,25,26,27,28],pe=[15,24,43,52],zt=[15,24,43,52,86,87,89,90],Dt=[15,43],te=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(_,x,m,g,O,h,Vt){var f=h.length-1;switch(O){case 4:g.setDirection("TB");break;case 5:g.setDirection("BT");break;case 6:g.setDirection("RL");break;case 7:g.setDirection("LR");break;case 11:g.parseDirective("%%{","open_directive");break;case 12:break;case 13:h[f]=h[f].trim().replace(/'/g,'"'),g.parseDirective(h[f],"arg_directive");break;case 14:g.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:g.setC4Type(h[f-3]);break;case 26:g.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 27:g.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 28:this.$=h[f].trim(),g.setTitle(this.$);break;case 29:case 30:this.$=h[f].trim(),g.setAccDescription(this.$);break;case 35:case 36:h[f].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 37:g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 38:h[f].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[f]),this.$=h[f];break;case 39:g.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 40:g.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 41:g.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 42:g.popBoundaryParseStack();break;case 46:g.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 47:g.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 48:g.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 49:g.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 50:g.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 51:g.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 52:g.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 53:g.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 54:g.addContainer("container",...h[f]),this.$=h[f];break;case 55:g.addContainer("container_db",...h[f]),this.$=h[f];break;case 56:g.addContainer("container_queue",...h[f]),this.$=h[f];break;case 57:g.addContainer("external_container",...h[f]),this.$=h[f];break;case 58:g.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 59:g.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 60:g.addComponent("component",...h[f]),this.$=h[f];break;case 61:g.addComponent("component_db",...h[f]),this.$=h[f];break;case 62:g.addComponent("component_queue",...h[f]),this.$=h[f];break;case 63:g.addComponent("external_component",...h[f]),this.$=h[f];break;case 64:g.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 65:g.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 67:g.addRel("rel",...h[f]),this.$=h[f];break;case 68:g.addRel("birel",...h[f]),this.$=h[f];break;case 69:g.addRel("rel_u",...h[f]),this.$=h[f];break;case 70:g.addRel("rel_d",...h[f]),this.$=h[f];break;case 71:g.addRel("rel_l",...h[f]),this.$=h[f];break;case 72:g.addRel("rel_r",...h[f]),this.$=h[f];break;case 73:g.addRel("rel_b",...h[f]),this.$=h[f];break;case 74:h[f].splice(0,1),g.addRel("rel",...h[f]),this.$=h[f];break;case 75:g.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 76:g.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 77:g.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 78:this.$=[h[f]];break;case 79:h[f].unshift(h[f-1]),this.$=h[f];break;case 80:case 82:this.$=h[f].trim();break;case 81:let Pt={};Pt[h[f-1].trim()]=h[f].trim(),this.$=Pt;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:79,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:80,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:81,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:82,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(Nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(Nt,[2,21]),e($t,[2,23],{15:[1,88]}),e(Nt,[2,43],{15:[1,89]}),e(It,[2,26]),e(It,[2,27]),{35:[1,90]},{37:[1,91]},e(It,[2,30]),{45:92,85:93,86:v,87:E,89:k,90:A},{45:98,85:93,86:v,87:E,89:k,90:A},{45:99,85:93,86:v,87:E,89:k,90:A},{45:100,85:93,86:v,87:E,89:k,90:A},{45:101,85:93,86:v,87:E,89:k,90:A},{45:102,85:93,86:v,87:E,89:k,90:A},{45:103,85:93,86:v,87:E,89:k,90:A},{45:104,85:93,86:v,87:E,89:k,90:A},{45:105,85:93,86:v,87:E,89:k,90:A},{45:106,85:93,86:v,87:E,89:k,90:A},{45:107,85:93,86:v,87:E,89:k,90:A},{45:108,85:93,86:v,87:E,89:k,90:A},{45:109,85:93,86:v,87:E,89:k,90:A},{45:110,85:93,86:v,87:E,89:k,90:A},{45:111,85:93,86:v,87:E,89:k,90:A},{45:112,85:93,86:v,87:E,89:k,90:A},{45:113,85:93,86:v,87:E,89:k,90:A},{45:114,85:93,86:v,87:E,89:k,90:A},{45:115,85:93,86:v,87:E,89:k,90:A},{45:116,85:93,86:v,87:E,89:k,90:A},e(w,[2,66]),{45:117,85:93,86:v,87:E,89:k,90:A},{45:118,85:93,86:v,87:E,89:k,90:A},{45:119,85:93,86:v,87:E,89:k,90:A},{45:120,85:93,86:v,87:E,89:k,90:A},{45:121,85:93,86:v,87:E,89:k,90:A},{45:122,85:93,86:v,87:E,89:k,90:A},{45:123,85:93,86:v,87:E,89:k,90:A},{45:124,85:93,86:v,87:E,89:k,90:A},{45:125,85:93,86:v,87:E,89:k,90:A},{45:126,85:93,86:v,87:E,89:k,90:A},{45:127,85:93,86:v,87:E,89:k,90:A},{30:128,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,130],43:[1,129]},{45:131,85:93,86:v,87:E,89:k,90:A},{45:132,85:93,86:v,87:E,89:k,90:A},{45:133,85:93,86:v,87:E,89:k,90:A},{45:134,85:93,86:v,87:E,89:k,90:A},{45:135,85:93,86:v,87:E,89:k,90:A},{45:136,85:93,86:v,87:E,89:k,90:A},{45:137,85:93,86:v,87:E,89:k,90:A},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(fe,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(Nt,[2,22]),e($t,[2,24],{31:31,29:143,32:p,33:C,34:T,36:R,38:D}),e(Nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:C,34:T,36:R,38:D,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(It,[2,28]),e(It,[2,29]),e(w,[2,46]),e(pe,[2,78],{85:93,45:145,86:v,87:E,89:k,90:A}),e(zt,[2,80]),{88:[1,146]},e(zt,[2,82]),e(zt,[2,83]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,59]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),e(w,[2,71]),e(w,[2,72]),e(w,[2,73]),e(w,[2,74]),e(w,[2,75]),e(w,[2,76]),e(w,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(Dt,[2,35]),e(Dt,[2,36]),e(Dt,[2,37]),e(Dt,[2,38]),e(Dt,[2,39]),e(Dt,[2,40]),e(Dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e($t,[2,25]),e(Nt,[2,45]),e(pe,[2,79]),e(zt,[2,81]),e(w,[2,31]),e(w,[2,42]),e(te,[2,32]),e(te,[2,33],{15:[1,152]}),e(fe,[2,10]),e(te,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],O=[null],h=[],Vt=this.table,f="",Pt=0,ye=0,Ne=2,ge=1,Be=h.slice.call(arguments,1),S=Object.create(this.lexer),Mt={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(Mt.yy[ne]=this.yy[ne]);S.setInput(_,Mt.yy),Mt.yy.lexer=S,Mt.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var se=S.yylloc;h.push(se);var Ye=S.options&&S.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var X;return X=g.pop()||S.lex()||ge,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,Lt,N,ae,Bt={},Xt,z,be,Wt;;){if(Lt=m[m.length-1],this.defaultActions[Lt]?N=this.defaultActions[Lt]:((M===null||typeof M>"u")&&(M=Ie()),N=Vt[Lt]&&Vt[Lt][M]),typeof N>"u"||!N.length||!N[0]){var re="";Wt=[];for(Xt in Vt[Lt])this.terminals_[Xt]&&Xt>Ne&&Wt.push("'"+this.terminals_[Xt]+"'");S.showPosition?re="Parse error on line "+(Pt+1)+`: +import{s as Ve,g as je,a as Ue,b as Fe,c as Ut,d as Ee,m as ze,e as Xe,f as Yt,h as Qt,l as _e,i as We,j as ke,w as Qe,k as le,n as xe}from"./index-76e1e0ef.js";var qt=function(){var e=function(Ot,_,x,m){for(x=x||{},m=Ot.length;m--;x[Ot[m]]=_);return x},t=[1,6],n=[1,7],o=[1,8],l=[1,9],i=[1,16],a=[1,11],r=[1,12],s=[1,13],u=[1,14],y=[1,15],d=[1,27],p=[1,33],C=[1,34],T=[1,35],R=[1,36],D=[1,37],L=[1,72],Y=[1,73],Q=[1,74],H=[1,75],q=[1,76],G=[1,77],K=[1,78],J=[1,38],Z=[1,39],$=[1,40],tt=[1,41],et=[1,42],it=[1,43],nt=[1,44],st=[1,45],at=[1,46],rt=[1,47],lt=[1,48],ot=[1,49],ct=[1,50],ht=[1,51],ut=[1,52],dt=[1,53],ft=[1,54],pt=[1,55],yt=[1,56],gt=[1,57],bt=[1,59],_t=[1,60],xt=[1,61],mt=[1,62],vt=[1,63],Et=[1,64],kt=[1,65],At=[1,66],Ct=[1,67],wt=[1,68],Tt=[1,69],Nt=[24,52],$t=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],It=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],v=[1,94],E=[1,95],k=[1,96],A=[1,97],w=[15,24,52],fe=[7,8,9,10,18,22,25,26,27,28],pe=[15,24,43,52],zt=[15,24,43,52,86,87,89,90],Dt=[15,43],te=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(_,x,m,g,O,h,Vt){var f=h.length-1;switch(O){case 4:g.setDirection("TB");break;case 5:g.setDirection("BT");break;case 6:g.setDirection("RL");break;case 7:g.setDirection("LR");break;case 11:g.parseDirective("%%{","open_directive");break;case 12:break;case 13:h[f]=h[f].trim().replace(/'/g,'"'),g.parseDirective(h[f],"arg_directive");break;case 14:g.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:g.setC4Type(h[f-3]);break;case 26:g.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 27:g.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 28:this.$=h[f].trim(),g.setTitle(this.$);break;case 29:case 30:this.$=h[f].trim(),g.setAccDescription(this.$);break;case 35:case 36:h[f].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 37:g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 38:h[f].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[f]),this.$=h[f];break;case 39:g.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 40:g.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 41:g.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 42:g.popBoundaryParseStack();break;case 46:g.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 47:g.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 48:g.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 49:g.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 50:g.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 51:g.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 52:g.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 53:g.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 54:g.addContainer("container",...h[f]),this.$=h[f];break;case 55:g.addContainer("container_db",...h[f]),this.$=h[f];break;case 56:g.addContainer("container_queue",...h[f]),this.$=h[f];break;case 57:g.addContainer("external_container",...h[f]),this.$=h[f];break;case 58:g.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 59:g.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 60:g.addComponent("component",...h[f]),this.$=h[f];break;case 61:g.addComponent("component_db",...h[f]),this.$=h[f];break;case 62:g.addComponent("component_queue",...h[f]),this.$=h[f];break;case 63:g.addComponent("external_component",...h[f]),this.$=h[f];break;case 64:g.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 65:g.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 67:g.addRel("rel",...h[f]),this.$=h[f];break;case 68:g.addRel("birel",...h[f]),this.$=h[f];break;case 69:g.addRel("rel_u",...h[f]),this.$=h[f];break;case 70:g.addRel("rel_d",...h[f]),this.$=h[f];break;case 71:g.addRel("rel_l",...h[f]),this.$=h[f];break;case 72:g.addRel("rel_r",...h[f]),this.$=h[f];break;case 73:g.addRel("rel_b",...h[f]),this.$=h[f];break;case 74:h[f].splice(0,1),g.addRel("rel",...h[f]),this.$=h[f];break;case 75:g.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 76:g.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 77:g.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 78:this.$=[h[f]];break;case 79:h[f].unshift(h[f-1]),this.$=h[f];break;case 80:case 82:this.$=h[f].trim();break;case 81:let Pt={};Pt[h[f-1].trim()]=h[f].trim(),this.$=Pt;break;case 83:this.$="";break}},table:[{3:1,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:t,8:n,9:o,10:l,11:5,12:10,18:i,22:a,25:r,26:s,27:u,28:y},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:d},e([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:79,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:80,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:81,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{23:82,29:29,30:30,31:31,32:p,33:C,34:T,36:R,38:D,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},e(Nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(Nt,[2,21]),e($t,[2,23],{15:[1,88]}),e(Nt,[2,43],{15:[1,89]}),e(It,[2,26]),e(It,[2,27]),{35:[1,90]},{37:[1,91]},e(It,[2,30]),{45:92,85:93,86:v,87:E,89:k,90:A},{45:98,85:93,86:v,87:E,89:k,90:A},{45:99,85:93,86:v,87:E,89:k,90:A},{45:100,85:93,86:v,87:E,89:k,90:A},{45:101,85:93,86:v,87:E,89:k,90:A},{45:102,85:93,86:v,87:E,89:k,90:A},{45:103,85:93,86:v,87:E,89:k,90:A},{45:104,85:93,86:v,87:E,89:k,90:A},{45:105,85:93,86:v,87:E,89:k,90:A},{45:106,85:93,86:v,87:E,89:k,90:A},{45:107,85:93,86:v,87:E,89:k,90:A},{45:108,85:93,86:v,87:E,89:k,90:A},{45:109,85:93,86:v,87:E,89:k,90:A},{45:110,85:93,86:v,87:E,89:k,90:A},{45:111,85:93,86:v,87:E,89:k,90:A},{45:112,85:93,86:v,87:E,89:k,90:A},{45:113,85:93,86:v,87:E,89:k,90:A},{45:114,85:93,86:v,87:E,89:k,90:A},{45:115,85:93,86:v,87:E,89:k,90:A},{45:116,85:93,86:v,87:E,89:k,90:A},e(w,[2,66]),{45:117,85:93,86:v,87:E,89:k,90:A},{45:118,85:93,86:v,87:E,89:k,90:A},{45:119,85:93,86:v,87:E,89:k,90:A},{45:120,85:93,86:v,87:E,89:k,90:A},{45:121,85:93,86:v,87:E,89:k,90:A},{45:122,85:93,86:v,87:E,89:k,90:A},{45:123,85:93,86:v,87:E,89:k,90:A},{45:124,85:93,86:v,87:E,89:k,90:A},{45:125,85:93,86:v,87:E,89:k,90:A},{45:126,85:93,86:v,87:E,89:k,90:A},{45:127,85:93,86:v,87:E,89:k,90:A},{30:128,39:58,40:70,42:71,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,53:32,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt},{15:[1,130],43:[1,129]},{45:131,85:93,86:v,87:E,89:k,90:A},{45:132,85:93,86:v,87:E,89:k,90:A},{45:133,85:93,86:v,87:E,89:k,90:A},{45:134,85:93,86:v,87:E,89:k,90:A},{45:135,85:93,86:v,87:E,89:k,90:A},{45:136,85:93,86:v,87:E,89:k,90:A},{45:137,85:93,86:v,87:E,89:k,90:A},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},e(fe,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},e(Nt,[2,22]),e($t,[2,24],{31:31,29:143,32:p,33:C,34:T,36:R,38:D}),e(Nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:C,34:T,36:R,38:D,44:L,46:Y,47:Q,48:H,49:q,50:G,51:K,54:J,55:Z,56:$,57:tt,58:et,59:it,60:nt,61:st,62:at,63:rt,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt,75:_t,76:xt,77:mt,78:vt,79:Et,80:kt,81:At,82:Ct,83:wt,84:Tt}),e(It,[2,28]),e(It,[2,29]),e(w,[2,46]),e(pe,[2,78],{85:93,45:145,86:v,87:E,89:k,90:A}),e(zt,[2,80]),{88:[1,146]},e(zt,[2,82]),e(zt,[2,83]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,59]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),e(w,[2,71]),e(w,[2,72]),e(w,[2,73]),e(w,[2,74]),e(w,[2,75]),e(w,[2,76]),e(w,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},e(Dt,[2,35]),e(Dt,[2,36]),e(Dt,[2,37]),e(Dt,[2,38]),e(Dt,[2,39]),e(Dt,[2,40]),e(Dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},e($t,[2,25]),e(Nt,[2,45]),e(pe,[2,79]),e(zt,[2,81]),e(w,[2,31]),e(w,[2,42]),e(te,[2,32]),e(te,[2,33],{15:[1,152]}),e(fe,[2,10]),e(te,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],O=[null],h=[],Vt=this.table,f="",Pt=0,ye=0,Ne=2,ge=1,Be=h.slice.call(arguments,1),S=Object.create(this.lexer),Mt={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(Mt.yy[ne]=this.yy[ne]);S.setInput(_,Mt.yy),Mt.yy.lexer=S,Mt.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var se=S.yylloc;h.push(se);var Ye=S.options&&S.options.ranges;typeof Mt.yy.parseError=="function"?this.parseError=Mt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var X;return X=g.pop()||S.lex()||ge,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,Lt,N,ae,Bt={},Xt,z,be,Wt;;){if(Lt=m[m.length-1],this.defaultActions[Lt]?N=this.defaultActions[Lt]:((M===null||typeof M>"u")&&(M=Ie()),N=Vt[Lt]&&Vt[Lt][M]),typeof N>"u"||!N.length||!N[0]){var re="";Wt=[];for(Xt in Vt[Lt])this.terminals_[Xt]&&Xt>Ne&&Wt.push("'"+this.terminals_[Xt]+"'");S.showPosition?re="Parse error on line "+(Pt+1)+`: `+S.showPosition()+` Expecting `+Wt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":re="Parse error on line "+(Pt+1)+": Unexpected "+(M==ge?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(re,{text:S.match,token:this.terminals_[M]||M,line:S.yylineno,loc:se,expected:Wt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Lt+", token: "+M);switch(N[0]){case 1:m.push(M),O.push(S.yytext),h.push(S.yylloc),m.push(N[1]),M=null,ye=S.yyleng,f=S.yytext,Pt=S.yylineno,se=S.yylloc;break;case 2:if(z=this.productions_[N[1]][1],Bt.$=O[O.length-z],Bt._$={first_line:h[h.length-(z||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(z||1)].first_column,last_column:h[h.length-1].last_column},Ye&&(Bt._$.range=[h[h.length-(z||1)].range[0],h[h.length-1].range[1]]),ae=this.performAction.apply(Bt,[f,ye,Pt,Mt.yy,N[1],O,h].concat(Be)),typeof ae<"u")return ae;z&&(m=m.slice(0,-1*z*2),O=O.slice(0,-1*z),h=h.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),O.push(Bt.$),h.push(Bt._$),be=Vt[m[m.length-2]][m[m.length-1]],m.push(be);break;case 3:return!0}}return!0}},Le=function(){var Ot={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var O=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+` diff --git a/assets/classDiagram-634fc78b-52237c77.js b/assets/classDiagram-634fc78b-b7fb24c1.js similarity index 93% rename from assets/classDiagram-634fc78b-52237c77.js rename to assets/classDiagram-634fc78b-b7fb24c1.js index b56ec609..e0480a91 100644 --- a/assets/classDiagram-634fc78b-52237c77.js +++ b/assets/classDiagram-634fc78b-b7fb24c1.js @@ -1 +1 @@ -import{p as W,d as M,s as H}from"./styles-16907e1b-9d1d749b.js";import{c as S,l as d,h as l,i as X}from"./index-cc077c34.js";import{G as Y,l as Z}from"./layout-fc6c59a0.js";import{s as m}from"./svgDraw-2526cba0-85e687c2.js";let h={};const g=20,p=function(e){const o=Object.entries(h).find(k=>k[1].label===e);if(o)return o[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,o,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=l("#i"+o));const x=L==="sandbox"?l(y.nodes()[0].contentDocument.body):l("body"),n=x.select(`[id='${o}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const u=a.db.getClasses(),N=Object.keys(u);for(const t of N){const s=u[t],i=m.drawClass(n,s,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const s=m.drawNote(n,t,c,a);h[s.id]=s,r.setNode(s.id,s),t.class&&t.class in u&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),m.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},U={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{U as diagram}; +import{p as W,d as M,s as H}from"./styles-16907e1b-babcb3ef.js";import{c as S,l as d,h as l,i as X}from"./index-76e1e0ef.js";import{G as Y,l as Z}from"./layout-050decc5.js";import{s as m}from"./svgDraw-2526cba0-dbcf6dc4.js";let h={};const g=20,p=function(e){const o=Object.entries(h).find(k=>k[1].label===e);if(o)return o[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,o,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=l("#i"+o));const x=L==="sandbox"?l(y.nodes()[0].contentDocument.body):l("body"),n=x.select(`[id='${o}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const u=a.db.getClasses(),N=Object.keys(u);for(const t of N){const s=u[t],i=m.drawClass(n,s,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const s=m.drawNote(n,t,c,a);h[s.id]=s,r.setNode(s.id,s),t.class&&t.class in u&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),m.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},U={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{U as diagram}; diff --git a/assets/classDiagram-v2-72bddc41-fc53fed7.js b/assets/classDiagram-v2-72bddc41-2b0deabe.js similarity index 92% rename from assets/classDiagram-v2-72bddc41-fc53fed7.js rename to assets/classDiagram-v2-72bddc41-2b0deabe.js index 44c79384..6384a4ee 100644 --- a/assets/classDiagram-v2-72bddc41-fc53fed7.js +++ b/assets/classDiagram-v2-72bddc41-2b0deabe.js @@ -1,2 +1,2 @@ -import{p as _,d as T,s as M}from"./styles-16907e1b-9d1d749b.js";import{l as p,c as a,h as w,A as R,x as B,u as C,q as D,r as G,k as A}from"./index-cc077c34.js";import{G as I}from"./layout-fc6c59a0.js";import{r as $}from"./index-5219d011-e35dc56e.js";import"./createText-1f5f8f92-8d69e772.js";import"./edges-2e77835f-73a5ac78.js";import"./svgDraw-2526cba0-85e687c2.js";const E=s=>A.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const q=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},h=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:E(h),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},z=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},h=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:E(h),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f?.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label=''+e.text+""):(l.labelType="text",l.label=e.text.replace(A.lineBreakRegex,` +import{p as _,d as T,s as M}from"./styles-16907e1b-babcb3ef.js";import{l as p,c as a,h as w,A as R,x as B,u as C,q as D,r as G,k as A}from"./index-76e1e0ef.js";import{G as I}from"./layout-050decc5.js";import{r as $}from"./index-5219d011-9cdf2d3b.js";import"./createText-1f5f8f92-31332944.js";import"./edges-2e77835f-9002828b.js";import"./svgDraw-2526cba0-dbcf6dc4.js";const E=s=>A.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const q=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},h=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:E(h),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},z=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},h=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:E(h),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f?.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label=''+e.text+""):(l.labelType="text",l.label=e.text.replace(A.lineBreakRegex,` `),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,n)})},H=function(s){S={...S,...s}},P=function(s,o,f,n){p.info("Drawing class - ",o);const e=a().flowchart??a().class,i=a().securityLevel;p.info("config:",e);const l=e?.nodeSpacing??50,r=e?.rankSpacing??50,t=new I({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:l,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=n.db.getClasses(),c=n.db.getRelations(),h=n.db.getNotes();p.info(c),q(y,t,o,n),F(c,t),z(h,t,c.length+1,y);let d;i==="sandbox"&&(d=w("#i"+o));const u=i==="sandbox"?w(d.nodes()[0].contentDocument.body):w("body"),b=u.select(`[id="${o}"]`),v=u.select("#"+o+" g");if($(v,t,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),R.insertTitle(b,"classTitleText",e?.titleTopMargin??5,n.db.getDiagramTitle()),B(t,b,e?.diagramPadding,e?.useMaxWidth),!e?.htmlLabels){const g=i==="sandbox"?d.nodes()[0].contentDocument:document,N=g.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const x of N){const k=x.getBBox(),m=g.createElementNS("http://www.w3.org/2000/svg","rect");m.setAttribute("rx",0),m.setAttribute("ry",0),m.setAttribute("width",k.width),m.setAttribute("height",k.height),x.insertBefore(m,x.firstChild)}}};function L(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const V={setConf:H,draw:P},Z={parser:_,db:T,renderer:V,styles:M,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,T.clear()}};export{Z as diagram}; diff --git a/assets/createText-1f5f8f92-8d69e772.js b/assets/createText-1f5f8f92-31332944.js similarity index 99% rename from assets/createText-1f5f8f92-8d69e772.js rename to assets/createText-1f5f8f92-31332944.js index 41a69bcf..a308f005 100644 --- a/assets/createText-1f5f8f92-8d69e772.js +++ b/assets/createText-1f5f8f92-31332944.js @@ -1,4 +1,4 @@ -import{l as lt,av as ut}from"./index-cc077c34.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,` +import{l as lt,av as ut}from"./index-76e1e0ef.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,` `).replace(ct,"").replace(ot," ")},Q=function(t,e){var r=t||{};if(e!=null)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},V=function(t,e){var r=Object.keys(t).filter(function(i){var u=t[i];if(u==null||u.match==null)return!1;var c=u.order;return(typeof c!="number"||!isFinite(c))&&typeof console<"u"&&console.warn("simple-markdown: Invalid order for rule `"+i+"`: "+String(c)),!0});r.sort(function(i,u){var c=t[i],f=t[u],s=c.order,p=f.order;if(s!==p)return s-p;var h=c.quality?0:1,g=f.quality?0:1;return h!==g?h-g:iu?1:0});var a,l=function i(u,c){var f=[];for(c=c||a,a=c;u;){var s=null,p=null,h=null,g=NaN,S=0,x=r[0],y=t[x];do{var E=y.order,b=c.prevCapture==null?"":c.prevCapture[0],k=y.match(u,c,b);if(k){var A=y.quality?y.quality(k,c,b):0;A<=g||(s=x,p=y,h=k,g=A)}S++,x=r[S],y=t[x]}while(y&&(!h||y.order===E&&y.quality));if(p==null||h==null)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+`'. It seems to not match the following source: `+u);if(h.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var w=p.parse(h,i,c);if(Array.isArray(w))Array.prototype.push.apply(f,w);else{if(w==null||typeof w!="object")throw new Error("parse() function returned invalid parse result: '".concat(w,"'"));w.type==null&&(w.type=s),f.push(w)}c.prevCapture=h,u=u.substring(c.prevCapture[0].length)}return f},o=function(u,c){return a=Q(c,e),!a.inline&&!a.disableAutoBlockNewlines&&(u=u+` diff --git a/assets/edges-2e77835f-73a5ac78.js b/assets/edges-2e77835f-9002828b.js similarity index 99% rename from assets/edges-2e77835f-73a5ac78.js rename to assets/edges-2e77835f-9002828b.js index 48c0e3ce..976f1619 100644 --- a/assets/edges-2e77835f-73a5ac78.js +++ b/assets/edges-2e77835f-9002828b.js @@ -1,4 +1,4 @@ -import{t as R,c as w,d as z,av as D,h as L,l as y,A,E as Q,o as et}from"./index-cc077c34.js";import{c as P}from"./createText-1f5f8f92-8d69e772.js";import{p as V}from"./svgDraw-2526cba0-85e687c2.js";const st=(r,t,e,l)=>{t.forEach(a=>{bt[a](r,e,l)})},it=(r,t,e)=>{y.trace("Making markers for ",e),r.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},lt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},nt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},ct=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},ht=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},ot=(r,t)=>{r.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},ft=(r,t)=>{r.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},pt=(r,t)=>{r.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},dt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},bt={extension:it,composition:lt,aggregation:nt,dependency:ct,lollipop:ht,point:ot,circle:ft,cross:pt,barb:dt},Ft=st;function xt(r,t){t&&r.attr("style",t)}function yt(r){const t=L(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),e=t.append("xhtml:div"),l=r.label,a=r.isNode?"nodeLabel":"edgeLabel";return e.html('"+l+""),xt(e,r.labelStyle),e.style("display","inline-block"),e.style("white-space","nowrap"),e.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const gt=(r,t,e,l)=>{let a=r||"";if(typeof a=="object"&&(a=a[0]),R(w().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"
"),y.info("vertexText"+a);const s={isNode:l,label:D(a).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return yt(s)}else{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];typeof a=="string"?i=a.split(/\\n|\n|/gi):Array.isArray(a)?i=a:i=[];for(const n of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),e?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),s.appendChild(c)}return s}},T=gt,S=(r,t,e,l)=>{let a;const s=t.useHtmlLabels||R(w().flowchart.htmlLabels);e?a=e:a="node default";const i=r.insert("g").attr("class",a).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=P(n,z(D(c),w()),{useHtmlLabels:s,width:t.width||w().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(T(z(D(c),w()),t.labelStyle,!1,l));let f=h.getBBox();if(R(w().flowchart.htmlLabels)){const p=h.children[0],d=L(h);f=p.getBoundingClientRect(),d.attr("width",f.width),d.attr("height",f.height)}const b=t.padding/2;return s?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:b,label:n}},m=(r,t)=>{const e=t.node().getBBox();r.width=e.width,r.height=e.height};function _(r,t,e,l){return r.insert("polygon",":first-child").attr("points",l.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+e/2+")")}function ut(r,t){return r.intersect(t)}function tt(r,t,e,l){var a=r.x,s=r.y,i=a-l.x,n=s-l.y,c=Math.sqrt(t*t*n*n+e*e*i*i),o=Math.abs(t*e*i/c);l.x0}function kt(r,t,e){var l=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){i=Math.min(i,d.x),n=Math.min(n,d.y)}):(i=Math.min(i,t.x),n=Math.min(n,t.y));for(var c=l-r.width/2-i,o=a-r.height/2-n,h=0;h1&&s.sort(function(d,x){var g=d.x-e.x,k=d.y-e.y,H=Math.sqrt(g*g+k*k),N=x.x-e.x,B=x.y-e.y,X=Math.sqrt(N*N+B*B);return H{var e=r.x,l=r.y,a=t.x-e,s=t.y-l,i=r.width/2,n=r.height/2,c,o;return Math.abs(s)*i>Math.abs(a)*n?(s<0&&(n=-n),c=s===0?0:n*a/s,o=n):(a<0&&(i=-i),c=i,o=a===0?0:i*s/a),{x:e+c,y:l+o}},Lt=vt,u={node:ut,circle:wt,ellipse:tt,polygon:kt,rect:Lt},St=(r,t)=>{t.useHtmlLabels||w().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:l,bbox:a,halfPadding:s}=S(r,t,"node "+t.classes,!0);y.info("Classes = ",t.classes);const i=l.insert("rect",":first-child");return i.attr("rx",t.rx).attr("ry",t.ry).attr("x",-a.width/2-s).attr("y",-a.height/2-s).attr("width",a.width+t.padding).attr("height",a.height+t.padding),m(t,i),t.intersect=function(n){return u.rect(t,n)},l},Et=St,q=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=a+s,n=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];y.info("Question main (Circle)");const c=_(e,i,i,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return y.warn("Intersect called"),u.polygon(t,n,o)},e},Bt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=28,a=[{x:0,y:l/2},{x:l/2,y:0},{x:0,y:-l/2},{x:-l/2,y:0}];return e.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return u.circle(t,14,i)},e},Mt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=4,s=l.height+t.padding,i=s/a,n=l.width+2*i+t.padding,c=[{x:i,y:0},{x:n-i,y:0},{x:n,y:-s/2},{x:n-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],o=_(e,n,s,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return u.polygon(t,c,h)},e},Ct=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-s/2,y:0},{x:a,y:0},{x:a,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return _(e,a,s,i).attr("style",t.style),t.width=a+s,t.height=s,t.intersect=function(c){return u.polygon(t,i,c)},e},Tt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Rt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:2*s/6,y:0},{x:a+s/6,y:0},{x:a-2*s/6,y:-s},{x:-s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Ht=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a+2*s/6,y:0},{x:a-s/6,y:-s},{x:s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},It=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:-2*s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},_t=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a+s/2,y:0},{x:a,y:-s/2},{x:a+s/2,y:-s},{x:0,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Nt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=a/2,i=s/(2.5+a/50),n=l.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+a+" 0 a "+s+","+i+" 0,0,0 "+-a+" 0 l 0,"+n+" a "+s+","+i+" 0,0,0 "+a+" 0 l 0,"+-n,o=e.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-a/2+","+-(n/2+i)+")");return m(t,o),t.intersect=function(h){const f=u.rect(t,h),b=f.x-t.x;if(s!=0&&(Math.abs(b)t.height/2-i)){let p=i*i*(1-b*b/(s*s));p!=0&&(p=Math.sqrt(p)),p=i-p,h.y-t.y>0&&(p=-p),f.y+=p}return f},e},$t=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,"node "+t.classes,!0),s=e.insert("rect",":first-child"),i=l.width+t.padding,n=l.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-a).attr("y",-l.height/2-a).attr("width",i).attr("height",n),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(rt(s,t.props.borders,i,n),c.delete("borders")),c.forEach(o=>{y.warn(`Unknown node property ${o}`)})}return m(t,s),t.intersect=function(c){return u.rect(t,c)},e},Wt=(r,t)=>{const{shapeSvg:e}=S(r,t,"label",!0);y.trace("Classes = ",t.classes);const l=e.insert("rect",":first-child"),a=0,s=0;if(l.attr("width",a).attr("height",s),e.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(rt(l,t.props.borders,a,s),i.delete("borders")),i.forEach(n=>{y.warn(`Unknown node property ${n}`)})}return m(t,l),t.intersect=function(i){return u.rect(t,i)},e};function rt(r,t,e,l){const a=[],s=n=>{a.push(n,0)},i=n=>{a.push(0,n)};t.includes("t")?(y.debug("add top border"),s(e)):i(e),t.includes("r")?(y.debug("add right border"),s(l)):i(l),t.includes("b")?(y.debug("add bottom border"),s(e)):i(e),t.includes("l")?(y.debug("add left border"),s(l)):i(l),r.attr("stroke-dasharray",a.join(" "))}const Xt=(r,t)=>{let e;t.classes?e="node "+t.classes:e="node default";const l=r.insert("g").attr("class",e).attr("id",t.domId||t.id),a=l.insert("rect",":first-child"),s=l.insert("line"),i=l.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,y.info("Label text abc79",c,n,typeof n=="object");const o=i.node().appendChild(T(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(R(w().flowchart.htmlLabels)){const x=o.children[0],g=L(o);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}y.info("Text 2",n);const f=n.slice(1,n.length);let b=o.getBBox();const p=i.node().appendChild(T(f.join?f.join("
"):f,t.labelStyle,!0,!0));if(R(w().flowchart.htmlLabels)){const x=p.children[0],g=L(p);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}const d=t.padding/2;return L(p).attr("transform","translate( "+(h.width>b.width?0:(b.width-h.width)/2)+", "+(b.height+d+5)+")"),L(o).attr("transform","translate( "+(h.width{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.height+t.padding,s=l.width+a/4+t.padding,i=e.insert("rect",":first-child").attr("style",t.style).attr("rx",a/2).attr("ry",a/2).attr("x",-s/2).attr("y",-a/2).attr("width",s).attr("height",a);return m(t,i),t.intersect=function(n){return u.rect(t,n)},e},At=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=e.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("Circle main"),m(t,s),t.intersect=function(i){return y.info("Circle intersect",t,l.width/2+a,i),u.circle(t,l.width/2+a,i)},e},Ut=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=5,i=e.insert("g",":first-child"),n=i.insert("circle"),c=i.insert("circle");return n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a+s).attr("width",l.width+t.padding+s*2).attr("height",l.height+t.padding+s*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return y.info("DoubleCircle intersect",t,l.width/2+a+s,o),u.circle(t,l.width/2+a+s,o)},e},Ot=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a,y:0},{x:a,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},jt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,l),t.intersect=function(a){return u.circle(t,7,a)},e},F=(r,t,e)=>{const l=r.insert("g").attr("class","node default").attr("id",t.domId||t.id);let a=70,s=10;e==="LR"&&(a=10,s=70);const i=l.append("rect").attr("x",-1*a/2).attr("y",-1*s/2).attr("width",a).attr("height",s).attr("class","fork-join");return m(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return u.rect(t,n)},l},Dt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child"),a=e.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,a),t.intersect=function(s){return u.circle(t,7,s)},e},Zt=(r,t)=>{const e=t.padding/2,l=4,a=8;let s;t.classes?s="node "+t.classes:s="node default";const i=r.insert("g").attr("class",s).attr("id",t.domId||t.id),n=i.insert("rect",":first-child"),c=i.insert("line"),o=i.insert("line");let h=0,f=l;const b=i.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],x=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=b.node().appendChild(T(x,t.labelStyle,!0,!0));let k=g.getBBox();if(R(w().flowchart.htmlLabels)){const E=g.children[0],M=L(g);k=E.getBoundingClientRect(),M.attr("width",k.width),M.attr("height",k.height)}t.classData.annotations[0]&&(f+=k.height+l,h+=k.width);let H=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(w().flowchart.htmlLabels?H+="<"+t.classData.type+">":H+="<"+t.classData.type+">");const N=b.node().appendChild(T(H,t.labelStyle,!0,!0));L(N).attr("class","classTitle");let B=N.getBBox();if(R(w().flowchart.htmlLabels)){const E=N.children[0],M=L(N);B=E.getBoundingClientRect(),M.attr("width",B.width),M.attr("height",B.height)}f+=B.height+l,B.width>h&&(h=B.width);const X=[];t.classData.members.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const I=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=I.getBBox();if(R(w().flowchart.htmlLabels)){const j=I.children[0],Y=L(I);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,X.push(I)}),f+=a;const Z=[];if(t.classData.methods.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const I=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=I.getBBox();if(R(w().flowchart.htmlLabels)){const j=I.children[0],Y=L(I);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,Z.push(I)}),f+=a,d){let E=(h-k.width)/2;L(g).attr("transform","translate( "+(-1*h/2+E)+", "+-1*f/2+")"),p=k.height+l}let at=(h-B.width)/2;return L(N).attr("transform","translate( "+(-1*h/2+at)+", "+(-1*f/2+p)+")"),p+=B.height+l,c.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,X.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p+a/2)+")"),p+=B.height+l}),p+=a,o.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,Z.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p)+")"),p+=B.height+l}),n.attr("class","outer title-state").attr("x",-h/2-e).attr("y",-(f/2)-e).attr("width",h+t.padding).attr("height",f+t.padding),m(t,n),t.intersect=function(E){return u.rect(t,E)},i},K={rhombus:q,question:q,rect:$t,labelRect:Wt,rectWithTitle:Xt,choice:Bt,circle:At,doublecircle:Ut,stadium:Yt,hexagon:Mt,rect_left_inv_arrow:Ct,lean_right:Tt,lean_left:Rt,trapezoid:Ht,inv_trapezoid:It,rect_right_inv_arrow:_t,cylinder:Nt,start:jt,end:Dt,note:Et,subroutine:Ot,fork:F,join:F,class_box:Zt};let W={};const Kt=(r,t,e)=>{let l,a;if(t.link){let s;w().securityLevel==="sandbox"?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),l=r.insert("svg:a").attr("xlink:href",t.link).attr("target",s),a=K[t.shape](l,t,e)}else a=K[t.shape](r,t,e),l=a;return t.tooltip&&a.attr("title",t.tooltip),t.class&&a.attr("class","node default "+t.class),W[t.id]=l,t.haveCallback&&W[t.id].attr("class",W[t.id].attr("class")+" clickable"),l},Gt=(r,t)=>{W[t.id]=r},Pt=()=>{W={}},tr=r=>{const t=W[r.id];y.trace("Transforming node",r.diff,r,"translate("+(r.x-r.width/2-5)+", "+r.width/2+")");const e=8,l=r.diff||0;return r.clusterNode?t.attr("transform","translate("+(r.x+l-r.width/2)+", "+(r.y-r.height/2-e)+")"):t.attr("transform","translate("+r.x+", "+r.y+")"),l};let O={},v={};const rr=()=>{O={},v={}},ar=(r,t)=>{const e=R(w().flowchart.htmlLabels),l=t.labelType==="markdown"?P(r,t.label,{style:t.labelStyle,useHtmlLabels:e,addSvgBackground:!0}):T(t.label,t.labelStyle);y.info("abc82",t,t.labelType);const a=r.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(l);let i=l.getBBox();if(e){const c=l.children[0],o=L(l);i=c.getBoundingClientRect(),o.attr("width",i.width),o.attr("height",i.height)}s.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),O[t.id]=a,t.width=i.width,t.height=i.height;let n;if(t.startLabelLeft){const c=T(t.startLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startLeft=o,U(n,t.startLabelLeft)}if(t.startLabelRight){const c=T(t.startLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startRight=o,U(n,t.startLabelRight)}if(t.endLabelLeft){const c=T(t.endLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endLeft=o,U(n,t.endLabelLeft)}if(t.endLabelRight){const c=T(t.endLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endRight=o,U(n,t.endLabelRight)}return l};function U(r,t){w().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}const er=(r,t)=>{y.info("Moving label abc78 ",r.id,r.label,O[r.id]);let e=t.updatedPath?t.updatedPath:t.originalPath;if(r.label){const l=O[r.id];let a=r.x,s=r.y;if(e){const i=A.calcLabelPosition(e);y.info("Moving label "+r.label+" from (",a,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(a=i.x,s=i.y)}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelLeft){const l=v[r.id].startLeft;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelRight){const l=v[r.id].startRight;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelLeft){const l=v[r.id].endLeft;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelRight){const l=v[r.id].endRight;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}},zt=(r,t)=>{const e=r.x,l=r.y,a=Math.abs(t.x-e),s=Math.abs(t.y-l),i=r.width/2,n=r.height/2;return a>=i||s>=n},Qt=(r,t,e)=>{y.warn(`intersection calc abc89: +import{t as R,c as w,d as z,av as D,h as L,l as y,A,E as Q,o as et}from"./index-76e1e0ef.js";import{c as P}from"./createText-1f5f8f92-31332944.js";import{p as V}from"./svgDraw-2526cba0-dbcf6dc4.js";const st=(r,t,e,l)=>{t.forEach(a=>{bt[a](r,e,l)})},it=(r,t,e)=>{y.trace("Making markers for ",e),r.append("defs").append("marker").attr("id",t+"-extensionStart").attr("class","marker extension "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},lt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-compositionStart").attr("class","marker composition "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},nt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},ct=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},ht=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},ot=(r,t)=>{r.append("marker").attr("id",t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},ft=(r,t)=>{r.append("marker").attr("id",t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},pt=(r,t)=>{r.append("marker").attr("id",t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},dt=(r,t)=>{r.append("defs").append("marker").attr("id",t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},bt={extension:it,composition:lt,aggregation:nt,dependency:ct,lollipop:ht,point:ot,circle:ft,cross:pt,barb:dt},Ft=st;function xt(r,t){t&&r.attr("style",t)}function yt(r){const t=L(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),e=t.append("xhtml:div"),l=r.label,a=r.isNode?"nodeLabel":"edgeLabel";return e.html('"+l+""),xt(e,r.labelStyle),e.style("display","inline-block"),e.style("white-space","nowrap"),e.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const gt=(r,t,e,l)=>{let a=r||"";if(typeof a=="object"&&(a=a[0]),R(w().flowchart.htmlLabels)){a=a.replace(/\\n|\n/g,"
"),y.info("vertexText"+a);const s={isNode:l,label:D(a).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return yt(s)}else{const s=document.createElementNS("http://www.w3.org/2000/svg","text");s.setAttribute("style",t.replace("color:","fill:"));let i=[];typeof a=="string"?i=a.split(/\\n|\n|/gi):Array.isArray(a)?i=a:i=[];for(const n of i){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),e?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),s.appendChild(c)}return s}},T=gt,S=(r,t,e,l)=>{let a;const s=t.useHtmlLabels||R(w().flowchart.htmlLabels);e?a=e:a="node default";const i=r.insert("g").attr("class",a).attr("id",t.domId||t.id),n=i.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=P(n,z(D(c),w()),{useHtmlLabels:s,width:t.width||w().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(T(z(D(c),w()),t.labelStyle,!1,l));let f=h.getBBox();if(R(w().flowchart.htmlLabels)){const p=h.children[0],d=L(h);f=p.getBoundingClientRect(),d.attr("width",f.width),d.attr("height",f.height)}const b=t.padding/2;return s?n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):n.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:i,bbox:f,halfPadding:b,label:n}},m=(r,t)=>{const e=t.node().getBBox();r.width=e.width,r.height=e.height};function _(r,t,e,l){return r.insert("polygon",":first-child").attr("points",l.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+e/2+")")}function ut(r,t){return r.intersect(t)}function tt(r,t,e,l){var a=r.x,s=r.y,i=a-l.x,n=s-l.y,c=Math.sqrt(t*t*n*n+e*e*i*i),o=Math.abs(t*e*i/c);l.x0}function kt(r,t,e){var l=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){i=Math.min(i,d.x),n=Math.min(n,d.y)}):(i=Math.min(i,t.x),n=Math.min(n,t.y));for(var c=l-r.width/2-i,o=a-r.height/2-n,h=0;h1&&s.sort(function(d,x){var g=d.x-e.x,k=d.y-e.y,H=Math.sqrt(g*g+k*k),N=x.x-e.x,B=x.y-e.y,X=Math.sqrt(N*N+B*B);return H{var e=r.x,l=r.y,a=t.x-e,s=t.y-l,i=r.width/2,n=r.height/2,c,o;return Math.abs(s)*i>Math.abs(a)*n?(s<0&&(n=-n),c=s===0?0:n*a/s,o=n):(a<0&&(i=-i),c=i,o=a===0?0:i*s/a),{x:e+c,y:l+o}},Lt=vt,u={node:ut,circle:wt,ellipse:tt,polygon:kt,rect:Lt},St=(r,t)=>{t.useHtmlLabels||w().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:l,bbox:a,halfPadding:s}=S(r,t,"node "+t.classes,!0);y.info("Classes = ",t.classes);const i=l.insert("rect",":first-child");return i.attr("rx",t.rx).attr("ry",t.ry).attr("x",-a.width/2-s).attr("y",-a.height/2-s).attr("width",a.width+t.padding).attr("height",a.height+t.padding),m(t,i),t.intersect=function(n){return u.rect(t,n)},l},Et=St,q=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=a+s,n=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];y.info("Question main (Circle)");const c=_(e,i,i,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return y.warn("Intersect called"),u.polygon(t,n,o)},e},Bt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=28,a=[{x:0,y:l/2},{x:l/2,y:0},{x:0,y:-l/2},{x:-l/2,y:0}];return e.insert("polygon",":first-child").attr("points",a.map(function(i){return i.x+","+i.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(i){return u.circle(t,14,i)},e},Mt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=4,s=l.height+t.padding,i=s/a,n=l.width+2*i+t.padding,c=[{x:i,y:0},{x:n-i,y:0},{x:n,y:-s/2},{x:n-i,y:-s},{x:i,y:-s},{x:0,y:-s/2}],o=_(e,n,s,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return u.polygon(t,c,h)},e},Ct=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-s/2,y:0},{x:a,y:0},{x:a,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return _(e,a,s,i).attr("style",t.style),t.width=a+s,t.height=s,t.intersect=function(c){return u.polygon(t,i,c)},e},Tt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Rt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:2*s/6,y:0},{x:a+s/6,y:0},{x:a-2*s/6,y:-s},{x:-s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Ht=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:-2*s/6,y:0},{x:a+2*s/6,y:0},{x:a-s/6,y:-s},{x:s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},It=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:s/6,y:0},{x:a-s/6,y:0},{x:a+2*s/6,y:-s},{x:-2*s/6,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},_t=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a+s/2,y:0},{x:a,y:-s/2},{x:a+s/2,y:-s},{x:0,y:-s}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},Nt=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=a/2,i=s/(2.5+a/50),n=l.height+i+t.padding,c="M 0,"+i+" a "+s+","+i+" 0,0,0 "+a+" 0 a "+s+","+i+" 0,0,0 "+-a+" 0 l 0,"+n+" a "+s+","+i+" 0,0,0 "+a+" 0 l 0,"+-n,o=e.attr("label-offset-y",i).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-a/2+","+-(n/2+i)+")");return m(t,o),t.intersect=function(h){const f=u.rect(t,h),b=f.x-t.x;if(s!=0&&(Math.abs(b)t.height/2-i)){let p=i*i*(1-b*b/(s*s));p!=0&&(p=Math.sqrt(p)),p=i-p,h.y-t.y>0&&(p=-p),f.y+=p}return f},e},$t=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,"node "+t.classes,!0),s=e.insert("rect",":first-child"),i=l.width+t.padding,n=l.height+t.padding;if(s.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-a).attr("y",-l.height/2-a).attr("width",i).attr("height",n),t.props){const c=new Set(Object.keys(t.props));t.props.borders&&(rt(s,t.props.borders,i,n),c.delete("borders")),c.forEach(o=>{y.warn(`Unknown node property ${o}`)})}return m(t,s),t.intersect=function(c){return u.rect(t,c)},e},Wt=(r,t)=>{const{shapeSvg:e}=S(r,t,"label",!0);y.trace("Classes = ",t.classes);const l=e.insert("rect",":first-child"),a=0,s=0;if(l.attr("width",a).attr("height",s),e.attr("class","label edgeLabel"),t.props){const i=new Set(Object.keys(t.props));t.props.borders&&(rt(l,t.props.borders,a,s),i.delete("borders")),i.forEach(n=>{y.warn(`Unknown node property ${n}`)})}return m(t,l),t.intersect=function(i){return u.rect(t,i)},e};function rt(r,t,e,l){const a=[],s=n=>{a.push(n,0)},i=n=>{a.push(0,n)};t.includes("t")?(y.debug("add top border"),s(e)):i(e),t.includes("r")?(y.debug("add right border"),s(l)):i(l),t.includes("b")?(y.debug("add bottom border"),s(e)):i(e),t.includes("l")?(y.debug("add left border"),s(l)):i(l),r.attr("stroke-dasharray",a.join(" "))}const Xt=(r,t)=>{let e;t.classes?e="node "+t.classes:e="node default";const l=r.insert("g").attr("class",e).attr("id",t.domId||t.id),a=l.insert("rect",":first-child"),s=l.insert("line"),i=l.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,y.info("Label text abc79",c,n,typeof n=="object");const o=i.node().appendChild(T(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(R(w().flowchart.htmlLabels)){const x=o.children[0],g=L(o);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}y.info("Text 2",n);const f=n.slice(1,n.length);let b=o.getBBox();const p=i.node().appendChild(T(f.join?f.join("
"):f,t.labelStyle,!0,!0));if(R(w().flowchart.htmlLabels)){const x=p.children[0],g=L(p);h=x.getBoundingClientRect(),g.attr("width",h.width),g.attr("height",h.height)}const d=t.padding/2;return L(p).attr("transform","translate( "+(h.width>b.width?0:(b.width-h.width)/2)+", "+(b.height+d+5)+")"),L(o).attr("transform","translate( "+(h.width{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.height+t.padding,s=l.width+a/4+t.padding,i=e.insert("rect",":first-child").attr("style",t.style).attr("rx",a/2).attr("ry",a/2).attr("x",-s/2).attr("y",-a/2).attr("width",s).attr("height",a);return m(t,i),t.intersect=function(n){return u.rect(t,n)},e},At=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=e.insert("circle",":first-child");return s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("Circle main"),m(t,s),t.intersect=function(i){return y.info("Circle intersect",t,l.width/2+a,i),u.circle(t,l.width/2+a,i)},e},Ut=(r,t)=>{const{shapeSvg:e,bbox:l,halfPadding:a}=S(r,t,void 0,!0),s=5,i=e.insert("g",":first-child"),n=i.insert("circle"),c=i.insert("circle");return n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a+s).attr("width",l.width+t.padding+s*2).attr("height",l.height+t.padding+s*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",l.width/2+a).attr("width",l.width+t.padding).attr("height",l.height+t.padding),y.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return y.info("DoubleCircle intersect",t,l.width/2+a+s,o),u.circle(t,l.width/2+a+s,o)},e},Ot=(r,t)=>{const{shapeSvg:e,bbox:l}=S(r,t,void 0,!0),a=l.width+t.padding,s=l.height+t.padding,i=[{x:0,y:0},{x:a,y:0},{x:a,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],n=_(e,a,s,i);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return u.polygon(t,i,c)},e},jt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,l),t.intersect=function(a){return u.circle(t,7,a)},e},F=(r,t,e)=>{const l=r.insert("g").attr("class","node default").attr("id",t.domId||t.id);let a=70,s=10;e==="LR"&&(a=10,s=70);const i=l.append("rect").attr("x",-1*a/2).attr("y",-1*s/2).attr("width",a).attr("height",s).attr("class","fork-join");return m(t,i),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return u.rect(t,n)},l},Dt=(r,t)=>{const e=r.insert("g").attr("class","node default").attr("id",t.domId||t.id),l=e.insert("circle",":first-child"),a=e.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,a),t.intersect=function(s){return u.circle(t,7,s)},e},Zt=(r,t)=>{const e=t.padding/2,l=4,a=8;let s;t.classes?s="node "+t.classes:s="node default";const i=r.insert("g").attr("class",s).attr("id",t.domId||t.id),n=i.insert("rect",":first-child"),c=i.insert("line"),o=i.insert("line");let h=0,f=l;const b=i.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],x=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",g=b.node().appendChild(T(x,t.labelStyle,!0,!0));let k=g.getBBox();if(R(w().flowchart.htmlLabels)){const E=g.children[0],M=L(g);k=E.getBoundingClientRect(),M.attr("width",k.width),M.attr("height",k.height)}t.classData.annotations[0]&&(f+=k.height+l,h+=k.width);let H=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(w().flowchart.htmlLabels?H+="<"+t.classData.type+">":H+="<"+t.classData.type+">");const N=b.node().appendChild(T(H,t.labelStyle,!0,!0));L(N).attr("class","classTitle");let B=N.getBBox();if(R(w().flowchart.htmlLabels)){const E=N.children[0],M=L(N);B=E.getBoundingClientRect(),M.attr("width",B.width),M.attr("height",B.height)}f+=B.height+l,B.width>h&&(h=B.width);const X=[];t.classData.members.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const I=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=I.getBBox();if(R(w().flowchart.htmlLabels)){const j=I.children[0],Y=L(I);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,X.push(I)}),f+=a;const Z=[];if(t.classData.methods.forEach(E=>{const M=V(E);let $=M.displayText;w().flowchart.htmlLabels&&($=$.replace(//g,">"));const I=b.node().appendChild(T($,M.cssStyle?M.cssStyle:t.labelStyle,!0,!0));let C=I.getBBox();if(R(w().flowchart.htmlLabels)){const j=I.children[0],Y=L(I);C=j.getBoundingClientRect(),Y.attr("width",C.width),Y.attr("height",C.height)}C.width>h&&(h=C.width),f+=C.height+l,Z.push(I)}),f+=a,d){let E=(h-k.width)/2;L(g).attr("transform","translate( "+(-1*h/2+E)+", "+-1*f/2+")"),p=k.height+l}let at=(h-B.width)/2;return L(N).attr("transform","translate( "+(-1*h/2+at)+", "+(-1*f/2+p)+")"),p+=B.height+l,c.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,X.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p+a/2)+")"),p+=B.height+l}),p+=a,o.attr("class","divider").attr("x1",-h/2-e).attr("x2",h/2+e).attr("y1",-f/2-e+a+p).attr("y2",-f/2-e+a+p),p+=a,Z.forEach(E=>{L(E).attr("transform","translate( "+-h/2+", "+(-1*f/2+p)+")"),p+=B.height+l}),n.attr("class","outer title-state").attr("x",-h/2-e).attr("y",-(f/2)-e).attr("width",h+t.padding).attr("height",f+t.padding),m(t,n),t.intersect=function(E){return u.rect(t,E)},i},K={rhombus:q,question:q,rect:$t,labelRect:Wt,rectWithTitle:Xt,choice:Bt,circle:At,doublecircle:Ut,stadium:Yt,hexagon:Mt,rect_left_inv_arrow:Ct,lean_right:Tt,lean_left:Rt,trapezoid:Ht,inv_trapezoid:It,rect_right_inv_arrow:_t,cylinder:Nt,start:jt,end:Dt,note:Et,subroutine:Ot,fork:F,join:F,class_box:Zt};let W={};const Kt=(r,t,e)=>{let l,a;if(t.link){let s;w().securityLevel==="sandbox"?s="_top":t.linkTarget&&(s=t.linkTarget||"_blank"),l=r.insert("svg:a").attr("xlink:href",t.link).attr("target",s),a=K[t.shape](l,t,e)}else a=K[t.shape](r,t,e),l=a;return t.tooltip&&a.attr("title",t.tooltip),t.class&&a.attr("class","node default "+t.class),W[t.id]=l,t.haveCallback&&W[t.id].attr("class",W[t.id].attr("class")+" clickable"),l},Gt=(r,t)=>{W[t.id]=r},Pt=()=>{W={}},tr=r=>{const t=W[r.id];y.trace("Transforming node",r.diff,r,"translate("+(r.x-r.width/2-5)+", "+r.width/2+")");const e=8,l=r.diff||0;return r.clusterNode?t.attr("transform","translate("+(r.x+l-r.width/2)+", "+(r.y-r.height/2-e)+")"):t.attr("transform","translate("+r.x+", "+r.y+")"),l};let O={},v={};const rr=()=>{O={},v={}},ar=(r,t)=>{const e=R(w().flowchart.htmlLabels),l=t.labelType==="markdown"?P(r,t.label,{style:t.labelStyle,useHtmlLabels:e,addSvgBackground:!0}):T(t.label,t.labelStyle);y.info("abc82",t,t.labelType);const a=r.insert("g").attr("class","edgeLabel"),s=a.insert("g").attr("class","label");s.node().appendChild(l);let i=l.getBBox();if(e){const c=l.children[0],o=L(l);i=c.getBoundingClientRect(),o.attr("width",i.width),o.attr("height",i.height)}s.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),O[t.id]=a,t.width=i.width,t.height=i.height;let n;if(t.startLabelLeft){const c=T(t.startLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startLeft=o,U(n,t.startLabelLeft)}if(t.startLabelRight){const c=T(t.startLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),v[t.id]||(v[t.id]={}),v[t.id].startRight=o,U(n,t.startLabelRight)}if(t.endLabelLeft){const c=T(t.endLabelLeft,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endLeft=o,U(n,t.endLabelLeft)}if(t.endLabelRight){const c=T(t.endLabelRight,t.labelStyle),o=r.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const f=c.getBBox();h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),o.node().appendChild(c),v[t.id]||(v[t.id]={}),v[t.id].endRight=o,U(n,t.endLabelRight)}return l};function U(r,t){w().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}const er=(r,t)=>{y.info("Moving label abc78 ",r.id,r.label,O[r.id]);let e=t.updatedPath?t.updatedPath:t.originalPath;if(r.label){const l=O[r.id];let a=r.x,s=r.y;if(e){const i=A.calcLabelPosition(e);y.info("Moving label "+r.label+" from (",a,",",s,") to (",i.x,",",i.y,") abc78"),t.updatedPath&&(a=i.x,s=i.y)}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelLeft){const l=v[r.id].startLeft;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.startLabelRight){const l=v[r.id].startRight;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelLeft){const l=v[r.id].endLeft;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}if(r.endLabelRight){const l=v[r.id].endRight;let a=r.x,s=r.y;if(e){const i=A.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",e);a=i.x,s=i.y}l.attr("transform","translate("+a+", "+s+")")}},zt=(r,t)=>{const e=r.x,l=r.y,a=Math.abs(t.x-e),s=Math.abs(t.y-l),i=r.width/2,n=r.height/2;return a>=i||s>=n},Qt=(r,t,e)=>{y.warn(`intersection calc abc89: outsidePoint: ${JSON.stringify(t)} insidePoint : ${JSON.stringify(e)} node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);const l=r.x,a=r.y,s=Math.abs(l-e.x),i=r.width/2;let n=e.xMath.abs(l-t.x)*c){let f=e.y{y.warn("abc88 cutPathAtIntersect",r,t);let e=[],l=r[0],a=!1;return r.forEach(s=>{if(y.info("abc88 checking point",s,t),!zt(t,s)&&!a){const i=Qt(t,l,s);y.warn("abc88 inside",s,l,i),y.warn("abc88 intersection",i);let n=!1;e.forEach(c=>{n=n||c.x===i.x&&c.y===i.y}),e.some(c=>c.x===i.x&&c.y===i.y)?y.warn("abc88 no intersect",i,e):e.push(i),a=!0}else y.warn("abc88 outside",s,l),l=s,a||e.push(s)}),y.warn("abc88 returning points",e),e},sr=function(r,t,e,l,a,s){let i=e.points,n=!1;const c=s.node(t.v);var o=s.node(t.w);y.info("abc88 InsertEdge: ",e),o.intersect&&c.intersect&&(i=i.slice(1,e.points.length-1),i.unshift(c.intersect(i[0])),y.info("Last point",i[i.length-1],o,o.intersect(i[i.length-1])),i.push(o.intersect(i[i.length-1]))),e.toCluster&&(y.info("to cluster abc88",l[e.toCluster]),i=G(e.points,l[e.toCluster].node),n=!0),e.fromCluster&&(y.info("from cluster abc88",l[e.fromCluster]),i=G(i.reverse(),l[e.fromCluster].node).reverse(),n=!0);const h=i.filter(k=>!Number.isNaN(k.y));let f;a==="graph"||a==="flowchart"?f=e.curve||Q:f=Q;const b=et().x(function(k){return k.x}).y(function(k){return k.y}).curve(f);let p;switch(e.thickness){case"normal":p="edge-thickness-normal";break;case"thick":p="edge-thickness-thick";break;case"invisible":p="edge-thickness-thick";break;default:p=""}switch(e.pattern){case"solid":p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed";break}const d=r.append("path").attr("d",b(h)).attr("id",e.id).attr("class"," "+p+(e.classes?" "+e.classes:"")).attr("style",e.style);let x="";switch((w().flowchart.arrowMarkerAbsolute||w().state.arrowMarkerAbsolute)&&(x=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,x=x.replace(/\(/g,"\\("),x=x.replace(/\)/g,"\\)")),y.info("arrowTypeStart",e.arrowTypeStart),y.info("arrowTypeEnd",e.arrowTypeEnd),e.arrowTypeStart){case"arrow_cross":d.attr("marker-start","url("+x+"#"+a+"-crossStart)");break;case"arrow_point":d.attr("marker-start","url("+x+"#"+a+"-pointStart)");break;case"arrow_barb":d.attr("marker-start","url("+x+"#"+a+"-barbStart)");break;case"arrow_circle":d.attr("marker-start","url("+x+"#"+a+"-circleStart)");break;case"aggregation":d.attr("marker-start","url("+x+"#"+a+"-aggregationStart)");break;case"extension":d.attr("marker-start","url("+x+"#"+a+"-extensionStart)");break;case"composition":d.attr("marker-start","url("+x+"#"+a+"-compositionStart)");break;case"dependency":d.attr("marker-start","url("+x+"#"+a+"-dependencyStart)");break;case"lollipop":d.attr("marker-start","url("+x+"#"+a+"-lollipopStart)");break}switch(e.arrowTypeEnd){case"arrow_cross":d.attr("marker-end","url("+x+"#"+a+"-crossEnd)");break;case"arrow_point":d.attr("marker-end","url("+x+"#"+a+"-pointEnd)");break;case"arrow_barb":d.attr("marker-end","url("+x+"#"+a+"-barbEnd)");break;case"arrow_circle":d.attr("marker-end","url("+x+"#"+a+"-circleEnd)");break;case"aggregation":d.attr("marker-end","url("+x+"#"+a+"-aggregationEnd)");break;case"extension":d.attr("marker-end","url("+x+"#"+a+"-extensionEnd)");break;case"composition":d.attr("marker-end","url("+x+"#"+a+"-compositionEnd)");break;case"dependency":d.attr("marker-end","url("+x+"#"+a+"-dependencyEnd)");break;case"lollipop":d.attr("marker-end","url("+x+"#"+a+"-lollipopEnd)");break}let g={};return n&&(g.updatedPath=i),g.originalPath=e.points,g};export{Kt as a,ar as b,sr as c,er as d,Pt as e,rr as f,T as g,Lt as h,Ft as i,S as l,tr as p,Gt as s,m as u}; diff --git a/assets/erDiagram-20cc9db4-1318ecaa.js b/assets/erDiagram-20cc9db4-d5814cc6.js similarity index 99% rename from assets/erDiagram-20cc9db4-1318ecaa.js rename to assets/erDiagram-20cc9db4-d5814cc6.js index a83319ef..3d16d53d 100644 --- a/assets/erDiagram-20cc9db4-1318ecaa.js +++ b/assets/erDiagram-20cc9db4-d5814cc6.js @@ -1,4 +1,4 @@ -import{c as U,s as xt,g as kt,b as Ot,a as bt,B as Rt,C as Nt,m as Tt,l as tt,D as vt,h as at,A as At,i as Mt,o as It,E as wt,F as St}from"./index-cc077c34.js";import{G as Bt,l as Dt}from"./layout-fc6c59a0.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Ct(t){return typeof t=="string"&&Lt.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function Yt(t,r=0){return(A[t[r+0]]+A[t[r+1]]+A[t[r+2]]+A[t[r+3]]+"-"+A[t[r+4]]+A[t[r+5]]+"-"+A[t[r+6]]+A[t[r+7]]+"-"+A[t[r+8]]+A[t[r+9]]+"-"+A[t[r+10]]+A[t[r+11]]+A[t[r+12]]+A[t[r+13]]+A[t[r+14]]+A[t[r+15]]).toLowerCase()}function Ft(t){if(!Ct(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Zt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let l=0;l>>0;O=E,E=g,g=st(_,30)>>>0,_=h,h=D}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+O>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Gt=Ut("v5",80,zt),Kt=Gt;var ot=function(){var t=function(v,n,s,d){for(s=s||{},d=v.length;d--;s[v[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],O=[1,31],y=[1,32],M=[1,33],D=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],V=[1,45],z=[30,31,48,49],L=[4,6,9,11,23,25,27,29,30,31,51],R=[44,45,46,47],N=[22,37],T=[1,65],x=[1,64],S=[22,37,39,41],C={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,X){var o=i.length-1;switch(m){case 1:break;case 3:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:this.$=i[o];break;case 7:case 8:this.$=[];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 20:case 43:this.$=i[o];break;case 21:case 41:case 42:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 28:case 29:case 32:this.$=i[o];break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 33:this.$=i[o].replace(/"/g,"");break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:O,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(D,[2,20]),t(D,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:V},{43:46,48:[1,47],49:[1,48]},t(z,[2,35]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(L,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:V},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:O,46:y,47:M},t(R,[2,39]),t(R,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(N,[2,24],{35:61,36:62,38:63,40:T,41:x}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(L,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(N,[2,25],{36:66,39:[1,67],41:x}),t(N,[2,26]),t(S,[2,30]),t(N,[2,33]),t(S,[2,32]),t(N,[2,27]),{38:68,40:T},t(S,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(s.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=s,d}},parse:function(n){var s=this,d=[0],u=[],m=[null],i=[],X=this.table,o="",q=0,lt=0,_t=2,ht=1,gt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(G.yy[et]=this.yy[et]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var rt=b.yylloc;i.push(rt);var mt=b.options&&b.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Et(){var Z;return Z=u.pop()||b.lex()||ht,typeof Z!="number"&&(Z instanceof Array&&(u=Z,Z=u.pop()),Z=s.symbols_[Z]||Z),Z}for(var I,K,w,it,H={},J,F,dt,$;;){if(K=d[d.length-1],this.defaultActions[K]?w=this.defaultActions[K]:((I===null||typeof I>"u")&&(I=Et()),w=X[K]&&X[K][I]),typeof w>"u"||!w.length||!w[0]){var nt="";$=[];for(J in X[K])this.terminals_[J]&&J>_t&&$.push("'"+this.terminals_[J]+"'");b.showPosition?nt="Parse error on line "+(q+1)+`: +import{c as U,s as xt,g as kt,b as Ot,a as bt,B as Rt,C as Nt,m as Tt,l as tt,D as vt,h as at,A as At,i as Mt,o as It,E as wt,F as St}from"./index-76e1e0ef.js";import{G as Bt,l as Dt}from"./layout-050decc5.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Ct(t){return typeof t=="string"&&Lt.test(t)}const A=[];for(let t=0;t<256;++t)A.push((t+256).toString(16).slice(1));function Yt(t,r=0){return(A[t[r+0]]+A[t[r+1]]+A[t[r+2]]+A[t[r+3]]+"-"+A[t[r+4]]+A[t[r+5]]+"-"+A[t[r+6]]+A[t[r+7]]+"-"+A[t[r+8]]+A[t[r+9]]+"-"+A[t[r+10]]+A[t[r+11]]+A[t[r+12]]+A[t[r+13]]+A[t[r+14]]+A[t[r+15]]).toLowerCase()}function Ft(t){if(!Ct(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Zt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let l=0;l>>0;O=E,E=g,g=st(_,30)>>>0,_=h,h=D}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+g>>>0,e[3]=e[3]+E>>>0,e[4]=e[4]+O>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Gt=Ut("v5",80,zt),Kt=Gt;var ot=function(){var t=function(v,n,s,d){for(s=s||{},d=v.length;d--;s[v[d]]=n);return s},r=[1,2],e=[1,5],a=[6,9,11,23,25,27,29,30,31,51],c=[1,17],p=[1,18],f=[1,19],l=[1,20],h=[1,21],_=[1,22],g=[1,25],E=[1,30],O=[1,31],y=[1,32],M=[1,33],D=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],V=[1,45],z=[30,31,48,49],L=[4,6,9,11,23,25,27,29,30,31,51],R=[44,45,46,47],N=[22,37],T=[1,65],x=[1,64],S=[22,37,39,41],C={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,s,d,u,m,i,X){var o=i.length-1;switch(m){case 1:break;case 3:this.$=[];break;case 4:i[o-1].push(i[o]),this.$=i[o-1];break;case 5:case 6:this.$=i[o];break;case 7:case 8:this.$=[];break;case 12:u.addEntity(i[o-4]),u.addEntity(i[o-2]),u.addRelationship(i[o-4],i[o],i[o-2],i[o-3]);break;case 13:u.addEntity(i[o-3]),u.addAttributes(i[o-3],i[o-1]);break;case 14:u.addEntity(i[o-2]);break;case 15:u.addEntity(i[o]);break;case 16:case 17:this.$=i[o].trim(),u.setAccTitle(this.$);break;case 18:case 19:this.$=i[o].trim(),u.setAccDescription(this.$);break;case 20:case 43:this.$=i[o];break;case 21:case 41:case 42:this.$=i[o].replace(/"/g,"");break;case 22:case 30:this.$=[i[o]];break;case 23:i[o].push(i[o-1]),this.$=i[o];break;case 24:this.$={attributeType:i[o-1],attributeName:i[o]};break;case 25:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeKeyTypeList:i[o]};break;case 26:this.$={attributeType:i[o-2],attributeName:i[o-1],attributeComment:i[o]};break;case 27:this.$={attributeType:i[o-3],attributeName:i[o-2],attributeKeyTypeList:i[o-1],attributeComment:i[o]};break;case 28:case 29:case 32:this.$=i[o];break;case 31:i[o-2].push(i[o]),this.$=i[o-2];break;case 33:this.$=i[o].replace(/"/g,"");break;case 34:this.$={cardA:i[o],relType:i[o-1],cardB:i[o-2]};break;case 35:this.$=u.Cardinality.ZERO_OR_ONE;break;case 36:this.$=u.Cardinality.ZERO_OR_MORE;break;case 37:this.$=u.Cardinality.ONE_OR_MORE;break;case 38:this.$=u.Cardinality.ONLY_ONE;break;case 39:this.$=u.Identification.NON_IDENTIFYING;break;case 40:this.$=u.Identification.IDENTIFYING;break;case 44:u.parseDirective("%%{","open_directive");break;case 45:u.parseDirective(i[o],"type_directive");break;case 46:i[o]=i[o].trim().replace(/'/g,'"'),u.parseDirective(i[o],"arg_directive");break;case 47:u.parseDirective("}%%","close_directive","er");break}},table:[{3:1,4:r,7:3,12:4,51:e},{1:[3]},t(a,[2,3],{5:6}),{3:7,4:r,7:3,12:4,51:e},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},{1:[2,2]},{14:23,15:[1,24],54:g},t([15,54],[2,45]),t(a,[2,8],{1:[2,1]}),t(a,[2,4]),{7:15,10:26,12:4,17:16,23:c,25:p,27:f,29:l,30:h,31:_,51:e},t(a,[2,6]),t(a,[2,7]),t(a,[2,11]),t(a,[2,15],{18:27,42:29,20:[1,28],44:E,45:O,46:y,47:M}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(a,[2,19]),t(D,[2,20]),t(D,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(a,[2,5]),{17:40,30:h,31:_},{21:41,22:[1,42],32:43,33:44,37:V},{43:46,48:[1,47],49:[1,48]},t(z,[2,35]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(a,[2,16]),t(a,[2,17]),t(a,[2,18]),t(L,[2,9]),{14:49,54:g},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(a,[2,14]),{21:52,22:[2,22],32:43,33:44,37:V},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:E,45:O,46:y,47:M},t(R,[2,39]),t(R,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(a,[2,13]),{22:[2,23]},t(N,[2,24],{35:61,36:62,38:63,40:T,41:x}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(L,[2,10]),t(a,[2,12]),t(a,[2,41]),t(a,[2,42]),t(a,[2,43]),t(N,[2,25],{36:66,39:[1,67],41:x}),t(N,[2,26]),t(S,[2,30]),t(N,[2,33]),t(S,[2,32]),t(N,[2,27]),{38:68,40:T},t(S,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(n,s){if(s.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=s,d}},parse:function(n){var s=this,d=[0],u=[],m=[null],i=[],X=this.table,o="",q=0,lt=0,_t=2,ht=1,gt=i.slice.call(arguments,1),b=Object.create(this.lexer),G={yy:{}};for(var et in this.yy)Object.prototype.hasOwnProperty.call(this.yy,et)&&(G.yy[et]=this.yy[et]);b.setInput(n,G.yy),G.yy.lexer=b,G.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var rt=b.yylloc;i.push(rt);var mt=b.options&&b.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Et(){var Z;return Z=u.pop()||b.lex()||ht,typeof Z!="number"&&(Z instanceof Array&&(u=Z,Z=u.pop()),Z=s.symbols_[Z]||Z),Z}for(var I,K,w,it,H={},J,F,dt,$;;){if(K=d[d.length-1],this.defaultActions[K]?w=this.defaultActions[K]:((I===null||typeof I>"u")&&(I=Et()),w=X[K]&&X[K][I]),typeof w>"u"||!w.length||!w[0]){var nt="";$=[];for(J in X[K])this.terminals_[J]&&J>_t&&$.push("'"+this.terminals_[J]+"'");b.showPosition?nt="Parse error on line "+(q+1)+`: `+b.showPosition()+` Expecting `+$.join(", ")+", got '"+(this.terminals_[I]||I)+"'":nt="Parse error on line "+(q+1)+": Unexpected "+(I==ht?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(nt,{text:b.match,token:this.terminals_[I]||I,line:b.yylineno,loc:rt,expected:$})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+I);switch(w[0]){case 1:d.push(I),m.push(b.yytext),i.push(b.yylloc),d.push(w[1]),I=null,lt=b.yyleng,o=b.yytext,q=b.yylineno,rt=b.yylloc;break;case 2:if(F=this.productions_[w[1]][1],H.$=m[m.length-F],H._$={first_line:i[i.length-(F||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(F||1)].first_column,last_column:i[i.length-1].last_column},mt&&(H._$.range=[i[i.length-(F||1)].range[0],i[i.length-1].range[1]]),it=this.performAction.apply(H,[o,lt,q,G.yy,w[1],m,i].concat(gt)),typeof it<"u")return it;F&&(d=d.slice(0,-1*F*2),m=m.slice(0,-1*F),i=i.slice(0,-1*F)),d.push(this.productions_[w[1]][0]),m.push(H.$),i.push(H._$),dt=X[d[d.length-2]][d[d.length-1]],d.push(dt);break;case 3:return!0}}return!0}},B=function(){var v={EOF:1,parseError:function(s,d){if(this.yy.parser)this.yy.parser.parseError(s,d);else throw new Error(s)},setInput:function(n,s){return this.yy=s||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var s=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var m=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),s=new Array(n.length+1).join("-");return n+this.upcomingInput()+` diff --git a/assets/flowDb-52e24d17-f389aec6.js b/assets/flowDb-52e24d17-1f470436.js similarity index 99% rename from assets/flowDb-52e24d17-f389aec6.js rename to assets/flowDb-52e24d17-1f470436.js index 42dc34ff..3988aa35 100644 --- a/assets/flowDb-52e24d17-f389aec6.js +++ b/assets/flowDb-52e24d17-1f470436.js @@ -1,4 +1,4 @@ -import{c as w2,au as Ne,s as Oe,g as Pe,a as we,b as Ue,B as Me,C as Ge,m as Ke,l as U2,A as M2,D as je,k as We,h as n2}from"./index-cc077c34.js";var O2=function(){var e=function(z1,a,o,T){for(o=o||{},T=z1.length;T--;o[z1[T]]=a);return o},u=[1,9],i=[1,7],n=[1,6],c=[1,8],_=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],B=[2,10],u1=[1,20],z=[1,21],s1=[1,22],f1=[1,23],Y1=[1,30],Q1=[1,32],X1=[1,33],s2=[1,34],q=[1,62],c1=[1,48],m1=[1,52],o2=[1,36],l2=[1,37],h2=[1,38],A2=[1,39],f2=[1,40],v1=[1,56],V1=[1,63],x1=[1,51],R1=[1,53],L1=[1,55],I1=[1,59],N1=[1,60],p2=[1,41],d2=[1,42],E2=[1,43],b2=[1,44],O1=[1,61],P1=[1,50],w1=[1,54],U1=[1,57],M1=[1,58],G1=[1,49],j2=[1,66],u2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],p1=[1,75],d1=[1,74],E1=[1,76],k2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],A=[1,108],r1=[1,101],f=[1,106],p=[1,109],n1=[1,102],d=[1,114],E=[1,113],b=[1,103],k=[1,105],D=[1,110],g=[1,111],F=[1,112],C=[1,115],y2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],Z=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],Y=[20,21,23],W2=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],m2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],i2=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],y=[1,150],m=[1,158],v=[1,159],V=[1,160],x=[1,161],R=[1,145],L=[1,146],J=[1,141],$=[1,142],I=[1,153],N=[1,154],O=[1,155],P=[1,156],w=[1,157],U=[1,162],M=[1,163],G=[1,148],K=[1,151],j=[1,147],W=[1,144],v2=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Y2=[1,166],$1=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],S=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],H2=[12,21,22,24],z2=[22,107],b1=[1,251],k1=[1,246],D1=[1,247],g1=[1,255],F1=[1,252],C1=[1,249],_1=[1,248],B1=[1,250],T1=[1,253],S1=[1,254],y1=[1,256],H1=[1,274],Q2=[20,21,23,107],o1=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],V2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(a,o,T,r,X,t,r2){var s=t.length-1;switch(X){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),r.parseDirective(t[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 97:case 153:case 155:case 156:this.$=t[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],r.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],r.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 78:this.$=t[s];break;case 79:var l1=r.destructLink(t[s],t[s-2]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length,text:t[s-1]};break;case 80:var l1=r.destructLink(t[s]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length};break;case 81:this.$=t[s-1];break;case 82:this.$={text:t[s],type:"text"};break;case 83:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 84:this.$={text:t[s],type:"text"};break;case 85:this.$={text:t[s],type:"markdown"};break;case 98:case 154:this.$=t[s-1]+""+t[s];break;case 99:case 100:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 101:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 102:case 110:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 103:case 111:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 105:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:case 112:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 107:case 113:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 108:case 114:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 109:case 115:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 116:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 117:case 119:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 118:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 120:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 121:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 122:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 123:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:this.$=[t[s]];break;case 125:case 127:t[s-2].push(t[s]),this.$=t[s-2];break;case 129:this.$=t[s-1]+t[s];break;case 151:this.$=t[s];break;case 152:this.$=t[s-1]+""+t[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},e(_,B,{17:11}),{7:12,13:[1,13]},{16:14,21:i,22:n,24:c},{16:15,21:i,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{8:64,10:[1,65],15:j2},e([10,15],[2,6]),e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),{20:[1,68],21:[1,69],22:u2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:p1,21:d1,23:E1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:p1,21:d1,23:E1},{9:81,20:p1,21:d1,23:E1},{9:82,20:p1,21:d1,23:E1},{9:83,20:p1,21:d1,23:E1},{9:84,20:p1,21:d1,23:E1},{9:86,20:p1,21:d1,22:[1,85],23:E1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(k2,[2,54],{30:89,22:u2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:A,84:[1,97],92:r1,98:96,99:[1,94],101:[1,95],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(Q,[2,162]),e(y2,[2,55],{53:[1,116]}),e(t1,[2,74],{117:129,40:[1,117],52:q,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:c1,67:m1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),e(Z,[2,151]),e(Z,[2,176]),e(Z,[2,177]),e(Z,[2,178]),e(Z,[2,179]),e(Z,[2,180]),e(Z,[2,181]),e(Z,[2,182]),e(Z,[2,183]),e(Z,[2,184]),e(Z,[2,185]),e(Z,[2,186]),e(Z,[2,187]),e(Z,[2,188]),e(Z,[2,189]),e(Z,[2,190]),e(Z,[2,191]),{9:130,20:p1,21:d1,23:E1},{11:131,14:[1,132]},e(Y,[2,8]),e(_,[2,20]),e(_,[2,26]),e(_,[2,27]),{21:[1,133]},e(W2,[2,34],{30:134,22:u2}),e(Q,[2,35]),{50:135,51:45,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(m2,[2,48]),e(m2,[2,49]),e(m2,[2,50]),e(i2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:y,24:m,26:v,38:V,39:139,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:y,24:m,26:v,38:V,39:164,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:165}),e(Q,[2,45]),e(Q,[2,46]),e(k2,[2,53],{52:Y2}),{26:i1,52:l,66:h,67:A,92:r1,98:167,103:[1,168],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{96:[1,169],104:170,106:[1,171]},{26:i1,52:l,66:h,67:A,92:r1,96:[1,172],98:173,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:174,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,102],{22:[1,175],100:[1,176]}),e(Y,[2,106],{22:[1,177]}),e(Y,[2,110],{116:100,118:179,22:[1,178],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,112],{22:[1,180]}),e($1,[2,153]),e($1,[2,155]),e($1,[2,156]),e($1,[2,157]),e($1,[2,158]),e(S,[2,163]),e(S,[2,164]),e(S,[2,165]),e(S,[2,166]),e(S,[2,167]),e(S,[2,168]),e(S,[2,169]),e(S,[2,170]),e(S,[2,171]),e(S,[2,172]),e(S,[2,173]),e(S,[2,174]),e(S,[2,175]),{52:q,54:181,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:y,24:m,26:v,38:V,39:182,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:183,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:185,42:x,52:l,57:[1,184],66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:186,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:187,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:188,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{66:[1,189]},{22:y,24:m,26:v,38:V,39:190,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:191,42:x,52:l,66:h,67:A,71:[1,192],73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:193,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:194,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:195,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(Z,[2,152]),e(H2,[2,3]),{8:196,15:j2},{15:[2,7]},e(_,[2,28]),e(W2,[2,33]),e(k2,[2,51],{30:197,22:u2}),e(i2,[2,75],{22:[1,198]}),{22:[1,199]},{22:y,24:m,26:v,38:V,39:200,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,81:L,82:[1,201],83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(S,[2,82]),e(S,[2,84]),e(S,[2,85]),e(S,[2,141]),e(S,[2,142]),e(S,[2,143]),e(S,[2,144]),e(S,[2,145]),e(S,[2,146]),e(S,[2,147]),e(S,[2,148]),e(S,[2,149]),e(S,[2,150]),e(S,[2,86]),e(S,[2,87]),e(S,[2,88]),e(S,[2,89]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),{9:204,20:p1,21:d1,22:y,23:E1,24:m,26:v,38:V,40:[1,203],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,205],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:u2,30:206},{22:[1,207],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},e(z2,[2,124]),{22:[1,212]},{22:[1,213],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,214],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{84:[1,215]},e(Y,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},e($1,[2,154]),{84:[1,220],102:[1,221]},e(y2,[2,57],{117:129,52:q,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),{22:y,24:m,26:v,38:V,41:[1,222],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,56:[1,223],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:224,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,58:[1,225],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,60:[1,226],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,62:[1,227],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,64:[1,228],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{67:[1,229]},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,70:[1,230],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,231],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:232,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,41:[1,233],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,234],77:[1,235],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,237],77:[1,236],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{9:238,20:p1,21:d1,23:E1},e(k2,[2,52],{52:Y2}),e(i2,[2,77]),e(i2,[2,76]),{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,68:[1,239],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(i2,[2,79]),e(S,[2,83]),{22:y,24:m,26:v,38:V,39:240,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:241}),e(Q,[2,43]),{51:242,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:243,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:257,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:258,103:F1,105:[1,259],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:260,103:F1,105:[1,261],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{106:[1,262]},{22:b1,66:k1,67:D1,87:g1,97:263,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:264,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{26:i1,52:l,66:h,67:A,92:r1,98:265,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,103]),{84:[1,266]},e(Y,[2,107],{22:[1,267]}),e(Y,[2,108]),e(Y,[2,111]),e(Y,[2,113],{22:[1,268]}),e(Y,[2,114]),e(t1,[2,58]),e(t1,[2,59]),{22:y,24:m,26:v,38:V,42:x,52:l,58:[1,269],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,270]},e(t1,[2,65]),e(t1,[2,67]),{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,271],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(H2,[2,4]),e([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:y,24:m,26:v,38:V,41:[1,272],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,273],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(y2,[2,56]),e(Y,[2,116],{107:H1}),e(Q2,[2,126],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:S1,114:y1}),e(o1,[2,128]),e(o1,[2,130]),e(o1,[2,131]),e(o1,[2,132]),e(o1,[2,133]),e(o1,[2,134]),e(o1,[2,135]),e(o1,[2,136]),e(o1,[2,137]),e(o1,[2,138]),e(o1,[2,139]),e(o1,[2,140]),e(Y,[2,117],{107:H1}),e(Y,[2,118],{107:H1}),{22:[1,276]},e(Y,[2,119],{107:H1}),{22:[1,277]},e(z2,[2,125]),e(Y,[2,99],{107:H1}),e(Y,[2,100],{107:H1}),e(Y,[2,101],{116:100,118:179,26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:p1,21:d1,23:E1},e(Q,[2,42]),{22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,108:284,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},e(o1,[2,129]),{26:i1,52:l,66:h,67:A,92:r1,98:285,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:286,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,109]),e(Y,[2,115]),e(t1,[2,60]),{22:y,24:m,26:v,38:V,39:287,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,68]),e(v2,B,{17:288}),e(Q2,[2,127],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:S1,114:y1}),e(Y,[2,122],{116:100,118:179,22:[1,289],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,123],{116:100,118:179,22:[1,290],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),{22:y,24:m,26:v,38:V,41:[1,291],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,292],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:293,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:294,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},e(t1,[2,64]),e(Q,[2,41]),e(Y,[2,120],{107:H1}),e(Y,[2,121],{107:H1})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var T=new Error(a);throw T.hash=o,T}},parse:function(a){var o=this,T=[0],r=[],X=[null],t=[],r2=this.table,s="",l1=0,X2=0,xe=2,q2=1,Re=t.slice.call(arguments,1),e1=Object.create(this.lexer),q1={yy:{}};for(var R2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R2)&&(q1.yy[R2]=this.yy[R2]);e1.setInput(a,q1.yy),q1.yy.lexer=e1,q1.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var L2=e1.yylloc;t.push(L2);var Le=e1.options&&e1.options.ranges;typeof q1.yy.parseError=="function"?this.parseError=q1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var j1;return j1=r.pop()||e1.lex()||q2,typeof j1!="number"&&(j1 instanceof Array&&(r=j1,j1=r.pop()),j1=o.symbols_[j1]||j1),j1}for(var a1,Z1,h1,I2,e2={},D2,K1,Z2,g2;;){if(Z1=T[T.length-1],this.defaultActions[Z1]?h1=this.defaultActions[Z1]:((a1===null||typeof a1>"u")&&(a1=Ie()),h1=r2[Z1]&&r2[Z1][a1]),typeof h1>"u"||!h1.length||!h1[0]){var N2="";g2=[];for(D2 in r2[Z1])this.terminals_[D2]&&D2>xe&&g2.push("'"+this.terminals_[D2]+"'");e1.showPosition?N2="Parse error on line "+(l1+1)+`: +import{c as w2,au as Ne,s as Oe,g as Pe,a as we,b as Ue,B as Me,C as Ge,m as Ke,l as U2,A as M2,D as je,k as We,h as n2}from"./index-76e1e0ef.js";var O2=function(){var e=function(z1,a,o,T){for(o=o||{},T=z1.length;T--;o[z1[T]]=a);return o},u=[1,9],i=[1,7],n=[1,6],c=[1,8],_=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],B=[2,10],u1=[1,20],z=[1,21],s1=[1,22],f1=[1,23],Y1=[1,30],Q1=[1,32],X1=[1,33],s2=[1,34],q=[1,62],c1=[1,48],m1=[1,52],o2=[1,36],l2=[1,37],h2=[1,38],A2=[1,39],f2=[1,40],v1=[1,56],V1=[1,63],x1=[1,51],R1=[1,53],L1=[1,55],I1=[1,59],N1=[1,60],p2=[1,41],d2=[1,42],E2=[1,43],b2=[1,44],O1=[1,61],P1=[1,50],w1=[1,54],U1=[1,57],M1=[1,58],G1=[1,49],j2=[1,66],u2=[1,71],Q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],p1=[1,75],d1=[1,74],E1=[1,76],k2=[20,21,23,81,82],i1=[1,99],l=[1,104],h=[1,107],A=[1,108],r1=[1,101],f=[1,106],p=[1,109],n1=[1,102],d=[1,114],E=[1,113],b=[1,103],k=[1,105],D=[1,110],g=[1,111],F=[1,112],C=[1,115],y2=[20,21,22,23,81,82],t1=[20,21,22,23,53,81,82],Z=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],Y=[20,21,23],W2=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],m2=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],i2=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],y=[1,150],m=[1,158],v=[1,159],V=[1,160],x=[1,161],R=[1,145],L=[1,146],J=[1,141],$=[1,142],I=[1,153],N=[1,154],O=[1,155],P=[1,156],w=[1,157],U=[1,162],M=[1,163],G=[1,148],K=[1,151],j=[1,147],W=[1,144],v2=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Y2=[1,166],$1=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],S=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],H2=[12,21,22,24],z2=[22,107],b1=[1,251],k1=[1,246],D1=[1,247],g1=[1,255],F1=[1,252],C1=[1,249],_1=[1,248],B1=[1,250],T1=[1,253],S1=[1,254],y1=[1,256],H1=[1,274],Q2=[20,21,23,107],o1=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],V2={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(a,o,T,r,X,t,r2){var s=t.length-1;switch(X){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(t[s],"type_directive");break;case 7:t[s]=t[s].trim().replace(/'/g,'"'),r.parseDirective(t[s],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 12:case 97:case 153:case 155:case 156:this.$=t[s];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(t[s-1]),this.$=t[s-1];break;case 35:this.$=t[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 42:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 43:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 45:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 52:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 53:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 54:this.$={stmt:t[s],nodes:t[s]};break;case 55:this.$=[t[s]];break;case 56:this.$=t[s-4].concat(t[s]);break;case 57:this.$=[t[s-2]],r.setClass(t[s-2],t[s]);break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 60:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 61:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 64:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 67:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 68:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 69:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 70:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 71:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 72:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 73:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 74:this.$=t[s],r.addVertex(t[s]);break;case 75:t[s-1].text=t[s],this.$=t[s-1];break;case 76:case 77:t[s-2].text=t[s-1],this.$=t[s-2];break;case 78:this.$=t[s];break;case 79:var l1=r.destructLink(t[s],t[s-2]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length,text:t[s-1]};break;case 80:var l1=r.destructLink(t[s]);this.$={type:l1.type,stroke:l1.stroke,length:l1.length};break;case 81:this.$=t[s-1];break;case 82:this.$={text:t[s],type:"text"};break;case 83:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 84:this.$={text:t[s],type:"text"};break;case 85:this.$={text:t[s],type:"markdown"};break;case 98:case 154:this.$=t[s-1]+""+t[s];break;case 99:case 100:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 101:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 102:case 110:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 103:case 111:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 105:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:case 112:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 107:case 113:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 108:case 114:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 109:case 115:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 116:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 117:case 119:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 118:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 120:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 121:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 122:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 123:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 124:case 126:this.$=[t[s]];break;case 125:case 127:t[s-2].push(t[s]),this.$=t[s-2];break;case 129:this.$=t[s-1]+t[s];break;case 151:this.$=t[s];break;case 152:this.$=t[s-1]+""+t[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:i,22:n,24:c},e(_,B,{17:11}),{7:12,13:[1,13]},{16:14,21:i,22:n,24:c},{16:15,21:i,22:n,24:c},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{8:64,10:[1,65],15:j2},e([10,15],[2,6]),e(_,[2,17]),e(_,[2,18]),e(_,[2,19]),{20:[1,68],21:[1,69],22:u2,27:67,30:70},e(Q,[2,11]),e(Q,[2,12]),e(Q,[2,13]),e(Q,[2,14]),e(Q,[2,15]),e(Q,[2,16]),{9:72,20:p1,21:d1,23:E1,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:p1,21:d1,23:E1},{9:81,20:p1,21:d1,23:E1},{9:82,20:p1,21:d1,23:E1},{9:83,20:p1,21:d1,23:E1},{9:84,20:p1,21:d1,23:E1},{9:86,20:p1,21:d1,22:[1,85],23:E1},e(Q,[2,44]),{45:[1,87]},{47:[1,88]},e(Q,[2,47]),e(k2,[2,54],{30:89,22:u2}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:i1,52:l,66:h,67:A,84:[1,97],92:r1,98:96,99:[1,94],101:[1,95],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Q,[2,159]),e(Q,[2,160]),e(Q,[2,161]),e(Q,[2,162]),e(y2,[2,55],{53:[1,116]}),e(t1,[2,74],{117:129,40:[1,117],52:q,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:c1,67:m1,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),e(Z,[2,151]),e(Z,[2,176]),e(Z,[2,177]),e(Z,[2,178]),e(Z,[2,179]),e(Z,[2,180]),e(Z,[2,181]),e(Z,[2,182]),e(Z,[2,183]),e(Z,[2,184]),e(Z,[2,185]),e(Z,[2,186]),e(Z,[2,187]),e(Z,[2,188]),e(Z,[2,189]),e(Z,[2,190]),e(Z,[2,191]),{9:130,20:p1,21:d1,23:E1},{11:131,14:[1,132]},e(Y,[2,8]),e(_,[2,20]),e(_,[2,26]),e(_,[2,27]),{21:[1,133]},e(W2,[2,34],{30:134,22:u2}),e(Q,[2,35]),{50:135,51:45,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(m2,[2,48]),e(m2,[2,49]),e(m2,[2,50]),e(i2,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:y,24:m,26:v,38:V,39:139,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),e(Q,[2,36]),e(Q,[2,37]),e(Q,[2,38]),e(Q,[2,39]),e(Q,[2,40]),{22:y,24:m,26:v,38:V,39:164,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:165}),e(Q,[2,45]),e(Q,[2,46]),e(k2,[2,53],{52:Y2}),{26:i1,52:l,66:h,67:A,92:r1,98:167,103:[1,168],106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{96:[1,169],104:170,106:[1,171]},{26:i1,52:l,66:h,67:A,92:r1,96:[1,172],98:173,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:174,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,102],{22:[1,175],100:[1,176]}),e(Y,[2,106],{22:[1,177]}),e(Y,[2,110],{116:100,118:179,22:[1,178],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,112],{22:[1,180]}),e($1,[2,153]),e($1,[2,155]),e($1,[2,156]),e($1,[2,157]),e($1,[2,158]),e(S,[2,163]),e(S,[2,164]),e(S,[2,165]),e(S,[2,166]),e(S,[2,167]),e(S,[2,168]),e(S,[2,169]),e(S,[2,170]),e(S,[2,171]),e(S,[2,172]),e(S,[2,173]),e(S,[2,174]),e(S,[2,175]),{52:q,54:181,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:y,24:m,26:v,38:V,39:182,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:183,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:185,42:x,52:l,57:[1,184],66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:186,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:187,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:188,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{66:[1,189]},{22:y,24:m,26:v,38:V,39:190,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:191,42:x,52:l,66:h,67:A,71:[1,192],73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:193,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:194,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:195,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(Z,[2,152]),e(H2,[2,3]),{8:196,15:j2},{15:[2,7]},e(_,[2,28]),e(W2,[2,33]),e(k2,[2,51],{30:197,22:u2}),e(i2,[2,75],{22:[1,198]}),{22:[1,199]},{22:y,24:m,26:v,38:V,39:200,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,81:L,82:[1,201],83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(S,[2,82]),e(S,[2,84]),e(S,[2,85]),e(S,[2,141]),e(S,[2,142]),e(S,[2,143]),e(S,[2,144]),e(S,[2,145]),e(S,[2,146]),e(S,[2,147]),e(S,[2,148]),e(S,[2,149]),e(S,[2,150]),e(S,[2,86]),e(S,[2,87]),e(S,[2,88]),e(S,[2,89]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),{9:204,20:p1,21:d1,22:y,23:E1,24:m,26:v,38:V,40:[1,203],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,205],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:u2,30:206},{22:[1,207],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},e(z2,[2,124]),{22:[1,212]},{22:[1,213],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{22:[1,214],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,116:100,118:179,123:b,124:k,125:D,126:g,127:F,128:C},{84:[1,215]},e(Y,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},e($1,[2,154]),{84:[1,220],102:[1,221]},e(y2,[2,57],{117:129,52:q,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1}),{22:y,24:m,26:v,38:V,41:[1,222],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,56:[1,223],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:224,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,58:[1,225],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,60:[1,226],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,62:[1,227],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,64:[1,228],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{67:[1,229]},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,70:[1,230],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,231],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,39:232,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,41:[1,233],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,234],77:[1,235],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,73:R,75:[1,237],77:[1,236],81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{9:238,20:p1,21:d1,23:E1},e(k2,[2,52],{52:Y2}),e(i2,[2,77]),e(i2,[2,76]),{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,68:[1,239],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(i2,[2,79]),e(S,[2,83]),{22:y,24:m,26:v,38:V,39:240,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(v2,B,{17:241}),e(Q,[2,43]),{51:242,52:q,54:46,66:c1,67:m1,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:243,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:257,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:258,103:F1,105:[1,259],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:260,103:F1,105:[1,261],106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{106:[1,262]},{22:b1,66:k1,67:D1,87:g1,97:263,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:264,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{26:i1,52:l,66:h,67:A,92:r1,98:265,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,103]),{84:[1,266]},e(Y,[2,107],{22:[1,267]}),e(Y,[2,108]),e(Y,[2,111]),e(Y,[2,113],{22:[1,268]}),e(Y,[2,114]),e(t1,[2,58]),e(t1,[2,59]),{22:y,24:m,26:v,38:V,42:x,52:l,58:[1,269],66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,66]),e(t1,[2,61]),e(t1,[2,62]),e(t1,[2,63]),{66:[1,270]},e(t1,[2,65]),e(t1,[2,67]),{22:y,24:m,26:v,38:V,42:x,52:l,66:h,67:A,72:[1,271],73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,69]),e(t1,[2,70]),e(t1,[2,72]),e(t1,[2,71]),e(t1,[2,73]),e(H2,[2,4]),e([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:y,24:m,26:v,38:V,41:[1,272],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,273],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},e(y2,[2,56]),e(Y,[2,116],{107:H1}),e(Q2,[2,126],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:S1,114:y1}),e(o1,[2,128]),e(o1,[2,130]),e(o1,[2,131]),e(o1,[2,132]),e(o1,[2,133]),e(o1,[2,134]),e(o1,[2,135]),e(o1,[2,136]),e(o1,[2,137]),e(o1,[2,138]),e(o1,[2,139]),e(o1,[2,140]),e(Y,[2,117],{107:H1}),e(Y,[2,118],{107:H1}),{22:[1,276]},e(Y,[2,119],{107:H1}),{22:[1,277]},e(z2,[2,125]),e(Y,[2,99],{107:H1}),e(Y,[2,100],{107:H1}),e(Y,[2,101],{116:100,118:179,26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:p1,21:d1,23:E1},e(Q,[2,42]),{22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,108:284,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},e(o1,[2,129]),{26:i1,52:l,66:h,67:A,92:r1,98:285,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},{26:i1,52:l,66:h,67:A,92:r1,98:286,106:f,107:p,110:n1,112:d,113:E,116:100,118:98,123:b,124:k,125:D,126:g,127:F,128:C},e(Y,[2,109]),e(Y,[2,115]),e(t1,[2,60]),{22:y,24:m,26:v,38:V,39:287,42:x,52:l,66:h,67:A,73:R,81:L,83:140,84:J,85:$,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},e(t1,[2,68]),e(v2,B,{17:288}),e(Q2,[2,127],{109:275,22:b1,66:k1,67:D1,87:g1,103:F1,106:C1,110:_1,111:B1,112:T1,113:S1,114:y1}),e(Y,[2,122],{116:100,118:179,22:[1,289],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),e(Y,[2,123],{116:100,118:179,22:[1,290],26:i1,52:l,66:h,67:A,92:r1,106:f,107:p,110:n1,112:d,113:E,123:b,124:k,125:D,126:g,127:F,128:C}),{22:y,24:m,26:v,38:V,41:[1,291],42:x,52:l,66:h,67:A,73:R,81:L,83:202,86:152,87:I,88:N,89:O,90:P,91:w,92:U,93:M,95:143,96:G,106:f,107:p,110:K,112:d,113:E,114:j,115:W,116:149,123:b,124:k,125:D,126:g,127:F,128:C},{18:18,19:19,20:u1,21:z,22:s1,23:f1,32:24,33:25,34:26,35:27,36:28,37:29,38:Y1,42:[1,292],43:31,44:Q1,46:X1,48:s2,50:35,51:45,52:q,54:46,66:c1,67:m1,87:o2,88:l2,89:h2,90:A2,91:f2,92:v1,96:V1,106:x1,107:R1,110:L1,112:I1,113:N1,117:47,119:p2,120:d2,121:E2,122:b2,123:O1,124:P1,125:w1,126:U1,127:M1,128:G1},{22:b1,66:k1,67:D1,87:g1,97:293,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},{22:b1,66:k1,67:D1,87:g1,97:294,103:F1,106:C1,108:244,109:245,110:_1,111:B1,112:T1,113:S1,114:y1},e(t1,[2,64]),e(Q,[2,41]),e(Y,[2,120],{107:H1}),e(Y,[2,121],{107:H1})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var T=new Error(a);throw T.hash=o,T}},parse:function(a){var o=this,T=[0],r=[],X=[null],t=[],r2=this.table,s="",l1=0,X2=0,xe=2,q2=1,Re=t.slice.call(arguments,1),e1=Object.create(this.lexer),q1={yy:{}};for(var R2 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R2)&&(q1.yy[R2]=this.yy[R2]);e1.setInput(a,q1.yy),q1.yy.lexer=e1,q1.yy.parser=this,typeof e1.yylloc>"u"&&(e1.yylloc={});var L2=e1.yylloc;t.push(L2);var Le=e1.options&&e1.options.ranges;typeof q1.yy.parseError=="function"?this.parseError=q1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ie(){var j1;return j1=r.pop()||e1.lex()||q2,typeof j1!="number"&&(j1 instanceof Array&&(r=j1,j1=r.pop()),j1=o.symbols_[j1]||j1),j1}for(var a1,Z1,h1,I2,e2={},D2,K1,Z2,g2;;){if(Z1=T[T.length-1],this.defaultActions[Z1]?h1=this.defaultActions[Z1]:((a1===null||typeof a1>"u")&&(a1=Ie()),h1=r2[Z1]&&r2[Z1][a1]),typeof h1>"u"||!h1.length||!h1[0]){var N2="";g2=[];for(D2 in r2[Z1])this.terminals_[D2]&&D2>xe&&g2.push("'"+this.terminals_[D2]+"'");e1.showPosition?N2="Parse error on line "+(l1+1)+`: `+e1.showPosition()+` Expecting `+g2.join(", ")+", got '"+(this.terminals_[a1]||a1)+"'":N2="Parse error on line "+(l1+1)+": Unexpected "+(a1==q2?"end of input":"'"+(this.terminals_[a1]||a1)+"'"),this.parseError(N2,{text:e1.match,token:this.terminals_[a1]||a1,line:e1.yylineno,loc:L2,expected:g2})}if(h1[0]instanceof Array&&h1.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z1+", token: "+a1);switch(h1[0]){case 1:T.push(a1),X.push(e1.yytext),t.push(e1.yylloc),T.push(h1[1]),a1=null,X2=e1.yyleng,s=e1.yytext,l1=e1.yylineno,L2=e1.yylloc;break;case 2:if(K1=this.productions_[h1[1]][1],e2.$=X[X.length-K1],e2._$={first_line:t[t.length-(K1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(K1||1)].first_column,last_column:t[t.length-1].last_column},Le&&(e2._$.range=[t[t.length-(K1||1)].range[0],t[t.length-1].range[1]]),I2=this.performAction.apply(e2,[s,X2,l1,q1.yy,h1[1],X,t].concat(Re)),typeof I2<"u")return I2;K1&&(T=T.slice(0,-1*K1*2),X=X.slice(0,-1*K1),t=t.slice(0,-1*K1)),T.push(this.productions_[h1[1]][0]),X.push(e2.$),t.push(e2._$),Z2=r2[T[T.length-2]][T[T.length-1]],T.push(Z2);break;case 3:return!0}}return!0}},Ve=function(){var z1={EOF:1,parseError:function(o,T){if(this.yy.parser)this.yy.parser.parseError(o,T);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,T=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),T.length-1&&(this.yylineno-=T.length-1);var X=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:T?(T.length===r.length?this.yylloc.first_column:0)+r[r.length-T.length].length-T[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[X[0],X[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/assets/flowDiagram-46a15f6f-b0a2d6f1.js b/assets/flowDiagram-46a15f6f-8f0dc886.js similarity index 97% rename from assets/flowDiagram-46a15f6f-b0a2d6f1.js rename to assets/flowDiagram-46a15f6f-8f0dc886.js index ca46d4ea..78114107 100644 --- a/assets/flowDiagram-46a15f6f-b0a2d6f1.js +++ b/assets/flowDiagram-46a15f6f-8f0dc886.js @@ -1,4 +1,4 @@ -import{p as St,f as W}from"./flowDb-52e24d17-f389aec6.js";import{h as S,u as Lt,r as Et,p as _t,l as Tt,d as D,f as tt,G as Nt}from"./layout-fc6c59a0.js";import{h as m,o as At,p as Ct,q as P,r as z,t as et,c as J,k as rt,l as I,u as V,v as It,x as Bt}from"./index-cc077c34.js";import{a as N,b as at,i as nt,c as _,e as st,d as it,f as Mt,g as Dt}from"./styles-26373982-1a525f99.js";import"./createText-1f5f8f92-8d69e772.js";import"./index-5219d011-e35dc56e.js";import"./edges-2e77835f-73a5ac78.js";import"./svgDraw-2526cba0-85e687c2.js";var Y={normal:Gt,vee:Pt,undirected:Ut};function Rt(r){Y=r}function Gt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Pt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Ut(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function $t(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Wt(r,e){for(var t=r.append("text"),n=Vt(e.label).split(` +import{p as St,f as W}from"./flowDb-52e24d17-1f470436.js";import{h as S,u as Lt,r as Et,p as _t,l as Tt,d as D,f as tt,G as Nt}from"./layout-050decc5.js";import{h as m,o as At,p as Ct,q as P,r as z,t as et,c as J,k as rt,l as I,u as V,v as It,x as Bt}from"./index-76e1e0ef.js";import{a as N,b as at,i as nt,c as _,e as st,d as it,f as Mt,g as Dt}from"./styles-26373982-2e07428a.js";import"./createText-1f5f8f92-31332944.js";import"./index-5219d011-9cdf2d3b.js";import"./edges-2e77835f-9002828b.js";import"./svgDraw-2526cba0-dbcf6dc4.js";var Y={normal:Gt,vee:Pt,undirected:Ut};function Rt(r){Y=r}function Gt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Pt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Ut(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function $t(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Wt(r,e){for(var t=r.append("text"),n=Vt(e.label).split(` `),a=0;a0}function T(r,e,t){var n=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(p){i=Math.min(i,p.x),o=Math.min(o,p.y)});for(var c=n-r.width/2-i,d=a-r.height/2-o,l=0;l1&&s.sort(function(p,w){var f=p.x-t.x,y=p.y-t.y,k=Math.sqrt(f*f+y*y),B=w.x-t.x,E=w.y-t.y,U=Math.sqrt(B*B+E*E);return kMath.abs(a)*o?(s<0&&(o=-o),c=s===0?0:o*a/s,d=o):(a<0&&(i=-i),c=i,d=a===0?0:i*s/a),{x:t+c,y:n+d}}var Q={rect:ae,ellipse:ne,circle:se,diamond:ie};function re(r){Q=r}function ae(r,e,t){var n=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(a){return Z(t,a)},n}function ne(r,e,t){var n=e.width/2,a=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",n).attr("ry",a);return t.intersect=function(i){return lt(t,n,a,i)},s}function se(r,e,t){var n=Math.max(e.width,e.height)/2,a=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",n);return t.intersect=function(s){return te(t,n,s)},a}function ie(r,e,t){var n=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,s=[{x:0,y:-a},{x:-n,y:0},{x:0,y:a},{x:n,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return T(t,s,o)},i}function oe(){var r=function(e,t){de(t);var n=R(e,"output"),a=R(n,"clusters"),s=R(n,"edgePaths"),i=X(R(n,"edgeLabels"),t),o=q(R(n,"nodes"),t,Q);Tt(t),jt(o,t),Ot(i,t),F(s,t,Y);var c=H(a,t);Zt(c,t),he(t)};return r.createNodes=function(e){return arguments.length?(Kt(e),r):q},r.createClusters=function(e){return arguments.length?(zt(e),r):H},r.createEdgeLabels=function(e){return arguments.length?(Yt(e),r):X},r.createEdgePaths=function(e){return arguments.length?(Ht(e),r):F},r.shapes=function(e){return arguments.length?(re(e),r):Q},r.arrows=function(e){return arguments.length?(Rt(e),r):Y},r}var le={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},ce={arrowhead:"normal",curve:P};function de(r){r.nodes().forEach(function(e){var t=r.node(e);!S(t,"label")&&!r.children(e).length&&(t.label=e),S(t,"paddingX")&&D(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),S(t,"paddingY")&&D(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),S(t,"padding")&&D(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),D(t,le),tt(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(n){t[n]=Number(t[n])}),S(t,"width")&&(t._prevWidth=t.width),S(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);S(t,"label")||(t.label=""),D(t,ce)})}function he(r){tt(r.nodes(),function(e){var t=r.node(e);S(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,S(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function R(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function ct(r,e,t){const n=e.width,a=e.height,s=(n+a)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=A(r,s,s,i);return t.intersect=function(c){return T(t,i,c)},o}function dt(r,e,t){const a=e.height,s=a/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-a/2},{x:i-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=A(r,i,a,o);return t.intersect=function(d){return T(t,o,d)},c}function ht(r,e,t){const n=e.width,a=e.height,s=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ut(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ft(r,e,t){const n=e.width,a=e.height,s=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function pt(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function vt(r,e,t){const n=e.width,a=e.height,s=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function yt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function gt(r,e,t){const n=e.height,a=e.width+n/4,s=r.insert("rect",":first-child").attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return t.intersect=function(i){return Z(t,i)},s}function wt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function xt(r,e,t){const n=e.width,a=n/2,s=a/(2.5+n/50),i=e.height+s,o="M 0,"+s+" a "+a+","+s+" 0,0,0 "+n+" 0 a "+a+","+s+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+s+" 0,0,0 "+n+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-n/2+","+-(i/2+s)+")");return t.intersect=function(d){const l=Z(t,d),v=l.x-t.x;if(a!=0&&(Math.abs(v)t.height/2-s)){let h=s*s*(1-v*v/(a*a));h!=0&&(h=Math.sqrt(h)),h=s-h,d.y-t.y>0&&(h=-h),l.y+=h}return l},c}function ue(r){r.shapes().question=ct,r.shapes().hexagon=dt,r.shapes().stadium=gt,r.shapes().subroutine=wt,r.shapes().cylinder=xt,r.shapes().rect_left_inv_arrow=ht,r.shapes().lean_right=ut,r.shapes().lean_left=ft,r.shapes().trapezoid=pt,r.shapes().inv_trapezoid=vt,r.shapes().rect_right_inv_arrow=yt}function fe(r){r({question:ct}),r({hexagon:dt}),r({stadium:gt}),r({subroutine:wt}),r({cylinder:xt}),r({rect_left_inv_arrow:ht}),r({lean_right:ut}),r({lean_left:ft}),r({trapezoid:pt}),r({inv_trapezoid:vt}),r({rect_right_inv_arrow:yt})}function A(r,e,t,n){return r.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const pe={addToRender:ue,addToRenderV2:fe},mt={},ve=function(r){const e=Object.keys(r);for(const t of e)mt[t]=r[t]},bt=function(r,e,t,n,a,s){const i=n?n.select(`[id="${t}"]`):m(`[id="${t}"]`),o=a||document;Object.keys(r).forEach(function(d){const l=r[d];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=z(l.styles);let u=l.text!==void 0?l.text:l.id,p;if(et(J().flowchart.htmlLabels)){const y={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,k=>``)};p=at(i,y).node(),p.parentNode.removeChild(p)}else{const y=o.createElementNS("http://www.w3.org/2000/svg","text");y.setAttribute("style",h.labelStyle.replace("color:","fill:"));const k=u.split(rt.lineBreakRegex);for(const B of k){const E=o.createElementNS("http://www.w3.org/2000/svg","tspan");E.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),E.setAttribute("dy","1em"),E.setAttribute("x","1"),E.textContent=B,y.appendChild(E)}p=y}let w=0,f="";switch(l.type){case"round":w=5,f="rect";break;case"square":f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"odd_right":f="rect_left_inv_arrow";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"group":f="rect";break;default:f="rect"}I.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:f,label:p,rx:w,ry:w,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})})},kt=function(r,e,t){let n=0,a,s;if(r.defaultStyle!==void 0){const i=z(r.defaultStyle);a=i.style,s=i.labelStyle}r.forEach(function(i){n++;var o="L-"+i.start+"-"+i.end,c="LS-"+i.start,d="LE-"+i.end;const l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const u=z(i.style);v=u.style,h=u.labelStyle}else switch(i.stroke){case"normal":v="fill:none",a!==void 0&&(v=a),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=V(i.interpolate,P):r.defaultInterpolate!==void 0?l.curve=V(r.defaultInterpolate,P):l.curve=V(mt.curve,P),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",et(J().flowchart.htmlLabels)?(l.labelType="html",l.label=`${i.text.replace(/fa[blrs]?:fa-[\w-]+/g,u=>``)}`):(l.labelType="text",l.label=i.text.replace(rt.lineBreakRegex,` `),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+d,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,n)})},ye=function(r,e){I.info("Extracting classes"),e.db.clear();try{return e.parse(r),e.db.getClasses()}catch(t){return I.error(t),{}}},ge=function(r,e,t,n){I.info("Drawing flowchart"),n.db.clear();const{securityLevel:a,flowchart:s}=J();let i;a==="sandbox"&&(i=m("#i"+e));const o=a==="sandbox"?m(i.nodes()[0].contentDocument.body):m("body"),c=a==="sandbox"?i.nodes()[0].contentDocument:document;try{n.parser.parse(r)}catch{I.debug("Parsing failed")}let d=n.db.getDirection();d===void 0&&(d="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new Nt({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let u;const p=n.db.getSubGraphs();for(let g=p.length-1;g>=0;g--)u=p[g],n.db.addVertex(u.id,u.title,"group",void 0,u.classes);const w=n.db.getVertices();I.warn("Get vertices",w);const f=n.db.getEdges();let y=0;for(y=p.length-1;y>=0;y--){u=p[y],It("cluster").append("text");for(let g=0;g{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,we.setConf(r.flowchart),W.clear(),W.setGen("gen-1")}};export{Te as diagram}; diff --git a/assets/flowDiagram-v2-8e52592d-841b168a.js b/assets/flowDiagram-v2-8e52592d-841b168a.js new file mode 100644 index 00000000..61da4a20 --- /dev/null +++ b/assets/flowDiagram-v2-8e52592d-841b168a.js @@ -0,0 +1 @@ +import{p as t,f as o}from"./flowDb-52e24d17-1f470436.js";import{f as e,g as a}from"./styles-26373982-2e07428a.js";import{y as s}from"./index-76e1e0ef.js";import"./layout-050decc5.js";import"./createText-1f5f8f92-31332944.js";import"./index-5219d011-9cdf2d3b.js";import"./edges-2e77835f-9002828b.js";import"./svgDraw-2526cba0-dbcf6dc4.js";const d={parser:t,db:o,renderer:e,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,s({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),e.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{d as diagram}; diff --git a/assets/flowDiagram-v2-8e52592d-fd9e8567.js b/assets/flowDiagram-v2-8e52592d-fd9e8567.js deleted file mode 100644 index b4b9be46..00000000 --- a/assets/flowDiagram-v2-8e52592d-fd9e8567.js +++ /dev/null @@ -1 +0,0 @@ -import{p as t,f as o}from"./flowDb-52e24d17-f389aec6.js";import{f as e,g as a}from"./styles-26373982-1a525f99.js";import{y as s}from"./index-cc077c34.js";import"./layout-fc6c59a0.js";import"./createText-1f5f8f92-8d69e772.js";import"./index-5219d011-e35dc56e.js";import"./edges-2e77835f-73a5ac78.js";import"./svgDraw-2526cba0-85e687c2.js";const d={parser:t,db:o,renderer:e,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,s({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),e.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{d as diagram}; diff --git a/assets/flowchart-elk-definition-a44a74cb-6c04cc45.js b/assets/flowchart-elk-definition-a44a74cb-34d6c802.js similarity index 99% rename from assets/flowchart-elk-definition-a44a74cb-6c04cc45.js rename to assets/flowchart-elk-definition-a44a74cb-34d6c802.js index b4d48292..865f9b7a 100644 --- a/assets/flowchart-elk-definition-a44a74cb-6c04cc45.js +++ b/assets/flowchart-elk-definition-a44a74cb-34d6c802.js @@ -1,4 +1,4 @@ -import{d as bMe,p as wMe}from"./flowDb-52e24d17-f389aec6.js";import{J as Hee,K as gMe,at as PH,l as K1,h as lI,c as OH,x as pMe,r as V1n,u as X1n,q as IH,k as vMe,o as mMe}from"./index-cc077c34.js";import{i as kMe,a as yMe,l as jMe,b as EMe}from"./edges-2e77835f-73a5ac78.js";import"./createText-1f5f8f92-8d69e772.js";import"./svgDraw-2526cba0-85e687c2.js";var Uee={exports:{}};(function(Ae,It){(function(ft){Ae.exports=ft()})(function(){return function(){function ft(dt,Nt,Ai){function j(Bt,qt){if(!Nt[Bt]){if(!dt[Bt]){var Ge=typeof PH=="function"&&PH;if(!qt&&Ge)return Ge(Bt,!0);if(Ht)return Ht(Bt,!0);var Ki=new Error("Cannot find module '"+Bt+"'");throw Ki.code="MODULE_NOT_FOUND",Ki}var Si=Nt[Bt]={exports:{}};dt[Bt][0].call(Si.exports,function(Mn){var Lc=dt[Bt][1][Mn];return j(Lc||Mn)},Si,Si.exports,ft,dt,Nt,Ai)}return Nt[Bt].exports}for(var Ht=typeof PH=="function"&&PH,ou=0;ou0&&arguments[0]!==void 0?arguments[0]:{},Ki=Ge.defaultLayoutOptions,Si=Ki===void 0?{}:Ki,Mn=Ge.algorithms,Lc=Mn===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Mn,Nc=Ge.workerFactory,ps=Ge.workerUrl;if(j(this,Bt),this.defaultLayoutOptions=Si,this.initialized=!1,typeof ps>"u"&&typeof Nc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Rr=Nc;typeof ps<"u"&&typeof Nc>"u"&&(Rr=function(q1){return new Worker(q1)});var Ch=Rr(ps);if(typeof Ch.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new ou(Ch),this.worker.postMessage({cmd:"register",algorithms:Lc}).then(function(H1){return qt.initialized=!0}).catch(console.err)}return Ai(Bt,[{key:"layout",value:function(Ge){var Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Si=Ki.layoutOptions,Mn=Si===void 0?this.defaultLayoutOptions:Si,Lc=Ki.logging,Nc=Lc===void 0?!1:Lc,ps=Ki.measureExecutionTime,Rr=ps===void 0?!1:ps;return Ge?this.worker.postMessage({cmd:"layout",graph:Ge,layoutOptions:Mn,options:{logging:Nc,measureExecutionTime:Rr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Bt}();Nt.default=Ht;var ou=function(){function Bt(qt){var Ge=this;if(j(this,Bt),qt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=qt,this.worker.onmessage=function(Ki){setTimeout(function(){Ge.receive(Ge,Ki)},0)}}return Ai(Bt,[{key:"postMessage",value:function(Ge){var Ki=this.id||0;this.id=Ki+1,Ge.id=Ki;var Si=this;return new Promise(function(Mn,Lc){Si.resolvers[Ki]=function(Nc,ps){Nc?(Si.convertGwtStyleError(Nc),Lc(Nc)):Mn(ps)},Si.worker.postMessage(Ge)})}},{key:"receive",value:function(Ge,Ki){var Si=Ki.data,Mn=Ge.resolvers[Si.id];Mn&&(delete Ge.resolvers[Si.id],Si.error?Mn(Si.error):Mn(null,Si.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Ge){if(Ge){var Ki=Ge.__java$exception;Ki&&(Ki.cause&&Ki.cause.backingJsObject&&(Ge.cause=Ki.cause.backingJsObject,this.convertGwtStyleError(Ge.cause)),delete Ge.__java$exception)}}}]),Bt}()},{}],2:[function(ft,dt,Nt){(function(Ai){(function(){var j;typeof window<"u"?j=window:typeof Ai<"u"?j=Ai:typeof self<"u"&&(j=self);var Ht;function ou(){}function Bt(){}function qt(){}function Ge(){}function Ki(){}function Si(){}function Mn(){}function Lc(){}function Nc(){}function ps(){}function Rr(){}function Ch(){}function H1(){}function q1(){}function ww(){}function Np(){}function G1(){}function Th(){}function Q1n(){}function J1n(){}function zy(){}function Y1n(){}function Z1n(){}function nln(){}function eln(){}function Xg(){}function N(){}function tln(){}function aI(){}function iln(){}function rln(){}function cln(){}function uln(){}function DH(){}function sln(){}function oln(){}function fln(){}function z1(){}function U1(){}function dI(){}function hln(){}function lln(){}function aln(){}function $H(){}function dln(){}function bln(){}function Vg(){}function Qg(){}function wln(){}function gln(){}function pln(){}function vln(){}function FH(){}function W1(){}function Jg(){}function Yg(){}function mln(){}function Vee(){}function bI(){}function kln(){}function yln(){}function jln(){}function Eln(){}function Cln(){}function Tln(){}function Mln(){}function Aln(){}function Sln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function xln(){}function Lln(){}function Nln(){}function Bln(){}function Rln(){}function _ln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function zln(){}function Uln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function xH(){}function Zln(){}function nan(){}function ean(){}function tan(){}function wI(){}function gI(){}function Uy(){}function ian(){}function ran(){}function pI(){}function can(){}function uan(){}function san(){}function Wy(){}function oan(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function LH(){}function pan(){}function van(){}function man(){}function kan(){}function yan(){}function NH(){}function jan(){}function Ean(){}function Can(){}function Tan(){}function Man(){}function Aan(){}function San(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function xan(){}function vI(){}function Lan(){}function Nan(){}function Ban(){}function Ran(){}function _an(){}function BH(){}function Kan(){}function Han(){}function qan(){}function Gan(){}function zan(){}function Uan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function idn(){}function rdn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function pdn(){}function vdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Cdn(){}function Tdn(){}function Mdn(){}function Adn(){}function Sdn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function xdn(){}function Ldn(){}function Ndn(){}function Bdn(){}function Rdn(){}function _dn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function zdn(){}function Udn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function i0n(){}function r0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function p0n(){}function v0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function C0n(){}function T0n(){}function M0n(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function RH(){}function $0n(){}function F0n(){}function x0n(){}function L0n(){}function N0n(){}function B0n(){}function R0n(){}function _0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function z0n(){}function U0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function vbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Tbn(){}function Mbn(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function xbn(){}function Lbn(){}function Nbn(){}function Bbn(){}function Rbn(){}function _bn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function zbn(){}function _H(){}function Ubn(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function KH(){}function awn(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function HH(){}function qH(){}function vwn(){}function GH(){}function zH(){}function mwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Twn(){}function Mwn(){}function Awn(){}function UH(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function xwn(){}function Lwn(){}function Nwn(){}function Bwn(){}function Rwn(){}function _wn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function zwn(){}function Uwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function vgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Tgn(){}function Mgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function xgn(){}function Lgn(){}function Ngn(){}function Bgn(){}function Rgn(){}function _gn(){}function Kgn(){}function mI(){}function kI(){}function yI(){}function Hgn(){}function qgn(){}function Ggn(){}function zgn(){}function Ugn(){}function WH(){}function Wgn(){}function Xgn(){}function Qee(){}function Vgn(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function Zl(){}function t2n(){}function Zg(){}function XH(){}function i2n(){}function r2n(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function v2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function dn(){}function C2n(){}function T2n(){}function M2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function jI(){}function F2n(){}function x2n(){}function L2n(){}function N2n(){}function B2n(){}function VH(){}function Xy(){}function Vy(){}function R2n(){}function QH(){}function Qy(){}function _2n(){}function K2n(){}function H2n(){}function q2n(){}function G2n(){}function z2n(){}function Jy(){}function U2n(){}function W2n(){}function X2n(){}function Yy(){}function V2n(){}function JH(){}function Q2n(){}function EI(){}function YH(){}function J2n(){}function Y2n(){}function Z2n(){}function npn(){}function Jee(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function Bp(){}function CI(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function vpn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Tpn(){}function Mpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function xpn(){}function Lpn(){}function Npn(){}function Bpn(){}function Rpn(){}function _pn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function zpn(){}function Upn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function s3n(){}function o3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function v3n(){}function m3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function T3n(){}function M3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function $3n(){}function F3n(){}function x3n(){}function L3n(){}function N3n(){}function B3n(){}function R3n(){}function _3n(){}function K3n(){}function H3n(){}function q3n(){}function G3n(){}function z3n(){}function U3n(){}function W3n(){}function X3n(){}function V3n(){}function Q3n(){}function J3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function ZH(){}function r4n(){}function c4n(){}function TI(){Rv()}function u4n(){pF()}function s4n(){a6()}function o4n(){WT()}function f4n(){YJ()}function h4n(){Go()}function l4n(){fJ()}function a4n(){C7()}function d4n(){q9()}function b4n(){H9()}function w4n(){w8()}function g4n(){v7n()}function p4n(){x2()}function v4n(){Sj()}function m4n(){PSn()}function k4n(){HIn()}function y4n(){sPn()}function j4n(){CMn()}function E4n(){V3()}function C4n(){yl()}function T4n(){qIn()}function M4n(){pAn()}function A4n(){zZ()}function S4n(){IFn()}function P4n(){TMn()}function I4n(){nn()}function O4n(){EMn()}function D4n(){GIn()}function $4n(){WOn()}function F4n(){AMn()}function x4n(){aPn()}function L4n(){m7n()}function N4n(){$Y()}function B4n(){gb()}function R4n(){pOn()}function _4n(){S7()}function K4n(){Ux()}function H4n(){ZF()}function q4n(){Zd()}function G4n(){PV()}function z4n(){MMn()}function U4n(){BBn()}function W4n(){IY()}function X4n(){Bx()}function V4n(){DC()}function Q4n(){nM()}function nq(){Xe()}function J4n(){wT()}function Y4n(){NQ()}function eq(){mM()}function Fo(){dEn()}function tq(){eF()}function Z4n(){pZ()}function iq(n){_n(n)}function nvn(n){this.a=n}function Zy(n){this.a=n}function evn(n){this.a=n}function tvn(n){this.a=n}function ivn(n){this.a=n}function rvn(n){this.a=n}function cvn(n){this.a=n}function uvn(n){this.a=n}function rq(n){this.a=n}function cq(n){this.a=n}function svn(n){this.a=n}function MI(n){this.a=n}function ovn(n){this.a=n}function AI(n){this.a=n}function fvn(n){this.a=n}function SI(n){this.a=n}function hvn(n){this.a=n}function PI(n){this.a=n}function lvn(n){this.a=n}function avn(n){this.a=n}function dvn(n){this.a=n}function uq(n){this.b=n}function bvn(n){this.c=n}function wvn(n){this.a=n}function gvn(n){this.a=n}function pvn(n){this.a=n}function vvn(n){this.a=n}function mvn(n){this.a=n}function kvn(n){this.a=n}function yvn(n){this.a=n}function jvn(n){this.a=n}function Evn(n){this.a=n}function Cvn(n){this.a=n}function Tvn(n){this.a=n}function Mvn(n){this.a=n}function Avn(n){this.a=n}function sq(n){this.a=n}function oq(n){this.a=n}function nj(n){this.a=n}function M9(n){this.a=n}function na(){this.a=[]}function Svn(n,e){n.a=e}function Yee(n,e){n.a=e}function Zee(n,e){n.b=e}function nte(n,e){n.b=e}function ete(n,e){n.b=e}function fq(n,e){n.j=e}function tte(n,e){n.g=e}function ite(n,e){n.i=e}function rte(n,e){n.c=e}function cte(n,e){n.d=e}function ute(n,e){n.d=e}function ste(n,e){n.c=e}function ea(n,e){n.k=e}function ote(n,e){n.c=e}function hq(n,e){n.c=e}function lq(n,e){n.a=e}function fte(n,e){n.a=e}function hte(n,e){n.f=e}function lte(n,e){n.a=e}function ate(n,e){n.b=e}function II(n,e){n.d=e}function ej(n,e){n.i=e}function aq(n,e){n.o=e}function dte(n,e){n.r=e}function bte(n,e){n.a=e}function wte(n,e){n.b=e}function Pvn(n,e){n.e=e}function gte(n,e){n.f=e}function dq(n,e){n.g=e}function pte(n,e){n.e=e}function vte(n,e){n.f=e}function mte(n,e){n.f=e}function kte(n,e){n.n=e}function yte(n,e){n.a=e}function jte(n,e){n.a=e}function Ete(n,e){n.c=e}function Cte(n,e){n.c=e}function Tte(n,e){n.d=e}function Mte(n,e){n.e=e}function Ate(n,e){n.g=e}function Ste(n,e){n.a=e}function Pte(n,e){n.c=e}function Ite(n,e){n.d=e}function Ote(n,e){n.e=e}function Dte(n,e){n.f=e}function $te(n,e){n.j=e}function Fte(n,e){n.a=e}function xte(n,e){n.b=e}function Lte(n,e){n.a=e}function Ivn(n){n.b=n.a}function Ovn(n){n.c=n.d.d}function $v(n){this.d=n}function ta(n){this.a=n}function Rp(n){this.a=n}function bq(n){this.a=n}function Mh(n){this.a=n}function A9(n){this.a=n}function Dvn(n){this.a=n}function wq(n){this.a=n}function S9(n){this.a=n}function gq(n){this.a=n}function pq(n){this.a=n}function vq(n){this.a=n}function L0(n){this.a=n}function P9(n){this.a=n}function I9(n){this.a=n}function mq(n){this.b=n}function _p(n){this.b=n}function Kp(n){this.b=n}function OI(n){this.a=n}function $vn(n){this.a=n}function kq(n){this.a=n}function DI(n){this.c=n}function E(n){this.c=n}function Fvn(n){this.c=n}function yq(n){this.a=n}function jq(n){this.a=n}function Eq(n){this.a=n}function Cq(n){this.a=n}function ut(n){this.a=n}function xvn(n){this.a=n}function Tq(n){this.a=n}function Mq(n){this.a=n}function Lvn(n){this.a=n}function Nvn(n){this.a=n}function Fv(n){this.a=n}function Bvn(n){this.a=n}function Rvn(n){this.a=n}function _vn(n){this.a=n}function Kvn(n){this.a=n}function Hvn(n){this.a=n}function qvn(n){this.a=n}function Gvn(n){this.a=n}function zvn(n){this.a=n}function Uvn(n){this.a=n}function Wvn(n){this.a=n}function Xvn(n){this.a=n}function Vvn(n){this.a=n}function Qvn(n){this.a=n}function Jvn(n){this.a=n}function Yvn(n){this.a=n}function Zvn(n){this.a=n}function n5n(n){this.a=n}function O9(n){this.a=n}function e5n(n){this.a=n}function t5n(n){this.a=n}function tj(n){this.a=n}function i5n(n){this.a=n}function r5n(n){this.a=n}function Hp(n){this.a=n}function Aq(n){this.a=n}function c5n(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function Sq(n){this.a=n}function Pq(n){this.a=n}function Iq(n){this.a=n}function ij(n){this.a=n}function rj(n){this.e=n}function qp(n){this.a=n}function h5n(n){this.a=n}function n2(n){this.a=n}function Oq(n){this.a=n}function l5n(n){this.a=n}function a5n(n){this.a=n}function d5n(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function p5n(n){this.a=n}function v5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function Dq(n){this.a=n}function j5n(n){this.a=n}function E5n(n){this.a=n}function C5n(n){this.a=n}function T5n(n){this.a=n}function M5n(n){this.a=n}function A5n(n){this.a=n}function S5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function x5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function B5n(n){this.a=n}function R5n(n){this.a=n}function _5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function z5n(n){this.a=n}function U5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function i6n(n){this.a=n}function r6n(n){this.a=n}function c6n(n){this.c=n}function u6n(n){this.b=n}function s6n(n){this.a=n}function o6n(n){this.a=n}function f6n(n){this.a=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function p6n(n){this.a=n}function v6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function C6n(n){this.a=n}function T6n(n){this.a=n}function M6n(n){this.a=n}function A6n(n){this.a=n}function S6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function X1(n){this.a=n}function e2(n){this.a=n}function O6n(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function F6n(n){this.a=n}function x6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function B6n(n){this.a=n}function R6n(n){this.a=n}function _6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function z6n(n){this.a=n}function U6n(n){this.a=n}function cj(n){this.a=n}function W6n(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function imn(n){this.a=n}function rmn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function pmn(n){this.a=n}function vmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function $q(n){this.a=n}function kt(n){this.b=n}function ymn(n){this.f=n}function Fq(n){this.a=n}function jmn(n){this.a=n}function Emn(n){this.a=n}function Cmn(n){this.a=n}function Tmn(n){this.a=n}function Mmn(n){this.a=n}function Amn(n){this.a=n}function Smn(n){this.a=n}function Pmn(n){this.a=n}function D9(n){this.a=n}function Imn(n){this.a=n}function Omn(n){this.b=n}function xq(n){this.c=n}function uj(n){this.e=n}function Dmn(n){this.a=n}function sj(n){this.a=n}function oj(n){this.a=n}function $I(n){this.a=n}function $mn(n){this.a=n}function Fmn(n){this.d=n}function Lq(n){this.a=n}function Nq(n){this.a=n}function cd(n){this.e=n}function Nte(){this.a=0}function gw(){dyn(this)}function X(){RO(this)}function we(){Eu(this)}function FI(){pTn(this)}function xmn(){}function ud(){this.c=p1n}function Bte(n,e){e.Wb(n)}function Lmn(n,e){n.b+=e}function Nmn(n){n.b=new JI}function T(n){return n.e}function Rte(n){return n.a}function _te(n){return n.a}function Kte(n){return n.a}function Hte(n){return n.a}function qte(n){return n.a}function Gte(){return null}function zte(){return null}function Ute(){EG(),iTe()}function Wte(n){n.b.tf(n.e)}function xv(n,e){n.b=e-n.b}function Lv(n,e){n.a=e-n.a}function Bmn(n,e){e.ad(n.a)}function Xte(n,e){ui(e,n)}function Vte(n,e,t){n.Od(t,e)}function $9(n,e){n.e=e,e.b=n}function Bq(n){Df(),this.a=n}function Rmn(n){Df(),this.a=n}function _mn(n){Df(),this.a=n}function Rq(n){nb(),this.a=n}function Kmn(n){k3(),aR.be(n)}function ia(){Qyn.call(this)}function _q(){Qyn.call(this)}function Kq(){ia.call(this)}function xI(){ia.call(this)}function Hmn(){ia.call(this)}function F9(){ia.call(this)}function fu(){ia.call(this)}function Nv(){ia.call(this)}function ye(){ia.call(this)}function vs(){ia.call(this)}function qmn(){ia.call(this)}function ic(){ia.call(this)}function Gmn(){ia.call(this)}function zmn(){this.a=this}function fj(){this.Bb|=256}function Umn(){this.b=new Xkn}function Hq(){Hq=N,new we}function qq(){Kq.call(this)}function Wmn(n,e){n.length=e}function hj(n,e){W(n.a,e)}function Qte(n,e){nY(n.c,e)}function Jte(n,e){ri(n.b,e)}function Yte(n,e){KT(n.a,e)}function Zte(n,e){MF(n.a,e)}function Gp(n,e){et(n.e,e)}function t2(n){iM(n.c,n.b)}function nie(n,e){n.kc().Nb(e)}function Gq(n){this.a=Yge(n)}function fi(){this.a=new we}function Xmn(){this.a=new we}function lj(){this.a=new X}function LI(){this.a=new X}function zq(){this.a=new X}function Ns(){this.a=new Oln}function ra(){this.a=new TSn}function Uq(){this.a=new LH}function Wq(){this.a=new h7n}function Vmn(){this.a=new YMn}function Xq(){this.a=new bMn}function Vq(){this.a=new Bjn}function Qmn(){this.a=new X}function Qq(){this.a=new X}function Jmn(){this.a=new X}function Ymn(){this.a=new X}function Zmn(){this.d=new X}function n9n(){this.a=new fi}function e9n(){this.a=new we}function t9n(){this.b=new we}function i9n(){this.b=new X}function Jq(){this.e=new X}function r9n(){this.d=new X}function c9n(){this.a=new C4n}function u9n(){X.call(this)}function Yq(){lj.call(this)}function s9n(){kE.call(this)}function o9n(){Qq.call(this)}function NI(){Bv.call(this)}function Bv(){xmn.call(this)}function i2(){xmn.call(this)}function Zq(){i2.call(this)}function f9n(){zTn.call(this)}function h9n(){zTn.call(this)}function l9n(){uG.call(this)}function a9n(){uG.call(this)}function d9n(){uG.call(this)}function b9n(){sG.call(this)}function hu(){Ct.call(this)}function nG(){B2n.call(this)}function eG(){B2n.call(this)}function w9n(){O9n.call(this)}function g9n(){O9n.call(this)}function p9n(){we.call(this)}function v9n(){we.call(this)}function m9n(){we.call(this)}function k9n(){fi.call(this)}function BI(){RIn.call(this)}function y9n(){fj.call(this)}function RI(){Oz.call(this)}function _I(){Oz.call(this)}function tG(){we.call(this)}function KI(){we.call(this)}function j9n(){we.call(this)}function iG(){Yy.call(this)}function E9n(){Yy.call(this)}function C9n(){iG.call(this)}function T9n(){ZH.call(this)}function M9n(n){hIn.call(this,n)}function A9n(n){hIn.call(this,n)}function rG(n){rq.call(this,n)}function cG(n){n7n.call(this,n)}function eie(n){cG.call(this,n)}function tie(n){n7n.call(this,n)}function zp(){this.a=new Ct}function uG(){this.a=new fi}function sG(){this.a=new we}function S9n(){this.a=new X}function P9n(){this.j=new X}function oG(){this.a=new Rgn}function I9n(){this.a=new T8n}function O9n(){this.a=new X2n}function HI(){HI=N,uR=new V9n}function qI(){qI=N,cR=new X9n}function Rv(){Rv=N,rR=new Bt}function aj(){aj=N,fR=new Xyn}function iie(n){cG.call(this,n)}function rie(n){cG.call(this,n)}function D9n(n){m$.call(this,n)}function $9n(n){m$.call(this,n)}function F9n(n){uEn.call(this,n)}function GI(n){C5e.call(this,n)}function sd(n){_0.call(this,n)}function _v(n){Cj.call(this,n)}function fG(n){Cj.call(this,n)}function x9n(n){Cj.call(this,n)}function _r(n){kCn.call(this,n)}function L9n(n){_r.call(this,n)}function r2(){M9.call(this,{})}function dj(n){c3(),this.a=n}function Kv(n){n.b=null,n.c=0}function cie(n,e){n.e=e,NNn(n,e)}function uie(n,e){n.a=e,h6e(n)}function zI(n,e,t){n.a[e.g]=t}function sie(n,e,t){M4e(t,n,e)}function oie(n,e){$ue(e.i,n.n)}function N9n(n,e){Fwe(n).td(e)}function fie(n,e){return n*n/e}function B9n(n,e){return n.g-e.g}function hie(n){return new nj(n)}function lie(n){return new Z0(n)}function bj(n){_r.call(this,n)}function vr(n){_r.call(this,n)}function R9n(n){_r.call(this,n)}function UI(n){kCn.call(this,n)}function WI(n){AV(),this.a=n}function _9n(n){aEn(),this.a=n}function N0(n){ED(),this.f=n}function XI(n){ED(),this.f=n}function Up(n){_r.call(this,n)}function Hn(n){_r.call(this,n)}function Dr(n){_r.call(this,n)}function K9n(n){_r.call(this,n)}function c2(n){_r.call(this,n)}function on(n){return _n(n),n}function K(n){return _n(n),n}function x9(n){return _n(n),n}function hG(n){return _n(n),n}function aie(n){return _n(n),n}function Hv(n){return n.b==n.c}function B0(n){return!!n&&n.b}function die(n){return!!n&&n.k}function bie(n){return!!n&&n.j}function Ku(n){_n(n),this.a=n}function lG(n){return ja(n),n}function qv(n){EW(n,n.length)}function t1(n){_r.call(this,n)}function Af(n){_r.call(this,n)}function VI(n){_r.call(this,n)}function pw(n){_r.call(this,n)}function Gv(n){_r.call(this,n)}function Ee(n){_r.call(this,n)}function QI(n){Vz.call(this,n,0)}function JI(){iX.call(this,12,3)}function aG(){aG=N,din=new Q1n}function H9n(){H9n=N,ain=new ou}function wj(){wj=N,dm=new H1}function q9n(){q9n=N,vzn=new ww}function G9n(){throw T(new ye)}function dG(){throw T(new ye)}function z9n(){throw T(new ye)}function wie(){throw T(new ye)}function gie(){throw T(new ye)}function pie(){throw T(new ye)}function YI(){this.a=Ce(pe(Ji))}function u2(n){Df(),this.a=pe(n)}function U9n(n,e){n.Td(e),e.Sd(n)}function vie(n,e){n.a.ec().Mc(e)}function mie(n,e,t){n.c.lf(e,t)}function bG(n){vr.call(this,n)}function Sf(n){Hn.call(this,n)}function i1(){A9.call(this,"")}function zv(){A9.call(this,"")}function V1(){A9.call(this,"")}function R0(){A9.call(this,"")}function wG(n){vr.call(this,n)}function Wp(n){_p.call(this,n)}function ZI(n){lE.call(this,n)}function W9n(n){Wp.call(this,n)}function X9n(){AI.call(this,null)}function V9n(){AI.call(this,null)}function gj(){gj=N,k3()}function Q9n(){Q9n=N,Szn=Z4e()}function J9n(n){return n.a?n.b:0}function kie(n){return n.a?n.b:0}function yie(n,e){return n.a-e.a}function jie(n,e){return n.a-e.a}function Eie(n,e){return n.a-e.a}function pj(n,e){return WX(n,e)}function M(n,e){return pMn(n,e)}function Cie(n,e){return e in n.a}function Y9n(n,e){return n.f=e,n}function Tie(n,e){return n.b=e,n}function Z9n(n,e){return n.c=e,n}function Mie(n,e){return n.g=e,n}function gG(n,e){return n.a=e,n}function pG(n,e){return n.f=e,n}function Aie(n,e){return n.k=e,n}function vG(n,e){return n.a=e,n}function Sie(n,e){return n.e=e,n}function mG(n,e){return n.e=e,n}function Pie(n,e){return n.f=e,n}function Iie(n,e){n.b=!0,n.d=e}function Oie(n,e){n.b=new mr(e)}function Die(n,e,t){e.td(n.a[t])}function $ie(n,e,t){e.we(n.a[t])}function Fie(n,e){return n.b-e.b}function xie(n,e){return n.g-e.g}function Lie(n,e){return n.s-e.s}function Nie(n,e){return n?0:e-1}function n8n(n,e){return n?0:e-1}function Bie(n,e){return n?e-1:0}function Rie(n,e){return e.Yf(n)}function od(n,e){return n.b=e,n}function vj(n,e){return n.a=e,n}function fd(n,e){return n.c=e,n}function hd(n,e){return n.d=e,n}function ld(n,e){return n.e=e,n}function kG(n,e){return n.f=e,n}function Uv(n,e){return n.a=e,n}function Xp(n,e){return n.b=e,n}function Vp(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function Dn(n,e){return n.b=e,n}function pn(n,e){return n.d=e,n}function vn(n,e){return n.e=e,n}function _ie(n,e){return n.f=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function e8n(n,e){return n.k=e,n}function Kie(n,e){return n.j=e,n}function Hie(n,e){yl(),Hr(e,n)}function qie(n,e,t){Nfe(n.a,e,t)}function t8n(n){mTn.call(this,n)}function yG(n){mTn.call(this,n)}function mj(n){uD.call(this,n)}function i8n(n){u2e.call(this,n)}function Q1(n){Ld.call(this,n)}function r8n(n){XD.call(this,n)}function c8n(n){XD.call(this,n)}function u8n(){Mz.call(this,"")}function Li(){this.a=0,this.b=0}function s8n(){this.b=0,this.a=0}function o8n(n,e){n.b=0,hb(n,e)}function Gie(n,e){n.c=e,n.b=!0}function f8n(n,e){return n.c._b(e)}function xo(n){return n.e&&n.e()}function nO(n){return n?n.d:null}function h8n(n,e){return LDn(n.b,e)}function zie(n){return n?n.g:null}function Uie(n){return n?n.i:null}function J1(n){return Ph(n),n.o}function ad(){ad=N,Mne=h4e()}function l8n(){l8n=N,vi=jve()}function Qp(){Qp=N,g1n=a4e()}function a8n(){a8n=N,hee=l4e()}function jG(){jG=N,oc=s6e()}function EG(){EG=N,Wl=N3()}function d8n(){throw T(new ye)}function b8n(){throw T(new ye)}function w8n(){throw T(new ye)}function g8n(){throw T(new ye)}function p8n(){throw T(new ye)}function v8n(){throw T(new ye)}function kj(n){this.a=new s2(n)}function CG(n){d_n(),gTe(this,n)}function Y1(n){this.a=new AD(n)}function vw(n,e){for(;n.ye(e););}function TG(n,e){for(;n.sd(e););}function mw(n,e){return n.a+=e,n}function eO(n,e){return n.a+=e,n}function r1(n,e){return n.a+=e,n}function dd(n,e){return n.a+=e,n}function Wv(n){return fl(n),n.a}function yj(n){return n.b!=n.d.c}function m8n(n){return n.l|n.m<<22}function MG(n,e){return n.d[e.p]}function k8n(n,e){return Q8e(n,e)}function AG(n,e,t){n.splice(e,t)}function y8n(n){n.c?rBn(n):cBn(n)}function jj(n){this.a=0,this.b=n}function j8n(){this.a=new B7(Pon)}function E8n(){this.b=new B7(won)}function C8n(){this.b=new B7(OK)}function T8n(){this.b=new B7(OK)}function M8n(){throw T(new ye)}function A8n(){throw T(new ye)}function S8n(){throw T(new ye)}function P8n(){throw T(new ye)}function I8n(){throw T(new ye)}function O8n(){throw T(new ye)}function D8n(){throw T(new ye)}function $8n(){throw T(new ye)}function F8n(){throw T(new ye)}function x8n(){throw T(new ye)}function Wie(){throw T(new ic)}function Xie(){throw T(new ic)}function L9(n){this.a=new L8n(n)}function L8n(n){cbe(this,n,cve())}function N9(n){return!n||iTn(n)}function B9(n){return Tf[n]!=-1}function Vie(){_A!=0&&(_A=0),KA=-1}function N8n(){iR==null&&(iR=[])}function Qie(n,e){$x(R(n.a),e)}function Jie(n,e){$x(R(n.a),e)}function R9(n,e){Sw.call(this,n,e)}function Jp(n,e){R9.call(this,n,e)}function SG(n,e){this.b=n,this.c=e}function B8n(n,e){this.b=n,this.a=e}function R8n(n,e){this.a=n,this.b=e}function _8n(n,e){this.a=n,this.b=e}function K8n(n,e){this.a=n,this.b=e}function H8n(n,e){this.a=n,this.b=e}function q8n(n,e){this.a=n,this.b=e}function G8n(n,e){this.a=n,this.b=e}function z8n(n,e){this.a=n,this.b=e}function U8n(n,e){this.a=n,this.b=e}function W8n(n,e){this.b=n,this.a=e}function X8n(n,e){this.b=n,this.a=e}function V8n(n,e){this.b=n,this.a=e}function Q8n(n,e){this.b=n,this.a=e}function Oe(n,e){this.f=n,this.g=e}function Yp(n,e){this.e=n,this.d=e}function bd(n,e){this.g=n,this.i=e}function tO(n,e){this.a=n,this.b=e}function J8n(n,e){this.a=n,this.f=e}function Y8n(n,e){this.b=n,this.c=e}function Yie(n,e){this.a=n,this.b=e}function Z8n(n,e){this.a=n,this.b=e}function iO(n,e){this.a=n,this.b=e}function n7n(n){Bz(n.dc()),this.c=n}function Ej(n){this.b=u(pe(n),83)}function e7n(n){this.a=u(pe(n),83)}function _0(n){this.a=u(pe(n),15)}function t7n(n){this.a=u(pe(n),15)}function Cj(n){this.b=u(pe(n),47)}function Tj(){this.q=new j.Date}function Zf(){Zf=N,Sin=new tln}function Zp(){Zp=N,X4=new nln}function Xv(n){return n.f.c+n.g.c}function _9(n,e){return n.b.Hc(e)}function i7n(n,e){return n.b.Ic(e)}function r7n(n,e){return n.b.Qc(e)}function c7n(n,e){return n.b.Hc(e)}function u7n(n,e){return n.c.uc(e)}function Ah(n,e){return n.a._b(e)}function s7n(n,e){return tt(n.c,e)}function o7n(n,e){return zu(n.b,e)}function f7n(n,e){return n>e&&e0}function cO(n,e){return fc(n,e)<0}function n5(n,e){return n.a.get(e)}function lre(n,e){return e.split(n)}function S7n(n,e){return zu(n.e,e)}function LG(n){return _n(n),!1}function xj(n){xn.call(this,n,21)}function are(n,e){cMn.call(this,n,e)}function Lj(n,e){Oe.call(this,n,e)}function uO(n,e){Oe.call(this,n,e)}function NG(n){_D(),uEn.call(this,n)}function BG(n,e){fCn(n,n.length,e)}function z9(n,e){BCn(n,n.length,e)}function dre(n,e,t){e.ud(n.a.Ge(t))}function bre(n,e,t){e.we(n.a.Fe(t))}function wre(n,e,t){e.td(n.a.Kb(t))}function gre(n,e,t){n.Mb(t)&&e.td(t)}function e5(n,e,t){n.splice(e,0,t)}function pre(n,e){return au(n.e,e)}function Nj(n,e){this.d=n,this.e=e}function P7n(n,e){this.b=n,this.a=e}function I7n(n,e){this.b=n,this.a=e}function RG(n,e){this.b=n,this.a=e}function O7n(n,e){this.a=n,this.b=e}function D7n(n,e){this.a=n,this.b=e}function $7n(n,e){this.a=n,this.b=e}function F7n(n,e){this.a=n,this.b=e}function f2(n,e){this.a=n,this.b=e}function _G(n,e){this.b=n,this.a=e}function KG(n,e){this.b=n,this.a=e}function Bj(n,e){Oe.call(this,n,e)}function Rj(n,e){Oe.call(this,n,e)}function HG(n,e){Oe.call(this,n,e)}function qG(n,e){Oe.call(this,n,e)}function kw(n,e){Oe.call(this,n,e)}function sO(n,e){Oe.call(this,n,e)}function oO(n,e){Oe.call(this,n,e)}function fO(n,e){Oe.call(this,n,e)}function _j(n,e){Oe.call(this,n,e)}function GG(n,e){Oe.call(this,n,e)}function hO(n,e){Oe.call(this,n,e)}function U9(n,e){Oe.call(this,n,e)}function Kj(n,e){Oe.call(this,n,e)}function lO(n,e){Oe.call(this,n,e)}function t5(n,e){Oe.call(this,n,e)}function zG(n,e){Oe.call(this,n,e)}function zt(n,e){Oe.call(this,n,e)}function Hj(n,e){Oe.call(this,n,e)}function x7n(n,e){this.a=n,this.b=e}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function B7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function UG(n,e){this.b=n,this.a=e}function G7n(n,e){this.b=n,this.a=e}function z7n(n,e){this.b=n,this.a=e}function U7n(n,e){this.b=n,this.a=e}function t3(n,e){this.c=n,this.d=e}function W7n(n,e){this.e=n,this.d=e}function X7n(n,e){this.a=n,this.b=e}function V7n(n,e){this.b=e,this.c=n}function qj(n,e){Oe.call(this,n,e)}function W9(n,e){Oe.call(this,n,e)}function aO(n,e){Oe.call(this,n,e)}function i5(n,e){Oe.call(this,n,e)}function WG(n,e){Oe.call(this,n,e)}function dO(n,e){Oe.call(this,n,e)}function bO(n,e){Oe.call(this,n,e)}function X9(n,e){Oe.call(this,n,e)}function XG(n,e){Oe.call(this,n,e)}function wO(n,e){Oe.call(this,n,e)}function r5(n,e){Oe.call(this,n,e)}function VG(n,e){Oe.call(this,n,e)}function c5(n,e){Oe.call(this,n,e)}function u5(n,e){Oe.call(this,n,e)}function H0(n,e){Oe.call(this,n,e)}function gO(n,e){Oe.call(this,n,e)}function pO(n,e){Oe.call(this,n,e)}function QG(n,e){Oe.call(this,n,e)}function s5(n,e){Oe.call(this,n,e)}function vO(n,e){Oe.call(this,n,e)}function Gj(n,e){Oe.call(this,n,e)}function V9(n,e){Oe.call(this,n,e)}function Q9(n,e){Oe.call(this,n,e)}function h2(n,e){Oe.call(this,n,e)}function mO(n,e){Oe.call(this,n,e)}function JG(n,e){Oe.call(this,n,e)}function kO(n,e){Oe.call(this,n,e)}function yO(n,e){Oe.call(this,n,e)}function YG(n,e){Oe.call(this,n,e)}function jO(n,e){Oe.call(this,n,e)}function EO(n,e){Oe.call(this,n,e)}function CO(n,e){Oe.call(this,n,e)}function TO(n,e){Oe.call(this,n,e)}function ZG(n,e){Oe.call(this,n,e)}function Q7n(n,e){this.b=n,this.a=e}function J7n(n,e){this.a=n,this.b=e}function Y7n(n,e){this.a=n,this.b=e}function Z7n(n,e){this.a=n,this.b=e}function nkn(n,e){this.a=n,this.b=e}function nz(n,e){Oe.call(this,n,e)}function ez(n,e){Oe.call(this,n,e)}function ekn(n,e){this.b=n,this.d=e}function tz(n,e){Oe.call(this,n,e)}function iz(n,e){Oe.call(this,n,e)}function tkn(n,e){this.a=n,this.b=e}function ikn(n,e){this.a=n,this.b=e}function zj(n,e){Oe.call(this,n,e)}function o5(n,e){Oe.call(this,n,e)}function rz(n,e){Oe.call(this,n,e)}function cz(n,e){Oe.call(this,n,e)}function uz(n,e){Oe.call(this,n,e)}function MO(n,e){Oe.call(this,n,e)}function sz(n,e){Oe.call(this,n,e)}function AO(n,e){Oe.call(this,n,e)}function Uj(n,e){Oe.call(this,n,e)}function SO(n,e){Oe.call(this,n,e)}function PO(n,e){Oe.call(this,n,e)}function J9(n,e){Oe.call(this,n,e)}function IO(n,e){Oe.call(this,n,e)}function oz(n,e){Oe.call(this,n,e)}function Y9(n,e){Oe.call(this,n,e)}function fz(n,e){Oe.call(this,n,e)}function vre(n,e){return au(n.c,e)}function mre(n,e){return au(e.b,n)}function kre(n,e){return-n.b.Je(e)}function hz(n,e){return au(n.g,e)}function Z9(n,e){Oe.call(this,n,e)}function l2(n,e){Oe.call(this,n,e)}function rkn(n,e){this.a=n,this.b=e}function ckn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function f5(n,e){Oe.call(this,n,e)}function h5(n,e){Oe.call(this,n,e)}function n8(n,e){Oe.call(this,n,e)}function OO(n,e){Oe.call(this,n,e)}function Wj(n,e){Oe.call(this,n,e)}function l5(n,e){Oe.call(this,n,e)}function DO(n,e){Oe.call(this,n,e)}function Xj(n,e){Oe.call(this,n,e)}function yw(n,e){Oe.call(this,n,e)}function e8(n,e){Oe.call(this,n,e)}function a5(n,e){Oe.call(this,n,e)}function d5(n,e){Oe.call(this,n,e)}function t8(n,e){Oe.call(this,n,e)}function Vj(n,e){Oe.call(this,n,e)}function jw(n,e){Oe.call(this,n,e)}function Qj(n,e){Oe.call(this,n,e)}function ukn(n,e){this.a=n,this.b=e}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function Pi(n,e){this.a=n,this.b=e}function Jj(n,e){Oe.call(this,n,e)}function akn(n,e){this.a=n,this.b=e}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.b=n,this.a=e}function mkn(n,e){this.b=n,this.a=e}function kkn(n,e){this.b=n,this.a=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.a=n,this.b=e}function Ekn(n,e){this.a=n,this.b=e}function yre(n,e){J9e(n.a,u(e,56))}function Ckn(n,e){f0e(n.a,u(e,11))}function jre(n,e){return h3(),e!=n}function Tkn(){return Q9n(),new Szn}function Mkn(){c$(),this.b=new fi}function Akn(){hM(),this.a=new fi}function Skn(){tX(),lW.call(this)}function a2(n,e){Oe.call(this,n,e)}function Pkn(n,e){this.a=n,this.b=e}function Ikn(n,e){this.a=n,this.b=e}function Yj(n,e){this.a=n,this.b=e}function Okn(n,e){this.a=n,this.b=e}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function Fkn(n,e){this.d=n,this.b=e}function lz(n,e){this.d=n,this.e=e}function xkn(n,e){this.f=n,this.c=e}function i8(n,e){this.b=n,this.c=e}function az(n,e){this.i=n,this.g=e}function Lkn(n,e){this.e=n,this.a=e}function Nkn(n,e){this.a=n,this.b=e}function dz(n,e){n.i=null,nT(n,e)}function Ere(n,e){n&&it($y,n,e)}function Bkn(n,e){return NF(n.a,e)}function Zj(n){return g7(n.c,n.b)}function Vr(n){return n?n.dd():null}function B(n){return n??null}function q0(n){return typeof n===X2}function G0(n){return typeof n===UZ}function mi(n){return typeof n===EL}function el(n,e){return n.Hd().Xb(e)}function nE(n,e){return Rbe(n.Kc(),e)}function gd(n,e){return fc(n,e)==0}function Cre(n,e){return fc(n,e)>=0}function b5(n,e){return fc(n,e)!=0}function Tre(n){return""+(_n(n),n)}function r8(n,e){return n.substr(e)}function Rkn(n){return $u(n),n.d.gc()}function $O(n){return yme(n,n.c),n}function eE(n){return A5(n==null),n}function w5(n,e){return n.a+=""+e,n}function dr(n,e){return n.a+=""+e,n}function g5(n,e){return n.a+=""+e,n}function rc(n,e){return n.a+=""+e,n}function De(n,e){return n.a+=""+e,n}function bz(n,e){return n.a+=""+e,n}function _kn(n,e){Kt(n,e,n.a,n.a.a)}function ua(n,e){Kt(n,e,n.c.b,n.c)}function Mre(n,e,t){VFn(e,Mx(n,t))}function Are(n,e,t){VFn(e,Mx(n,t))}function Sre(n,e){k0e(new ie(n),e)}function Kkn(n,e){n.q.setTime($d(e))}function Hkn(n,e){kW.call(this,n,e)}function qkn(n,e){kW.call(this,n,e)}function FO(n,e){kW.call(this,n,e)}function Gkn(n){Eu(this),Z5(this,n)}function wz(n){return Ln(n,0),null}function Lo(n){return n.a=0,n.b=0,n}function zkn(n,e){return n.a=e.g+1,n}function Pre(n,e){return n.j[e.p]==2}function gz(n){return lhe(u(n,79))}function Ukn(){Ukn=N,jUn=Fe(qF())}function Wkn(){Wkn=N,RWn=Fe(PNn())}function Xkn(){this.b=new s2(sb(12))}function Vkn(){this.b=0,this.a=!1}function Qkn(){this.b=0,this.a=!1}function p5(n){this.a=n,TI.call(this)}function Jkn(n){this.a=n,TI.call(this)}function In(n,e){ii.call(this,n,e)}function xO(n,e){V0.call(this,n,e)}function Ew(n,e){az.call(this,n,e)}function LO(n,e){H3.call(this,n,e)}function Ykn(n,e){c8.call(this,n,e)}function He(n,e){$j(),it(eI,n,e)}function NO(n,e){return Yu(n.a,0,e)}function Zkn(n,e){return n.a.a.a.cc(e)}function nyn(n,e){return B(n)===B(e)}function Ire(n,e){return Zt(n.a,e.a)}function Ore(n,e){return Uc(n.a,e.a)}function Dre(n,e){return xCn(n.a,e.a)}function Pf(n,e){return n.indexOf(e)}function pd(n,e){return n==e?0:n?1:-1}function tE(n){return n<10?"0"+n:""+n}function $re(n){return pe(n),new p5(n)}function eyn(n){return Bc(n.l,n.m,n.h)}function i3(n){return Gt((_n(n),n))}function Fre(n){return Gt((_n(n),n))}function tyn(n,e){return Uc(n.g,e.g)}function $r(n){return typeof n===UZ}function xre(n){return n==b0||n==Hb}function Lre(n){return n==b0||n==Kb}function pz(n){return Fr(n.b.b,n,0)}function iyn(n){this.a=Tkn(),this.b=n}function ryn(n){this.a=Tkn(),this.b=n}function Nre(n,e){return W(n.a,e),e}function Bre(n,e){return W(n.c,e),n}function cyn(n,e){return rs(n.a,e),n}function Rre(n,e){return wo(),e.a+=n}function _re(n,e){return wo(),e.a+=n}function Kre(n,e){return wo(),e.c+=n}function vz(n,e){S3(n,0,n.length,e)}function Sh(){Tq.call(this,new ba)}function uyn(){xE.call(this,0,0,0,0)}function d2(){ys.call(this,0,0,0,0)}function mr(n){this.a=n.a,this.b=n.b}function tl(n){return n==Zs||n==Ao}function r3(n){return n==Yh||n==Jh}function syn(n){return n==xg||n==Fg}function Cw(n){return n!=jf&&n!=ql}function Hu(n){return n.Lg()&&n.Mg()}function oyn(n){return JE(u(n,118))}function iE(n){return rs(new hi,n)}function fyn(n,e){return new H3(e,n)}function Hre(n,e){return new H3(e,n)}function mz(n,e,t){UC(n,e),WC(n,t)}function rE(n,e,t){Rd(n,e),Bd(n,t)}function Jo(n,e,t){Zc(n,e),nu(n,t)}function cE(n,e,t){D3(n,e),F3(n,t)}function uE(n,e,t){$3(n,e),x3(n,t)}function BO(n,e){X3(n,e),L3(n,n.D)}function kz(n){xkn.call(this,n,!0)}function hyn(n,e,t){fU.call(this,n,e,t)}function il(n){jl(),qbe.call(this,n)}function lyn(){Lj.call(this,"Head",1)}function ayn(){Lj.call(this,"Tail",3)}function RO(n){n.c=F(Zn,rn,1,0,5,1)}function dyn(n){n.a=F(Zn,rn,1,8,5,1)}function byn(n){Yc(n.xf(),new t5n(n))}function Tw(n){return n!=null?mt(n):0}function qre(n,e){return ob(e,nf(n))}function Gre(n,e){return ob(e,nf(n))}function zre(n,e){return n[n.length]=e}function Ure(n,e){return n[n.length]=e}function yz(n){return zoe(n.b.Kc(),n.a)}function Wre(n,e){return ZC(BD(n.d),e)}function Xre(n,e){return ZC(BD(n.g),e)}function Vre(n,e){return ZC(BD(n.j),e)}function tr(n,e){ii.call(this,n.b,e)}function vd(n){xE.call(this,n,n,n,n)}function jz(n){return n.b&&uL(n),n.a}function Ez(n){return n.b&&uL(n),n.c}function Qre(n,e){pf||(n.b=e)}function _O(n,e,t){return Mt(n,e,t),t}function wyn(n,e,t){Mt(n.c[e.g],e.g,t)}function Jre(n,e,t){u(n.c,69).Xh(e,t)}function Yre(n,e,t){Jo(t,t.i+n,t.j+e)}function Zre(n,e){me(bc(n.a),PMn(e))}function nce(n,e){me(Ou(n.a),IMn(e))}function v5(n){Je(),cd.call(this,n)}function ece(n){return n==null?0:mt(n)}function gyn(){gyn=N,hK=new f6(cH)}function je(){je=N,new pyn,new X}function pyn(){new we,new we,new we}function Cz(){Cz=N,Hq(),bin=new we}function Yo(){Yo=N,j.Math.log(2)}function ms(){ms=N,Eh=(E7n(),Dne)}function tce(){throw T(new t1(izn))}function ice(){throw T(new t1(izn))}function rce(){throw T(new t1(rzn))}function cce(){throw T(new t1(rzn))}function vyn(n){this.a=n,HU.call(this,n)}function KO(n){this.a=n,Ej.call(this,n)}function HO(n){this.a=n,Ej.call(this,n)}function bi(n,e){mD(n.c,n.c.length,e)}function Kr(n){return n.ae?1:0}function kyn(n,e){return fc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function uce(n,e){n.a!=null&&Ckn(e,n.a)}function yyn(n){n.a=new aI,n.c=new aI}function sE(n){this.b=n,this.a=new X}function jyn(n){this.b=new san,this.a=n}function Mz(n){vU.call(this),this.a=n}function Eyn(){Lj.call(this,"Range",2)}function Cyn(){kJ(),this.a=new B7(Hrn)}function sce(n,e){pe(e),Iw(n).Jc(new ps)}function oce(n,e){return Zu(),e.n.b+=n}function fce(n,e,t){return it(n.g,t,e)}function hce(n,e,t){return it(n.k,t,e)}function lce(n,e){return it(n.a,e.a,e)}function Mw(n,e,t){return _Q(e,t,n.c)}function Az(n){return new fn(n.c,n.d)}function ace(n){return new fn(n.c,n.d)}function Qr(n){return new fn(n.a,n.b)}function Tyn(n,e){return xEe(n.a,e,null)}function dce(n){Hi(n,null),Ei(n,null)}function Myn(n){s$(n,null),o$(n,null)}function Ayn(){c8.call(this,null,null)}function Syn(){wE.call(this,null,null)}function Sz(n){this.a=n,we.call(this)}function bce(n){this.b=(Pn(),new DI(n))}function oE(n){n.j=F(Ain,q,310,0,0,1)}function wce(n,e,t){n.c.Vc(e,u(t,133))}function gce(n,e,t){n.c.ji(e,u(t,133))}function Pyn(n,e){de(n),n.Gc(u(e,15))}function m5(n,e){return Jje(n.c,n.b,e)}function pce(n,e){return new Jyn(n.Kc(),e)}function qO(n,e){return gwe(n.Kc(),e)!=-1}function Pz(n,e){return n.a.Bc(e)!=null}function fE(n){return n.Ob()?n.Pb():null}function Iyn(n){return Hs(n,0,n.length)}function I(n,e){return n!=null&&WF(n,e)}function vce(n,e){n.q.setHours(e),S6(n,e)}function Oyn(n,e){n.c&&(ZU(e),iMn(e))}function mce(n,e,t){u(n.Kb(t),164).Nb(e)}function kce(n,e,t){return SEe(n,e,t),t}function Dyn(n,e,t){n.a=e^1502,n.b=t^tN}function GO(n,e,t){return n.a[e.g][t.g]}function Zo(n,e){return n.a[e.c.p][e.p]}function yce(n,e){return n.e[e.c.p][e.p]}function jce(n,e){return n.c[e.c.p][e.p]}function Ece(n,e){return n.j[e.p]=D9e(e)}function Cce(n,e){return DX(n.f,e.tg())}function Tce(n,e){return DX(n.b,e.tg())}function Mce(n,e){return n.a0?e*e/n:e*e*100}function Jce(n,e){return n>0?e/(n*n):e*100}function Yce(n,e,t){return W(e,e$n(n,t))}function Zce(n,e,t){DC(),n.Xe(e)&&t.td(n)}function s3(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function U0(n,e,t){return n.a+=e,n.b+=t,n}function nue(n,e,t){return n.a*=e,n.b*=t,n}function o8(n,e,t){return n.a-=e,n.b-=t,n}function Zz(n,e){return n.a=e.a,n.b=e.b,n}function vE(n){return n.a=-n.a,n.b=-n.b,n}function fjn(n){this.c=n,this.a=1,this.b=1}function hjn(n){this.c=n,Zc(n,0),nu(n,0)}function ljn(n){Ct.call(this),V5(this,n)}function ajn(n){yL(),Nmn(this),this.mf(n)}function djn(n,e){Zv(),c8.call(this,n,e)}function nU(n,e){c1(),wE.call(this,n,e)}function bjn(n,e){c1(),wE.call(this,n,e)}function wjn(n,e){c1(),nU.call(this,n,e)}function qu(n,e,t){Wu.call(this,n,e,t,2)}function JO(n,e){ms(),FE.call(this,n,e)}function gjn(n,e){ms(),JO.call(this,n,e)}function eU(n,e){ms(),JO.call(this,n,e)}function pjn(n,e){ms(),eU.call(this,n,e)}function tU(n,e){ms(),FE.call(this,n,e)}function vjn(n,e){ms(),tU.call(this,n,e)}function mjn(n,e){ms(),FE.call(this,n,e)}function eue(n,e){return n.c.Fc(u(e,133))}function iU(n,e,t){return jM(G8(n,e),t)}function tue(n,e,t){return e.Qk(n.e,n.c,t)}function iue(n,e,t){return e.Rk(n.e,n.c,t)}function YO(n,e){return pl(n.e,u(e,49))}function rue(n,e,t){s6(Ou(n.a),e,IMn(t))}function cue(n,e,t){s6(bc(n.a),e,PMn(t))}function rU(n,e){e.$modCount=n.$modCount}function C5(){C5=N,Xm=new kt("root")}function o3(){o3=N,xy=new w9n,new g9n}function kjn(){this.a=new Od,this.b=new Od}function cU(){RIn.call(this),this.Bb|=Yi}function yjn(){Oe.call(this,"GROW_TREE",0)}function uue(n){return n==null?null:CCe(n)}function sue(n){return n==null?null:D5e(n)}function oue(n){return n==null?null:Lr(n)}function fue(n){return n==null?null:Lr(n)}function Ph(n){n.o==null&&u9e(n)}function sn(n){return A5(n==null||q0(n)),n}function Y(n){return A5(n==null||G0(n)),n}function Ce(n){return A5(n==null||mi(n)),n}function uU(n){this.q=new j.Date($d(n))}function f8(n,e){this.c=n,Yp.call(this,n,e)}function mE(n,e){this.a=n,f8.call(this,n,e)}function hue(n,e){this.d=n,Ovn(this),this.b=e}function sU(n,e){P$.call(this,n),this.a=e}function oU(n,e){P$.call(this,n),this.a=e}function lue(n){xQ.call(this,0,0),this.f=n}function fU(n,e,t){IC.call(this,n,e,t,null)}function jjn(n,e,t){IC.call(this,n,e,t,null)}function aue(n,e,t){return n.ue(e,t)<=0?t:e}function due(n,e,t){return n.ue(e,t)<=0?e:t}function bue(n,e){return u(xd(n.b,e),149)}function wue(n,e){return u(xd(n.c,e),229)}function ZO(n){return u(un(n.a,n.b),287)}function Ejn(n){return new fn(n.c,n.d+n.a)}function Cjn(n){return Zu(),syn(u(n,197))}function W0(){W0=N,prn=Cn((Vu(),id))}function gue(n,e){e.a?e7e(n,e):zO(n.a,e.b)}function Tjn(n,e){pf||W(n.a,e)}function pue(n,e){return H9(),K3(e.d.i,n)}function vue(n,e){return x2(),new ABn(e,n)}function Of(n,e){return T8(e,ann),n.f=e,n}function hU(n,e,t){return t=ss(n,e,3,t),t}function lU(n,e,t){return t=ss(n,e,6,t),t}function aU(n,e,t){return t=ss(n,e,9,t),t}function h8(n,e,t){++n.j,n.Ki(),A$(n,e,t)}function Mjn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Ajn(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function Sjn(n,e,t){return MZ(n.c,n.b,e,t)}function dU(n,e){return(e&nt)%n.d.length}function ii(n,e){kt.call(this,n),this.a=e}function bU(n,e){xq.call(this,n),this.a=e}function nD(n,e){xq.call(this,n),this.a=e}function Pjn(n,e){this.c=n,Ld.call(this,e)}function Ijn(n,e){this.a=n,Omn.call(this,e)}function l8(n,e){this.a=n,Omn.call(this,e)}function Ojn(n){this.a=(is(n,Pb),new Pc(n))}function Djn(n){this.a=(is(n,Pb),new Pc(n))}function a8(n){return!n.a&&(n.a=new Rr),n.a}function $jn(n){return n>8?0:n+1}function mue(n,e){return qn(),n==e?0:n?1:-1}function wU(n,e,t){return m2(n,u(e,22),t)}function kue(n,e,t){return n.apply(e,t)}function Fjn(n,e,t){return n.a+=Hs(e,0,t),n}function gU(n,e){var t;return t=n.e,n.e=e,t}function yue(n,e){var t;t=n[eN],t.call(n,e)}function jue(n,e){var t;t=n[eN],t.call(n,e)}function X0(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function xjn(n){Eu(n.e),n.d.b=n.d,n.d.a=n.d}function d8(n){n.b?d8(n.b):n.f.c.zc(n.e,n.d)}function Eue(n,e,t){ca(),Svn(n,e.Ce(n.a,t))}function Cue(n,e){return nO(p$n(n.a,e,!0))}function Tue(n,e){return nO(v$n(n.a,e,!0))}function bo(n,e){return pj(new Array(e),n)}function eD(n){return String.fromCharCode(n)}function Mue(n){return n==null?null:n.message}function Ljn(){this.a=new X,this.b=new X}function Njn(){this.a=new LH,this.b=new Umn}function Bjn(){this.b=new Li,this.c=new X}function pU(){this.d=new Li,this.e=new Li}function vU(){this.n=new Li,this.o=new Li}function kE(){this.n=new i2,this.i=new d2}function Rjn(){this.a=new v4n,this.b=new cwn}function _jn(){this.a=new X,this.d=new X}function Kjn(){this.b=new fi,this.a=new fi}function Hjn(){this.b=new we,this.a=new we}function qjn(){this.b=new E8n,this.a=new sgn}function Gjn(){kE.call(this),this.a=new Li}function T5(n){Jbe.call(this,n,(FC(),vR))}function mU(n,e,t,i){xE.call(this,n,e,t,i)}function Aue(n,e,t){t!=null&&JC(e,rx(n,t))}function Sue(n,e,t){t!=null&&YC(e,rx(n,t))}function kU(n,e,t){return t=ss(n,e,11,t),t}function st(n,e){return n.a+=e.a,n.b+=e.b,n}function ki(n,e){return n.a-=e.a,n.b-=e.b,n}function Pue(n,e){return n.n.a=(_n(e),e+10)}function Iue(n,e){return n.n.a=(_n(e),e+10)}function Oue(n,e){return e==n||o4(sM(e),n)}function zjn(n,e){return it(n.a,e,"")==null}function Due(n,e){return H9(),!K3(e.d.i,n)}function $ue(n,e){tl(n.f)?Qme(n,e):Fve(n,e)}function Fue(n,e){var t;return t=e.Hh(n.a),t}function V0(n,e){vr.call(this,rm+n+Ra+e)}function g2(n,e,t,i){V.call(this,n,e,t,i)}function yU(n,e,t,i){V.call(this,n,e,t,i)}function Ujn(n,e,t,i){yU.call(this,n,e,t,i)}function Wjn(n,e,t,i){zE.call(this,n,e,t,i)}function tD(n,e,t,i){zE.call(this,n,e,t,i)}function jU(n,e,t,i){zE.call(this,n,e,t,i)}function Xjn(n,e,t,i){tD.call(this,n,e,t,i)}function EU(n,e,t,i){tD.call(this,n,e,t,i)}function Fn(n,e,t,i){jU.call(this,n,e,t,i)}function Vjn(n,e,t,i){EU.call(this,n,e,t,i)}function Qjn(n,e,t,i){yW.call(this,n,e,t,i)}function Jjn(n,e,t){this.a=n,Vz.call(this,e,t)}function Yjn(n,e,t){this.c=e,this.b=t,this.a=n}function xue(n,e,t){return n.d=u(e.Kb(t),164)}function CU(n,e){return n.Aj().Nh().Kh(n,e)}function TU(n,e){return n.Aj().Nh().Ih(n,e)}function Zjn(n,e){return _n(n),B(n)===B(e)}function An(n,e){return _n(n),B(n)===B(e)}function iD(n,e){return nO(p$n(n.a,e,!1))}function rD(n,e){return nO(v$n(n.a,e,!1))}function Lue(n,e){return n.b.sd(new D7n(n,e))}function Nue(n,e){return n.b.sd(new $7n(n,e))}function nEn(n,e){return n.b.sd(new F7n(n,e))}function MU(n,e,t){return n.lastIndexOf(e,t)}function Bue(n,e,t){return Zt(n[e.b],n[t.b])}function Rue(n,e){return H(e,(nn(),Jk),n)}function _ue(n,e){return Uc(e.a.d.p,n.a.d.p)}function Kue(n,e){return Uc(n.a.d.p,e.a.d.p)}function Hue(n,e){return Zt(n.c-n.s,e.c-e.s)}function eEn(n){return n.c?Fr(n.c.a,n,0):-1}function que(n){return n<100?null:new Q1(n)}function p2(n){return n==td||n==jh||n==Ac}function tEn(n,e){return I(e,15)&&oBn(n.c,e)}function Gue(n,e){pf||e&&(n.d=e)}function cD(n,e){var t;return t=e,!!VV(n,t)}function AU(n,e){this.c=n,DD.call(this,n,e)}function iEn(n){this.c=n,FO.call(this,IM,0)}function rEn(n,e){Voe.call(this,n,n.length,e)}function zue(n,e,t){return u(n.c,69).lk(e,t)}function yE(n,e,t){return u(n.c,69).mk(e,t)}function Uue(n,e,t){return tue(n,u(e,332),t)}function SU(n,e,t){return iue(n,u(e,332),t)}function Wue(n,e,t){return txn(n,u(e,332),t)}function cEn(n,e,t){return zve(n,u(e,332),t)}function M5(n,e){return e==null?null:ab(n.b,e)}function PU(n){return G0(n)?(_n(n),n):n.ke()}function jE(n){return!isNaN(n)&&!isFinite(n)}function uEn(n){Df(),this.a=(Pn(),new Wp(n))}function b8(n){h3(),this.d=n,this.a=new gw}function ks(n,e,t){this.a=n,this.b=e,this.c=t}function sEn(n,e,t){this.a=n,this.b=e,this.c=t}function oEn(n,e,t){this.d=n,this.b=t,this.a=e}function uD(n){yyn(this),_s(this),Vi(this,n)}function du(n){RO(this),GU(this.c,0,n.Pc())}function fEn(n){Uu(n.a),uPn(n.c,n.b),n.b=null}function hEn(n){this.a=n,Zf(),eu(Date.now())}function lEn(){lEn=N,Xin=new ou,XA=new ou}function sD(){sD=N,Rin=new iln,Pzn=new rln}function aEn(){aEn=N,Nne=F(Zn,rn,1,0,5,1)}function dEn(){dEn=N,eee=F(Zn,rn,1,0,5,1)}function IU(){IU=N,tee=F(Zn,rn,1,0,5,1)}function Df(){Df=N,new Bq((Pn(),Pn(),cr))}function Xue(n){return FC(),$e((pPn(),Dzn),n)}function Vue(n){return hf(),$e((LSn(),Bzn),n)}function Que(n){return $T(),$e((qAn(),Gzn),n)}function Jue(n){return RC(),$e((GAn(),zzn),n)}function Yue(n){return dM(),$e((IOn(),Uzn),n)}function Zue(n){return _o(),$e(($Sn(),Vzn),n)}function nse(n){return Cu(),$e((FSn(),Jzn),n)}function ese(n){return Jc(),$e((xSn(),Zzn),n)}function tse(n){return SM(),$e((Ukn(),jUn),n)}function ise(n){return Hd(),$e((mPn(),CUn),n)}function rse(n){return K2(),$e((kPn(),MUn),n)}function cse(n){return d6(),$e((yPn(),PUn),n)}function use(n){return Aj(),$e((yAn(),IUn),n)}function sse(n){return _C(),$e((zAn(),WUn),n)}function ose(n){return W5(),$e((NSn(),bWn),n)}function fse(n){return Qi(),$e((JPn(),vWn),n)}function hse(n){return G3(),$e((vPn(),EWn),n)}function lse(n){return qd(),$e((BSn(),PWn),n)}function OU(n,e){if(!n)throw T(new Hn(e))}function ase(n){return Qn(),$e((vIn(),$Wn),n)}function DU(n){xE.call(this,n.d,n.c,n.a,n.b)}function oD(n){xE.call(this,n.d,n.c,n.a,n.b)}function $U(n,e,t){this.b=n,this.c=e,this.a=t}function EE(n,e,t){this.b=n,this.a=e,this.c=t}function bEn(n,e,t){this.a=n,this.b=e,this.c=t}function FU(n,e,t){this.a=n,this.b=e,this.c=t}function wEn(n,e,t){this.a=n,this.b=e,this.c=t}function xU(n,e,t){this.a=n,this.b=e,this.c=t}function gEn(n,e,t){this.b=n,this.a=e,this.c=t}function CE(n,e,t){this.e=e,this.b=n,this.d=t}function dse(n,e,t){return ca(),n.a.Od(e,t),e}function fD(n){var e;return e=new Dln,e.e=n,e}function LU(n){var e;return e=new Zmn,e.b=n,e}function w8(){w8=N,sS=new Fdn,oS=new xdn}function wo(){wo=N,WWn=new pbn,XWn=new vbn}function bse(n){return aT(),$e((EPn(),HWn),n)}function wse(n){return ff(),$e((TPn(),JWn),n)}function gse(n){return lM(),$e((mOn(),cXn),n)}function pse(n){return q2(),$e((yIn(),uXn),n)}function vse(n){return OC(),$e((JAn(),sXn),n)}function mse(n){return F2(),$e((RSn(),oXn),n)}function kse(n){return Vw(),$e((UPn(),ZWn),n)}function yse(n){return Kd(),$e((HSn(),rXn),n)}function jse(n){return VC(),$e((_Sn(),fXn),n)}function Ese(n){return Pa(),$e((GPn(),hXn),n)}function Cse(n){return V8(),$e((WAn(),lXn),n)}function Tse(n){return ya(),$e((KSn(),dXn),n)}function Mse(n){return eM(),$e((TIn(),bXn),n)}function Ase(n){return K8(),$e((XAn(),wXn),n)}function Sse(n){return A7(),$e((EIn(),gXn),n)}function Pse(n){return h4(),$e((jIn(),pXn),n)}function Ise(n){return or(),$e((zOn(),vXn),n)}function Ose(n){return q3(),$e((GSn(),mXn),n)}function Dse(n){return Nh(),$e((qSn(),yXn),n)}function $se(n){return kC(),$e((YAn(),jXn),n)}function Fse(n){return Ss(),$e((WPn(),EXn),n)}function xse(n){return JT(),$e((CIn(),BQn),n)}function Lse(n){return i6(),$e((zSn(),RQn),n)}function Nse(n){return wb(),$e((MPn(),_Qn),n)}function Bse(n){return ur(),$e((XSn(),UQn),n)}function Rse(n){return Zw(),$e((vOn(),HQn),n)}function _se(n){return Rh(),$e((WSn(),qQn),n)}function Kse(n){return z8(),$e((QAn(),GQn),n)}function Hse(n){return oT(),$e((USn(),WQn),n)}function qse(n){return b6(),$e((zPn(),KQn),n)}function Gse(n){return x8(),$e((VAn(),XQn),n)}function zse(n){return Q3(),$e((QSn(),VQn),n)}function Use(n){return uT(),$e((JSn(),QQn),n)}function Wse(n){return dT(),$e((VSn(),JQn),n)}function Xse(n){return _d(),$e((YSn(),hJn),n)}function Vse(n){return z5(),$e((nSn(),wJn),n)}function Qse(n){return Ff(),$e((eSn(),jJn),n)}function Jse(n){return ef(),$e((tSn(),CJn),n)}function Yse(n){return No(),$e((ZAn(),RJn),n)}function Zse(n){return Id(),$e((iSn(),UJn),n)}function noe(n){return c4(),$e((jPn(),WJn),n)}function eoe(n){return k6(),$e((MIn(),VJn),n)}function toe(n){return aC(),$e((uSn(),fYn),n)}function ioe(n){return iT(),$e((cSn(),wYn),n)}function roe(n){return gC(),$e((rSn(),hYn),n)}function coe(n){return CT(),$e((ZSn(),pYn),n)}function uoe(n){return $C(),$e((sSn(),vYn),n)}function soe(n){return f7(),$e((nPn(),mYn),n)}function ooe(n){return qT(),$e((CPn(),FYn),n)}function foe(n){return sT(),$e((tPn(),xYn),n)}function hoe(n){return ET(),$e((ePn(),LYn),n)}function loe(n){return g4(),$e((QPn(),tZn),n)}function aoe(n){return w7(),$e((iPn(),iZn),n)}function doe(n){return Pj(),$e((mAn(),rZn),n)}function boe(n){return Ij(),$e((vAn(),uZn),n)}function woe(n){return L8(),$e((fSn(),sZn),n)}function goe(n){return P7(),$e((XPn(),oZn),n)}function poe(n){return Jv(),$e((kAn(),CZn),n)}function voe(n){return c7(),$e((oSn(),TZn),n)}function moe(n){return Ho(),$e((VPn(),OZn),n)}function koe(n){return y1(),$e((kOn(),$Zn),n)}function yoe(n){return oh(),$e((kIn(),FZn),n)}function joe(n){return vb(),$e((mIn(),_Zn),n)}function Eoe(n){return rr(),$e((Wkn(),RWn),n)}function Coe(n){return B3(),$e((UAn(),BWn),n)}function Toe(n){return sr(),$e((YPn(),ene),n)}function Moe(n){return sf(),$e((cPn(),tne),n)}function Aoe(n){return Hh(),$e((PPn(),ine),n)}function Soe(n){return ZT(),$e((SIn(),rne),n)}function Poe(n){return _h(),$e((rPn(),une),n)}function Ioe(n){return cs(),$e((SPn(),one),n)}function Ooe(n){return jb(),$e((POn(),fne),n)}function Doe(n){return qw(),$e((ZPn(),hne),n)}function $oe(n){return Ti(),$e((bIn(),lne),n)}function Foe(n){return Tu(),$e((AIn(),ane),n)}function xoe(n){return Vu(),$e((OPn(),vne),n)}function Loe(n){return xu(),$e((UOn(),mne),n)}function Noe(n){return J(),$e((nIn(),dne),n)}function Boe(n){return AT(),$e((IPn(),kne),n)}function Roe(n){return Xu(),$e((APn(),Ene),n)}function _oe(n){return d4(),$e((yOn(),Lne),n)}function Koe(n,e){return _n(n),n+(_n(e),e)}function Hoe(n,e){return Zf(),me(R(n.a),e)}function qoe(n,e){return Zf(),me(R(n.a),e)}function hD(n,e){this.c=n,this.a=e,this.b=e-n}function pEn(n,e,t){this.a=n,this.b=e,this.c=t}function NU(n,e,t){this.a=n,this.b=e,this.c=t}function BU(n,e,t){this.a=n,this.b=e,this.c=t}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.a=n,this.b=e,this.c=t}function s1(n,e,t){this.e=n,this.a=e,this.c=t}function kEn(n,e,t){ms(),QW.call(this,n,e,t)}function lD(n,e,t){ms(),FW.call(this,n,e,t)}function RU(n,e,t){ms(),FW.call(this,n,e,t)}function _U(n,e,t){ms(),FW.call(this,n,e,t)}function yEn(n,e,t){ms(),lD.call(this,n,e,t)}function KU(n,e,t){ms(),lD.call(this,n,e,t)}function jEn(n,e,t){ms(),KU.call(this,n,e,t)}function EEn(n,e,t){ms(),RU.call(this,n,e,t)}function CEn(n,e,t){ms(),_U.call(this,n,e,t)}function g8(n,e){return pe(n),pe(e),new z8n(n,e)}function v2(n,e){return pe(n),pe(e),new NEn(n,e)}function Goe(n,e){return pe(n),pe(e),new BEn(n,e)}function zoe(n,e){return pe(n),pe(e),new W8n(n,e)}function u(n,e){return A5(n==null||WF(n,e)),n}function f3(n){var e;return e=new X,_$(e,n),e}function Uoe(n){var e;return e=new fi,_$(e,n),e}function TEn(n){var e;return e=new Wq,nF(e,n),e}function p8(n){var e;return e=new Ct,nF(e,n),e}function Woe(n){return!n.e&&(n.e=new X),n.e}function Xoe(n){return!n.c&&(n.c=new Bp),n.c}function W(n,e){return n.c[n.c.length]=e,!0}function MEn(n,e){this.c=n,this.b=e,this.a=!1}function HU(n){this.d=n,Ovn(this),this.b=_fe(n.d)}function AEn(){this.a=";,;",this.b="",this.c=""}function Voe(n,e,t){SCn.call(this,e,t),this.a=n}function SEn(n,e,t){this.b=n,Hkn.call(this,e,t)}function qU(n,e,t){this.c=n,Nj.call(this,e,t)}function GU(n,e,t){aY(t,0,n,e,t.length,!1)}function eh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function Qoe(n,e){e&&(n.b=e,n.a=(fl(e),e.a))}function zU(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function UU(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function WU(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function XU(n){return bl(the($r(n)?Ks(n):n))}function Joe(n,e){return Uc(GEn(n.d),GEn(e.d))}function Yoe(n,e){return e==(J(),Gn)?n.c:n.d}function h3(){h3=N,don=(J(),Gn),dP=Vn}function PEn(){this.b=K(Y(cn((Go(),xR))))}function IEn(n){return ca(),F(Zn,rn,1,n,5,1)}function Zoe(n){return new fn(n.c+n.b,n.d+n.a)}function nfe(n,e){return Sj(),Uc(n.d.p,e.d.p)}function aD(n){return ne(n.b!=0),Ts(n,n.a.a)}function efe(n){return ne(n.b!=0),Ts(n,n.c.b)}function VU(n,e){if(!n)throw T(new R9n(e))}function TE(n,e){if(!n)throw T(new Hn(e))}function QU(n,e,t){t3.call(this,n,e),this.b=t}function v8(n,e,t){lz.call(this,n,e),this.c=t}function OEn(n,e,t){oIn.call(this,e,t),this.d=n}function JU(n){IU(),Yy.call(this),this.th(n)}function DEn(n,e,t){this.a=n,Ew.call(this,e,t)}function $En(n,e,t){this.a=n,Ew.call(this,e,t)}function ME(n,e,t){lz.call(this,n,e),this.c=t}function FEn(){T3(),khe.call(this,(Z1(),uo))}function xEn(n){return n!=null&&!$F(n,a9,d9)}function tfe(n,e){return(GDn(n)<<4|GDn(e))&Ut}function ife(n,e){return QE(),ex(n,e),new oTn(n,e)}function sa(n,e){var t;n.n&&(t=e,W(n.f,t))}function l3(n,e,t){var i;i=new Z0(t),Ro(n,e,i)}function rfe(n,e){var t;return t=n.c,wV(n,e),t}function YU(n,e){return e<0?n.g=-1:n.g=e,n}function AE(n,e){return H0e(n),n.a*=e,n.b*=e,n}function LEn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function Ke(n,e){return Kt(n,e,n.c.b,n.c),!0}function ZU(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function dD(n){this.b=n,this.a=Ed(this.b.a).Ed()}function NEn(n,e){this.b=n,this.a=e,TI.call(this)}function BEn(n,e){this.a=n,this.b=e,TI.call(this)}function REn(n,e){SCn.call(this,e,1040),this.a=n}function m8(n){return n==0||isNaN(n)?n:n<0?-1:1}function cfe(n){return C2(),fh(n)==At(ml(n))}function ufe(n){return C2(),ml(n)==At(fh(n))}function jd(n,e){return v6(n,new t3(e.a,e.b))}function sfe(n){return!Xi(n)&&n.c.i.c==n.d.i.c}function SE(n){var e;return e=n.n,n.a.b+e.d+e.a}function _En(n){var e;return e=n.n,n.e.b+e.d+e.a}function nW(n){var e;return e=n.n,n.e.a+e.b+e.c}function KEn(n){return Je(),new th(0,n)}function ofe(n){return n.a?n.a:WD(n)}function A5(n){if(!n)throw T(new Up(null))}function HEn(){HEn=N,mH=(Pn(),new OI(XB))}function PE(){PE=N,new JQ((HI(),uR),(qI(),cR))}function qEn(){qEn=N,jin=F(Wi,q,19,256,0,1)}function bD(n,e,t,i){MQ.call(this,n,e,t,i,0,0)}function ffe(n,e,t){return it(n.b,u(t.b,17),e)}function hfe(n,e,t){return it(n.b,u(t.b,17),e)}function lfe(n,e){return W(n,new fn(e.a,e.b))}function afe(n,e){return n.c=e)throw T(new qq)}function Xfe(n,e,t){return Mt(e,0,rW(e[0],t[0])),e}function Vfe(n,e,t){e.Ye(t,K(Y(te(n.b,t)))*n.a)}function ACn(n,e,t){return eg(),R3(n,e)&&R3(n,t)}function D5(n){return Tu(),!n.Hc(n1)&&!n.Hc(Gl)}function qE(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function MD(n,e){return e.kh()?pl(n.b,u(e,49)):e}function kW(n,e){this.e=n,this.d=e&64?e|Nf:e}function SCn(n,e){this.c=0,this.d=n,this.b=e|64|Nf}function GE(n){this.b=new Pc(11),this.a=(Ow(),n)}function AD(n){this.b=null,this.a=(Ow(),n||Lin)}function PCn(n){this.a=Y$n(n.a),this.b=new du(n.b)}function ICn(n){this.b=n,b2.call(this,n),$yn(this)}function OCn(n){this.b=n,u8.call(this,n),Fyn(this)}function Y0(n,e,t){this.a=n,g2.call(this,e,t,5,6)}function yW(n,e,t,i){this.b=n,Jt.call(this,e,t,i)}function wi(n,e,t,i,r){D$.call(this,n,e,t,i,r,-1)}function $5(n,e,t,i,r){R8.call(this,n,e,t,i,r,-1)}function V(n,e,t,i){Jt.call(this,n,e,t),this.b=i}function zE(n,e,t,i){v8.call(this,n,e,t),this.b=i}function DCn(n){xkn.call(this,n,!1),this.a=!1}function $Cn(n,e){this.b=n,bvn.call(this,n.b),this.a=e}function FCn(n,e){nb(),Yie.call(this,n,mT(new Ku(e)))}function UE(n,e){return Je(),new xW(n,e,0)}function SD(n,e){return Je(),new xW(6,n,e)}function Qfe(n,e){return An(n.substr(0,e.length),e)}function zu(n,e){return mi(e)?QD(n,e):!!Ar(n.f,e)}function Oi(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Pw(n,e,t){jl(),this.e=n,this.d=e,this.a=t}function o1(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function jW(n){var e;for(e=n;e.f;)e=e.f;return e}function y2(n){var e;return e=t6(n),ne(e!=null),e}function Jfe(n){var e;return e=Lge(n),ne(e!=null),e}function d3(n,e){var t;return t=n.a.gc(),$X(e,t),t-e}function EW(n,e){var t;for(t=0;t0?j.Math.log(n/e):-100}function xCn(n,e){return fc(n,e)<0?-1:fc(n,e)>0?1:0}function SW(n,e,t){return MRn(n,u(e,46),u(t,167))}function LCn(n,e){return u(vW(Ed(n.a)).Xb(e),42).cd()}function uhe(n,e){return P0e(e,n.length),new REn(n,e)}function DD(n,e){this.d=n,ie.call(this,n),this.e=e}function Cd(n){this.d=(_n(n),n),this.a=0,this.c=IM}function PW(n,e){cd.call(this,1),this.a=n,this.b=e}function NCn(n,e){return n.c?NCn(n.c,e):W(n.b,e),n}function she(n,e,t){var i;return i=ub(n,e),g$(n,e,t),i}function IW(n,e){var t;return t=n.slice(0,e),WX(t,n)}function BCn(n,e,t){var i;for(i=0;i=n.g}function KD(n,e,t){var i;return i=Y$(n,e,t),rZ(n,i)}function j2(n,e){var t;t=n.a.length,ub(n,t),g$(n,t,e)}function ZCn(n,e){var t;t=console[n],t.call(console,e)}function nTn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function mhe(n,e,t){u(e.b,65),Yc(e.a,new NU(n,t,e))}function FW(n,e,t){uj.call(this,e),this.a=n,this.b=t}function xW(n,e,t){cd.call(this,n),this.a=e,this.b=t}function LW(n,e,t){this.a=n,xq.call(this,e),this.b=t}function eTn(n,e,t){this.a=n,aX.call(this,8,e,null,t)}function khe(n){this.a=(_n(xe),xe),this.b=n,new tG}function tTn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function NW(n){this.c=n,this.b=n.a.d.a,rU(n.a.e,this)}function Uu(n){z0(n.c!=-1),n.d.$c(n.c),n.b=n.c,n.c=-1}function L5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Md(n,e){return a3(e,n.a.c.length),un(n.a,e)}function $f(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function yhe(n){return 0>=n?new PG:sbe(n-1)}function jhe(n){return aw?QD(aw,n):!1}function iTn(n){return n?n.dc():!n.Kc().Ob()}function Gi(n){return!n.a&&n.c?n.c.b:n.a}function Ehe(n){return!n.a&&(n.a=new Jt(zl,n,4)),n.a}function Ad(n){return!n.d&&(n.d=new Jt(ar,n,1)),n.d}function _n(n){if(n==null)throw T(new Nv);return n}function N5(n){n.c?n.c.He():(n.d=!0,S8e(n))}function fl(n){n.c?fl(n.c):(Ta(n),n.d=!0)}function rTn(n){KW(n.a),n.b=F(Zn,rn,1,n.b.length,5,1)}function Che(n,e){return Uc(e.j.c.length,n.j.c.length)}function The(n,e){n.c<0||n.b.b=0?n.Bh(t):bY(n,e)}function cTn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function Ahe(n){if(n.p!=4)throw T(new fu);return n.e}function She(n){if(n.p!=3)throw T(new fu);return n.e}function Phe(n){if(n.p!=6)throw T(new fu);return n.f}function Ihe(n){if(n.p!=6)throw T(new fu);return n.k}function Ohe(n){if(n.p!=3)throw T(new fu);return n.j}function Dhe(n){if(n.p!=4)throw T(new fu);return n.j}function BW(n){return!n.b&&(n.b=new sj(new KI)),n.b}function Sd(n){return n.c==-2&&Pte(n,Qve(n.g,n.b)),n.c}function g3(n,e){var t;return t=LD("",n),t.n=e,t.i=1,t}function $he(n,e){yD(u(e.b,65),n),Yc(e.a,new Aq(n))}function Fhe(n,e){me((!n.a&&(n.a=new l8(n,n)),n.a),e)}function uTn(n,e){this.b=n,DD.call(this,n,e),$yn(this)}function sTn(n,e){this.b=n,AU.call(this,n,e),Fyn(this)}function RW(n,e,t,i){bd.call(this,n,e),this.d=t,this.a=i}function VE(n,e,t,i){bd.call(this,n,t),this.a=e,this.f=i}function oTn(n,e){bce.call(this,obe(pe(n),pe(e))),this.a=e}function fTn(){UJ.call(this,Ka,(a8n(),hee)),tEe(this)}function hTn(){UJ.call(this,Vs,(Qp(),g1n)),lje(this)}function lTn(){Oe.call(this,"DELAUNAY_TRIANGULATION",0)}function xhe(n){return String.fromCharCode.apply(null,n)}function it(n,e,t){return mi(e)?kr(n,e,t):_c(n.f,e,t)}function _W(n){return Pn(),n?n.ve():(Ow(),Ow(),Bin)}function Lhe(n,e,t){return L2(),t.pg(n,u(e.cd(),146))}function aTn(n,e){return PE(),new JQ(new Wyn(n),new Uyn(e))}function Nhe(n){return is(n,AL),KC(qi(qi(5,n),n/10|0))}function QE(){QE=N,fzn=new GI(A(M(Ha,1),OM,42,0,[]))}function dTn(n){return!n.d&&(n.d=new _p(n.c.Cc())),n.d}function p3(n){return!n.a&&(n.a=new W9n(n.c.vc())),n.a}function bTn(n){return!n.b&&(n.b=new Wp(n.c.ec())),n.b}function rh(n,e){for(;e-- >0;)n=n<<1|(n<0?1:0);return n}function pc(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function Bhe(n,e){return qn(),u(e.b,19).ai&&++i,i}function Oh(n){var e,t;return t=(e=new ud,e),O3(t,n),t}function UD(n){var e,t;return t=(e=new ud,e),VJ(t,n),t}function Zhe(n,e){var t;return t=te(n.f,e),MV(e,t),null}function WD(n){var e;return e=hbe(n),e||null}function CTn(n){return!n.b&&(n.b=new V(di,n,12,3)),n.b}function n1e(n){return n!=null&&_9(tI,n.toLowerCase())}function e1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function t1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function i1e(n,e){return Zt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function r1e(n,e){return Zt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function TTn(n,e,t){t.a?nu(n,e.b-n.f/2):Zc(n,e.a-n.g/2)}function MTn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ATn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ha(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function STn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function PTn(n,e,t,i){ms(),ySn.call(this,e,t,i),this.a=n}function ITn(n,e,t,i){ms(),ySn.call(this,e,t,i),this.a=n}function OTn(n,e){this.a=n,hue.call(this,n,u(n.d,15).Zc(e))}function XD(n){this.f=n,this.c=this.f.e,n.f>0&&qFn(this)}function DTn(n,e,t,i){this.b=n,this.c=i,FO.call(this,e,t)}function $Tn(n){return ne(n.b=0&&An(n.substr(t,e.length),e)}function hl(n,e,t,i,r,c,o){return new v$(n.e,e,t,i,r,c,o)}function QTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function JTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function YTn(n,e){this.g=n,this.d=A(M(vh,1),E1,10,0,[e])}function f1(n,e){this.e=n,this.a=Zn,this.b=yBn(e),this.c=e}function ZTn(n,e){kE.call(this),eV(this),this.a=n,this.c=e}function M8(n,e,t,i){Mt(n.c[e.g],t.g,i),Mt(n.c[t.g],e.g,i)}function ZD(n,e,t,i){Mt(n.c[e.g],e.g,t),Mt(n.b[e.g],e.g,i)}function M1e(){return x8(),A(M(ron,1),z,376,0,[uK,iy])}function A1e(){return K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])}function S1e(){return V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])}function P1e(){return OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])}function I1e(){return kC(),A(M(fun,1),z,420,0,[j_,oun])}function O1e(){return z8(),A(M(non,1),z,421,0,[iK,rK])}function D1e(){return z5(),A(M(bJn,1),z,523,0,[Hm,Km])}function $1e(){return No(),A(M(BJn,1),z,520,0,[tw,Bl])}function F1e(){return Ff(),A(M(yJn,1),z,516,0,[M0,I1])}function x1e(){return ef(),A(M(EJn,1),z,515,0,[Ja,kf])}function L1e(){return Id(),A(M(zJn,1),z,455,0,[Rl,Lg])}function N1e(){return gC(),A(M(Son,1),z,425,0,[yK,Aon])}function B1e(){return aC(),A(M(Mon,1),z,480,0,[kK,Ton])}function R1e(){return iT(),A(M(Pon,1),z,495,0,[EP,mv])}function _1e(){return $C(),A(M(Oon,1),z,426,0,[Ion,TK])}function K1e(){return c7(),A(M(Ffn,1),z,429,0,[DP,$fn])}function H1e(){return L8(),A(M(afn,1),z,430,0,[FK,IP])}function q1e(){return $T(),A(M(Jin,1),z,428,0,[yR,Qin])}function G1e(){return RC(),A(M(Zin,1),z,427,0,[Yin,jR])}function z1e(){return _C(),A(M(Arn,1),z,424,0,[$R,tS])}function U1e(){return B3(),A(M(NWn,1),z,511,0,[_k,UR])}function sC(n,e,t,i){return t>=0?n.jh(e,t,i):n.Sg(null,t,i)}function n$(n){return n.b.b==0?n.a.$e():aD(n.b)}function W1e(n){if(n.p!=5)throw T(new fu);return ge(n.f)}function X1e(n){if(n.p!=5)throw T(new fu);return ge(n.k)}function VW(n){return B(n.a)===B((eF(),gH))&&Vje(n),n.a}function nMn(n){this.a=u(pe(n),271),this.b=(Pn(),new Hz(n))}function eMn(n,e){bte(this,new fn(n.a,n.b)),wte(this,p8(e))}function Id(){Id=N,Rl=new iz(Y2,0),Lg=new iz(Z2,1)}function Ff(){Ff=N,M0=new ez(Z2,0),I1=new ez(Y2,1)}function Od(){rie.call(this,new s2(sb(12))),Bz(!0),this.a=2}function e$(n,e,t){Je(),cd.call(this,n),this.b=e,this.a=t}function QW(n,e,t){ms(),uj.call(this,e),this.a=n,this.b=t}function tMn(n){kE.call(this),eV(this),this.a=n,this.c=!0}function iMn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function oC(n){var e;ebe(n.a),byn(n.a),e=new tj(n.a),TQ(e)}function V1e(n,e){aBn(n,!0),Yc(n.e.wf(),new $U(n,!0,e))}function fC(n,e){return LAn(e),Y0e(n,F(be,Le,25,e,15,1),e)}function Q1e(n,e){return C2(),n==At(fh(e))||n==At(ml(e))}function vc(n,e){return e==null?Vr(Ar(n.f,null)):n5(n.g,e)}function J1e(n){return n.b==0?null:(ne(n.b!=0),Ts(n,n.a.a))}function Gt(n){return Math.max(Math.min(n,nt),-2147483648)|0}function Y1e(n,e){var t=lR[n.charCodeAt(0)];return t??n}function hC(n,e){return tC(n,"set1"),tC(e,"set2"),new Z8n(n,e)}function Z1e(n,e){var t;return t=W0e(n.f,e),st(vE(t),n.f.d)}function R5(n,e){var t,i;return t=e,i=new dI,n_n(n,t,i),i.d}function t$(n,e,t,i){var r;r=new Gjn,e.a[t.g]=r,m2(n.b,i,r)}function JW(n,e,t){var i;i=n.Yg(e),i>=0?n.sh(i,t):_Y(n,e,t)}function Dw(n,e,t){dC(),n&&it(dH,n,e),n&&it($y,n,t)}function rMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function lC(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function YW(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function cMn(n,e){oE(this),this.f=e,this.g=n,eC(this),this._d()}function A8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),S6(n,t)}function uMn(n,e){var t;for(pe(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function sMn(n){var e;return e=new kj(sb(n.length)),qV(e,n),e}function nle(n){function e(){}return e.prototype=n||{},new e}function ele(n,e){return LOn(n,e)?(FIn(n),!0):!1}function Dh(n,e){if(e==null)throw T(new Nv);return Y2e(n,e)}function tle(n){if(n.qe())return null;var e=n.n;return RA[e]}function S8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function nf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function oMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function fMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function hMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function lMn(n,e){var t;return t=n.Yg(e),t>=0?n.lh(t):Ox(n,e)}function aMn(n,e){var t;return t=new iW(e),dxn(t,n),new du(t)}function ZW(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function dMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function i$(n,e){return j.Math.abs(n)0}function bMn(){this.a=new Sh,this.e=new fi,this.g=0,this.i=0}function wMn(n){this.a=n,this.b=F(lJn,q,1944,n.e.length,0,2)}function r$(n,e,t){var i;i=tDn(n,e,t),n.b=new tT(i.c.length)}function ef(){ef=N,Ja=new nz(hN,0),kf=new nz("UP",1)}function aC(){aC=N,kK=new rz(PHn,0),Ton=new rz("FAN",1)}function dC(){dC=N,dH=new we,$y=new we,Ere(Azn,new z2n)}function rle(n){if(n.p!=0)throw T(new fu);return b5(n.f,0)}function cle(n){if(n.p!=0)throw T(new fu);return b5(n.k,0)}function gMn(n){return n.Db>>16!=3?null:u(n.Cb,147)}function y3(n){return n.Db>>16!=6?null:u(n.Cb,235)}function eb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function pMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ule(n,e){var t;return t=n.a.get(e),t??new Array}function sle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),S6(n,t)}function kr(n,e,t){return e==null?_c(n.f,null,t):Gd(n.g,e,t)}function _5(n,e,t,i,r,c){return new Lh(n.e,e,n.aj(),t,i,r,c)}function P8(n,e,t){return n.a=Yu(n.a,0,e)+(""+t)+r8(n.a,e),n}function ole(n,e,t){return W(n.a,(QE(),ex(e,t),new bd(e,t))),n}function nX(n){return _z(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function vMn(n){return _z(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Ei(n,e){n.d&&Qc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Hi(n,e){n.c&&Qc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yr(n,e){n.c&&Qc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hr(n,e){n.i&&Qc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function mMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function kMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function yMn(n,e){this.a=n,this.c=Qr(this.a),this.b=new uC(e)}function fle(n){var e;return Ta(n),e=new fi,gt(n,new Vvn(e))}function tb(n,e){if(n<0||n>e)throw T(new vr(cnn+n+unn+e))}function eX(n,e){return lCn(n.a,e)?TW(n,u(e,22).g,null):null}function hle(n){return yF(),qn(),u(n.a,81).d.e!=0}function jMn(){jMn=N,azn=Fe((aj(),A(M(lzn,1),z,538,0,[fR])))}function EMn(){EMn=N,YQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function tX(){tX=N,ZQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function CMn(){CMn=N,eJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function TMn(){TMn=N,gJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function Zu(){Zu=N,mJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function MMn(){MMn=N,kJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function c$(){c$=N,TJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function AMn(){AMn=N,lYn=ju(new hi,(c4(),Gm),(k6(),lK))}function aa(n,e,t,i){this.c=n,this.d=i,s$(this,e),o$(this,t)}function M2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function u$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function s$(n,e){n.a&&Qc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function o$(n,e){n.b&&Qc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function SMn(n,e){mhe(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65).b}function lle(n,e){vQ(n,e),I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),2)}function f$(n,e){I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),4),Ic(n,e)}function bC(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Ic(n,e)}function mc(n,e){return er(),R$(e)?new IE(e,n):new i8(e,n)}function ale(n,e){var t,i;t=e.c,i=t!=null,i&&j2(n,new Z0(e.c))}function PMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function IMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function OMn(n,e){var t;return t=new Rs(n),e.c[e.c.length]=t,t}function DMn(n,e){var t;return t=u(ab(T2(n.a),e),14),t?t.gc():0}function $Mn(n){var e;return Ta(n),e=(Ow(),Ow(),Nin),qC(n,e)}function FMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function iX(n,e){tie.call(this,new s2(sb(n))),is(e,W_n),this.a=e}function ch(n,e,t){KDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function xMn(n,e,t){var i;KDn(e,t,n.c.length),i=t-e,AG(n.c,e,i)}function dle(n,e){Dyn(n,ge(ci(cl(e,24),FM)),ge(ci(e,FM)))}function Ln(n,e){if(n<0||n>=e)throw T(new vr(cnn+n+unn+e))}function Te(n,e){if(n<0||n>=e)throw T(new wG(cnn+n+unn+e))}function xn(n,e){this.b=(_n(n),n),this.a=e&Ib?e:e|64|Nf}function LMn(n){dyn(this),Wmn(this.a,KV(j.Math.max(8,n))<<1)}function tf(n){return Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a]))}function ble(){return hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])}function wle(){return _o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])}function gle(){return Cu(),A(M(Qzn,1),z,461,0,[Xf,Ol,Co])}function ple(){return Jc(),A(M(Yzn,1),z,462,0,[Wo,Dl,To])}function vle(){return qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])}function mle(){return W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])}function kle(){return i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])}function yle(){return F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])}function jle(){return VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])}function Ele(){return ya(),A(M(aXn,1),z,450,0,[l_,cv,Tg])}function Cle(){return Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])}function Tle(){return Nh(),A(M(kXn,1),z,303,0,[zk,Ag,dp])}function Mle(){return q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])}function Ale(){return ur(),A(M(zQn,1),z,452,0,[Bm,Au,xc])}function Sle(){return Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])}function Ple(){return oT(),A(M(ion,1),z,375,0,[eon,cK,ton])}function Ile(){return dT(),A(M(hon,1),z,377,0,[fK,pv,ew])}function Ole(){return Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])}function Dle(){return uT(),A(M(fon,1),z,338,0,[oon,oK,son])}function $le(){return _d(),A(M(fJn,1),z,454,0,[ry,_m,aP])}function Fle(){return CT(),A(M(gYn,1),z,442,0,[CK,jK,EK])}function xle(){return f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])}function Lle(){return ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])}function Nle(){return sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])}function Ble(){return w7(),A(M(OK,1),z,437,0,[AP,SP,PP])}function Rle(){return _h(),A(M(Khn,1),z,334,0,[HP,F1,i9])}function _le(){return sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])}function Kle(n,e){return o9e(n,e,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Hle(n,e,t){var i;return i=O6(n,e,!1),i.b<=e&&i.a<=t}function NMn(n,e,t){var i;i=new Jwn,i.b=e,i.a=t,++e.b,W(n.d,i)}function qle(n,e){var t;return t=(_n(n),n).g,Yz(!!t),_n(e),t(e)}function rX(n,e){var t,i;return i=d3(n,e),t=n.a.Zc(i),new Y8n(n,t)}function Gle(n){return n.Db>>16!=6?null:u(Fx(n),235)}function zle(n){if(n.p!=2)throw T(new fu);return ge(n.f)&Ut}function Ule(n){if(n.p!=2)throw T(new fu);return ge(n.k)&Ut}function Wle(n){return n.a==(T3(),uI)&&Ste(n,C9e(n.g,n.b)),n.a}function A2(n){return n.d==(T3(),uI)&&Ite(n,pke(n.g,n.b)),n.d}function y(n){return ne(n.ai?1:0}function BMn(n,e){var t,i;return t=F$(e),i=t,u(te(n.c,i),19).a}function RMn(n,e){var t;for(t=n+"";t.length0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function rAn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function rae(n){return!!n.a&&Ou(n.a.a).i!=0&&!(n.b&&YF(n.b))}function cae(n){return!!n.u&&bc(n.u.a).i!=0&&!(n.n&&JF(n.n))}function cAn(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),16,new tvn(n))}function uae(n,e){return xCn(eu(n.q.getTime()),eu(e.q.getTime()))}function xf(n){return u(lf(n,F(GR,MN,17,n.c.length,0,1)),474)}function I8(n){return u(lf(n,F(vh,E1,10,n.c.length,0,1)),193)}function sae(n){return Zu(),!Xi(n)&&!(!Xi(n)&&n.c.i.c==n.d.i.c)}function uAn(n,e,t){var i;i=(pe(n),new du(n)),N3e(new mMn(i,e,t))}function O8(n,e,t){var i;i=(pe(n),new du(n)),B3e(new kMn(i,e,t))}function sAn(n,e){var t;return t=1-e,n.a[t]=eT(n.a[t],t),eT(n,e)}function oAn(n,e){var t;n.e=new oG,t=Cb(e),bi(t,n.c),eBn(n,t,0)}function Ci(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.a,r)}function Z(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.b,r)}function po(n){var e,t,i;return e=new HCn,t=Zx(e,n),UEe(e),i=t,i}function hX(){var n,e,t;return e=(t=(n=new ud,n),t),W(M1n,e),e}function pC(n){return n.j.c=F(Zn,rn,1,0,5,1),KW(n.c),Khe(n.a),n}function $w(n){return Qv(),I(n.g,10)?u(n.g,10):null}function oae(n){return Iw(n).dc()?!1:(sce(n,new Np),!0)}function fae(n){if(!("stack"in n))try{throw n}catch{}return n}function D8(n,e){if(n<0||n>=e)throw T(new vr(j6e(n,e)));return n}function fAn(n,e,t){if(n<0||et)throw T(new vr(W5e(n,e,t)))}function d$(n,e){if(ri(n.a,e),e.d)throw T(new _r(wKn));e.d=n}function b$(n,e){if(e.$modCount!=n.$modCount)throw T(new vs)}function hAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function lAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function aAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function hae(n,e){return n.a<=n.b?(e.ud(n.a++),!0):!1}function $d(n){var e;return $r(n)?(e=n,e==-0?0:e):m0e(n)}function vC(n){var e;return fl(n),e=new fln,vw(n.a,new Wvn(e)),e}function dAn(n){var e;return fl(n),e=new oln,vw(n.a,new Uvn(e)),e}function Ii(n,e){this.a=n,$v.call(this,n),tb(e,n.gc()),this.b=e}function lX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function lae(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),273,new evn(n))}function mC(n){return new Pc((is(n,AL),KC(qi(qi(5,n),n/10|0))))}function bAn(n){return u(lf(n,F(FWn,UKn,11,n.c.length,0,1)),1943)}function aae(n,e,t){return t.f.c.length>0?SW(n.a,e,t):SW(n.b,e,t)}function dae(n,e,t){n.d&&Qc(n.d.e,n),n.d=e,n.d&&Q0(n.d.e,t,n)}function w$(n,e){uTe(e,n),WU(n.d),WU(u(k(n,(nn(),eP)),207))}function H5(n,e){cTe(e,n),UU(n.d),UU(u(k(n,(nn(),eP)),207))}function Fd(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.fe()),i}function j3(n,e){var t,i;return t=ub(n,e),i=null,t&&(i=t.ie()),i}function q5(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.ie()),i}function $h(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=tY(t)),i}function bae(n,e,t){var i;return i=i4(t),gM(n.g,i,e),gM(n.i,e,t),e}function wae(n,e,t){var i;i=q2e();try{return kue(n,e,t)}finally{Mae(i)}}function wAn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function hi(){P9n.call(this),this.j.c=F(Zn,rn,1,0,5,1),this.a=-1}function aX(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function gAn(n,e,t,i){this.e=i,this.d=null,this.c=n,this.a=e,this.b=t}function dX(n,e,t){this.d=new r6n(this),this.e=n,this.i=e,this.f=t}function kC(){kC=N,j_=new QG(I4,0),oun=new QG("TOP_LEFT",1)}function pAn(){pAn=N,aon=aTn(Q(1),Q(4)),lon=aTn(Q(1),Q(2))}function vAn(){vAn=N,uZn=Fe((Ij(),A(M(cZn,1),z,551,0,[$K])))}function mAn(){mAn=N,rZn=Fe((Pj(),A(M(lfn,1),z,482,0,[DK])))}function kAn(){kAn=N,CZn=Fe((Jv(),A(M(Dfn,1),z,530,0,[hy])))}function yAn(){yAn=N,IUn=Fe((Aj(),A(M(krn,1),z,481,0,[SR])))}function gae(){return Hd(),A(M(EUn,1),z,406,0,[Ok,Ik,MR,AR])}function pae(){return FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])}function vae(){return d6(),A(M(SUn,1),z,394,0,[Lk,YA,ZA,Nk])}function mae(){return K2(),A(M(TUn,1),z,323,0,[$k,Dk,Fk,xk])}function kae(){return G3(),A(M(jWn,1),z,405,0,[b0,Hb,Kb,kg])}function yae(){return aT(),A(M(KWn,1),z,360,0,[QR,TS,MS,Hk])}function jAn(n,e,t,i){return I(t,54)?new ojn(n,e,t,i):new pW(n,e,t,i)}function jae(){return ff(),A(M(QWn,1),z,411,0,[lp,nv,ev,JR])}function Eae(n){var e;return n.j==(J(),ae)&&(e=GLn(n),au(e,Vn))}function Cae(n,e){var t;t=e.a,Hi(t,e.c.d),Ei(t,e.d.d),fb(t.a,n.n)}function EAn(n,e){return u(yd(KE(u(ct(n.k,e),15).Oc(),jg)),113)}function CAn(n,e){return u(yd(HE(u(ct(n.k,e),15).Oc(),jg)),113)}function Tae(n){return new xn(jbe(u(n.a.dd(),14).gc(),n.a.cd()),16)}function E3(n){return I(n,14)?u(n,14).dc():!n.Kc().Ob()}function S2(n){return Qv(),I(n.g,145)?u(n.g,145):null}function TAn(n){if(n.e.g!=n.b)throw T(new vs);return!!n.c&&n.d>0}function Re(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function bX(n,e){_n(e),Mt(n.a,n.c,e),n.c=n.c+1&n.a.length-1,MFn(n)}function ll(n,e){_n(e),n.b=n.b-1&n.a.length-1,Mt(n.a,n.b,e),MFn(n)}function MAn(n,e){var t;for(t=n.j.c.length;t0&&gc(n.g,0,e,0,n.i),e}function IAn(n,e){$j();var t;return t=u(te(eI,n),55),!t||t.wj(e)}function Bae(n){if(n.p!=1)throw T(new fu);return ge(n.f)<<24>>24}function Rae(n){if(n.p!=1)throw T(new fu);return ge(n.k)<<24>>24}function _ae(n){if(n.p!=7)throw T(new fu);return ge(n.k)<<16>>16}function Kae(n){if(n.p!=7)throw T(new fu);return ge(n.f)<<16>>16}function Fh(n){var e;for(e=0;n.Ob();)n.Pb(),e=qi(e,1);return KC(e)}function OAn(n,e){var t;return t=new R0,n.xd(t),t.a+="..",e.yd(t),t.a}function Hae(n,e,t){var i;i=u(te(n.g,t),57),W(n.a.c,new Pi(e,i))}function qae(n,e,t){return TD(Y(Vr(Ar(n.f,e))),Y(Vr(Ar(n.f,t))))}function yC(n,e,t){return vM(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Gae(n,e,t){return m4(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function zae(n,e,t){return b9e(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function pX(n,e){return n==(Qn(),ti)&&e==ti?4:n==ti||e==ti?8:32}function DAn(n,e){return B(e)===B(n)?"(this Map)":e==null?iu:Lr(e)}function Uae(n,e){return u(e==null?Vr(Ar(n.f,null)):n5(n.g,e),281)}function $An(n,e,t){var i;return i=i4(t),it(n.b,i,e),it(n.c,e,t),e}function FAn(n,e){var t;for(t=e;t;)U0(n,t.i,t.j),t=At(t);return n}function vX(n,e){var t;return t=C8(f3(new x$(n,e))),DE(new x$(n,e)),t}function uh(n,e){er();var t;return t=u(n,66).Mj(),M5e(t,e),t.Ok(e)}function Wae(n,e,t,i,r){var c;c=m9e(r,t,i),W(e,p6e(r,c)),o5e(n,r,e)}function xAn(n,e,t){n.i=0,n.e=0,e!=t&&(uDn(n,e,t),cDn(n,e,t))}function mX(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+Tl),S6(n,t)}function Xae(n,e,t){if(t){var i=t.ee();n.a[e]=i(t)}else delete n.a[e]}function g$(n,e,t){if(t){var i=t.ee();t=i(t)}else t=void 0;n.a[e]=t}function LAn(n){if(n<0)throw T(new K9n("Negative array size: "+n))}function bc(n){return n.n||(Iu(n),n.n=new wCn(n,ar,n),Mr(n)),n.n}function G5(n){return ne(n.a=0&&n.a[t]===e[t];t--);return t<0}function KAn(n,e){V3();var t;return t=n.j.g-e.j.g,t!=0?t:0}function HAn(n,e){return _n(e),n.a!=null?$fe(e.Kb(n.a)):UA}function jC(n){var e;return n?new iW(n):(e=new Sh,nF(e,n),e)}function es(n,e){var t;return e.b.Kb(FPn(n,e.c.Ee(),(t=new Jvn(e),t)))}function EC(n){_J(),Dyn(this,ge(ci(cl(n,24),FM)),ge(ci(n,FM)))}function qAn(){qAn=N,Gzn=Fe(($T(),A(M(Jin,1),z,428,0,[yR,Qin])))}function GAn(){GAn=N,zzn=Fe((RC(),A(M(Zin,1),z,427,0,[Yin,jR])))}function zAn(){zAn=N,WUn=Fe((_C(),A(M(Arn,1),z,424,0,[$R,tS])))}function UAn(){UAn=N,BWn=Fe((B3(),A(M(NWn,1),z,511,0,[_k,UR])))}function WAn(){WAn=N,lXn=Fe((V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])))}function XAn(){XAn=N,wXn=Fe((K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])))}function VAn(){VAn=N,XQn=Fe((x8(),A(M(ron,1),z,376,0,[uK,iy])))}function QAn(){QAn=N,GQn=Fe((z8(),A(M(non,1),z,421,0,[iK,rK])))}function JAn(){JAn=N,sXn=Fe((OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])))}function YAn(){YAn=N,jXn=Fe((kC(),A(M(fun,1),z,420,0,[j_,oun])))}function ZAn(){ZAn=N,RJn=Fe((No(),A(M(BJn,1),z,520,0,[tw,Bl])))}function nSn(){nSn=N,wJn=Fe((z5(),A(M(bJn,1),z,523,0,[Hm,Km])))}function eSn(){eSn=N,jJn=Fe((Ff(),A(M(yJn,1),z,516,0,[M0,I1])))}function tSn(){tSn=N,CJn=Fe((ef(),A(M(EJn,1),z,515,0,[Ja,kf])))}function iSn(){iSn=N,UJn=Fe((Id(),A(M(zJn,1),z,455,0,[Rl,Lg])))}function rSn(){rSn=N,hYn=Fe((gC(),A(M(Son,1),z,425,0,[yK,Aon])))}function cSn(){cSn=N,wYn=Fe((iT(),A(M(Pon,1),z,495,0,[EP,mv])))}function uSn(){uSn=N,fYn=Fe((aC(),A(M(Mon,1),z,480,0,[kK,Ton])))}function sSn(){sSn=N,vYn=Fe(($C(),A(M(Oon,1),z,426,0,[Ion,TK])))}function oSn(){oSn=N,TZn=Fe((c7(),A(M(Ffn,1),z,429,0,[DP,$fn])))}function fSn(){fSn=N,sZn=Fe((L8(),A(M(afn,1),z,430,0,[FK,IP])))}function z5(){z5=N,Hm=new ZG("UPPER",0),Km=new ZG("LOWER",1)}function Yae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function Zae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function nde(n,e){var t,i;i=!1;do t=JOn(n,e),i=i|t;while(t);return i}function jX(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function hSn(n,e){var t;for(t=e;t;)U0(n,-t.i,-t.j),t=At(t);return n}function $i(n,e){var t,i;for(_n(e),i=n.Kc();i.Ob();)t=i.Pb(),e.td(t)}function lSn(n,e){var t;return t=e.cd(),new bd(t,n.e.pc(t,u(e.dd(),14)))}function Kt(n,e,t,i){var r;r=new aI,r.c=e,r.b=t,r.a=i,i.b=t.a=r,++n.b}function Es(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function ede(n,e,t){return u(e==null?_c(n.f,null,t):Gd(n.g,e,t),281)}function k$(n){return n.c&&n.d?cX(n.c)+"->"+cX(n.d):"e_"+md(n)}function C3(n,e){return(Ta(n),Wv(new $n(n,new UX(e,n.a)))).sd(V4)}function tde(){return Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])}function ide(){return J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])}function rde(n){return gj(),function(){return wae(n,this,arguments)}}function cde(){return Date.now?Date.now():new Date().getTime()}function Xi(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function aSn(n){if(!n.c.Sb())throw T(new ic);return n.a=!0,n.c.Ub()}function $8(n){n.i=0,z9(n.b,null),z9(n.c,null),n.a=null,n.e=null,++n.g}function EX(n){are.call(this,n==null?iu:Lr(n),I(n,78)?u(n,78):null)}function dSn(n){B_n(),Nmn(this),this.a=new Ct,QV(this,n),Ke(this.a,n)}function bSn(){RO(this),this.b=new fn($t,$t),this.a=new fn(Vt,Vt)}function wSn(n,e){this.c=0,this.b=e,qkn.call(this,n,17493),this.a=this.c}function y$(n){CC(),!pf&&(this.c=n,this.e=!0,this.a=new X)}function CC(){CC=N,pf=!0,Fzn=!1,xzn=!1,Nzn=!1,Lzn=!1}function CX(n,e){return I(e,149)?An(n.c,u(e,149).c):!1}function TX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function j$(n,e){var t;return t=u(xd(n.d,e),23),t||u(xd(n.e,e),23)}function gSn(n){this.b=n,ie.call(this,n),this.a=u(Rn(this.b.a,4),126)}function pSn(n){this.b=n,w2.call(this,n),this.a=u(Rn(this.b.a,4),126)}function Iu(n){return n.t||(n.t=new Amn(n),s6(new _9n(n),0,n.t)),n.t}function ude(){return sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])}function sde(){return qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])}function ode(){return Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])}function fde(){return P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])}function hde(){return b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])}function lde(){return Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])}function ade(){return g4(),A(M(eZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])}function dde(){return Vw(),A(M(YWn,1),z,363,0,[SS,IS,OS,PS,AS])}function bde(){return Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])}function T3(){T3=N;var n,e;cI=(Qp(),e=new fj,e),uI=(n=new BI,n)}function vSn(n){var e;return n.c||(e=n.r,I(e,88)&&(n.c=u(e,26))),n.c}function wde(n){return n.e=3,n.d=n.Yb(),n.e!=2?(n.e=0,!0):!1}function E$(n){var e,t,i;return e=n&Lu,t=n>>22&Lu,i=n<0?Wh:0,Bc(e,t,i)}function gde(n){var e,t,i,r;for(t=n,i=0,r=t.length;i0?g$n(n,e):BNn(n,-e)}function MX(n,e){return e==0||n.e==0?n:e>0?BNn(n,e):g$n(n,-e)}function ve(n){if(Se(n))return n.c=n.a,n.a.Pb();throw T(new ic)}function kSn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Qn(),Xt)&&t.k==Xt}function C$(n){var e;return e=new Pd,Sr(e,n),H(e,(nn(),Tr),null),e}function T$(n,e,t){var i;return i=n.Yg(e),i>=0?n._g(i,t,!0):Yd(n,e,t)}function AX(n,e,t,i){var r;for(r=0;re)throw T(new vr(fY(n,e,"index")));return n}function M$(n,e,t,i){var r;return r=F(be,Le,25,e,15,1),Pve(r,n,e,t,i),r}function vde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),S6(n,t)}function mde(n,e){return j.Math.min(al(e.a,n.d.d.c),al(e.b,n.d.d.c))}function O2(n,e){return mi(e)?e==null?MY(n.f,null):$On(n.g,e):MY(n.f,e)}function uf(n){this.c=n,this.a=new E(this.c.a),this.b=new E(this.c.b)}function TC(){this.e=new X,this.c=new X,this.d=new X,this.b=new X}function TSn(){this.g=new zq,this.b=new zq,this.a=new X,this.k=new X}function MSn(n,e,t){this.a=n,this.c=e,this.d=t,W(e.e,this),W(t.b,this)}function ASn(n,e){Hkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function SSn(n,e){qkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function FX(n,e){FO.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function MC(n,e,t){this.a=n,this.b=e,this.c=t,W(n.t,this),W(e.i,this)}function AC(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function SC(){SC=N,Ym=new kt("org.eclipse.elk.labels.labelManager")}function PSn(){PSn=N,$cn=new ii("separateLayerConnections",(aT(),QR))}function No(){No=N,tw=new tz("REGULAR",0),Bl=new tz("CRITICAL",1)}function x8(){x8=N,uK=new YG("STACKED",0),iy=new YG("SEQUENCED",1)}function L8(){L8=N,FK=new oz("FIXED",0),IP=new oz("CENTER_NODE",1)}function kde(n,e){var t;return t=CEe(n,e),n.b=new tT(t.c.length),Lje(n,t)}function yde(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].$c(t),133),i.dd()}function ISn(n){var e;return n.a||(e=n.r,I(e,148)&&(n.a=u(e,148))),n.a}function xX(n){if(n.a){if(n.e)return xX(n.e)}else return n;return null}function jde(n,e){return n.pe.p?-1:0}function PC(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function $Sn(){$Sn=N,Vzn=Fe((_o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])))}function FSn(){FSn=N,Jzn=Fe((Cu(),A(M(Qzn,1),z,461,0,[Xf,Ol,Co])))}function xSn(){xSn=N,Zzn=Fe((Jc(),A(M(Yzn,1),z,462,0,[Wo,Dl,To])))}function LSn(){LSn=N,Bzn=Fe((hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])))}function NSn(){NSn=N,bWn=Fe((W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])))}function BSn(){BSn=N,PWn=Fe((qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])))}function RSn(){RSn=N,oXn=Fe((F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])))}function _Sn(){_Sn=N,fXn=Fe((VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])))}function KSn(){KSn=N,dXn=Fe((ya(),A(M(aXn,1),z,450,0,[l_,cv,Tg])))}function HSn(){HSn=N,rXn=Fe((Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])))}function qSn(){qSn=N,yXn=Fe((Nh(),A(M(kXn,1),z,303,0,[zk,Ag,dp])))}function GSn(){GSn=N,mXn=Fe((q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])))}function zSn(){zSn=N,RQn=Fe((i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])))}function USn(){USn=N,WQn=Fe((oT(),A(M(ion,1),z,375,0,[eon,cK,ton])))}function WSn(){WSn=N,qQn=Fe((Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])))}function XSn(){XSn=N,UQn=Fe((ur(),A(M(zQn,1),z,452,0,[Bm,Au,xc])))}function VSn(){VSn=N,JQn=Fe((dT(),A(M(hon,1),z,377,0,[fK,pv,ew])))}function QSn(){QSn=N,VQn=Fe((Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])))}function JSn(){JSn=N,QQn=Fe((uT(),A(M(fon,1),z,338,0,[oon,oK,son])))}function YSn(){YSn=N,hJn=Fe((_d(),A(M(fJn,1),z,454,0,[ry,_m,aP])))}function ZSn(){ZSn=N,pYn=Fe((CT(),A(M(gYn,1),z,442,0,[CK,jK,EK])))}function nPn(){nPn=N,mYn=Fe((f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])))}function ePn(){ePn=N,LYn=Fe((ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])))}function tPn(){tPn=N,xYn=Fe((sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])))}function iPn(){iPn=N,iZn=Fe((w7(),A(M(OK,1),z,437,0,[AP,SP,PP])))}function rPn(){rPn=N,une=Fe((_h(),A(M(Khn,1),z,334,0,[HP,F1,i9])))}function cPn(){cPn=N,tne=Fe((sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])))}function Pde(){return Ti(),A(M(Ghn,1),z,98,0,[ql,jf,Tv,td,jh,Ac])}function wa(n,e){return!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),NF(n.o,e)}function Ide(n){return!n.g&&(n.g=new Qy),!n.g.d&&(n.g.d=new Cmn(n)),n.g.d}function Ode(n){return!n.g&&(n.g=new Qy),!n.g.a&&(n.g.a=new Tmn(n)),n.g.a}function Dde(n){return!n.g&&(n.g=new Qy),!n.g.b&&(n.g.b=new Emn(n)),n.g.b}function N8(n){return!n.g&&(n.g=new Qy),!n.g.c&&(n.g.c=new Mmn(n)),n.g.c}function $de(n,e,t){var i,r;for(r=new H3(e,n),i=0;it||e=0?n._g(t,!0,!0):Yd(n,e,!0)}function Qde(n,e){return Zt(K(Y(k(n,(G(),k0)))),K(Y(k(e,k0))))}function aPn(){aPn=N,aYn=Xd(Xd(Dj(new hi,(c4(),qm)),(k6(),pP)),aK)}function Jde(n,e,t){var i;return i=tDn(n,e,t),n.b=new tT(i.c.length),JY(n,i)}function Yde(n){if(n.b<=0)throw T(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}function Zde(n){var e;if(!n.a)throw T(new gTn);return e=n.a,n.a=At(n.a),e}function n0e(n){for(;!n.a;)if(!nEn(n.c,new Xvn(n)))return!1;return!0}function $2(n){var e;return pe(n),I(n,198)?(e=u(n,198),e):new dvn(n)}function e0e(n){DC(),u(n.We((Xe(),rw)),174).Fc((Tu(),Ty)),n.Ye(eH,null)}function DC(){DC=N,SZn=new n2n,IZn=new e2n,PZn=Rwe((Xe(),eH),SZn,_l,IZn)}function $C(){$C=N,Ion=new sz("LEAF_NUMBER",0),TK=new sz("NODE_SIZE",1)}function t0e(n,e,t){n.a=e,n.c=t,n.b.a.$b(),_s(n.d),n.e.a.c=F(Zn,rn,1,0,5,1)}function $$(n){n.a=F(be,Le,25,n.b+1,15,1),n.c=F(be,Le,25,n.b,15,1),n.d=0}function i0e(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new QU(e.c,e.d,n.d)),n.b=e.d)}function zX(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.g[e]}function dPn(n,e,t){if(W3(n,t),t!=null&&!n.wj(t))throw T(new xI);return t}function bPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)D(n,e);return gX(n)}function r0e(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function c0e(n,e){var t,i;return LAn(e),t=(i=n.slice(0,e),WX(i,n)),t.length=e,t}function S3(n,e,t,i){var r;i=(Ow(),i||Lin),r=n.slice(e,t),hY(r,n,e,t,-e,i)}function Cs(n,e,t,i,r){return e<0?Yd(n,t,i):u(t,66).Nj().Pj(n,n.yh(),e,i,r)}function u0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function s0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function wPn(n,e){if(e.a)throw T(new _r(wKn));ri(n.a,e),e.a=n,!n.j&&(n.j=e)}function UX(n,e){FO.call(this,e.rd(),e.qd()&-16449),_n(n),this.a=n,this.c=e}function gPn(n,e){var t,i;return i=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),D2(n,i,t)}function Cu(){Cu=N,Xf=new oO(Y2,0),Ol=new oO(I4,1),Co=new oO(Z2,2)}function FC(){FC=N,vR=new Lj("All",0),qin=new lyn,Gin=new Eyn,zin=new ayn}function pPn(){pPn=N,Dzn=Fe((FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])))}function vPn(){vPn=N,EWn=Fe((G3(),A(M(jWn,1),z,405,0,[b0,Hb,Kb,kg])))}function mPn(){mPn=N,CUn=Fe((Hd(),A(M(EUn,1),z,406,0,[Ok,Ik,MR,AR])))}function kPn(){kPn=N,MUn=Fe((K2(),A(M(TUn,1),z,323,0,[$k,Dk,Fk,xk])))}function yPn(){yPn=N,PUn=Fe((d6(),A(M(SUn,1),z,394,0,[Lk,YA,ZA,Nk])))}function jPn(){jPn=N,WJn=Fe((c4(),A(M(won,1),z,393,0,[gP,qm,uy,Gm])))}function EPn(){EPn=N,HWn=Fe((aT(),A(M(KWn,1),z,360,0,[QR,TS,MS,Hk])))}function CPn(){CPn=N,FYn=Fe((qT(),A(M(zon,1),z,340,0,[SK,qon,Gon,Hon])))}function TPn(){TPn=N,JWn=Fe((ff(),A(M(QWn,1),z,411,0,[lp,nv,ev,JR])))}function MPn(){MPn=N,_Qn=Fe((wb(),A(M(Z_,1),z,197,0,[fP,Y_,xg,Fg])))}function APn(){APn=N,Ene=Fe((Xu(),A(M(jne,1),z,396,0,[ws,Yhn,Jhn,Zhn])))}function SPn(){SPn=N,one=Fe((cs(),A(M(sne,1),z,285,0,[Ey,kh,Kl,jy])))}function PPn(){PPn=N,ine=Fe((Hh(),A(M(cH,1),z,218,0,[rH,yy,Cv,Sp])))}function IPn(){IPn=N,kne=Fe((AT(),A(M(Qhn,1),z,311,0,[oH,Whn,Vhn,Xhn])))}function OPn(){OPn=N,vne=Fe((Vu(),A(M(o9,1),z,374,0,[Ay,id,My,uw])))}function DPn(){DPn=N,mM(),F1n=$t,Tee=Vt,x1n=new S9($t),Mee=new S9(Vt)}function K8(){K8=N,Vcn=new VG(Xh,0),xS=new VG("IMPROVE_STRAIGHTNESS",1)}function o0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function f0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function WX(n,e){return U8(e)!=10&&A(Du(e),e.hm,e.__elementTypeId$,U8(e),n),n}function Qc(n,e){var t;return t=Fr(n,e,0),t==-1?!1:(h1(n,t),!0)}function $Pn(n,e){var t;return t=u(O2(n.e,e),387),t?(ZU(t),t.e):null}function P3(n){var e;return $r(n)&&(e=0-n,!isNaN(e))?e:bl(z3(n))}function Fr(n,e,t){for(;t=0?BT(n,t,!0,!0):Yd(n,e,!0)}function YX(n,e){Qv();var t,i;return t=S2(n),i=S2(e),!!t&&!!i&&!V$n(t.k,i.k)}function a0e(n,e){Zc(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function d0e(n,e){nu(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function b0e(n,e){Rd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function w0e(n,e){Bd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function BPn(n){(this.q?this.q:(Pn(),Pn(),ph)).Ac(n.q?n.q:(Pn(),Pn(),ph))}function g0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function p0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function RPn(n,e){vrn=new Wy,AUn=e,gm=n,u(gm.b,65),BX(gm,vrn,null),DRn(gm)}function B$(n,e,t){var i;return i=n.g[e],k5(n,e,n.oi(e,t)),n.gi(e,t,i),n.ci(),i}function BC(n,e){var t;return t=n.Xc(e),t>=0?(n.$c(t),!0):!1}function R$(n){var e;return n.d!=n.r&&(e=qs(n),n.e=!!e&&e.Cj()==kGn,n.d=e),n.e}function _$(n,e){var t;for(pe(n),pe(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function xd(n,e){var t;return t=u(te(n.e,e),387),t?(Oyn(n,t),t.e):null}function _Pn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function qr(n,e){var t,i;return Ta(n),i=new FX(e,n.a),t=new iEn(i),new $n(n,t)}function ub(n,e){var t=n.a[e],i=(cF(),dR)[typeof t];return i?i(t):tQ(typeof t)}function v0e(n){switch(n.g){case 0:return nt;case 1:return-1;default:return 0}}function m0e(n){return mJ(n,(I3(),pin))<0?-xce(z3(n)):n.l+n.m*J2+n.h*$a}function U8(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function K$(n){var e;return e=n.b.c.length==0?null:un(n.b,0),e!=null&&J$(n,0),e}function KPn(n,e){for(;e[0]0&&arguments[0]!==void 0?arguments[0]:{},Ki=Ge.defaultLayoutOptions,Si=Ki===void 0?{}:Ki,Mn=Ge.algorithms,Lc=Mn===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:Mn,Nc=Ge.workerFactory,ps=Ge.workerUrl;if(j(this,Bt),this.defaultLayoutOptions=Si,this.initialized=!1,typeof ps>"u"&&typeof Nc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Rr=Nc;typeof ps<"u"&&typeof Nc>"u"&&(Rr=function(q1){return new Worker(q1)});var Ch=Rr(ps);if(typeof Ch.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new ou(Ch),this.worker.postMessage({cmd:"register",algorithms:Lc}).then(function(H1){return qt.initialized=!0}).catch(console.err)}return Ai(Bt,[{key:"layout",value:function(Ge){var Ki=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Si=Ki.layoutOptions,Mn=Si===void 0?this.defaultLayoutOptions:Si,Lc=Ki.logging,Nc=Lc===void 0?!1:Lc,ps=Ki.measureExecutionTime,Rr=ps===void 0?!1:ps;return Ge?this.worker.postMessage({cmd:"layout",graph:Ge,layoutOptions:Mn,options:{logging:Nc,measureExecutionTime:Rr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),Bt}();Nt.default=Ht;var ou=function(){function Bt(qt){var Ge=this;if(j(this,Bt),qt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=qt,this.worker.onmessage=function(Ki){setTimeout(function(){Ge.receive(Ge,Ki)},0)}}return Ai(Bt,[{key:"postMessage",value:function(Ge){var Ki=this.id||0;this.id=Ki+1,Ge.id=Ki;var Si=this;return new Promise(function(Mn,Lc){Si.resolvers[Ki]=function(Nc,ps){Nc?(Si.convertGwtStyleError(Nc),Lc(Nc)):Mn(ps)},Si.worker.postMessage(Ge)})}},{key:"receive",value:function(Ge,Ki){var Si=Ki.data,Mn=Ge.resolvers[Si.id];Mn&&(delete Ge.resolvers[Si.id],Si.error?Mn(Si.error):Mn(null,Si.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Ge){if(Ge){var Ki=Ge.__java$exception;Ki&&(Ki.cause&&Ki.cause.backingJsObject&&(Ge.cause=Ki.cause.backingJsObject,this.convertGwtStyleError(Ge.cause)),delete Ge.__java$exception)}}}]),Bt}()},{}],2:[function(ft,dt,Nt){(function(Ai){(function(){var j;typeof window<"u"?j=window:typeof Ai<"u"?j=Ai:typeof self<"u"&&(j=self);var Ht;function ou(){}function Bt(){}function qt(){}function Ge(){}function Ki(){}function Si(){}function Mn(){}function Lc(){}function Nc(){}function ps(){}function Rr(){}function Ch(){}function H1(){}function q1(){}function ww(){}function Np(){}function G1(){}function Th(){}function Q1n(){}function J1n(){}function zy(){}function Y1n(){}function Z1n(){}function nln(){}function eln(){}function Xg(){}function N(){}function tln(){}function aI(){}function iln(){}function rln(){}function cln(){}function uln(){}function DH(){}function sln(){}function oln(){}function fln(){}function z1(){}function U1(){}function dI(){}function hln(){}function lln(){}function aln(){}function $H(){}function dln(){}function bln(){}function Vg(){}function Qg(){}function wln(){}function gln(){}function pln(){}function vln(){}function FH(){}function W1(){}function Jg(){}function Yg(){}function mln(){}function Vee(){}function bI(){}function kln(){}function yln(){}function jln(){}function Eln(){}function Cln(){}function Tln(){}function Mln(){}function Aln(){}function Sln(){}function Pln(){}function Iln(){}function Oln(){}function Dln(){}function $ln(){}function Fln(){}function xln(){}function Lln(){}function Nln(){}function Bln(){}function Rln(){}function _ln(){}function Kln(){}function Hln(){}function qln(){}function Gln(){}function zln(){}function Uln(){}function Wln(){}function Xln(){}function Vln(){}function Qln(){}function Jln(){}function Yln(){}function xH(){}function Zln(){}function nan(){}function ean(){}function tan(){}function wI(){}function gI(){}function Uy(){}function ian(){}function ran(){}function pI(){}function can(){}function uan(){}function san(){}function Wy(){}function oan(){}function fan(){}function han(){}function lan(){}function aan(){}function dan(){}function ban(){}function wan(){}function gan(){}function LH(){}function pan(){}function van(){}function man(){}function kan(){}function yan(){}function NH(){}function jan(){}function Ean(){}function Can(){}function Tan(){}function Man(){}function Aan(){}function San(){}function Pan(){}function Ian(){}function Oan(){}function Dan(){}function $an(){}function Fan(){}function xan(){}function vI(){}function Lan(){}function Nan(){}function Ban(){}function Ran(){}function _an(){}function BH(){}function Kan(){}function Han(){}function qan(){}function Gan(){}function zan(){}function Uan(){}function Wan(){}function Xan(){}function Van(){}function Qan(){}function Jan(){}function Yan(){}function Zan(){}function ndn(){}function edn(){}function tdn(){}function idn(){}function rdn(){}function cdn(){}function udn(){}function sdn(){}function odn(){}function fdn(){}function hdn(){}function ldn(){}function adn(){}function ddn(){}function bdn(){}function wdn(){}function gdn(){}function pdn(){}function vdn(){}function mdn(){}function kdn(){}function ydn(){}function jdn(){}function Edn(){}function Cdn(){}function Tdn(){}function Mdn(){}function Adn(){}function Sdn(){}function Pdn(){}function Idn(){}function Odn(){}function Ddn(){}function $dn(){}function Fdn(){}function xdn(){}function Ldn(){}function Ndn(){}function Bdn(){}function Rdn(){}function _dn(){}function Kdn(){}function Hdn(){}function qdn(){}function Gdn(){}function zdn(){}function Udn(){}function Wdn(){}function Xdn(){}function Vdn(){}function Qdn(){}function Jdn(){}function Ydn(){}function Zdn(){}function n0n(){}function e0n(){}function t0n(){}function i0n(){}function r0n(){}function c0n(){}function u0n(){}function s0n(){}function o0n(){}function f0n(){}function h0n(){}function l0n(){}function a0n(){}function d0n(){}function b0n(){}function w0n(){}function g0n(){}function p0n(){}function v0n(){}function m0n(){}function k0n(){}function y0n(){}function j0n(){}function E0n(){}function C0n(){}function T0n(){}function M0n(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function D0n(){}function RH(){}function $0n(){}function F0n(){}function x0n(){}function L0n(){}function N0n(){}function B0n(){}function R0n(){}function _0n(){}function K0n(){}function H0n(){}function q0n(){}function G0n(){}function z0n(){}function U0n(){}function W0n(){}function X0n(){}function V0n(){}function Q0n(){}function J0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function sbn(){}function obn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function vbn(){}function mbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Tbn(){}function Mbn(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function Obn(){}function Dbn(){}function $bn(){}function Fbn(){}function xbn(){}function Lbn(){}function Nbn(){}function Bbn(){}function Rbn(){}function _bn(){}function Kbn(){}function Hbn(){}function qbn(){}function Gbn(){}function zbn(){}function _H(){}function Ubn(){}function Wbn(){}function Xbn(){}function Vbn(){}function Qbn(){}function Jbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function uwn(){}function swn(){}function own(){}function fwn(){}function hwn(){}function lwn(){}function KH(){}function awn(){}function dwn(){}function bwn(){}function wwn(){}function gwn(){}function pwn(){}function HH(){}function qH(){}function vwn(){}function GH(){}function zH(){}function mwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Twn(){}function Mwn(){}function Awn(){}function UH(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function $wn(){}function Fwn(){}function xwn(){}function Lwn(){}function Nwn(){}function Bwn(){}function Rwn(){}function _wn(){}function Kwn(){}function Hwn(){}function qwn(){}function Gwn(){}function zwn(){}function Uwn(){}function Wwn(){}function Xwn(){}function Vwn(){}function Qwn(){}function Jwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function sgn(){}function ogn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function vgn(){}function mgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Tgn(){}function Mgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function $gn(){}function Fgn(){}function xgn(){}function Lgn(){}function Ngn(){}function Bgn(){}function Rgn(){}function _gn(){}function Kgn(){}function mI(){}function kI(){}function yI(){}function Hgn(){}function qgn(){}function Ggn(){}function zgn(){}function Ugn(){}function WH(){}function Wgn(){}function Xgn(){}function Qee(){}function Vgn(){}function Qgn(){}function Jgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function Zl(){}function t2n(){}function Zg(){}function XH(){}function i2n(){}function r2n(){}function c2n(){}function u2n(){}function s2n(){}function o2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function v2n(){}function m2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function dn(){}function C2n(){}function T2n(){}function M2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function $2n(){}function jI(){}function F2n(){}function x2n(){}function L2n(){}function N2n(){}function B2n(){}function VH(){}function Xy(){}function Vy(){}function R2n(){}function QH(){}function Qy(){}function _2n(){}function K2n(){}function H2n(){}function q2n(){}function G2n(){}function z2n(){}function Jy(){}function U2n(){}function W2n(){}function X2n(){}function Yy(){}function V2n(){}function JH(){}function Q2n(){}function EI(){}function YH(){}function J2n(){}function Y2n(){}function Z2n(){}function npn(){}function Jee(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function spn(){}function opn(){}function fpn(){}function hpn(){}function Bp(){}function CI(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function vpn(){}function mpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Tpn(){}function Mpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function $pn(){}function Fpn(){}function xpn(){}function Lpn(){}function Npn(){}function Bpn(){}function Rpn(){}function _pn(){}function Kpn(){}function Hpn(){}function qpn(){}function Gpn(){}function zpn(){}function Upn(){}function Wpn(){}function Xpn(){}function Vpn(){}function Qpn(){}function Jpn(){}function Ypn(){}function Zpn(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function s3n(){}function o3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function v3n(){}function m3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function T3n(){}function M3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function $3n(){}function F3n(){}function x3n(){}function L3n(){}function N3n(){}function B3n(){}function R3n(){}function _3n(){}function K3n(){}function H3n(){}function q3n(){}function G3n(){}function z3n(){}function U3n(){}function W3n(){}function X3n(){}function V3n(){}function Q3n(){}function J3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function ZH(){}function r4n(){}function c4n(){}function TI(){Rv()}function u4n(){pF()}function s4n(){a6()}function o4n(){WT()}function f4n(){YJ()}function h4n(){Go()}function l4n(){fJ()}function a4n(){C7()}function d4n(){q9()}function b4n(){H9()}function w4n(){w8()}function g4n(){v7n()}function p4n(){x2()}function v4n(){Sj()}function m4n(){PSn()}function k4n(){HIn()}function y4n(){sPn()}function j4n(){CMn()}function E4n(){V3()}function C4n(){yl()}function T4n(){qIn()}function M4n(){pAn()}function A4n(){zZ()}function S4n(){IFn()}function P4n(){TMn()}function I4n(){nn()}function O4n(){EMn()}function D4n(){GIn()}function $4n(){WOn()}function F4n(){AMn()}function x4n(){aPn()}function L4n(){m7n()}function N4n(){$Y()}function B4n(){gb()}function R4n(){pOn()}function _4n(){S7()}function K4n(){Ux()}function H4n(){ZF()}function q4n(){Zd()}function G4n(){PV()}function z4n(){MMn()}function U4n(){BBn()}function W4n(){IY()}function X4n(){Bx()}function V4n(){DC()}function Q4n(){nM()}function nq(){Xe()}function J4n(){wT()}function Y4n(){NQ()}function eq(){mM()}function Fo(){dEn()}function tq(){eF()}function Z4n(){pZ()}function iq(n){_n(n)}function nvn(n){this.a=n}function Zy(n){this.a=n}function evn(n){this.a=n}function tvn(n){this.a=n}function ivn(n){this.a=n}function rvn(n){this.a=n}function cvn(n){this.a=n}function uvn(n){this.a=n}function rq(n){this.a=n}function cq(n){this.a=n}function svn(n){this.a=n}function MI(n){this.a=n}function ovn(n){this.a=n}function AI(n){this.a=n}function fvn(n){this.a=n}function SI(n){this.a=n}function hvn(n){this.a=n}function PI(n){this.a=n}function lvn(n){this.a=n}function avn(n){this.a=n}function dvn(n){this.a=n}function uq(n){this.b=n}function bvn(n){this.c=n}function wvn(n){this.a=n}function gvn(n){this.a=n}function pvn(n){this.a=n}function vvn(n){this.a=n}function mvn(n){this.a=n}function kvn(n){this.a=n}function yvn(n){this.a=n}function jvn(n){this.a=n}function Evn(n){this.a=n}function Cvn(n){this.a=n}function Tvn(n){this.a=n}function Mvn(n){this.a=n}function Avn(n){this.a=n}function sq(n){this.a=n}function oq(n){this.a=n}function nj(n){this.a=n}function M9(n){this.a=n}function na(){this.a=[]}function Svn(n,e){n.a=e}function Yee(n,e){n.a=e}function Zee(n,e){n.b=e}function nte(n,e){n.b=e}function ete(n,e){n.b=e}function fq(n,e){n.j=e}function tte(n,e){n.g=e}function ite(n,e){n.i=e}function rte(n,e){n.c=e}function cte(n,e){n.d=e}function ute(n,e){n.d=e}function ste(n,e){n.c=e}function ea(n,e){n.k=e}function ote(n,e){n.c=e}function hq(n,e){n.c=e}function lq(n,e){n.a=e}function fte(n,e){n.a=e}function hte(n,e){n.f=e}function lte(n,e){n.a=e}function ate(n,e){n.b=e}function II(n,e){n.d=e}function ej(n,e){n.i=e}function aq(n,e){n.o=e}function dte(n,e){n.r=e}function bte(n,e){n.a=e}function wte(n,e){n.b=e}function Pvn(n,e){n.e=e}function gte(n,e){n.f=e}function dq(n,e){n.g=e}function pte(n,e){n.e=e}function vte(n,e){n.f=e}function mte(n,e){n.f=e}function kte(n,e){n.n=e}function yte(n,e){n.a=e}function jte(n,e){n.a=e}function Ete(n,e){n.c=e}function Cte(n,e){n.c=e}function Tte(n,e){n.d=e}function Mte(n,e){n.e=e}function Ate(n,e){n.g=e}function Ste(n,e){n.a=e}function Pte(n,e){n.c=e}function Ite(n,e){n.d=e}function Ote(n,e){n.e=e}function Dte(n,e){n.f=e}function $te(n,e){n.j=e}function Fte(n,e){n.a=e}function xte(n,e){n.b=e}function Lte(n,e){n.a=e}function Ivn(n){n.b=n.a}function Ovn(n){n.c=n.d.d}function $v(n){this.d=n}function ta(n){this.a=n}function Rp(n){this.a=n}function bq(n){this.a=n}function Mh(n){this.a=n}function A9(n){this.a=n}function Dvn(n){this.a=n}function wq(n){this.a=n}function S9(n){this.a=n}function gq(n){this.a=n}function pq(n){this.a=n}function vq(n){this.a=n}function L0(n){this.a=n}function P9(n){this.a=n}function I9(n){this.a=n}function mq(n){this.b=n}function _p(n){this.b=n}function Kp(n){this.b=n}function OI(n){this.a=n}function $vn(n){this.a=n}function kq(n){this.a=n}function DI(n){this.c=n}function E(n){this.c=n}function Fvn(n){this.c=n}function yq(n){this.a=n}function jq(n){this.a=n}function Eq(n){this.a=n}function Cq(n){this.a=n}function ut(n){this.a=n}function xvn(n){this.a=n}function Tq(n){this.a=n}function Mq(n){this.a=n}function Lvn(n){this.a=n}function Nvn(n){this.a=n}function Fv(n){this.a=n}function Bvn(n){this.a=n}function Rvn(n){this.a=n}function _vn(n){this.a=n}function Kvn(n){this.a=n}function Hvn(n){this.a=n}function qvn(n){this.a=n}function Gvn(n){this.a=n}function zvn(n){this.a=n}function Uvn(n){this.a=n}function Wvn(n){this.a=n}function Xvn(n){this.a=n}function Vvn(n){this.a=n}function Qvn(n){this.a=n}function Jvn(n){this.a=n}function Yvn(n){this.a=n}function Zvn(n){this.a=n}function n5n(n){this.a=n}function O9(n){this.a=n}function e5n(n){this.a=n}function t5n(n){this.a=n}function tj(n){this.a=n}function i5n(n){this.a=n}function r5n(n){this.a=n}function Hp(n){this.a=n}function Aq(n){this.a=n}function c5n(n){this.a=n}function u5n(n){this.a=n}function s5n(n){this.a=n}function o5n(n){this.a=n}function f5n(n){this.a=n}function Sq(n){this.a=n}function Pq(n){this.a=n}function Iq(n){this.a=n}function ij(n){this.a=n}function rj(n){this.e=n}function qp(n){this.a=n}function h5n(n){this.a=n}function n2(n){this.a=n}function Oq(n){this.a=n}function l5n(n){this.a=n}function a5n(n){this.a=n}function d5n(n){this.a=n}function b5n(n){this.a=n}function w5n(n){this.a=n}function g5n(n){this.a=n}function p5n(n){this.a=n}function v5n(n){this.a=n}function m5n(n){this.a=n}function k5n(n){this.a=n}function y5n(n){this.a=n}function Dq(n){this.a=n}function j5n(n){this.a=n}function E5n(n){this.a=n}function C5n(n){this.a=n}function T5n(n){this.a=n}function M5n(n){this.a=n}function A5n(n){this.a=n}function S5n(n){this.a=n}function P5n(n){this.a=n}function I5n(n){this.a=n}function O5n(n){this.a=n}function D5n(n){this.a=n}function $5n(n){this.a=n}function F5n(n){this.a=n}function x5n(n){this.a=n}function L5n(n){this.a=n}function N5n(n){this.a=n}function B5n(n){this.a=n}function R5n(n){this.a=n}function _5n(n){this.a=n}function K5n(n){this.a=n}function H5n(n){this.a=n}function q5n(n){this.a=n}function G5n(n){this.a=n}function z5n(n){this.a=n}function U5n(n){this.a=n}function W5n(n){this.a=n}function X5n(n){this.a=n}function V5n(n){this.a=n}function Q5n(n){this.a=n}function J5n(n){this.a=n}function Y5n(n){this.a=n}function Z5n(n){this.a=n}function n6n(n){this.a=n}function e6n(n){this.a=n}function t6n(n){this.a=n}function i6n(n){this.a=n}function r6n(n){this.a=n}function c6n(n){this.c=n}function u6n(n){this.b=n}function s6n(n){this.a=n}function o6n(n){this.a=n}function f6n(n){this.a=n}function h6n(n){this.a=n}function l6n(n){this.a=n}function a6n(n){this.a=n}function d6n(n){this.a=n}function b6n(n){this.a=n}function w6n(n){this.a=n}function g6n(n){this.a=n}function p6n(n){this.a=n}function v6n(n){this.a=n}function m6n(n){this.a=n}function k6n(n){this.a=n}function y6n(n){this.a=n}function j6n(n){this.a=n}function E6n(n){this.a=n}function C6n(n){this.a=n}function T6n(n){this.a=n}function M6n(n){this.a=n}function A6n(n){this.a=n}function S6n(n){this.a=n}function P6n(n){this.a=n}function I6n(n){this.a=n}function X1(n){this.a=n}function e2(n){this.a=n}function O6n(n){this.a=n}function D6n(n){this.a=n}function $6n(n){this.a=n}function F6n(n){this.a=n}function x6n(n){this.a=n}function L6n(n){this.a=n}function N6n(n){this.a=n}function B6n(n){this.a=n}function R6n(n){this.a=n}function _6n(n){this.a=n}function K6n(n){this.a=n}function H6n(n){this.a=n}function q6n(n){this.a=n}function G6n(n){this.a=n}function z6n(n){this.a=n}function U6n(n){this.a=n}function cj(n){this.a=n}function W6n(n){this.a=n}function X6n(n){this.a=n}function V6n(n){this.a=n}function Q6n(n){this.a=n}function J6n(n){this.a=n}function Y6n(n){this.a=n}function Z6n(n){this.a=n}function nmn(n){this.a=n}function emn(n){this.a=n}function tmn(n){this.a=n}function imn(n){this.a=n}function rmn(n){this.a=n}function cmn(n){this.a=n}function umn(n){this.a=n}function smn(n){this.a=n}function omn(n){this.a=n}function fmn(n){this.a=n}function hmn(n){this.a=n}function lmn(n){this.a=n}function amn(n){this.a=n}function dmn(n){this.a=n}function bmn(n){this.a=n}function wmn(n){this.a=n}function gmn(n){this.a=n}function pmn(n){this.a=n}function vmn(n){this.a=n}function mmn(n){this.a=n}function kmn(n){this.a=n}function $q(n){this.a=n}function kt(n){this.b=n}function ymn(n){this.f=n}function Fq(n){this.a=n}function jmn(n){this.a=n}function Emn(n){this.a=n}function Cmn(n){this.a=n}function Tmn(n){this.a=n}function Mmn(n){this.a=n}function Amn(n){this.a=n}function Smn(n){this.a=n}function Pmn(n){this.a=n}function D9(n){this.a=n}function Imn(n){this.a=n}function Omn(n){this.b=n}function xq(n){this.c=n}function uj(n){this.e=n}function Dmn(n){this.a=n}function sj(n){this.a=n}function oj(n){this.a=n}function $I(n){this.a=n}function $mn(n){this.a=n}function Fmn(n){this.d=n}function Lq(n){this.a=n}function Nq(n){this.a=n}function cd(n){this.e=n}function Nte(){this.a=0}function gw(){dyn(this)}function X(){RO(this)}function we(){Eu(this)}function FI(){pTn(this)}function xmn(){}function ud(){this.c=p1n}function Bte(n,e){e.Wb(n)}function Lmn(n,e){n.b+=e}function Nmn(n){n.b=new JI}function T(n){return n.e}function Rte(n){return n.a}function _te(n){return n.a}function Kte(n){return n.a}function Hte(n){return n.a}function qte(n){return n.a}function Gte(){return null}function zte(){return null}function Ute(){EG(),iTe()}function Wte(n){n.b.tf(n.e)}function xv(n,e){n.b=e-n.b}function Lv(n,e){n.a=e-n.a}function Bmn(n,e){e.ad(n.a)}function Xte(n,e){ui(e,n)}function Vte(n,e,t){n.Od(t,e)}function $9(n,e){n.e=e,e.b=n}function Bq(n){Df(),this.a=n}function Rmn(n){Df(),this.a=n}function _mn(n){Df(),this.a=n}function Rq(n){nb(),this.a=n}function Kmn(n){k3(),aR.be(n)}function ia(){Qyn.call(this)}function _q(){Qyn.call(this)}function Kq(){ia.call(this)}function xI(){ia.call(this)}function Hmn(){ia.call(this)}function F9(){ia.call(this)}function fu(){ia.call(this)}function Nv(){ia.call(this)}function ye(){ia.call(this)}function vs(){ia.call(this)}function qmn(){ia.call(this)}function ic(){ia.call(this)}function Gmn(){ia.call(this)}function zmn(){this.a=this}function fj(){this.Bb|=256}function Umn(){this.b=new Xkn}function Hq(){Hq=N,new we}function qq(){Kq.call(this)}function Wmn(n,e){n.length=e}function hj(n,e){W(n.a,e)}function Qte(n,e){nY(n.c,e)}function Jte(n,e){ri(n.b,e)}function Yte(n,e){KT(n.a,e)}function Zte(n,e){MF(n.a,e)}function Gp(n,e){et(n.e,e)}function t2(n){iM(n.c,n.b)}function nie(n,e){n.kc().Nb(e)}function Gq(n){this.a=Yge(n)}function fi(){this.a=new we}function Xmn(){this.a=new we}function lj(){this.a=new X}function LI(){this.a=new X}function zq(){this.a=new X}function Ns(){this.a=new Oln}function ra(){this.a=new TSn}function Uq(){this.a=new LH}function Wq(){this.a=new h7n}function Vmn(){this.a=new YMn}function Xq(){this.a=new bMn}function Vq(){this.a=new Bjn}function Qmn(){this.a=new X}function Qq(){this.a=new X}function Jmn(){this.a=new X}function Ymn(){this.a=new X}function Zmn(){this.d=new X}function n9n(){this.a=new fi}function e9n(){this.a=new we}function t9n(){this.b=new we}function i9n(){this.b=new X}function Jq(){this.e=new X}function r9n(){this.d=new X}function c9n(){this.a=new C4n}function u9n(){X.call(this)}function Yq(){lj.call(this)}function s9n(){kE.call(this)}function o9n(){Qq.call(this)}function NI(){Bv.call(this)}function Bv(){xmn.call(this)}function i2(){xmn.call(this)}function Zq(){i2.call(this)}function f9n(){zTn.call(this)}function h9n(){zTn.call(this)}function l9n(){uG.call(this)}function a9n(){uG.call(this)}function d9n(){uG.call(this)}function b9n(){sG.call(this)}function hu(){Ct.call(this)}function nG(){B2n.call(this)}function eG(){B2n.call(this)}function w9n(){O9n.call(this)}function g9n(){O9n.call(this)}function p9n(){we.call(this)}function v9n(){we.call(this)}function m9n(){we.call(this)}function k9n(){fi.call(this)}function BI(){RIn.call(this)}function y9n(){fj.call(this)}function RI(){Oz.call(this)}function _I(){Oz.call(this)}function tG(){we.call(this)}function KI(){we.call(this)}function j9n(){we.call(this)}function iG(){Yy.call(this)}function E9n(){Yy.call(this)}function C9n(){iG.call(this)}function T9n(){ZH.call(this)}function M9n(n){hIn.call(this,n)}function A9n(n){hIn.call(this,n)}function rG(n){rq.call(this,n)}function cG(n){n7n.call(this,n)}function eie(n){cG.call(this,n)}function tie(n){n7n.call(this,n)}function zp(){this.a=new Ct}function uG(){this.a=new fi}function sG(){this.a=new we}function S9n(){this.a=new X}function P9n(){this.j=new X}function oG(){this.a=new Rgn}function I9n(){this.a=new T8n}function O9n(){this.a=new X2n}function HI(){HI=N,uR=new V9n}function qI(){qI=N,cR=new X9n}function Rv(){Rv=N,rR=new Bt}function aj(){aj=N,fR=new Xyn}function iie(n){cG.call(this,n)}function rie(n){cG.call(this,n)}function D9n(n){m$.call(this,n)}function $9n(n){m$.call(this,n)}function F9n(n){uEn.call(this,n)}function GI(n){C5e.call(this,n)}function sd(n){_0.call(this,n)}function _v(n){Cj.call(this,n)}function fG(n){Cj.call(this,n)}function x9n(n){Cj.call(this,n)}function _r(n){kCn.call(this,n)}function L9n(n){_r.call(this,n)}function r2(){M9.call(this,{})}function dj(n){c3(),this.a=n}function Kv(n){n.b=null,n.c=0}function cie(n,e){n.e=e,NNn(n,e)}function uie(n,e){n.a=e,h6e(n)}function zI(n,e,t){n.a[e.g]=t}function sie(n,e,t){M4e(t,n,e)}function oie(n,e){$ue(e.i,n.n)}function N9n(n,e){Fwe(n).td(e)}function fie(n,e){return n*n/e}function B9n(n,e){return n.g-e.g}function hie(n){return new nj(n)}function lie(n){return new Z0(n)}function bj(n){_r.call(this,n)}function vr(n){_r.call(this,n)}function R9n(n){_r.call(this,n)}function UI(n){kCn.call(this,n)}function WI(n){AV(),this.a=n}function _9n(n){aEn(),this.a=n}function N0(n){ED(),this.f=n}function XI(n){ED(),this.f=n}function Up(n){_r.call(this,n)}function Hn(n){_r.call(this,n)}function Dr(n){_r.call(this,n)}function K9n(n){_r.call(this,n)}function c2(n){_r.call(this,n)}function on(n){return _n(n),n}function K(n){return _n(n),n}function x9(n){return _n(n),n}function hG(n){return _n(n),n}function aie(n){return _n(n),n}function Hv(n){return n.b==n.c}function B0(n){return!!n&&n.b}function die(n){return!!n&&n.k}function bie(n){return!!n&&n.j}function Ku(n){_n(n),this.a=n}function lG(n){return ja(n),n}function qv(n){EW(n,n.length)}function t1(n){_r.call(this,n)}function Af(n){_r.call(this,n)}function VI(n){_r.call(this,n)}function pw(n){_r.call(this,n)}function Gv(n){_r.call(this,n)}function Ee(n){_r.call(this,n)}function QI(n){Vz.call(this,n,0)}function JI(){iX.call(this,12,3)}function aG(){aG=N,din=new Q1n}function H9n(){H9n=N,ain=new ou}function wj(){wj=N,dm=new H1}function q9n(){q9n=N,vzn=new ww}function G9n(){throw T(new ye)}function dG(){throw T(new ye)}function z9n(){throw T(new ye)}function wie(){throw T(new ye)}function gie(){throw T(new ye)}function pie(){throw T(new ye)}function YI(){this.a=Ce(pe(Ji))}function u2(n){Df(),this.a=pe(n)}function U9n(n,e){n.Td(e),e.Sd(n)}function vie(n,e){n.a.ec().Mc(e)}function mie(n,e,t){n.c.lf(e,t)}function bG(n){vr.call(this,n)}function Sf(n){Hn.call(this,n)}function i1(){A9.call(this,"")}function zv(){A9.call(this,"")}function V1(){A9.call(this,"")}function R0(){A9.call(this,"")}function wG(n){vr.call(this,n)}function Wp(n){_p.call(this,n)}function ZI(n){lE.call(this,n)}function W9n(n){Wp.call(this,n)}function X9n(){AI.call(this,null)}function V9n(){AI.call(this,null)}function gj(){gj=N,k3()}function Q9n(){Q9n=N,Szn=Z4e()}function J9n(n){return n.a?n.b:0}function kie(n){return n.a?n.b:0}function yie(n,e){return n.a-e.a}function jie(n,e){return n.a-e.a}function Eie(n,e){return n.a-e.a}function pj(n,e){return WX(n,e)}function M(n,e){return pMn(n,e)}function Cie(n,e){return e in n.a}function Y9n(n,e){return n.f=e,n}function Tie(n,e){return n.b=e,n}function Z9n(n,e){return n.c=e,n}function Mie(n,e){return n.g=e,n}function gG(n,e){return n.a=e,n}function pG(n,e){return n.f=e,n}function Aie(n,e){return n.k=e,n}function vG(n,e){return n.a=e,n}function Sie(n,e){return n.e=e,n}function mG(n,e){return n.e=e,n}function Pie(n,e){return n.f=e,n}function Iie(n,e){n.b=!0,n.d=e}function Oie(n,e){n.b=new mr(e)}function Die(n,e,t){e.td(n.a[t])}function $ie(n,e,t){e.we(n.a[t])}function Fie(n,e){return n.b-e.b}function xie(n,e){return n.g-e.g}function Lie(n,e){return n.s-e.s}function Nie(n,e){return n?0:e-1}function n8n(n,e){return n?0:e-1}function Bie(n,e){return n?e-1:0}function Rie(n,e){return e.Yf(n)}function od(n,e){return n.b=e,n}function vj(n,e){return n.a=e,n}function fd(n,e){return n.c=e,n}function hd(n,e){return n.d=e,n}function ld(n,e){return n.e=e,n}function kG(n,e){return n.f=e,n}function Uv(n,e){return n.a=e,n}function Xp(n,e){return n.b=e,n}function Vp(n,e){return n.c=e,n}function gn(n,e){return n.c=e,n}function Dn(n,e){return n.b=e,n}function pn(n,e){return n.d=e,n}function vn(n,e){return n.e=e,n}function _ie(n,e){return n.f=e,n}function mn(n,e){return n.g=e,n}function kn(n,e){return n.a=e,n}function yn(n,e){return n.i=e,n}function jn(n,e){return n.j=e,n}function e8n(n,e){return n.k=e,n}function Kie(n,e){return n.j=e,n}function Hie(n,e){yl(),Hr(e,n)}function qie(n,e,t){Nfe(n.a,e,t)}function t8n(n){mTn.call(this,n)}function yG(n){mTn.call(this,n)}function mj(n){uD.call(this,n)}function i8n(n){u2e.call(this,n)}function Q1(n){Ld.call(this,n)}function r8n(n){XD.call(this,n)}function c8n(n){XD.call(this,n)}function u8n(){Mz.call(this,"")}function Li(){this.a=0,this.b=0}function s8n(){this.b=0,this.a=0}function o8n(n,e){n.b=0,hb(n,e)}function Gie(n,e){n.c=e,n.b=!0}function f8n(n,e){return n.c._b(e)}function xo(n){return n.e&&n.e()}function nO(n){return n?n.d:null}function h8n(n,e){return LDn(n.b,e)}function zie(n){return n?n.g:null}function Uie(n){return n?n.i:null}function J1(n){return Ph(n),n.o}function ad(){ad=N,Mne=h4e()}function l8n(){l8n=N,vi=jve()}function Qp(){Qp=N,g1n=a4e()}function a8n(){a8n=N,hee=l4e()}function jG(){jG=N,oc=s6e()}function EG(){EG=N,Wl=N3()}function d8n(){throw T(new ye)}function b8n(){throw T(new ye)}function w8n(){throw T(new ye)}function g8n(){throw T(new ye)}function p8n(){throw T(new ye)}function v8n(){throw T(new ye)}function kj(n){this.a=new s2(n)}function CG(n){d_n(),gTe(this,n)}function Y1(n){this.a=new AD(n)}function vw(n,e){for(;n.ye(e););}function TG(n,e){for(;n.sd(e););}function mw(n,e){return n.a+=e,n}function eO(n,e){return n.a+=e,n}function r1(n,e){return n.a+=e,n}function dd(n,e){return n.a+=e,n}function Wv(n){return fl(n),n.a}function yj(n){return n.b!=n.d.c}function m8n(n){return n.l|n.m<<22}function MG(n,e){return n.d[e.p]}function k8n(n,e){return Q8e(n,e)}function AG(n,e,t){n.splice(e,t)}function y8n(n){n.c?rBn(n):cBn(n)}function jj(n){this.a=0,this.b=n}function j8n(){this.a=new B7(Pon)}function E8n(){this.b=new B7(won)}function C8n(){this.b=new B7(OK)}function T8n(){this.b=new B7(OK)}function M8n(){throw T(new ye)}function A8n(){throw T(new ye)}function S8n(){throw T(new ye)}function P8n(){throw T(new ye)}function I8n(){throw T(new ye)}function O8n(){throw T(new ye)}function D8n(){throw T(new ye)}function $8n(){throw T(new ye)}function F8n(){throw T(new ye)}function x8n(){throw T(new ye)}function Wie(){throw T(new ic)}function Xie(){throw T(new ic)}function L9(n){this.a=new L8n(n)}function L8n(n){cbe(this,n,cve())}function N9(n){return!n||iTn(n)}function B9(n){return Tf[n]!=-1}function Vie(){_A!=0&&(_A=0),KA=-1}function N8n(){iR==null&&(iR=[])}function Qie(n,e){$x(R(n.a),e)}function Jie(n,e){$x(R(n.a),e)}function R9(n,e){Sw.call(this,n,e)}function Jp(n,e){R9.call(this,n,e)}function SG(n,e){this.b=n,this.c=e}function B8n(n,e){this.b=n,this.a=e}function R8n(n,e){this.a=n,this.b=e}function _8n(n,e){this.a=n,this.b=e}function K8n(n,e){this.a=n,this.b=e}function H8n(n,e){this.a=n,this.b=e}function q8n(n,e){this.a=n,this.b=e}function G8n(n,e){this.a=n,this.b=e}function z8n(n,e){this.a=n,this.b=e}function U8n(n,e){this.a=n,this.b=e}function W8n(n,e){this.b=n,this.a=e}function X8n(n,e){this.b=n,this.a=e}function V8n(n,e){this.b=n,this.a=e}function Q8n(n,e){this.b=n,this.a=e}function Oe(n,e){this.f=n,this.g=e}function Yp(n,e){this.e=n,this.d=e}function bd(n,e){this.g=n,this.i=e}function tO(n,e){this.a=n,this.b=e}function J8n(n,e){this.a=n,this.f=e}function Y8n(n,e){this.b=n,this.c=e}function Yie(n,e){this.a=n,this.b=e}function Z8n(n,e){this.a=n,this.b=e}function iO(n,e){this.a=n,this.b=e}function n7n(n){Bz(n.dc()),this.c=n}function Ej(n){this.b=u(pe(n),83)}function e7n(n){this.a=u(pe(n),83)}function _0(n){this.a=u(pe(n),15)}function t7n(n){this.a=u(pe(n),15)}function Cj(n){this.b=u(pe(n),47)}function Tj(){this.q=new j.Date}function Zf(){Zf=N,Sin=new tln}function Zp(){Zp=N,X4=new nln}function Xv(n){return n.f.c+n.g.c}function _9(n,e){return n.b.Hc(e)}function i7n(n,e){return n.b.Ic(e)}function r7n(n,e){return n.b.Qc(e)}function c7n(n,e){return n.b.Hc(e)}function u7n(n,e){return n.c.uc(e)}function Ah(n,e){return n.a._b(e)}function s7n(n,e){return tt(n.c,e)}function o7n(n,e){return zu(n.b,e)}function f7n(n,e){return n>e&&e0}function cO(n,e){return fc(n,e)<0}function n5(n,e){return n.a.get(e)}function lre(n,e){return e.split(n)}function S7n(n,e){return zu(n.e,e)}function LG(n){return _n(n),!1}function xj(n){xn.call(this,n,21)}function are(n,e){cMn.call(this,n,e)}function Lj(n,e){Oe.call(this,n,e)}function uO(n,e){Oe.call(this,n,e)}function NG(n){_D(),uEn.call(this,n)}function BG(n,e){fCn(n,n.length,e)}function z9(n,e){BCn(n,n.length,e)}function dre(n,e,t){e.ud(n.a.Ge(t))}function bre(n,e,t){e.we(n.a.Fe(t))}function wre(n,e,t){e.td(n.a.Kb(t))}function gre(n,e,t){n.Mb(t)&&e.td(t)}function e5(n,e,t){n.splice(e,0,t)}function pre(n,e){return au(n.e,e)}function Nj(n,e){this.d=n,this.e=e}function P7n(n,e){this.b=n,this.a=e}function I7n(n,e){this.b=n,this.a=e}function RG(n,e){this.b=n,this.a=e}function O7n(n,e){this.a=n,this.b=e}function D7n(n,e){this.a=n,this.b=e}function $7n(n,e){this.a=n,this.b=e}function F7n(n,e){this.a=n,this.b=e}function f2(n,e){this.a=n,this.b=e}function _G(n,e){this.b=n,this.a=e}function KG(n,e){this.b=n,this.a=e}function Bj(n,e){Oe.call(this,n,e)}function Rj(n,e){Oe.call(this,n,e)}function HG(n,e){Oe.call(this,n,e)}function qG(n,e){Oe.call(this,n,e)}function kw(n,e){Oe.call(this,n,e)}function sO(n,e){Oe.call(this,n,e)}function oO(n,e){Oe.call(this,n,e)}function fO(n,e){Oe.call(this,n,e)}function _j(n,e){Oe.call(this,n,e)}function GG(n,e){Oe.call(this,n,e)}function hO(n,e){Oe.call(this,n,e)}function U9(n,e){Oe.call(this,n,e)}function Kj(n,e){Oe.call(this,n,e)}function lO(n,e){Oe.call(this,n,e)}function t5(n,e){Oe.call(this,n,e)}function zG(n,e){Oe.call(this,n,e)}function zt(n,e){Oe.call(this,n,e)}function Hj(n,e){Oe.call(this,n,e)}function x7n(n,e){this.a=n,this.b=e}function L7n(n,e){this.a=n,this.b=e}function N7n(n,e){this.a=n,this.b=e}function B7n(n,e){this.a=n,this.b=e}function R7n(n,e){this.a=n,this.b=e}function _7n(n,e){this.a=n,this.b=e}function K7n(n,e){this.a=n,this.b=e}function H7n(n,e){this.a=n,this.b=e}function q7n(n,e){this.a=n,this.b=e}function UG(n,e){this.b=n,this.a=e}function G7n(n,e){this.b=n,this.a=e}function z7n(n,e){this.b=n,this.a=e}function U7n(n,e){this.b=n,this.a=e}function t3(n,e){this.c=n,this.d=e}function W7n(n,e){this.e=n,this.d=e}function X7n(n,e){this.a=n,this.b=e}function V7n(n,e){this.b=e,this.c=n}function qj(n,e){Oe.call(this,n,e)}function W9(n,e){Oe.call(this,n,e)}function aO(n,e){Oe.call(this,n,e)}function i5(n,e){Oe.call(this,n,e)}function WG(n,e){Oe.call(this,n,e)}function dO(n,e){Oe.call(this,n,e)}function bO(n,e){Oe.call(this,n,e)}function X9(n,e){Oe.call(this,n,e)}function XG(n,e){Oe.call(this,n,e)}function wO(n,e){Oe.call(this,n,e)}function r5(n,e){Oe.call(this,n,e)}function VG(n,e){Oe.call(this,n,e)}function c5(n,e){Oe.call(this,n,e)}function u5(n,e){Oe.call(this,n,e)}function H0(n,e){Oe.call(this,n,e)}function gO(n,e){Oe.call(this,n,e)}function pO(n,e){Oe.call(this,n,e)}function QG(n,e){Oe.call(this,n,e)}function s5(n,e){Oe.call(this,n,e)}function vO(n,e){Oe.call(this,n,e)}function Gj(n,e){Oe.call(this,n,e)}function V9(n,e){Oe.call(this,n,e)}function Q9(n,e){Oe.call(this,n,e)}function h2(n,e){Oe.call(this,n,e)}function mO(n,e){Oe.call(this,n,e)}function JG(n,e){Oe.call(this,n,e)}function kO(n,e){Oe.call(this,n,e)}function yO(n,e){Oe.call(this,n,e)}function YG(n,e){Oe.call(this,n,e)}function jO(n,e){Oe.call(this,n,e)}function EO(n,e){Oe.call(this,n,e)}function CO(n,e){Oe.call(this,n,e)}function TO(n,e){Oe.call(this,n,e)}function ZG(n,e){Oe.call(this,n,e)}function Q7n(n,e){this.b=n,this.a=e}function J7n(n,e){this.a=n,this.b=e}function Y7n(n,e){this.a=n,this.b=e}function Z7n(n,e){this.a=n,this.b=e}function nkn(n,e){this.a=n,this.b=e}function nz(n,e){Oe.call(this,n,e)}function ez(n,e){Oe.call(this,n,e)}function ekn(n,e){this.b=n,this.d=e}function tz(n,e){Oe.call(this,n,e)}function iz(n,e){Oe.call(this,n,e)}function tkn(n,e){this.a=n,this.b=e}function ikn(n,e){this.a=n,this.b=e}function zj(n,e){Oe.call(this,n,e)}function o5(n,e){Oe.call(this,n,e)}function rz(n,e){Oe.call(this,n,e)}function cz(n,e){Oe.call(this,n,e)}function uz(n,e){Oe.call(this,n,e)}function MO(n,e){Oe.call(this,n,e)}function sz(n,e){Oe.call(this,n,e)}function AO(n,e){Oe.call(this,n,e)}function Uj(n,e){Oe.call(this,n,e)}function SO(n,e){Oe.call(this,n,e)}function PO(n,e){Oe.call(this,n,e)}function J9(n,e){Oe.call(this,n,e)}function IO(n,e){Oe.call(this,n,e)}function oz(n,e){Oe.call(this,n,e)}function Y9(n,e){Oe.call(this,n,e)}function fz(n,e){Oe.call(this,n,e)}function vre(n,e){return au(n.c,e)}function mre(n,e){return au(e.b,n)}function kre(n,e){return-n.b.Je(e)}function hz(n,e){return au(n.g,e)}function Z9(n,e){Oe.call(this,n,e)}function l2(n,e){Oe.call(this,n,e)}function rkn(n,e){this.a=n,this.b=e}function ckn(n,e){this.a=n,this.b=e}function fn(n,e){this.a=n,this.b=e}function f5(n,e){Oe.call(this,n,e)}function h5(n,e){Oe.call(this,n,e)}function n8(n,e){Oe.call(this,n,e)}function OO(n,e){Oe.call(this,n,e)}function Wj(n,e){Oe.call(this,n,e)}function l5(n,e){Oe.call(this,n,e)}function DO(n,e){Oe.call(this,n,e)}function Xj(n,e){Oe.call(this,n,e)}function yw(n,e){Oe.call(this,n,e)}function e8(n,e){Oe.call(this,n,e)}function a5(n,e){Oe.call(this,n,e)}function d5(n,e){Oe.call(this,n,e)}function t8(n,e){Oe.call(this,n,e)}function Vj(n,e){Oe.call(this,n,e)}function jw(n,e){Oe.call(this,n,e)}function Qj(n,e){Oe.call(this,n,e)}function ukn(n,e){this.a=n,this.b=e}function skn(n,e){this.a=n,this.b=e}function okn(n,e){this.a=n,this.b=e}function fkn(n,e){this.a=n,this.b=e}function hkn(n,e){this.a=n,this.b=e}function lkn(n,e){this.a=n,this.b=e}function Pi(n,e){this.a=n,this.b=e}function Jj(n,e){Oe.call(this,n,e)}function akn(n,e){this.a=n,this.b=e}function dkn(n,e){this.a=n,this.b=e}function bkn(n,e){this.a=n,this.b=e}function wkn(n,e){this.a=n,this.b=e}function gkn(n,e){this.a=n,this.b=e}function pkn(n,e){this.a=n,this.b=e}function vkn(n,e){this.b=n,this.a=e}function mkn(n,e){this.b=n,this.a=e}function kkn(n,e){this.b=n,this.a=e}function ykn(n,e){this.b=n,this.a=e}function jkn(n,e){this.a=n,this.b=e}function Ekn(n,e){this.a=n,this.b=e}function yre(n,e){J9e(n.a,u(e,56))}function Ckn(n,e){f0e(n.a,u(e,11))}function jre(n,e){return h3(),e!=n}function Tkn(){return Q9n(),new Szn}function Mkn(){c$(),this.b=new fi}function Akn(){hM(),this.a=new fi}function Skn(){tX(),lW.call(this)}function a2(n,e){Oe.call(this,n,e)}function Pkn(n,e){this.a=n,this.b=e}function Ikn(n,e){this.a=n,this.b=e}function Yj(n,e){this.a=n,this.b=e}function Okn(n,e){this.a=n,this.b=e}function Dkn(n,e){this.a=n,this.b=e}function $kn(n,e){this.a=n,this.b=e}function Fkn(n,e){this.d=n,this.b=e}function lz(n,e){this.d=n,this.e=e}function xkn(n,e){this.f=n,this.c=e}function i8(n,e){this.b=n,this.c=e}function az(n,e){this.i=n,this.g=e}function Lkn(n,e){this.e=n,this.a=e}function Nkn(n,e){this.a=n,this.b=e}function dz(n,e){n.i=null,nT(n,e)}function Ere(n,e){n&&it($y,n,e)}function Bkn(n,e){return NF(n.a,e)}function Zj(n){return g7(n.c,n.b)}function Vr(n){return n?n.dd():null}function B(n){return n??null}function q0(n){return typeof n===X2}function G0(n){return typeof n===UZ}function mi(n){return typeof n===EL}function el(n,e){return n.Hd().Xb(e)}function nE(n,e){return Rbe(n.Kc(),e)}function gd(n,e){return fc(n,e)==0}function Cre(n,e){return fc(n,e)>=0}function b5(n,e){return fc(n,e)!=0}function Tre(n){return""+(_n(n),n)}function r8(n,e){return n.substr(e)}function Rkn(n){return $u(n),n.d.gc()}function $O(n){return yme(n,n.c),n}function eE(n){return A5(n==null),n}function w5(n,e){return n.a+=""+e,n}function dr(n,e){return n.a+=""+e,n}function g5(n,e){return n.a+=""+e,n}function rc(n,e){return n.a+=""+e,n}function De(n,e){return n.a+=""+e,n}function bz(n,e){return n.a+=""+e,n}function _kn(n,e){Kt(n,e,n.a,n.a.a)}function ua(n,e){Kt(n,e,n.c.b,n.c)}function Mre(n,e,t){VFn(e,Mx(n,t))}function Are(n,e,t){VFn(e,Mx(n,t))}function Sre(n,e){k0e(new ie(n),e)}function Kkn(n,e){n.q.setTime($d(e))}function Hkn(n,e){kW.call(this,n,e)}function qkn(n,e){kW.call(this,n,e)}function FO(n,e){kW.call(this,n,e)}function Gkn(n){Eu(this),Z5(this,n)}function wz(n){return Ln(n,0),null}function Lo(n){return n.a=0,n.b=0,n}function zkn(n,e){return n.a=e.g+1,n}function Pre(n,e){return n.j[e.p]==2}function gz(n){return lhe(u(n,79))}function Ukn(){Ukn=N,jUn=Fe(qF())}function Wkn(){Wkn=N,RWn=Fe(PNn())}function Xkn(){this.b=new s2(sb(12))}function Vkn(){this.b=0,this.a=!1}function Qkn(){this.b=0,this.a=!1}function p5(n){this.a=n,TI.call(this)}function Jkn(n){this.a=n,TI.call(this)}function In(n,e){ii.call(this,n,e)}function xO(n,e){V0.call(this,n,e)}function Ew(n,e){az.call(this,n,e)}function LO(n,e){H3.call(this,n,e)}function Ykn(n,e){c8.call(this,n,e)}function He(n,e){$j(),it(eI,n,e)}function NO(n,e){return Yu(n.a,0,e)}function Zkn(n,e){return n.a.a.a.cc(e)}function nyn(n,e){return B(n)===B(e)}function Ire(n,e){return Zt(n.a,e.a)}function Ore(n,e){return Uc(n.a,e.a)}function Dre(n,e){return xCn(n.a,e.a)}function Pf(n,e){return n.indexOf(e)}function pd(n,e){return n==e?0:n?1:-1}function tE(n){return n<10?"0"+n:""+n}function $re(n){return pe(n),new p5(n)}function eyn(n){return Bc(n.l,n.m,n.h)}function i3(n){return Gt((_n(n),n))}function Fre(n){return Gt((_n(n),n))}function tyn(n,e){return Uc(n.g,e.g)}function $r(n){return typeof n===UZ}function xre(n){return n==b0||n==Hb}function Lre(n){return n==b0||n==Kb}function pz(n){return Fr(n.b.b,n,0)}function iyn(n){this.a=Tkn(),this.b=n}function ryn(n){this.a=Tkn(),this.b=n}function Nre(n,e){return W(n.a,e),e}function Bre(n,e){return W(n.c,e),n}function cyn(n,e){return rs(n.a,e),n}function Rre(n,e){return wo(),e.a+=n}function _re(n,e){return wo(),e.a+=n}function Kre(n,e){return wo(),e.c+=n}function vz(n,e){S3(n,0,n.length,e)}function Sh(){Tq.call(this,new ba)}function uyn(){xE.call(this,0,0,0,0)}function d2(){ys.call(this,0,0,0,0)}function mr(n){this.a=n.a,this.b=n.b}function tl(n){return n==Zs||n==Ao}function r3(n){return n==Yh||n==Jh}function syn(n){return n==xg||n==Fg}function Cw(n){return n!=jf&&n!=ql}function Hu(n){return n.Lg()&&n.Mg()}function oyn(n){return JE(u(n,118))}function iE(n){return rs(new hi,n)}function fyn(n,e){return new H3(e,n)}function Hre(n,e){return new H3(e,n)}function mz(n,e,t){UC(n,e),WC(n,t)}function rE(n,e,t){Rd(n,e),Bd(n,t)}function Jo(n,e,t){Zc(n,e),nu(n,t)}function cE(n,e,t){D3(n,e),F3(n,t)}function uE(n,e,t){$3(n,e),x3(n,t)}function BO(n,e){X3(n,e),L3(n,n.D)}function kz(n){xkn.call(this,n,!0)}function hyn(n,e,t){fU.call(this,n,e,t)}function il(n){jl(),qbe.call(this,n)}function lyn(){Lj.call(this,"Head",1)}function ayn(){Lj.call(this,"Tail",3)}function RO(n){n.c=F(Zn,rn,1,0,5,1)}function dyn(n){n.a=F(Zn,rn,1,8,5,1)}function byn(n){Yc(n.xf(),new t5n(n))}function Tw(n){return n!=null?mt(n):0}function qre(n,e){return ob(e,nf(n))}function Gre(n,e){return ob(e,nf(n))}function zre(n,e){return n[n.length]=e}function Ure(n,e){return n[n.length]=e}function yz(n){return zoe(n.b.Kc(),n.a)}function Wre(n,e){return ZC(BD(n.d),e)}function Xre(n,e){return ZC(BD(n.g),e)}function Vre(n,e){return ZC(BD(n.j),e)}function tr(n,e){ii.call(this,n.b,e)}function vd(n){xE.call(this,n,n,n,n)}function jz(n){return n.b&&uL(n),n.a}function Ez(n){return n.b&&uL(n),n.c}function Qre(n,e){pf||(n.b=e)}function _O(n,e,t){return Mt(n,e,t),t}function wyn(n,e,t){Mt(n.c[e.g],e.g,t)}function Jre(n,e,t){u(n.c,69).Xh(e,t)}function Yre(n,e,t){Jo(t,t.i+n,t.j+e)}function Zre(n,e){me(bc(n.a),PMn(e))}function nce(n,e){me(Ou(n.a),IMn(e))}function v5(n){Je(),cd.call(this,n)}function ece(n){return n==null?0:mt(n)}function gyn(){gyn=N,hK=new f6(cH)}function je(){je=N,new pyn,new X}function pyn(){new we,new we,new we}function Cz(){Cz=N,Hq(),bin=new we}function Yo(){Yo=N,j.Math.log(2)}function ms(){ms=N,Eh=(E7n(),Dne)}function tce(){throw T(new t1(izn))}function ice(){throw T(new t1(izn))}function rce(){throw T(new t1(rzn))}function cce(){throw T(new t1(rzn))}function vyn(n){this.a=n,HU.call(this,n)}function KO(n){this.a=n,Ej.call(this,n)}function HO(n){this.a=n,Ej.call(this,n)}function bi(n,e){mD(n.c,n.c.length,e)}function Kr(n){return n.ae?1:0}function kyn(n,e){return fc(n,e)>0?n:e}function Bc(n,e,t){return{l:n,m:e,h:t}}function uce(n,e){n.a!=null&&Ckn(e,n.a)}function yyn(n){n.a=new aI,n.c=new aI}function sE(n){this.b=n,this.a=new X}function jyn(n){this.b=new san,this.a=n}function Mz(n){vU.call(this),this.a=n}function Eyn(){Lj.call(this,"Range",2)}function Cyn(){kJ(),this.a=new B7(Hrn)}function sce(n,e){pe(e),Iw(n).Jc(new ps)}function oce(n,e){return Zu(),e.n.b+=n}function fce(n,e,t){return it(n.g,t,e)}function hce(n,e,t){return it(n.k,t,e)}function lce(n,e){return it(n.a,e.a,e)}function Mw(n,e,t){return _Q(e,t,n.c)}function Az(n){return new fn(n.c,n.d)}function ace(n){return new fn(n.c,n.d)}function Qr(n){return new fn(n.a,n.b)}function Tyn(n,e){return xEe(n.a,e,null)}function dce(n){Hi(n,null),Ei(n,null)}function Myn(n){s$(n,null),o$(n,null)}function Ayn(){c8.call(this,null,null)}function Syn(){wE.call(this,null,null)}function Sz(n){this.a=n,we.call(this)}function bce(n){this.b=(Pn(),new DI(n))}function oE(n){n.j=F(Ain,q,310,0,0,1)}function wce(n,e,t){n.c.Vc(e,u(t,133))}function gce(n,e,t){n.c.ji(e,u(t,133))}function Pyn(n,e){de(n),n.Gc(u(e,15))}function m5(n,e){return Jje(n.c,n.b,e)}function pce(n,e){return new Jyn(n.Kc(),e)}function qO(n,e){return gwe(n.Kc(),e)!=-1}function Pz(n,e){return n.a.Bc(e)!=null}function fE(n){return n.Ob()?n.Pb():null}function Iyn(n){return Hs(n,0,n.length)}function I(n,e){return n!=null&&WF(n,e)}function vce(n,e){n.q.setHours(e),S6(n,e)}function Oyn(n,e){n.c&&(ZU(e),iMn(e))}function mce(n,e,t){u(n.Kb(t),164).Nb(e)}function kce(n,e,t){return SEe(n,e,t),t}function Dyn(n,e,t){n.a=e^1502,n.b=t^tN}function GO(n,e,t){return n.a[e.g][t.g]}function Zo(n,e){return n.a[e.c.p][e.p]}function yce(n,e){return n.e[e.c.p][e.p]}function jce(n,e){return n.c[e.c.p][e.p]}function Ece(n,e){return n.j[e.p]=D9e(e)}function Cce(n,e){return DX(n.f,e.tg())}function Tce(n,e){return DX(n.b,e.tg())}function Mce(n,e){return n.a0?e*e/n:e*e*100}function Jce(n,e){return n>0?e/(n*n):e*100}function Yce(n,e,t){return W(e,e$n(n,t))}function Zce(n,e,t){DC(),n.Xe(e)&&t.td(n)}function s3(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function U0(n,e,t){return n.a+=e,n.b+=t,n}function nue(n,e,t){return n.a*=e,n.b*=t,n}function o8(n,e,t){return n.a-=e,n.b-=t,n}function Zz(n,e){return n.a=e.a,n.b=e.b,n}function vE(n){return n.a=-n.a,n.b=-n.b,n}function fjn(n){this.c=n,this.a=1,this.b=1}function hjn(n){this.c=n,Zc(n,0),nu(n,0)}function ljn(n){Ct.call(this),V5(this,n)}function ajn(n){yL(),Nmn(this),this.mf(n)}function djn(n,e){Zv(),c8.call(this,n,e)}function nU(n,e){c1(),wE.call(this,n,e)}function bjn(n,e){c1(),wE.call(this,n,e)}function wjn(n,e){c1(),nU.call(this,n,e)}function qu(n,e,t){Wu.call(this,n,e,t,2)}function JO(n,e){ms(),FE.call(this,n,e)}function gjn(n,e){ms(),JO.call(this,n,e)}function eU(n,e){ms(),JO.call(this,n,e)}function pjn(n,e){ms(),eU.call(this,n,e)}function tU(n,e){ms(),FE.call(this,n,e)}function vjn(n,e){ms(),tU.call(this,n,e)}function mjn(n,e){ms(),FE.call(this,n,e)}function eue(n,e){return n.c.Fc(u(e,133))}function iU(n,e,t){return jM(G8(n,e),t)}function tue(n,e,t){return e.Qk(n.e,n.c,t)}function iue(n,e,t){return e.Rk(n.e,n.c,t)}function YO(n,e){return pl(n.e,u(e,49))}function rue(n,e,t){s6(Ou(n.a),e,IMn(t))}function cue(n,e,t){s6(bc(n.a),e,PMn(t))}function rU(n,e){e.$modCount=n.$modCount}function C5(){C5=N,Xm=new kt("root")}function o3(){o3=N,xy=new w9n,new g9n}function kjn(){this.a=new Od,this.b=new Od}function cU(){RIn.call(this),this.Bb|=Yi}function yjn(){Oe.call(this,"GROW_TREE",0)}function uue(n){return n==null?null:CCe(n)}function sue(n){return n==null?null:D5e(n)}function oue(n){return n==null?null:Lr(n)}function fue(n){return n==null?null:Lr(n)}function Ph(n){n.o==null&&u9e(n)}function sn(n){return A5(n==null||q0(n)),n}function Y(n){return A5(n==null||G0(n)),n}function Ce(n){return A5(n==null||mi(n)),n}function uU(n){this.q=new j.Date($d(n))}function f8(n,e){this.c=n,Yp.call(this,n,e)}function mE(n,e){this.a=n,f8.call(this,n,e)}function hue(n,e){this.d=n,Ovn(this),this.b=e}function sU(n,e){P$.call(this,n),this.a=e}function oU(n,e){P$.call(this,n),this.a=e}function lue(n){xQ.call(this,0,0),this.f=n}function fU(n,e,t){IC.call(this,n,e,t,null)}function jjn(n,e,t){IC.call(this,n,e,t,null)}function aue(n,e,t){return n.ue(e,t)<=0?t:e}function due(n,e,t){return n.ue(e,t)<=0?e:t}function bue(n,e){return u(xd(n.b,e),149)}function wue(n,e){return u(xd(n.c,e),229)}function ZO(n){return u(un(n.a,n.b),287)}function Ejn(n){return new fn(n.c,n.d+n.a)}function Cjn(n){return Zu(),syn(u(n,197))}function W0(){W0=N,prn=Cn((Vu(),id))}function gue(n,e){e.a?e7e(n,e):zO(n.a,e.b)}function Tjn(n,e){pf||W(n.a,e)}function pue(n,e){return H9(),K3(e.d.i,n)}function vue(n,e){return x2(),new ABn(e,n)}function Of(n,e){return T8(e,ann),n.f=e,n}function hU(n,e,t){return t=ss(n,e,3,t),t}function lU(n,e,t){return t=ss(n,e,6,t),t}function aU(n,e,t){return t=ss(n,e,9,t),t}function h8(n,e,t){++n.j,n.Ki(),A$(n,e,t)}function Mjn(n,e,t){++n.j,n.Hi(e,n.oi(e,t))}function Ajn(n,e,t){var i;i=n.Zc(e),i.Rb(t)}function Sjn(n,e,t){return MZ(n.c,n.b,e,t)}function dU(n,e){return(e&nt)%n.d.length}function ii(n,e){kt.call(this,n),this.a=e}function bU(n,e){xq.call(this,n),this.a=e}function nD(n,e){xq.call(this,n),this.a=e}function Pjn(n,e){this.c=n,Ld.call(this,e)}function Ijn(n,e){this.a=n,Omn.call(this,e)}function l8(n,e){this.a=n,Omn.call(this,e)}function Ojn(n){this.a=(is(n,Pb),new Pc(n))}function Djn(n){this.a=(is(n,Pb),new Pc(n))}function a8(n){return!n.a&&(n.a=new Rr),n.a}function $jn(n){return n>8?0:n+1}function mue(n,e){return qn(),n==e?0:n?1:-1}function wU(n,e,t){return m2(n,u(e,22),t)}function kue(n,e,t){return n.apply(e,t)}function Fjn(n,e,t){return n.a+=Hs(e,0,t),n}function gU(n,e){var t;return t=n.e,n.e=e,t}function yue(n,e){var t;t=n[eN],t.call(n,e)}function jue(n,e){var t;t=n[eN],t.call(n,e)}function X0(n,e){n.a.Vc(n.b,e),++n.b,n.c=-1}function xjn(n){Eu(n.e),n.d.b=n.d,n.d.a=n.d}function d8(n){n.b?d8(n.b):n.f.c.zc(n.e,n.d)}function Eue(n,e,t){ca(),Svn(n,e.Ce(n.a,t))}function Cue(n,e){return nO(p$n(n.a,e,!0))}function Tue(n,e){return nO(v$n(n.a,e,!0))}function bo(n,e){return pj(new Array(e),n)}function eD(n){return String.fromCharCode(n)}function Mue(n){return n==null?null:n.message}function Ljn(){this.a=new X,this.b=new X}function Njn(){this.a=new LH,this.b=new Umn}function Bjn(){this.b=new Li,this.c=new X}function pU(){this.d=new Li,this.e=new Li}function vU(){this.n=new Li,this.o=new Li}function kE(){this.n=new i2,this.i=new d2}function Rjn(){this.a=new v4n,this.b=new cwn}function _jn(){this.a=new X,this.d=new X}function Kjn(){this.b=new fi,this.a=new fi}function Hjn(){this.b=new we,this.a=new we}function qjn(){this.b=new E8n,this.a=new sgn}function Gjn(){kE.call(this),this.a=new Li}function T5(n){Jbe.call(this,n,(FC(),vR))}function mU(n,e,t,i){xE.call(this,n,e,t,i)}function Aue(n,e,t){t!=null&&JC(e,rx(n,t))}function Sue(n,e,t){t!=null&&YC(e,rx(n,t))}function kU(n,e,t){return t=ss(n,e,11,t),t}function st(n,e){return n.a+=e.a,n.b+=e.b,n}function ki(n,e){return n.a-=e.a,n.b-=e.b,n}function Pue(n,e){return n.n.a=(_n(e),e+10)}function Iue(n,e){return n.n.a=(_n(e),e+10)}function Oue(n,e){return e==n||o4(sM(e),n)}function zjn(n,e){return it(n.a,e,"")==null}function Due(n,e){return H9(),!K3(e.d.i,n)}function $ue(n,e){tl(n.f)?Qme(n,e):Fve(n,e)}function Fue(n,e){var t;return t=e.Hh(n.a),t}function V0(n,e){vr.call(this,rm+n+Ra+e)}function g2(n,e,t,i){V.call(this,n,e,t,i)}function yU(n,e,t,i){V.call(this,n,e,t,i)}function Ujn(n,e,t,i){yU.call(this,n,e,t,i)}function Wjn(n,e,t,i){zE.call(this,n,e,t,i)}function tD(n,e,t,i){zE.call(this,n,e,t,i)}function jU(n,e,t,i){zE.call(this,n,e,t,i)}function Xjn(n,e,t,i){tD.call(this,n,e,t,i)}function EU(n,e,t,i){tD.call(this,n,e,t,i)}function Fn(n,e,t,i){jU.call(this,n,e,t,i)}function Vjn(n,e,t,i){EU.call(this,n,e,t,i)}function Qjn(n,e,t,i){yW.call(this,n,e,t,i)}function Jjn(n,e,t){this.a=n,Vz.call(this,e,t)}function Yjn(n,e,t){this.c=e,this.b=t,this.a=n}function xue(n,e,t){return n.d=u(e.Kb(t),164)}function CU(n,e){return n.Aj().Nh().Kh(n,e)}function TU(n,e){return n.Aj().Nh().Ih(n,e)}function Zjn(n,e){return _n(n),B(n)===B(e)}function An(n,e){return _n(n),B(n)===B(e)}function iD(n,e){return nO(p$n(n.a,e,!1))}function rD(n,e){return nO(v$n(n.a,e,!1))}function Lue(n,e){return n.b.sd(new D7n(n,e))}function Nue(n,e){return n.b.sd(new $7n(n,e))}function nEn(n,e){return n.b.sd(new F7n(n,e))}function MU(n,e,t){return n.lastIndexOf(e,t)}function Bue(n,e,t){return Zt(n[e.b],n[t.b])}function Rue(n,e){return H(e,(nn(),Jk),n)}function _ue(n,e){return Uc(e.a.d.p,n.a.d.p)}function Kue(n,e){return Uc(n.a.d.p,e.a.d.p)}function Hue(n,e){return Zt(n.c-n.s,e.c-e.s)}function eEn(n){return n.c?Fr(n.c.a,n,0):-1}function que(n){return n<100?null:new Q1(n)}function p2(n){return n==td||n==jh||n==Ac}function tEn(n,e){return I(e,15)&&oBn(n.c,e)}function Gue(n,e){pf||e&&(n.d=e)}function cD(n,e){var t;return t=e,!!VV(n,t)}function AU(n,e){this.c=n,DD.call(this,n,e)}function iEn(n){this.c=n,FO.call(this,IM,0)}function rEn(n,e){Voe.call(this,n,n.length,e)}function zue(n,e,t){return u(n.c,69).lk(e,t)}function yE(n,e,t){return u(n.c,69).mk(e,t)}function Uue(n,e,t){return tue(n,u(e,332),t)}function SU(n,e,t){return iue(n,u(e,332),t)}function Wue(n,e,t){return txn(n,u(e,332),t)}function cEn(n,e,t){return zve(n,u(e,332),t)}function M5(n,e){return e==null?null:ab(n.b,e)}function PU(n){return G0(n)?(_n(n),n):n.ke()}function jE(n){return!isNaN(n)&&!isFinite(n)}function uEn(n){Df(),this.a=(Pn(),new Wp(n))}function b8(n){h3(),this.d=n,this.a=new gw}function ks(n,e,t){this.a=n,this.b=e,this.c=t}function sEn(n,e,t){this.a=n,this.b=e,this.c=t}function oEn(n,e,t){this.d=n,this.b=t,this.a=e}function uD(n){yyn(this),_s(this),Vi(this,n)}function du(n){RO(this),GU(this.c,0,n.Pc())}function fEn(n){Uu(n.a),uPn(n.c,n.b),n.b=null}function hEn(n){this.a=n,Zf(),eu(Date.now())}function lEn(){lEn=N,Xin=new ou,XA=new ou}function sD(){sD=N,Rin=new iln,Pzn=new rln}function aEn(){aEn=N,Nne=F(Zn,rn,1,0,5,1)}function dEn(){dEn=N,eee=F(Zn,rn,1,0,5,1)}function IU(){IU=N,tee=F(Zn,rn,1,0,5,1)}function Df(){Df=N,new Bq((Pn(),Pn(),cr))}function Xue(n){return FC(),$e((pPn(),Dzn),n)}function Vue(n){return hf(),$e((LSn(),Bzn),n)}function Que(n){return $T(),$e((qAn(),Gzn),n)}function Jue(n){return RC(),$e((GAn(),zzn),n)}function Yue(n){return dM(),$e((IOn(),Uzn),n)}function Zue(n){return _o(),$e(($Sn(),Vzn),n)}function nse(n){return Cu(),$e((FSn(),Jzn),n)}function ese(n){return Jc(),$e((xSn(),Zzn),n)}function tse(n){return SM(),$e((Ukn(),jUn),n)}function ise(n){return Hd(),$e((mPn(),CUn),n)}function rse(n){return K2(),$e((kPn(),MUn),n)}function cse(n){return d6(),$e((yPn(),PUn),n)}function use(n){return Aj(),$e((yAn(),IUn),n)}function sse(n){return _C(),$e((zAn(),WUn),n)}function ose(n){return W5(),$e((NSn(),bWn),n)}function fse(n){return Qi(),$e((JPn(),vWn),n)}function hse(n){return G3(),$e((vPn(),EWn),n)}function lse(n){return qd(),$e((BSn(),PWn),n)}function OU(n,e){if(!n)throw T(new Hn(e))}function ase(n){return Qn(),$e((vIn(),$Wn),n)}function DU(n){xE.call(this,n.d,n.c,n.a,n.b)}function oD(n){xE.call(this,n.d,n.c,n.a,n.b)}function $U(n,e,t){this.b=n,this.c=e,this.a=t}function EE(n,e,t){this.b=n,this.a=e,this.c=t}function bEn(n,e,t){this.a=n,this.b=e,this.c=t}function FU(n,e,t){this.a=n,this.b=e,this.c=t}function wEn(n,e,t){this.a=n,this.b=e,this.c=t}function xU(n,e,t){this.a=n,this.b=e,this.c=t}function gEn(n,e,t){this.b=n,this.a=e,this.c=t}function CE(n,e,t){this.e=e,this.b=n,this.d=t}function dse(n,e,t){return ca(),n.a.Od(e,t),e}function fD(n){var e;return e=new Dln,e.e=n,e}function LU(n){var e;return e=new Zmn,e.b=n,e}function w8(){w8=N,sS=new Fdn,oS=new xdn}function wo(){wo=N,WWn=new pbn,XWn=new vbn}function bse(n){return aT(),$e((EPn(),HWn),n)}function wse(n){return ff(),$e((TPn(),JWn),n)}function gse(n){return lM(),$e((mOn(),cXn),n)}function pse(n){return q2(),$e((yIn(),uXn),n)}function vse(n){return OC(),$e((JAn(),sXn),n)}function mse(n){return F2(),$e((RSn(),oXn),n)}function kse(n){return Vw(),$e((UPn(),ZWn),n)}function yse(n){return Kd(),$e((HSn(),rXn),n)}function jse(n){return VC(),$e((_Sn(),fXn),n)}function Ese(n){return Pa(),$e((GPn(),hXn),n)}function Cse(n){return V8(),$e((WAn(),lXn),n)}function Tse(n){return ya(),$e((KSn(),dXn),n)}function Mse(n){return eM(),$e((TIn(),bXn),n)}function Ase(n){return K8(),$e((XAn(),wXn),n)}function Sse(n){return A7(),$e((EIn(),gXn),n)}function Pse(n){return h4(),$e((jIn(),pXn),n)}function Ise(n){return or(),$e((zOn(),vXn),n)}function Ose(n){return q3(),$e((GSn(),mXn),n)}function Dse(n){return Nh(),$e((qSn(),yXn),n)}function $se(n){return kC(),$e((YAn(),jXn),n)}function Fse(n){return Ss(),$e((WPn(),EXn),n)}function xse(n){return JT(),$e((CIn(),BQn),n)}function Lse(n){return i6(),$e((zSn(),RQn),n)}function Nse(n){return wb(),$e((MPn(),_Qn),n)}function Bse(n){return ur(),$e((XSn(),UQn),n)}function Rse(n){return Zw(),$e((vOn(),HQn),n)}function _se(n){return Rh(),$e((WSn(),qQn),n)}function Kse(n){return z8(),$e((QAn(),GQn),n)}function Hse(n){return oT(),$e((USn(),WQn),n)}function qse(n){return b6(),$e((zPn(),KQn),n)}function Gse(n){return x8(),$e((VAn(),XQn),n)}function zse(n){return Q3(),$e((QSn(),VQn),n)}function Use(n){return uT(),$e((JSn(),QQn),n)}function Wse(n){return dT(),$e((VSn(),JQn),n)}function Xse(n){return _d(),$e((YSn(),hJn),n)}function Vse(n){return z5(),$e((nSn(),wJn),n)}function Qse(n){return Ff(),$e((eSn(),jJn),n)}function Jse(n){return ef(),$e((tSn(),CJn),n)}function Yse(n){return No(),$e((ZAn(),RJn),n)}function Zse(n){return Id(),$e((iSn(),UJn),n)}function noe(n){return c4(),$e((jPn(),WJn),n)}function eoe(n){return k6(),$e((MIn(),VJn),n)}function toe(n){return aC(),$e((uSn(),fYn),n)}function ioe(n){return iT(),$e((cSn(),wYn),n)}function roe(n){return gC(),$e((rSn(),hYn),n)}function coe(n){return CT(),$e((ZSn(),pYn),n)}function uoe(n){return $C(),$e((sSn(),vYn),n)}function soe(n){return f7(),$e((nPn(),mYn),n)}function ooe(n){return qT(),$e((CPn(),FYn),n)}function foe(n){return sT(),$e((tPn(),xYn),n)}function hoe(n){return ET(),$e((ePn(),LYn),n)}function loe(n){return g4(),$e((QPn(),tZn),n)}function aoe(n){return w7(),$e((iPn(),iZn),n)}function doe(n){return Pj(),$e((mAn(),rZn),n)}function boe(n){return Ij(),$e((vAn(),uZn),n)}function woe(n){return L8(),$e((fSn(),sZn),n)}function goe(n){return P7(),$e((XPn(),oZn),n)}function poe(n){return Jv(),$e((kAn(),CZn),n)}function voe(n){return c7(),$e((oSn(),TZn),n)}function moe(n){return Ho(),$e((VPn(),OZn),n)}function koe(n){return y1(),$e((kOn(),$Zn),n)}function yoe(n){return oh(),$e((kIn(),FZn),n)}function joe(n){return vb(),$e((mIn(),_Zn),n)}function Eoe(n){return rr(),$e((Wkn(),RWn),n)}function Coe(n){return B3(),$e((UAn(),BWn),n)}function Toe(n){return sr(),$e((YPn(),ene),n)}function Moe(n){return sf(),$e((cPn(),tne),n)}function Aoe(n){return Hh(),$e((PPn(),ine),n)}function Soe(n){return ZT(),$e((SIn(),rne),n)}function Poe(n){return _h(),$e((rPn(),une),n)}function Ioe(n){return cs(),$e((SPn(),one),n)}function Ooe(n){return jb(),$e((POn(),fne),n)}function Doe(n){return qw(),$e((ZPn(),hne),n)}function $oe(n){return Ti(),$e((bIn(),lne),n)}function Foe(n){return Tu(),$e((AIn(),ane),n)}function xoe(n){return Vu(),$e((OPn(),vne),n)}function Loe(n){return xu(),$e((UOn(),mne),n)}function Noe(n){return J(),$e((nIn(),dne),n)}function Boe(n){return AT(),$e((IPn(),kne),n)}function Roe(n){return Xu(),$e((APn(),Ene),n)}function _oe(n){return d4(),$e((yOn(),Lne),n)}function Koe(n,e){return _n(n),n+(_n(e),e)}function Hoe(n,e){return Zf(),me(R(n.a),e)}function qoe(n,e){return Zf(),me(R(n.a),e)}function hD(n,e){this.c=n,this.a=e,this.b=e-n}function pEn(n,e,t){this.a=n,this.b=e,this.c=t}function NU(n,e,t){this.a=n,this.b=e,this.c=t}function BU(n,e,t){this.a=n,this.b=e,this.c=t}function vEn(n,e,t){this.a=n,this.b=e,this.c=t}function mEn(n,e,t){this.a=n,this.b=e,this.c=t}function s1(n,e,t){this.e=n,this.a=e,this.c=t}function kEn(n,e,t){ms(),QW.call(this,n,e,t)}function lD(n,e,t){ms(),FW.call(this,n,e,t)}function RU(n,e,t){ms(),FW.call(this,n,e,t)}function _U(n,e,t){ms(),FW.call(this,n,e,t)}function yEn(n,e,t){ms(),lD.call(this,n,e,t)}function KU(n,e,t){ms(),lD.call(this,n,e,t)}function jEn(n,e,t){ms(),KU.call(this,n,e,t)}function EEn(n,e,t){ms(),RU.call(this,n,e,t)}function CEn(n,e,t){ms(),_U.call(this,n,e,t)}function g8(n,e){return pe(n),pe(e),new z8n(n,e)}function v2(n,e){return pe(n),pe(e),new NEn(n,e)}function Goe(n,e){return pe(n),pe(e),new BEn(n,e)}function zoe(n,e){return pe(n),pe(e),new W8n(n,e)}function u(n,e){return A5(n==null||WF(n,e)),n}function f3(n){var e;return e=new X,_$(e,n),e}function Uoe(n){var e;return e=new fi,_$(e,n),e}function TEn(n){var e;return e=new Wq,nF(e,n),e}function p8(n){var e;return e=new Ct,nF(e,n),e}function Woe(n){return!n.e&&(n.e=new X),n.e}function Xoe(n){return!n.c&&(n.c=new Bp),n.c}function W(n,e){return n.c[n.c.length]=e,!0}function MEn(n,e){this.c=n,this.b=e,this.a=!1}function HU(n){this.d=n,Ovn(this),this.b=_fe(n.d)}function AEn(){this.a=";,;",this.b="",this.c=""}function Voe(n,e,t){SCn.call(this,e,t),this.a=n}function SEn(n,e,t){this.b=n,Hkn.call(this,e,t)}function qU(n,e,t){this.c=n,Nj.call(this,e,t)}function GU(n,e,t){aY(t,0,n,e,t.length,!1)}function eh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function Qoe(n,e){e&&(n.b=e,n.a=(fl(e),e.a))}function zU(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function UU(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function WU(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function XU(n){return bl(the($r(n)?Ks(n):n))}function Joe(n,e){return Uc(GEn(n.d),GEn(e.d))}function Yoe(n,e){return e==(J(),Gn)?n.c:n.d}function h3(){h3=N,don=(J(),Gn),dP=Vn}function PEn(){this.b=K(Y(cn((Go(),xR))))}function IEn(n){return ca(),F(Zn,rn,1,n,5,1)}function Zoe(n){return new fn(n.c+n.b,n.d+n.a)}function nfe(n,e){return Sj(),Uc(n.d.p,e.d.p)}function aD(n){return ne(n.b!=0),Ts(n,n.a.a)}function efe(n){return ne(n.b!=0),Ts(n,n.c.b)}function VU(n,e){if(!n)throw T(new R9n(e))}function TE(n,e){if(!n)throw T(new Hn(e))}function QU(n,e,t){t3.call(this,n,e),this.b=t}function v8(n,e,t){lz.call(this,n,e),this.c=t}function OEn(n,e,t){oIn.call(this,e,t),this.d=n}function JU(n){IU(),Yy.call(this),this.th(n)}function DEn(n,e,t){this.a=n,Ew.call(this,e,t)}function $En(n,e,t){this.a=n,Ew.call(this,e,t)}function ME(n,e,t){lz.call(this,n,e),this.c=t}function FEn(){T3(),khe.call(this,(Z1(),uo))}function xEn(n){return n!=null&&!$F(n,a9,d9)}function tfe(n,e){return(GDn(n)<<4|GDn(e))&Ut}function ife(n,e){return QE(),ex(n,e),new oTn(n,e)}function sa(n,e){var t;n.n&&(t=e,W(n.f,t))}function l3(n,e,t){var i;i=new Z0(t),Ro(n,e,i)}function rfe(n,e){var t;return t=n.c,wV(n,e),t}function YU(n,e){return e<0?n.g=-1:n.g=e,n}function AE(n,e){return H0e(n),n.a*=e,n.b*=e,n}function LEn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function Ke(n,e){return Kt(n,e,n.c.b,n.c),!0}function ZU(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function dD(n){this.b=n,this.a=Ed(this.b.a).Ed()}function NEn(n,e){this.b=n,this.a=e,TI.call(this)}function BEn(n,e){this.a=n,this.b=e,TI.call(this)}function REn(n,e){SCn.call(this,e,1040),this.a=n}function m8(n){return n==0||isNaN(n)?n:n<0?-1:1}function cfe(n){return C2(),fh(n)==At(ml(n))}function ufe(n){return C2(),ml(n)==At(fh(n))}function jd(n,e){return v6(n,new t3(e.a,e.b))}function sfe(n){return!Xi(n)&&n.c.i.c==n.d.i.c}function SE(n){var e;return e=n.n,n.a.b+e.d+e.a}function _En(n){var e;return e=n.n,n.e.b+e.d+e.a}function nW(n){var e;return e=n.n,n.e.a+e.b+e.c}function KEn(n){return Je(),new th(0,n)}function ofe(n){return n.a?n.a:WD(n)}function A5(n){if(!n)throw T(new Up(null))}function HEn(){HEn=N,mH=(Pn(),new OI(XB))}function PE(){PE=N,new JQ((HI(),uR),(qI(),cR))}function qEn(){qEn=N,jin=F(Wi,q,19,256,0,1)}function bD(n,e,t,i){MQ.call(this,n,e,t,i,0,0)}function ffe(n,e,t){return it(n.b,u(t.b,17),e)}function hfe(n,e,t){return it(n.b,u(t.b,17),e)}function lfe(n,e){return W(n,new fn(e.a,e.b))}function afe(n,e){return n.c=e)throw T(new qq)}function Xfe(n,e,t){return Mt(e,0,rW(e[0],t[0])),e}function Vfe(n,e,t){e.Ye(t,K(Y(te(n.b,t)))*n.a)}function ACn(n,e,t){return eg(),R3(n,e)&&R3(n,t)}function D5(n){return Tu(),!n.Hc(n1)&&!n.Hc(Gl)}function qE(n){return new fn(n.c+n.b/2,n.d+n.a/2)}function MD(n,e){return e.kh()?pl(n.b,u(e,49)):e}function kW(n,e){this.e=n,this.d=e&64?e|Nf:e}function SCn(n,e){this.c=0,this.d=n,this.b=e|64|Nf}function GE(n){this.b=new Pc(11),this.a=(Ow(),n)}function AD(n){this.b=null,this.a=(Ow(),n||Lin)}function PCn(n){this.a=Y$n(n.a),this.b=new du(n.b)}function ICn(n){this.b=n,b2.call(this,n),$yn(this)}function OCn(n){this.b=n,u8.call(this,n),Fyn(this)}function Y0(n,e,t){this.a=n,g2.call(this,e,t,5,6)}function yW(n,e,t,i){this.b=n,Jt.call(this,e,t,i)}function wi(n,e,t,i,r){D$.call(this,n,e,t,i,r,-1)}function $5(n,e,t,i,r){R8.call(this,n,e,t,i,r,-1)}function V(n,e,t,i){Jt.call(this,n,e,t),this.b=i}function zE(n,e,t,i){v8.call(this,n,e,t),this.b=i}function DCn(n){xkn.call(this,n,!1),this.a=!1}function $Cn(n,e){this.b=n,bvn.call(this,n.b),this.a=e}function FCn(n,e){nb(),Yie.call(this,n,mT(new Ku(e)))}function UE(n,e){return Je(),new xW(n,e,0)}function SD(n,e){return Je(),new xW(6,n,e)}function Qfe(n,e){return An(n.substr(0,e.length),e)}function zu(n,e){return mi(e)?QD(n,e):!!Ar(n.f,e)}function Oi(n,e){for(_n(e);n.Ob();)e.td(n.Pb())}function Pw(n,e,t){jl(),this.e=n,this.d=e,this.a=t}function o1(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function jW(n){var e;for(e=n;e.f;)e=e.f;return e}function y2(n){var e;return e=t6(n),ne(e!=null),e}function Jfe(n){var e;return e=Lge(n),ne(e!=null),e}function d3(n,e){var t;return t=n.a.gc(),$X(e,t),t-e}function EW(n,e){var t;for(t=0;t0?j.Math.log(n/e):-100}function xCn(n,e){return fc(n,e)<0?-1:fc(n,e)>0?1:0}function SW(n,e,t){return MRn(n,u(e,46),u(t,167))}function LCn(n,e){return u(vW(Ed(n.a)).Xb(e),42).cd()}function uhe(n,e){return P0e(e,n.length),new REn(n,e)}function DD(n,e){this.d=n,ie.call(this,n),this.e=e}function Cd(n){this.d=(_n(n),n),this.a=0,this.c=IM}function PW(n,e){cd.call(this,1),this.a=n,this.b=e}function NCn(n,e){return n.c?NCn(n.c,e):W(n.b,e),n}function she(n,e,t){var i;return i=ub(n,e),g$(n,e,t),i}function IW(n,e){var t;return t=n.slice(0,e),WX(t,n)}function BCn(n,e,t){var i;for(i=0;i=n.g}function KD(n,e,t){var i;return i=Y$(n,e,t),rZ(n,i)}function j2(n,e){var t;t=n.a.length,ub(n,t),g$(n,t,e)}function ZCn(n,e){var t;t=console[n],t.call(console,e)}function nTn(n,e){var t;++n.j,t=n.Vi(),n.Ii(n.oi(t,e))}function mhe(n,e,t){u(e.b,65),Yc(e.a,new NU(n,t,e))}function FW(n,e,t){uj.call(this,e),this.a=n,this.b=t}function xW(n,e,t){cd.call(this,n),this.a=e,this.b=t}function LW(n,e,t){this.a=n,xq.call(this,e),this.b=t}function eTn(n,e,t){this.a=n,aX.call(this,8,e,null,t)}function khe(n){this.a=(_n(xe),xe),this.b=n,new tG}function tTn(n){this.c=n,this.b=this.c.a,this.a=this.c.e}function NW(n){this.c=n,this.b=n.a.d.a,rU(n.a.e,this)}function Uu(n){z0(n.c!=-1),n.d.$c(n.c),n.b=n.c,n.c=-1}function L5(n){return j.Math.sqrt(n.a*n.a+n.b*n.b)}function Md(n,e){return a3(e,n.a.c.length),un(n.a,e)}function $f(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function yhe(n){return 0>=n?new PG:sbe(n-1)}function jhe(n){return aw?QD(aw,n):!1}function iTn(n){return n?n.dc():!n.Kc().Ob()}function Gi(n){return!n.a&&n.c?n.c.b:n.a}function Ehe(n){return!n.a&&(n.a=new Jt(zl,n,4)),n.a}function Ad(n){return!n.d&&(n.d=new Jt(ar,n,1)),n.d}function _n(n){if(n==null)throw T(new Nv);return n}function N5(n){n.c?n.c.He():(n.d=!0,S8e(n))}function fl(n){n.c?fl(n.c):(Ta(n),n.d=!0)}function rTn(n){KW(n.a),n.b=F(Zn,rn,1,n.b.length,5,1)}function Che(n,e){return Uc(e.j.c.length,n.j.c.length)}function The(n,e){n.c<0||n.b.b=0?n.Bh(t):bY(n,e)}function cTn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function Ahe(n){if(n.p!=4)throw T(new fu);return n.e}function She(n){if(n.p!=3)throw T(new fu);return n.e}function Phe(n){if(n.p!=6)throw T(new fu);return n.f}function Ihe(n){if(n.p!=6)throw T(new fu);return n.k}function Ohe(n){if(n.p!=3)throw T(new fu);return n.j}function Dhe(n){if(n.p!=4)throw T(new fu);return n.j}function BW(n){return!n.b&&(n.b=new sj(new KI)),n.b}function Sd(n){return n.c==-2&&Pte(n,Qve(n.g,n.b)),n.c}function g3(n,e){var t;return t=LD("",n),t.n=e,t.i=1,t}function $he(n,e){yD(u(e.b,65),n),Yc(e.a,new Aq(n))}function Fhe(n,e){me((!n.a&&(n.a=new l8(n,n)),n.a),e)}function uTn(n,e){this.b=n,DD.call(this,n,e),$yn(this)}function sTn(n,e){this.b=n,AU.call(this,n,e),Fyn(this)}function RW(n,e,t,i){bd.call(this,n,e),this.d=t,this.a=i}function VE(n,e,t,i){bd.call(this,n,t),this.a=e,this.f=i}function oTn(n,e){bce.call(this,obe(pe(n),pe(e))),this.a=e}function fTn(){UJ.call(this,Ka,(a8n(),hee)),tEe(this)}function hTn(){UJ.call(this,Vs,(Qp(),g1n)),lje(this)}function lTn(){Oe.call(this,"DELAUNAY_TRIANGULATION",0)}function xhe(n){return String.fromCharCode.apply(null,n)}function it(n,e,t){return mi(e)?kr(n,e,t):_c(n.f,e,t)}function _W(n){return Pn(),n?n.ve():(Ow(),Ow(),Bin)}function Lhe(n,e,t){return L2(),t.pg(n,u(e.cd(),146))}function aTn(n,e){return PE(),new JQ(new Wyn(n),new Uyn(e))}function Nhe(n){return is(n,AL),KC(qi(qi(5,n),n/10|0))}function QE(){QE=N,fzn=new GI(A(M(Ha,1),OM,42,0,[]))}function dTn(n){return!n.d&&(n.d=new _p(n.c.Cc())),n.d}function p3(n){return!n.a&&(n.a=new W9n(n.c.vc())),n.a}function bTn(n){return!n.b&&(n.b=new Wp(n.c.ec())),n.b}function rh(n,e){for(;e-- >0;)n=n<<1|(n<0?1:0);return n}function pc(n,e){return B(n)===B(e)||n!=null&&tt(n,e)}function Bhe(n,e){return qn(),u(e.b,19).ai&&++i,i}function Oh(n){var e,t;return t=(e=new ud,e),O3(t,n),t}function UD(n){var e,t;return t=(e=new ud,e),VJ(t,n),t}function Zhe(n,e){var t;return t=te(n.f,e),MV(e,t),null}function WD(n){var e;return e=hbe(n),e||null}function CTn(n){return!n.b&&(n.b=new V(di,n,12,3)),n.b}function n1e(n){return n!=null&&_9(tI,n.toLowerCase())}function e1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function t1e(n,e){return Zt(bu(n)*Gu(n),bu(e)*Gu(e))}function i1e(n,e){return Zt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function r1e(n,e){return Zt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function TTn(n,e,t){t.a?nu(n,e.b-n.f/2):Zc(n,e.a-n.g/2)}function MTn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ATn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function ha(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function STn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function PTn(n,e,t,i){ms(),ySn.call(this,e,t,i),this.a=n}function ITn(n,e,t,i){ms(),ySn.call(this,e,t,i),this.a=n}function OTn(n,e){this.a=n,hue.call(this,n,u(n.d,15).Zc(e))}function XD(n){this.f=n,this.c=this.f.e,n.f>0&&qFn(this)}function DTn(n,e,t,i){this.b=n,this.c=i,FO.call(this,e,t)}function $Tn(n){return ne(n.b=0&&An(n.substr(t,e.length),e)}function hl(n,e,t,i,r,c,o){return new v$(n.e,e,t,i,r,c,o)}function QTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function JTn(n,e,t,i,r,c){this.a=n,z$.call(this,e,t,i,r,c)}function YTn(n,e){this.g=n,this.d=A(M(vh,1),E1,10,0,[e])}function f1(n,e){this.e=n,this.a=Zn,this.b=yBn(e),this.c=e}function ZTn(n,e){kE.call(this),eV(this),this.a=n,this.c=e}function M8(n,e,t,i){Mt(n.c[e.g],t.g,i),Mt(n.c[t.g],e.g,i)}function ZD(n,e,t,i){Mt(n.c[e.g],e.g,t),Mt(n.b[e.g],e.g,i)}function M1e(){return x8(),A(M(ron,1),z,376,0,[uK,iy])}function A1e(){return K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])}function S1e(){return V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])}function P1e(){return OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])}function I1e(){return kC(),A(M(fun,1),z,420,0,[j_,oun])}function O1e(){return z8(),A(M(non,1),z,421,0,[iK,rK])}function D1e(){return z5(),A(M(bJn,1),z,523,0,[Hm,Km])}function $1e(){return No(),A(M(BJn,1),z,520,0,[tw,Bl])}function F1e(){return Ff(),A(M(yJn,1),z,516,0,[M0,I1])}function x1e(){return ef(),A(M(EJn,1),z,515,0,[Ja,kf])}function L1e(){return Id(),A(M(zJn,1),z,455,0,[Rl,Lg])}function N1e(){return gC(),A(M(Son,1),z,425,0,[yK,Aon])}function B1e(){return aC(),A(M(Mon,1),z,480,0,[kK,Ton])}function R1e(){return iT(),A(M(Pon,1),z,495,0,[EP,mv])}function _1e(){return $C(),A(M(Oon,1),z,426,0,[Ion,TK])}function K1e(){return c7(),A(M(Ffn,1),z,429,0,[DP,$fn])}function H1e(){return L8(),A(M(afn,1),z,430,0,[FK,IP])}function q1e(){return $T(),A(M(Jin,1),z,428,0,[yR,Qin])}function G1e(){return RC(),A(M(Zin,1),z,427,0,[Yin,jR])}function z1e(){return _C(),A(M(Arn,1),z,424,0,[$R,tS])}function U1e(){return B3(),A(M(NWn,1),z,511,0,[_k,UR])}function sC(n,e,t,i){return t>=0?n.jh(e,t,i):n.Sg(null,t,i)}function n$(n){return n.b.b==0?n.a.$e():aD(n.b)}function W1e(n){if(n.p!=5)throw T(new fu);return ge(n.f)}function X1e(n){if(n.p!=5)throw T(new fu);return ge(n.k)}function VW(n){return B(n.a)===B((eF(),gH))&&Vje(n),n.a}function nMn(n){this.a=u(pe(n),271),this.b=(Pn(),new Hz(n))}function eMn(n,e){bte(this,new fn(n.a,n.b)),wte(this,p8(e))}function Id(){Id=N,Rl=new iz(Y2,0),Lg=new iz(Z2,1)}function Ff(){Ff=N,M0=new ez(Z2,0),I1=new ez(Y2,1)}function Od(){rie.call(this,new s2(sb(12))),Bz(!0),this.a=2}function e$(n,e,t){Je(),cd.call(this,n),this.b=e,this.a=t}function QW(n,e,t){ms(),uj.call(this,e),this.a=n,this.b=t}function tMn(n){kE.call(this),eV(this),this.a=n,this.c=!0}function iMn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function oC(n){var e;ebe(n.a),byn(n.a),e=new tj(n.a),TQ(e)}function V1e(n,e){aBn(n,!0),Yc(n.e.wf(),new $U(n,!0,e))}function fC(n,e){return LAn(e),Y0e(n,F(be,Le,25,e,15,1),e)}function Q1e(n,e){return C2(),n==At(fh(e))||n==At(ml(e))}function vc(n,e){return e==null?Vr(Ar(n.f,null)):n5(n.g,e)}function J1e(n){return n.b==0?null:(ne(n.b!=0),Ts(n,n.a.a))}function Gt(n){return Math.max(Math.min(n,nt),-2147483648)|0}function Y1e(n,e){var t=lR[n.charCodeAt(0)];return t??n}function hC(n,e){return tC(n,"set1"),tC(e,"set2"),new Z8n(n,e)}function Z1e(n,e){var t;return t=W0e(n.f,e),st(vE(t),n.f.d)}function R5(n,e){var t,i;return t=e,i=new dI,n_n(n,t,i),i.d}function t$(n,e,t,i){var r;r=new Gjn,e.a[t.g]=r,m2(n.b,i,r)}function JW(n,e,t){var i;i=n.Yg(e),i>=0?n.sh(i,t):_Y(n,e,t)}function Dw(n,e,t){dC(),n&&it(dH,n,e),n&&it($y,n,t)}function rMn(n,e,t){this.i=new X,this.b=n,this.g=e,this.a=t}function lC(n,e,t){this.c=new X,this.e=n,this.f=e,this.b=t}function YW(n,e,t){this.a=new X,this.e=n,this.f=e,this.c=t}function cMn(n,e){oE(this),this.f=e,this.g=n,eC(this),this._d()}function A8(n,e){var t;t=n.q.getHours(),n.q.setDate(e),S6(n,t)}function uMn(n,e){var t;for(pe(e),t=n.a;t;t=t.c)e.Od(t.g,t.i)}function sMn(n){var e;return e=new kj(sb(n.length)),qV(e,n),e}function nle(n){function e(){}return e.prototype=n||{},new e}function ele(n,e){return LOn(n,e)?(FIn(n),!0):!1}function Dh(n,e){if(e==null)throw T(new Nv);return Y2e(n,e)}function tle(n){if(n.qe())return null;var e=n.n;return RA[e]}function S8(n){return n.Db>>16!=3?null:u(n.Cb,33)}function nf(n){return n.Db>>16!=9?null:u(n.Cb,33)}function oMn(n){return n.Db>>16!=6?null:u(n.Cb,79)}function fMn(n){return n.Db>>16!=7?null:u(n.Cb,235)}function hMn(n){return n.Db>>16!=7?null:u(n.Cb,160)}function At(n){return n.Db>>16!=11?null:u(n.Cb,33)}function lMn(n,e){var t;return t=n.Yg(e),t>=0?n.lh(t):Ox(n,e)}function aMn(n,e){var t;return t=new iW(e),dxn(t,n),new du(t)}function ZW(n){var e;return e=n.d,e=n.si(n.f),me(n,e),e.Ob()}function dMn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function i$(n,e){return j.Math.abs(n)0}function bMn(){this.a=new Sh,this.e=new fi,this.g=0,this.i=0}function wMn(n){this.a=n,this.b=F(lJn,q,1944,n.e.length,0,2)}function r$(n,e,t){var i;i=tDn(n,e,t),n.b=new tT(i.c.length)}function ef(){ef=N,Ja=new nz(hN,0),kf=new nz("UP",1)}function aC(){aC=N,kK=new rz(PHn,0),Ton=new rz("FAN",1)}function dC(){dC=N,dH=new we,$y=new we,Ere(Azn,new z2n)}function rle(n){if(n.p!=0)throw T(new fu);return b5(n.f,0)}function cle(n){if(n.p!=0)throw T(new fu);return b5(n.k,0)}function gMn(n){return n.Db>>16!=3?null:u(n.Cb,147)}function y3(n){return n.Db>>16!=6?null:u(n.Cb,235)}function eb(n){return n.Db>>16!=17?null:u(n.Cb,26)}function pMn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.le(e))}function ule(n,e){var t;return t=n.a.get(e),t??new Array}function sle(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),S6(n,t)}function kr(n,e,t){return e==null?_c(n.f,null,t):Gd(n.g,e,t)}function _5(n,e,t,i,r,c){return new Lh(n.e,e,n.aj(),t,i,r,c)}function P8(n,e,t){return n.a=Yu(n.a,0,e)+(""+t)+r8(n.a,e),n}function ole(n,e,t){return W(n.a,(QE(),ex(e,t),new bd(e,t))),n}function nX(n){return _z(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function vMn(n){return _z(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Ei(n,e){n.d&&Qc(n.d.e,n),n.d=e,n.d&&W(n.d.e,n)}function Hi(n,e){n.c&&Qc(n.c.g,n),n.c=e,n.c&&W(n.c.g,n)}function yr(n,e){n.c&&Qc(n.c.a,n),n.c=e,n.c&&W(n.c.a,n)}function Hr(n,e){n.i&&Qc(n.i.j,n),n.i=e,n.i&&W(n.i.j,n)}function mMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function kMn(n,e,t){this.a=e,this.c=n,this.b=(pe(t),new du(t))}function yMn(n,e){this.a=n,this.c=Qr(this.a),this.b=new uC(e)}function fle(n){var e;return Ta(n),e=new fi,gt(n,new Vvn(e))}function tb(n,e){if(n<0||n>e)throw T(new vr(cnn+n+unn+e))}function eX(n,e){return lCn(n.a,e)?TW(n,u(e,22).g,null):null}function hle(n){return yF(),qn(),u(n.a,81).d.e!=0}function jMn(){jMn=N,azn=Fe((aj(),A(M(lzn,1),z,538,0,[fR])))}function EMn(){EMn=N,YQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function tX(){tX=N,ZQn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function CMn(){CMn=N,eJn=ju(new hi,(Qi(),Ir),(rr(),Kk))}function TMn(){TMn=N,gJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function Zu(){Zu=N,mJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function MMn(){MMn=N,kJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function c$(){c$=N,TJn=Ze(new hi,(Qi(),Ir),(rr(),km))}function AMn(){AMn=N,lYn=ju(new hi,(c4(),Gm),(k6(),lK))}function aa(n,e,t,i){this.c=n,this.d=i,s$(this,e),o$(this,t)}function M2(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function u$(n){this.a=j.Math.cos(n),this.b=j.Math.sin(n)}function s$(n,e){n.a&&Qc(n.a.k,n),n.a=e,n.a&&W(n.a.k,n)}function o$(n,e){n.b&&Qc(n.b.f,n),n.b=e,n.b&&W(n.b.f,n)}function SMn(n,e){mhe(n,n.b,n.c),u(n.b.b,65),e&&u(e.b,65).b}function lle(n,e){vQ(n,e),I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),2)}function f$(n,e){I(n.Cb,88)&&yb(Iu(u(n.Cb,88)),4),Ic(n,e)}function bC(n,e){I(n.Cb,179)&&(u(n.Cb,179).tb=null),Ic(n,e)}function mc(n,e){return er(),R$(e)?new IE(e,n):new i8(e,n)}function ale(n,e){var t,i;t=e.c,i=t!=null,i&&j2(n,new Z0(e.c))}function PMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function IMn(n){var e,t;return t=(Qp(),e=new ud,e),O3(t,n),t}function OMn(n,e){var t;return t=new Rs(n),e.c[e.c.length]=t,t}function DMn(n,e){var t;return t=u(ab(T2(n.a),e),14),t?t.gc():0}function $Mn(n){var e;return Ta(n),e=(Ow(),Ow(),Nin),qC(n,e)}function FMn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function iX(n,e){tie.call(this,new s2(sb(n))),is(e,W_n),this.a=e}function ch(n,e,t){KDn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function xMn(n,e,t){var i;KDn(e,t,n.c.length),i=t-e,AG(n.c,e,i)}function dle(n,e){Dyn(n,ge(ci(cl(e,24),FM)),ge(ci(e,FM)))}function Ln(n,e){if(n<0||n>=e)throw T(new vr(cnn+n+unn+e))}function Te(n,e){if(n<0||n>=e)throw T(new wG(cnn+n+unn+e))}function xn(n,e){this.b=(_n(n),n),this.a=e&Ib?e:e|64|Nf}function LMn(n){dyn(this),Wmn(this.a,KV(j.Math.max(8,n))<<1)}function tf(n){return Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a]))}function ble(){return hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])}function wle(){return _o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])}function gle(){return Cu(),A(M(Qzn,1),z,461,0,[Xf,Ol,Co])}function ple(){return Jc(),A(M(Yzn,1),z,462,0,[Wo,Dl,To])}function vle(){return qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])}function mle(){return W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])}function kle(){return i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])}function yle(){return F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])}function jle(){return VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])}function Ele(){return ya(),A(M(aXn,1),z,450,0,[l_,cv,Tg])}function Cle(){return Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])}function Tle(){return Nh(),A(M(kXn,1),z,303,0,[zk,Ag,dp])}function Mle(){return q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])}function Ale(){return ur(),A(M(zQn,1),z,452,0,[Bm,Au,xc])}function Sle(){return Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])}function Ple(){return oT(),A(M(ion,1),z,375,0,[eon,cK,ton])}function Ile(){return dT(),A(M(hon,1),z,377,0,[fK,pv,ew])}function Ole(){return Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])}function Dle(){return uT(),A(M(fon,1),z,338,0,[oon,oK,son])}function $le(){return _d(),A(M(fJn,1),z,454,0,[ry,_m,aP])}function Fle(){return CT(),A(M(gYn,1),z,442,0,[CK,jK,EK])}function xle(){return f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])}function Lle(){return ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])}function Nle(){return sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])}function Ble(){return w7(),A(M(OK,1),z,437,0,[AP,SP,PP])}function Rle(){return _h(),A(M(Khn,1),z,334,0,[HP,F1,i9])}function _le(){return sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])}function Kle(n,e){return o9e(n,e,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Hle(n,e,t){var i;return i=O6(n,e,!1),i.b<=e&&i.a<=t}function NMn(n,e,t){var i;i=new Jwn,i.b=e,i.a=t,++e.b,W(n.d,i)}function qle(n,e){var t;return t=(_n(n),n).g,Yz(!!t),_n(e),t(e)}function rX(n,e){var t,i;return i=d3(n,e),t=n.a.Zc(i),new Y8n(n,t)}function Gle(n){return n.Db>>16!=6?null:u(Fx(n),235)}function zle(n){if(n.p!=2)throw T(new fu);return ge(n.f)&Ut}function Ule(n){if(n.p!=2)throw T(new fu);return ge(n.k)&Ut}function Wle(n){return n.a==(T3(),uI)&&Ste(n,C9e(n.g,n.b)),n.a}function A2(n){return n.d==(T3(),uI)&&Ite(n,pke(n.g,n.b)),n.d}function y(n){return ne(n.ai?1:0}function BMn(n,e){var t,i;return t=F$(e),i=t,u(te(n.c,i),19).a}function RMn(n,e){var t;for(t=n+"";t.length0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function rAn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function rae(n){return!!n.a&&Ou(n.a.a).i!=0&&!(n.b&&YF(n.b))}function cae(n){return!!n.u&&bc(n.u.a).i!=0&&!(n.n&&JF(n.n))}function cAn(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),16,new tvn(n))}function uae(n,e){return xCn(eu(n.q.getTime()),eu(e.q.getTime()))}function xf(n){return u(lf(n,F(GR,MN,17,n.c.length,0,1)),474)}function I8(n){return u(lf(n,F(vh,E1,10,n.c.length,0,1)),193)}function sae(n){return Zu(),!Xi(n)&&!(!Xi(n)&&n.c.i.c==n.d.i.c)}function uAn(n,e,t){var i;i=(pe(n),new du(n)),N3e(new mMn(i,e,t))}function O8(n,e,t){var i;i=(pe(n),new du(n)),B3e(new kMn(i,e,t))}function sAn(n,e){var t;return t=1-e,n.a[t]=eT(n.a[t],t),eT(n,e)}function oAn(n,e){var t;n.e=new oG,t=Cb(e),bi(t,n.c),eBn(n,t,0)}function Ci(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.a,r)}function Z(n,e,t,i){var r;r=new XH,r.a=e,r.b=t,r.c=i,Ke(n.b,r)}function po(n){var e,t,i;return e=new HCn,t=Zx(e,n),UEe(e),i=t,i}function hX(){var n,e,t;return e=(t=(n=new ud,n),t),W(M1n,e),e}function pC(n){return n.j.c=F(Zn,rn,1,0,5,1),KW(n.c),Khe(n.a),n}function $w(n){return Qv(),I(n.g,10)?u(n.g,10):null}function oae(n){return Iw(n).dc()?!1:(sce(n,new Np),!0)}function fae(n){if(!("stack"in n))try{throw n}catch{}return n}function D8(n,e){if(n<0||n>=e)throw T(new vr(j6e(n,e)));return n}function fAn(n,e,t){if(n<0||et)throw T(new vr(W5e(n,e,t)))}function d$(n,e){if(ri(n.a,e),e.d)throw T(new _r(wKn));e.d=n}function b$(n,e){if(e.$modCount!=n.$modCount)throw T(new vs)}function hAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function lAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function aAn(n,e){return I(e,42)?ix(n.a,u(e,42)):!1}function hae(n,e){return n.a<=n.b?(e.ud(n.a++),!0):!1}function $d(n){var e;return $r(n)?(e=n,e==-0?0:e):m0e(n)}function vC(n){var e;return fl(n),e=new fln,vw(n.a,new Wvn(e)),e}function dAn(n){var e;return fl(n),e=new oln,vw(n.a,new Uvn(e)),e}function Ii(n,e){this.a=n,$v.call(this,n),tb(e,n.gc()),this.b=e}function lX(n){this.e=n,this.b=this.e.a.entries(),this.a=new Array}function lae(n){return gD(n.e.Hd().gc()*n.c.Hd().gc(),273,new evn(n))}function mC(n){return new Pc((is(n,AL),KC(qi(qi(5,n),n/10|0))))}function bAn(n){return u(lf(n,F(FWn,UKn,11,n.c.length,0,1)),1943)}function aae(n,e,t){return t.f.c.length>0?SW(n.a,e,t):SW(n.b,e,t)}function dae(n,e,t){n.d&&Qc(n.d.e,n),n.d=e,n.d&&Q0(n.d.e,t,n)}function w$(n,e){uTe(e,n),WU(n.d),WU(u(k(n,(nn(),eP)),207))}function H5(n,e){cTe(e,n),UU(n.d),UU(u(k(n,(nn(),eP)),207))}function Fd(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.fe()),i}function j3(n,e){var t,i;return t=ub(n,e),i=null,t&&(i=t.ie()),i}function q5(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=t.ie()),i}function $h(n,e){var t,i;return t=Dh(n,e),i=null,t&&(i=tY(t)),i}function bae(n,e,t){var i;return i=i4(t),gM(n.g,i,e),gM(n.i,e,t),e}function wae(n,e,t){var i;i=q2e();try{return kue(n,e,t)}finally{Mae(i)}}function wAn(n){var e;e=n.Wg(),this.a=I(e,69)?u(e,69).Zh():e.Kc()}function hi(){P9n.call(this),this.j.c=F(Zn,rn,1,0,5,1),this.a=-1}function aX(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function gAn(n,e,t,i){this.e=i,this.d=null,this.c=n,this.a=e,this.b=t}function dX(n,e,t){this.d=new r6n(this),this.e=n,this.i=e,this.f=t}function kC(){kC=N,j_=new QG(I4,0),oun=new QG("TOP_LEFT",1)}function pAn(){pAn=N,aon=aTn(Q(1),Q(4)),lon=aTn(Q(1),Q(2))}function vAn(){vAn=N,uZn=Fe((Ij(),A(M(cZn,1),z,551,0,[$K])))}function mAn(){mAn=N,rZn=Fe((Pj(),A(M(lfn,1),z,482,0,[DK])))}function kAn(){kAn=N,CZn=Fe((Jv(),A(M(Dfn,1),z,530,0,[hy])))}function yAn(){yAn=N,IUn=Fe((Aj(),A(M(krn,1),z,481,0,[SR])))}function gae(){return Hd(),A(M(EUn,1),z,406,0,[Ok,Ik,MR,AR])}function pae(){return FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])}function vae(){return d6(),A(M(SUn,1),z,394,0,[Lk,YA,ZA,Nk])}function mae(){return K2(),A(M(TUn,1),z,323,0,[$k,Dk,Fk,xk])}function kae(){return G3(),A(M(jWn,1),z,405,0,[b0,Hb,Kb,kg])}function yae(){return aT(),A(M(KWn,1),z,360,0,[QR,TS,MS,Hk])}function jAn(n,e,t,i){return I(t,54)?new ojn(n,e,t,i):new pW(n,e,t,i)}function jae(){return ff(),A(M(QWn,1),z,411,0,[lp,nv,ev,JR])}function Eae(n){var e;return n.j==(J(),ae)&&(e=GLn(n),au(e,Vn))}function Cae(n,e){var t;t=e.a,Hi(t,e.c.d),Ei(t,e.d.d),fb(t.a,n.n)}function EAn(n,e){return u(yd(KE(u(ct(n.k,e),15).Oc(),jg)),113)}function CAn(n,e){return u(yd(HE(u(ct(n.k,e),15).Oc(),jg)),113)}function Tae(n){return new xn(jbe(u(n.a.dd(),14).gc(),n.a.cd()),16)}function E3(n){return I(n,14)?u(n,14).dc():!n.Kc().Ob()}function S2(n){return Qv(),I(n.g,145)?u(n.g,145):null}function TAn(n){if(n.e.g!=n.b)throw T(new vs);return!!n.c&&n.d>0}function Re(n){return ne(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function bX(n,e){_n(e),Mt(n.a,n.c,e),n.c=n.c+1&n.a.length-1,MFn(n)}function ll(n,e){_n(e),n.b=n.b-1&n.a.length-1,Mt(n.a,n.b,e),MFn(n)}function MAn(n,e){var t;for(t=n.j.c.length;t0&&gc(n.g,0,e,0,n.i),e}function IAn(n,e){$j();var t;return t=u(te(eI,n),55),!t||t.wj(e)}function Bae(n){if(n.p!=1)throw T(new fu);return ge(n.f)<<24>>24}function Rae(n){if(n.p!=1)throw T(new fu);return ge(n.k)<<24>>24}function _ae(n){if(n.p!=7)throw T(new fu);return ge(n.k)<<16>>16}function Kae(n){if(n.p!=7)throw T(new fu);return ge(n.f)<<16>>16}function Fh(n){var e;for(e=0;n.Ob();)n.Pb(),e=qi(e,1);return KC(e)}function OAn(n,e){var t;return t=new R0,n.xd(t),t.a+="..",e.yd(t),t.a}function Hae(n,e,t){var i;i=u(te(n.g,t),57),W(n.a.c,new Pi(e,i))}function qae(n,e,t){return TD(Y(Vr(Ar(n.f,e))),Y(Vr(Ar(n.f,t))))}function yC(n,e,t){return vM(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function Gae(n,e,t){return m4(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function zae(n,e,t){return b9e(n,e,t,I(e,99)&&(u(e,18).Bb&Yi)!=0)}function pX(n,e){return n==(Qn(),ti)&&e==ti?4:n==ti||e==ti?8:32}function DAn(n,e){return B(e)===B(n)?"(this Map)":e==null?iu:Lr(e)}function Uae(n,e){return u(e==null?Vr(Ar(n.f,null)):n5(n.g,e),281)}function $An(n,e,t){var i;return i=i4(t),it(n.b,i,e),it(n.c,e,t),e}function FAn(n,e){var t;for(t=e;t;)U0(n,t.i,t.j),t=At(t);return n}function vX(n,e){var t;return t=C8(f3(new x$(n,e))),DE(new x$(n,e)),t}function uh(n,e){er();var t;return t=u(n,66).Mj(),M5e(t,e),t.Ok(e)}function Wae(n,e,t,i,r){var c;c=m9e(r,t,i),W(e,p6e(r,c)),o5e(n,r,e)}function xAn(n,e,t){n.i=0,n.e=0,e!=t&&(uDn(n,e,t),cDn(n,e,t))}function mX(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+Tl),S6(n,t)}function Xae(n,e,t){if(t){var i=t.ee();n.a[e]=i(t)}else delete n.a[e]}function g$(n,e,t){if(t){var i=t.ee();t=i(t)}else t=void 0;n.a[e]=t}function LAn(n){if(n<0)throw T(new K9n("Negative array size: "+n))}function bc(n){return n.n||(Iu(n),n.n=new wCn(n,ar,n),Mr(n)),n.n}function G5(n){return ne(n.a=0&&n.a[t]===e[t];t--);return t<0}function KAn(n,e){V3();var t;return t=n.j.g-e.j.g,t!=0?t:0}function HAn(n,e){return _n(e),n.a!=null?$fe(e.Kb(n.a)):UA}function jC(n){var e;return n?new iW(n):(e=new Sh,nF(e,n),e)}function es(n,e){var t;return e.b.Kb(FPn(n,e.c.Ee(),(t=new Jvn(e),t)))}function EC(n){_J(),Dyn(this,ge(ci(cl(n,24),FM)),ge(ci(n,FM)))}function qAn(){qAn=N,Gzn=Fe(($T(),A(M(Jin,1),z,428,0,[yR,Qin])))}function GAn(){GAn=N,zzn=Fe((RC(),A(M(Zin,1),z,427,0,[Yin,jR])))}function zAn(){zAn=N,WUn=Fe((_C(),A(M(Arn,1),z,424,0,[$R,tS])))}function UAn(){UAn=N,BWn=Fe((B3(),A(M(NWn,1),z,511,0,[_k,UR])))}function WAn(){WAn=N,lXn=Fe((V8(),A(M(Wcn,1),z,419,0,[$S,Ucn])))}function XAn(){XAn=N,wXn=Fe((K8(),A(M(Qcn,1),z,479,0,[Vcn,xS])))}function VAn(){VAn=N,XQn=Fe((x8(),A(M(ron,1),z,376,0,[uK,iy])))}function QAn(){QAn=N,GQn=Fe((z8(),A(M(non,1),z,421,0,[iK,rK])))}function JAn(){JAn=N,sXn=Fe((OC(),A(M(Rcn,1),z,422,0,[Bcn,s_])))}function YAn(){YAn=N,jXn=Fe((kC(),A(M(fun,1),z,420,0,[j_,oun])))}function ZAn(){ZAn=N,RJn=Fe((No(),A(M(BJn,1),z,520,0,[tw,Bl])))}function nSn(){nSn=N,wJn=Fe((z5(),A(M(bJn,1),z,523,0,[Hm,Km])))}function eSn(){eSn=N,jJn=Fe((Ff(),A(M(yJn,1),z,516,0,[M0,I1])))}function tSn(){tSn=N,CJn=Fe((ef(),A(M(EJn,1),z,515,0,[Ja,kf])))}function iSn(){iSn=N,UJn=Fe((Id(),A(M(zJn,1),z,455,0,[Rl,Lg])))}function rSn(){rSn=N,hYn=Fe((gC(),A(M(Son,1),z,425,0,[yK,Aon])))}function cSn(){cSn=N,wYn=Fe((iT(),A(M(Pon,1),z,495,0,[EP,mv])))}function uSn(){uSn=N,fYn=Fe((aC(),A(M(Mon,1),z,480,0,[kK,Ton])))}function sSn(){sSn=N,vYn=Fe(($C(),A(M(Oon,1),z,426,0,[Ion,TK])))}function oSn(){oSn=N,TZn=Fe((c7(),A(M(Ffn,1),z,429,0,[DP,$fn])))}function fSn(){fSn=N,sZn=Fe((L8(),A(M(afn,1),z,430,0,[FK,IP])))}function z5(){z5=N,Hm=new ZG("UPPER",0),Km=new ZG("LOWER",1)}function Yae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function Zae(n,e){var t;t=new r2,la(t,"x",e.a),la(t,"y",e.b),j2(n,t)}function nde(n,e){var t,i;i=!1;do t=JOn(n,e),i=i|t;while(t);return i}function jX(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function hSn(n,e){var t;for(t=e;t;)U0(n,-t.i,-t.j),t=At(t);return n}function $i(n,e){var t,i;for(_n(e),i=n.Kc();i.Ob();)t=i.Pb(),e.td(t)}function lSn(n,e){var t;return t=e.cd(),new bd(t,n.e.pc(t,u(e.dd(),14)))}function Kt(n,e,t,i){var r;r=new aI,r.c=e,r.b=t,r.a=i,i.b=t.a=r,++n.b}function Es(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function ede(n,e,t){return u(e==null?_c(n.f,null,t):Gd(n.g,e,t),281)}function k$(n){return n.c&&n.d?cX(n.c)+"->"+cX(n.d):"e_"+md(n)}function C3(n,e){return(Ta(n),Wv(new $n(n,new UX(e,n.a)))).sd(V4)}function tde(){return Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])}function ide(){return J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])}function rde(n){return gj(),function(){return wae(n,this,arguments)}}function cde(){return Date.now?Date.now():new Date().getTime()}function Xi(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function aSn(n){if(!n.c.Sb())throw T(new ic);return n.a=!0,n.c.Ub()}function $8(n){n.i=0,z9(n.b,null),z9(n.c,null),n.a=null,n.e=null,++n.g}function EX(n){are.call(this,n==null?iu:Lr(n),I(n,78)?u(n,78):null)}function dSn(n){B_n(),Nmn(this),this.a=new Ct,QV(this,n),Ke(this.a,n)}function bSn(){RO(this),this.b=new fn($t,$t),this.a=new fn(Vt,Vt)}function wSn(n,e){this.c=0,this.b=e,qkn.call(this,n,17493),this.a=this.c}function y$(n){CC(),!pf&&(this.c=n,this.e=!0,this.a=new X)}function CC(){CC=N,pf=!0,Fzn=!1,xzn=!1,Nzn=!1,Lzn=!1}function CX(n,e){return I(e,149)?An(n.c,u(e,149).c):!1}function TX(n,e){var t;return t=0,n&&(t+=n.f.a/2),e&&(t+=e.f.a/2),t}function j$(n,e){var t;return t=u(xd(n.d,e),23),t||u(xd(n.e,e),23)}function gSn(n){this.b=n,ie.call(this,n),this.a=u(Rn(this.b.a,4),126)}function pSn(n){this.b=n,w2.call(this,n),this.a=u(Rn(this.b.a,4),126)}function Iu(n){return n.t||(n.t=new Amn(n),s6(new _9n(n),0,n.t)),n.t}function ude(){return sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])}function sde(){return qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])}function ode(){return Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])}function fde(){return P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])}function hde(){return b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])}function lde(){return Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])}function ade(){return g4(),A(M(eZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])}function dde(){return Vw(),A(M(YWn,1),z,363,0,[SS,IS,OS,PS,AS])}function bde(){return Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])}function T3(){T3=N;var n,e;cI=(Qp(),e=new fj,e),uI=(n=new BI,n)}function vSn(n){var e;return n.c||(e=n.r,I(e,88)&&(n.c=u(e,26))),n.c}function wde(n){return n.e=3,n.d=n.Yb(),n.e!=2?(n.e=0,!0):!1}function E$(n){var e,t,i;return e=n&Lu,t=n>>22&Lu,i=n<0?Wh:0,Bc(e,t,i)}function gde(n){var e,t,i,r;for(t=n,i=0,r=t.length;i0?g$n(n,e):BNn(n,-e)}function MX(n,e){return e==0||n.e==0?n:e>0?BNn(n,e):g$n(n,-e)}function ve(n){if(Se(n))return n.c=n.a,n.a.Pb();throw T(new ic)}function kSn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Qn(),Xt)&&t.k==Xt}function C$(n){var e;return e=new Pd,Sr(e,n),H(e,(nn(),Tr),null),e}function T$(n,e,t){var i;return i=n.Yg(e),i>=0?n._g(i,t,!0):Yd(n,e,t)}function AX(n,e,t,i){var r;for(r=0;re)throw T(new vr(fY(n,e,"index")));return n}function M$(n,e,t,i){var r;return r=F(be,Le,25,e,15,1),Pve(r,n,e,t,i),r}function vde(n,e){var t;t=n.q.getHours()+(e/60|0),n.q.setMinutes(e),S6(n,t)}function mde(n,e){return j.Math.min(al(e.a,n.d.d.c),al(e.b,n.d.d.c))}function O2(n,e){return mi(e)?e==null?MY(n.f,null):$On(n.g,e):MY(n.f,e)}function uf(n){this.c=n,this.a=new E(this.c.a),this.b=new E(this.c.b)}function TC(){this.e=new X,this.c=new X,this.d=new X,this.b=new X}function TSn(){this.g=new zq,this.b=new zq,this.a=new X,this.k=new X}function MSn(n,e,t){this.a=n,this.c=e,this.d=t,W(e.e,this),W(t.b,this)}function ASn(n,e){Hkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function SSn(n,e){qkn.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function FX(n,e){FO.call(this,e.rd(),e.qd()&-6),_n(n),this.a=n,this.b=e}function MC(n,e,t){this.a=n,this.b=e,this.c=t,W(n.t,this),W(e.i,this)}function AC(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function SC(){SC=N,Ym=new kt("org.eclipse.elk.labels.labelManager")}function PSn(){PSn=N,$cn=new ii("separateLayerConnections",(aT(),QR))}function No(){No=N,tw=new tz("REGULAR",0),Bl=new tz("CRITICAL",1)}function x8(){x8=N,uK=new YG("STACKED",0),iy=new YG("SEQUENCED",1)}function L8(){L8=N,FK=new oz("FIXED",0),IP=new oz("CENTER_NODE",1)}function kde(n,e){var t;return t=CEe(n,e),n.b=new tT(t.c.length),Lje(n,t)}function yde(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].$c(t),133),i.dd()}function ISn(n){var e;return n.a||(e=n.r,I(e,148)&&(n.a=u(e,148))),n.a}function xX(n){if(n.a){if(n.e)return xX(n.e)}else return n;return null}function jde(n,e){return n.pe.p?-1:0}function PC(n,e){return _n(e),n.c=0,"Initial capacity must not be negative")}function $Sn(){$Sn=N,Vzn=Fe((_o(),A(M(_b,1),z,232,0,[Zr,Fc,nc])))}function FSn(){FSn=N,Jzn=Fe((Cu(),A(M(Qzn,1),z,461,0,[Xf,Ol,Co])))}function xSn(){xSn=N,Zzn=Fe((Jc(),A(M(Yzn,1),z,462,0,[Wo,Dl,To])))}function LSn(){LSn=N,Bzn=Fe((hf(),A(M(Nu,1),z,132,0,[Win,hs,Rb])))}function NSn(){NSn=N,bWn=Fe((W5(),A(M(Krn,1),z,379,0,[NR,LR,BR])))}function BSn(){BSn=N,PWn=Fe((qd(),A(M(zrn,1),z,423,0,[yg,Grn,qR])))}function RSn(){RSn=N,oXn=Fe((F2(),A(M(Kcn,1),z,314,0,[ap,qk,_cn])))}function _Sn(){_Sn=N,fXn=Fe((VC(),A(M(qcn,1),z,337,0,[Hcn,DS,o_])))}function KSn(){KSn=N,dXn=Fe((ya(),A(M(aXn,1),z,450,0,[l_,cv,Tg])))}function HSn(){HSn=N,rXn=Fe((Kd(),A(M(YR,1),z,361,0,[g0,Fl,w0])))}function qSn(){qSn=N,yXn=Fe((Nh(),A(M(kXn,1),z,303,0,[zk,Ag,dp])))}function GSn(){GSn=N,mXn=Fe((q3(),A(M(y_,1),z,292,0,[m_,k_,Gk])))}function zSn(){zSn=N,RQn=Fe((i6(),A(M(Gsn,1),z,378,0,[J_,qsn,oP])))}function USn(){USn=N,WQn=Fe((oT(),A(M(ion,1),z,375,0,[eon,cK,ton])))}function WSn(){WSn=N,qQn=Fe((Rh(),A(M(Zsn,1),z,339,0,[Nl,Ysn,tK])))}function XSn(){XSn=N,UQn=Fe((ur(),A(M(zQn,1),z,452,0,[Bm,Au,xc])))}function VSn(){VSn=N,JQn=Fe((dT(),A(M(hon,1),z,377,0,[fK,pv,ew])))}function QSn(){QSn=N,VQn=Fe((Q3(),A(M(uon,1),z,336,0,[sK,con,Rm])))}function JSn(){JSn=N,QQn=Fe((uT(),A(M(fon,1),z,338,0,[oon,oK,son])))}function YSn(){YSn=N,hJn=Fe((_d(),A(M(fJn,1),z,454,0,[ry,_m,aP])))}function ZSn(){ZSn=N,pYn=Fe((CT(),A(M(gYn,1),z,442,0,[CK,jK,EK])))}function nPn(){nPn=N,mYn=Fe((f7(),A(M(Fon,1),z,380,0,[CP,Don,$on])))}function ePn(){ePn=N,LYn=Fe((ET(),A(M(Yon,1),z,381,0,[Jon,IK,Qon])))}function tPn(){tPn=N,xYn=Fe((sT(),A(M(Xon,1),z,293,0,[PK,Won,Uon])))}function iPn(){iPn=N,iZn=Fe((w7(),A(M(OK,1),z,437,0,[AP,SP,PP])))}function rPn(){rPn=N,une=Fe((_h(),A(M(Khn,1),z,334,0,[HP,F1,i9])))}function cPn(){cPn=N,tne=Fe((sf(),A(M(Phn,1),z,272,0,[jv,cw,Ev])))}function Pde(){return Ti(),A(M(Ghn,1),z,98,0,[ql,jf,Tv,td,jh,Ac])}function wa(n,e){return!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),NF(n.o,e)}function Ide(n){return!n.g&&(n.g=new Qy),!n.g.d&&(n.g.d=new Cmn(n)),n.g.d}function Ode(n){return!n.g&&(n.g=new Qy),!n.g.a&&(n.g.a=new Tmn(n)),n.g.a}function Dde(n){return!n.g&&(n.g=new Qy),!n.g.b&&(n.g.b=new Emn(n)),n.g.b}function N8(n){return!n.g&&(n.g=new Qy),!n.g.c&&(n.g.c=new Mmn(n)),n.g.c}function $de(n,e,t){var i,r;for(r=new H3(e,n),i=0;it||e=0?n._g(t,!0,!0):Yd(n,e,!0)}function Qde(n,e){return Zt(K(Y(k(n,(G(),k0)))),K(Y(k(e,k0))))}function aPn(){aPn=N,aYn=Xd(Xd(Dj(new hi,(c4(),qm)),(k6(),pP)),aK)}function Jde(n,e,t){var i;return i=tDn(n,e,t),n.b=new tT(i.c.length),JY(n,i)}function Yde(n){if(n.b<=0)throw T(new ic);return--n.b,n.a-=n.c.c,Q(n.a)}function Zde(n){var e;if(!n.a)throw T(new gTn);return e=n.a,n.a=At(n.a),e}function n0e(n){for(;!n.a;)if(!nEn(n.c,new Xvn(n)))return!1;return!0}function $2(n){var e;return pe(n),I(n,198)?(e=u(n,198),e):new dvn(n)}function e0e(n){DC(),u(n.We((Xe(),rw)),174).Fc((Tu(),Ty)),n.Ye(eH,null)}function DC(){DC=N,SZn=new n2n,IZn=new e2n,PZn=Rwe((Xe(),eH),SZn,_l,IZn)}function $C(){$C=N,Ion=new sz("LEAF_NUMBER",0),TK=new sz("NODE_SIZE",1)}function t0e(n,e,t){n.a=e,n.c=t,n.b.a.$b(),_s(n.d),n.e.a.c=F(Zn,rn,1,0,5,1)}function $$(n){n.a=F(be,Le,25,n.b+1,15,1),n.c=F(be,Le,25,n.b,15,1),n.d=0}function i0e(n,e){n.a.ue(e.d,n.b)>0&&(W(n.c,new QU(e.c,e.d,n.d)),n.b=e.d)}function zX(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.g[e]}function dPn(n,e,t){if(W3(n,t),t!=null&&!n.wj(t))throw T(new xI);return t}function bPn(n){var e;if(n.Ek())for(e=n.i-1;e>=0;--e)D(n,e);return gX(n)}function r0e(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function c0e(n,e){var t,i;return LAn(e),t=(i=n.slice(0,e),WX(i,n)),t.length=e,t}function S3(n,e,t,i){var r;i=(Ow(),i||Lin),r=n.slice(e,t),hY(r,n,e,t,-e,i)}function Cs(n,e,t,i,r){return e<0?Yd(n,t,i):u(t,66).Nj().Pj(n,n.yh(),e,i,r)}function u0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function s0e(n){return I(n,172)?""+u(n,172).a:n==null?null:Lr(n)}function wPn(n,e){if(e.a)throw T(new _r(wKn));ri(n.a,e),e.a=n,!n.j&&(n.j=e)}function UX(n,e){FO.call(this,e.rd(),e.qd()&-16449),_n(n),this.a=n,this.c=e}function gPn(n,e){var t,i;return i=e/n.c.Hd().gc()|0,t=e%n.c.Hd().gc(),D2(n,i,t)}function Cu(){Cu=N,Xf=new oO(Y2,0),Ol=new oO(I4,1),Co=new oO(Z2,2)}function FC(){FC=N,vR=new Lj("All",0),qin=new lyn,Gin=new Eyn,zin=new ayn}function pPn(){pPn=N,Dzn=Fe((FC(),A(M(WA,1),z,297,0,[vR,qin,Gin,zin])))}function vPn(){vPn=N,EWn=Fe((G3(),A(M(jWn,1),z,405,0,[b0,Hb,Kb,kg])))}function mPn(){mPn=N,CUn=Fe((Hd(),A(M(EUn,1),z,406,0,[Ok,Ik,MR,AR])))}function kPn(){kPn=N,MUn=Fe((K2(),A(M(TUn,1),z,323,0,[$k,Dk,Fk,xk])))}function yPn(){yPn=N,PUn=Fe((d6(),A(M(SUn,1),z,394,0,[Lk,YA,ZA,Nk])))}function jPn(){jPn=N,WJn=Fe((c4(),A(M(won,1),z,393,0,[gP,qm,uy,Gm])))}function EPn(){EPn=N,HWn=Fe((aT(),A(M(KWn,1),z,360,0,[QR,TS,MS,Hk])))}function CPn(){CPn=N,FYn=Fe((qT(),A(M(zon,1),z,340,0,[SK,qon,Gon,Hon])))}function TPn(){TPn=N,JWn=Fe((ff(),A(M(QWn,1),z,411,0,[lp,nv,ev,JR])))}function MPn(){MPn=N,_Qn=Fe((wb(),A(M(Z_,1),z,197,0,[fP,Y_,xg,Fg])))}function APn(){APn=N,Ene=Fe((Xu(),A(M(jne,1),z,396,0,[ws,Yhn,Jhn,Zhn])))}function SPn(){SPn=N,one=Fe((cs(),A(M(sne,1),z,285,0,[Ey,kh,Kl,jy])))}function PPn(){PPn=N,ine=Fe((Hh(),A(M(cH,1),z,218,0,[rH,yy,Cv,Sp])))}function IPn(){IPn=N,kne=Fe((AT(),A(M(Qhn,1),z,311,0,[oH,Whn,Vhn,Xhn])))}function OPn(){OPn=N,vne=Fe((Vu(),A(M(o9,1),z,374,0,[Ay,id,My,uw])))}function DPn(){DPn=N,mM(),F1n=$t,Tee=Vt,x1n=new S9($t),Mee=new S9(Vt)}function K8(){K8=N,Vcn=new VG(Xh,0),xS=new VG("IMPROVE_STRAIGHTNESS",1)}function o0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function f0e(n,e){return h3(),W(n,new Pi(e,Q(e.e.c.length+e.g.c.length)))}function WX(n,e){return U8(e)!=10&&A(Du(e),e.hm,e.__elementTypeId$,U8(e),n),n}function Qc(n,e){var t;return t=Fr(n,e,0),t==-1?!1:(h1(n,t),!0)}function $Pn(n,e){var t;return t=u(O2(n.e,e),387),t?(ZU(t),t.e):null}function P3(n){var e;return $r(n)&&(e=0-n,!isNaN(e))?e:bl(z3(n))}function Fr(n,e,t){for(;t=0?BT(n,t,!0,!0):Yd(n,e,!0)}function YX(n,e){Qv();var t,i;return t=S2(n),i=S2(e),!!t&&!!i&&!V$n(t.k,i.k)}function a0e(n,e){Zc(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function d0e(n,e){nu(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function b0e(n,e){Rd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function w0e(n,e){Bd(n,e==null||jE((_n(e),e))||isNaN((_n(e),e))?0:(_n(e),e))}function BPn(n){(this.q?this.q:(Pn(),Pn(),ph)).Ac(n.q?n.q:(Pn(),Pn(),ph))}function g0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function p0e(n,e){return I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n)}function RPn(n,e){vrn=new Wy,AUn=e,gm=n,u(gm.b,65),BX(gm,vrn,null),DRn(gm)}function B$(n,e,t){var i;return i=n.g[e],k5(n,e,n.oi(e,t)),n.gi(e,t,i),n.ci(),i}function BC(n,e){var t;return t=n.Xc(e),t>=0?(n.$c(t),!0):!1}function R$(n){var e;return n.d!=n.r&&(e=qs(n),n.e=!!e&&e.Cj()==kGn,n.d=e),n.e}function _$(n,e){var t;for(pe(n),pe(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function xd(n,e){var t;return t=u(te(n.e,e),387),t?(Oyn(n,t),t.e):null}function _Pn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function qr(n,e){var t,i;return Ta(n),i=new FX(e,n.a),t=new iEn(i),new $n(n,t)}function ub(n,e){var t=n.a[e],i=(cF(),dR)[typeof t];return i?i(t):tQ(typeof t)}function v0e(n){switch(n.g){case 0:return nt;case 1:return-1;default:return 0}}function m0e(n){return mJ(n,(I3(),pin))<0?-xce(z3(n)):n.l+n.m*J2+n.h*$a}function U8(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function K$(n){var e;return e=n.b.c.length==0?null:un(n.b,0),e!=null&&J$(n,0),e}function KPn(n,e){for(;e[0]=0;)++e[0]}function W8(n,e){this.e=e,this.a=FOn(n),this.a<54?this.f=$d(n):this.c=m7(n)}function HPn(n,e,t,i){Je(),cd.call(this,26),this.c=n,this.a=e,this.d=t,this.b=i}function sh(n,e,t){var i,r;for(i=10,r=0;rn.a[i]&&(i=t);return i}function T0e(n,e){var t;return t=zd(n.e.c,e.e.c),t==0?Zt(n.e.d,e.e.d):t}function Fw(n,e){return e.e==0||n.e==0?W4:(a4(),Hx(n,e))}function M0e(n,e){if(!n)throw T(new Hn(P8e("Enum constant undefined: %s",e)))}function X5(){X5=N,MWn=new San,AWn=new Man,CWn=new $an,TWn=new Fan,SWn=new xan}function RC(){RC=N,Yin=new qG("BY_SIZE",0),jR=new qG("BY_SIZE_AND_SHAPE",1)}function _C(){_C=N,$R=new GG("EADES",0),tS=new GG("FRUCHTERMAN_REINGOLD",1)}function V8(){V8=N,$S=new XG("READING_DIRECTION",0),Ucn=new XG("ROTATION",1)}function GPn(){GPn=N,hXn=Fe((Pa(),A(M(zcn,1),z,335,0,[f_,Gcn,h_,Em,jm])))}function zPn(){zPn=N,KQn=Fe((b6(),A(M(Usn,1),z,315,0,[zsn,nK,eK,Lm,Nm])))}function UPn(){UPn=N,ZWn=Fe((Vw(),A(M(YWn,1),z,363,0,[SS,IS,OS,PS,AS])))}function WPn(){WPn=N,EXn=Fe((Ss(),A(M(jun,1),z,163,0,[Qk,Sm,xl,Pm,Ub])))}function XPn(){XPn=N,oZn=Fe((P7(),A(M(gfn,1),z,316,0,[dfn,xK,wfn,LK,bfn])))}function VPn(){VPn=N,OZn=Fe((Ho(),A(M($1,1),z,175,0,[Xn,pi,Yf,Ya,D1])))}function QPn(){QPn=N,tZn=Fe((g4(),A(M(eZn,1),z,355,0,[Ng,Ep,Qm,Vm,Jm])))}function JPn(){JPn=N,vWn=Fe((Qi(),A(M(Hrn,1),z,356,0,[Vf,$l,Hc,Cc,Ir])))}function YPn(){YPn=N,ene=Fe((sr(),A(M(e9,1),z,103,0,[mh,Ao,Zs,Jh,Yh])))}function ZPn(){ZPn=N,hne=Fe((qw(),A(M(c9,1),z,249,0,[Hl,Cy,Hhn,r9,qhn])))}function nIn(){nIn=N,dne=Fe((J(),A(M(Zi,1),hc,61,0,[Xr,Kn,Vn,ae,Gn])))}function H$(n,e){var t;return t=u(te(n.a,e),134),t||(t=new pI,it(n.a,e,t)),t}function eIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.a==n:!1}function tIn(n){var e;return e=u(k(n,(G(),p0)),305),e?e.i==n:!1}function iIn(n,e){return _n(e),mW(n),n.d.Ob()?(e.td(n.d.Pb()),!0):!1}function KC(n){return fc(n,nt)>0?nt:fc(n,Bi)<0?Bi:ge(n)}function sb(n){return n<3?(is(n,J_n),n+1):n=0&&e=-.01&&n.a<=bf&&(n.a=0),n.b>=-.01&&n.b<=bf&&(n.b=0),n}function cIn(n,e){return e==(sD(),sD(),Pzn)?n.toLocaleLowerCase():n.toLowerCase()}function nV(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(Ph(n),n.o)}function Er(n){var e,t;t=(e=new RI,e),me((!n.q&&(n.q=new V(co,n,11,10)),n.q),t)}function A0e(n,e){var t;return t=e>0?e-1:e,e8n(Kie(IIn(YU(new zp,t),n.n),n.j),n.k)}function S0e(n,e,t,i){var r;n.j=-1,EY(n,iY(n,e,t),(er(),r=u(e,66).Mj(),r.Ok(i)))}function uIn(n){this.g=n,this.f=new X,this.a=j.Math.min(this.g.c.c,this.g.d.c)}function sIn(n){this.b=new X,this.a=new X,this.c=new X,this.d=new X,this.e=n}function oIn(n,e){this.a=new we,this.e=new we,this.b=(i6(),oP),this.c=n,this.b=e}function fIn(n,e,t){kE.call(this),eV(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function hIn(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(aj(),fR)}function Ld(n){if(n<0)throw T(new Hn("Illegal Capacity: "+n));this.g=this.ri(n)}function P0e(n,e){if(0>n||n>e)throw T(new bG("fromIndex: 0, toIndex: "+n+tnn+e))}function I0e(n){var e;if(n.a==n.b.a)throw T(new ic);return e=n.a,n.c=e,n.a=n.a.e,e}function HC(n){var e;z0(!!n.c),e=n.c.a,Ts(n.d,n.c),n.b==n.c?n.b=e:--n.a,n.c=null}function qC(n,e){var t;return Ta(n),t=new DTn(n,n.a.rd(),n.a.qd()|4,e),new $n(n,t)}function O0e(n,e){var t,i;return t=u(ab(n.d,e),14),t?(i=e,n.e.pc(i,t)):null}function GC(n,e){var t,i;for(i=n.Kc();i.Ob();)t=u(i.Pb(),70),H(t,(G(),pp),e)}function D0e(n){var e;return e=K(Y(k(n,(nn(),S1)))),e<0&&(e=0,H(n,S1,e)),e}function $0e(n,e,t){var i;i=j.Math.max(0,n.b/2-.5),g6(t,i,1),W(e,new L7n(t,i))}function F0e(n,e,t){var i;return i=n.a.e[u(e.a,10).p]-n.a.e[u(t.a,10).p],Gt(m8(i))}function lIn(n,e,t,i,r,c){var o;o=C$(i),Hi(o,r),Ei(o,c),Tn(n.a,i,new EE(o,e,t.f))}function aIn(n,e){var t;if(t=R7(n.Tg(),e),!t)throw T(new Hn(Pl+e+MB));return t}function ob(n,e){var t;for(t=n;At(t);)if(t=At(t),t==e)return!0;return!1}function x0e(n,e){var t,i,r;for(i=e.a.cd(),t=u(e.a.dd(),14).gc(),r=0;r0&&(n.a/=e,n.b/=e),n}function ts(n){var e;return n.w?n.w:(e=Gle(n),e&&!e.kh()&&(n.w=e),e)}function q0e(n){var e;return n==null?null:(e=u(n,190),Gve(e,e.length))}function D(n,e){if(n.g==null||e>=n.i)throw T(new xO(e,n.i));return n.li(e,n.g[e])}function G0e(n){var e,t;for(e=n.a.d.j,t=n.c.d.j;e!=t;)ko(n.b,e),e=yT(e);ko(n.b,e)}function z0e(n){var e;for(e=0;e=14&&e<=16))),n}function gIn(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function pIn(n,e,t){var i,r;i=e;do r=K(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p];while(i!=e)}function O3(n,e){var t,i;i=n.a,t=Tge(n,e,null),i!=e&&!n.e&&(t=j4(n,e,t)),t&&t.Fi()}function tV(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)}function iV(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)}function X0e(n,e){return yl(),Uc(n.b.c.length-n.e.c.length,e.b.c.length-e.e.c.length)}function xw(n,e){return Uie(J5(n,e,ge(Ni(ah,rh(ge(Ni(e==null?0:mt(e),dh)),15)))))}function vIn(){vIn=N,$Wn=Fe((Qn(),A(M(zR,1),z,267,0,[ti,gi,Xt,Tc,Qu,vf])))}function mIn(){mIn=N,_Zn=Fe((vb(),A(M(UK,1),z,291,0,[zK,gy,wy,GK,dy,by])))}function kIn(){kIn=N,FZn=Fe((oh(),A(M(Rfn,1),z,248,0,[HK,ly,ay,xP,$P,FP])))}function yIn(){yIn=N,uXn=Fe((q2(),A(M(rv,1),z,227,0,[iv,ym,tv,qb,Cg,Eg])))}function jIn(){jIn=N,pXn=Fe((h4(),A(M(sun,1),z,275,0,[Cm,iun,uun,cun,run,tun])))}function EIn(){EIn=N,gXn=Fe((A7(),A(M(eun,1),z,274,0,[LS,Ycn,nun,Jcn,Zcn,p_])))}function CIn(){CIn=N,BQn=Fe((JT(),A(M(Hsn,1),z,313,0,[Q_,_sn,V_,Rsn,Ksn,sP])))}function TIn(){TIn=N,bXn=Fe((eM(),A(M(Xcn,1),z,276,0,[d_,a_,w_,b_,g_,FS])))}function MIn(){MIn=N,VJn=Fe((k6(),A(M(XJn,1),z,327,0,[pP,aK,bK,dK,wK,lK])))}function AIn(){AIn=N,ane=Fe((Tu(),A(M(qP,1),z,273,0,[Gl,n1,Ty,s9,u9,Pp])))}function SIn(){SIn=N,rne=Fe((ZT(),A(M(xhn,1),z,312,0,[uH,Dhn,Fhn,Ihn,$hn,Ohn])))}function V0e(){return jb(),A(M(lr,1),z,93,0,[So,Zh,Po,Oo,yh,eo,as,Io,no])}function UC(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,0,t,n.a))}function WC(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,1,t,n.b))}function D3(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,3,t,n.b))}function Bd(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,3,t,n.f))}function Rd(n,e){var t;t=n.g,n.g=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,4,t,n.g))}function Zc(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,5,t,n.i))}function nu(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,6,t,n.j))}function $3(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,1,t,n.j))}function F3(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,4,t,n.c))}function x3(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&et(n,new rb(n,2,t,n.k))}function G$(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,2,t,n.d))}function d1(n,e){var t;t=n.s,n.s=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,4,t,n.s))}function hb(n,e){var t;t=n.t,n.t=e,n.Db&4&&!(n.Db&1)&&et(n,new p$(n,5,t,n.t))}function L3(n,e){var t;t=n.F,n.F=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,5,t,e))}function Q8(n,e){var t;return t=u(te(($j(),eI),n),55),t?t.xj(e):F(Zn,rn,1,e,5,1)}function Bh(n,e){var t,i;return t=e in n.a,t&&(i=Dh(n,e).he(),i)?i.a:null}function Q0e(n,e){var t,i,r;return t=(i=(ad(),r=new QH,r),e&&zY(i,e),i),aV(t,n),t}function PIn(n,e,t){if(W3(n,t),!n.Bk()&&t!=null&&!n.wj(t))throw T(new xI);return t}function IIn(n,e){return n.n=e,n.n?(n.f=new X,n.e=new X):(n.f=null,n.e=null),n}function Me(n,e,t,i,r,c){var o;return o=LD(n,e),DIn(t,o),o.i=r?8:0,o.f=i,o.e=r,o.g=c,o}function rV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function cV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function uV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function sV(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function oV(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function OIn(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r=0),Q2e(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function fV(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(!n.c&&(n.c=h7(n.f)),n.c).e}function mo(n){if(!(n>=0))throw T(new Hn("tolerance ("+n+") must be >= 0"));return n}function N3(){return _K||(_K=new kBn,_w(_K,A(M(mg,1),rn,130,0,[new nq]))),_K}function ur(){ur=N,Bm=new kO(K6,0),Au=new kO("INPUT",1),xc=new kO("OUTPUT",2)}function VC(){VC=N,Hcn=new bO("ARD",0),DS=new bO("MSD",1),o_=new bO("MANUAL",2)}function _d(){_d=N,ry=new TO("BARYCENTER",0),_m=new TO(rHn,1),aP=new TO(cHn,2)}function J8(n,e){var t;if(t=n.gc(),e<0||e>t)throw T(new V0(e,t));return new AU(n,e)}function xIn(n,e){var t;return I(e,42)?n.c.Mc(e):(t=NF(n,e),IT(n,e),t)}function wr(n,e,t){return Ca(n,e),Ic(n,t),d1(n,0),hb(n,1),p1(n,!0),g1(n,!0),n}function is(n,e){if(n<0)throw T(new Hn(e+" cannot be negative but was: "+n));return n}function LIn(n,e){var t,i;for(t=0,i=n.gc();t0?u(un(t.a,i-1),10):null}function Q5(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,2,t,n.k))}function JC(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,8,t,n.f))}function YC(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,7,t,n.i))}function aV(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,8,t,n.a))}function dV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,0,t,n.b))}function bV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,0,t,n.b))}function wV(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.c))}function gV(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.c))}function U$(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,4,t,n.c))}function pV(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,1,t,n.d))}function W$(n,e){var t;t=n.D,n.D=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,2,t,n.D))}function X$(n,e){n.r>0&&n.c0&&n.g!=0&&X$(n.i,e/n.r*n.i.d))}function cbe(n,e,t){var i;n.b=e,n.a=t,i=(n.a&512)==512?new T9n:new ZH,n.c=y7e(i,n.b,n.a)}function zIn(n,e){return zh(n.e,e)?(er(),R$(e)?new IE(e,n):new i8(e,n)):new Nkn(e,n)}function ZC(n,e){return zie(Y5(n.a,e,ge(Ni(ah,rh(ge(Ni(e==null?0:mt(e),dh)),15)))))}function ube(n,e,t){return cb(n,new Hvn(e),new mln,new qvn(t),A(M(Nu,1),z,132,0,[]))}function sbe(n){var e,t;return 0>n?new PG:(e=n+1,t=new wSn(e,n),new oU(null,t))}function obe(n,e){Pn();var t;return t=new s2(1),mi(n)?kr(t,n,e):_c(t.f,n,e),new DI(t)}function fbe(n,e){var t,i;return t=n.o+n.p,i=e.o+e.p,te?(e<<=1,e>0?e:L6):e}function V$(n){switch(Rz(n.e!=3),n.e){case 2:return!1;case 0:return!0}return wde(n)}function WIn(n,e){var t;return I(e,8)?(t=u(e,8),n.a==t.a&&n.b==t.b):!1}function Q$(n,e,t){var i,r,c;return c=e>>5,r=e&31,i=ci(J0(n.n[t][c],ge(Ih(r,1))),3),i}function lbe(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),XT(n,t.cd(),t.dd())}function abe(n,e){var t;t=new Wy,u(e.b,65),u(e.b,65),u(e.b,65),Yc(e.a,new BU(n,t,e))}function vV(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,21,t,n.b))}function mV(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,11,t,n.d))}function nT(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&et(n,new wi(n,1,13,t,n.j))}function XIn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i>>31;i!=0&&(n[t]=i)}function jbe(n,e){Pn();var t,i;for(i=new X,t=0;t0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Dt(n,e){ME.call(this,ree,n,e),this.b=this,this.a=Kc(n.Tg(),On(this.e.Tg(),this.c))}function Z5(n,e){var t,i;for(_n(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),n.zc(t.cd(),t.dd())}function Dbe(n,e,t){var i;for(i=t.Kc();i.Ob();)if(!yC(n,e,i.Pb()))return!1;return!0}function $be(n,e,t,i,r){var c;return t&&(c=yt(e.Tg(),n.c),r=t.gh(e,-1-(c==-1?i:c),null,r)),r}function Fbe(n,e,t,i,r){var c;return t&&(c=yt(e.Tg(),n.c),r=t.ih(e,-1-(c==-1?i:c),null,r)),r}function dOn(n){var e;if(n.b==-2){if(n.e==0)e=-1;else for(e=0;n.a[e]==0;e++);n.b=e}return n.b}function bOn(n){switch(n.g){case 2:return J(),Gn;case 4:return J(),Vn;default:return n}}function wOn(n){switch(n.g){case 1:return J(),ae;case 3:return J(),Kn;default:return n}}function xbe(n){var e,t,i;return n.j==(J(),Kn)&&(e=GLn(n),t=au(e,Vn),i=au(e,Gn),i||i&&t)}function Lbe(n){var e,t;return e=u(n.e&&n.e(),9),t=u(IW(e,e.length),9),new ks(e,t,e.length)}function Nbe(n,e){le(e,iHn,1),TQ(ire(new tj((Vv(),new GD(n,!1,!1,new BH))))),ce(e)}function Y8(n,e){return qn(),mi(n)?DX(n,Ce(e)):G0(n)?TD(n,Y(e)):q0(n)?Kfe(n,sn(e)):n.wd(e)}function TV(n,e){e.q=n,n.d=j.Math.max(n.d,e.r),n.b+=e.d+(n.a.c.length==0?0:n.c),W(n.a,e)}function R3(n,e){var t,i,r,c;return r=n.c,t=n.c+n.b,c=n.d,i=n.d+n.a,e.a>r&&e.ac&&e.b1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw T(new ic)}function Vbe(n){gyn();var e;return M7n(hK,n)||(e=new Zwn,e.a=n,wU(hK,n,e)),u(br(hK,n),635)}function Ks(n){var e,t,i,r;return r=n,i=0,r<0&&(r+=$a,i=Wh),t=Gt(r/J2),e=Gt(r-t*J2),Bc(e,t,i)}function Z8(n){var e,t,i;for(i=0,t=new o2(n.a);t.a>22),r=n.h+e.h+(i>>22),Bc(t&Lu,i&Lu,r&Wh)}function xOn(n,e){var t,i,r;return t=n.l-e.l,i=n.m-e.m+(t>>22),r=n.h-e.h+(i>>22),Bc(t&Lu,i&Lu,r&Wh)}function i7(n){var e;return n<128?(e=(QEn(),yin)[n],!e&&(e=yin[n]=new wq(n)),e):new wq(n)}function jt(n){var e;return I(n,78)?n:(e=n&&n.__java$exception,e||(e=new CDn(n),Kmn(e)),e)}function r7(n){if(I(n,186))return u(n,118);if(n)return null;throw T(new c2(Iqn))}function LOn(n,e){if(e==null)return!1;for(;n.a!=n.b;)if(tt(e,vT(n)))return!0;return!1}function OV(n){return n.a.Ob()?!0:n.a!=n.d?!1:(n.a=new lX(n.e.f),n.a.Ob())}function Yt(n,e){var t,i;return t=e.Pc(),i=t.length,i==0?!1:(GU(n.c,n.c.length,t),!0)}function hwe(n,e,t){var i,r;for(r=e.vc().Kc();r.Ob();)i=u(r.Pb(),42),n.yc(i.cd(),i.dd(),t);return n}function NOn(n,e){var t,i;for(i=new E(n.b);i.a=0,"Negative initial capacity"),TE(e>=0,"Non-positive load factor"),Eu(this)}function uF(n,e,t){return n>=128?!1:n<64?b5(ci(Ih(1,n),t),0):b5(ci(Ih(1,n-64),e),0)}function mwe(n,e){return!n||!e||n==e?!1:zd(n.b.c,e.b.c+e.b.b)<0&&zd(e.b.c,n.b.c+n.b.b)<0}function VOn(n){var e,t,i;return t=n.n,i=n.o,e=n.d,new ys(t.a-e.b,t.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function kwe(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;ii)throw T(new V0(e,i));return n.hi()&&(t=aMn(n,t)),n.Vh(e,t)}function s7(n,e,t){return t==null?(!n.q&&(n.q=new we),O2(n.q,e)):(!n.q&&(n.q=new we),it(n.q,e,t)),n}function H(n,e,t){return t==null?(!n.q&&(n.q=new we),O2(n.q,e)):(!n.q&&(n.q=new we),it(n.q,e,t)),n}function QOn(n){var e,t;return t=new TC,Sr(t,n),H(t,(dl(),hp),n),e=new we,Cye(n,t,e),QEe(n,t,e),t}function Ewe(n){eg();var e,t,i;for(t=F(ai,q,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,t[e]=r3e(i,n);return t}function JOn(n,e){var t,i,r,c;for(t=!1,i=n.a[e].length,c=0;c>=1);return e}function ZOn(n){var e,t;return t=x7(n.h),t==32?(e=x7(n.m),e==32?x7(n.l)+32:e+20-10):t-12}function t6(n){var e;return e=n.a[n.b],e==null?null:(Mt(n.a,n.b,null),n.b=n.b+1&n.a.length-1,e)}function nDn(n){var e,t;return e=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,t=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,e||t}function bT(n,e,t){var i,r;return i=new I$(e,t),r=new dI,n.b=zNn(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function eDn(n,e,t){var i,r,c,o;for(o=c6(e,t),c=0,r=o.Kc();r.Ob();)i=u(r.Pb(),11),it(n.c,i,Q(c++))}function wl(n){var e,t;for(t=new E(n.a.b);t.at&&(t=n[e]);return t}function tDn(n,e,t){var i;return i=new X,XY(n,e,i,(J(),Vn),!0,!1),XY(n,t,i,Gn,!1,!1),i}function oF(n,e,t){var i,r,c,o;return c=null,o=e,r=Fd(o,"labels"),i=new jkn(n,t),c=(Hme(i.a,i.b,r),r),c}function Twe(n,e,t,i){var r;return r=xY(n,e,t,i),!r&&(r=Mge(n,t,i),r&&!rg(n,e,r))?null:r}function Mwe(n,e,t,i){var r;return r=LY(n,e,t,i),!r&&(r=TF(n,t,i),r&&!rg(n,e,r))?null:r}function iDn(n,e){var t;for(t=0;t1||e>=0&&n.b<3)}function o7(n){var e,t,i;for(e=new hu,i=_e(n,0);i.b!=i.d.c;)t=u(Re(i),8),s3(e,0,new mr(t));return e}function ja(n){var e,t;for(t=new E(n.a.b);t.ai?1:0}function QV(n,e){return ANn(n,e)?(Tn(n.b,u(k(e,(G(),Gb)),21),e),Ke(n.a,e),!0):!1}function Bwe(n){var e,t;e=u(k(n,(G(),Mu)),10),e&&(t=e.c,Qc(t.a,e),t.a.c.length==0&&Qc(Gi(e).b,t))}function fDn(n){return pf?F($zn,lKn,572,0,0,1):u(lf(n.a,F($zn,lKn,572,n.a.c.length,0,1)),842)}function Rwe(n,e,t,i){return QE(),new GI(A(M(Ha,1),OM,42,0,[(ex(n,e),new bd(n,e)),(ex(t,i),new bd(t,i))]))}function Rw(n,e,t){var i,r;return r=(i=new RI,i),wr(r,e,t),me((!n.q&&(n.q=new V(co,n,11,10)),n.q),r),r}function aF(n){var e,t,i,r;for(r=lre($ne,n),t=r.length,i=F(tn,q,2,t,6,1),e=0;e=n.b.c.length||(JV(n,2*e+1),t=2*e+2,t=0&&n[i]===e[i];i--);return i<0?0:cO(ci(n[i],fr),ci(e[i],fr))?-1:1}function _we(n,e){var t,i;for(i=_e(n,0);i.b!=i.d.c;)t=u(Re(i),214),t.e.length>0&&(e.td(t),t.i&&Fge(t))}function bF(n,e){var t,i;return i=u(Rn(n.a,4),126),t=F(bH,qB,415,e,0,1),i!=null&&gc(i,0,t,0,i.length),t}function lDn(n,e){var t;return t=new zx((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,e),n.e!=null||(t.c=n),t}function Kwe(n,e){var t,i;for(i=n.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),14),t.Hc(e))return!0;return!1}function wF(n,e,t,i,r){var c,o;for(o=t;o<=r;o++)for(c=e;c<=i;c++)if(zw(n,c,o))return!0;return!1}function aDn(n,e,t){var i,r,c,o;for(_n(t),o=!1,c=n.Zc(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function Hwe(n,e){var t;return n===e?!0:I(e,83)?(t=u(e,83),ZJ(Ed(n),t.vc())):!1}function dDn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),42),n.re(e,i.dd()))return!0;return!1}function bDn(n,e,t){return n.d[e.p][t.p]||(Bpe(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function W3(n,e){if(!n.ai()&&e==null)throw T(new Hn("The 'no null' constraint is violated"));return e}function X3(n,e){n.D==null&&n.B!=null&&(n.D=n.B,n.B=null),W$(n,e==null?null:(_n(e),e)),n.C&&n.yk(null)}function qwe(n,e){var t;return!n||n==e||!li(e,(G(),m0))?!1:(t=u(k(e,(G(),m0)),10),t!=n)}function gF(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.pl()}}function wDn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n.ql()}}function gDn(n){cMn.call(this,"The given string does not match the expected format for individual spacings.",n)}function Xu(){Xu=N,ws=new Jj("ELK",0),Yhn=new Jj("JSON",1),Jhn=new Jj("DOT",2),Zhn=new Jj("SVG",3)}function f7(){f7=N,CP=new AO(Xh,0),Don=new AO("RADIAL_COMPACTION",1),$on=new AO("WEDGE_COMPACTION",2)}function hf(){hf=N,Win=new uO("CONCURRENT",0),hs=new uO("IDENTITY_FINISH",1),Rb=new uO("UNORDERED",2)}function pF(){pF=N,jrn=(Aj(),SR),yrn=new In(pnn,jrn),OUn=new kt(vnn),DUn=new kt(mnn),$Un=new kt(knn)}function V3(){V3=N,xcn=new j0n,Lcn=new E0n,zWn=new C0n,GWn=new T0n,qWn=new M0n,Fcn=(_n(qWn),new uln)}function Q3(){Q3=N,sK=new jO("CONSERVATIVE",0),con=new jO("CONSERVATIVE_SOFT",1),Rm=new jO("SLOPPY",2)}function wT(){wT=N,_hn=new vd(15),cne=new tr((Xe(),nd),_hn),t9=Mp,Lhn=HZn,Nhn=Za,Rhn=Kg,Bhn=BP}function vF(n,e,t){var i,r,c;for(i=new Ct,c=_e(t,0);c.b!=c.d.c;)r=u(Re(c),8),Ke(i,new mr(r));aDn(n,e,i)}function Gwe(n){var e,t,i;for(e=0,i=F(ai,q,8,n.b,0,1),t=_e(n,0);t.b!=t.d.c;)i[e++]=u(Re(t),8);return i}function ZV(n){var e;return e=(!n.a&&(n.a=new V(e1,n,9,5)),n.a),e.i!=0?ore(u(D(e,0),678)):null}function zwe(n,e){var t;return t=qi(n,e),cO(h$(n,e),0)|Cre(h$(n,t),0)?t:qi(IM,h$(J0(t,63),1))}function Uwe(n,e){var t;t=cn((xF(),uP))!=null&&e.wg()!=null?K(Y(e.wg()))/K(Y(cn(uP))):1,it(n.b,e,t)}function Wwe(n,e){var t,i;return t=u(n.d.Bc(e),14),t?(i=n.e.hc(),i.Gc(t),n.e.d-=t.gc(),t.$b(),i):null}function nQ(n,e){var t,i;if(i=n.c[e],i!=0)for(n.c[e]=0,n.d-=i,t=e+1;t0)return a3(e-1,n.a.c.length),h1(n.a,e-1);throw T(new qmn)}function Xwe(n,e,t){if(e<0)throw T(new vr(_Hn+e));ee)throw T(new Hn(xM+n+aKn+e));if(n<0||e>t)throw T(new bG(xM+n+rnn+e+tnn+t))}function mDn(n){if(!n.a||!(n.a.i&8))throw T(new Dr("Enumeration class expected for layout option "+n.f))}function lb(n){var e;++n.j,n.i==0?n.g=null:n.ihA?n-t>hA:t-n>hA}function kF(n,e){return!n||e&&!n.j||I(n,124)&&u(n,124).a.b==0?0:n.Re()}function pT(n,e){return!n||e&&!n.k||I(n,124)&&u(n,124).a.a==0?0:n.Se()}function h7(n){return jl(),n<0?n!=-1?new VQ(-1,-n):gR:n<=10?xin[Gt(n)]:new VQ(1,n)}function tQ(n){throw cF(),T(new L9n("Unexpected typeof result '"+n+"'; please report this bug to the GWT team"))}function CDn(n){H9n(),oE(this),eC(this),this.e=n,NNn(this,n),this.g=n==null?iu:Lr(n),this.a="",this.b=n,this.a=""}function iQ(){this.a=new qgn,this.f=new O6n(this),this.b=new D6n(this),this.i=new $6n(this),this.e=new F6n(this)}function TDn(){iie.call(this,new _X(sb(16))),is(2,W_n),this.b=2,this.a=new RW(null,null,0,null),$9(this.a,this.a)}function i6(){i6=N,J_=new vO("DUMMY_NODE_OVER",0),qsn=new vO("DUMMY_NODE_UNDER",1),oP=new vO("EQUAL",2)}function yF(){yF=N,_R=sMn(A(M(e9,1),z,103,0,[(sr(),Zs),Ao])),KR=sMn(A(M(e9,1),z,103,0,[Yh,Jh]))}function jF(n){return(J(),cu).Hc(n.j)?K(Y(k(n,(G(),hv)))):Gr(A(M(ai,1),q,8,0,[n.i.n,n.n,n.a])).b}function Zwe(n){var e,t,i,r;for(i=n.b.a,t=i.a.ec().Kc();t.Ob();)e=u(t.Pb(),561),r=new pNn(e,n.e,n.f),W(n.g,r)}function Ca(n,e){var t,i,r;i=n.nk(e,null),r=null,e&&(r=(Qp(),t=new ud,t),O3(r,n.r)),i=af(n,r,i),i&&i.Fi()}function nge(n,e){var t,i;for(i=Fu(n.d,1)!=0,t=!0;t;)t=!1,t=e.c.Tf(e.e,i),t=t|_7(n,e,i,!1),i=!i;yV(n)}function rQ(n,e){var t,i,r;return i=!1,t=e.q.d,e.dr&&(JFn(e.q,r),i=t!=e.q.d)),i}function MDn(n,e){var t,i,r,c,o,f,h,l;return h=e.i,l=e.j,i=n.f,r=i.i,c=i.j,o=h-r,f=l-c,t=j.Math.sqrt(o*o+f*f),t}function cQ(n,e){var t,i;return i=OT(n),i||(t=(bL(),Yxn(e)),i=new Fmn(t),me(i.Vk(),n)),i}function l7(n,e){var t,i;return t=u(n.c.Bc(e),14),t?(i=n.hc(),i.Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function ADn(n,e){var t;for(t=0;t=n.c.b:n.a<=n.c.b))throw T(new ic);return e=n.a,n.a+=n.c.c,++n.b,Q(e)}function ige(n){var e;return e=new uIn(n),O8(n.a,SWn,new Ku(A(M(Rk,1),rn,369,0,[e]))),e.d&&W(e.f,e.d),e.f}function EF(n){var e;return e=new Mz(n.a),Sr(e,n),H(e,(G(),rt),n),e.o.a=n.g,e.o.b=n.f,e.n.a=n.i,e.n.b=n.j,e}function rge(n,e,t,i){var r,c;for(c=n.Kc();c.Ob();)r=u(c.Pb(),70),r.n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+t}function cge(n,e,t){var i,r;for(r=e.a.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),57),_Tn(n,i,t))return!0;return!1}function uge(n){var e,t;for(t=new E(n.r);t.a=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function hge(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function FDn(n){var e,t;if(n!=null)for(t=0;t0&&(t=u(un(n.a,n.a.c.length-1),570),QV(t,e))||W(n.a,new dSn(e))}function wge(n){wo();var e,t;e=n.d.c-n.e.c,t=u(n.g,145),Yc(t.b,new _5n(e)),Yc(t.c,new K5n(e)),$i(t.i,new H5n(e))}function BDn(n){var e;return e=new V1,e.a+="VerticalSegment ",rc(e,n.e),e.a+=" ",De(e,Lz(new YI,new E(n.k))),e.a}function gge(n){var e;return e=u(xd(n.c.c,""),229),e||(e=new M2(Vp(Xp(new Zg,""),"Other")),Aa(n.c.c,"",e)),e}function r6(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (name: ",dr(e,n.zb),e.a+=")",e.a)}function hQ(n,e,t){var i,r;return r=n.sb,n.sb=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,4,r,e),t?t.Ei(i):t=i),t}function CF(n,e){var t,i,r;for(t=0,r=zr(n,e).Kc();r.Ob();)i=u(r.Pb(),11),t+=k(i,(G(),Mu))!=null?1:0;return t}function Kw(n,e,t){var i,r,c;for(i=0,c=_e(n,0);c.b!=c.d.c&&(r=K(Y(Re(c))),!(r>t));)r>=e&&++i;return i}function pge(n,e,t){var i,r;return i=new Lh(n.e,3,13,null,(r=e.c,r||(Sn(),Cf)),v1(n,e),!1),t?t.Ei(i):t=i,t}function vge(n,e,t){var i,r;return i=new Lh(n.e,4,13,(r=e.c,r||(Sn(),Cf)),null,v1(n,e),!1),t?t.Ei(i):t=i,t}function lQ(n,e,t){var i,r;return r=n.r,n.r=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,8,r,n.r),t?t.Ei(i):t=i),t}function w1(n,e){var t,i;return t=u(e,676),i=t.vk(),!i&&t.wk(i=I(e,88)?new Fkn(n,u(e,26)):new eAn(n,u(e,148))),i}function a7(n,e,t){var i;n.qi(n.i+1),i=n.oi(e,t),e!=n.i&&gc(n.g,e,n.g,e+1,n.i-e),Mt(n.g,e,i),++n.i,n.bi(e,t),n.ci()}function mge(n,e){var t;return e.a&&(t=e.a.a.length,n.a?De(n.a,n.b):n.a=new Ju(n.d),iAn(n.a,e.a,e.d.length,t)),n}function kge(n,e){var t,i,r,c;if(e.vi(n.a),c=u(Rn(n.a,8),1936),c!=null)for(t=c,i=0,r=t.length;it)throw T(new vr(xM+n+rnn+e+", size: "+t));if(n>e)throw T(new Hn(xM+n+aKn+e))}function As(n,e,t){if(e<0)bY(n,t);else{if(!t.Ij())throw T(new Hn(Pl+t.ne()+em));u(t,66).Nj().Vj(n,n.yh(),e)}}function Ege(n,e,t,i,r,c,o,f){var h;for(h=t;c=i||e=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function zDn(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (source: ",dr(e,n.d),e.a+=")",e.a)}function Tge(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new wi(n,1,5,r,n.a),t?FJ(t,i):t=i),t}function g1(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,2,t,e))}function dQ(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,8,t,e))}function kT(n,e){var t;t=(n.Bb&256)!=0,e?n.Bb|=256:n.Bb&=-257,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,8,t,e))}function p1(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,3,t,e))}function bQ(n,e){var t;t=(n.Bb&512)!=0,e?n.Bb|=512:n.Bb&=-513,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,9,t,e))}function u6(n,e){var t;return n.b==-1&&n.a&&(t=n.a.Gj(),n.b=t?n.c.Xg(n.a.aj(),t):yt(n.c.Tg(),n.a)),n.c.Og(n.b,e)}function Q(n){var e,t;return n>-129&&n<128?(e=n+128,t=(qEn(),jin)[e],!t&&(t=jin[e]=new gq(n)),t):new gq(n)}function J3(n){var e,t;return n>-129&&n<128?(e=n+128,t=(VEn(),Min)[e],!t&&(t=Min[e]=new vq(n)),t):new vq(n)}function wQ(n){var e,t;return e=n.k,e==(Qn(),Xt)?(t=u(k(n,(G(),ec)),61),t==(J(),Kn)||t==ae):!1}function Mge(n,e,t){var i,r,c;return c=(r=b4(n.b,e),r),c&&(i=u(jM(G8(n,c),""),26),i)?xY(n,i,e,t):null}function TF(n,e,t){var i,r,c;return c=(r=b4(n.b,e),r),c&&(i=u(jM(G8(n,c),""),26),i)?LY(n,i,e,t):null}function UDn(n,e){var t,i;for(i=new ie(n);i.e!=i.i.gc();)if(t=u(oe(i),138),B(e)===B(t))return!0;return!1}function s6(n,e,t){var i;if(i=n.gc(),e>i)throw T(new V0(e,i));if(n.hi()&&n.Hc(t))throw T(new Hn(yk));n.Xh(e,t)}function Age(n,e){var t;if(t=xw(n.i,e),t==null)throw T(new Af("Node did not exist in input."));return MV(e,t),null}function Sge(n,e){var t;if(t=R7(n,e),I(t,322))return u(t,34);throw T(new Hn(Pl+e+"' is not a valid attribute"))}function Pge(n,e,t){var i,r;for(r=I(e,99)&&u(e,18).Bb&Yi?new LO(e,n):new H3(e,n),i=0;ie?1:n==e?n==0?Zt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function Bge(n,e){le(e,"Sort end labels",1),Rt(gt(qr(new $n(null,new xn(n.b,16)),new bdn),new wdn),new gdn),ce(e)}function o6(n,e,t){var i,r;return n.ej()?(r=n.fj(),i=Dx(n,e,t),n.$i(n.Zi(7,Q(t),i,e,r)),i):Dx(n,e,t)}function MF(n,e){var t,i,r;n.d==null?(++n.e,--n.f):(r=e.cd(),t=e.Sh(),i=(t&nt)%n.d.length,yde(n,i,hNn(n,i,t,r)))}function Y3(n,e){var t;t=(n.Bb&Eo)!=0,e?n.Bb|=Eo:n.Bb&=-1025,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,10,t,e))}function Z3(n,e){var t;t=(n.Bb&Ib)!=0,e?n.Bb|=Ib:n.Bb&=-4097,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,12,t,e))}function n4(n,e){var t;t=(n.Bb&mu)!=0,e?n.Bb|=mu:n.Bb&=-8193,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,15,t,e))}function e4(n,e){var t;t=(n.Bb&Bb)!=0,e?n.Bb|=Bb:n.Bb&=-2049,n.Db&4&&!(n.Db&1)&&et(n,new vo(n,1,11,t,e))}function Rge(n,e){var t;return t=Zt(n.b.c,e.b.c),t!=0||(t=Zt(n.a.a,e.a.a),t!=0)?t:Zt(n.a.b,e.a.b)}function _ge(n,e){var t;if(t=te(n.k,e),t==null)throw T(new Af("Port did not exist in input."));return MV(e,t),null}function Kge(n){var e,t;for(t=wNn(ts(n)).Kc();t.Ob();)if(e=Ce(t.Pb()),A6(n,e))return Vae((C7n(),zne),e);return null}function Hge(n,e){var t,i,r,c,o;for(o=Kc(n.e.Tg(),e),c=0,t=u(n.g,119),r=0;r>10)+rk&Ut,e[1]=(n&1023)+56320&Ut,Hs(e,0,e.length)}function jT(n){var e,t;return t=u(k(n,(nn(),ls)),103),t==(sr(),mh)?(e=K(Y(k(n,zS))),e>=1?Ao:Jh):t}function zge(n){switch(u(k(n,(nn(),Qh)),218).g){case 1:return new ewn;case 3:return new uwn;default:return new nwn}}function Ta(n){if(n.c)Ta(n.c);else if(n.d)throw T(new Dr("Stream already terminated, can't be modified or used"))}function PF(n){var e;return n.Db&64?yo(n):(e=new Bs(yo(n)),e.a+=" (identifier: ",dr(e,n.k),e.a+=")",e.a)}function QDn(n,e,t){var i,r;return i=(ad(),r=new Xy,r),UC(i,e),WC(i,t),n&&me((!n.a&&(n.a=new Jt(io,n,5)),n.a),i),i}function IF(n,e,t,i){var r,c;return _n(i),_n(t),r=n.xc(e),c=r==null?t:l7n(u(r,15),u(t,14)),c==null?n.Bc(e):n.zc(e,c),c}function Cn(n){var e,t,i,r;return t=(e=u(xo((i=n.gm,r=i.f,r==Ie?i:r)),9),new ks(e,u(bo(e,e.length),9),0)),ko(t,n),t}function Uge(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),t7(t,u(un(e,i.p),14)))return i;return null}function Wge(n,e,t){var i;try{Awe(n,e,t)}catch(r){throw r=jt(r),I(r,597)?(i=r,T(new EX(i))):T(r)}return e}function vl(n,e){var t;return $r(n)&&$r(e)&&(t=n-e,ik>1,n.k=t-1>>1}function OF(){_J();var n,e,t;t=qTe+++Date.now(),n=Gt(j.Math.floor(t*uk))&FM,e=Gt(t-n*enn),this.a=n^1502,this.b=e^tN}function Kh(n){var e,t,i;for(e=new X,i=new E(n.j);i.a34028234663852886e22?$t:e<-34028234663852886e22?Vt:e}function JDn(n){return n-=n>>1&1431655765,n=(n>>2&858993459)+(n&858993459),n=(n>>4)+n&252645135,n+=n>>8,n+=n>>16,n&63}function YDn(n){var e,t,i,r;for(e=new Djn(n.Hd().gc()),r=0,i=$2(n.Hd().Kc());i.Ob();)t=i.Pb(),ole(e,t,Q(r++));return $5e(e.a)}function Zge(n,e){var t,i,r;for(r=new we,i=e.vc().Kc();i.Ob();)t=u(i.Pb(),42),it(r,t.cd(),Gbe(n,u(t.dd(),15)));return r}function yQ(n,e){n.n.c.length==0&&W(n.n,new lC(n.s,n.t,n.i)),W(n.b,e),iJ(u(un(n.n,n.n.c.length-1),211),e),oRn(n,e)}function Hw(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=F(Zn,rn,1,0,5,1),Yt(n.a,n.b),Yt(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function DF(n,e){var t,i,r;for(r=0,i=u(e.Kb(n),20).Kc();i.Ob();)t=u(i.Pb(),17),on(sn(k(t,(G(),mf))))||++r;return r}function n2e(n,e){var t,i,r;i=$w(e),r=K(Y(bb(i,(nn(),Mo)))),t=j.Math.max(0,r/2-.5),g6(e,t,1),W(n,new G7n(e,t))}function Ss(){Ss=N,Qk=new Q9(Xh,0),Sm=new Q9("FIRST",1),xl=new Q9(uHn,2),Pm=new Q9("LAST",3),Ub=new Q9(sHn,4)}function Hh(){Hh=N,rH=new Wj(K6,0),yy=new Wj("POLYLINE",1),Cv=new Wj("ORTHOGONAL",2),Sp=new Wj("SPLINES",3)}function ET(){ET=N,Jon=new PO("ASPECT_RATIO_DRIVEN",0),IK=new PO("MAX_SCALE_DRIVEN",1),Qon=new PO("AREA_DRIVEN",2)}function w7(){w7=N,AP=new IO("P1_STRUCTURE",0),SP=new IO("P2_PROCESSING_ORDER",1),PP=new IO("P3_EXECUTION",2)}function CT(){CT=N,CK=new MO("OVERLAP_REMOVAL",0),jK=new MO("COMPACTION",1),EK=new MO("GRAPH_SIZE_CALCULATION",2)}function zd(n,e){return Yo(),mo(Cl),j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e))}function ZDn(n,e){var t,i;for(t=_e(n,0);t.b!=t.d.c;){if(i=x9(Y(Re(t))),i==e)return;if(i>e){a$(t);break}}y8(t,e)}function En(n,e){var t,i,r,c,o;if(t=e.f,Aa(n.c.d,t,e),e.g!=null)for(r=e.g,c=0,o=r.length;ce&&i.ue(n[c-1],n[c])>0;--c)o=n[c],Mt(n,c,n[c-1]),Mt(n,c-1,o)}function Ps(n,e,t,i){if(e<0)_Y(n,t,i);else{if(!t.Ij())throw T(new Hn(Pl+t.ne()+em));u(t,66).Nj().Tj(n,n.yh(),e,i)}}function TT(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw T(new Hn("Node "+e+" not part of edge "+n))}function t2e(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function n$n(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function jQ(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return aQ(n,e,t,i)}function i2e(n){return n.k!=(Qn(),ti)?!1:C3(new $n(null,new Cd(new re(ue(ni(n).a.Kc(),new Mn)))),new Hbn)}function r2e(n){return n.e==null?n:(!n.c&&(n.c=new zx((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,null)),n.c)}function c2e(n,e){return n.h==tk&&n.m==0&&n.l==0?(e&&(Il=Bc(0,0,0)),eyn((I3(),gin))):(e&&(Il=Bc(n.l,n.m,n.h)),Bc(0,0,0))}function Lr(n){var e;return Array.isArray(n)&&n.im===Xg?J1(Du(n))+"@"+(e=mt(n)>>>0,e.toString(16)):n.toString()}function f6(n){var e;this.a=(e=u(n.e&&n.e(),9),new ks(e,u(bo(e,e.length),9),0)),this.b=F(Zn,rn,1,this.a.a.length,5,1)}function u2e(n){var e,t,i;for(this.a=new Sh,i=new E(n);i.a0&&(Te(e-1,n.length),n.charCodeAt(e-1)==58)&&!$F(n,a9,d9))}function $F(n,e,t){var i,r;for(i=0,r=n.length;i=r)return e.c+t;return e.c+e.b.gc()}function l2e(n,e){o3();var t,i,r,c;for(i=bPn(n),r=e,S3(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function CQ(n){var e,t,i;for(i=new i1,i.a+="[",e=0,t=n.gc();e0&&this.b>0&&cW(this.c,this.b,this.a)}function AQ(n){xF(),this.c=cf(A(M(sMe,1),rn,831,0,[LQn])),this.b=new we,this.a=n,it(this.b,uP,1),Yc(NQn,new q6n(this))}function e$n(n,e){var t;return n.d?zu(n.b,e)?u(te(n.b,e),51):(t=e.Kf(),it(n.b,e,t),t):e.Kf()}function SQ(n,e){var t;return B(n)===B(e)?!0:I(e,91)?(t=u(e,91),n.e==t.e&&n.d==t.d&&Jae(n,t.a)):!1}function B2(n){switch(J(),n.g){case 4:return Kn;case 1:return Vn;case 3:return ae;case 2:return Gn;default:return Xr}}function PQ(n,e){switch(e){case 3:return n.f!=0;case 4:return n.g!=0;case 5:return n.i!=0;case 6:return n.j!=0}return SV(n,e)}function p2e(n){switch(n.g){case 0:return new Lgn;case 1:return new Ngn;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function t$n(n){switch(n.g){case 0:return new xgn;case 1:return new Bgn;default:throw T(new Hn(AN+(n.f!=null?n.f:""+n.g)))}}function i$n(n){switch(n.g){case 0:return new sG;case 1:return new b9n;default:throw T(new Hn(bA+(n.f!=null?n.f:""+n.g)))}}function v2e(n){switch(n.g){case 1:return new Pgn;case 2:return new kjn;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function m2e(n){var e,t;if(n.b)return n.b;for(t=pf?null:n.d;t;){if(e=pf?null:t.b,e)return e;t=pf?null:t.d}return e3(),Uin}function k2e(n){var e,t,i;return n.e==0?0:(e=n.d<<5,t=n.a[n.d-1],n.e<0&&(i=dOn(n),i==n.d-1&&(--t,t=t|0)),e-=x7(t),e)}function y2e(n){var e,t,i;return n>5,e=n&31,i=F(be,Le,25,t+1,15,1),i[t]=1<3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function E2e(n){return yF(),qn(),!!(n$n(u(n.a,81).j,u(n.b,103))||u(n.a,81).d.e!=0&&n$n(u(n.a,81).j,u(n.b,103)))}function C2e(n){DC(),u(n.We((Xe(),_l)),174).Hc((xu(),UP))&&(u(n.We(rw),174).Fc((Tu(),Pp)),u(n.We(_l),174).Mc(UP))}function c$n(n,e){var t,i;if(e){for(t=0;t=0;--i)for(e=t[i],r=0;r>1,this.k=e-1>>1}function I2e(n,e){le(e,"End label post-processing",1),Rt(gt(qr(new $n(null,new xn(n.b,16)),new udn),new sdn),new odn),ce(e)}function O2e(n,e,t){var i,r;return i=K(n.p[e.i.p])+K(n.d[e.i.p])+e.n.b+e.a.b,r=K(n.p[t.i.p])+K(n.d[t.i.p])+t.n.b+t.a.b,r-i}function D2e(n,e,t){var i,r;for(i=ci(t,fr),r=0;fc(i,0)!=0&&r0&&(Te(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function F2e(n){var e;return n==null?null:new il((e=jc(n,!0),e.length>0&&(Te(0,e.length),e.charCodeAt(0)==43)?e.substr(1):e))}function LQ(n,e){var t;return n.i>0&&(e.lengthn.i&&Mt(e,n.i,null),e}function Oc(n,e,t){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),a7(n,i,e),r=n.Zi(3,null,e,i,c),t?t.Ei(r):t=r):a7(n,n.i,e),t}function x2e(n,e,t){var i,r;return i=new Lh(n.e,4,10,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),null,v1(n,e),!1),t?t.Ei(i):t=i,t}function L2e(n,e,t){var i,r;return i=new Lh(n.e,3,10,null,(r=e.c,I(r,88)?u(r,26):(Sn(),so)),v1(n,e),!1),t?t.Ei(i):t=i,t}function o$n(n){W0();var e;return e=new mr(u(n.e.We((Xe(),Kg)),8)),n.B.Hc((xu(),Mv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function f$n(n){wb();var e;return(n.q?n.q:(Pn(),Pn(),ph))._b((nn(),j0))?e=u(k(n,j0),197):e=u(k(Gi(n),$m),197),e}function bb(n,e){var t,i;return i=null,li(n,(nn(),rP))&&(t=u(k(n,rP),94),t.Xe(e)&&(i=t.We(e))),i==null&&(i=k(Gi(n),e)),i}function h$n(n,e){var t,i,r;return I(e,42)?(t=u(e,42),i=t.cd(),r=ab(n.Rc(),i),$f(r,t.dd())&&(r!=null||n.Rc()._b(i))):!1}function NF(n,e){var t,i,r;return n.f>0?(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=hNn(n,r,i,e),t!=-1):!1}function Ko(n,e){var t,i,r;return n.f>0&&(n.qj(),i=e==null?0:mt(e),r=(i&nt)%n.d.length,t=kY(n,r,i,e),t)?t.dd():null}function g7(n,e){var t,i,r,c;for(c=Kc(n.e.Tg(),e),t=u(n.g,119),r=0;r1?rf(Ih(e.a[1],32),ci(e.a[0],fr)):ci(e.a[0],fr),$d(Ni(e.e,t))))}function p7(n,e){var t;return $r(n)&&$r(e)&&(t=n%e,ik>5,e&=31,r=n.d+t+(e==0?0:1),i=F(be,Le,25,r,15,1),Nve(i,n.a,t,e),c=new Pw(n.e,r,i),K5(c),c}function BQ(n,e,t){var i,r;i=u(vc(Pv,e),117),r=u(vc(m9,e),117),t?(kr(Pv,n,i),kr(m9,n,r)):(kr(m9,n,i),kr(Pv,n,r))}function p$n(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(e,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function v$n(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(e,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function K2e(n,e,t,i){var r,c,o;return r=!1,jEe(n.f,t,i)&&(ape(n.f,n.a[e][t],n.a[e][i]),c=n.a[e],o=c[i],c[i]=c[t],c[t]=o,r=!0),r}function RQ(n,e,t,i,r){var c,o,f;for(o=r;e.b!=e.c;)c=u(y2(e),10),f=u(zr(c,i).Xb(0),11),n.d[f.p]=o++,t.c[t.c.length]=f;return o}function _Q(n,e,t){var i,r,c,o,f;return o=n.k,f=e.k,i=t[o.g][f.g],r=Y(bb(n,i)),c=Y(bb(e,i)),j.Math.max((_n(r),r),(_n(c),c))}function H2e(n,e,t){var i,r,c,o;for(i=t/n.c.length,r=0,o=new E(n);o.a2e3&&(wzn=n,KA=j.setTimeout(Vie,10))),_A++==0?(E0e((aG(),din)),!0):!1}function G2e(n,e){var t,i,r;for(i=new re(ue(ni(n).a.Kc(),new Mn));Se(i);)if(t=u(ve(i),17),r=t.d.i,r.c==e)return!1;return!0}function KQ(n,e){var t,i;if(I(e,245)){i=u(e,245);try{return t=n.vd(i),t==0}catch(r){if(r=jt(r),!I(r,205))throw T(r)}}return!1}function z2e(){return Error.stackTraceLimit>0?(j.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function U2e(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))>0}function HQ(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))<0}function y$n(n,e){return Yo(),Yo(),mo(Cl),(j.Math.abs(n-e)<=Cl||n==e||isNaN(n)&&isNaN(e)?0:ne?1:pd(isNaN(n),isNaN(e)))<=0}function RF(n,e){for(var t=0;!e[t]||e[t]=="";)t++;for(var i=e[t++];tJL)return t.fh();if(i=t.Zg(),i||t==n)break}return i}function qQ(n){return dC(),I(n,156)?u(te($y,Azn),288).vg(n):zu($y,Du(n))?u(te($y,Du(n)),288).vg(n):null}function X2e(n){if(DT(B4,n))return qn(),z4;if(DT(EB,n))return qn(),qa;throw T(new Hn("Expecting true or false"))}function V2e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw T(new Hn("Input edge is not connected to the input port."))}function A$n(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+j.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function P$n(n,e){var t;return B(e)===B(n)?!0:!I(e,21)||(t=u(e,21),t.gc()!=n.gc())?!1:n.Ic(t)}function Q2e(n,e){var t,i,r,c;return i=n.a.length-1,t=e-n.b&i,c=n.c-e&i,r=n.c-n.b&i,cjn(t=c?(Vwe(n,e),-1):(Qwe(n,e),1)}function J2e(n,e){var t,i;for(t=(Te(e,n.length),n.charCodeAt(e)),i=e+1;ie.e?1:n.fe.f?1:mt(n)-mt(e)}function DT(n,e){return _n(n),e==null?!1:An(n,e)?!0:n.length==e.length&&An(n.toLowerCase(),e.toLowerCase())}function upe(n,e){var t,i,r,c;for(i=0,r=e.gc();i0&&fc(n,128)<0?(e=ge(n)+128,t=(XEn(),Ein)[e],!t&&(t=Ein[e]=new pq(n)),t):new pq(n)}function O$n(n,e){var t,i;return t=e.Hh(n.a),t&&(i=Ce(Ko((!t.b&&(t.b=new qu((Sn(),nr),tc,t)),t.b),We)),i!=null)?i:e.ne()}function spe(n,e){var t,i;return t=e.Hh(n.a),t&&(i=Ce(Ko((!t.b&&(t.b=new qu((Sn(),nr),tc,t)),t.b),We)),i!=null)?i:e.ne()}function ope(n,e){c$();var t,i;for(i=new re(ue(Kh(n).a.Kc(),new Mn));Se(i);)if(t=u(ve(i),17),t.d.i==e||t.c.i==e)return t;return null}function UQ(n,e,t){this.c=n,this.f=new X,this.e=new Li,this.j=new eW,this.n=new eW,this.b=e,this.g=new ys(e.c,e.d,e.b,e.a),this.a=t}function _F(n){var e,t,i,r;for(this.a=new Sh,this.d=new fi,this.e=0,t=n,i=0,r=t.length;i0):!1}function F$n(n){var e;B(hn(n,(Xe(),Bg)))===B((_h(),HP))&&(At(n)?(e=u(hn(At(n),Bg),334),gr(n,Bg,e)):gr(n,Bg,i9))}function ape(n,e,t){var i,r;yx(n.e,e,t,(J(),Gn)),yx(n.i,e,t,Vn),n.a&&(r=u(k(e,(G(),rt)),11),i=u(k(t,rt),11),l$(n.g,r,i))}function x$n(n,e,t){var i,r,c;i=e.c.p,c=e.p,n.b[i][c]=new YTn(n,e),t&&(n.a[i][c]=new c6n(e),r=u(k(e,(G(),m0)),10),r&&Tn(n.d,r,e))}function L$n(n,e){var t,i,r;if(W(eS,n),e.Fc(n),t=u(te(DR,n),21),t)for(r=t.Kc();r.Ob();)i=u(r.Pb(),33),Fr(eS,i,0)!=-1||L$n(i,e)}function dpe(n,e,t){var i;(Fzn?(m2e(n),!0):xzn||Nzn?(e3(),!0):Lzn&&(e3(),!1))&&(i=new hEn(e),i.b=t,g5e(n,i))}function KF(n,e){var t;t=!n.A.Hc((Vu(),id))||n.q==(Ti(),Ac),n.u.Hc((Tu(),n1))?t?xCe(n,e):a_n(n,e):n.u.Hc(Gl)&&(t?nCe(n,e):M_n(n,e))}function r4(n,e){var t,i;if(++n.j,e!=null&&(t=(i=n.a.Cb,I(i,97)?u(i,97).Jg():null),ome(e,t))){R2(n.a,4,t);return}R2(n.a,4,u(e,126))}function N$n(n,e,t){return new ys(j.Math.min(n.a,e.a)-t/2,j.Math.min(n.b,e.b)-t/2,j.Math.abs(n.a-e.a)+t,j.Math.abs(n.b-e.b)+t)}function bpe(n,e){var t,i;return t=Uc(n.a.c.p,e.a.c.p),t!=0?t:(i=Uc(n.a.d.i.p,e.a.d.i.p),i!=0?i:Uc(e.a.d.p,n.a.d.p))}function wpe(n,e,t){var i,r,c,o;return c=e.j,o=t.j,c!=o?c.g-o.g:(i=n.f[e.p],r=n.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:Zt(i,r))}function B$n(n,e,t){var i,r,c;if(!t[e.d])for(t[e.d]=!0,r=new E(Hw(e));r.a=r)return r;for(e=e>0?e:0;ei&&Mt(e,i,null),e}function _$n(n,e){var t,i;for(i=n.a.length,e.lengthi&&Mt(e,i,null),e}function Aa(n,e,t){var i,r,c;return r=u(te(n.e,e),387),r?(c=gU(r,t),Oyn(n,r),c):(i=new qU(n,e,t),it(n.e,e,i),iMn(i),null)}function vpe(n){var e;if(n==null)return null;if(e=a9e(jc(n,!0)),e==null)throw T(new VI("Invalid hexBinary value: '"+n+"'"));return e}function m7(n){return jl(),fc(n,0)<0?fc(n,-1)!=0?new OJ(-1,P3(n)):gR:fc(n,10)<=0?xin[ge(n)]:new OJ(1,n)}function qF(){return SM(),A(M(yUn,1),z,159,0,[mUn,vUn,kUn,hUn,fUn,lUn,bUn,dUn,aUn,pUn,gUn,wUn,sUn,uUn,oUn,rUn,iUn,cUn,eUn,nUn,tUn,TR])}function K$n(n){var e;this.d=new X,this.j=new Li,this.g=new Li,e=n.g.b,this.f=u(k(Gi(e),(nn(),ls)),103),this.e=K(Y(xT(e,nw)))}function H$n(n){this.b=new X,this.e=new X,this.d=n,this.a=!Wv(gt(new $n(null,new Cd(new uf(n.b))),new Fv(new qbn))).sd((ca(),V4))}function Ho(){Ho=N,Xn=new Z9("PARENTS",0),pi=new Z9("NODES",1),Yf=new Z9("EDGES",2),Ya=new Z9("PORTS",3),D1=new Z9("LABELS",4)}function qw(){qw=N,Hl=new e8("DISTRIBUTED",0),Cy=new e8("JUSTIFIED",1),Hhn=new e8("BEGIN",2),r9=new e8(I4,3),qhn=new e8("END",4)}function mpe(n){var e;switch(e=n.yi(null),e){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function GF(n){switch(n.g){case 1:return sr(),Yh;case 4:return sr(),Zs;case 2:return sr(),Ao;case 3:return sr(),Jh}return sr(),mh}function kpe(n,e,t){var i;switch(i=t.q.getFullYear()-Tl+Tl,i<0&&(i=-i),e){case 1:n.a+=i;break;case 2:sh(n,i%100,2);break;default:sh(n,i,e)}}function _e(n,e){var t,i;if(tb(e,n.b),e>=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t=64&&e<128&&(r=rf(r,Ih(1,e-64)));return r}function xT(n,e){var t,i;return i=null,li(n,(Xe(),Ap))&&(t=u(k(n,Ap),94),t.Xe(e)&&(i=t.We(e))),i==null&&Gi(n)&&(i=k(Gi(n),e)),i}function z$n(n,e){var t,i,r;r=e.d.i,i=r.k,!(i==(Qn(),ti)||i==vf)&&(t=new re(ue(ni(r).a.Kc(),new Mn)),Se(t)&&it(n.k,e,u(ve(t),17)))}function zF(n,e){var t,i,r;return i=On(n.Tg(),e),t=e-n.Ah(),t<0?(r=n.Yg(i),r>=0?n.lh(r):Ox(n,i)):t<0?Ox(n,i):u(i,66).Nj().Sj(n,n.yh(),t)}function cn(n){var e;if(I(n.a,4)){if(e=qQ(n.a),e==null)throw T(new Dr(HHn+n.b+"'. "+KHn+(Ph(Fy),Fy.k)+Etn));return e}else return n.a}function Epe(n){var e;if(n==null)return null;if(e=qCe(jc(n,!0)),e==null)throw T(new VI("Invalid base64Binary value: '"+n+"'"));return e}function oe(n){var e;try{return e=n.i.Xb(n.e),n.mj(),n.g=n.e++,e}catch(t){throw t=jt(t),I(t,73)?(n.mj(),T(new ic)):T(t)}}function UF(n){var e;try{return e=n.c.ki(n.e),n.mj(),n.g=n.e++,e}catch(t){throw t=jt(t),I(t,73)?(n.mj(),T(new ic)):T(t)}}function a6(){a6=N,Trn=(Xe(),yhn),IR=Zfn,FUn=Tp,Crn=nd,BUn=(WT(),irn),NUn=ern,RUn=crn,LUn=nrn,xUn=(pF(),yrn),PR=OUn,Ern=DUn,nS=$Un}function LT(n){switch(DG(),this.c=new X,this.d=n,n.g){case 0:case 2:this.a=_W(qrn),this.b=$t;break;case 3:case 1:this.a=qrn,this.b=Vt}}function U$n(n,e,t){var i,r;if(n.c)Zc(n.c,n.c.i+e),nu(n.c,n.c.j+t);else for(r=new E(n.b);r.a0&&(W(n.b,new MEn(e.a,t)),i=e.a.length,0i&&(e.a+=Iyn(F(Ls,Bf,25,-i,15,1))))}function W$n(n,e){var t,i,r;for(t=n.o,r=u(u(ct(n.r,e),21),84).Kc();r.Ob();)i=u(r.Pb(),111),i.e.a=M3e(i,t.a),i.e.b=t.b*K(Y(i.b.We(JA)))}function Tpe(n,e){var t,i,r,c;return r=n.k,t=K(Y(k(n,(G(),k0)))),c=e.k,i=K(Y(k(e,k0))),c!=(Qn(),Xt)?-1:r!=Xt?1:t==i?0:t=0?n.hh(e,t,i):(n.eh()&&(i=(r=n.Vg(),r>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i))),n.Sg(e,t,i))}function XQ(n,e){switch(e){case 7:!n.e&&(n.e=new Fn(di,n,7,4)),de(n.e);return;case 8:!n.d&&(n.d=new Fn(di,n,8,5)),de(n.d);return}FQ(n,e)}function qo(n,e){var t;t=n.Zc(e);try{return t.Pb()}catch(i){throw i=jt(i),I(i,109)?T(new vr("Can't get element "+e)):T(i)}}function VQ(n,e){this.e=n,e=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function K2(){K2=N,$k=new Rj(NM,0),Dk=new Rj(lN,1),Fk=new Rj(aN,2),xk=new Rj(dN,3),$k.a=!1,Dk.a=!0,Fk.a=!1,xk.a=!0}function d6(){d6=N,Lk=new Bj(NM,0),YA=new Bj(lN,1),ZA=new Bj(aN,2),Nk=new Bj(dN,3),Lk.a=!1,YA.a=!0,ZA.a=!1,Nk.a=!0}function Ipe(n){var e;e=n.a;do e=u(ve(new re(ue(xr(e).a.Kc(),new Mn))),17).c.i,e.k==(Qn(),gi)&&n.b.Fc(e);while(e.k==(Qn(),gi));n.b=va(n.b)}function Ope(n){var e,t,i;for(i=n.c.a,n.p=(pe(i),new du(i)),t=new E(i);t.at.b)return!0}return!1}function WF(n,e){return mi(n)?!!ozn[e]:n.hm?!!n.hm[e]:G0(n)?!!szn[e]:q0(n)?!!uzn[e]:!1}function gr(n,e,t){return t==null?(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),IT(n.o,e)):(!n.o&&(n.o=new Wu((Dc(),Ul),S0,n,0)),XT(n.o,e,t)),n}function xpe(n,e,t,i){var r,c;c=e.Xe((Xe(),_g))?u(e.We(_g),21):n.j,r=Cge(c),r!=(SM(),TR)&&(t&&!GQ(r)||nY(d9e(n,r,i),e))}function BT(n,e,t,i){var r,c,o;return c=On(n.Tg(),e),r=e-n.Ah(),r<0?(o=n.Yg(c),o>=0?n._g(o,t,!0):Yd(n,c,t)):u(c,66).Nj().Pj(n,n.yh(),r,t,i)}function Lpe(n,e,t,i){var r,c,o;t.mh(e)&&(er(),R$(e)?(r=u(t.ah(e),153),upe(n,r)):(c=(o=e,o?u(i,49).xh(o):null),c&&Bte(t.ah(e),c)))}function Npe(n){switch(n.g){case 1:return Hd(),Ok;case 3:return Hd(),Ik;case 2:return Hd(),AR;case 4:return Hd(),MR;default:return null}}function QQ(n){switch(typeof n){case EL:return m1(n);case UZ:return Gt(n);case X2:return qn(),n?1231:1237;default:return n==null?0:md(n)}}function Bpe(n,e,t){if(n.e)switch(n.b){case 1:d1e(n.c,e,t);break;case 0:b1e(n.c,e,t)}else xAn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}function Y$n(n){var e,t;if(n==null)return null;for(t=F(vh,q,193,n.length,0,2),e=0;e=0)return r;if(n.Fk()){for(i=0;i=r)throw T(new V0(e,r));if(n.hi()&&(i=n.Xc(t),i>=0&&i!=e))throw T(new Hn(yk));return n.mi(e,t)}function JQ(n,e){if(this.a=u(pe(n),245),this.b=u(pe(e),245),n.vd(e)>0||n==(qI(),cR)||e==(HI(),uR))throw T(new Hn("Invalid range: "+OAn(n,e)))}function Z$n(n){var e,t;for(this.b=new X,this.c=n,this.a=!1,t=new E(n.a);t.a0),(e&-e)==e)return Gt(e*Fu(n,31)*4656612873077393e-25);do t=Fu(n,31),i=t%e;while(t-i+(e-1)<0);return Gt(i)}function m1(n){lEn();var e,t,i;return t=":"+n,i=XA[t],i!=null?Gt((_n(i),i)):(i=Xin[t],e=i==null?I8e(n):Gt((_n(i),i)),c1e(),XA[t]=e,e)}function eFn(n,e,t){le(t,"Compound graph preprocessor",1),n.a=new Od,s_n(n,e,null),pje(n,e),Z9e(n),H(e,(G(),dun),n.a),n.a=null,Eu(n.b),ce(t)}function Kpe(n,e,t){switch(t.g){case 1:n.a=e.a/2,n.b=0;break;case 2:n.a=e.a,n.b=e.b/2;break;case 3:n.a=e.a/2,n.b=e.b;break;case 4:n.a=0,n.b=e.b/2}}function Hpe(n){var e,t,i;for(i=u(ct(n.a,(Vw(),IS)),15).Kc();i.Ob();)t=u(i.Pb(),101),e=hJ(t),b3(n,t,e[0],(Kd(),w0),0),b3(n,t,e[1],g0,1)}function qpe(n){var e,t,i;for(i=u(ct(n.a,(Vw(),OS)),15).Kc();i.Ob();)t=u(i.Pb(),101),e=hJ(t),b3(n,t,e[0],(Kd(),w0),0),b3(n,t,e[1],g0,1)}function XF(n){switch(n.g){case 0:return null;case 1:return new eOn;case 2:return new oG;default:throw T(new Hn(lB+(n.f!=null?n.f:""+n.g)))}}function k7(n,e,t){var i,r;for(lwe(n,e-n.s,t-n.t),r=new E(n.n);r.a1&&(c=_pe(n,e)),c}function VF(n){var e;return n.f&&n.f.kh()&&(e=u(n.f,49),n.f=u(pl(n,e),82),n.f!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,8,e,n.f))),n.f}function QF(n){var e;return n.i&&n.i.kh()&&(e=u(n.i,49),n.i=u(pl(n,e),82),n.i!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,7,e,n.i))),n.i}function ir(n){var e;return n.b&&n.b.Db&64&&(e=n.b,n.b=u(pl(n,e),18),n.b!=e&&n.Db&4&&!(n.Db&1)&&et(n,new wi(n,9,21,e,n.b))),n.b}function KT(n,e){var t,i,r;n.d==null?(++n.e,++n.f):(i=e.Sh(),u8e(n,n.f+1),r=(i&nt)%n.d.length,t=n.d[r],!t&&(t=n.d[r]=n.uj()),t.Fc(e),++n.f)}function nJ(n,e,t){var i;return e.Kj()?!1:e.Zj()!=-2?(i=e.zj(),i==null?t==null:tt(i,t)):e.Hj()==n.e.Tg()&&t==null}function HT(){var n;is(16,J_n),n=UIn(16),this.b=F(oR,nk,317,n,0,1),this.c=F(oR,nk,317,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function qh(n){vU.call(this),this.k=(Qn(),ti),this.j=(is(6,Pb),new Pc(6)),this.b=(is(2,Pb),new Pc(2)),this.d=new NI,this.f=new Zq,this.a=n}function zpe(n){var e,t;n.c.length<=1||(e=ZNn(n,(J(),ae)),Kxn(n,u(e.a,19).a,u(e.b,19).a),t=ZNn(n,Gn),Kxn(n,u(t.a,19).a,u(t.b,19).a))}function b6(){b6=N,zsn=new V9("SIMPLE",0),nK=new V9(PN,1),eK=new V9("LINEAR_SEGMENTS",2),Lm=new V9("BRANDES_KOEPF",3),Nm=new V9(EHn,4)}function eJ(n,e,t){p2(u(k(e,(nn(),xt)),98))||(VX(n,e,k1(e,t)),VX(n,e,k1(e,(J(),ae))),VX(n,e,k1(e,Kn)),Pn(),bi(e.j,new i6n(n)))}function tFn(n,e,t,i){var r,c,o;for(r=u(ct(i?n.a:n.b,e),21),o=r.Kc();o.Ob();)if(c=u(o.Pb(),33),aM(n,t,c))return!0;return!1}function JF(n){var e,t;for(t=new ie(n);t.e!=t.i.gc();)if(e=u(oe(t),87),e.e||(!e.d&&(e.d=new Jt(ar,e,1)),e.d).i!=0)return!0;return!1}function YF(n){var e,t;for(t=new ie(n);t.e!=t.i.gc();)if(e=u(oe(t),87),e.e||(!e.d&&(e.d=new Jt(ar,e,1)),e.d).i!=0)return!0;return!1}function Upe(n){var e,t,i;for(e=0,i=new E(n.c.a);i.a102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function ex(n,e){if(n==null)throw T(new c2("null key in entry: null="+e));if(e==null)throw T(new c2("null value in entry: "+n+"=null"))}function Wpe(n,e){for(var t,i;n.Ob();)if(!e.Ob()||(t=n.Pb(),i=e.Pb(),!(B(t)===B(i)||t!=null&&tt(t,i))))return!1;return!e.Ob()}function rFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[kF(n.a[0],e),kF(n.a[1],e),kF(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function cFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[pT(n.a[0],e),pT(n.a[1],e),pT(n.a[2],e)]),n.d&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function Pa(){Pa=N,f_=new X9("GREEDY",0),Gcn=new X9(fHn,1),h_=new X9(PN,2),Em=new X9("MODEL_ORDER",3),jm=new X9("GREEDY_MODEL_ORDER",4)}function uFn(n,e){var t,i,r;for(n.b[e.g]=1,i=_e(e.d,0);i.b!=i.d.c;)t=u(Re(i),188),r=t.c,n.b[r.g]==1?Ke(n.a,t):n.b[r.g]==2?n.b[r.g]=1:uFn(n,r)}function Xpe(n,e){var t,i,r;for(r=new Pc(e.gc()),i=e.Kc();i.Ob();)t=u(i.Pb(),286),t.c==t.f?l4(n,t,t.c):U5e(n,t)||(r.c[r.c.length]=t);return r}function Vpe(n,e,t){var i,r,c,o,f;for(f=n.r+e,n.r+=e,n.d+=t,i=t/n.n.c.length,r=0,o=new E(n.n);o.ac&&Mt(e,c,null),e}function f3e(n,e){var t,i;if(i=n.gc(),e==null){for(t=0;t0&&(h+=r),l[a]=o,o+=f*(h+i)}function bFn(n){var e,t,i;for(i=n.f,n.n=F(ji,pr,25,i,15,1),n.d=F(ji,pr,25,i,15,1),e=0;e0?n.c:0),++r;n.b=i,n.d=c}function g3e(n,e){var t,i,r,c,o;for(i=0,r=0,t=0,o=new E(e);o.a0?n.g:0),++t;n.c=r,n.d=i}function mFn(n,e){var t;return t=A(M(ji,1),pr,25,15,[ZQ(n,(_o(),Zr),e),ZQ(n,Fc,e),ZQ(n,nc,e)]),n.f&&(t[0]=j.Math.max(t[0],t[2]),t[2]=t[0]),t}function p3e(n,e,t){var i;try{wM(n,e+n.j,t+n.k,!1,!0)}catch(r){throw r=jt(r),I(r,73)?(i=r,T(new vr(i.g+RM+e+Ji+t+")."))):T(r)}}function v3e(n,e,t){var i;try{wM(n,e+n.j,t+n.k,!0,!1)}catch(r){throw r=jt(r),I(r,73)?(i=r,T(new vr(i.g+RM+e+Ji+t+")."))):T(r)}}function kFn(n){var e;li(n,(nn(),y0))&&(e=u(k(n,y0),21),e.Hc((jb(),So))?(e.Mc(So),e.Fc(Po)):e.Hc(Po)&&(e.Mc(Po),e.Fc(So)))}function yFn(n){var e;li(n,(nn(),y0))&&(e=u(k(n,y0),21),e.Hc((jb(),Oo))?(e.Mc(Oo),e.Fc(eo)):e.Hc(eo)&&(e.Mc(eo),e.Fc(Oo)))}function m3e(n,e,t){le(t,"Self-Loop ordering",1),Rt(Xc(gt(gt(qr(new $n(null,new xn(e.b,16)),new P0n),new I0n),new O0n),new D0n),new O5n(n)),ce(t)}function j7(n,e,t,i){var r,c;for(r=e;r0&&(r.b+=e),r}function zT(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),37),M6(t,0,r.b),r.b+=t.f.b+e,r.a=j.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function EFn(n){var e,t,i;for(i=nt,t=new E(n.a);t.a>16==6?n.Cb.ih(n,5,Vo,e):(i=ir(u(On((t=u(Rn(n,16),26),t||n.zh()),n.Db>>16),18)),n.Cb.ih(n,i.n,i.f,e))}function C3e(n){k3();var e=n.e;if(e&&e.stack){var t=e.stack,i=e+` `;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` diff --git a/assets/ganttDiagram-04e74c0a-31c31b96.js b/assets/ganttDiagram-04e74c0a-c187296a.js similarity index 99% rename from assets/ganttDiagram-04e74c0a-31c31b96.js rename to assets/ganttDiagram-04e74c0a-c187296a.js index 4b4e58bc..cd1635ae 100644 --- a/assets/ganttDiagram-04e74c0a-31c31b96.js +++ b/assets/ganttDiagram-04e74c0a-c187296a.js @@ -1,4 +1,4 @@ -import{J as Vt,K as Wt,L as O,M as Qt,c as G,s as Zt,g as Jt,B as Kt,C as $t,b as te,a as ee,m as ie,D as se,j as ne,l as kt,h as ct,N as re,O as ae,P as ce,i as oe,Q as le,R as ue,S as fe,T as At,U as It,V as Lt,W as Ft,X as Mt,Y as zt,Z as de,k as he,A as me}from"./index-cc077c34.js";var Yt={exports:{}};(function(t,u){(function(s,i){t.exports=i()})(Vt,function(){var s="day";return function(i,n,h){var d=function(w){return w.add(4-w.isoWeekday(),s)},v=n.prototype;v.isoWeekYear=function(){return d(this).year()},v.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),s);var C,_,L,V,F=d(this),b=(C=this.isoWeekYear(),_=this.$u,L=(_?h.utc:h)().year(C).startOf("year"),V=4-L.isoWeekday(),L.isoWeekday()>4&&(V+=7),L.add(V,s));return F.diff(b,"week")+1},v.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var E=v.startOf;v.startOf=function(w,C){var _=this.$utils(),L=!!_.u(C)||C;return _.p(w)==="isoweek"?L?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):E.bind(this)(w,C)}}})})(Yt);var ke=Yt.exports;const ge=Wt(ke);var Pt={exports:{}};(function(t,u){(function(s,i){t.exports=i()})(Vt,function(){return function(s,i){var n=i.prototype,h=n.format;n.format=function(d){var v=this,E=this.$locale();if(!this.isValid())return h.bind(this)(d);var w=this.$utils(),C=(d||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(_){switch(_){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return E.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return E.ordinal(v.week(),"W");case"w":case"ww":return w.s(v.week(),_==="w"?1:2,"0");case"W":case"WW":return w.s(v.isoWeek(),_==="W"?1:2,"0");case"k":case"kk":return w.s(String(v.$H===0?24:v.$H),_==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return _}});return h.bind(this)(C)}}})})(Pt);var ye=Pt.exports;const pe=Wt(ye);var gt=function(){var t=function(m,c,o,f){for(o=o||{},f=m.length;f--;o[m[f]]=c);return o},u=[1,3],s=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],n=[1,15],h=[1,16],d=[1,17],v=[1,18],E=[1,19],w=[1,20],C=[1,21],_=[1,22],L=[1,23],V=[1,24],F=[1,25],b=[1,26],tt=[1,27],et=[1,29],it=[1,31],st=[1,34],nt=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],H={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(c,o,f,r,k,e,T){var a=e.length-1;switch(k){case 2:return e[a-1];case 3:this.$=[];break;case 4:e[a-1].push(e[a]),this.$=e[a-1];break;case 5:case 6:this.$=e[a];break;case 7:case 8:this.$=[];break;case 9:r.setDateFormat(e[a].substr(11)),this.$=e[a].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=e[a].substr(18);break;case 11:r.TopAxis(),this.$=e[a].substr(8);break;case 12:r.setAxisFormat(e[a].substr(11)),this.$=e[a].substr(11);break;case 13:r.setTickInterval(e[a].substr(13)),this.$=e[a].substr(13);break;case 14:r.setExcludes(e[a].substr(9)),this.$=e[a].substr(9);break;case 15:r.setIncludes(e[a].substr(9)),this.$=e[a].substr(9);break;case 16:r.setTodayMarker(e[a].substr(12)),this.$=e[a].substr(12);break;case 17:r.setDiagramTitle(e[a].substr(6)),this.$=e[a].substr(6);break;case 18:this.$=e[a].trim(),r.setAccTitle(this.$);break;case 19:case 20:this.$=e[a].trim(),r.setAccDescription(this.$);break;case 21:r.addSection(e[a].substr(8)),this.$=e[a].substr(8);break;case 23:r.addTask(e[a-1],e[a]),this.$="task";break;case 27:this.$=e[a-1],r.setClickEvent(e[a-1],e[a],null);break;case 28:this.$=e[a-2],r.setClickEvent(e[a-2],e[a-1],e[a]);break;case 29:this.$=e[a-2],r.setClickEvent(e[a-2],e[a-1],null),r.setLink(e[a-2],e[a]);break;case 30:this.$=e[a-3],r.setClickEvent(e[a-3],e[a-2],e[a-1]),r.setLink(e[a-3],e[a]);break;case 31:this.$=e[a-2],r.setClickEvent(e[a-2],e[a],null),r.setLink(e[a-2],e[a-1]);break;case 32:this.$=e[a-3],r.setClickEvent(e[a-3],e[a-1],e[a]),r.setLink(e[a-3],e[a-2]);break;case 33:this.$=e[a-1],r.setLink(e[a-1],e[a]);break;case 34:case 40:this.$=e[a-1]+" "+e[a];break;case 35:case 36:case 38:this.$=e[a-2]+" "+e[a-1]+" "+e[a];break;case 37:case 39:this.$=e[a-3]+" "+e[a-2]+" "+e[a-1]+" "+e[a];break;case 41:r.parseDirective("%%{","open_directive");break;case 42:r.parseDirective(e[a],"type_directive");break;case 43:e[a]=e[a].trim().replace(/'/g,'"'),r.parseDirective(e[a],"arg_directive");break;case 44:r.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:u,30:4,40:s},{1:[3]},{3:6,4:2,5:u,30:4,40:s},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:n,13:h,14:d,15:v,16:E,17:w,18:C,19:_,20:L,21:V,23:F,25:b,26:tt,27:28,28:et,30:4,35:it,40:s},{32:32,33:[1,33],43:st},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:n,13:h,14:d,15:v,16:E,17:w,18:C,19:_,20:L,21:V,23:F,25:b,26:tt,27:28,28:et,30:4,35:it,40:s},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(nt,[2,25]),{32:47,43:st},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(nt,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(c,o){if(o.recoverable)this.trace(c);else{var f=new Error(c);throw f.hash=o,f}},parse:function(c){var o=this,f=[0],r=[],k=[null],e=[],T=this.table,a="",M=0,z=0,Z=2,l=1,g=e.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(p.yy[x]=this.yy[x]);y.setInput(c,p.yy),p.yy.lexer=y,p.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var A=y.yylloc;e.push(A);var D=y.options&&y.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(){var N;return N=r.pop()||y.lex()||l,typeof N!="number"&&(N instanceof Array&&(r=N,N=r.pop()),N=o.symbols_[N]||N),N}for(var I,R,W,ht,j={},rt,P,St,at;;){if(R=f[f.length-1],this.defaultActions[R]?W=this.defaultActions[R]:((I===null||typeof I>"u")&&(I=dt()),W=T[R]&&T[R][I]),typeof W>"u"||!W.length||!W[0]){var mt="";at=[];for(rt in T[R])this.terminals_[rt]&&rt>Z&&at.push("'"+this.terminals_[rt]+"'");y.showPosition?mt="Parse error on line "+(M+1)+`: +import{J as Vt,K as Wt,L as O,M as Qt,c as G,s as Zt,g as Jt,B as Kt,C as $t,b as te,a as ee,m as ie,D as se,j as ne,l as kt,h as ct,N as re,O as ae,P as ce,i as oe,Q as le,R as ue,S as fe,T as At,U as It,V as Lt,W as Ft,X as Mt,Y as zt,Z as de,k as he,A as me}from"./index-76e1e0ef.js";var Yt={exports:{}};(function(t,u){(function(s,i){t.exports=i()})(Vt,function(){var s="day";return function(i,n,h){var d=function(w){return w.add(4-w.isoWeekday(),s)},v=n.prototype;v.isoWeekYear=function(){return d(this).year()},v.isoWeek=function(w){if(!this.$utils().u(w))return this.add(7*(w-this.isoWeek()),s);var C,_,L,V,F=d(this),b=(C=this.isoWeekYear(),_=this.$u,L=(_?h.utc:h)().year(C).startOf("year"),V=4-L.isoWeekday(),L.isoWeekday()>4&&(V+=7),L.add(V,s));return F.diff(b,"week")+1},v.isoWeekday=function(w){return this.$utils().u(w)?this.day()||7:this.day(this.day()%7?w:w-7)};var E=v.startOf;v.startOf=function(w,C){var _=this.$utils(),L=!!_.u(C)||C;return _.p(w)==="isoweek"?L?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):E.bind(this)(w,C)}}})})(Yt);var ke=Yt.exports;const ge=Wt(ke);var Pt={exports:{}};(function(t,u){(function(s,i){t.exports=i()})(Vt,function(){return function(s,i){var n=i.prototype,h=n.format;n.format=function(d){var v=this,E=this.$locale();if(!this.isValid())return h.bind(this)(d);var w=this.$utils(),C=(d||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(_){switch(_){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return E.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return E.ordinal(v.week(),"W");case"w":case"ww":return w.s(v.week(),_==="w"?1:2,"0");case"W":case"WW":return w.s(v.isoWeek(),_==="W"?1:2,"0");case"k":case"kk":return w.s(String(v.$H===0?24:v.$H),_==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return _}});return h.bind(this)(C)}}})})(Pt);var ye=Pt.exports;const pe=Wt(ye);var gt=function(){var t=function(m,c,o,f){for(o=o||{},f=m.length;f--;o[m[f]]=c);return o},u=[1,3],s=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],n=[1,15],h=[1,16],d=[1,17],v=[1,18],E=[1,19],w=[1,20],C=[1,21],_=[1,22],L=[1,23],V=[1,24],F=[1,25],b=[1,26],tt=[1,27],et=[1,29],it=[1,31],st=[1,34],nt=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],H={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(c,o,f,r,k,e,T){var a=e.length-1;switch(k){case 2:return e[a-1];case 3:this.$=[];break;case 4:e[a-1].push(e[a]),this.$=e[a-1];break;case 5:case 6:this.$=e[a];break;case 7:case 8:this.$=[];break;case 9:r.setDateFormat(e[a].substr(11)),this.$=e[a].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=e[a].substr(18);break;case 11:r.TopAxis(),this.$=e[a].substr(8);break;case 12:r.setAxisFormat(e[a].substr(11)),this.$=e[a].substr(11);break;case 13:r.setTickInterval(e[a].substr(13)),this.$=e[a].substr(13);break;case 14:r.setExcludes(e[a].substr(9)),this.$=e[a].substr(9);break;case 15:r.setIncludes(e[a].substr(9)),this.$=e[a].substr(9);break;case 16:r.setTodayMarker(e[a].substr(12)),this.$=e[a].substr(12);break;case 17:r.setDiagramTitle(e[a].substr(6)),this.$=e[a].substr(6);break;case 18:this.$=e[a].trim(),r.setAccTitle(this.$);break;case 19:case 20:this.$=e[a].trim(),r.setAccDescription(this.$);break;case 21:r.addSection(e[a].substr(8)),this.$=e[a].substr(8);break;case 23:r.addTask(e[a-1],e[a]),this.$="task";break;case 27:this.$=e[a-1],r.setClickEvent(e[a-1],e[a],null);break;case 28:this.$=e[a-2],r.setClickEvent(e[a-2],e[a-1],e[a]);break;case 29:this.$=e[a-2],r.setClickEvent(e[a-2],e[a-1],null),r.setLink(e[a-2],e[a]);break;case 30:this.$=e[a-3],r.setClickEvent(e[a-3],e[a-2],e[a-1]),r.setLink(e[a-3],e[a]);break;case 31:this.$=e[a-2],r.setClickEvent(e[a-2],e[a],null),r.setLink(e[a-2],e[a-1]);break;case 32:this.$=e[a-3],r.setClickEvent(e[a-3],e[a-1],e[a]),r.setLink(e[a-3],e[a-2]);break;case 33:this.$=e[a-1],r.setLink(e[a-1],e[a]);break;case 34:case 40:this.$=e[a-1]+" "+e[a];break;case 35:case 36:case 38:this.$=e[a-2]+" "+e[a-1]+" "+e[a];break;case 37:case 39:this.$=e[a-3]+" "+e[a-2]+" "+e[a-1]+" "+e[a];break;case 41:r.parseDirective("%%{","open_directive");break;case 42:r.parseDirective(e[a],"type_directive");break;case 43:e[a]=e[a].trim().replace(/'/g,'"'),r.parseDirective(e[a],"arg_directive");break;case 44:r.parseDirective("}%%","close_directive","gantt");break}},table:[{3:1,4:2,5:u,30:4,40:s},{1:[3]},{3:6,4:2,5:u,30:4,40:s},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:n,13:h,14:d,15:v,16:E,17:w,18:C,19:_,20:L,21:V,23:F,25:b,26:tt,27:28,28:et,30:4,35:it,40:s},{32:32,33:[1,33],43:st},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:n,13:h,14:d,15:v,16:E,17:w,18:C,19:_,20:L,21:V,23:F,25:b,26:tt,27:28,28:et,30:4,35:it,40:s},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(nt,[2,25]),{32:47,43:st},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(nt,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(c,o){if(o.recoverable)this.trace(c);else{var f=new Error(c);throw f.hash=o,f}},parse:function(c){var o=this,f=[0],r=[],k=[null],e=[],T=this.table,a="",M=0,z=0,Z=2,l=1,g=e.slice.call(arguments,1),y=Object.create(this.lexer),p={yy:{}};for(var x in this.yy)Object.prototype.hasOwnProperty.call(this.yy,x)&&(p.yy[x]=this.yy[x]);y.setInput(c,p.yy),p.yy.lexer=y,p.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var A=y.yylloc;e.push(A);var D=y.options&&y.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function dt(){var N;return N=r.pop()||y.lex()||l,typeof N!="number"&&(N instanceof Array&&(r=N,N=r.pop()),N=o.symbols_[N]||N),N}for(var I,R,W,ht,j={},rt,P,St,at;;){if(R=f[f.length-1],this.defaultActions[R]?W=this.defaultActions[R]:((I===null||typeof I>"u")&&(I=dt()),W=T[R]&&T[R][I]),typeof W>"u"||!W.length||!W[0]){var mt="";at=[];for(rt in T[R])this.terminals_[rt]&&rt>Z&&at.push("'"+this.terminals_[rt]+"'");y.showPosition?mt="Parse error on line "+(M+1)+`: `+y.showPosition()+` Expecting `+at.join(", ")+", got '"+(this.terminals_[I]||I)+"'":mt="Parse error on line "+(M+1)+": Unexpected "+(I==l?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(mt,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:A,expected:at})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+I);switch(W[0]){case 1:f.push(I),k.push(y.yytext),e.push(y.yylloc),f.push(W[1]),I=null,z=y.yyleng,a=y.yytext,M=y.yylineno,A=y.yylloc;break;case 2:if(P=this.productions_[W[1]][1],j.$=k[k.length-P],j._$={first_line:e[e.length-(P||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(P||1)].first_column,last_column:e[e.length-1].last_column},D&&(j._$.range=[e[e.length-(P||1)].range[0],e[e.length-1].range[1]]),ht=this.performAction.apply(j,[a,z,M,p.yy,W[1],k,e].concat(g)),typeof ht<"u")return ht;P&&(f=f.slice(0,-1*P*2),k=k.slice(0,-1*P),e=e.slice(0,-1*P)),f.push(this.productions_[W[1]][0]),k.push(j.$),e.push(j._$),St=T[f[f.length-2]][f[f.length-1]],f.push(St);break;case 3:return!0}}return!0}},ft=function(){var m={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(c,o){return this.yy=o||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var o=c.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var o=c.length,f=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var k=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),o=new Array(c.length+1).join("-");return c+this.upcomingInput()+` diff --git a/assets/gitGraphDiagram-0a645df6-4da845c3.js b/assets/gitGraphDiagram-0a645df6-ecec34b3.js similarity index 99% rename from assets/gitGraphDiagram-0a645df6-4da845c3.js rename to assets/gitGraphDiagram-0a645df6-ecec34b3.js index e0a44c65..78f5beaf 100644 --- a/assets/gitGraphDiagram-0a645df6-4da845c3.js +++ b/assets/gitGraphDiagram-0a645df6-ecec34b3.js @@ -1,4 +1,4 @@ -import{c as A,s as Ae,g as Oe,a as Se,b as Ie,B as Ge,C as Pe,m as He,l as G,k as V,D as Ne,G as pe,h as De,A as Ve,H as ze,I as Be}from"./index-cc077c34.js";var me=function(){var r=function(j,l,u,b){for(u=u||{},b=j.length;b--;u[j[b]]=l);return u},a=[1,4],o=[1,7],h=[1,5],c=[1,9],n=[1,6],f=[2,6],p=[1,16],v=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],y=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],d=[1,26],_=[6,8,14,50,55],s=[8,14,55],C=[1,53],w=[1,52],N=[8,14,30,33,35,38,55],x=[1,67],g=[1,68],k=[1,69],P=[8,14,33,35,42,55],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,b,i,E,e,W){var t=e.length-1;switch(E){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{1:[3]},{3:10,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{3:11,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(v,[2,124]),r(v,[2,125]),r(v,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(y,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:d},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(_,[2,116]),{49:45,52:[1,46]},r(_,[2,121]),{1:[2,4]},{8:[1,47]},r(y,[2,11]),{4:48,8:o,14:h,55:n},r(y,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:C,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:C,54:w},{33:[1,61],35:[1,62]},{28:63,34:C,54:w},{48:64,53:d},{53:[2,120]},{1:[2,5]},r(y,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(N,[2,122]),r(N,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:x,44:g,45:k},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(_,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(P,[2,113]),r(P,[2,114]),r(P,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:x,44:g,45:k},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:x,44:g,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:x,44:g,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:x,44:g,45:k},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:x,44:g,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:x,44:g,45:k},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:x,44:g,45:k},{34:[1,153]},{39:154,43:x,44:g,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:x,44:g,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:x,44:g,45:k},{34:[1,167]},{39:168,43:x,44:g,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:x,44:g,45:k},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:x,44:g,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:x,44:g,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:x,44:g,45:k},{34:[1,214]},{39:215,43:x,44:g,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:x,44:g,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:x,44:g,45:k},{34:[1,228]},{39:229,43:x,44:g,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:x,44:g,45:k},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(u.recoverable)this.trace(l);else{var b=new Error(l);throw b.hash=u,b}},parse:function(l){var u=this,b=[0],i=[],E=[null],e=[],W=this.table,t="",Z=0,be=0,Re=2,ge=1,Ce=e.slice.call(arguments,1),L=Object.create(this.lexer),q={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(q.yy[ne]=this.yy[ne]);L.setInput(l,q.yy),q.yy.lexer=L,q.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var oe=L.yylloc;e.push(oe);var Le=L.options&&L.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(){var B;return B=i.pop()||L.lex()||ge,typeof B!="number"&&(B instanceof Array&&(i=B,B=i.pop()),B=u.symbols_[B]||B),B}for(var S,Y,D,le,U={},$,z,de,ee;;){if(Y=b[b.length-1],this.defaultActions[Y]?D=this.defaultActions[Y]:((S===null||typeof S>"u")&&(S=Me()),D=W[Y]&&W[Y][S]),typeof D>"u"||!D.length||!D[0]){var he="";ee=[];for($ in W[Y])this.terminals_[$]&&$>Re&&ee.push("'"+this.terminals_[$]+"'");L.showPosition?he="Parse error on line "+(Z+1)+`: +import{c as A,s as Ae,g as Oe,a as Se,b as Ie,B as Ge,C as Pe,m as He,l as G,k as V,D as Ne,G as pe,h as De,A as Ve,H as ze,I as Be}from"./index-76e1e0ef.js";var me=function(){var r=function(j,l,u,b){for(u=u||{},b=j.length;b--;u[j[b]]=l);return u},a=[1,4],o=[1,7],h=[1,5],c=[1,9],n=[1,6],f=[2,6],p=[1,16],v=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],y=[8,14,20,22,24,25,27,29,32,37,40],m=[8,13,14,20,22,24,25,27,29,32,37,40],d=[1,26],_=[6,8,14,50,55],s=[8,14,55],C=[1,53],w=[1,52],N=[8,14,30,33,35,38,55],x=[1,67],g=[1,68],k=[1,69],P=[8,14,33,35,42,55],ae={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(l,u,b,i,E,e,W){var t=e.length-1;switch(E){case 3:return e[t];case 4:return e[t-1];case 5:return i.setDirection(e[t-3]),e[t-1];case 7:i.setOptions(e[t-1]),this.$=e[t];break;case 8:e[t-1]+=e[t],this.$=e[t-1];break;case 10:this.$=[];break;case 11:e[t-1].push(e[t]),this.$=e[t-1];break;case 12:this.$=e[t-1];break;case 17:this.$=e[t].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=e[t].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 22:i.checkout(e[t]);break;case 23:i.branch(e[t]);break;case 24:i.branch(e[t-2],e[t]);break;case 25:i.cherryPick(e[t],"",void 0);break;case 26:i.cherryPick(e[t-2],"",e[t]);break;case 27:case 29:i.cherryPick(e[t-2],"","");break;case 28:i.cherryPick(e[t],"",e[t-2]);break;case 30:i.merge(e[t],"","","");break;case 31:i.merge(e[t-2],e[t],"","");break;case 32:i.merge(e[t-2],"",e[t],"");break;case 33:i.merge(e[t-2],"","",e[t]);break;case 34:i.merge(e[t-4],e[t],"",e[t-2]);break;case 35:i.merge(e[t-4],"",e[t],e[t-2]);break;case 36:i.merge(e[t-4],"",e[t-2],e[t]);break;case 37:i.merge(e[t-4],e[t-2],e[t],"");break;case 38:i.merge(e[t-4],e[t-2],"",e[t]);break;case 39:i.merge(e[t-4],e[t],e[t-2],"");break;case 40:i.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 41:i.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 42:i.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 43:i.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 44:i.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 45:i.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 46:i.commit(e[t]);break;case 47:i.commit("","",i.commitType.NORMAL,e[t]);break;case 48:i.commit("","",e[t],"");break;case 49:i.commit("","",e[t],e[t-2]);break;case 50:i.commit("","",e[t-2],e[t]);break;case 51:i.commit("",e[t],i.commitType.NORMAL,"");break;case 52:i.commit("",e[t-2],i.commitType.NORMAL,e[t]);break;case 53:i.commit("",e[t],i.commitType.NORMAL,e[t-2]);break;case 54:i.commit("",e[t-2],e[t],"");break;case 55:i.commit("",e[t],e[t-2],"");break;case 56:i.commit("",e[t-4],e[t-2],e[t]);break;case 57:i.commit("",e[t-4],e[t],e[t-2]);break;case 58:i.commit("",e[t-2],e[t-4],e[t]);break;case 59:i.commit("",e[t],e[t-4],e[t-2]);break;case 60:i.commit("",e[t],e[t-2],e[t-4]);break;case 61:i.commit("",e[t-2],e[t],e[t-4]);break;case 62:i.commit(e[t],"",i.commitType.NORMAL,"");break;case 63:i.commit(e[t],"",i.commitType.NORMAL,e[t-2]);break;case 64:i.commit(e[t-2],"",i.commitType.NORMAL,e[t]);break;case 65:i.commit(e[t-2],"",e[t],"");break;case 66:i.commit(e[t],"",e[t-2],"");break;case 67:i.commit(e[t],e[t-2],i.commitType.NORMAL,"");break;case 68:i.commit(e[t-2],e[t],i.commitType.NORMAL,"");break;case 69:i.commit(e[t-4],"",e[t-2],e[t]);break;case 70:i.commit(e[t-4],"",e[t],e[t-2]);break;case 71:i.commit(e[t-2],"",e[t-4],e[t]);break;case 72:i.commit(e[t],"",e[t-4],e[t-2]);break;case 73:i.commit(e[t],"",e[t-2],e[t-4]);break;case 74:i.commit(e[t-2],"",e[t],e[t-4]);break;case 75:i.commit(e[t-4],e[t],e[t-2],"");break;case 76:i.commit(e[t-4],e[t-2],e[t],"");break;case 77:i.commit(e[t-2],e[t],e[t-4],"");break;case 78:i.commit(e[t],e[t-2],e[t-4],"");break;case 79:i.commit(e[t],e[t-4],e[t-2],"");break;case 80:i.commit(e[t-2],e[t-4],e[t],"");break;case 81:i.commit(e[t-4],e[t],i.commitType.NORMAL,e[t-2]);break;case 82:i.commit(e[t-4],e[t-2],i.commitType.NORMAL,e[t]);break;case 83:i.commit(e[t-2],e[t],i.commitType.NORMAL,e[t-4]);break;case 84:i.commit(e[t],e[t-2],i.commitType.NORMAL,e[t-4]);break;case 85:i.commit(e[t],e[t-4],i.commitType.NORMAL,e[t-2]);break;case 86:i.commit(e[t-2],e[t-4],i.commitType.NORMAL,e[t]);break;case 87:i.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 88:i.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 89:i.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 90:i.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 91:i.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 92:i.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 93:i.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 94:i.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 95:i.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 96:i.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 97:i.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 98:i.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 99:i.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 100:i.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 101:i.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 102:i.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 103:i.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 104:i.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 105:i.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 106:i.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 107:i.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 108:i.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 109:i.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 110:i.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 111:this.$="";break;case 112:this.$=e[t];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(e[t],"type_directive");break;case 120:e[t]=e[t].trim().replace(/'/g,'"'),i.parseDirective(e[t],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph");break}},table:[{3:1,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{1:[3]},{3:10,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{3:11,4:2,5:3,6:a,8:o,14:h,46:8,50:c,55:n},{7:12,8:f,9:[1,13],10:[1,14],11:15,14:p},r(v,[2,124]),r(v,[2,125]),r(v,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:f,11:15,14:p},{9:[1,21]},r(y,[2,10],{12:22,13:[1,23]}),r(m,[2,9]),{9:[1,25],48:24,53:d},r([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:f,11:15,14:p},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},r(m,[2,8]),r(_,[2,116]),{49:45,52:[1,46]},r(_,[2,121]),{1:[2,4]},{8:[1,47]},r(y,[2,11]),{4:48,8:o,14:h,55:n},r(y,[2,13]),r(s,[2,14]),r(s,[2,15]),r(s,[2,16]),{21:[1,49]},{23:[1,50]},r(s,[2,19]),r(s,[2,20]),r(s,[2,21]),{28:51,34:C,54:w},r(s,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:C,54:w},{33:[1,61],35:[1,62]},{28:63,34:C,54:w},{48:64,53:d},{53:[2,120]},{1:[2,5]},r(y,[2,12]),r(s,[2,17]),r(s,[2,18]),r(s,[2,22]),r(N,[2,122]),r(N,[2,123]),r(s,[2,46]),{34:[1,65]},{39:66,43:x,44:g,45:k},{34:[1,70]},{34:[1,71]},r(s,[2,112]),r(s,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},r(s,[2,23],{30:[1,78]}),r(_,[2,117]),r(s,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),r(s,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),r(P,[2,113]),r(P,[2,114]),r(P,[2,115]),r(s,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),r(s,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:x,44:g,45:k},{34:[1,93]},r(s,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:x,44:g,45:k},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:x,44:g,45:k},{34:[1,106]},{34:[1,107]},{39:108,43:x,44:g,45:k},{34:[1,109]},r(s,[2,31],{35:[1,111],38:[1,110]}),r(s,[2,32],{33:[1,113],35:[1,112]}),r(s,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},r(s,[2,24]),r(s,[2,49],{33:[1,120],42:[1,121]}),r(s,[2,53],{38:[1,122],42:[1,123]}),r(s,[2,63],{33:[1,125],38:[1,124]}),r(s,[2,50],{33:[1,126],42:[1,127]}),r(s,[2,55],{35:[1,128],42:[1,129]}),r(s,[2,66],{33:[1,131],35:[1,130]}),r(s,[2,52],{38:[1,132],42:[1,133]}),r(s,[2,54],{35:[1,134],42:[1,135]}),r(s,[2,67],{35:[1,137],38:[1,136]}),r(s,[2,64],{33:[1,139],38:[1,138]}),r(s,[2,65],{33:[1,141],35:[1,140]}),r(s,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:x,44:g,45:k},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:x,44:g,45:k},r(s,[2,26]),r(s,[2,27]),r(s,[2,28]),r(s,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:x,44:g,45:k},{34:[1,153]},{39:154,43:x,44:g,45:k},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:x,44:g,45:k},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:x,44:g,45:k},{34:[1,167]},{39:168,43:x,44:g,45:k},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:x,44:g,45:k},{34:[1,173]},r(s,[2,37],{35:[1,174]}),r(s,[2,38],{38:[1,175]}),r(s,[2,36],{33:[1,176]}),r(s,[2,39],{35:[1,177]}),r(s,[2,34],{38:[1,178]}),r(s,[2,35],{33:[1,179]}),r(s,[2,60],{42:[1,180]}),r(s,[2,73],{33:[1,181]}),r(s,[2,61],{42:[1,182]}),r(s,[2,84],{38:[1,183]}),r(s,[2,74],{33:[1,184]}),r(s,[2,83],{38:[1,185]}),r(s,[2,59],{42:[1,186]}),r(s,[2,72],{33:[1,187]}),r(s,[2,58],{42:[1,188]}),r(s,[2,78],{35:[1,189]}),r(s,[2,71],{33:[1,190]}),r(s,[2,77],{35:[1,191]}),r(s,[2,57],{42:[1,192]}),r(s,[2,85],{38:[1,193]}),r(s,[2,56],{42:[1,194]}),r(s,[2,79],{35:[1,195]}),r(s,[2,80],{35:[1,196]}),r(s,[2,86],{38:[1,197]}),r(s,[2,70],{33:[1,198]}),r(s,[2,81],{38:[1,199]}),r(s,[2,69],{33:[1,200]}),r(s,[2,75],{35:[1,201]}),r(s,[2,76],{35:[1,202]}),r(s,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:x,44:g,45:k},{34:[1,206]},{34:[1,207]},{39:208,43:x,44:g,45:k},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:x,44:g,45:k},{34:[1,214]},{39:215,43:x,44:g,45:k},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:x,44:g,45:k},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:x,44:g,45:k},{34:[1,228]},{39:229,43:x,44:g,45:k},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:x,44:g,45:k},r(s,[2,40]),r(s,[2,42]),r(s,[2,41]),r(s,[2,43]),r(s,[2,45]),r(s,[2,44]),r(s,[2,101]),r(s,[2,102]),r(s,[2,99]),r(s,[2,100]),r(s,[2,104]),r(s,[2,103]),r(s,[2,108]),r(s,[2,107]),r(s,[2,106]),r(s,[2,105]),r(s,[2,110]),r(s,[2,109]),r(s,[2,98]),r(s,[2,97]),r(s,[2,96]),r(s,[2,95]),r(s,[2,93]),r(s,[2,94]),r(s,[2,92]),r(s,[2,91]),r(s,[2,90]),r(s,[2,89]),r(s,[2,87]),r(s,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(l,u){if(u.recoverable)this.trace(l);else{var b=new Error(l);throw b.hash=u,b}},parse:function(l){var u=this,b=[0],i=[],E=[null],e=[],W=this.table,t="",Z=0,be=0,Re=2,ge=1,Ce=e.slice.call(arguments,1),L=Object.create(this.lexer),q={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(q.yy[ne]=this.yy[ne]);L.setInput(l,q.yy),q.yy.lexer=L,q.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var oe=L.yylloc;e.push(oe);var Le=L.options&&L.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(){var B;return B=i.pop()||L.lex()||ge,typeof B!="number"&&(B instanceof Array&&(i=B,B=i.pop()),B=u.symbols_[B]||B),B}for(var S,Y,D,le,U={},$,z,de,ee;;){if(Y=b[b.length-1],this.defaultActions[Y]?D=this.defaultActions[Y]:((S===null||typeof S>"u")&&(S=Me()),D=W[Y]&&W[Y][S]),typeof D>"u"||!D.length||!D[0]){var he="";ee=[];for($ in W[Y])this.terminals_[$]&&$>Re&&ee.push("'"+this.terminals_[$]+"'");L.showPosition?he="Parse error on line "+(Z+1)+`: `+L.showPosition()+` Expecting `+ee.join(", ")+", got '"+(this.terminals_[S]||S)+"'":he="Parse error on line "+(Z+1)+": Unexpected "+(S==ge?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(he,{text:L.match,token:this.terminals_[S]||S,line:L.yylineno,loc:oe,expected:ee})}if(D[0]instanceof Array&&D.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+S);switch(D[0]){case 1:b.push(S),E.push(L.yytext),e.push(L.yylloc),b.push(D[1]),S=null,be=L.yyleng,t=L.yytext,Z=L.yylineno,oe=L.yylloc;break;case 2:if(z=this.productions_[D[1]][1],U.$=E[E.length-z],U._$={first_line:e[e.length-(z||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(z||1)].first_column,last_column:e[e.length-1].last_column},Le&&(U._$.range=[e[e.length-(z||1)].range[0],e[e.length-1].range[1]]),le=this.performAction.apply(U,[t,be,Z,q.yy,D[1],E,e].concat(Ce)),typeof le<"u")return le;z&&(b=b.slice(0,-1*z*2),E=E.slice(0,-1*z),e=e.slice(0,-1*z)),b.push(this.productions_[D[1]][0]),E.push(U.$),e.push(U._$),de=W[b[b.length-2]][b[b.length-1]],b.push(de);break;case 3:return!0}}return!0}},Te=function(){var j={EOF:1,parseError:function(u,b){if(this.yy.parser)this.yy.parser.parseError(u,b);else throw new Error(u)},setInput:function(l,u){return this.yy=u||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},unput:function(l){var u=l.length,b=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===i.length?this.yylloc.first_column:0)+i[i.length-b.length].length-b[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(l){this.unput(this.match.slice(l))},pastInput:function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/assets/index-5219d011-e35dc56e.js b/assets/index-5219d011-9cdf2d3b.js similarity index 97% rename from assets/index-5219d011-e35dc56e.js rename to assets/index-5219d011-9cdf2d3b.js index 2c19d3e0..12d53ada 100644 --- a/assets/index-5219d011-e35dc56e.js +++ b/assets/index-5219d011-9cdf2d3b.js @@ -1 +1 @@ -import{b as $,a as y,m as D,G,l as j}from"./layout-fc6c59a0.js";import{i as A,u as M,s as _,a as H,b as V,p as B,c as U,d as W,e as Y,f as q,g as O,h as X}from"./edges-2e77835f-73a5ac78.js";import{l as i,t as N,c as E,h as L}from"./index-cc077c34.js";import{c as z}from"./createText-1f5f8f92-8d69e772.js";var K=4;function Q(e){return $(e,K)}function v(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Z(e),edges:I(e)};return y(e.graph())||(t.value=Q(e.graph())),t}function Z(e){return D(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return y(n)||(s.value=n),y(r)||(s.parent=r),s})}function I(e){return D(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return y(t.name)||(r.name=t.name),y(n)||(r.value=n),r})}let f={},x={},T={};const tt=()=>{x={},T={},f={}},S=(e,t)=>(i.trace("In isDecendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),et=(e,t)=>(i.info("Decendants of ",t," is ",x[t]),i.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||S(e.v,t)||S(e.w,t)||x[t].includes(e.w):(i.debug("Tilt, ",t,",not in decendants"),!1)),J=(e,t,n,r)=>{i.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(a=>{if(t.children(a).length>0)J(a,t,n,r);else{const h=t.node(a);i.info("cp ",a," to ",r," with parent ",e),n.setNode(a,h),r!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",r,"data",t.node(e),r),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const l=t.edges(a);i.debug("Copying Edges",l),l.forEach(d=>{i.info("Edge",d);const w=t.edge(d.v,d.w,d.name);i.info("Edge data",w,r);try{et(d,r)?(i.info("Copying as ",d.v,d.w,w,d.name),n.setEdge(d.v,d.w,w,d.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch(g){i.error(g)}})}i.debug("Removing node",a),t.removeNode(a)})},R=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)T[s]=e,r=[...r,...R(s,t)];return r},b=(e,t)=>{i.trace("Searching",e);const n=t.children(e);if(i.trace("Searching children of id ",e,n),n.length<1)return i.trace("This is a valid node",e),e;for(const r of n){const s=b(r,t);if(s)return i.trace("Found replacement for",e," => ",s),s}},m=e=>!f[e]||!f[e].externalConnections?e:f[e]?f[e].id:e,nt=(e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",b(n,e)),x[n]=R(n,e),f[n]={id:b(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.debug("Cluster identified",n,x),s.forEach(a=>{if(a.v!==n&&a.w!==n){const h=S(a.v,n),l=S(a.w,n);h^l&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Decendants of XXX ",n,": ",x[n]),f[n].externalConnections=!0)}})):i.debug("Not a cluster ",n,x)}),e.edges().forEach(function(n){const r=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f[n.v]," --- ",f[n.w]),f[n.v]&&f[n.w]&&f[n.v]===f[n.w]){i.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name);const h=n.w+"---"+n.v;e.setNode(h,{domId:h,id:h,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const l=JSON.parse(JSON.stringify(r)),d=JSON.parse(JSON.stringify(r));l.label="",l.arrowTypeEnd="none",d.label="",l.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,h,l,n.name+"-cyclic-special"),e.setEdge(h,a,d,n.name+"-cyclic-special")}else(f[n.v]||f[n.w])&&(i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v&&(r.fromCluster=n.v),a!==n.w&&(r.toCluster=n.w),i.warn("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,r,n.name))}),i.warn("Adjusted Graph",v(e)),p(e,0),i.trace(f)},p=(e,t)=>{if(i.warn("extractor - ",t,v(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const a=e.children(s);r=r||a.length>0}if(!r){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const s of n)if(i.debug("Extracting node",s,f,f[s]&&!f[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f[s])i.debug("Not a cluster",s,t);else if(!f[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.warn("Cluster without external connections, without a parent and with children",s,t);let h=e.graph().rankdir==="TB"?"LR":"TB";f[s]&&f[s].clusterData&&f[s].clusterData.dir&&(h=f[s].clusterData.dir,i.warn("Fixing dir",f[s].clusterData.dir,h));const l=new G({multigraph:!0,compound:!0}).setGraph({rankdir:h,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",v(e)),J(s,e,l,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f[s].clusterData,labelText:f[s].labelText,graph:l}),i.warn("New graph after copy node: (",s,")",v(l)),i.debug("Old graph after copy",v(e))}else i.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const s of n){const a=e.node(s);i.warn(" Now next level",s,a),a.clusterNode&&p(a.graph,t+1)}},P=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),a=P(e,s);n=[...n,...a]}),n},it=e=>P(e,e.children()),st=(e,t)=>{i.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),s=N(E().flowchart.htmlLabels),a=n.insert("g").attr("class","cluster-label"),h=t.labelType==="markdown"?z(a,t.labelText,{style:t.labelStyle,useHtmlLabels:s}):a.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}const d=0*t.padding,w=d/2,g=t.width<=l.width+d?l.width+d:t.width;t.width<=l.width+d?t.diff=(l.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-g/2).attr("y",t.y-t.height/2-w).attr("width",g).attr("height",t.height+d),s?a.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2)+")"):a.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const c=r.node().getBBox();return t.width=c.width,t.height=c.height,t.intersect=function(o){return X(t,o)},n},rt=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.intersect=function(l){return X(t,l)},n},at=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),h=s.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}l=h.getBBox();const d=0*t.padding,w=d/2,g=t.width<=l.width+t.padding?l.width+t.padding:t.width;t.width<=l.width+t.padding?t.diff=(l.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w).attr("width",g+d).attr("height",t.height+d),a.attr("class","inner").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w+l.height-1).attr("width",g+d).attr("height",t.height+d-l.height-3),s.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2-t.padding/3+(N(E().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(o){return X(t,o)},n},ct=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.diff=-t.padding/2,t.intersect=function(l){return X(t,l)},n},ot={rect:st,roundedWithTitle:at,noteGroup:rt,divider:ct};let F={};const lt=(e,t)=>{i.trace("Inserting cluster");const n=t.shape||"rect";F[t.id]=ot[n](e,t)},ft=()=>{F={}},k=(e,t,n,r)=>{i.info("Graph in recursive render: XXX",v(t),r);const s=t.graph().rankdir;i.trace("Dir in recursive render - dir:",s);const a=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.trace("Recursive edges",t.edge(t.edges()[0]));const h=a.insert("g").attr("class","clusters"),l=a.insert("g").attr("class","edgePaths"),d=a.insert("g").attr("class","edgeLabels"),w=a.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const o=t.node(c);if(r!==void 0){const u=JSON.parse(JSON.stringify(r.clusterData));i.info("Setting data for cluster XXX (",c,") ",u,r),t.setNode(r.id,u),t.parent(c)||(i.trace("Setting parent",c,r.id),t.setParent(c,r.id,u))}if(i.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){i.info("Cluster identified",c,o.width,t.node(c));const u=k(w,o.graph,n,t.node(c)),C=u.elem;M(o,C),o.diff=u.diff||0,i.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(C,o),i.warn("Recursive render complete ",C,o)}else t.children(c).length>0?(i.info("Cluster - the non recursive path XXX",c,o.id,o,t),i.info(b(o.id,t)),f[o.id]={id:b(o.id,t),node:o}):(i.info("Node - the non recursive path",c,o.id,o),H(w,t.node(c),s))}),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.info("Fix",f,"ids:",c.v,c.w,"Translateing: ",f[c.v],f[c.w]),V(d,o)}),t.edges().forEach(function(c){i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.info("#############################################"),i.info("### Layout ###"),i.info("#############################################"),i.info(t),j(t),i.info("Graph after layout:",v(t));let g=0;return it(t).forEach(function(c){const o=t.node(c);i.info("Position "+c+": "+JSON.stringify(t.node(c))),i.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?B(o):t.children(c).length>0?(lt(h,o),f[o.id].node=o):B(o)}),t.edges().forEach(function(c){const o=t.edge(c);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o);const u=U(l,c,o,f,n,t);W(o,u)}),t.nodes().forEach(function(c){const o=t.node(c);i.info(c,o.type,o.diff),o.type==="group"&&(g=o.diff)}),{elem:a,diff:g}},gt=(e,t,n,r,s)=>{A(e,n,r,s),Y(),q(),ft(),tt(),i.warn("Graph at first:",v(t)),nt(t),i.warn("Graph after:",v(t)),k(e,t,r)};export{gt as r}; +import{b as $,a as y,m as D,G,l as j}from"./layout-050decc5.js";import{i as A,u as M,s as _,a as H,b as V,p as B,c as U,d as W,e as Y,f as q,g as O,h as X}from"./edges-2e77835f-9002828b.js";import{l as i,t as N,c as E,h as L}from"./index-76e1e0ef.js";import{c as z}from"./createText-1f5f8f92-31332944.js";var K=4;function Q(e){return $(e,K)}function v(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:Z(e),edges:I(e)};return y(e.graph())||(t.value=Q(e.graph())),t}function Z(e){return D(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return y(n)||(s.value=n),y(r)||(s.parent=r),s})}function I(e){return D(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return y(t.name)||(r.name=t.name),y(n)||(r.value=n),r})}let f={},x={},T={};const tt=()=>{x={},T={},f={}},S=(e,t)=>(i.trace("In isDecendant",t," ",e," = ",x[t].includes(e)),!!x[t].includes(e)),et=(e,t)=>(i.info("Decendants of ",t," is ",x[t]),i.info("Edge is ",e),e.v===t||e.w===t?!1:x[t]?x[t].includes(e.v)||S(e.v,t)||S(e.w,t)||x[t].includes(e.w):(i.debug("Tilt, ",t,",not in decendants"),!1)),J=(e,t,n,r)=>{i.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(a=>{if(t.children(a).length>0)J(a,t,n,r);else{const h=t.node(a);i.info("cp ",a," to ",r," with parent ",e),n.setNode(a,h),r!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",r,"data",t.node(e),r),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const l=t.edges(a);i.debug("Copying Edges",l),l.forEach(d=>{i.info("Edge",d);const w=t.edge(d.v,d.w,d.name);i.info("Edge data",w,r);try{et(d,r)?(i.info("Copying as ",d.v,d.w,w,d.name),n.setEdge(d.v,d.w,w,d.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch(g){i.error(g)}})}i.debug("Removing node",a),t.removeNode(a)})},R=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)T[s]=e,r=[...r,...R(s,t)];return r},b=(e,t)=>{i.trace("Searching",e);const n=t.children(e);if(i.trace("Searching children of id ",e,n),n.length<1)return i.trace("This is a valid node",e),e;for(const r of n){const s=b(r,t);if(s)return i.trace("Found replacement for",e," => ",s),s}},m=e=>!f[e]||!f[e].externalConnections?e:f[e]?f[e].id:e,nt=(e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",b(n,e)),x[n]=R(n,e),f[n]={id:b(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.debug("Cluster identified",n,x),s.forEach(a=>{if(a.v!==n&&a.w!==n){const h=S(a.v,n),l=S(a.w,n);h^l&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Decendants of XXX ",n,": ",x[n]),f[n].externalConnections=!0)}})):i.debug("Not a cluster ",n,x)}),e.edges().forEach(function(n){const r=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f[n.v]," --- ",f[n.w]),f[n.v]&&f[n.w]&&f[n.v]===f[n.w]){i.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name);const h=n.w+"---"+n.v;e.setNode(h,{domId:h,id:h,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const l=JSON.parse(JSON.stringify(r)),d=JSON.parse(JSON.stringify(r));l.label="",l.arrowTypeEnd="none",d.label="",l.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,h,l,n.name+"-cyclic-special"),e.setEdge(h,a,d,n.name+"-cyclic-special")}else(f[n.v]||f[n.w])&&(i.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=m(n.v),a=m(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v&&(r.fromCluster=n.v),a!==n.w&&(r.toCluster=n.w),i.warn("Fix Replacing with XXX",s,a,n.name),e.setEdge(s,a,r,n.name))}),i.warn("Adjusted Graph",v(e)),p(e,0),i.trace(f)},p=(e,t)=>{if(i.warn("extractor - ",t,v(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const a=e.children(s);r=r||a.length>0}if(!r){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const s of n)if(i.debug("Extracting node",s,f,f[s]&&!f[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!f[s])i.debug("Not a cluster",s,t);else if(!f[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.warn("Cluster without external connections, without a parent and with children",s,t);let h=e.graph().rankdir==="TB"?"LR":"TB";f[s]&&f[s].clusterData&&f[s].clusterData.dir&&(h=f[s].clusterData.dir,i.warn("Fixing dir",f[s].clusterData.dir,h));const l=new G({multigraph:!0,compound:!0}).setGraph({rankdir:h,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",v(e)),J(s,e,l,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:f[s].clusterData,labelText:f[s].labelText,graph:l}),i.warn("New graph after copy node: (",s,")",v(l)),i.debug("Old graph after copy",v(e))}else i.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!f[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const s of n){const a=e.node(s);i.warn(" Now next level",s,a),a.clusterNode&&p(a.graph,t+1)}},P=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),a=P(e,s);n=[...n,...a]}),n},it=e=>P(e,e.children()),st=(e,t)=>{i.info("Creating subgraph rect for ",t.id,t);const n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),s=N(E().flowchart.htmlLabels),a=n.insert("g").attr("class","cluster-label"),h=t.labelType==="markdown"?z(a,t.labelText,{style:t.labelStyle,useHtmlLabels:s}):a.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}const d=0*t.padding,w=d/2,g=t.width<=l.width+d?l.width+d:t.width;t.width<=l.width+d?t.diff=(l.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-g/2).attr("y",t.y-t.height/2-w).attr("width",g).attr("height",t.height+d),s?a.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2)+")"):a.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");const c=r.node().getBBox();return t.width=c.width,t.height=c.height,t.intersect=function(o){return X(t,o)},n},rt=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.intersect=function(l){return X(t,l)},n},at=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),h=s.node().appendChild(O(t.labelText,t.labelStyle,void 0,!0));let l=h.getBBox();if(N(E().flowchart.htmlLabels)){const o=h.children[0],u=L(h);l=o.getBoundingClientRect(),u.attr("width",l.width),u.attr("height",l.height)}l=h.getBBox();const d=0*t.padding,w=d/2,g=t.width<=l.width+t.padding?l.width+t.padding:t.width;t.width<=l.width+t.padding?t.diff=(l.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w).attr("width",g+d).attr("height",t.height+d),a.attr("class","inner").attr("x",t.x-g/2-w).attr("y",t.y-t.height/2-w+l.height-1).attr("width",g+d).attr("height",t.height+d-l.height-3),s.attr("transform","translate("+(t.x-l.width/2)+", "+(t.y-t.height/2-t.padding/3+(N(E().flowchart.htmlLabels)?5:3))+")");const c=r.node().getBBox();return t.height=c.height,t.intersect=function(o){return X(t,o)},n},ct=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,a=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const h=r.node().getBBox();return t.width=h.width,t.height=h.height,t.diff=-t.padding/2,t.intersect=function(l){return X(t,l)},n},ot={rect:st,roundedWithTitle:at,noteGroup:rt,divider:ct};let F={};const lt=(e,t)=>{i.trace("Inserting cluster");const n=t.shape||"rect";F[t.id]=ot[n](e,t)},ft=()=>{F={}},k=(e,t,n,r)=>{i.info("Graph in recursive render: XXX",v(t),r);const s=t.graph().rankdir;i.trace("Dir in recursive render - dir:",s);const a=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.trace("Recursive edges",t.edge(t.edges()[0]));const h=a.insert("g").attr("class","clusters"),l=a.insert("g").attr("class","edgePaths"),d=a.insert("g").attr("class","edgeLabels"),w=a.insert("g").attr("class","nodes");t.nodes().forEach(function(c){const o=t.node(c);if(r!==void 0){const u=JSON.parse(JSON.stringify(r.clusterData));i.info("Setting data for cluster XXX (",c,") ",u,r),t.setNode(r.id,u),t.parent(c)||(i.trace("Setting parent",c,r.id),t.setParent(c,r.id,u))}if(i.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){i.info("Cluster identified",c,o.width,t.node(c));const u=k(w,o.graph,n,t.node(c)),C=u.elem;M(o,C),o.diff=u.diff||0,i.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(C,o),i.warn("Recursive render complete ",C,o)}else t.children(c).length>0?(i.info("Cluster - the non recursive path XXX",c,o.id,o,t),i.info(b(o.id,t)),f[o.id]={id:b(o.id,t),node:o}):(i.info("Node - the non recursive path",c,o.id,o),H(w,t.node(c),s))}),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),i.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),i.info("Fix",f,"ids:",c.v,c.w,"Translateing: ",f[c.v],f[c.w]),V(d,o)}),t.edges().forEach(function(c){i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),i.info("#############################################"),i.info("### Layout ###"),i.info("#############################################"),i.info(t),j(t),i.info("Graph after layout:",v(t));let g=0;return it(t).forEach(function(c){const o=t.node(c);i.info("Position "+c+": "+JSON.stringify(t.node(c))),i.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?B(o):t.children(c).length>0?(lt(h,o),f[o.id].node=o):B(o)}),t.edges().forEach(function(c){const o=t.edge(c);i.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o);const u=U(l,c,o,f,n,t);W(o,u)}),t.nodes().forEach(function(c){const o=t.node(c);i.info(c,o.type,o.diff),o.type==="group"&&(g=o.diff)}),{elem:a,diff:g}},gt=(e,t,n,r,s)=>{A(e,n,r,s),Y(),q(),ft(),tt(),i.warn("Graph at first:",v(t)),nt(t),i.warn("Graph after:",v(t)),k(e,t,r)};export{gt as r}; diff --git a/assets/index-cc077c34.js b/assets/index-76e1e0ef.js similarity index 88% rename from assets/index-cc077c34.js rename to assets/index-76e1e0ef.js index a95647da..b49737e1 100644 --- a/assets/index-cc077c34.js +++ b/assets/index-76e1e0ef.js @@ -1,4 +1,4 @@ -function F0t(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var as=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var UFe={exports:{}},qF={},jFe={exports:{}},Ji={};/** +function N0t(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var as=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var UFe={exports:{}},qF={},jFe={exports:{}},Ji={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function F0t(e,t){for(var n=0;n>>1,G=F[X];if(0>>1;Xi(re,V))Qi(ae,re)?(F[X]=ae,F[Q]=V,X=Q):(F[X]=re,F[te]=V,X=te);else if(Qi(ae,V))F[X]=ae,F[Q]=V,X=Q;else break e}}return q}function i(F,q){var V=F.sortIndex-q.sortIndex;return V!==0?V:F.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,f=null,d=3,h=!1,p=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(F){for(var q=n(u);q!==null;){if(q.callback===null)r(u);else if(q.startTime<=F)r(u),q.sortIndex=q.expirationTime,t(l,q);else break;q=n(u)}}function k(F){if(g=!1,w(F),!p)if(n(l)!==null)p=!0,P(E);else{var q=n(u);q!==null&&H(k,q.startTime-F)}}function E(F,q){p=!1,g&&(g=!1,m(L),L=-1),h=!0;var V=d;try{for(w(q),f=n(l);f!==null&&(!(f.expirationTime>q)||F&&!I());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var G=X(f.expirationTime<=q);q=e.unstable_now(),typeof G=="function"?f.callback=G:f===n(l)&&r(l),w(q)}else r(l);f=n(l)}if(f!==null)var J=!0;else{var te=n(u);te!==null&&H(k,te.startTime-q),J=!1}return J}finally{f=null,d=V,h=!1}}var S=!1,T=null,L=-1,M=5,D=-1;function I(){return!(e.unstable_now()-DF||125X?(F.sortIndex=V,t(u,F),n(l)===null&&F===n(u)&&(g?(m(L),L=-1):g=!0,H(k,V-X))):(F.sortIndex=G,t(l,F),p||h||(p=!0,P(E))),F},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(F){var q=d;return function(){var V=d;d=q;try{return F.apply(this,arguments)}finally{d=V}}}})(QFe);ZFe.exports=QFe;var opt=ZFe.exports;/** + */(function(e){function t(F,q){var V=F.length;F.push(q);e:for(;0>>1,G=F[X];if(0>>1;Xi(re,V))Qi(ae,re)?(F[X]=ae,F[Q]=V,X=Q):(F[X]=re,F[te]=V,X=te);else if(Qi(ae,V))F[X]=ae,F[Q]=V,X=Q;else break e}}return q}function i(F,q){var V=F.sortIndex-q.sortIndex;return V!==0?V:F.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,f=null,d=3,h=!1,p=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(F){for(var q=n(u);q!==null;){if(q.callback===null)r(u);else if(q.startTime<=F)r(u),q.sortIndex=q.expirationTime,t(l,q);else break;q=n(u)}}function k(F){if(g=!1,w(F),!p)if(n(l)!==null)p=!0,P(E);else{var q=n(u);q!==null&&H(k,q.startTime-F)}}function E(F,q){p=!1,g&&(g=!1,m(L),L=-1),h=!0;var V=d;try{for(w(q),f=n(l);f!==null&&(!(f.expirationTime>q)||F&&!I());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var G=X(f.expirationTime<=q);q=e.unstable_now(),typeof G=="function"?f.callback=G:f===n(l)&&r(l),w(q)}else r(l);f=n(l)}if(f!==null)var J=!0;else{var te=n(u);te!==null&&H(k,te.startTime-q),J=!1}return J}finally{f=null,d=V,h=!1}}var S=!1,T=null,L=-1,M=5,D=-1;function I(){return!(e.unstable_now()-DF||125X?(F.sortIndex=V,t(u,F),n(l)===null&&F===n(u)&&(g?(m(L),L=-1):g=!0,H(k,V-X))):(F.sortIndex=G,t(l,F),p||h||(p=!0,P(E))),F},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(F){var q=d;return function(){var V=d;d=q;try{return F.apply(this,arguments)}finally{d=V}}}})(QFe);ZFe.exports=QFe;var spt=ZFe.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function F0t(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),die=Object.prototype.hasOwnProperty,spt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g2e={},m2e={};function lpt(e){return die.call(m2e,e)?!0:die.call(g2e,e)?!1:spt.test(e)?m2e[e]=!0:(g2e[e]=!0,!1)}function upt(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cpt(e,t,n,r){if(t===null||typeof t>"u"||upt(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function jc(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var pu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pu[e]=new jc(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pu[t]=new jc(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pu[e]=new jc(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pu[e]=new jc(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){pu[e]=new jc(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pu[e]=new jc(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pu[e]=new jc(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pu[e]=new jc(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pu[e]=new jc(e,5,!1,e.toLowerCase(),null,!1,!1)});var pce=/[\-:]([a-z])/g;function gce(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(pce,gce);pu[t]=new jc(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(pce,gce);pu[t]=new jc(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(pce,gce);pu[t]=new jc(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pu[e]=new jc(e,1,!1,e.toLowerCase(),null,!1,!1)});pu.xlinkHref=new jc("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pu[e]=new jc(e,1,!1,e.toLowerCase(),null,!0,!0)});function mce(e,t,n,r){var i=pu.hasOwnProperty(t)?pu[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),die=Object.prototype.hasOwnProperty,lpt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g2e={},m2e={};function upt(e){return die.call(m2e,e)?!0:die.call(g2e,e)?!1:lpt.test(e)?m2e[e]=!0:(g2e[e]=!0,!1)}function cpt(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function fpt(e,t,n,r){if(t===null||typeof t>"u"||cpt(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function jc(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var pu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pu[e]=new jc(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pu[t]=new jc(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pu[e]=new jc(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pu[e]=new jc(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){pu[e]=new jc(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pu[e]=new jc(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pu[e]=new jc(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pu[e]=new jc(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pu[e]=new jc(e,5,!1,e.toLowerCase(),null,!1,!1)});var pce=/[\-:]([a-z])/g;function gce(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(pce,gce);pu[t]=new jc(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(pce,gce);pu[t]=new jc(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(pce,gce);pu[t]=new jc(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pu[e]=new jc(e,1,!1,e.toLowerCase(),null,!1,!1)});pu.xlinkHref=new jc("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pu[e]=new jc(e,1,!1,e.toLowerCase(),null,!0,!0)});function mce(e,t,n,r){var i=pu.hasOwnProperty(t)?pu[t]:null;(i!==null?i.type!==0:r||!(2s||i[o]!==a[s]){var l=` -`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{IH=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v9(e):""}function fpt(e){switch(e.tag){case 5:return v9(e.type);case 16:return v9("Lazy");case 13:return v9("Suspense");case 19:return v9("SuspenseList");case 0:case 2:case 15:return e=RH(e.type,!1),e;case 11:return e=RH(e.type.render,!1),e;case 1:return e=RH(e.type,!0),e;default:return""}}function mie(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 Bk:return"Fragment";case Lk:return"Portal";case hie:return"Profiler";case vce:return"StrictMode";case pie:return"Suspense";case gie:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rNe:return(e.displayName||"Context")+".Consumer";case nNe:return(e._context.displayName||"Context")+".Provider";case yce:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bce:return t=e.displayName||null,t!==null?t:mie(e.type)||"Memo";case sv:t=e._payload,e=e._init;try{return mie(e(t))}catch{}}return null}function dpt(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 mie(t);case 8:return t===vce?"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 l2(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aNe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hpt(e){var t=aNe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kD(e){e._valueTracker||(e._valueTracker=hpt(e))}function oNe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=aNe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function eL(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function vie(e,t){var n=t.checked;return Ss({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function y2e(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=l2(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function sNe(e,t){t=t.checked,t!=null&&mce(e,"checked",t,!1)}function yie(e,t){sNe(e,t);var n=l2(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bie(e,t.type,n):t.hasOwnProperty("defaultValue")&&bie(e,t.type,l2(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function b2e(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bie(e,t,n){(t!=="number"||eL(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var y9=Array.isArray;function l6(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=_D.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function fA(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lS={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},ppt=["Webkit","ms","Moz","O"];Object.keys(lS).forEach(function(e){ppt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lS[t]=lS[e]})});function fNe(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lS.hasOwnProperty(e)&&lS[e]?(""+t).trim():t+"px"}function dNe(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=fNe(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var gpt=Ss({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 _ie(e,t){if(t){if(gpt[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Pn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Pn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Pn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Pn(62))}}function Cie(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 Eie=null;function wce(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xie=null,u6=null,c6=null;function _2e(e){if(e=o7(e)){if(typeof xie!="function")throw Error(Pn(280));var t=e.stateNode;t&&(t=YF(t),xie(e.stateNode,e.type,t))}}function hNe(e){u6?c6?c6.push(e):c6=[e]:u6=e}function pNe(){if(u6){var e=u6,t=c6;if(c6=u6=null,_2e(e),t)for(e=0;e>>=0,e===0?32:31-(Spt(e)/Apt|0)|0}var CD=64,ED=4194304;function b9(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 iL(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=b9(s):(a&=o,a!==0&&(r=b9(a)))}else o=n&~i,o!==0?r=b9(o):a!==0&&(r=b9(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function i7(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_0(t),e[t]=n}function Rpt(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0=cS),R2e=String.fromCharCode(32),M2e=!1;function LNe(e,t){switch(e){case"keyup":return a1t.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function BNe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pk=!1;function s1t(e,t){switch(e){case"compositionend":return BNe(t);case"keypress":return t.which!==32?null:(M2e=!0,R2e);case"textInput":return e=t.data,e===R2e&&M2e?null:e;default:return null}}function l1t(e,t){if(Pk)return e==="compositionend"||!Tce&&LNe(e,t)?(e=MNe(),GM=xce=xv=null,Pk=!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:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=P2e(n)}}function $Ne(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$Ne(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zNe(){for(var e=window,t=eL();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eL(e.document)}return t}function Dce(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 v1t(e){var t=zNe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$Ne(n.ownerDocument.documentElement,n)){if(r!==null&&Dce(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=F2e(n,a);var o=F2e(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Fk=null,Rie=null,dS=null,Mie=!1;function N2e(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mie||Fk==null||Fk!==eL(r)||(r=Fk,"selectionStart"in r&&Dce(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),dS&&vA(dS,r)||(dS=r,r=sL(Rie,"onSelect"),0zk||(e.current=Nie[zk],Nie[zk]=null,zk--)}function _o(e,t){zk++,Nie[zk]=e.current,e.current=t}var u2={},Hu=N2(u2),wf=N2(!1),y4=u2;function H6(e,t){var n=e.type.contextTypes;if(!n)return u2;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function kf(e){return e=e.childContextTypes,e!=null}function uL(){zo(wf),zo(Hu)}function W2e(e,t,n){if(Hu.current!==u2)throw Error(Pn(168));_o(Hu,t),_o(wf,n)}function YNe(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Pn(108,dpt(e)||"Unknown",i));return Ss({},n,r)}function cL(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||u2,y4=Hu.current,_o(Hu,e),_o(wf,wf.current),!0}function G2e(e,t,n){var r=e.stateNode;if(!r)throw Error(Pn(169));n?(e=YNe(e,t,y4),r.__reactInternalMemoizedMergedChildContext=e,zo(wf),zo(Hu),_o(Hu,e)):zo(wf),_o(wf,n)}var dg=null,XF=!1,WH=!1;function XNe(e){dg===null?dg=[e]:dg.push(e)}function D1t(e){XF=!0,XNe(e)}function $2(){if(!WH&&dg!==null){WH=!0;var e=0,t=Ba;try{var n=dg;for(Ba=1;e>=o,i-=o,wg=1<<32-_0(t)+i|n<L?(M=T,T=null):M=T.sibling;var D=d(m,T,w[L],k);if(D===null){T===null&&(T=M);break}e&&T&&D.alternate===null&&t(m,T),v=a(D,v,L),S===null?E=D:S.sibling=D,S=D,T=M}if(L===w.length)return n(m,T),ns&&vb(m,L),E;if(T===null){for(;LL?(M=T,T=null):M=T.sibling;var I=d(m,T,D.value,k);if(I===null){T===null&&(T=M);break}e&&T&&I.alternate===null&&t(m,T),v=a(I,v,L),S===null?E=I:S.sibling=I,S=I,T=M}if(D.done)return n(m,T),ns&&vb(m,L),E;if(T===null){for(;!D.done;L++,D=w.next())D=f(m,D.value,k),D!==null&&(v=a(D,v,L),S===null?E=D:S.sibling=D,S=D);return ns&&vb(m,L),E}for(T=r(m,T);!D.done;L++,D=w.next())D=h(T,m,L,D.value,k),D!==null&&(e&&D.alternate!==null&&T.delete(D.key===null?L:D.key),v=a(D,v,L),S===null?E=D:S.sibling=D,S=D);return e&&T.forEach(function(B){return t(m,B)}),ns&&vb(m,L),E}function b(m,v,w,k){if(typeof w=="object"&&w!==null&&w.type===Bk&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case wD:e:{for(var E=w.key,S=v;S!==null;){if(S.key===E){if(E=w.type,E===Bk){if(S.tag===7){n(m,S.sibling),v=i(S,w.props.children),v.return=m,m=v;break e}}else if(S.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===sv&&Q2e(E)===S.type){n(m,S.sibling),v=i(S,w.props),v.ref=x5(m,S,w),v.return=m,m=v;break e}n(m,S);break}else t(m,S);S=S.sibling}w.type===Bk?(v=n4(w.props.children,m.mode,k,w.key),v.return=m,m=v):(k=eO(w.type,w.key,w.props,null,m.mode,k),k.ref=x5(m,v,w),k.return=m,m=k)}return o(m);case Lk:e:{for(S=w.key;v!==null;){if(v.key===S)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){n(m,v.sibling),v=i(v,w.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=QH(w,m.mode,k),v.return=m,m=v}return o(m);case sv:return S=w._init,b(m,v,S(w._payload),k)}if(y9(w))return p(m,v,w,k);if(w5(w))return g(m,v,w,k);RD(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,w),v.return=m,m=v):(n(m,v),v=ZH(w,m.mode,k),v.return=m,m=v),o(m)):n(m,v)}return b}var W6=i$e(!0),a$e=i$e(!1),s7={},Gp=N2(s7),kA=N2(s7),_A=N2(s7);function qb(e){if(e===s7)throw Error(Pn(174));return e}function Nce(e,t){switch(_o(_A,t),_o(kA,e),_o(Gp,s7),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:kie(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=kie(t,e)}zo(Gp),_o(Gp,t)}function G6(){zo(Gp),zo(kA),zo(_A)}function o$e(e){qb(_A.current);var t=qb(Gp.current),n=kie(t,e.type);t!==n&&(_o(kA,e),_o(Gp,n))}function $ce(e){kA.current===e&&(zo(Gp),zo(kA))}var bs=N2(0);function mL(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.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 GH=[];function zce(){for(var e=0;en?n:4,e(!0);var r=VH.transition;VH.transition={};try{e(!1),t()}finally{Ba=n,VH.transition=r}}function _$e(){return bh().memoizedState}function O1t(e,t,n){var r=Uv(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},C$e(e))E$e(t,n);else if(n=e$e(e,t,n,r),n!==null){var i=Tc();C0(n,e,r,i),x$e(n,t,r)}}function L1t(e,t,n){var r=Uv(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(C$e(e))E$e(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,O0(s,o)){var l=t.interleaved;l===null?(i.next=i,Pce(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=e$e(e,t,i,r),n!==null&&(i=Tc(),C0(n,e,r,i),x$e(n,t,r))}}function C$e(e){var t=e.alternate;return e===Es||t!==null&&t===Es}function E$e(e,t){hS=vL=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function x$e(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_ce(e,n)}}var yL={readContext:yh,useCallback:xu,useContext:xu,useEffect:xu,useImperativeHandle:xu,useInsertionEffect:xu,useLayoutEffect:xu,useMemo:xu,useReducer:xu,useRef:xu,useState:xu,useDebugValue:xu,useDeferredValue:xu,useTransition:xu,useMutableSource:xu,useSyncExternalStore:xu,useId:xu,unstable_isNewReconciler:!1},B1t={readContext:yh,useCallback:function(e,t){return gp().memoizedState=[e,t===void 0?null:t],e},useContext:yh,useEffect:tye,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,XM(4194308,4,v$e.bind(null,t,e),n)},useLayoutEffect:function(e,t){return XM(4194308,4,e,t)},useInsertionEffect:function(e,t){return XM(4,2,e,t)},useMemo:function(e,t){var n=gp();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gp();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=O1t.bind(null,Es,e),[r.memoizedState,e]},useRef:function(e){var t=gp();return e={current:e},t.memoizedState=e},useState:eye,useDebugValue:Wce,useDeferredValue:function(e){return gp().memoizedState=e},useTransition:function(){var e=eye(!1),t=e[0];return e=M1t.bind(null,e[1]),gp().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Es,i=gp();if(ns){if(n===void 0)throw Error(Pn(407));n=n()}else{if(n=t(),Vl===null)throw Error(Pn(349));w4&30||u$e(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,tye(f$e.bind(null,r,a,e),[e]),r.flags|=2048,xA(9,c$e.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=gp(),t=Vl.identifierPrefix;if(ns){var n=kg,r=wg;n=(r&~(1<<32-_0(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=CA++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{IH=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v9(e):""}function dpt(e){switch(e.tag){case 5:return v9(e.type);case 16:return v9("Lazy");case 13:return v9("Suspense");case 19:return v9("SuspenseList");case 0:case 2:case 15:return e=RH(e.type,!1),e;case 11:return e=RH(e.type.render,!1),e;case 1:return e=RH(e.type,!0),e;default:return""}}function mie(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 Bk:return"Fragment";case Lk:return"Portal";case hie:return"Profiler";case vce:return"StrictMode";case pie:return"Suspense";case gie:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rNe:return(e.displayName||"Context")+".Consumer";case nNe:return(e._context.displayName||"Context")+".Provider";case yce:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bce:return t=e.displayName||null,t!==null?t:mie(e.type)||"Memo";case sv:t=e._payload,e=e._init;try{return mie(e(t))}catch{}}return null}function hpt(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 mie(t);case 8:return t===vce?"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 l2(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aNe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ppt(e){var t=aNe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kD(e){e._valueTracker||(e._valueTracker=ppt(e))}function oNe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=aNe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function eL(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function vie(e,t){var n=t.checked;return Ss({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function y2e(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=l2(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function sNe(e,t){t=t.checked,t!=null&&mce(e,"checked",t,!1)}function yie(e,t){sNe(e,t);var n=l2(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bie(e,t.type,n):t.hasOwnProperty("defaultValue")&&bie(e,t.type,l2(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function b2e(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bie(e,t,n){(t!=="number"||eL(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var y9=Array.isArray;function l6(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=_D.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function fA(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lS={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},gpt=["Webkit","ms","Moz","O"];Object.keys(lS).forEach(function(e){gpt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lS[t]=lS[e]})});function fNe(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||lS.hasOwnProperty(e)&&lS[e]?(""+t).trim():t+"px"}function dNe(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=fNe(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var mpt=Ss({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 _ie(e,t){if(t){if(mpt[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Pn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Pn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Pn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Pn(62))}}function Cie(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 Eie=null;function wce(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xie=null,u6=null,c6=null;function _2e(e){if(e=o7(e)){if(typeof xie!="function")throw Error(Pn(280));var t=e.stateNode;t&&(t=YF(t),xie(e.stateNode,e.type,t))}}function hNe(e){u6?c6?c6.push(e):c6=[e]:u6=e}function pNe(){if(u6){var e=u6,t=c6;if(c6=u6=null,_2e(e),t)for(e=0;e>>=0,e===0?32:31-(Apt(e)/Tpt|0)|0}var CD=64,ED=4194304;function b9(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 iL(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=b9(s):(a&=o,a!==0&&(r=b9(a)))}else o=n&~i,o!==0?r=b9(o):a!==0&&(r=b9(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function i7(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_0(t),e[t]=n}function Mpt(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0=cS),R2e=String.fromCharCode(32),M2e=!1;function LNe(e,t){switch(e){case"keyup":return o1t.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function BNe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pk=!1;function l1t(e,t){switch(e){case"compositionend":return BNe(t);case"keypress":return t.which!==32?null:(M2e=!0,R2e);case"textInput":return e=t.data,e===R2e&&M2e?null:e;default:return null}}function u1t(e,t){if(Pk)return e==="compositionend"||!Tce&&LNe(e,t)?(e=MNe(),GM=xce=xv=null,Pk=!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:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=P2e(n)}}function $Ne(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$Ne(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zNe(){for(var e=window,t=eL();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eL(e.document)}return t}function Dce(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 y1t(e){var t=zNe(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&$Ne(n.ownerDocument.documentElement,n)){if(r!==null&&Dce(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=F2e(n,a);var o=F2e(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Fk=null,Rie=null,dS=null,Mie=!1;function N2e(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mie||Fk==null||Fk!==eL(r)||(r=Fk,"selectionStart"in r&&Dce(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),dS&&vA(dS,r)||(dS=r,r=sL(Rie,"onSelect"),0zk||(e.current=Nie[zk],Nie[zk]=null,zk--)}function _o(e,t){zk++,Nie[zk]=e.current,e.current=t}var u2={},Hu=N2(u2),wf=N2(!1),y4=u2;function H6(e,t){var n=e.type.contextTypes;if(!n)return u2;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function kf(e){return e=e.childContextTypes,e!=null}function uL(){zo(wf),zo(Hu)}function W2e(e,t,n){if(Hu.current!==u2)throw Error(Pn(168));_o(Hu,t),_o(wf,n)}function YNe(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Pn(108,hpt(e)||"Unknown",i));return Ss({},n,r)}function cL(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||u2,y4=Hu.current,_o(Hu,e),_o(wf,wf.current),!0}function G2e(e,t,n){var r=e.stateNode;if(!r)throw Error(Pn(169));n?(e=YNe(e,t,y4),r.__reactInternalMemoizedMergedChildContext=e,zo(wf),zo(Hu),_o(Hu,e)):zo(wf),_o(wf,n)}var dg=null,XF=!1,WH=!1;function XNe(e){dg===null?dg=[e]:dg.push(e)}function I1t(e){XF=!0,XNe(e)}function $2(){if(!WH&&dg!==null){WH=!0;var e=0,t=Ba;try{var n=dg;for(Ba=1;e>=o,i-=o,wg=1<<32-_0(t)+i|n<L?(M=T,T=null):M=T.sibling;var D=d(m,T,w[L],k);if(D===null){T===null&&(T=M);break}e&&T&&D.alternate===null&&t(m,T),v=a(D,v,L),S===null?E=D:S.sibling=D,S=D,T=M}if(L===w.length)return n(m,T),ns&&vb(m,L),E;if(T===null){for(;LL?(M=T,T=null):M=T.sibling;var I=d(m,T,D.value,k);if(I===null){T===null&&(T=M);break}e&&T&&I.alternate===null&&t(m,T),v=a(I,v,L),S===null?E=I:S.sibling=I,S=I,T=M}if(D.done)return n(m,T),ns&&vb(m,L),E;if(T===null){for(;!D.done;L++,D=w.next())D=f(m,D.value,k),D!==null&&(v=a(D,v,L),S===null?E=D:S.sibling=D,S=D);return ns&&vb(m,L),E}for(T=r(m,T);!D.done;L++,D=w.next())D=h(T,m,L,D.value,k),D!==null&&(e&&D.alternate!==null&&T.delete(D.key===null?L:D.key),v=a(D,v,L),S===null?E=D:S.sibling=D,S=D);return e&&T.forEach(function(B){return t(m,B)}),ns&&vb(m,L),E}function b(m,v,w,k){if(typeof w=="object"&&w!==null&&w.type===Bk&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case wD:e:{for(var E=w.key,S=v;S!==null;){if(S.key===E){if(E=w.type,E===Bk){if(S.tag===7){n(m,S.sibling),v=i(S,w.props.children),v.return=m,m=v;break e}}else if(S.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===sv&&Q2e(E)===S.type){n(m,S.sibling),v=i(S,w.props),v.ref=x5(m,S,w),v.return=m,m=v;break e}n(m,S);break}else t(m,S);S=S.sibling}w.type===Bk?(v=n4(w.props.children,m.mode,k,w.key),v.return=m,m=v):(k=eO(w.type,w.key,w.props,null,m.mode,k),k.ref=x5(m,v,w),k.return=m,m=k)}return o(m);case Lk:e:{for(S=w.key;v!==null;){if(v.key===S)if(v.tag===4&&v.stateNode.containerInfo===w.containerInfo&&v.stateNode.implementation===w.implementation){n(m,v.sibling),v=i(v,w.children||[]),v.return=m,m=v;break e}else{n(m,v);break}else t(m,v);v=v.sibling}v=QH(w,m.mode,k),v.return=m,m=v}return o(m);case sv:return S=w._init,b(m,v,S(w._payload),k)}if(y9(w))return p(m,v,w,k);if(w5(w))return g(m,v,w,k);RD(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,v!==null&&v.tag===6?(n(m,v.sibling),v=i(v,w),v.return=m,m=v):(n(m,v),v=ZH(w,m.mode,k),v.return=m,m=v),o(m)):n(m,v)}return b}var W6=i$e(!0),a$e=i$e(!1),s7={},Gp=N2(s7),kA=N2(s7),_A=N2(s7);function qb(e){if(e===s7)throw Error(Pn(174));return e}function Nce(e,t){switch(_o(_A,t),_o(kA,e),_o(Gp,s7),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:kie(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=kie(t,e)}zo(Gp),_o(Gp,t)}function G6(){zo(Gp),zo(kA),zo(_A)}function o$e(e){qb(_A.current);var t=qb(Gp.current),n=kie(t,e.type);t!==n&&(_o(kA,e),_o(Gp,n))}function $ce(e){kA.current===e&&(zo(Gp),zo(kA))}var bs=N2(0);function mL(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.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 GH=[];function zce(){for(var e=0;en?n:4,e(!0);var r=VH.transition;VH.transition={};try{e(!1),t()}finally{Ba=n,VH.transition=r}}function _$e(){return bh().memoizedState}function L1t(e,t,n){var r=Uv(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},C$e(e))E$e(t,n);else if(n=e$e(e,t,n,r),n!==null){var i=Tc();C0(n,e,r,i),x$e(n,t,r)}}function B1t(e,t,n){var r=Uv(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(C$e(e))E$e(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,O0(s,o)){var l=t.interleaved;l===null?(i.next=i,Pce(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=e$e(e,t,i,r),n!==null&&(i=Tc(),C0(n,e,r,i),x$e(n,t,r))}}function C$e(e){var t=e.alternate;return e===Es||t!==null&&t===Es}function E$e(e,t){hS=vL=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function x$e(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_ce(e,n)}}var yL={readContext:yh,useCallback:xu,useContext:xu,useEffect:xu,useImperativeHandle:xu,useInsertionEffect:xu,useLayoutEffect:xu,useMemo:xu,useReducer:xu,useRef:xu,useState:xu,useDebugValue:xu,useDeferredValue:xu,useTransition:xu,useMutableSource:xu,useSyncExternalStore:xu,useId:xu,unstable_isNewReconciler:!1},P1t={readContext:yh,useCallback:function(e,t){return gp().memoizedState=[e,t===void 0?null:t],e},useContext:yh,useEffect:tye,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,XM(4194308,4,v$e.bind(null,t,e),n)},useLayoutEffect:function(e,t){return XM(4194308,4,e,t)},useInsertionEffect:function(e,t){return XM(4,2,e,t)},useMemo:function(e,t){var n=gp();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gp();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=L1t.bind(null,Es,e),[r.memoizedState,e]},useRef:function(e){var t=gp();return e={current:e},t.memoizedState=e},useState:eye,useDebugValue:Wce,useDeferredValue:function(e){return gp().memoizedState=e},useTransition:function(){var e=eye(!1),t=e[0];return e=O1t.bind(null,e[1]),gp().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Es,i=gp();if(ns){if(n===void 0)throw Error(Pn(407));n=n()}else{if(n=t(),Vl===null)throw Error(Pn(349));w4&30||u$e(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,tye(f$e.bind(null,r,a,e),[e]),r.flags|=2048,xA(9,c$e.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=gp(),t=Vl.identifierPrefix;if(ns){var n=kg,r=wg;n=(r&~(1<<32-_0(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=CA++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ap]=t,e[wA]=r,L$e(e,t,!1,!1),t.stateNode=e;e:{switch(o=Cie(n,r),n){case"dialog":Lo("cancel",e),Lo("close",e),i=r;break;case"iframe":case"object":case"embed":Lo("load",e),i=r;break;case"video":case"audio":for(i=0;iK6&&(t.flags|=128,r=!0,S5(a,!1),t.lanes=4194304)}else{if(!r)if(e=mL(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),S5(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!ns)return Su(t),null}else 2*Ys()-a.renderingStartTime>K6&&n!==1073741824&&(t.flags|=128,r=!0,S5(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ys(),t.sibling=null,n=bs.current,_o(bs,r?n&1|2:n&1),t):(Su(t),null);case 22:case 23:return Jce(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Uf&1073741824&&(Su(t),t.subtreeFlags&6&&(t.flags|=8192)):Su(t),null;case 24:return null;case 25:return null}throw Error(Pn(156,t.tag))}function H1t(e,t){switch(Rce(t),t.tag){case 1:return kf(t.type)&&uL(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return G6(),zo(wf),zo(Hu),zce(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $ce(t),null;case 13:if(zo(bs),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Pn(340));q6()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return zo(bs),null;case 4:return G6(),null;case 10:return Bce(t.type._context),null;case 22:case 23:return Jce(),null;case 24:return null;default:return null}}var OD=!1,Fu=!1,q1t=typeof WeakSet=="function"?WeakSet:Set,kr=null;function qk(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Bs(e,t,r)}else n.current=null}function Xie(e,t,n){try{n()}catch(r){Bs(e,t,r)}}var cye=!1;function W1t(e,t){if(Oie=aL,e=zNe(),Dce(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==a||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++u===i&&(s=o),d===a&&++c===r&&(l=o),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lie={focusedElem:e,selectionRange:n},aL=!1,kr=t;kr!==null;)if(t=kr,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,kr=e;else for(;kr!==null;){t=kr;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,b=p.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:r0(t.type,g),b);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Pn(163))}}catch(k){Bs(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,kr=e;break}kr=t.return}return p=cye,cye=!1,p}function pS(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Xie(t,n,a)}i=i.next}while(i!==r)}}function QF(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jie(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function F$e(e){var t=e.alternate;t!==null&&(e.alternate=null,F$e(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ap],delete t[wA],delete t[Fie],delete t[A1t],delete t[T1t])),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 N$e(e){return e.tag===5||e.tag===3||e.tag===4}function fye(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N$e(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 Zie(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=lL));else if(r!==4&&(e=e.child,e!==null))for(Zie(e,t,n),e=e.sibling;e!==null;)Zie(e,t,n),e=e.sibling}function Qie(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qie(e,t,n),e=e.sibling;e!==null;)Qie(e,t,n),e=e.sibling}var lu=null,o0=!1;function Gm(e,t,n){for(n=n.child;n!==null;)$$e(e,t,n),n=n.sibling}function $$e(e,t,n){if(Wp&&typeof Wp.onCommitFiberUnmount=="function")try{Wp.onCommitFiberUnmount(WF,n)}catch{}switch(n.tag){case 5:Fu||qk(n,t);case 6:var r=lu,i=o0;lu=null,Gm(e,t,n),lu=r,o0=i,lu!==null&&(o0?(e=lu,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:lu!==null&&(o0?(e=lu,n=n.stateNode,e.nodeType===8?qH(e.parentNode,n):e.nodeType===1&&qH(e,n),gA(e)):qH(lu,n.stateNode));break;case 4:r=lu,i=o0,lu=n.stateNode.containerInfo,o0=!0,Gm(e,t,n),lu=r,o0=i;break;case 0:case 11:case 14:case 15:if(!Fu&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Xie(n,t,o),i=i.next}while(i!==r)}Gm(e,t,n);break;case 1:if(!Fu&&(qk(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Bs(n,t,s)}Gm(e,t,n);break;case 21:Gm(e,t,n);break;case 22:n.mode&1?(Fu=(r=Fu)||n.memoizedState!==null,Gm(e,t,n),Fu=r):Gm(e,t,n);break;default:Gm(e,t,n)}}function dye(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new q1t),t.forEach(function(r){var i=egt.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Jh(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=Ys()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*V1t(r/1960))-r,10e?16:e,Sv===null)var r=!1;else{if(e=Sv,Sv=null,kL=0,ca&6)throw Error(Pn(331));var i=ca;for(ca|=4,kr=e.current;kr!==null;){var a=kr,o=a.child;if(kr.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lYs()-Yce?t4(e,0):Kce|=n),_f(e,t)}function V$e(e,t){t===0&&(e.mode&1?(t=ED,ED<<=1,!(ED&130023424)&&(ED=4194304)):t=1);var n=Tc();e=zg(e,t),e!==null&&(i7(e,t,n),_f(e,n))}function Q1t(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),V$e(e,n)}function egt(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Pn(314))}r!==null&&r.delete(t),V$e(e,n)}var K$e;K$e=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||wf.current)gf=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gf=!1,U1t(e,t,n);gf=!!(e.flags&131072)}else gf=!1,ns&&t.flags&1048576&&JNe(t,dL,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;JM(e,t),e=t.pendingProps;var i=H6(t,Hu.current);d6(t,n),i=jce(null,t,r,e,i,n);var a=Hce();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,kf(r)?(a=!0,cL(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fce(t),i.updater=JF,t.stateNode=i,i._reactInternals=t,Hie(t,r,e,n),t=Gie(null,t,r,!0,a,n)):(t.tag=0,ns&&a&&Ice(t),dc(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(JM(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ngt(r),e=r0(r,e),i){case 0:t=Wie(null,t,r,e,n);break e;case 1:t=sye(null,t,r,e,n);break e;case 11:t=aye(null,t,r,e,n);break e;case 14:t=oye(null,t,r,r0(r.type,e),n);break e}throw Error(Pn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),Wie(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),sye(e,t,r,i,n);case 3:e:{if(R$e(t),e===null)throw Error(Pn(387));r=t.pendingProps,a=t.memoizedState,i=a.element,t$e(e,t),gL(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=V6(Error(Pn(423)),t),t=lye(e,t,r,n,i);break e}else if(r!==i){i=V6(Error(Pn(424)),t),t=lye(e,t,r,n,i);break e}else for(Qf=Nv(t.stateNode.containerInfo.firstChild),od=t,ns=!0,l0=null,n=a$e(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(q6(),r===i){t=Ug(e,t,n);break e}dc(e,t,r,n)}t=t.child}return t;case 5:return o$e(t),e===null&&zie(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Bie(r,i)?o=null:a!==null&&Bie(r,a)&&(t.flags|=32),I$e(e,t),dc(e,t,o,n),t.child;case 6:return e===null&&zie(t),null;case 13:return M$e(e,t,n);case 4:return Nce(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=W6(t,null,r,n):dc(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),aye(e,t,r,i,n);case 7:return dc(e,t,t.pendingProps,n),t.child;case 8:return dc(e,t,t.pendingProps.children,n),t.child;case 12:return dc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,_o(hL,r._currentValue),r._currentValue=o,a!==null)if(O0(a.value,o)){if(a.children===i.children&&!wf.current){t=Ug(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Ag(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Uie(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(Pn(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Uie(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}dc(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,d6(t,n),i=yh(i),r=r(i),t.flags|=1,dc(e,t,r,n),t.child;case 14:return r=t.type,i=r0(r,t.pendingProps),i=r0(r.type,i),oye(e,t,r,i,n);case 15:return T$e(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),JM(e,t),t.tag=1,kf(r)?(e=!0,cL(t)):e=!1,d6(t,n),r$e(t,r,i),Hie(t,r,i,n),Gie(null,t,r,!0,e,n);case 19:return O$e(e,t,n);case 22:return D$e(e,t,n)}throw Error(Pn(156,t.tag))};function Y$e(e,t){return kNe(e,t)}function tgt(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oh(e,t,n,r){return new tgt(e,t,n,r)}function Qce(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ngt(e){if(typeof e=="function")return Qce(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yce)return 11;if(e===bce)return 14}return 2}function jv(e,t){var n=e.alternate;return n===null?(n=oh(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function eO(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")Qce(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Bk:return n4(n.children,i,a,t);case vce:o=8,i|=8;break;case hie:return e=oh(12,n,t,i|2),e.elementType=hie,e.lanes=a,e;case pie:return e=oh(13,n,t,i),e.elementType=pie,e.lanes=a,e;case gie:return e=oh(19,n,t,i),e.elementType=gie,e.lanes=a,e;case iNe:return tN(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nNe:o=10;break e;case rNe:o=9;break e;case yce:o=11;break e;case bce:o=14;break e;case sv:o=16,r=null;break e}throw Error(Pn(130,e==null?e:typeof e,""))}return t=oh(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function n4(e,t,n,r){return e=oh(7,e,r,t),e.lanes=n,e}function tN(e,t,n,r){return e=oh(22,e,r,t),e.elementType=iNe,e.lanes=n,e.stateNode={isHidden:!1},e}function ZH(e,t,n){return e=oh(6,e,null,t),e.lanes=n,e}function QH(e,t,n){return t=oh(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rgt(e,t,n,r,i){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=OH(0),this.expirationTimes=OH(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=OH(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function efe(e,t,n,r,i,a,o,s,l){return e=new rgt(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=oh(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fce(a),e}function igt(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Q$e)}catch(e){console.error(e)}}Q$e(),JFe.exports=dd;var am=JFe.exports;const Gk=ls(am);var Ck,wye=am;Ck=fie.createRoot=wye.createRoot,fie.hydrateRoot=wye.hydrateRoot;var eze={exports:{}},tze={};/** +`+a.stack}return{value:e,source:t,stack:i,digest:null}}function XH(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function qie(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $1t=typeof WeakMap=="function"?WeakMap:Map;function S$e(e,t,n){n=Ag(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wL||(wL=!0,eae=r),qie(e,t)},n}function A$e(e,t,n){n=Ag(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){qie(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){qie(e,t),typeof r!="function"&&(zv===null?zv=new Set([this]):zv.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function nye(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $1t;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Q1t.bind(null,e,t,n),t.then(e,e))}function rye(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function iye(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ag(-1,1),t.tag=2,$v(n,t,1))),n.lanes|=1),e)}var z1t=im.ReactCurrentOwner,gf=!1;function dc(e,t,n,r){t.child=e===null?a$e(t,null,n,r):W6(t,e.child,n,r)}function aye(e,t,n,r,i){n=n.render;var a=t.ref;return d6(t,i),r=jce(e,t,n,r,a,i),n=Hce(),e!==null&&!gf?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ug(e,t,i)):(ns&&n&&Ice(t),t.flags|=1,dc(e,t,r,i),t.child)}function oye(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!Qce(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,T$e(e,t,a,r,i)):(e=eO(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:vA,n(o,r)&&e.ref===t.ref)return Ug(e,t,i)}return t.flags|=1,e=jv(a,r),e.ref=t.ref,e.return=t,t.child=e}function T$e(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(vA(a,r)&&e.ref===t.ref)if(gf=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(gf=!0);else return t.lanes=e.lanes,Ug(e,t,i)}return Wie(e,t,n,r,i)}function D$e(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Wk,Uf),Uf|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Wk,Uf),Uf|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,_o(Wk,Uf),Uf|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,_o(Wk,Uf),Uf|=r;return dc(e,t,i,n),t.child}function I$e(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wie(e,t,n,r,i){var a=kf(n)?y4:Hu.current;return a=H6(t,a),d6(t,i),n=jce(e,t,n,r,a,i),r=Hce(),e!==null&&!gf?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ug(e,t,i)):(ns&&r&&Ice(t),t.flags|=1,dc(e,t,n,i),t.child)}function sye(e,t,n,r,i){if(kf(n)){var a=!0;cL(t)}else a=!1;if(d6(t,i),t.stateNode===null)JM(e,t),r$e(t,n,r),Hie(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=yh(u):(u=kf(n)?y4:Hu.current,u=H6(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Z2e(t,o,r,u),lv=!1;var d=t.memoizedState;o.state=d,gL(t,r,o,i),l=t.memoizedState,s!==r||d!==l||wf.current||lv?(typeof c=="function"&&(jie(t,n,c,r),l=t.memoizedState),(s=lv||J2e(t,n,s,r,d,l,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,t$e(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:r0(t.type,s),o.props=u,f=t.pendingProps,d=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=yh(l):(l=kf(n)?y4:Hu.current,l=H6(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==f||d!==l)&&Z2e(t,o,r,l),lv=!1,d=t.memoizedState,o.state=d,gL(t,r,o,i);var p=t.memoizedState;s!==f||d!==p||wf.current||lv?(typeof h=="function"&&(jie(t,n,h,r),p=t.memoizedState),(u=lv||J2e(t,n,u,r,d,p,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,p,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,p,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Gie(e,t,n,r,a,i)}function Gie(e,t,n,r,i,a){I$e(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&G2e(t,n,!1),Ug(e,t,a);r=t.stateNode,z1t.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=W6(t,e.child,null,a),t.child=W6(t,null,s,a)):dc(e,t,s,a),t.memoizedState=r.state,i&&G2e(t,n,!0),t.child}function R$e(e){var t=e.stateNode;t.pendingContext?W2e(e,t.pendingContext,t.pendingContext!==t.context):t.context&&W2e(e,t.context,!1),Nce(e,t.containerInfo)}function lye(e,t,n,r,i){return q6(),Mce(i),t.flags|=256,dc(e,t,n,r),t.child}var Vie={dehydrated:null,treeContext:null,retryLane:0};function Kie(e){return{baseLanes:e,cachePool:null,transitions:null}}function M$e(e,t,n){var r=t.pendingProps,i=bs.current,a=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),_o(bs,i&1),e===null)return zie(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=tN(o,r,0,null),e=n4(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Kie(n),t.memoizedState=Vie,e):Gce(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return U1t(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=jv(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=jv(s,a):(a=n4(a,o,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?Kie(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=Vie,r}return a=e.child,e=a.sibling,r=jv(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Gce(e,t){return t=tN({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function MD(e,t,n,r){return r!==null&&Mce(r),W6(t,e.child,null,n),e=Gce(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function U1t(e,t,n,r,i,a,o){if(n)return t.flags&256?(t.flags&=-257,r=XH(Error(Pn(422))),MD(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=tN({mode:"visible",children:r.children},i,0,null),a=n4(a,i,o,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&W6(t,e.child,null,o),t.child.memoizedState=Kie(o),t.memoizedState=Vie,a);if(!(t.mode&1))return MD(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,a=Error(Pn(419)),r=XH(a,r,void 0),MD(e,t,o,r)}if(s=(o&e.childLanes)!==0,gf||s){if(r=Vl,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,zg(e,i),C0(r,e,i,-1))}return Zce(),r=XH(Error(Pn(421))),MD(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=egt.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,Qf=Nv(i.nextSibling),od=t,ns=!0,l0=null,e!==null&&(Qd[eh++]=wg,Qd[eh++]=kg,Qd[eh++]=b4,wg=e.id,kg=e.overflow,b4=t),t=Gce(t,r.children),t.flags|=4096,t)}function uye(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Uie(e.return,t,n)}function JH(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function O$e(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(dc(e,t,r.children,n),r=bs.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&uye(e,n,t);else if(e.tag===19)uye(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_o(bs,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&mL(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),JH(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&mL(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}JH(t,!0,n,null,a);break;case"together":JH(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function JM(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ug(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),k4|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Pn(153));if(t.child!==null){for(e=t.child,n=jv(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jv(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function j1t(e,t,n){switch(t.tag){case 3:R$e(t),q6();break;case 5:o$e(t);break;case 1:kf(t.type)&&cL(t);break;case 4:Nce(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;_o(hL,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(_o(bs,bs.current&1),t.flags|=128,null):n&t.child.childLanes?M$e(e,t,n):(_o(bs,bs.current&1),e=Ug(e,t,n),e!==null?e.sibling:null);_o(bs,bs.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return O$e(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),_o(bs,bs.current),r)break;return null;case 22:case 23:return t.lanes=0,D$e(e,t,n)}return Ug(e,t,n)}var L$e,Yie,B$e,P$e;L$e=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Yie=function(){};B$e=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,qb(Gp.current);var a=null;switch(n){case"input":i=vie(e,i),r=vie(e,r),a=[];break;case"select":i=Ss({},i,{value:void 0}),r=Ss({},r,{value:void 0}),a=[];break;case"textarea":i=wie(e,i),r=wie(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=lL)}_ie(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(cA.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var l=r[u];if(s=i?.[u],r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(a||(a=[]),a.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(cA.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Lo("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};P$e=function(e,t,n,r){n!==r&&(t.flags|=4)};function S5(e,t){if(!ns)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Su(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function H1t(e,t,n){var r=t.pendingProps;switch(Rce(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Su(t),null;case 1:return kf(t.type)&&uL(),Su(t),null;case 3:return r=t.stateNode,G6(),zo(wf),zo(Hu),zce(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ID(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,l0!==null&&(rae(l0),l0=null))),Yie(e,t),Su(t),null;case 5:$ce(t);var i=qb(_A.current);if(n=t.type,e!==null&&t.stateNode!=null)B$e(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Pn(166));return Su(t),null}if(e=qb(Gp.current),ID(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[Ap]=t,r[wA]=a,e=(t.mode&1)!==0,n){case"dialog":Lo("cancel",r),Lo("close",r);break;case"iframe":case"object":case"embed":Lo("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ap]=t,e[wA]=r,L$e(e,t,!1,!1),t.stateNode=e;e:{switch(o=Cie(n,r),n){case"dialog":Lo("cancel",e),Lo("close",e),i=r;break;case"iframe":case"object":case"embed":Lo("load",e),i=r;break;case"video":case"audio":for(i=0;iK6&&(t.flags|=128,r=!0,S5(a,!1),t.lanes=4194304)}else{if(!r)if(e=mL(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),S5(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!ns)return Su(t),null}else 2*Ys()-a.renderingStartTime>K6&&n!==1073741824&&(t.flags|=128,r=!0,S5(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ys(),t.sibling=null,n=bs.current,_o(bs,r?n&1|2:n&1),t):(Su(t),null);case 22:case 23:return Jce(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Uf&1073741824&&(Su(t),t.subtreeFlags&6&&(t.flags|=8192)):Su(t),null;case 24:return null;case 25:return null}throw Error(Pn(156,t.tag))}function q1t(e,t){switch(Rce(t),t.tag){case 1:return kf(t.type)&&uL(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return G6(),zo(wf),zo(Hu),zce(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $ce(t),null;case 13:if(zo(bs),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Pn(340));q6()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return zo(bs),null;case 4:return G6(),null;case 10:return Bce(t.type._context),null;case 22:case 23:return Jce(),null;case 24:return null;default:return null}}var OD=!1,Fu=!1,W1t=typeof WeakSet=="function"?WeakSet:Set,kr=null;function qk(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Bs(e,t,r)}else n.current=null}function Xie(e,t,n){try{n()}catch(r){Bs(e,t,r)}}var cye=!1;function G1t(e,t){if(Oie=aL,e=zNe(),Dce(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(s=o+i),f!==a||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++u===i&&(s=o),d===a&&++c===r&&(l=o),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lie={focusedElem:e,selectionRange:n},aL=!1,kr=t;kr!==null;)if(t=kr,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,kr=e;else for(;kr!==null;){t=kr;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,b=p.memoizedState,m=t.stateNode,v=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:r0(t.type,g),b);m.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Pn(163))}}catch(k){Bs(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,kr=e;break}kr=t.return}return p=cye,cye=!1,p}function pS(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Xie(t,n,a)}i=i.next}while(i!==r)}}function QF(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Jie(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function F$e(e){var t=e.alternate;t!==null&&(e.alternate=null,F$e(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ap],delete t[wA],delete t[Fie],delete t[T1t],delete t[D1t])),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 N$e(e){return e.tag===5||e.tag===3||e.tag===4}function fye(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N$e(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 Zie(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=lL));else if(r!==4&&(e=e.child,e!==null))for(Zie(e,t,n),e=e.sibling;e!==null;)Zie(e,t,n),e=e.sibling}function Qie(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qie(e,t,n),e=e.sibling;e!==null;)Qie(e,t,n),e=e.sibling}var lu=null,o0=!1;function Gm(e,t,n){for(n=n.child;n!==null;)$$e(e,t,n),n=n.sibling}function $$e(e,t,n){if(Wp&&typeof Wp.onCommitFiberUnmount=="function")try{Wp.onCommitFiberUnmount(WF,n)}catch{}switch(n.tag){case 5:Fu||qk(n,t);case 6:var r=lu,i=o0;lu=null,Gm(e,t,n),lu=r,o0=i,lu!==null&&(o0?(e=lu,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):lu.removeChild(n.stateNode));break;case 18:lu!==null&&(o0?(e=lu,n=n.stateNode,e.nodeType===8?qH(e.parentNode,n):e.nodeType===1&&qH(e,n),gA(e)):qH(lu,n.stateNode));break;case 4:r=lu,i=o0,lu=n.stateNode.containerInfo,o0=!0,Gm(e,t,n),lu=r,o0=i;break;case 0:case 11:case 14:case 15:if(!Fu&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Xie(n,t,o),i=i.next}while(i!==r)}Gm(e,t,n);break;case 1:if(!Fu&&(qk(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Bs(n,t,s)}Gm(e,t,n);break;case 21:Gm(e,t,n);break;case 22:n.mode&1?(Fu=(r=Fu)||n.memoizedState!==null,Gm(e,t,n),Fu=r):Gm(e,t,n);break;default:Gm(e,t,n)}}function dye(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new W1t),t.forEach(function(r){var i=tgt.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Jh(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=Ys()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*K1t(r/1960))-r,10e?16:e,Sv===null)var r=!1;else{if(e=Sv,Sv=null,kL=0,ca&6)throw Error(Pn(331));var i=ca;for(ca|=4,kr=e.current;kr!==null;){var a=kr,o=a.child;if(kr.flags&16){var s=a.deletions;if(s!==null){for(var l=0;lYs()-Yce?t4(e,0):Kce|=n),_f(e,t)}function V$e(e,t){t===0&&(e.mode&1?(t=ED,ED<<=1,!(ED&130023424)&&(ED=4194304)):t=1);var n=Tc();e=zg(e,t),e!==null&&(i7(e,t,n),_f(e,n))}function egt(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),V$e(e,n)}function tgt(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Pn(314))}r!==null&&r.delete(t),V$e(e,n)}var K$e;K$e=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||wf.current)gf=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gf=!1,j1t(e,t,n);gf=!!(e.flags&131072)}else gf=!1,ns&&t.flags&1048576&&JNe(t,dL,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;JM(e,t),e=t.pendingProps;var i=H6(t,Hu.current);d6(t,n),i=jce(null,t,r,e,i,n);var a=Hce();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,kf(r)?(a=!0,cL(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fce(t),i.updater=JF,t.stateNode=i,i._reactInternals=t,Hie(t,r,e,n),t=Gie(null,t,r,!0,a,n)):(t.tag=0,ns&&a&&Ice(t),dc(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(JM(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=rgt(r),e=r0(r,e),i){case 0:t=Wie(null,t,r,e,n);break e;case 1:t=sye(null,t,r,e,n);break e;case 11:t=aye(null,t,r,e,n);break e;case 14:t=oye(null,t,r,r0(r.type,e),n);break e}throw Error(Pn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),Wie(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),sye(e,t,r,i,n);case 3:e:{if(R$e(t),e===null)throw Error(Pn(387));r=t.pendingProps,a=t.memoizedState,i=a.element,t$e(e,t),gL(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=V6(Error(Pn(423)),t),t=lye(e,t,r,n,i);break e}else if(r!==i){i=V6(Error(Pn(424)),t),t=lye(e,t,r,n,i);break e}else for(Qf=Nv(t.stateNode.containerInfo.firstChild),od=t,ns=!0,l0=null,n=a$e(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(q6(),r===i){t=Ug(e,t,n);break e}dc(e,t,r,n)}t=t.child}return t;case 5:return o$e(t),e===null&&zie(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Bie(r,i)?o=null:a!==null&&Bie(r,a)&&(t.flags|=32),I$e(e,t),dc(e,t,o,n),t.child;case 6:return e===null&&zie(t),null;case 13:return M$e(e,t,n);case 4:return Nce(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=W6(t,null,r,n):dc(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),aye(e,t,r,i,n);case 7:return dc(e,t,t.pendingProps,n),t.child;case 8:return dc(e,t,t.pendingProps.children,n),t.child;case 12:return dc(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,_o(hL,r._currentValue),r._currentValue=o,a!==null)if(O0(a.value,o)){if(a.children===i.children&&!wf.current){t=Ug(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=Ag(-1,n&-n),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Uie(a.return,n,t),s.lanes|=n;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(Pn(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Uie(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}dc(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,d6(t,n),i=yh(i),r=r(i),t.flags|=1,dc(e,t,r,n),t.child;case 14:return r=t.type,i=r0(r,t.pendingProps),i=r0(r.type,i),oye(e,t,r,i,n);case 15:return T$e(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:r0(r,i),JM(e,t),t.tag=1,kf(r)?(e=!0,cL(t)):e=!1,d6(t,n),r$e(t,r,i),Hie(t,r,i,n),Gie(null,t,r,!0,e,n);case 19:return O$e(e,t,n);case 22:return D$e(e,t,n)}throw Error(Pn(156,t.tag))};function Y$e(e,t){return kNe(e,t)}function ngt(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oh(e,t,n,r){return new ngt(e,t,n,r)}function Qce(e){return e=e.prototype,!(!e||!e.isReactComponent)}function rgt(e){if(typeof e=="function")return Qce(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yce)return 11;if(e===bce)return 14}return 2}function jv(e,t){var n=e.alternate;return n===null?(n=oh(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function eO(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")Qce(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Bk:return n4(n.children,i,a,t);case vce:o=8,i|=8;break;case hie:return e=oh(12,n,t,i|2),e.elementType=hie,e.lanes=a,e;case pie:return e=oh(13,n,t,i),e.elementType=pie,e.lanes=a,e;case gie:return e=oh(19,n,t,i),e.elementType=gie,e.lanes=a,e;case iNe:return tN(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nNe:o=10;break e;case rNe:o=9;break e;case yce:o=11;break e;case bce:o=14;break e;case sv:o=16,r=null;break e}throw Error(Pn(130,e==null?e:typeof e,""))}return t=oh(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function n4(e,t,n,r){return e=oh(7,e,r,t),e.lanes=n,e}function tN(e,t,n,r){return e=oh(22,e,r,t),e.elementType=iNe,e.lanes=n,e.stateNode={isHidden:!1},e}function ZH(e,t,n){return e=oh(6,e,null,t),e.lanes=n,e}function QH(e,t,n){return t=oh(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function igt(e,t,n,r,i){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=OH(0),this.expirationTimes=OH(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=OH(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function efe(e,t,n,r,i,a,o,s,l){return e=new igt(e,t,n,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=oh(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fce(a),e}function agt(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Q$e)}catch(e){console.error(e)}}Q$e(),JFe.exports=dd;var am=JFe.exports;const Gk=ls(am);var Ck,wye=am;Ck=fie.createRoot=wye.createRoot,fie.hydrateRoot=wye.hydrateRoot;var eze={exports:{}},tze={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -45,7 +45,7 @@ Error generating stack: `+a.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Y6=C;function ugt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cgt=typeof Object.is=="function"?Object.is:ugt,fgt=Y6.useState,dgt=Y6.useEffect,hgt=Y6.useLayoutEffect,pgt=Y6.useDebugValue;function ggt(e,t){var n=t(),r=fgt({inst:{value:n,getSnapshot:t}}),i=r[0].inst,a=r[1];return hgt(function(){i.value=n,i.getSnapshot=t,eq(i)&&a({inst:i})},[e,n,t]),dgt(function(){return eq(i)&&a({inst:i}),e(function(){eq(i)&&a({inst:i})})},[e]),pgt(n),n}function eq(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!cgt(e,n)}catch{return!0}}function mgt(e,t){return t()}var vgt=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?mgt:ggt;tze.useSyncExternalStore=Y6.useSyncExternalStore!==void 0?Y6.useSyncExternalStore:vgt;eze.exports=tze;var ygt=eze.exports,nze={exports:{}},rze={};/** + */var Y6=C;function cgt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var fgt=typeof Object.is=="function"?Object.is:cgt,dgt=Y6.useState,hgt=Y6.useEffect,pgt=Y6.useLayoutEffect,ggt=Y6.useDebugValue;function mgt(e,t){var n=t(),r=dgt({inst:{value:n,getSnapshot:t}}),i=r[0].inst,a=r[1];return pgt(function(){i.value=n,i.getSnapshot=t,eq(i)&&a({inst:i})},[e,n,t]),hgt(function(){return eq(i)&&a({inst:i}),e(function(){eq(i)&&a({inst:i})})},[e]),ggt(n),n}function eq(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!fgt(e,n)}catch{return!0}}function vgt(e,t){return t()}var ygt=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?vgt:mgt;tze.useSyncExternalStore=Y6.useSyncExternalStore!==void 0?Y6.useSyncExternalStore:ygt;eze.exports=tze;var bgt=eze.exports,nze={exports:{}},rze={};/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -53,14 +53,14 @@ Error generating stack: `+a.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var oN=C,bgt=ygt;function wgt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kgt=typeof Object.is=="function"?Object.is:wgt,_gt=bgt.useSyncExternalStore,Cgt=oN.useRef,Egt=oN.useEffect,xgt=oN.useMemo,Sgt=oN.useDebugValue;rze.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=Cgt(null);if(a.current===null){var o={hasValue:!1,value:null};a.current=o}else o=a.current;a=xgt(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),i!==void 0&&o.hasValue){var p=o.value;if(i(p,h))return f=p}return f=h}if(p=f,kgt(c,h))return p;var g=r(h);return i!==void 0&&i(p,g)?p:(c=h,f=g)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,n,r,i]);var s=_gt(e,a[0],a[1]);return Egt(function(){o.hasValue=!0,o.value=s},[s]),Sgt(s),s};nze.exports=rze;var ize=nze.exports;const Agt=ls(ize);function Tgt(e){e()}let aze=Tgt;const Dgt=e=>aze=e,Igt=()=>aze,c2=C.createContext(null);function oze(){return C.useContext(c2)}const Rgt=()=>{throw new Error("uSES not initialized!")};let sze=Rgt;const Mgt=e=>{sze=e},Ogt=(e,t)=>e===t;function Lgt(e=c2){const t=e===c2?oze:()=>C.useContext(e);return function(r,i=Ogt){const{store:a,subscription:o,getServerState:s}=t(),l=sze(o.addNestedSub,a.getState,s||a.getState,r,i);return C.useDebugValue(l),l}}const ir=Lgt();function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var lze={exports:{}},Na={};/** @license React v16.13.1 + */var oN=C,wgt=bgt;function kgt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _gt=typeof Object.is=="function"?Object.is:kgt,Cgt=wgt.useSyncExternalStore,Egt=oN.useRef,xgt=oN.useEffect,Sgt=oN.useMemo,Agt=oN.useDebugValue;rze.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=Egt(null);if(a.current===null){var o={hasValue:!1,value:null};a.current=o}else o=a.current;a=Sgt(function(){function l(h){if(!u){if(u=!0,c=h,h=r(h),i!==void 0&&o.hasValue){var p=o.value;if(i(p,h))return f=p}return f=h}if(p=f,_gt(c,h))return p;var g=r(h);return i!==void 0&&i(p,g)?p:(c=h,f=g)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return l(t())},d===null?void 0:function(){return l(d())}]},[t,n,r,i]);var s=Cgt(e,a[0],a[1]);return xgt(function(){o.hasValue=!0,o.value=s},[s]),Agt(s),s};nze.exports=rze;var ize=nze.exports;const Tgt=ls(ize);function Dgt(e){e()}let aze=Dgt;const Igt=e=>aze=e,Rgt=()=>aze,c2=C.createContext(null);function oze(){return C.useContext(c2)}const Mgt=()=>{throw new Error("uSES not initialized!")};let sze=Mgt;const Ogt=e=>{sze=e},Lgt=(e,t)=>e===t;function Bgt(e=c2){const t=e===c2?oze:()=>C.useContext(e);return function(r,i=Lgt){const{store:a,subscription:o,getServerState:s}=t(),l=sze(o.addNestedSub,a.getState,s||a.getState,r,i);return C.useDebugValue(l),l}}const ir=Bgt();function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var lze={exports:{}},Na={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Xl=typeof Symbol=="function"&&Symbol.for,ife=Xl?Symbol.for("react.element"):60103,afe=Xl?Symbol.for("react.portal"):60106,sN=Xl?Symbol.for("react.fragment"):60107,lN=Xl?Symbol.for("react.strict_mode"):60108,uN=Xl?Symbol.for("react.profiler"):60114,cN=Xl?Symbol.for("react.provider"):60109,fN=Xl?Symbol.for("react.context"):60110,ofe=Xl?Symbol.for("react.async_mode"):60111,dN=Xl?Symbol.for("react.concurrent_mode"):60111,hN=Xl?Symbol.for("react.forward_ref"):60112,pN=Xl?Symbol.for("react.suspense"):60113,Bgt=Xl?Symbol.for("react.suspense_list"):60120,gN=Xl?Symbol.for("react.memo"):60115,mN=Xl?Symbol.for("react.lazy"):60116,Pgt=Xl?Symbol.for("react.block"):60121,Fgt=Xl?Symbol.for("react.fundamental"):60117,Ngt=Xl?Symbol.for("react.responder"):60118,$gt=Xl?Symbol.for("react.scope"):60119;function pd(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ife:switch(e=e.type,e){case ofe:case dN:case sN:case uN:case lN:case pN:return e;default:switch(e=e&&e.$$typeof,e){case fN:case hN:case mN:case gN:case cN:return e;default:return t}}case afe:return t}}}function uze(e){return pd(e)===dN}Na.AsyncMode=ofe;Na.ConcurrentMode=dN;Na.ContextConsumer=fN;Na.ContextProvider=cN;Na.Element=ife;Na.ForwardRef=hN;Na.Fragment=sN;Na.Lazy=mN;Na.Memo=gN;Na.Portal=afe;Na.Profiler=uN;Na.StrictMode=lN;Na.Suspense=pN;Na.isAsyncMode=function(e){return uze(e)||pd(e)===ofe};Na.isConcurrentMode=uze;Na.isContextConsumer=function(e){return pd(e)===fN};Na.isContextProvider=function(e){return pd(e)===cN};Na.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ife};Na.isForwardRef=function(e){return pd(e)===hN};Na.isFragment=function(e){return pd(e)===sN};Na.isLazy=function(e){return pd(e)===mN};Na.isMemo=function(e){return pd(e)===gN};Na.isPortal=function(e){return pd(e)===afe};Na.isProfiler=function(e){return pd(e)===uN};Na.isStrictMode=function(e){return pd(e)===lN};Na.isSuspense=function(e){return pd(e)===pN};Na.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===sN||e===dN||e===uN||e===lN||e===pN||e===Bgt||typeof e=="object"&&e!==null&&(e.$$typeof===mN||e.$$typeof===gN||e.$$typeof===cN||e.$$typeof===fN||e.$$typeof===hN||e.$$typeof===Fgt||e.$$typeof===Ngt||e.$$typeof===$gt||e.$$typeof===Pgt)};Na.typeOf=pd;lze.exports=Na;var zgt=lze.exports,cze=zgt,Ugt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jgt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fze={};fze[cze.ForwardRef]=Ugt;fze[cze.Memo]=jgt;var dze={exports:{}},$a={};/** + */var Xl=typeof Symbol=="function"&&Symbol.for,ife=Xl?Symbol.for("react.element"):60103,afe=Xl?Symbol.for("react.portal"):60106,sN=Xl?Symbol.for("react.fragment"):60107,lN=Xl?Symbol.for("react.strict_mode"):60108,uN=Xl?Symbol.for("react.profiler"):60114,cN=Xl?Symbol.for("react.provider"):60109,fN=Xl?Symbol.for("react.context"):60110,ofe=Xl?Symbol.for("react.async_mode"):60111,dN=Xl?Symbol.for("react.concurrent_mode"):60111,hN=Xl?Symbol.for("react.forward_ref"):60112,pN=Xl?Symbol.for("react.suspense"):60113,Pgt=Xl?Symbol.for("react.suspense_list"):60120,gN=Xl?Symbol.for("react.memo"):60115,mN=Xl?Symbol.for("react.lazy"):60116,Fgt=Xl?Symbol.for("react.block"):60121,Ngt=Xl?Symbol.for("react.fundamental"):60117,$gt=Xl?Symbol.for("react.responder"):60118,zgt=Xl?Symbol.for("react.scope"):60119;function pd(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ife:switch(e=e.type,e){case ofe:case dN:case sN:case uN:case lN:case pN:return e;default:switch(e=e&&e.$$typeof,e){case fN:case hN:case mN:case gN:case cN:return e;default:return t}}case afe:return t}}}function uze(e){return pd(e)===dN}Na.AsyncMode=ofe;Na.ConcurrentMode=dN;Na.ContextConsumer=fN;Na.ContextProvider=cN;Na.Element=ife;Na.ForwardRef=hN;Na.Fragment=sN;Na.Lazy=mN;Na.Memo=gN;Na.Portal=afe;Na.Profiler=uN;Na.StrictMode=lN;Na.Suspense=pN;Na.isAsyncMode=function(e){return uze(e)||pd(e)===ofe};Na.isConcurrentMode=uze;Na.isContextConsumer=function(e){return pd(e)===fN};Na.isContextProvider=function(e){return pd(e)===cN};Na.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ife};Na.isForwardRef=function(e){return pd(e)===hN};Na.isFragment=function(e){return pd(e)===sN};Na.isLazy=function(e){return pd(e)===mN};Na.isMemo=function(e){return pd(e)===gN};Na.isPortal=function(e){return pd(e)===afe};Na.isProfiler=function(e){return pd(e)===uN};Na.isStrictMode=function(e){return pd(e)===lN};Na.isSuspense=function(e){return pd(e)===pN};Na.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===sN||e===dN||e===uN||e===lN||e===pN||e===Pgt||typeof e=="object"&&e!==null&&(e.$$typeof===mN||e.$$typeof===gN||e.$$typeof===cN||e.$$typeof===fN||e.$$typeof===hN||e.$$typeof===Ngt||e.$$typeof===$gt||e.$$typeof===zgt||e.$$typeof===Fgt)};Na.typeOf=pd;lze.exports=Na;var Ugt=lze.exports,cze=Ugt,jgt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Hgt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},fze={};fze[cze.ForwardRef]=jgt;fze[cze.Memo]=Hgt;var dze={exports:{}},$a={};/** * @license React * react-is.production.min.js * @@ -68,7 +68,7 @@ Error generating stack: `+a.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var sfe=Symbol.for("react.element"),lfe=Symbol.for("react.portal"),vN=Symbol.for("react.fragment"),yN=Symbol.for("react.strict_mode"),bN=Symbol.for("react.profiler"),wN=Symbol.for("react.provider"),kN=Symbol.for("react.context"),Hgt=Symbol.for("react.server_context"),_N=Symbol.for("react.forward_ref"),CN=Symbol.for("react.suspense"),EN=Symbol.for("react.suspense_list"),xN=Symbol.for("react.memo"),SN=Symbol.for("react.lazy"),qgt=Symbol.for("react.offscreen"),hze;hze=Symbol.for("react.module.reference");function Th(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sfe:switch(e=e.type,e){case vN:case bN:case yN:case CN:case EN:return e;default:switch(e=e&&e.$$typeof,e){case Hgt:case kN:case _N:case SN:case xN:case wN:return e;default:return t}}case lfe:return t}}}$a.ContextConsumer=kN;$a.ContextProvider=wN;$a.Element=sfe;$a.ForwardRef=_N;$a.Fragment=vN;$a.Lazy=SN;$a.Memo=xN;$a.Portal=lfe;$a.Profiler=bN;$a.StrictMode=yN;$a.Suspense=CN;$a.SuspenseList=EN;$a.isAsyncMode=function(){return!1};$a.isConcurrentMode=function(){return!1};$a.isContextConsumer=function(e){return Th(e)===kN};$a.isContextProvider=function(e){return Th(e)===wN};$a.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sfe};$a.isForwardRef=function(e){return Th(e)===_N};$a.isFragment=function(e){return Th(e)===vN};$a.isLazy=function(e){return Th(e)===SN};$a.isMemo=function(e){return Th(e)===xN};$a.isPortal=function(e){return Th(e)===lfe};$a.isProfiler=function(e){return Th(e)===bN};$a.isStrictMode=function(e){return Th(e)===yN};$a.isSuspense=function(e){return Th(e)===CN};$a.isSuspenseList=function(e){return Th(e)===EN};$a.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vN||e===bN||e===yN||e===CN||e===EN||e===qgt||typeof e=="object"&&e!==null&&(e.$$typeof===SN||e.$$typeof===xN||e.$$typeof===wN||e.$$typeof===kN||e.$$typeof===_N||e.$$typeof===hze||e.getModuleId!==void 0)};$a.typeOf=Th;dze.exports=$a;var Wgt=dze.exports;const Ggt=ls(Wgt);function Vgt(){const e=Igt();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,a=n={callback:r,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const kye={notify(){},get:()=>[]};function Kgt(e,t){let n,r=kye;function i(f){return l(),r.subscribe(f)}function a(){r.notify()}function o(){c.onStateChange&&c.onStateChange()}function s(){return!!n}function l(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=Vgt())}function u(){n&&(n(),n=void 0,r.clear(),r=kye)}const c={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return c}const Ygt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Xgt=Ygt?C.useLayoutEffect:C.useEffect;function Jgt({store:e,context:t,children:n,serverState:r}){const i=C.useMemo(()=>{const s=Kgt(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),a=C.useMemo(()=>e.getState(),[e]);Xgt(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),a!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,a]);const o=t||c2;return gr.createElement(o.Provider,{value:i},n)}function pze(e=c2){const t=e===c2?oze:()=>C.useContext(e);return function(){const{store:r}=t();return r}}const Zgt=pze();function Qgt(e=c2){const t=e===c2?Zgt:pze(e);return function(){return t().dispatch}}const za=Qgt();Mgt(ize.useSyncExternalStoreWithSelector);Dgt(am.unstable_batchedUpdates);var gze={},mze={},vze={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){for(var i=arguments.length,a=new Array(i),o=0;o"u"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(s=window).gtag.apply(s,a)}},n=t;e.default=n})(vze);var yze={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function n(s){return s.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(l,u,c){return u>0&&u+l.length!==c.length&&l.search(t)>-1&&c.charAt(u-2)!==":"&&(c.charAt(u+l.length)!=="-"||c.charAt(u-1)==="-")&&c.charAt(u-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function r(s){return typeof s=="string"&&s.indexOf("@")!==-1}var i="REDACTED (Potential Email Address)";function a(s){return r(s)?(console.warn("This arg looks like an email address, redacting."),i):s}function o(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,c=s||"";return l&&(c=n(s)),u&&(c=a(c)),c}})(yze);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GA4=void 0;var t=o(vze),n=o(yze),r=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],a=["page","hitType"];function o(O){return O&&O.__esModule?O:{default:O}}function s(O,R){if(O==null)return{};var P=l(O,R),H,F;if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(O);for(F=0;F=0)&&Object.prototype.propertyIsEnumerable.call(O,H)&&(P[H]=O[H])}return P}function l(O,R){if(O==null)return{};var P={},H=Object.keys(O),F,q;for(q=0;q=0)&&(P[F]=O[F]);return P}function u(O){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},u(O)}function c(O){return h(O)||d(O)||v(O)||f()}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. + */var sfe=Symbol.for("react.element"),lfe=Symbol.for("react.portal"),vN=Symbol.for("react.fragment"),yN=Symbol.for("react.strict_mode"),bN=Symbol.for("react.profiler"),wN=Symbol.for("react.provider"),kN=Symbol.for("react.context"),qgt=Symbol.for("react.server_context"),_N=Symbol.for("react.forward_ref"),CN=Symbol.for("react.suspense"),EN=Symbol.for("react.suspense_list"),xN=Symbol.for("react.memo"),SN=Symbol.for("react.lazy"),Wgt=Symbol.for("react.offscreen"),hze;hze=Symbol.for("react.module.reference");function Th(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sfe:switch(e=e.type,e){case vN:case bN:case yN:case CN:case EN:return e;default:switch(e=e&&e.$$typeof,e){case qgt:case kN:case _N:case SN:case xN:case wN:return e;default:return t}}case lfe:return t}}}$a.ContextConsumer=kN;$a.ContextProvider=wN;$a.Element=sfe;$a.ForwardRef=_N;$a.Fragment=vN;$a.Lazy=SN;$a.Memo=xN;$a.Portal=lfe;$a.Profiler=bN;$a.StrictMode=yN;$a.Suspense=CN;$a.SuspenseList=EN;$a.isAsyncMode=function(){return!1};$a.isConcurrentMode=function(){return!1};$a.isContextConsumer=function(e){return Th(e)===kN};$a.isContextProvider=function(e){return Th(e)===wN};$a.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sfe};$a.isForwardRef=function(e){return Th(e)===_N};$a.isFragment=function(e){return Th(e)===vN};$a.isLazy=function(e){return Th(e)===SN};$a.isMemo=function(e){return Th(e)===xN};$a.isPortal=function(e){return Th(e)===lfe};$a.isProfiler=function(e){return Th(e)===bN};$a.isStrictMode=function(e){return Th(e)===yN};$a.isSuspense=function(e){return Th(e)===CN};$a.isSuspenseList=function(e){return Th(e)===EN};$a.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vN||e===bN||e===yN||e===CN||e===EN||e===Wgt||typeof e=="object"&&e!==null&&(e.$$typeof===SN||e.$$typeof===xN||e.$$typeof===wN||e.$$typeof===kN||e.$$typeof===_N||e.$$typeof===hze||e.getModuleId!==void 0)};$a.typeOf=Th;dze.exports=$a;var Ggt=dze.exports;const Vgt=ls(Ggt);function Kgt(){const e=Rgt();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,a=n={callback:r,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const kye={notify(){},get:()=>[]};function Ygt(e,t){let n,r=kye;function i(f){return l(),r.subscribe(f)}function a(){r.notify()}function o(){c.onStateChange&&c.onStateChange()}function s(){return!!n}function l(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=Kgt())}function u(){n&&(n(),n=void 0,r.clear(),r=kye)}const c={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return c}const Xgt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Jgt=Xgt?C.useLayoutEffect:C.useEffect;function Zgt({store:e,context:t,children:n,serverState:r}){const i=C.useMemo(()=>{const s=Ygt(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),a=C.useMemo(()=>e.getState(),[e]);Jgt(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),a!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,a]);const o=t||c2;return gr.createElement(o.Provider,{value:i},n)}function pze(e=c2){const t=e===c2?oze:()=>C.useContext(e);return function(){const{store:r}=t();return r}}const Qgt=pze();function emt(e=c2){const t=e===c2?Qgt:pze(e);return function(){return t().dispatch}}const za=emt();Ogt(ize.useSyncExternalStoreWithSelector);Igt(am.unstable_batchedUpdates);var gze={},mze={},vze={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){for(var i=arguments.length,a=new Array(i),o=0;o"u"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(s=window).gtag.apply(s,a)}},n=t;e.default=n})(vze);var yze={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function n(s){return s.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(l,u,c){return u>0&&u+l.length!==c.length&&l.search(t)>-1&&c.charAt(u-2)!==":"&&(c.charAt(u+l.length)!=="-"||c.charAt(u-1)==="-")&&c.charAt(u-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function r(s){return typeof s=="string"&&s.indexOf("@")!==-1}var i="REDACTED (Potential Email Address)";function a(s){return r(s)?(console.warn("This arg looks like an email address, redacting."),i):s}function o(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,c=s||"";return l&&(c=n(s)),u&&(c=a(c)),c}})(yze);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GA4=void 0;var t=o(vze),n=o(yze),r=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],a=["page","hitType"];function o(O){return O&&O.__esModule?O:{default:O}}function s(O,R){if(O==null)return{};var P=l(O,R),H,F;if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(O);for(F=0;F=0)&&Object.prototype.propertyIsEnumerable.call(O,H)&&(P[H]=O[H])}return P}function l(O,R){if(O==null)return{};var P={},H=Object.keys(O),F,q;for(q=0;q=0)&&(P[F]=O[F]);return P}function u(O){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},u(O)}function c(O){return h(O)||d(O)||v(O)||f()}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(O){if(typeof Symbol<"u"&&O[Symbol.iterator]!=null||O["@@iterator"]!=null)return Array.from(O)}function h(O){if(Array.isArray(O))return w(O)}function p(O,R){var P=Object.keys(O);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(O);R&&(H=H.filter(function(F){return Object.getOwnPropertyDescriptor(O,F).enumerable})),P.push.apply(P,H)}return P}function g(O){for(var R=1;RO.length)&&(R=O.length);for(var P=0,H=new Array(R);P2&&arguments[2]!==void 0?arguments[2]:"https://www.googletagmanager.com/gtag/js";if(!(typeof window>"u"||typeof document>"u")&&!R._hasLoadedGA){var q=document.createElement("script");q.async=!0,q.src="".concat(F,"?id=").concat(P),H&&q.setAttribute("nonce",H),document.body.appendChild(q),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},R._hasLoadedGA=!0}}),M(this,"_toGtagOptions",function(P){if(P){var H={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"},F=Object.entries(P).reduce(function(q,V){var X=b(V,2),G=X[0],J=X[1];return H[G]?q[H[G]]=J:q[G]=J,q},{});return F}}),M(this,"initialize",function(P){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!P)throw new Error("Require GA_MEASUREMENT_ID");var F=typeof P=="string"?[{trackingId:P}]:P;R._currentMeasurementId=F[0].trackingId;var q=H.gaOptions,V=H.gtagOptions,X=H.nonce,G=H.testMode,J=G===void 0?!1:G,te=H.gtagUrl;if(R._testMode=J,J||R._loadGA(R._currentMeasurementId,X,te),R.isInitialized||(R._gtag("js",new Date),F.forEach(function(ae){var le=g(g(g({},R._toGtagOptions(g(g({},q),ae.gaOptions))),V),ae.gtagOptions);Object.keys(le).length?R._gtag("config",ae.trackingId,le):R._gtag("config",ae.trackingId)})),R.isInitialized=!0,!J){var re=c(R._queueGtag);for(R._queueGtag=[],R._isQueuing=!1;re.length;){var Q=re.shift();R._gtag.apply(R,c(Q)),Q[0]==="get"&&(R._isQueuing=!0)}}}),M(this,"set",function(P){if(!P){console.warn("`fieldsObject` is required in .set()");return}if(u(P)!=="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(P).length===0&&console.warn("empty `fieldsObject` given to .set()"),R._gaCommand("set",P)}),M(this,"_gaCommandSendEvent",function(P,H,F,q,V){R._gtag("event",H,g(g({event_category:P,event_label:F,value:q},V&&{non_interaction:V.nonInteraction}),R._toGtagOptions(V)))}),M(this,"_gaCommandSendEventParameters",function(){for(var P=arguments.length,H=new Array(P),F=0;F1?H-1:0),q=1;q"u")throw new Error(t)}function X6(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tmt(){return Math.random().toString(36).substr(2,8)}function Cye(e,t){return{usr:e.state,key:e.key,idx:t}}function AA(e,t,n,r){return n===void 0&&(n=null),ua({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?om(t):t,{state:n,key:t&&t.key||r||tmt()})}function C4(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function om(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function nmt(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=Ks.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(ua({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){s=Ks.Pop;let b=c(),m=b==null?null:b-u;u=b,l&&l({action:s,location:g.location,delta:m})}function d(b,m){s=Ks.Push;let v=AA(g.location,b,m);n&&n(v,b),u=c()+1;let w=Cye(v,u),k=g.createHref(v);try{o.pushState(w,"",k)}catch{i.location.assign(k)}a&&l&&l({action:s,location:g.location,delta:1})}function h(b,m){s=Ks.Replace;let v=AA(g.location,b,m);n&&n(v,b),u=c();let w=Cye(v,u),k=g.createHref(v);o.replaceState(w,"",k),a&&l&&l({action:s,location:g.location,delta:0})}function p(b){let m=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof b=="string"?b:C4(b);return Si(m,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,m)}let g={get action(){return s},get location(){return e(i,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(_ye,f),l=b,()=>{i.removeEventListener(_ye,f),l=null}},createHref(b){return t(i,b)},createURL:p,encodeLocation(b){let m=p(b);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:h,go(b){return o.go(b)}};return g}var xl;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xl||(xl={}));const rmt=new Set(["lazy","caseSensitive","path","id","index","children"]);function imt(e){return e.index===!0}function wze(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let o=[...n,a],s=typeof i.id=="string"?i.id:o.join("-");if(Si(i.index!==!0||!i.children,"Cannot specify children on an index route"),Si(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),imt(i)){let l=ua({},i,{hasErrorBoundary:t(i),id:s});return r[s]=l,l}else{let l=ua({},i,{id:s,hasErrorBoundary:t(i),children:void 0});return r[s]=l,i.children&&(l.children=wze(i.children,t,o,r)),l}})}function Vk(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?om(t):t,i=AN(r.pathname||"/",n);if(i==null)return null;let a=kze(e);amt(a);let o=null;for(let s=0;o==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(Si(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Hv([r,l.relativePath]),c=n.concat(l);a.children&&a.children.length>0&&(Si(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kze(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:dmt(u,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of _ze(a.path))i(a,o,l)}),t}function _ze(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=_ze(r.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function amt(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:hmt(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const omt=/^:\w+$/,smt=3,lmt=2,umt=1,cmt=10,fmt=-2,Eye=e=>e==="*";function dmt(e,t){let n=e.split("/"),r=n.length;return n.some(Eye)&&(r+=fmt),t&&(r+=lmt),n.filter(i=>!Eye(i)).reduce((i,a)=>i+(omt.test(a)?smt:a===""?umt:cmt),r)}function hmt(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function pmt(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let o=0;o{if(c==="*"){let d=s[f]||"";o=a.slice(0,a.length-d.length).replace(/(.)\/+$/,"$1")}return u[c]=ymt(s[f]||"",c),u},{}),pathname:a,pathnameBase:o,pattern:e}}function mmt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),X6(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 r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(o,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function vmt(e){try{return decodeURI(e)}catch(t){return X6(!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 ymt(e,t){try{return decodeURIComponent(e)}catch(n){return X6(!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 ("+n+").")),e}}function AN(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function bmt(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?om(e):e;return{pathname:n?n.startsWith("/")?n:wmt(n,t):t,search:_mt(r),hash:Cmt(i)}}function wmt(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function tq(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function ufe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Cze(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=om(e):(i=ua({},e),Si(!i.pathname||!i.pathname.includes("?"),tq("?","pathname","search",i)),Si(!i.pathname||!i.pathname.includes("#"),tq("#","pathname","hash",i)),Si(!i.search||!i.search.includes("#"),tq("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(r||o==null)s=n;else{let f=t.length-1;if(o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=bmt(i,s),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Hv=e=>e.join("/").replace(/\/\/+/g,"/"),kmt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_mt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Cmt=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class xye extends Error{}class Emt{constructor(t,n){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Si(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let r;this.abortPromise=new Promise((a,o)=>r=o),this.controller=new AbortController;let i=()=>r(new xye("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",i),this.controller.signal.addEventListener("abort",i),this.data=Object.entries(t).reduce((a,o)=>{let[s,l]=o;return Object.assign(a,{[s]:this.trackPromise(s,l)})},{}),this.done&&this.unlistenAbortSignal(),this.init=n}trackPromise(t,n){if(!(n instanceof Promise))return n;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let r=Promise.race([n,this.abortPromise]).then(i=>this.onSettle(r,t,null,i),i=>this.onSettle(r,t,i));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(t,n,r,i){return this.controller.signal.aborted&&r instanceof xye?(this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>r}),Promise.reject(r)):(this.pendingKeysSet.delete(n),this.done&&this.unlistenAbortSignal(),r?(Object.defineProperty(t,"_error",{get:()=>r}),this.emit(!1,n),Promise.reject(r)):(Object.defineProperty(t,"_data",{get:()=>i}),this.emit(!1,n),i))}emit(t,n){this.subscribers.forEach(r=>r(t,n))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((t,n)=>this.pendingKeysSet.delete(n)),this.emit(!0)}async resolveData(t){let n=!1;if(!this.done){let r=()=>this.cancel();t.addEventListener("abort",r),n=await new Promise(i=>{this.subscribe(a=>{t.removeEventListener("abort",r),(a||this.done)&&i(a)})})}return n}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Si(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,n)=>{let[r,i]=n;return Object.assign(t,{[r]:Smt(i)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function xmt(e){return e instanceof Promise&&e._tracked===!0}function Smt(e){if(!xmt(e))return e;if(e._error)throw e._error;return e._data}class cfe{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Eze(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const xze=["post","put","patch","delete"],Amt=new Set(xze),Tmt=["get",...xze],Dmt=new Set(Tmt),Imt=new Set([301,302,303,307,308]),Rmt=new Set([307,308]),nq={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Mmt={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Sye={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Sze=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Aze=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Omt=!Aze,Lmt=e=>!!e.hasErrorBoundary;function Bmt(e){Si(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t=e.detectErrorBoundary||Lmt,n={},r=wze(e.routes,t,void 0,n),i,a=null,o=new Set,s=null,l=null,u=null,c=e.hydrationData!=null,f=Vk(r,e.history.location,e.basename),d=null;if(f==null){let ye=mp(404,{pathname:e.history.location.pathname}),{matches:fe,route:de}=Mye(r);f=fe,d={[de.id]:ye}}let h=!f.some(ye=>ye.route.lazy)&&(!f.some(ye=>ye.route.loader)||e.hydrationData!=null),p,g={historyAction:e.history.action,location:e.history.location,matches:f,initialized:h,navigation:nq,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||d,fetchers:new Map,blockers:new Map},b=Ks.Pop,m=!1,v,w=!1,k=!1,E=[],S=[],T=new Map,L=0,M=-1,D=new Map,I=new Set,B=new Map,N=new Map,O=new Map,R=!1;function P(){if(a=e.history.listen(de=>{let{action:xe,location:Ye,delta:Ze}=de;if(R){R=!1;return}X6(O.size===0||Ze!=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 st=Ie({currentLocation:g.location,nextLocation:Ye,historyAction:xe});if(st&&Ze!=null){R=!0,e.history.go(Ze*-1),De(st,{state:"blocked",location:Ye,proceed(){De(st,{state:"proceeding",proceed:void 0,reset:void 0,location:Ye}),e.history.go(Ze)},reset(){$e(st),q({blockers:new Map(p.state.blockers)})}});return}return J(xe,Ye)}),g.initialized)return p;let ye=g.matches.filter(de=>de.route.lazy);if(ye.length===0)return J(Ks.Pop,g.location),p;let fe=ye.map(de=>iae(de.route,t,n));return Promise.all(fe).then(()=>{!g.matches.some(xe=>xe.route.loader)||e.hydrationData!=null?q({initialized:!0}):J(Ks.Pop,g.location)}),p}function H(){a&&a(),o.clear(),v&&v.abort(),g.fetchers.forEach((ye,fe)=>ce(fe)),g.blockers.forEach((ye,fe)=>$e(fe))}function F(ye){return o.add(ye),()=>o.delete(ye)}function q(ye){g=ua({},g,ye),o.forEach(fe=>fe(g))}function V(ye,fe){var de,xe;let Ye=g.actionData!=null&&g.navigation.formMethod!=null&&lg(g.navigation.formMethod)&&g.navigation.state==="loading"&&((de=ye.state)==null?void 0:de._isRedirect)!==!0,Ze;fe.actionData?Object.keys(fe.actionData).length>0?Ze=fe.actionData:Ze=null:Ye?Ze=g.actionData:Ze=null;let st=fe.loaderData?Rye(g.loaderData,fe.loaderData,fe.matches||[],fe.errors):g.loaderData;for(let[rt]of O)$e(rt);let at=m===!0||g.navigation.formMethod!=null&&lg(g.navigation.formMethod)&&((xe=ye.state)==null?void 0:xe._isRedirect)!==!0;i&&(r=i,i=void 0),q(ua({},fe,{actionData:Ze,loaderData:st,historyAction:b,location:ye,initialized:!0,navigation:nq,revalidation:"idle",restoreScrollPosition:Oe(ye,fe.matches||g.matches),preventScrollReset:at,blockers:new Map(g.blockers)})),w||b===Ks.Pop||(b===Ks.Push?e.history.push(ye,ye.state):b===Ks.Replace&&e.history.replace(ye,ye.state)),b=Ks.Pop,m=!1,w=!1,k=!1,E=[],S=[]}async function X(ye,fe){if(typeof ye=="number"){e.history.go(ye);return}let{path:de,submission:xe,error:Ye}=Aye(ye,fe),Ze=g.location,st=AA(g.location,de,fe&&fe.state);st=ua({},st,e.history.encodeLocation(st));let at=fe&&fe.replace!=null?fe.replace:void 0,rt=Ks.Push;at===!0?rt=Ks.Replace:at===!1||xe!=null&&lg(xe.formMethod)&&xe.formAction===g.location.pathname+g.location.search&&(rt=Ks.Replace);let et=fe&&"preventScrollReset"in fe?fe.preventScrollReset===!0:void 0,Ot=Ie({currentLocation:Ze,nextLocation:st,historyAction:rt});if(Ot){De(Ot,{state:"blocked",location:st,proceed(){De(Ot,{state:"proceeding",proceed:void 0,reset:void 0,location:st}),X(ye,fe)},reset(){$e(Ot),q({blockers:new Map(g.blockers)})}});return}return await J(rt,st,{submission:xe,pendingError:Ye,preventScrollReset:et,replace:fe&&fe.replace})}function G(){if(ue(),q({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){J(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}J(b||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function J(ye,fe,de){v&&v.abort(),v=null,b=ye,w=(de&&de.startUninterruptedRevalidation)===!0,je(g.location,g.matches),m=(de&&de.preventScrollReset)===!0;let xe=i||r,Ye=de&&de.overrideNavigation,Ze=Vk(xe,fe,e.basename);if(!Ze){let xt=mp(404,{pathname:fe.pathname}),{matches:pt,route:_t}=Mye(xe);Be(),V(fe,{matches:pt,loaderData:{},errors:{[_t.id]:xt}});return}if(zmt(g.location,fe)&&!(de&&de.submission&&lg(de.submission.formMethod))){V(fe,{matches:Ze});return}v=new AbortController;let st=D5(e.history,fe,v.signal,de&&de.submission),at,rt;if(de&&de.pendingError)rt={[Kk(Ze).route.id]:de.pendingError};else if(de&&de.submission&&lg(de.submission.formMethod)){let xt=await te(st,fe,de.submission,Ze,{replace:de.replace});if(xt.shortCircuited)return;at=xt.pendingActionData,rt=xt.pendingActionError,Ye=ua({state:"loading",location:fe},de.submission),st=new Request(st.url,{signal:st.signal})}let{shortCircuited:et,loaderData:Ot,errors:jt}=await re(st,fe,Ze,Ye,de&&de.submission,de&&de.replace,at,rt);et||(v=null,V(fe,ua({matches:Ze},at?{actionData:at}:{},{loaderData:Ot,errors:jt})))}async function te(ye,fe,de,xe,Ye){ue();let Ze=ua({state:"submitting",location:fe},de);q({navigation:Ze});let st,at=aae(xe,fe);if(!at.route.action&&!at.route.lazy)st={type:xl.error,error:mp(405,{method:ye.method,pathname:fe.pathname,routeId:at.route.id})};else if(st=await T5("action",ye,at,xe,n,t,p.basename),ye.signal.aborted)return{shortCircuited:!0};if(p6(st)){let rt;return Ye&&Ye.replace!=null?rt=Ye.replace:rt=st.location===g.location.pathname+g.location.search,await ee(g,st,{submission:de,replace:rt}),{shortCircuited:!0}}if(vS(st)){let rt=Kk(xe,at.route.id);return(Ye&&Ye.replace)!==!0&&(b=Ks.Push),{pendingActionData:{},pendingActionError:{[rt.route.id]:st.error}}}if(Wb(st))throw mp(400,{type:"defer-action"});return{pendingActionData:{[at.route.id]:st.data}}}async function re(ye,fe,de,xe,Ye,Ze,st,at){let rt=xe;rt||(rt=ua({state:"loading",location:fe,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Ye));let et=Ye||(rt.formMethod&&rt.formAction&&rt.formData&&rt.formEncType?{formMethod:rt.formMethod,formAction:rt.formAction,formData:rt.formData,formEncType:rt.formEncType}:void 0),Ot=i||r,[jt,xt]=Tye(e.history,g,de,et,fe,k,E,S,B,Ot,e.basename,st,at);if(Be(vn=>!(de&&de.some($t=>$t.route.id===vn))||jt&&jt.some($t=>$t.route.id===vn)),jt.length===0&&xt.length===0)return V(fe,ua({matches:de,loaderData:{},errors:at||null},st?{actionData:st}:{})),{shortCircuited:!0};if(!w){xt.forEach($t=>{let Tt=g.fetchers.get($t.key),Wt={state:"loading",data:Tt&&Tt.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set($t.key,Wt)});let vn=st||g.actionData;q(ua({navigation:rt},vn?Object.keys(vn).length===0?{actionData:null}:{actionData:vn}:{},xt.length>0?{fetchers:new Map(g.fetchers)}:{}))}M=++L,xt.forEach(vn=>T.set(vn.key,v));let{results:pt,loaderResults:_t,fetcherResults:ht}=await ne(g.matches,de,jt,xt,ye);if(ye.signal.aborted)return{shortCircuited:!0};xt.forEach(vn=>T.delete(vn.key));let yt=Oye(pt);if(yt)return await ee(g,yt,{replace:Ze}),{shortCircuited:!0};let{loaderData:Lt,errors:on}=Iye(g,de,jt,_t,at,xt,ht,N);N.forEach((vn,$t)=>{vn.subscribe(Tt=>{(Tt||vn.done)&&N.delete($t)})}),ve();let Ht=ie(M);return ua({loaderData:Lt,errors:on},Ht||xt.length>0?{fetchers:new Map(g.fetchers)}:{})}function Q(ye){return g.fetchers.get(ye)||Mmt}function ae(ye,fe,de,xe){if(Omt)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.");T.has(ye)&&be(ye);let Ze=Vk(i||r,de,e.basename);if(!Ze){Ae(ye,fe,mp(404,{pathname:de}));return}let{path:st,submission:at}=Aye(de,xe,!0),rt=aae(Ze,st);if(m=(xe&&xe.preventScrollReset)===!0,at&&lg(at.formMethod)){le(ye,fe,st,rt,Ze,at);return}B.set(ye,{routeId:fe,path:st}),oe(ye,fe,st,rt,Ze,at)}async function le(ye,fe,de,xe,Ye,Ze){if(ue(),B.delete(ye),!xe.route.action&&!xe.route.lazy){let gn=mp(405,{method:Ze.formMethod,pathname:de,routeId:fe});Ae(ye,fe,gn);return}let st=g.fetchers.get(ye),at=ua({state:"submitting"},Ze,{data:st&&st.data," _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,at),q({fetchers:new Map(g.fetchers)});let rt=new AbortController,et=D5(e.history,de,rt.signal,Ze);T.set(ye,rt);let Ot=await T5("action",et,xe,Ye,n,t,p.basename);if(et.signal.aborted){T.get(ye)===rt&&T.delete(ye);return}if(p6(Ot)){T.delete(ye),I.add(ye);let gn=ua({state:"loading"},Ze,{data:void 0," _hasFetcherDoneAnything ":!0});return g.fetchers.set(ye,gn),q({fetchers:new Map(g.fetchers)}),ee(g,Ot,{isFetchActionRedirect:!0})}if(vS(Ot)){Ae(ye,fe,Ot.error);return}if(Wb(Ot))throw mp(400,{type:"defer-action"});let jt=g.navigation.location||g.location,xt=D5(e.history,jt,rt.signal),pt=i||r,_t=g.navigation.state!=="idle"?Vk(pt,g.navigation.location,e.basename):g.matches;Si(_t,"Didn't find any matches after fetcher action");let ht=++L;D.set(ye,ht);let yt=ua({state:"loading",data:Ot.data},Ze,{" _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,yt);let[Lt,on]=Tye(e.history,g,_t,Ze,jt,k,E,S,B,pt,e.basename,{[xe.route.id]:Ot.data},void 0);on.filter(gn=>gn.key!==ye).forEach(gn=>{let In=gn.key,Wn=g.fetchers.get(In),yn={state:"loading",data:Wn&&Wn.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(In,yn),T.set(In,rt)}),q({fetchers:new Map(g.fetchers)});let{results:Ht,loaderResults:vn,fetcherResults:$t}=await ne(g.matches,_t,Lt,on,xt);if(rt.signal.aborted)return;D.delete(ye),T.delete(ye),on.forEach(gn=>T.delete(gn.key));let Tt=Oye(Ht);if(Tt)return ee(g,Tt);let{loaderData:Wt,errors:Ut}=Iye(g,g.matches,Lt,vn,void 0,on,$t,N),en={state:"idle",data:Ot.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(ye,en);let Gt=ie(ht);g.navigation.state==="loading"&&ht>M?(Si(b,"Expected pending action"),v&&v.abort(),V(g.navigation.location,{matches:_t,loaderData:Wt,errors:Ut,fetchers:new Map(g.fetchers)})):(q(ua({errors:Ut,loaderData:Rye(g.loaderData,Wt,_t,Ut)},Gt?{fetchers:new Map(g.fetchers)}:{})),k=!1)}async function oe(ye,fe,de,xe,Ye,Ze){let st=g.fetchers.get(ye),at=ua({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Ze,{data:st&&st.data," _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,at),q({fetchers:new Map(g.fetchers)});let rt=new AbortController,et=D5(e.history,de,rt.signal);T.set(ye,rt);let Ot=await T5("loader",et,xe,Ye,n,t,p.basename);if(Wb(Ot)&&(Ot=await Rze(Ot,et.signal,!0)||Ot),T.get(ye)===rt&&T.delete(ye),et.signal.aborted)return;if(p6(Ot)){await ee(g,Ot);return}if(vS(Ot)){let xt=Kk(g.matches,fe);g.fetchers.delete(ye),q({fetchers:new Map(g.fetchers),errors:{[xt.route.id]:Ot.error}});return}Si(!Wb(Ot),"Unhandled fetcher deferred data");let jt={state:"idle",data:Ot.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(ye,jt),q({fetchers:new Map(g.fetchers)})}async function ee(ye,fe,de){var xe;let{submission:Ye,replace:Ze,isFetchActionRedirect:st}=de===void 0?{}:de;fe.revalidate&&(k=!0);let at=AA(ye.location,fe.location,ua({_isRedirect:!0},st?{_isFetchActionRedirect:!0}:{}));if(Si(at,"Expected a location on the redirect navigation"),Sze.test(fe.location)&&Aze&&typeof((xe=window)==null?void 0:xe.location)<"u"){let pt=e.history.createURL(fe.location),_t=AN(pt.pathname,e.basename||"/")==null;if(window.location.origin!==pt.origin||_t){Ze?window.location.replace(fe.location):window.location.assign(fe.location);return}}v=null;let rt=Ze===!0?Ks.Replace:Ks.Push,{formMethod:et,formAction:Ot,formEncType:jt,formData:xt}=ye.navigation;!Ye&&et&&Ot&&xt&&jt&&(Ye={formMethod:et,formAction:Ot,formEncType:jt,formData:xt}),Rmt.has(fe.status)&&Ye&&lg(Ye.formMethod)?await J(rt,at,{submission:ua({},Ye,{formAction:fe.location}),preventScrollReset:m}):await J(rt,at,{overrideNavigation:{state:"loading",location:at,formMethod:Ye?Ye.formMethod:void 0,formAction:Ye?Ye.formAction:void 0,formEncType:Ye?Ye.formEncType:void 0,formData:Ye?Ye.formData:void 0},preventScrollReset:m})}async function ne(ye,fe,de,xe,Ye){let Ze=await Promise.all([...de.map(rt=>T5("loader",Ye,rt,fe,n,t,p.basename)),...xe.map(rt=>rt.matches&&rt.match?T5("loader",D5(e.history,rt.path,Ye.signal),rt.match,rt.matches,n,t,p.basename):{type:xl.error,error:mp(404,{pathname:rt.path})})]),st=Ze.slice(0,de.length),at=Ze.slice(de.length);return await Promise.all([Lye(ye,de,st,Ye.signal,!1,g.loaderData),Lye(ye,xe.map(rt=>rt.match),at,Ye.signal,!0)]),{results:Ze,loaderResults:st,fetcherResults:at}}function ue(){k=!0,E.push(...Be()),B.forEach((ye,fe)=>{T.has(fe)&&(S.push(fe),be(fe))})}function Ae(ye,fe,de){let xe=Kk(g.matches,fe);ce(ye),q({errors:{[xe.route.id]:de},fetchers:new Map(g.fetchers)})}function ce(ye){T.has(ye)&&be(ye),B.delete(ye),D.delete(ye),I.delete(ye),g.fetchers.delete(ye)}function be(ye){let fe=T.get(ye);Si(fe,"Expected fetch controller: "+ye),fe.abort(),T.delete(ye)}function ge(ye){for(let fe of ye){let xe={state:"idle",data:Q(fe).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(fe,xe)}}function ve(){let ye=[];for(let fe of I){let de=g.fetchers.get(fe);Si(de,"Expected fetcher: "+fe),de.state==="loading"&&(I.delete(fe),ye.push(fe))}ge(ye)}function ie(ye){let fe=[];for(let[de,xe]of D)if(xe0}function he(ye,fe){let de=g.blockers.get(ye)||Sye;return O.get(ye)!==fe&&O.set(ye,fe),de}function $e(ye){g.blockers.delete(ye),O.delete(ye)}function De(ye,fe){let de=g.blockers.get(ye)||Sye;Si(de.state==="unblocked"&&fe.state==="blocked"||de.state==="blocked"&&fe.state==="blocked"||de.state==="blocked"&&fe.state==="proceeding"||de.state==="blocked"&&fe.state==="unblocked"||de.state==="proceeding"&&fe.state==="unblocked","Invalid blocker state transition: "+de.state+" -> "+fe.state),g.blockers.set(ye,fe),q({blockers:new Map(g.blockers)})}function Ie(ye){let{currentLocation:fe,nextLocation:de,historyAction:xe}=ye;if(O.size===0)return;O.size>1&&X6(!1,"A router only supports one blocker at a time");let Ye=Array.from(O.entries()),[Ze,st]=Ye[Ye.length-1],at=g.blockers.get(Ze);if(!(at&&at.state==="proceeding")&&st({currentLocation:fe,nextLocation:de,historyAction:xe}))return Ze}function Be(ye){let fe=[];return N.forEach((de,xe)=>{(!ye||ye(xe))&&(de.cancel(),fe.push(xe),N.delete(xe))}),fe}function we(ye,fe,de){if(s=ye,u=fe,l=de||(xe=>xe.key),!c&&g.navigation===nq){c=!0;let xe=Oe(g.location,g.matches);xe!=null&&q({restoreScrollPosition:xe})}return()=>{s=null,u=null,l=null}}function je(ye,fe){if(s&&l&&u){let de=fe.map(Ye=>Bye(Ye,g.loaderData)),xe=l(ye,de)||ye.key;s[xe]=u()}}function Oe(ye,fe){if(s&&l&&u){let de=fe.map(Ze=>Bye(Ze,g.loaderData)),xe=l(ye,de)||ye.key,Ye=s[xe];if(typeof Ye=="number")return Ye}return null}function Re(ye){i=ye}return p={get basename(){return e.basename},get state(){return g},get routes(){return r},initialize:P,subscribe:F,enableScrollRestoration:we,navigate:X,fetch:ae,revalidate:G,createHref:ye=>e.history.createHref(ye),encodeLocation:ye=>e.history.encodeLocation(ye),getFetcher:Q,deleteFetcher:ce,dispose:H,getBlocker:he,deleteBlocker:$e,_internalFetchControllers:T,_internalActiveDeferreds:N,_internalSetRoutes:Re},p}function Pmt(e){return e!=null&&"formData"in e}function Aye(e,t,n){n===void 0&&(n=!1);let r=typeof e=="string"?e:C4(e);if(!t||!Pmt(t))return{path:r};if(t.formMethod&&!jmt(t.formMethod))return{path:r,error:mp(405,{method:t.formMethod})};let i;if(t.formData&&(i={formMethod:t.formMethod||"get",formAction:Ize(r),formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:t.formData},lg(i.formMethod)))return{path:r,submission:i};let a=om(r),o=Dze(t.formData);return n&&a.search&&Mze(a.search)&&o.append("index",""),a.search="?"+o,{path:C4(a),submission:i}}function Fmt(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Tye(e,t,n,r,i,a,o,s,l,u,c,f,d){let h=d?Object.values(d)[0]:f?Object.values(f)[0]:void 0,p=e.createURL(t.location),g=e.createURL(i),b=a||p.toString()===g.toString()||p.search!==g.search,m=d?Object.keys(d)[0]:void 0,w=Fmt(n,m).filter((E,S)=>{if(E.route.lazy)return!0;if(E.route.loader==null)return!1;if(Nmt(t.loaderData,t.matches[S],E)||o.some(M=>M===E.route.id))return!0;let T=t.matches[S],L=E;return Dye(E,ua({currentUrl:p,currentParams:T.params,nextUrl:g,nextParams:L.params},r,{actionResult:h,defaultShouldRevalidate:b||Tze(T,L)}))}),k=[];return l.forEach((E,S)=>{if(!n.some(D=>D.route.id===E.routeId))return;let T=Vk(u,E.path,c);if(!T){k.push(ua({key:S},E,{matches:null,match:null}));return}let L=aae(T,E.path);if(s.includes(S)){k.push(ua({key:S,matches:T,match:L},E));return}Dye(L,ua({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:b}))&&k.push(ua({key:S,matches:T,match:L},E))}),[w,k]}function Nmt(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Tze(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Dye(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function iae(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Si(i,"No route found in manifest");let a={};for(let o in r){let l=i[o]!==void 0&&o!=="hasErrorBoundary";X6(!l,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!l&&!rmt.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,{hasErrorBoundary:t(ua({},i)),lazy:void 0})}async function T5(e,t,n,r,i,a,o,s,l,u){o===void 0&&(o="/"),s===void 0&&(s=!1),l===void 0&&(l=!1);let c,f,d,h=b=>{let m,v=new Promise((w,k)=>m=k);return d=()=>m(),t.signal.addEventListener("abort",d),Promise.race([b({request:t,params:n.params,context:u}),v])};try{let b=n.route[e];if(n.route.lazy)if(b)f=(await Promise.all([h(b),iae(n.route,a,i)]))[0];else if(await iae(n.route,a,i),b=n.route[e],b)f=await h(b);else{if(e==="action")throw mp(405,{method:t.method,pathname:new URL(t.url).pathname,routeId:n.route.id});return{type:xl.data,data:void 0}}else Si(b,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),f=await h(b);Si(f!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(b){c=xl.error,f=b}finally{d&&t.signal.removeEventListener("abort",d)}if(Umt(f)){let b=f.status;if(Imt.has(b)){let w=f.headers.get("Location");if(Si(w,"Redirects returned/thrown from loaders/actions must have a Location header"),Sze.test(w)){if(!s){let k=new URL(t.url),E=w.startsWith("//")?new URL(k.protocol+w):new URL(w),S=AN(E.pathname,o)!=null;E.origin===k.origin&&S&&(w=E.pathname+E.search+E.hash)}}else{let k=r.slice(0,r.indexOf(n)+1),E=ufe(k).map(T=>T.pathnameBase),S=Cze(w,E,new URL(t.url).pathname);if(Si(C4(S),"Unable to resolve redirect location: "+w),o){let T=S.pathname;S.pathname=T==="/"?o:Hv([o,T])}w=C4(S)}if(s)throw f.headers.set("Location",w),f;return{type:xl.redirect,status:b,location:w,revalidate:f.headers.get("X-Remix-Revalidate")!==null}}if(l)throw{type:c||xl.data,response:f};let m,v=f.headers.get("Content-Type");return v&&/\bapplication\/json\b/.test(v)?m=await f.json():m=await f.text(),c===xl.error?{type:c,error:new cfe(b,f.statusText,m),headers:f.headers}:{type:xl.data,data:m,statusCode:f.status,headers:f.headers}}if(c===xl.error)return{type:c,error:f};if(f instanceof Emt){var p,g;return{type:xl.deferred,deferredData:f,statusCode:(p=f.init)==null?void 0:p.status,headers:((g=f.init)==null?void 0:g.headers)&&new Headers(f.init.headers)}}return{type:xl.data,data:f}}function D5(e,t,n,r){let i=e.createURL(Ize(t)).toString(),a={signal:n};if(r&&lg(r.formMethod)){let{formMethod:o,formEncType:s,formData:l}=r;a.method=o.toUpperCase(),a.body=s==="application/x-www-form-urlencoded"?Dze(l):l}return new Request(i,a)}function Dze(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,r instanceof File?r.name:r);return t}function $mt(e,t,n,r,i){let a={},o=null,s,l=!1,u={};return n.forEach((c,f)=>{let d=t[f].route.id;if(Si(!p6(c),"Cannot handle redirect results in processLoaderData"),vS(c)){let h=Kk(e,d),p=c.error;r&&(p=Object.values(r)[0],r=void 0),o=o||{},o[h.route.id]==null&&(o[h.route.id]=p),a[d]=void 0,l||(l=!0,s=Eze(c.error)?c.error.status:500),c.headers&&(u[d]=c.headers)}else Wb(c)?(i.set(d,c.deferredData),a[d]=c.deferredData.data):a[d]=c.data,c.statusCode!=null&&c.statusCode!==200&&!l&&(s=c.statusCode),c.headers&&(u[d]=c.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:u}}function Iye(e,t,n,r,i,a,o,s){let{loaderData:l,errors:u}=$mt(t,n,r,i,s);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Mye(e){let t=e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function mp(e,t){let{pathname:n,routeId:r,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&n&&r?s="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"&&(s="defer() is not supported in actions")):e===403?(o="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",s='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new cfe(e||500,o,new Error(s),!0)}function Oye(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(p6(n))return n}}function Ize(e){let t=typeof e=="string"?om(e):e;return C4(ua({},t,{hash:""}))}function zmt(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash!==t.hash}function Wb(e){return e.type===xl.deferred}function vS(e){return e.type===xl.error}function p6(e){return(e&&e.type)===xl.redirect}function Umt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function jmt(e){return Dmt.has(e)}function lg(e){return Amt.has(e)}async function Lye(e,t,n,r,i,a){for(let o=0;of.route.id===l.route.id),c=u!=null&&!Tze(u,l)&&(a&&a[l.route.id])!==void 0;Wb(s)&&(i||c)&&await Rze(s,r,i).then(f=>{f&&(n[o]=f||n[o])})}}async function Rze(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:xl.data,data:e.deferredData.unwrappedData}}catch(i){return{type:xl.error,error:i}}return{type:xl.data,data:e.deferredData.data}}}function Mze(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Bye(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function aae(e,t){let n=typeof t=="string"?om(t).search:t.search;if(e[e.length-1].route.index&&Mze(n||""))return e[e.length-1];let r=ufe(e);return r[r.length-1]}/** + */function ua(){return ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function X6(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function nmt(){return Math.random().toString(36).substr(2,8)}function Cye(e,t){return{usr:e.state,key:e.key,idx:t}}function AA(e,t,n,r){return n===void 0&&(n=null),ua({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?om(t):t,{state:n,key:t&&t.key||r||nmt()})}function C4(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function om(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function rmt(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=Ks.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(ua({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function f(){s=Ks.Pop;let b=c(),m=b==null?null:b-u;u=b,l&&l({action:s,location:g.location,delta:m})}function d(b,m){s=Ks.Push;let v=AA(g.location,b,m);n&&n(v,b),u=c()+1;let w=Cye(v,u),k=g.createHref(v);try{o.pushState(w,"",k)}catch{i.location.assign(k)}a&&l&&l({action:s,location:g.location,delta:1})}function h(b,m){s=Ks.Replace;let v=AA(g.location,b,m);n&&n(v,b),u=c();let w=Cye(v,u),k=g.createHref(v);o.replaceState(w,"",k),a&&l&&l({action:s,location:g.location,delta:0})}function p(b){let m=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof b=="string"?b:C4(b);return Si(m,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,m)}let g={get action(){return s},get location(){return e(i,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(_ye,f),l=b,()=>{i.removeEventListener(_ye,f),l=null}},createHref(b){return t(i,b)},createURL:p,encodeLocation(b){let m=p(b);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:h,go(b){return o.go(b)}};return g}var xl;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xl||(xl={}));const imt=new Set(["lazy","caseSensitive","path","id","index","children"]);function amt(e){return e.index===!0}function wze(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,a)=>{let o=[...n,a],s=typeof i.id=="string"?i.id:o.join("-");if(Si(i.index!==!0||!i.children,"Cannot specify children on an index route"),Si(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),amt(i)){let l=ua({},i,{hasErrorBoundary:t(i),id:s});return r[s]=l,l}else{let l=ua({},i,{id:s,hasErrorBoundary:t(i),children:void 0});return r[s]=l,i.children&&(l.children=wze(i.children,t,o,r)),l}})}function Vk(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?om(t):t,i=AN(r.pathname||"/",n);if(i==null)return null;let a=kze(e);omt(a);let o=null;for(let s=0;o==null&&s{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};l.relativePath.startsWith("/")&&(Si(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Hv([r,l.relativePath]),c=n.concat(l);a.children&&a.children.length>0&&(Si(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kze(a.children,t,c,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:hmt(u,a.index),routesMeta:c})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let l of _ze(a.path))i(a,o,l)}),t}function _ze(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=_ze(r.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function omt(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pmt(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const smt=/^:\w+$/,lmt=3,umt=2,cmt=1,fmt=10,dmt=-2,Eye=e=>e==="*";function hmt(e,t){let n=e.split("/"),r=n.length;return n.some(Eye)&&(r+=dmt),t&&(r+=umt),n.filter(i=>!Eye(i)).reduce((i,a)=>i+(smt.test(a)?lmt:a===""?cmt:fmt),r)}function pmt(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function gmt(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let o=0;o{if(c==="*"){let d=s[f]||"";o=a.slice(0,a.length-d.length).replace(/(.)\/+$/,"$1")}return u[c]=bmt(s[f]||"",c),u},{}),pathname:a,pathnameBase:o,pattern:e}}function vmt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),X6(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 r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(o,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function ymt(e){try{return decodeURI(e)}catch(t){return X6(!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 bmt(e,t){try{return decodeURIComponent(e)}catch(n){return X6(!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 ("+n+").")),e}}function AN(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function wmt(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?om(e):e;return{pathname:n?n.startsWith("/")?n:kmt(n,t):t,search:Cmt(r),hash:Emt(i)}}function kmt(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function tq(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function ufe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Cze(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=om(e):(i=ua({},e),Si(!i.pathname||!i.pathname.includes("?"),tq("?","pathname","search",i)),Si(!i.pathname||!i.pathname.includes("#"),tq("#","pathname","hash",i)),Si(!i.search||!i.search.includes("#"),tq("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(r||o==null)s=n;else{let f=t.length-1;if(o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=wmt(i,s),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Hv=e=>e.join("/").replace(/\/\/+/g,"/"),_mt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Cmt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Emt=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class xye extends Error{}class xmt{constructor(t,n){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],Si(t&&typeof t=="object"&&!Array.isArray(t),"defer() only accepts plain objects");let r;this.abortPromise=new Promise((a,o)=>r=o),this.controller=new AbortController;let i=()=>r(new xye("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",i),this.controller.signal.addEventListener("abort",i),this.data=Object.entries(t).reduce((a,o)=>{let[s,l]=o;return Object.assign(a,{[s]:this.trackPromise(s,l)})},{}),this.done&&this.unlistenAbortSignal(),this.init=n}trackPromise(t,n){if(!(n instanceof Promise))return n;this.deferredKeys.push(t),this.pendingKeysSet.add(t);let r=Promise.race([n,this.abortPromise]).then(i=>this.onSettle(r,t,null,i),i=>this.onSettle(r,t,i));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(t,n,r,i){return this.controller.signal.aborted&&r instanceof xye?(this.unlistenAbortSignal(),Object.defineProperty(t,"_error",{get:()=>r}),Promise.reject(r)):(this.pendingKeysSet.delete(n),this.done&&this.unlistenAbortSignal(),r?(Object.defineProperty(t,"_error",{get:()=>r}),this.emit(!1,n),Promise.reject(r)):(Object.defineProperty(t,"_data",{get:()=>i}),this.emit(!1,n),i))}emit(t,n){this.subscribers.forEach(r=>r(t,n))}subscribe(t){return this.subscribers.add(t),()=>this.subscribers.delete(t)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((t,n)=>this.pendingKeysSet.delete(n)),this.emit(!0)}async resolveData(t){let n=!1;if(!this.done){let r=()=>this.cancel();t.addEventListener("abort",r),n=await new Promise(i=>{this.subscribe(a=>{t.removeEventListener("abort",r),(a||this.done)&&i(a)})})}return n}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return Si(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((t,n)=>{let[r,i]=n;return Object.assign(t,{[r]:Amt(i)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function Smt(e){return e instanceof Promise&&e._tracked===!0}function Amt(e){if(!Smt(e))return e;if(e._error)throw e._error;return e._data}class cfe{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Eze(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const xze=["post","put","patch","delete"],Tmt=new Set(xze),Dmt=["get",...xze],Imt=new Set(Dmt),Rmt=new Set([301,302,303,307,308]),Mmt=new Set([307,308]),nq={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Omt={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Sye={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Sze=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Aze=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Lmt=!Aze,Bmt=e=>!!e.hasErrorBoundary;function Pmt(e){Si(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t=e.detectErrorBoundary||Bmt,n={},r=wze(e.routes,t,void 0,n),i,a=null,o=new Set,s=null,l=null,u=null,c=e.hydrationData!=null,f=Vk(r,e.history.location,e.basename),d=null;if(f==null){let ye=mp(404,{pathname:e.history.location.pathname}),{matches:fe,route:de}=Mye(r);f=fe,d={[de.id]:ye}}let h=!f.some(ye=>ye.route.lazy)&&(!f.some(ye=>ye.route.loader)||e.hydrationData!=null),p,g={historyAction:e.history.action,location:e.history.location,matches:f,initialized:h,navigation:nq,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||d,fetchers:new Map,blockers:new Map},b=Ks.Pop,m=!1,v,w=!1,k=!1,E=[],S=[],T=new Map,L=0,M=-1,D=new Map,I=new Set,B=new Map,N=new Map,O=new Map,R=!1;function P(){if(a=e.history.listen(de=>{let{action:xe,location:Ye,delta:Ze}=de;if(R){R=!1;return}X6(O.size===0||Ze!=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 st=Ie({currentLocation:g.location,nextLocation:Ye,historyAction:xe});if(st&&Ze!=null){R=!0,e.history.go(Ze*-1),De(st,{state:"blocked",location:Ye,proceed(){De(st,{state:"proceeding",proceed:void 0,reset:void 0,location:Ye}),e.history.go(Ze)},reset(){$e(st),q({blockers:new Map(p.state.blockers)})}});return}return J(xe,Ye)}),g.initialized)return p;let ye=g.matches.filter(de=>de.route.lazy);if(ye.length===0)return J(Ks.Pop,g.location),p;let fe=ye.map(de=>iae(de.route,t,n));return Promise.all(fe).then(()=>{!g.matches.some(xe=>xe.route.loader)||e.hydrationData!=null?q({initialized:!0}):J(Ks.Pop,g.location)}),p}function H(){a&&a(),o.clear(),v&&v.abort(),g.fetchers.forEach((ye,fe)=>ce(fe)),g.blockers.forEach((ye,fe)=>$e(fe))}function F(ye){return o.add(ye),()=>o.delete(ye)}function q(ye){g=ua({},g,ye),o.forEach(fe=>fe(g))}function V(ye,fe){var de,xe;let Ye=g.actionData!=null&&g.navigation.formMethod!=null&&lg(g.navigation.formMethod)&&g.navigation.state==="loading"&&((de=ye.state)==null?void 0:de._isRedirect)!==!0,Ze;fe.actionData?Object.keys(fe.actionData).length>0?Ze=fe.actionData:Ze=null:Ye?Ze=g.actionData:Ze=null;let st=fe.loaderData?Rye(g.loaderData,fe.loaderData,fe.matches||[],fe.errors):g.loaderData;for(let[rt]of O)$e(rt);let at=m===!0||g.navigation.formMethod!=null&&lg(g.navigation.formMethod)&&((xe=ye.state)==null?void 0:xe._isRedirect)!==!0;i&&(r=i,i=void 0),q(ua({},fe,{actionData:Ze,loaderData:st,historyAction:b,location:ye,initialized:!0,navigation:nq,revalidation:"idle",restoreScrollPosition:Oe(ye,fe.matches||g.matches),preventScrollReset:at,blockers:new Map(g.blockers)})),w||b===Ks.Pop||(b===Ks.Push?e.history.push(ye,ye.state):b===Ks.Replace&&e.history.replace(ye,ye.state)),b=Ks.Pop,m=!1,w=!1,k=!1,E=[],S=[]}async function X(ye,fe){if(typeof ye=="number"){e.history.go(ye);return}let{path:de,submission:xe,error:Ye}=Aye(ye,fe),Ze=g.location,st=AA(g.location,de,fe&&fe.state);st=ua({},st,e.history.encodeLocation(st));let at=fe&&fe.replace!=null?fe.replace:void 0,rt=Ks.Push;at===!0?rt=Ks.Replace:at===!1||xe!=null&&lg(xe.formMethod)&&xe.formAction===g.location.pathname+g.location.search&&(rt=Ks.Replace);let et=fe&&"preventScrollReset"in fe?fe.preventScrollReset===!0:void 0,Ot=Ie({currentLocation:Ze,nextLocation:st,historyAction:rt});if(Ot){De(Ot,{state:"blocked",location:st,proceed(){De(Ot,{state:"proceeding",proceed:void 0,reset:void 0,location:st}),X(ye,fe)},reset(){$e(Ot),q({blockers:new Map(g.blockers)})}});return}return await J(rt,st,{submission:xe,pendingError:Ye,preventScrollReset:et,replace:fe&&fe.replace})}function G(){if(ue(),q({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){J(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}J(b||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function J(ye,fe,de){v&&v.abort(),v=null,b=ye,w=(de&&de.startUninterruptedRevalidation)===!0,je(g.location,g.matches),m=(de&&de.preventScrollReset)===!0;let xe=i||r,Ye=de&&de.overrideNavigation,Ze=Vk(xe,fe,e.basename);if(!Ze){let xt=mp(404,{pathname:fe.pathname}),{matches:pt,route:_t}=Mye(xe);Be(),V(fe,{matches:pt,loaderData:{},errors:{[_t.id]:xt}});return}if(Umt(g.location,fe)&&!(de&&de.submission&&lg(de.submission.formMethod))){V(fe,{matches:Ze});return}v=new AbortController;let st=D5(e.history,fe,v.signal,de&&de.submission),at,rt;if(de&&de.pendingError)rt={[Kk(Ze).route.id]:de.pendingError};else if(de&&de.submission&&lg(de.submission.formMethod)){let xt=await te(st,fe,de.submission,Ze,{replace:de.replace});if(xt.shortCircuited)return;at=xt.pendingActionData,rt=xt.pendingActionError,Ye=ua({state:"loading",location:fe},de.submission),st=new Request(st.url,{signal:st.signal})}let{shortCircuited:et,loaderData:Ot,errors:jt}=await re(st,fe,Ze,Ye,de&&de.submission,de&&de.replace,at,rt);et||(v=null,V(fe,ua({matches:Ze},at?{actionData:at}:{},{loaderData:Ot,errors:jt})))}async function te(ye,fe,de,xe,Ye){ue();let Ze=ua({state:"submitting",location:fe},de);q({navigation:Ze});let st,at=aae(xe,fe);if(!at.route.action&&!at.route.lazy)st={type:xl.error,error:mp(405,{method:ye.method,pathname:fe.pathname,routeId:at.route.id})};else if(st=await T5("action",ye,at,xe,n,t,p.basename),ye.signal.aborted)return{shortCircuited:!0};if(p6(st)){let rt;return Ye&&Ye.replace!=null?rt=Ye.replace:rt=st.location===g.location.pathname+g.location.search,await ee(g,st,{submission:de,replace:rt}),{shortCircuited:!0}}if(vS(st)){let rt=Kk(xe,at.route.id);return(Ye&&Ye.replace)!==!0&&(b=Ks.Push),{pendingActionData:{},pendingActionError:{[rt.route.id]:st.error}}}if(Wb(st))throw mp(400,{type:"defer-action"});return{pendingActionData:{[at.route.id]:st.data}}}async function re(ye,fe,de,xe,Ye,Ze,st,at){let rt=xe;rt||(rt=ua({state:"loading",location:fe,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Ye));let et=Ye||(rt.formMethod&&rt.formAction&&rt.formData&&rt.formEncType?{formMethod:rt.formMethod,formAction:rt.formAction,formData:rt.formData,formEncType:rt.formEncType}:void 0),Ot=i||r,[jt,xt]=Tye(e.history,g,de,et,fe,k,E,S,B,Ot,e.basename,st,at);if(Be(vn=>!(de&&de.some($t=>$t.route.id===vn))||jt&&jt.some($t=>$t.route.id===vn)),jt.length===0&&xt.length===0)return V(fe,ua({matches:de,loaderData:{},errors:at||null},st?{actionData:st}:{})),{shortCircuited:!0};if(!w){xt.forEach($t=>{let Tt=g.fetchers.get($t.key),Wt={state:"loading",data:Tt&&Tt.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set($t.key,Wt)});let vn=st||g.actionData;q(ua({navigation:rt},vn?Object.keys(vn).length===0?{actionData:null}:{actionData:vn}:{},xt.length>0?{fetchers:new Map(g.fetchers)}:{}))}M=++L,xt.forEach(vn=>T.set(vn.key,v));let{results:pt,loaderResults:_t,fetcherResults:ht}=await ne(g.matches,de,jt,xt,ye);if(ye.signal.aborted)return{shortCircuited:!0};xt.forEach(vn=>T.delete(vn.key));let yt=Oye(pt);if(yt)return await ee(g,yt,{replace:Ze}),{shortCircuited:!0};let{loaderData:Lt,errors:on}=Iye(g,de,jt,_t,at,xt,ht,N);N.forEach((vn,$t)=>{vn.subscribe(Tt=>{(Tt||vn.done)&&N.delete($t)})}),ve();let Ht=ie(M);return ua({loaderData:Lt,errors:on},Ht||xt.length>0?{fetchers:new Map(g.fetchers)}:{})}function Q(ye){return g.fetchers.get(ye)||Omt}function ae(ye,fe,de,xe){if(Lmt)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.");T.has(ye)&&be(ye);let Ze=Vk(i||r,de,e.basename);if(!Ze){Ae(ye,fe,mp(404,{pathname:de}));return}let{path:st,submission:at}=Aye(de,xe,!0),rt=aae(Ze,st);if(m=(xe&&xe.preventScrollReset)===!0,at&&lg(at.formMethod)){le(ye,fe,st,rt,Ze,at);return}B.set(ye,{routeId:fe,path:st}),oe(ye,fe,st,rt,Ze,at)}async function le(ye,fe,de,xe,Ye,Ze){if(ue(),B.delete(ye),!xe.route.action&&!xe.route.lazy){let gn=mp(405,{method:Ze.formMethod,pathname:de,routeId:fe});Ae(ye,fe,gn);return}let st=g.fetchers.get(ye),at=ua({state:"submitting"},Ze,{data:st&&st.data," _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,at),q({fetchers:new Map(g.fetchers)});let rt=new AbortController,et=D5(e.history,de,rt.signal,Ze);T.set(ye,rt);let Ot=await T5("action",et,xe,Ye,n,t,p.basename);if(et.signal.aborted){T.get(ye)===rt&&T.delete(ye);return}if(p6(Ot)){T.delete(ye),I.add(ye);let gn=ua({state:"loading"},Ze,{data:void 0," _hasFetcherDoneAnything ":!0});return g.fetchers.set(ye,gn),q({fetchers:new Map(g.fetchers)}),ee(g,Ot,{isFetchActionRedirect:!0})}if(vS(Ot)){Ae(ye,fe,Ot.error);return}if(Wb(Ot))throw mp(400,{type:"defer-action"});let jt=g.navigation.location||g.location,xt=D5(e.history,jt,rt.signal),pt=i||r,_t=g.navigation.state!=="idle"?Vk(pt,g.navigation.location,e.basename):g.matches;Si(_t,"Didn't find any matches after fetcher action");let ht=++L;D.set(ye,ht);let yt=ua({state:"loading",data:Ot.data},Ze,{" _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,yt);let[Lt,on]=Tye(e.history,g,_t,Ze,jt,k,E,S,B,pt,e.basename,{[xe.route.id]:Ot.data},void 0);on.filter(gn=>gn.key!==ye).forEach(gn=>{let In=gn.key,Wn=g.fetchers.get(In),yn={state:"loading",data:Wn&&Wn.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(In,yn),T.set(In,rt)}),q({fetchers:new Map(g.fetchers)});let{results:Ht,loaderResults:vn,fetcherResults:$t}=await ne(g.matches,_t,Lt,on,xt);if(rt.signal.aborted)return;D.delete(ye),T.delete(ye),on.forEach(gn=>T.delete(gn.key));let Tt=Oye(Ht);if(Tt)return ee(g,Tt);let{loaderData:Wt,errors:Ut}=Iye(g,g.matches,Lt,vn,void 0,on,$t,N),en={state:"idle",data:Ot.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(ye,en);let Gt=ie(ht);g.navigation.state==="loading"&&ht>M?(Si(b,"Expected pending action"),v&&v.abort(),V(g.navigation.location,{matches:_t,loaderData:Wt,errors:Ut,fetchers:new Map(g.fetchers)})):(q(ua({errors:Ut,loaderData:Rye(g.loaderData,Wt,_t,Ut)},Gt?{fetchers:new Map(g.fetchers)}:{})),k=!1)}async function oe(ye,fe,de,xe,Ye,Ze){let st=g.fetchers.get(ye),at=ua({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Ze,{data:st&&st.data," _hasFetcherDoneAnything ":!0});g.fetchers.set(ye,at),q({fetchers:new Map(g.fetchers)});let rt=new AbortController,et=D5(e.history,de,rt.signal);T.set(ye,rt);let Ot=await T5("loader",et,xe,Ye,n,t,p.basename);if(Wb(Ot)&&(Ot=await Rze(Ot,et.signal,!0)||Ot),T.get(ye)===rt&&T.delete(ye),et.signal.aborted)return;if(p6(Ot)){await ee(g,Ot);return}if(vS(Ot)){let xt=Kk(g.matches,fe);g.fetchers.delete(ye),q({fetchers:new Map(g.fetchers),errors:{[xt.route.id]:Ot.error}});return}Si(!Wb(Ot),"Unhandled fetcher deferred data");let jt={state:"idle",data:Ot.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(ye,jt),q({fetchers:new Map(g.fetchers)})}async function ee(ye,fe,de){var xe;let{submission:Ye,replace:Ze,isFetchActionRedirect:st}=de===void 0?{}:de;fe.revalidate&&(k=!0);let at=AA(ye.location,fe.location,ua({_isRedirect:!0},st?{_isFetchActionRedirect:!0}:{}));if(Si(at,"Expected a location on the redirect navigation"),Sze.test(fe.location)&&Aze&&typeof((xe=window)==null?void 0:xe.location)<"u"){let pt=e.history.createURL(fe.location),_t=AN(pt.pathname,e.basename||"/")==null;if(window.location.origin!==pt.origin||_t){Ze?window.location.replace(fe.location):window.location.assign(fe.location);return}}v=null;let rt=Ze===!0?Ks.Replace:Ks.Push,{formMethod:et,formAction:Ot,formEncType:jt,formData:xt}=ye.navigation;!Ye&&et&&Ot&&xt&&jt&&(Ye={formMethod:et,formAction:Ot,formEncType:jt,formData:xt}),Mmt.has(fe.status)&&Ye&&lg(Ye.formMethod)?await J(rt,at,{submission:ua({},Ye,{formAction:fe.location}),preventScrollReset:m}):await J(rt,at,{overrideNavigation:{state:"loading",location:at,formMethod:Ye?Ye.formMethod:void 0,formAction:Ye?Ye.formAction:void 0,formEncType:Ye?Ye.formEncType:void 0,formData:Ye?Ye.formData:void 0},preventScrollReset:m})}async function ne(ye,fe,de,xe,Ye){let Ze=await Promise.all([...de.map(rt=>T5("loader",Ye,rt,fe,n,t,p.basename)),...xe.map(rt=>rt.matches&&rt.match?T5("loader",D5(e.history,rt.path,Ye.signal),rt.match,rt.matches,n,t,p.basename):{type:xl.error,error:mp(404,{pathname:rt.path})})]),st=Ze.slice(0,de.length),at=Ze.slice(de.length);return await Promise.all([Lye(ye,de,st,Ye.signal,!1,g.loaderData),Lye(ye,xe.map(rt=>rt.match),at,Ye.signal,!0)]),{results:Ze,loaderResults:st,fetcherResults:at}}function ue(){k=!0,E.push(...Be()),B.forEach((ye,fe)=>{T.has(fe)&&(S.push(fe),be(fe))})}function Ae(ye,fe,de){let xe=Kk(g.matches,fe);ce(ye),q({errors:{[xe.route.id]:de},fetchers:new Map(g.fetchers)})}function ce(ye){T.has(ye)&&be(ye),B.delete(ye),D.delete(ye),I.delete(ye),g.fetchers.delete(ye)}function be(ye){let fe=T.get(ye);Si(fe,"Expected fetch controller: "+ye),fe.abort(),T.delete(ye)}function ge(ye){for(let fe of ye){let xe={state:"idle",data:Q(fe).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};g.fetchers.set(fe,xe)}}function ve(){let ye=[];for(let fe of I){let de=g.fetchers.get(fe);Si(de,"Expected fetcher: "+fe),de.state==="loading"&&(I.delete(fe),ye.push(fe))}ge(ye)}function ie(ye){let fe=[];for(let[de,xe]of D)if(xe0}function he(ye,fe){let de=g.blockers.get(ye)||Sye;return O.get(ye)!==fe&&O.set(ye,fe),de}function $e(ye){g.blockers.delete(ye),O.delete(ye)}function De(ye,fe){let de=g.blockers.get(ye)||Sye;Si(de.state==="unblocked"&&fe.state==="blocked"||de.state==="blocked"&&fe.state==="blocked"||de.state==="blocked"&&fe.state==="proceeding"||de.state==="blocked"&&fe.state==="unblocked"||de.state==="proceeding"&&fe.state==="unblocked","Invalid blocker state transition: "+de.state+" -> "+fe.state),g.blockers.set(ye,fe),q({blockers:new Map(g.blockers)})}function Ie(ye){let{currentLocation:fe,nextLocation:de,historyAction:xe}=ye;if(O.size===0)return;O.size>1&&X6(!1,"A router only supports one blocker at a time");let Ye=Array.from(O.entries()),[Ze,st]=Ye[Ye.length-1],at=g.blockers.get(Ze);if(!(at&&at.state==="proceeding")&&st({currentLocation:fe,nextLocation:de,historyAction:xe}))return Ze}function Be(ye){let fe=[];return N.forEach((de,xe)=>{(!ye||ye(xe))&&(de.cancel(),fe.push(xe),N.delete(xe))}),fe}function we(ye,fe,de){if(s=ye,u=fe,l=de||(xe=>xe.key),!c&&g.navigation===nq){c=!0;let xe=Oe(g.location,g.matches);xe!=null&&q({restoreScrollPosition:xe})}return()=>{s=null,u=null,l=null}}function je(ye,fe){if(s&&l&&u){let de=fe.map(Ye=>Bye(Ye,g.loaderData)),xe=l(ye,de)||ye.key;s[xe]=u()}}function Oe(ye,fe){if(s&&l&&u){let de=fe.map(Ze=>Bye(Ze,g.loaderData)),xe=l(ye,de)||ye.key,Ye=s[xe];if(typeof Ye=="number")return Ye}return null}function Re(ye){i=ye}return p={get basename(){return e.basename},get state(){return g},get routes(){return r},initialize:P,subscribe:F,enableScrollRestoration:we,navigate:X,fetch:ae,revalidate:G,createHref:ye=>e.history.createHref(ye),encodeLocation:ye=>e.history.encodeLocation(ye),getFetcher:Q,deleteFetcher:ce,dispose:H,getBlocker:he,deleteBlocker:$e,_internalFetchControllers:T,_internalActiveDeferreds:N,_internalSetRoutes:Re},p}function Fmt(e){return e!=null&&"formData"in e}function Aye(e,t,n){n===void 0&&(n=!1);let r=typeof e=="string"?e:C4(e);if(!t||!Fmt(t))return{path:r};if(t.formMethod&&!Hmt(t.formMethod))return{path:r,error:mp(405,{method:t.formMethod})};let i;if(t.formData&&(i={formMethod:t.formMethod||"get",formAction:Ize(r),formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:t.formData},lg(i.formMethod)))return{path:r,submission:i};let a=om(r),o=Dze(t.formData);return n&&a.search&&Mze(a.search)&&o.append("index",""),a.search="?"+o,{path:C4(a),submission:i}}function Nmt(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Tye(e,t,n,r,i,a,o,s,l,u,c,f,d){let h=d?Object.values(d)[0]:f?Object.values(f)[0]:void 0,p=e.createURL(t.location),g=e.createURL(i),b=a||p.toString()===g.toString()||p.search!==g.search,m=d?Object.keys(d)[0]:void 0,w=Nmt(n,m).filter((E,S)=>{if(E.route.lazy)return!0;if(E.route.loader==null)return!1;if($mt(t.loaderData,t.matches[S],E)||o.some(M=>M===E.route.id))return!0;let T=t.matches[S],L=E;return Dye(E,ua({currentUrl:p,currentParams:T.params,nextUrl:g,nextParams:L.params},r,{actionResult:h,defaultShouldRevalidate:b||Tze(T,L)}))}),k=[];return l.forEach((E,S)=>{if(!n.some(D=>D.route.id===E.routeId))return;let T=Vk(u,E.path,c);if(!T){k.push(ua({key:S},E,{matches:null,match:null}));return}let L=aae(T,E.path);if(s.includes(S)){k.push(ua({key:S,matches:T,match:L},E));return}Dye(L,ua({currentUrl:p,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:b}))&&k.push(ua({key:S,matches:T,match:L},E))}),[w,k]}function $mt(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Tze(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Dye(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function iae(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Si(i,"No route found in manifest");let a={};for(let o in r){let l=i[o]!==void 0&&o!=="hasErrorBoundary";X6(!l,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!l&&!imt.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,{hasErrorBoundary:t(ua({},i)),lazy:void 0})}async function T5(e,t,n,r,i,a,o,s,l,u){o===void 0&&(o="/"),s===void 0&&(s=!1),l===void 0&&(l=!1);let c,f,d,h=b=>{let m,v=new Promise((w,k)=>m=k);return d=()=>m(),t.signal.addEventListener("abort",d),Promise.race([b({request:t,params:n.params,context:u}),v])};try{let b=n.route[e];if(n.route.lazy)if(b)f=(await Promise.all([h(b),iae(n.route,a,i)]))[0];else if(await iae(n.route,a,i),b=n.route[e],b)f=await h(b);else{if(e==="action")throw mp(405,{method:t.method,pathname:new URL(t.url).pathname,routeId:n.route.id});return{type:xl.data,data:void 0}}else Si(b,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),f=await h(b);Si(f!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(b){c=xl.error,f=b}finally{d&&t.signal.removeEventListener("abort",d)}if(jmt(f)){let b=f.status;if(Rmt.has(b)){let w=f.headers.get("Location");if(Si(w,"Redirects returned/thrown from loaders/actions must have a Location header"),Sze.test(w)){if(!s){let k=new URL(t.url),E=w.startsWith("//")?new URL(k.protocol+w):new URL(w),S=AN(E.pathname,o)!=null;E.origin===k.origin&&S&&(w=E.pathname+E.search+E.hash)}}else{let k=r.slice(0,r.indexOf(n)+1),E=ufe(k).map(T=>T.pathnameBase),S=Cze(w,E,new URL(t.url).pathname);if(Si(C4(S),"Unable to resolve redirect location: "+w),o){let T=S.pathname;S.pathname=T==="/"?o:Hv([o,T])}w=C4(S)}if(s)throw f.headers.set("Location",w),f;return{type:xl.redirect,status:b,location:w,revalidate:f.headers.get("X-Remix-Revalidate")!==null}}if(l)throw{type:c||xl.data,response:f};let m,v=f.headers.get("Content-Type");return v&&/\bapplication\/json\b/.test(v)?m=await f.json():m=await f.text(),c===xl.error?{type:c,error:new cfe(b,f.statusText,m),headers:f.headers}:{type:xl.data,data:m,statusCode:f.status,headers:f.headers}}if(c===xl.error)return{type:c,error:f};if(f instanceof xmt){var p,g;return{type:xl.deferred,deferredData:f,statusCode:(p=f.init)==null?void 0:p.status,headers:((g=f.init)==null?void 0:g.headers)&&new Headers(f.init.headers)}}return{type:xl.data,data:f}}function D5(e,t,n,r){let i=e.createURL(Ize(t)).toString(),a={signal:n};if(r&&lg(r.formMethod)){let{formMethod:o,formEncType:s,formData:l}=r;a.method=o.toUpperCase(),a.body=s==="application/x-www-form-urlencoded"?Dze(l):l}return new Request(i,a)}function Dze(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,r instanceof File?r.name:r);return t}function zmt(e,t,n,r,i){let a={},o=null,s,l=!1,u={};return n.forEach((c,f)=>{let d=t[f].route.id;if(Si(!p6(c),"Cannot handle redirect results in processLoaderData"),vS(c)){let h=Kk(e,d),p=c.error;r&&(p=Object.values(r)[0],r=void 0),o=o||{},o[h.route.id]==null&&(o[h.route.id]=p),a[d]=void 0,l||(l=!0,s=Eze(c.error)?c.error.status:500),c.headers&&(u[d]=c.headers)}else Wb(c)?(i.set(d,c.deferredData),a[d]=c.deferredData.data):a[d]=c.data,c.statusCode!=null&&c.statusCode!==200&&!l&&(s=c.statusCode),c.headers&&(u[d]=c.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:u}}function Iye(e,t,n,r,i,a,o,s){let{loaderData:l,errors:u}=zmt(t,n,r,i,s);for(let c=0;cr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Mye(e){let t=e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function mp(e,t){let{pathname:n,routeId:r,method:i,type:a}=t===void 0?{}:t,o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",i&&n&&r?s="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"&&(s="defer() is not supported in actions")):e===403?(o="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",s='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new cfe(e||500,o,new Error(s),!0)}function Oye(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(p6(n))return n}}function Ize(e){let t=typeof e=="string"?om(e):e;return C4(ua({},t,{hash:""}))}function Umt(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash!==t.hash}function Wb(e){return e.type===xl.deferred}function vS(e){return e.type===xl.error}function p6(e){return(e&&e.type)===xl.redirect}function jmt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Hmt(e){return Imt.has(e)}function lg(e){return Tmt.has(e)}async function Lye(e,t,n,r,i,a){for(let o=0;of.route.id===l.route.id),c=u!=null&&!Tze(u,l)&&(a&&a[l.route.id])!==void 0;Wb(s)&&(i||c)&&await Rze(s,r,i).then(f=>{f&&(n[o]=f||n[o])})}}async function Rze(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:xl.data,data:e.deferredData.unwrappedData}}catch(i){return{type:xl.error,error:i}}return{type:xl.data,data:e.deferredData.data}}}function Mze(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Bye(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function aae(e,t){let n=typeof t=="string"?om(t).search:t.search;if(e[e.length-1].route.index&&Mze(n||""))return e[e.length-1];let r=ufe(e);return r[r.length-1]}/** * React Router v6.9.0 * * Copyright (c) Remix Software Inc. @@ -88,7 +88,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Hmt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const qmt=typeof Object.is=="function"?Object.is:Hmt,{useState:Wmt,useEffect:Gmt,useLayoutEffect:Vmt,useDebugValue:Kmt}=v4;function Ymt(e,t,n){const r=t(),[{inst:i},a]=Wmt({inst:{value:r,getSnapshot:t}});return Vmt(()=>{i.value=r,i.getSnapshot=t,rq(i)&&a({inst:i})},[e,r,t]),Gmt(()=>(rq(i)&&a({inst:i}),e(()=>{rq(i)&&a({inst:i})})),[e]),Kmt(r),r}function rq(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!qmt(n,r)}catch{return!0}}function Xmt(e,t,n){return t()}const Jmt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zmt=!Jmt,Qmt=Zmt?Xmt:Ymt,evt="useSyncExternalStore"in v4?(e=>e.useSyncExternalStore)(v4):Qmt,ffe=C.createContext(null),TN=C.createContext(null),dfe=C.createContext(null),DN=C.createContext(null),$C=C.createContext({outlet:null,matches:[]}),Oze=C.createContext(null);function oae(){return oae=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),a=C.useRef(!1);return C.useEffect(()=>{a.current=!0}),C.useCallback(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let u=Cze(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Hv([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,i,r])}function z2(){let{matches:e}=C.useContext($C),t=e[e.length-1];return t?t.params:{}}function tvt(e,t){l7()||Si(!1);let{navigator:n}=C.useContext(dfe),r=C.useContext(TN),{matches:i}=C.useContext($C),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let l=IN(),u;if(t){var c;let g=typeof t=="string"?om(t):t;s==="/"||(c=g.pathname)!=null&&c.startsWith(s)||Si(!1),u=g}else u=l;let f=u.pathname||"/",d=s==="/"?f:f.slice(s.length)||"/",h=Vk(e,{pathname:d}),p=avt(h&&h.map(g=>Object.assign({},g,{params:Object.assign({},o,g.params),pathname:Hv([s,n.encodeLocation?n.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?s:Hv([s,n.encodeLocation?n.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,r||void 0);return t&&p?C.createElement(DN.Provider,{value:{location:oae({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ks.Pop}},p):p}function nvt(){let e=uvt(),t=Eze(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,a)}class rvt extends C.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?C.createElement($C.Provider,{value:this.props.routeContext},C.createElement(Oze.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ivt(e){let{routeContext:t,match:n,children:r}=e,i=C.useContext(ffe);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement($C.Provider,{value:t},r)}function avt(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n?.errors;if(i!=null){let a=r.findIndex(o=>o.route.id&&i?.[o.route.id]);a>=0||Si(!1),r=r.slice(0,Math.min(r.length,a+1))}return r.reduceRight((a,o,s)=>{let l=o.route.id?i?.[o.route.id]:null,u=null;n&&(o.route.ErrorBoundary?u=C.createElement(o.route.ErrorBoundary,null):o.route.errorElement?u=o.route.errorElement:u=C.createElement(nvt,null));let c=t.concat(r.slice(0,s+1)),f=()=>{let d=a;return l?d=u:o.route.Component?d=C.createElement(o.route.Component,null):o.route.element&&(d=o.route.element),C.createElement(ivt,{match:o,routeContext:{outlet:a,matches:c},children:d})};return n&&(o.route.ErrorBoundary||o.route.errorElement||s===0)?C.createElement(rvt,{location:n.location,component:u,error:l,children:f(),routeContext:{outlet:null,matches:c}}):f()},null)}var Pye;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(Pye||(Pye={}));var EL;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(EL||(EL={}));function ovt(e){let t=C.useContext(TN);return t||Si(!1),t}function svt(e){let t=C.useContext($C);return t||Si(!1),t}function lvt(e){let t=svt(),n=t.matches[t.matches.length-1];return n.route.id||Si(!1),n.route.id}function uvt(){var e;let t=C.useContext(Oze),n=ovt(EL.UseRouteError),r=lvt(EL.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function cvt(e){let{fallbackElement:t,router:n}=e,r=C.useCallback(()=>n.state,[n]),i=evt(n.subscribe,r,r),a=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:l=>n.navigate(l),push:(l,u,c)=>n.navigate(l,{state:u,preventScrollReset:c?.preventScrollReset}),replace:(l,u,c)=>n.navigate(l,{replace:!0,state:u,preventScrollReset:c?.preventScrollReset})}),[n]),o=n.basename||"/",s=C.useMemo(()=>({router:n,navigator:a,static:!1,basename:o}),[n,a,o]);return C.createElement(C.Fragment,null,C.createElement(ffe.Provider,{value:s},C.createElement(TN.Provider,{value:i},C.createElement(hvt,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:a},n.state.initialized?C.createElement(pvt,null):t))),null)}function fvt(e){let{to:t,replace:n,state:r,relative:i}=e;l7()||Si(!1);let a=C.useContext(TN),o=sm();return C.useEffect(()=>{a&&a.navigation.state!=="idle"||o(t,{replace:n,state:r,relative:i})}),null}function dvt(e){Si(!1)}function hvt(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ks.Pop,navigator:a,static:o=!1}=e;l7()&&Si(!1);let s=t.replace(/^\/*/,"/"),l=C.useMemo(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r=="string"&&(r=om(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:h="default"}=r,p=C.useMemo(()=>{let g=AN(u,s);return g==null?null:{location:{pathname:g,search:c,hash:f,state:d,key:h},navigationType:i}},[s,u,c,f,d,h,i]);return p==null?null:C.createElement(dfe.Provider,{value:l},C.createElement(DN.Provider,{children:n,value:p}))}function pvt(e){let{children:t,location:n}=e,r=C.useContext(ffe),i=r&&!t?r.router.routes:sae(t);return tvt(i,n)}var Fye;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Fye||(Fye={}));new Promise(()=>{});function sae(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,i)=>{if(!C.isValidElement(r))return;if(r.type===C.Fragment){n.push.apply(n,sae(r.props.children,t));return}r.type!==dvt&&Si(!1),!r.props.index||!r.props.children||Si(!1);let a=[...t,i],o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=sae(r.props.children,a)),n.push(o)}),n}function gvt(e){return!!e.ErrorBoundary||!!e.errorElement}/** + */function qmt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const Wmt=typeof Object.is=="function"?Object.is:qmt,{useState:Gmt,useEffect:Vmt,useLayoutEffect:Kmt,useDebugValue:Ymt}=v4;function Xmt(e,t,n){const r=t(),[{inst:i},a]=Gmt({inst:{value:r,getSnapshot:t}});return Kmt(()=>{i.value=r,i.getSnapshot=t,rq(i)&&a({inst:i})},[e,r,t]),Vmt(()=>(rq(i)&&a({inst:i}),e(()=>{rq(i)&&a({inst:i})})),[e]),Ymt(r),r}function rq(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!Wmt(n,r)}catch{return!0}}function Jmt(e,t,n){return t()}const Zmt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Qmt=!Zmt,evt=Qmt?Jmt:Xmt,tvt="useSyncExternalStore"in v4?(e=>e.useSyncExternalStore)(v4):evt,ffe=C.createContext(null),TN=C.createContext(null),dfe=C.createContext(null),DN=C.createContext(null),$C=C.createContext({outlet:null,matches:[]}),Oze=C.createContext(null);function oae(){return oae=Object.assign?Object.assign.bind():function(e){for(var t=1;ts.pathnameBase)),a=C.useRef(!1);return C.useEffect(()=>{a.current=!0}),C.useCallback(function(s,l){if(l===void 0&&(l={}),!a.current)return;if(typeof s=="number"){t.go(s);return}let u=Cze(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Hv([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,i,r])}function z2(){let{matches:e}=C.useContext($C),t=e[e.length-1];return t?t.params:{}}function nvt(e,t){l7()||Si(!1);let{navigator:n}=C.useContext(dfe),r=C.useContext(TN),{matches:i}=C.useContext($C),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let l=IN(),u;if(t){var c;let g=typeof t=="string"?om(t):t;s==="/"||(c=g.pathname)!=null&&c.startsWith(s)||Si(!1),u=g}else u=l;let f=u.pathname||"/",d=s==="/"?f:f.slice(s.length)||"/",h=Vk(e,{pathname:d}),p=ovt(h&&h.map(g=>Object.assign({},g,{params:Object.assign({},o,g.params),pathname:Hv([s,n.encodeLocation?n.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?s:Hv([s,n.encodeLocation?n.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,r||void 0);return t&&p?C.createElement(DN.Provider,{value:{location:oae({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Ks.Pop}},p):p}function rvt(){let e=cvt(),t=Eze(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},t),n?C.createElement("pre",{style:i},n):null,a)}class ivt extends C.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?C.createElement($C.Provider,{value:this.props.routeContext},C.createElement(Oze.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function avt(e){let{routeContext:t,match:n,children:r}=e,i=C.useContext(ffe);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement($C.Provider,{value:t},r)}function ovt(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n?.errors;if(i!=null){let a=r.findIndex(o=>o.route.id&&i?.[o.route.id]);a>=0||Si(!1),r=r.slice(0,Math.min(r.length,a+1))}return r.reduceRight((a,o,s)=>{let l=o.route.id?i?.[o.route.id]:null,u=null;n&&(o.route.ErrorBoundary?u=C.createElement(o.route.ErrorBoundary,null):o.route.errorElement?u=o.route.errorElement:u=C.createElement(rvt,null));let c=t.concat(r.slice(0,s+1)),f=()=>{let d=a;return l?d=u:o.route.Component?d=C.createElement(o.route.Component,null):o.route.element&&(d=o.route.element),C.createElement(avt,{match:o,routeContext:{outlet:a,matches:c},children:d})};return n&&(o.route.ErrorBoundary||o.route.errorElement||s===0)?C.createElement(ivt,{location:n.location,component:u,error:l,children:f(),routeContext:{outlet:null,matches:c}}):f()},null)}var Pye;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(Pye||(Pye={}));var EL;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(EL||(EL={}));function svt(e){let t=C.useContext(TN);return t||Si(!1),t}function lvt(e){let t=C.useContext($C);return t||Si(!1),t}function uvt(e){let t=lvt(),n=t.matches[t.matches.length-1];return n.route.id||Si(!1),n.route.id}function cvt(){var e;let t=C.useContext(Oze),n=svt(EL.UseRouteError),r=uvt(EL.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function fvt(e){let{fallbackElement:t,router:n}=e,r=C.useCallback(()=>n.state,[n]),i=tvt(n.subscribe,r,r),a=C.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:l=>n.navigate(l),push:(l,u,c)=>n.navigate(l,{state:u,preventScrollReset:c?.preventScrollReset}),replace:(l,u,c)=>n.navigate(l,{replace:!0,state:u,preventScrollReset:c?.preventScrollReset})}),[n]),o=n.basename||"/",s=C.useMemo(()=>({router:n,navigator:a,static:!1,basename:o}),[n,a,o]);return C.createElement(C.Fragment,null,C.createElement(ffe.Provider,{value:s},C.createElement(TN.Provider,{value:i},C.createElement(pvt,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:a},n.state.initialized?C.createElement(gvt,null):t))),null)}function dvt(e){let{to:t,replace:n,state:r,relative:i}=e;l7()||Si(!1);let a=C.useContext(TN),o=sm();return C.useEffect(()=>{a&&a.navigation.state!=="idle"||o(t,{replace:n,state:r,relative:i})}),null}function hvt(e){Si(!1)}function pvt(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ks.Pop,navigator:a,static:o=!1}=e;l7()&&Si(!1);let s=t.replace(/^\/*/,"/"),l=C.useMemo(()=>({basename:s,navigator:a,static:o}),[s,a,o]);typeof r=="string"&&(r=om(r));let{pathname:u="/",search:c="",hash:f="",state:d=null,key:h="default"}=r,p=C.useMemo(()=>{let g=AN(u,s);return g==null?null:{location:{pathname:g,search:c,hash:f,state:d,key:h},navigationType:i}},[s,u,c,f,d,h,i]);return p==null?null:C.createElement(dfe.Provider,{value:l},C.createElement(DN.Provider,{children:n,value:p}))}function gvt(e){let{children:t,location:n}=e,r=C.useContext(ffe),i=r&&!t?r.router.routes:sae(t);return nvt(i,n)}var Fye;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Fye||(Fye={}));new Promise(()=>{});function sae(e,t){t===void 0&&(t=[]);let n=[];return C.Children.forEach(e,(r,i)=>{if(!C.isValidElement(r))return;if(r.type===C.Fragment){n.push.apply(n,sae(r.props.children,t));return}r.type!==hvt&&Si(!1),!r.props.index||!r.props.children||Si(!1);let a=[...t,i],o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=sae(r.props.children,a)),n.push(o)}),n}function mvt(e){return!!e.ErrorBoundary||!!e.errorElement}/** * React Router DOM v6.9.0 * * Copyright (c) Remix Software Inc. @@ -97,28 +97,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function lae(){return lae=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?so(d3,--qu):0,E4--,rs===10&&(E4=1,c7--),rs}function Dc(){return rs=qu2||x4(rs)>3?"":" "}function Uze(e){for(;Dc();)switch(x4(rs)){case 0:Av(vfe(qu-1),e);break;case 2:Av(g6(rs),e);break;default:Av(UC(rs),e)}return e}function jze(e,t){for(;--t&&Dc()&&!(rs<48||rs>102||rs>57&&rs<65||rs>70&&rs<97););return jC(e,yS()+(t<6&&E0()==32&&Dc()==32))}function xL(e){for(;Dc();)switch(rs){case e:return qu;case 34:case 39:e!==34&&e!==39&&xL(rs);break;case 40:e===41&&xL(e);break;case 92:Dc();break}return qu}function Hze(e,t){for(;Dc()&&e+rs!==47+10;)if(e+rs===42+42&&E0()===47)break;return"/*"+jC(t,qu-1)+"*"+UC(e===47?e:Dc())}function vfe(e){for(;!x4(E0());)Dc();return jC(e,qu)}function yfe(e){return LN(bS("",null,null,null,[""],e=ON(e),0,[0],e))}function bS(e,t,n,r,i,a,o,s,l){for(var u=0,c=0,f=o,d=0,h=0,p=0,g=1,b=1,m=1,v=0,w="",k=i,E=a,S=r,T=w;b;)switch(p=v,v=Dc()){case 40:if(p!=108&&so(T,f-1)==58){r4(T+=pr(g6(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=g6(v);break;case 9:case 10:case 13:case 32:T+=zze(p);break;case 92:T+=jze(yS()-1,7);continue;case 47:switch(E0()){case 42:case 47:Av(qze(Hze(Dc(),yS()),t,n),l);break;default:T+="/"}break;case 123*g:s[u++]=Gf(T)*m;case 125*g:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+c:h>0&&Gf(T)-f&&Av(h>32?cae(T+";",r,n,f-1):cae(pr(T," ","")+";",r,n,f-2),l);break;case 59:T+=";";default:if(Av(S=uae(T,t,n,u,c,i,s,w,k=[],E=[],f),a),v===123)if(c===0)bS(T,t,S,S,k,a,f,s,E);else switch(d===99&&so(T,3)===110?100:d){case 100:case 109:case 115:bS(e,S,S,r&&Av(uae(e,S,S,0,0,i,s,w,i,k=[],f),E),i,E,f,s,r?k:E);break;default:bS(T,S,S,S,[""],E,0,s,E)}}u=c=h=0,g=m=1,w=T="",f=o;break;case 58:f=1+Gf(T),h=p;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&Nze()==125)continue}switch(T+=UC(v),v*g){case 38:m=c>0?1:(T+="\f",-1);break;case 44:s[u++]=(Gf(T)-1)*m,m=1;break;case 64:E0()===45&&(T+=g6(Dc())),d=E0(),c=f=Gf(w=T+=vfe(yS())),v++;break;case 45:p===45&&Gf(T)==2&&(g=0)}}return a}function uae(e,t,n,r,i,a,o,s,l,u,c){for(var f=i-1,d=i===0?a:[""],h=J6(d),p=0,g=0,b=0;p0?d[m]+" "+v:pr(v,/&\f/g,d[m])))&&(l[b++]=w);return f7(e,t,n,i===0?zC:s,l,u,c)}function qze(e,t,n){return f7(e,t,n,hfe,UC(Fze()),jg(e,2,-2),0)}function cae(e,t,n,r){return f7(e,t,n,u7,jg(e,0,r),jg(e,r+1,-1),r)}function bfe(e,t,n){switch(pfe(e,t)){case 5103:return Rr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rr+e+e;case 4789:return Vp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rr+e+Vp+e+Ci+e+e;case 5936:switch(so(e,t+11)){case 114:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Rr+e+Ci+e+e;case 6165:return Rr+e+Ci+"flex-"+e+e;case 5187:return Rr+e+pr(e,/(\w+).+(:[^]+)/,Rr+"box-$1$2"+Ci+"flex-$1$2")+e;case 5443:return Rr+e+Ci+"flex-item-"+pr(e,/flex-|-self/g,"")+(wp(e,/flex-|baseline/)?"":Ci+"grid-row-"+pr(e,/flex-|-self/g,""))+e;case 4675:return Rr+e+Ci+"flex-line-pack"+pr(e,/align-content|flex-|-self/g,"")+e;case 5548:return Rr+e+Ci+pr(e,"shrink","negative")+e;case 5292:return Rr+e+Ci+pr(e,"basis","preferred-size")+e;case 6060:return Rr+"box-"+pr(e,"-grow","")+Rr+e+Ci+pr(e,"grow","positive")+e;case 4554:return Rr+pr(e,/([^-])(transform)/g,"$1"+Rr+"$2")+e;case 6187:return pr(pr(pr(e,/(zoom-|grab)/,Rr+"$1"),/(image-set)/,Rr+"$1"),e,"")+e;case 5495:case 3959:return pr(e,/(image-set\([^]*)/,Rr+"$1$`$1");case 4968:return pr(pr(e,/(.+:)(flex-)?(.*)/,Rr+"box-pack:$3"+Ci+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rr+e+e;case 4200:if(!wp(e,/flex-|baseline/))return Ci+"grid-column-align"+jg(e,t)+e;break;case 2592:case 3360:return Ci+pr(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,wp(r.props,/grid-\w+-end/)})?~r4(e+(n=n[t].value),"span")?e:Ci+pr(e,"-start","")+e+Ci+"grid-row-span:"+(~r4(n,"span")?wp(n,/\d+/):+wp(n,/\d+/)-+wp(e,/\d+/))+";":Ci+pr(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return wp(r.props,/grid-\w+-start/)})?e:Ci+pr(pr(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return pr(e,/(.+)-inline(.+)/,Rr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gf(e)-1-t>6)switch(so(e,t+1)){case 109:if(so(e,t+4)!==45)break;case 102:return pr(e,/(.+:)(.+)-([^]+)/,"$1"+Rr+"$2-$3$1"+Vp+(so(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r4(e,"stretch")?bfe(pr(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return pr(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,a,o,s,l,u){return Ci+i+":"+a+u+(o?Ci+i+"-span:"+(s?l:+l-+a)+u:"")+e});case 4949:if(so(e,t+6)===121)return pr(e,":",":"+Rr)+e;break;case 6444:switch(so(e,so(e,14)===45?18:11)){case 120:return pr(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Rr+(so(e,14)===45?"inline-":"")+"box$3$1"+Rr+"$2$3$1"+Ci+"$2box$3")+e;case 100:return pr(e,":",":"+Ci)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return pr(e,"scroll-","scroll-snap-")+e}return e}function x0(e,t){for(var n="",r=J6(e),i=0;i-1&&!e.return)switch(e.type){case u7:e.return=bfe(e.value,e.length,n);return;case RN:return x0([c0(e,{value:pr(e.value,"@","@"+Rr)})],r);case zC:if(e.length)return MN(e.props,function(i){switch(wp(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x0([c0(e,{props:[pr(i,/:(read-\w+)/,":"+Vp+"$1")]})],r);case"::placeholder":return x0([c0(e,{props:[pr(i,/:(plac\w+)/,":"+Rr+"input-$1")]}),c0(e,{props:[pr(i,/:(plac\w+)/,":"+Vp+"$1")]}),c0(e,{props:[pr(i,/:(plac\w+)/,Ci+"input-$1")]})],r)}return""})}}function Ovt(e){switch(e.type){case zC:e.props=e.props.map(function(t){return MN($ze(t),function(n,r,i){switch(so(n,0)){case 12:return jg(n,1,Gf(n));case 0:case 40:case 43:case 62:case 126:return n;case 58:i[++r]==="global"&&(i[r]="",i[++r]="\f"+jg(i[r],r=1,-1));case 32:return r===1?"":n;default:switch(r){case 0:return e=n,J6(i)>1?"":n;case(r=J6(i)-1):case 2:return r===2?n+e+e:n+e;default:return n}}})})}}const Lvt=Object.freeze(Object.defineProperty({__proto__:null,CHARSET:Evt,COMMENT:hfe,COUNTER_STYLE:Ivt,DECLARATION:u7,DOCUMENT:Avt,FONT_FACE:Dvt,FONT_FEATURE_VALUES:Rvt,IMPORT:Lze,KEYFRAMES:RN,MEDIA:Cvt,MOZ:Vp,MS:Ci,NAMESPACE:Tvt,PAGE:_vt,RULESET:zC,SUPPORTS:Svt,VIEWPORT:xvt,WEBKIT:Rr,abs:Bze,alloc:ON,append:Av,assign:Pze,caret:yS,char:Fze,get character(){return rs},get characters(){return d3},charat:so,get column(){return E4},combine:MN,comment:qze,commenter:Hze,compile:yfe,copy:c0,dealloc:LN,declaration:cae,delimit:g6,delimiter:xL,escaping:jze,from:UC,hash:pfe,identifier:vfe,indexof:r4,get length(){return mfe},get line(){return c7},match:wp,middleware:Wze,namespace:Ovt,next:Dc,node:f7,parse:bS,peek:E0,get position(){return qu},prefix:bfe,prefixer:Mvt,prev:Nze,replace:pr,ruleset:uae,rulesheet:Gze,serialize:x0,sizeof:J6,slice:jC,stringify:wfe,strlen:Gf,substr:jg,token:x4,tokenize:$ze,tokenizer:Uze,trim:gfe,whitespace:zze},Symbol.toStringTag,{value:"Module"}));function Vze(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Bvt=function(t,n,r){for(var i=0,a=0;i=a,a=E0(),i===38&&a===12&&(n[r]=1),!x4(a);)Dc();return jC(t,qu)},Pvt=function(t,n){var r=-1,i=44;do switch(x4(i)){case 0:i===38&&E0()===12&&(n[r]=1),t[r]+=Bvt(qu-1,n,r);break;case 2:t[r]+=g6(i);break;case 4:if(i===44){t[++r]=E0()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=UC(i)}while(i=Dc());return t},Fvt=function(t,n){return LN(Pvt(ON(t),n))},zye=new WeakMap,Nvt=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!zye.get(r))&&!i){zye.set(t,!0);for(var a=[],o=Fvt(n,a),s=r.props,l=0,u=0;l6)switch(so(e,t+1)){case 109:if(so(e,t+4)!==45)break;case 102:return pr(e,/(.+:)(.+)-([^]+)/,"$1"+Rr+"$2-$3$1"+Vp+(so(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r4(e,"stretch")?Kze(pr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(so(e,t+1)!==115)break;case 6444:switch(so(e,Gf(e)-3-(~r4(e,"!important")&&10))){case 107:return pr(e,":",":"+Rr)+e;case 101:return pr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rr+(so(e,14)===45?"inline-":"")+"box$3$1"+Rr+"$2$3$1"+Ci+"$2box$3")+e}break;case 5936:switch(so(e,t+11)){case 114:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rr+e+Ci+e+e}return e}var zvt=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case u7:t.return=Kze(t.value,t.length);break;case RN:return x0([c0(t,{value:pr(t.value,"@","@"+Rr)})],i);case zC:if(t.length)return MN(t.props,function(a){switch(wp(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x0([c0(t,{props:[pr(a,/:(read-\w+)/,":"+Vp+"$1")]})],i);case"::placeholder":return x0([c0(t,{props:[pr(a,/:(plac\w+)/,":"+Rr+"input-$1")]}),c0(t,{props:[pr(a,/:(plac\w+)/,":"+Vp+"$1")]}),c0(t,{props:[pr(a,/:(plac\w+)/,Ci+"input-$1")]})],i)}return""})}},Uvt=[zvt],Yze=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||Uvt,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),m=1;m=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 qvt={animationIterationCount: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},Wvt=/[A-Z]|^ms/g,Gvt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zze=function(t){return t.charCodeAt(1)===45},Uye=function(t){return t!=null&&typeof t!="boolean"},iq=Vze(function(e){return Zze(e)?e:e.replace(Wvt,"-$&").toLowerCase()}),jye=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Gvt,function(r,i,a){return Cp={name:i,styles:a,next:Cp},i})}return qvt[t]!==1&&!Zze(t)&&typeof n=="number"&&n!==0?n+"px":n};function TA(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Cp={name:n.name,styles:n.styles,next:Cp},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Cp={name:r.name,styles:r.styles,next:Cp},r=r.next;var i=n.styles+";";return i}return Vvt(e,t,n)}case"function":{if(e!==void 0){var a=Cp,o=n(e);return Cp=a,TA(e,t,o)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Vvt(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i1&&o+i.length*l+u.length>=f));)i.push(u),o+=u.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function i2t(e,t){const n=e,r=[];let i,a,o,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&f2(i))for(a=i.split(/\s+/),l=0;l1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return oUe({host:a,pass:i,path:l,projectId:u,port:o,protocol:n,publicKey:r})}function oUe(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c2t(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach(a=>{if(!e[a])throw new Nu(`Invalid Sentry Dsn: ${a} missing`)}),!n.match(/^\d+$/))throw new Nu(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!l2t(r))throw new Nu(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new Nu(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function f2t(e){const t=typeof e=="string"?u2t(e):oUe(e);return c2t(t),t}const d2t="Sentry Logger ",SL=["debug","info","warn","error","log","assert","trace"];function sUe(e){if(!("console"in sd))return e();const t=sd.console,n={};SL.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function Gye(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?SL.forEach(n=>{t[n]=(...r)=>{e&&sUe(()=>{sd.console[n](`${d2t}[${n}]:`,...r)})}}):SL.forEach(n=>{t[n]=()=>{}}),t}let Vn;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Vn=Afe("logger",Gye):Vn=Gye();function wS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Vye(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rh2t(e,r,n))}function zu(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{lUe(i,r)}catch{}e[t]=i}function Dfe(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function lUe(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,Dfe(e,"__sentry_original__",t)}function Ife(e){return e.__sentry_original__}function p2t(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function uUe(e){if(nUe(e))return{message:e.message,name:e.name,stack:e.stack,...Yye(e)};if(xfe(e)){const t={type:e.type,target:Kye(e.target),currentTarget:Kye(e.currentTarget),...Yye(e)};return typeof CustomEvent<"u"&&r1(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Kye(e){try{return e2t(e)?Q6(e):Object.prototype.toString.call(e)}catch{return""}}function Yye(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function g2t(e,t=40){const n=Object.keys(uUe(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return wS(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:wS(i,t)}return""}function qv(e){return fae(e,new Map)}function fae(e,t){if(Z6(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=fae(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(fae(i,t))}),r}return e}const m2t=50,Xye=/\(error: (.*)\)/;function cUe(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[];for(const a of n.split(` -`).slice(r)){if(a.length>1024)continue;const o=Xye.test(a)?a.replace(Xye,"$1"):a;for(const s of t){const l=s(o);if(l){i.push(l);break}}}return y2t(i)}}function v2t(e){return Array.isArray(e)?cUe(...e):e}function y2t(e){if(!e.length)return[];let t=e;const n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,m2t).map(i=>({...i,filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}const aq="";function d2(e){try{return!e||typeof e!="function"?aq:e.name||aq}catch{return aq}}const Gb=PN();function fUe(){if(!("fetch"in Gb))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function dae(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function b2t(){if(!fUe())return!1;if(dae(Gb.fetch))return!0;let e=!1;const t=Gb.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=dae(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function w2t(){const e=Gb.chrome,t=e&&e.app&&e.app.runtime,n="history"in Gb&&!!Gb.history.pushState&&!!Gb.history.replaceState;return!t&&n}const is=PN(),kS={},Jye={};function k2t(e){if(!Jye[e])switch(Jye[e]=!0,e){case"console":_2t();break;case"dom":R2t();break;case"xhr":S2t();break;case"fetch":C2t();break;case"history":A2t();break;case"error":M2t();break;case"unhandledrejection":O2t();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("unknown instrumentation type:",e);return}}function Yf(e,t){kS[e]=kS[e]||[],kS[e].push(t),k2t(e)}function S0(e,t){if(!(!e||!kS[e]))for(const n of kS[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Error while triggering instrumentation handler. + */function lae(){return lae=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?so(d3,--qu):0,E4--,rs===10&&(E4=1,c7--),rs}function Dc(){return rs=qu2||x4(rs)>3?"":" "}function Uze(e){for(;Dc();)switch(x4(rs)){case 0:Av(vfe(qu-1),e);break;case 2:Av(g6(rs),e);break;default:Av(UC(rs),e)}return e}function jze(e,t){for(;--t&&Dc()&&!(rs<48||rs>102||rs>57&&rs<65||rs>70&&rs<97););return jC(e,yS()+(t<6&&E0()==32&&Dc()==32))}function xL(e){for(;Dc();)switch(rs){case e:return qu;case 34:case 39:e!==34&&e!==39&&xL(rs);break;case 40:e===41&&xL(e);break;case 92:Dc();break}return qu}function Hze(e,t){for(;Dc()&&e+rs!==47+10;)if(e+rs===42+42&&E0()===47)break;return"/*"+jC(t,qu-1)+"*"+UC(e===47?e:Dc())}function vfe(e){for(;!x4(E0());)Dc();return jC(e,qu)}function yfe(e){return LN(bS("",null,null,null,[""],e=ON(e),0,[0],e))}function bS(e,t,n,r,i,a,o,s,l){for(var u=0,c=0,f=o,d=0,h=0,p=0,g=1,b=1,m=1,v=0,w="",k=i,E=a,S=r,T=w;b;)switch(p=v,v=Dc()){case 40:if(p!=108&&so(T,f-1)==58){r4(T+=pr(g6(v),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=g6(v);break;case 9:case 10:case 13:case 32:T+=zze(p);break;case 92:T+=jze(yS()-1,7);continue;case 47:switch(E0()){case 42:case 47:Av(qze(Hze(Dc(),yS()),t,n),l);break;default:T+="/"}break;case 123*g:s[u++]=Gf(T)*m;case 125*g:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+c:h>0&&Gf(T)-f&&Av(h>32?cae(T+";",r,n,f-1):cae(pr(T," ","")+";",r,n,f-2),l);break;case 59:T+=";";default:if(Av(S=uae(T,t,n,u,c,i,s,w,k=[],E=[],f),a),v===123)if(c===0)bS(T,t,S,S,k,a,f,s,E);else switch(d===99&&so(T,3)===110?100:d){case 100:case 109:case 115:bS(e,S,S,r&&Av(uae(e,S,S,0,0,i,s,w,i,k=[],f),E),i,E,f,s,r?k:E);break;default:bS(T,S,S,S,[""],E,0,s,E)}}u=c=h=0,g=m=1,w=T="",f=o;break;case 58:f=1+Gf(T),h=p;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&Nze()==125)continue}switch(T+=UC(v),v*g){case 38:m=c>0?1:(T+="\f",-1);break;case 44:s[u++]=(Gf(T)-1)*m,m=1;break;case 64:E0()===45&&(T+=g6(Dc())),d=E0(),c=f=Gf(w=T+=vfe(yS())),v++;break;case 45:p===45&&Gf(T)==2&&(g=0)}}return a}function uae(e,t,n,r,i,a,o,s,l,u,c){for(var f=i-1,d=i===0?a:[""],h=J6(d),p=0,g=0,b=0;p0?d[m]+" "+v:pr(v,/&\f/g,d[m])))&&(l[b++]=w);return f7(e,t,n,i===0?zC:s,l,u,c)}function qze(e,t,n){return f7(e,t,n,hfe,UC(Fze()),jg(e,2,-2),0)}function cae(e,t,n,r){return f7(e,t,n,u7,jg(e,0,r),jg(e,r+1,-1),r)}function bfe(e,t,n){switch(pfe(e,t)){case 5103:return Rr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Rr+e+e;case 4789:return Vp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Rr+e+Vp+e+Ci+e+e;case 5936:switch(so(e,t+11)){case 114:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Rr+e+Ci+e+e;case 6165:return Rr+e+Ci+"flex-"+e+e;case 5187:return Rr+e+pr(e,/(\w+).+(:[^]+)/,Rr+"box-$1$2"+Ci+"flex-$1$2")+e;case 5443:return Rr+e+Ci+"flex-item-"+pr(e,/flex-|-self/g,"")+(wp(e,/flex-|baseline/)?"":Ci+"grid-row-"+pr(e,/flex-|-self/g,""))+e;case 4675:return Rr+e+Ci+"flex-line-pack"+pr(e,/align-content|flex-|-self/g,"")+e;case 5548:return Rr+e+Ci+pr(e,"shrink","negative")+e;case 5292:return Rr+e+Ci+pr(e,"basis","preferred-size")+e;case 6060:return Rr+"box-"+pr(e,"-grow","")+Rr+e+Ci+pr(e,"grow","positive")+e;case 4554:return Rr+pr(e,/([^-])(transform)/g,"$1"+Rr+"$2")+e;case 6187:return pr(pr(pr(e,/(zoom-|grab)/,Rr+"$1"),/(image-set)/,Rr+"$1"),e,"")+e;case 5495:case 3959:return pr(e,/(image-set\([^]*)/,Rr+"$1$`$1");case 4968:return pr(pr(e,/(.+:)(flex-)?(.*)/,Rr+"box-pack:$3"+Ci+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Rr+e+e;case 4200:if(!wp(e,/flex-|baseline/))return Ci+"grid-column-align"+jg(e,t)+e;break;case 2592:case 3360:return Ci+pr(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,wp(r.props,/grid-\w+-end/)})?~r4(e+(n=n[t].value),"span")?e:Ci+pr(e,"-start","")+e+Ci+"grid-row-span:"+(~r4(n,"span")?wp(n,/\d+/):+wp(n,/\d+/)-+wp(e,/\d+/))+";":Ci+pr(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return wp(r.props,/grid-\w+-start/)})?e:Ci+pr(pr(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return pr(e,/(.+)-inline(.+)/,Rr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Gf(e)-1-t>6)switch(so(e,t+1)){case 109:if(so(e,t+4)!==45)break;case 102:return pr(e,/(.+:)(.+)-([^]+)/,"$1"+Rr+"$2-$3$1"+Vp+(so(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r4(e,"stretch")?bfe(pr(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return pr(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,a,o,s,l,u){return Ci+i+":"+a+u+(o?Ci+i+"-span:"+(s?l:+l-+a)+u:"")+e});case 4949:if(so(e,t+6)===121)return pr(e,":",":"+Rr)+e;break;case 6444:switch(so(e,so(e,14)===45?18:11)){case 120:return pr(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Rr+(so(e,14)===45?"inline-":"")+"box$3$1"+Rr+"$2$3$1"+Ci+"$2box$3")+e;case 100:return pr(e,":",":"+Ci)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return pr(e,"scroll-","scroll-snap-")+e}return e}function x0(e,t){for(var n="",r=J6(e),i=0;i-1&&!e.return)switch(e.type){case u7:e.return=bfe(e.value,e.length,n);return;case RN:return x0([c0(e,{value:pr(e.value,"@","@"+Rr)})],r);case zC:if(e.length)return MN(e.props,function(i){switch(wp(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x0([c0(e,{props:[pr(i,/:(read-\w+)/,":"+Vp+"$1")]})],r);case"::placeholder":return x0([c0(e,{props:[pr(i,/:(plac\w+)/,":"+Rr+"input-$1")]}),c0(e,{props:[pr(i,/:(plac\w+)/,":"+Vp+"$1")]}),c0(e,{props:[pr(i,/:(plac\w+)/,Ci+"input-$1")]})],r)}return""})}}function Lvt(e){switch(e.type){case zC:e.props=e.props.map(function(t){return MN($ze(t),function(n,r,i){switch(so(n,0)){case 12:return jg(n,1,Gf(n));case 0:case 40:case 43:case 62:case 126:return n;case 58:i[++r]==="global"&&(i[r]="",i[++r]="\f"+jg(i[r],r=1,-1));case 32:return r===1?"":n;default:switch(r){case 0:return e=n,J6(i)>1?"":n;case(r=J6(i)-1):case 2:return r===2?n+e+e:n+e;default:return n}}})})}}const Bvt=Object.freeze(Object.defineProperty({__proto__:null,CHARSET:xvt,COMMENT:hfe,COUNTER_STYLE:Rvt,DECLARATION:u7,DOCUMENT:Tvt,FONT_FACE:Ivt,FONT_FEATURE_VALUES:Mvt,IMPORT:Lze,KEYFRAMES:RN,MEDIA:Evt,MOZ:Vp,MS:Ci,NAMESPACE:Dvt,PAGE:Cvt,RULESET:zC,SUPPORTS:Avt,VIEWPORT:Svt,WEBKIT:Rr,abs:Bze,alloc:ON,append:Av,assign:Pze,caret:yS,char:Fze,get character(){return rs},get characters(){return d3},charat:so,get column(){return E4},combine:MN,comment:qze,commenter:Hze,compile:yfe,copy:c0,dealloc:LN,declaration:cae,delimit:g6,delimiter:xL,escaping:jze,from:UC,hash:pfe,identifier:vfe,indexof:r4,get length(){return mfe},get line(){return c7},match:wp,middleware:Wze,namespace:Lvt,next:Dc,node:f7,parse:bS,peek:E0,get position(){return qu},prefix:bfe,prefixer:Ovt,prev:Nze,replace:pr,ruleset:uae,rulesheet:Gze,serialize:x0,sizeof:J6,slice:jC,stringify:wfe,strlen:Gf,substr:jg,token:x4,tokenize:$ze,tokenizer:Uze,trim:gfe,whitespace:zze},Symbol.toStringTag,{value:"Module"}));function Vze(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Pvt=function(t,n,r){for(var i=0,a=0;i=a,a=E0(),i===38&&a===12&&(n[r]=1),!x4(a);)Dc();return jC(t,qu)},Fvt=function(t,n){var r=-1,i=44;do switch(x4(i)){case 0:i===38&&E0()===12&&(n[r]=1),t[r]+=Pvt(qu-1,n,r);break;case 2:t[r]+=g6(i);break;case 4:if(i===44){t[++r]=E0()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=UC(i)}while(i=Dc());return t},Nvt=function(t,n){return LN(Fvt(ON(t),n))},zye=new WeakMap,$vt=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!zye.get(r))&&!i){zye.set(t,!0);for(var a=[],o=Nvt(n,a),s=r.props,l=0,u=0;l6)switch(so(e,t+1)){case 109:if(so(e,t+4)!==45)break;case 102:return pr(e,/(.+:)(.+)-([^]+)/,"$1"+Rr+"$2-$3$1"+Vp+(so(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~r4(e,"stretch")?Kze(pr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(so(e,t+1)!==115)break;case 6444:switch(so(e,Gf(e)-3-(~r4(e,"!important")&&10))){case 107:return pr(e,":",":"+Rr)+e;case 101:return pr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Rr+(so(e,14)===45?"inline-":"")+"box$3$1"+Rr+"$2$3$1"+Ci+"$2box$3")+e}break;case 5936:switch(so(e,t+11)){case 114:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Rr+e+Ci+pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Rr+e+Ci+e+e}return e}var Uvt=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case u7:t.return=Kze(t.value,t.length);break;case RN:return x0([c0(t,{value:pr(t.value,"@","@"+Rr)})],i);case zC:if(t.length)return MN(t.props,function(a){switch(wp(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return x0([c0(t,{props:[pr(a,/:(read-\w+)/,":"+Vp+"$1")]})],i);case"::placeholder":return x0([c0(t,{props:[pr(a,/:(plac\w+)/,":"+Rr+"input-$1")]}),c0(t,{props:[pr(a,/:(plac\w+)/,":"+Vp+"$1")]}),c0(t,{props:[pr(a,/:(plac\w+)/,Ci+"input-$1")]})],i)}return""})}},jvt=[Uvt],Yze=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||jvt,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),m=1;m=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 Wvt={animationIterationCount: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},Gvt=/[A-Z]|^ms/g,Vvt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zze=function(t){return t.charCodeAt(1)===45},Uye=function(t){return t!=null&&typeof t!="boolean"},iq=Vze(function(e){return Zze(e)?e:e.replace(Gvt,"-$&").toLowerCase()}),jye=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Vvt,function(r,i,a){return Cp={name:i,styles:a,next:Cp},i})}return Wvt[t]!==1&&!Zze(t)&&typeof n=="number"&&n!==0?n+"px":n};function TA(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Cp={name:n.name,styles:n.styles,next:Cp},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Cp={name:r.name,styles:r.styles,next:Cp},r=r.next;var i=n.styles+";";return i}return Kvt(e,t,n)}case"function":{if(e!==void 0){var a=Cp,o=n(e);return Cp=a,TA(e,t,o)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function Kvt(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i1&&o+i.length*l+u.length>=f));)i.push(u),o+=u.length,n=n.parentNode;return i.reverse().join(s)}catch{return""}}function a2t(e,t){const n=e,r=[];let i,a,o,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&f2(i))for(a=i.split(/\s+/),l=0;l1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return oUe({host:a,pass:i,path:l,projectId:u,port:o,protocol:n,publicKey:r})}function oUe(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function f2t(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach(a=>{if(!e[a])throw new Nu(`Invalid Sentry Dsn: ${a} missing`)}),!n.match(/^\d+$/))throw new Nu(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!u2t(r))throw new Nu(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new Nu(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function d2t(e){const t=typeof e=="string"?c2t(e):oUe(e);return f2t(t),t}const h2t="Sentry Logger ",SL=["debug","info","warn","error","log","assert","trace"];function sUe(e){if(!("console"in sd))return e();const t=sd.console,n={};SL.forEach(r=>{const i=t[r]&&t[r].__sentry_original__;r in t&&i&&(n[r]=t[r],t[r]=i)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function Gye(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?SL.forEach(n=>{t[n]=(...r)=>{e&&sUe(()=>{sd.console[n](`${h2t}[${n}]:`,...r)})}}):SL.forEach(n=>{t[n]=()=>{}}),t}let Vn;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Vn=Afe("logger",Gye):Vn=Gye();function wS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Vye(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rp2t(e,r,n))}function zu(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);if(typeof i=="function")try{lUe(i,r)}catch{}e[t]=i}function Dfe(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function lUe(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,Dfe(e,"__sentry_original__",t)}function Ife(e){return e.__sentry_original__}function g2t(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function uUe(e){if(nUe(e))return{message:e.message,name:e.name,stack:e.stack,...Yye(e)};if(xfe(e)){const t={type:e.type,target:Kye(e.target),currentTarget:Kye(e.currentTarget),...Yye(e)};return typeof CustomEvent<"u"&&r1(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Kye(e){try{return t2t(e)?Q6(e):Object.prototype.toString.call(e)}catch{return""}}function Yye(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function m2t(e,t=40){const n=Object.keys(uUe(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return wS(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:wS(i,t)}return""}function qv(e){return fae(e,new Map)}function fae(e,t){if(Z6(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=fae(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(fae(i,t))}),r}return e}const v2t=50,Xye=/\(error: (.*)\)/;function cUe(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[];for(const a of n.split(` +`).slice(r)){if(a.length>1024)continue;const o=Xye.test(a)?a.replace(Xye,"$1"):a;for(const s of t){const l=s(o);if(l){i.push(l);break}}}return b2t(i)}}function y2t(e){return Array.isArray(e)?cUe(...e):e}function b2t(e){if(!e.length)return[];let t=e;const n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,v2t).map(i=>({...i,filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}const aq="";function d2(e){try{return!e||typeof e!="function"?aq:e.name||aq}catch{return aq}}const Gb=PN();function fUe(){if(!("fetch"in Gb))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function dae(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function w2t(){if(!fUe())return!1;if(dae(Gb.fetch))return!0;let e=!1;const t=Gb.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=dae(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function k2t(){const e=Gb.chrome,t=e&&e.app&&e.app.runtime,n="history"in Gb&&!!Gb.history.pushState&&!!Gb.history.replaceState;return!t&&n}const is=PN(),kS={},Jye={};function _2t(e){if(!Jye[e])switch(Jye[e]=!0,e){case"console":C2t();break;case"dom":M2t();break;case"xhr":A2t();break;case"fetch":E2t();break;case"history":T2t();break;case"error":O2t();break;case"unhandledrejection":L2t();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("unknown instrumentation type:",e);return}}function Yf(e,t){kS[e]=kS[e]||[],kS[e].push(t),_2t(e)}function S0(e,t){if(!(!e||!kS[e]))for(const n of kS[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${d2(n)} -Error:`,r)}}function _2t(){"console"in is&&SL.forEach(function(e){e in is.console&&zu(is.console,e,function(t){return function(...n){S0("console",{args:n,level:e}),t&&t.apply(is.console,n)}})})}function C2t(){b2t()&&zu(is,"fetch",function(e){return function(...t){const n={args:t,fetchData:{method:E2t(t),url:x2t(t)},startTimestamp:Date.now()};return S0("fetch",{...n}),e.apply(is,t).then(r=>(S0("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw S0("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function E2t(e=[]){return"Request"in is&&r1(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function x2t(e=[]){return typeof e[0]=="string"?e[0]:"Request"in is&&r1(e[0],Request)?e[0].url:String(e[0])}function S2t(){if(!("XMLHttpRequest"in is))return;const e=XMLHttpRequest.prototype;zu(e,"open",function(t){return function(...n){const r=this,i=n[1],a=r.__sentry_xhr__={method:f2(n[0])?n[0].toUpperCase():n[0],url:n[1]};f2(i)&&a.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const o=function(){if(r.readyState===4){try{a.status_code=r.status}catch{}S0("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?zu(r,"onreadystatechange",function(s){return function(...l){return o(),s.apply(r,l)}}):r.addEventListener("readystatechange",o),t.apply(r,n)}}),zu(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),S0("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let FD;function A2t(){if(!w2t())return;const e=is.onpopstate;is.onpopstate=function(...n){const r=is.location.href,i=FD;if(FD=r,S0("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=FD,o=String(i);FD=o,S0("history",{from:a,to:o})}return n.apply(this,r)}}zu(is.history,"pushState",t),zu(is.history,"replaceState",t)}const T2t=1e3;let ND,$D;function D2t(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function I2t(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Zye(e,t=!1){return n=>{if(!n||$D===n||I2t(n))return;const r=n.type==="keypress"?"input":n.type;ND===void 0?(e({event:n,name:r,global:t}),$D=n):D2t($D,n)&&(e({event:n,name:r,global:t}),$D=n),clearTimeout(ND),ND=is.setTimeout(()=>{ND=void 0},T2t)}}function R2t(){if(!("document"in is))return;const e=S0.bind(null,"dom"),t=Zye(e,!0);is.document.addEventListener("click",t,!1),is.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=is[n]&&is[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(zu(r,"addEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[a]=u[a]||{refCount:0};if(!c.handler){const f=Zye(e);c.handler=f,i.call(this,a,f,s)}c.refCount++}catch{}return i.call(this,a,o,s)}}),zu(r,"removeEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete u[a]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,o,s)}}))})}let oq=null;function M2t(){oq=is.onerror,is.onerror=function(e,t,n,r,i){return S0("error",{column:r,error:i,line:n,msg:e,url:t}),oq?oq.apply(this,arguments):!1}}let sq=null;function O2t(){sq=is.onunhandledrejection,is.onunhandledrejection=function(e){return S0("unhandledrejection",e),sq?sq.apply(this,arguments):!0}}function L2t(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;at.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function dUe(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Vb(e){const{message:t,event_id:n}=e;if(t)return t;const r=dUe(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function hae(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function DA(e,t){const n=dUe(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const a={...i&&i.data,...t.data};n.mechanism.data=a}}function Qye(e){if(e&&e.__sentry_captured__)return!0;try{Dfe(e,"__sentry_captured__",!0)}catch{}return!1}function hUe(e){return Array.isArray(e)?e:[e]}function B2t(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function P2t(){return"npm"}function Rfe(){return!B2t()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Tv(e,t){return e.require(t)}function F2t(e){let t;try{t=Tv(module,e)}catch{}try{const{cwd:n}=Tv(module,"process");t=Tv(module,`${n()}/node_modules/${e}`)}catch{}return t}function uv(e,t=1/0,n=1/0){try{return pae("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function pUe(e,t=3,n=100*1024){const r=uv(e,t);return U2t(r)>n?pUe(e,t-1,n):r}function pae(e,t,n=1/0,r=1/0,i=L2t()){const[a,o]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!aUe(t))return t;const s=N2t(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;let l=n;if(typeof t.__sentry_override_normalization_depth__=="number"&&(l=t.__sentry_override_normalization_depth__),l===0)return s.replace("object ","");if(a(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const h=u.toJSON();return pae("",h,l-1,r,i)}catch{}const c=Array.isArray(t)?[]:{};let f=0;const d=uUe(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(f>=r){c[h]="[MaxProperties ~]";break}const p=d[h];c[h]=pae(h,p,l-1,r,i),f++}return o(t),c}function N2t(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":n2t(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${d2(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${$2t(t)}]`}catch(n){return`**non-serializable** (${n})`}}function $2t(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function z2t(e){return~-encodeURI(e).split(/%..|./).length}function U2t(e){return z2t(JSON.stringify(e))}var ug;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(ug||(ug={}));function S4(e){return new pc(t=>{t(e)})}function AL(e){return new pc((t,n)=>{n(e)})}class pc{__init(){this._state=ug.PENDING}__init2(){this._handlers=[]}constructor(t){pc.prototype.__init.call(this),pc.prototype.__init2.call(this),pc.prototype.__init3.call(this),pc.prototype.__init4.call(this),pc.prototype.__init5.call(this),pc.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new pc((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(o){i(o)}},a=>{if(!n)i(a);else try{r(n(a))}catch(o){i(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new pc((n,r)=>{let i,a;return this.then(o=>{a=!1,i=o,t&&t()},o=>{a=!0,i=o,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(ug.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(ug.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===ug.PENDING){if(Sfe(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===ug.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===ug.RESOLVED&&n[1](this._value),this._state===ug.REJECTED&&n[2](this._value),n[0]=!0)})}}}function j2t(e){const t=[];function n(){return e===void 0||t.lengthr(s)).then(null,()=>r(s).then(null,()=>{})),s}function a(o){return new pc((s,l)=>{let u=t.length;if(!u)return s(!0);const c=setTimeout(()=>{o&&o>0&&s(!1)},o);t.forEach(f=>{S4(f).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:i,drain:a}}function lq(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}const H2t=["fatal","error","warning","log","info","debug"];function q2t(e){return e==="warn"?"warning":H2t.includes(e)?e:"log"}const gUe=PN(),gae={nowSeconds:()=>Date.now()/1e3};function W2t(){const{performance:e}=gUe;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function G2t(){try{return Tv(module,"perf_hooks").performance}catch{return}}const uq=Rfe()?G2t():W2t(),ebe=uq===void 0?gae:{nowSeconds:()=>(uq.timeOrigin+uq.now())/1e3},NN=gae.nowSeconds.bind(gae),Mfe=ebe.nowSeconds.bind(ebe),IA=Mfe,e_=(()=>{const{performance:e}=gUe;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=i(S0("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw S0("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function x2t(e=[]){return"Request"in is&&r1(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function S2t(e=[]){return typeof e[0]=="string"?e[0]:"Request"in is&&r1(e[0],Request)?e[0].url:String(e[0])}function A2t(){if(!("XMLHttpRequest"in is))return;const e=XMLHttpRequest.prototype;zu(e,"open",function(t){return function(...n){const r=this,i=n[1],a=r.__sentry_xhr__={method:f2(n[0])?n[0].toUpperCase():n[0],url:n[1]};f2(i)&&a.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const o=function(){if(r.readyState===4){try{a.status_code=r.status}catch{}S0("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?zu(r,"onreadystatechange",function(s){return function(...l){return o(),s.apply(r,l)}}):r.addEventListener("readystatechange",o),t.apply(r,n)}}),zu(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),S0("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}let FD;function T2t(){if(!k2t())return;const e=is.onpopstate;is.onpopstate=function(...n){const r=is.location.href,i=FD;if(FD=r,S0("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const a=FD,o=String(i);FD=o,S0("history",{from:a,to:o})}return n.apply(this,r)}}zu(is.history,"pushState",t),zu(is.history,"replaceState",t)}const D2t=1e3;let ND,$D;function I2t(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function R2t(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Zye(e,t=!1){return n=>{if(!n||$D===n||R2t(n))return;const r=n.type==="keypress"?"input":n.type;ND===void 0?(e({event:n,name:r,global:t}),$D=n):I2t($D,n)&&(e({event:n,name:r,global:t}),$D=n),clearTimeout(ND),ND=is.setTimeout(()=>{ND=void 0},D2t)}}function M2t(){if(!("document"in is))return;const e=S0.bind(null,"dom"),t=Zye(e,!0);is.document.addEventListener("click",t,!1),is.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=is[n]&&is[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(zu(r,"addEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[a]=u[a]||{refCount:0};if(!c.handler){const f=Zye(e);c.handler=f,i.call(this,a,f,s)}c.refCount++}catch{}return i.call(this,a,o,s)}}),zu(r,"removeEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,s),c.handler=void 0,delete u[a]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,o,s)}}))})}let oq=null;function O2t(){oq=is.onerror,is.onerror=function(e,t,n,r,i){return S0("error",{column:r,error:i,line:n,msg:e,url:t}),oq?oq.apply(this,arguments):!1}}let sq=null;function L2t(){sq=is.onunhandledrejection,is.onunhandledrejection=function(e){return S0("unhandledrejection",e),sq?sq.apply(this,arguments):!0}}function B2t(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;at.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function dUe(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Vb(e){const{message:t,event_id:n}=e;if(t)return t;const r=dUe(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function hae(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function DA(e,t){const n=dUe(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const a={...i&&i.data,...t.data};n.mechanism.data=a}}function Qye(e){if(e&&e.__sentry_captured__)return!0;try{Dfe(e,"__sentry_captured__",!0)}catch{}return!1}function hUe(e){return Array.isArray(e)?e:[e]}function P2t(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function F2t(){return"npm"}function Rfe(){return!P2t()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Tv(e,t){return e.require(t)}function N2t(e){let t;try{t=Tv(module,e)}catch{}try{const{cwd:n}=Tv(module,"process");t=Tv(module,`${n()}/node_modules/${e}`)}catch{}return t}function uv(e,t=1/0,n=1/0){try{return pae("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function pUe(e,t=3,n=100*1024){const r=uv(e,t);return j2t(r)>n?pUe(e,t-1,n):r}function pae(e,t,n=1/0,r=1/0,i=B2t()){const[a,o]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!aUe(t))return t;const s=$2t(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;let l=n;if(typeof t.__sentry_override_normalization_depth__=="number"&&(l=t.__sentry_override_normalization_depth__),l===0)return s.replace("object ","");if(a(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const h=u.toJSON();return pae("",h,l-1,r,i)}catch{}const c=Array.isArray(t)?[]:{};let f=0;const d=uUe(t);for(const h in d){if(!Object.prototype.hasOwnProperty.call(d,h))continue;if(f>=r){c[h]="[MaxProperties ~]";break}const p=d[h];c[h]=pae(h,p,l-1,r,i),f++}return o(t),c}function $2t(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":r2t(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${d2(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${z2t(t)}]`}catch(n){return`**non-serializable** (${n})`}}function z2t(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function U2t(e){return~-encodeURI(e).split(/%..|./).length}function j2t(e){return U2t(JSON.stringify(e))}var ug;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(ug||(ug={}));function S4(e){return new pc(t=>{t(e)})}function AL(e){return new pc((t,n)=>{n(e)})}class pc{__init(){this._state=ug.PENDING}__init2(){this._handlers=[]}constructor(t){pc.prototype.__init.call(this),pc.prototype.__init2.call(this),pc.prototype.__init3.call(this),pc.prototype.__init4.call(this),pc.prototype.__init5.call(this),pc.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new pc((r,i)=>{this._handlers.push([!1,a=>{if(!t)r(a);else try{r(t(a))}catch(o){i(o)}},a=>{if(!n)i(a);else try{r(n(a))}catch(o){i(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new pc((n,r)=>{let i,a;return this.then(o=>{a=!1,i=o,t&&t()},o=>{a=!0,i=o,t&&t()}).then(()=>{if(a){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(ug.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(ug.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===ug.PENDING){if(Sfe(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===ug.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===ug.RESOLVED&&n[1](this._value),this._state===ug.REJECTED&&n[2](this._value),n[0]=!0)})}}}function H2t(e){const t=[];function n(){return e===void 0||t.lengthr(s)).then(null,()=>r(s).then(null,()=>{})),s}function a(o){return new pc((s,l)=>{let u=t.length;if(!u)return s(!0);const c=setTimeout(()=>{o&&o>0&&s(!1)},o);t.forEach(f=>{S4(f).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:i,drain:a}}function lq(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}const q2t=["fatal","error","warning","log","info","debug"];function W2t(e){return e==="warn"?"warning":q2t.includes(e)?e:"log"}const gUe=PN(),gae={nowSeconds:()=>Date.now()/1e3};function G2t(){const{performance:e}=gUe;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function V2t(){try{return Tv(module,"perf_hooks").performance}catch{return}}const uq=Rfe()?V2t():G2t(),ebe=uq===void 0?gae:{nowSeconds:()=>(uq.timeOrigin+uq.now())/1e3},NN=gae.nowSeconds.bind(gae),Mfe=ebe.nowSeconds.bind(ebe),IA=Mfe,e_=(()=>{const{performance:e}=gUe;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,a=ii+a.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function J2t(e,t){const n=typeof e.data=="string"?mae(e.data,t):e.data;return[qv({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const Z2t={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function nbe(e){return Z2t[e]}function vUe(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Q2t(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:Tfe(r)},...e.type==="transaction"&&i&&{trace:qv({...i})}}}function eyt(e,t,n){const r=[{type:"client_report"},{timestamp:n||NN(),discarded_events:e}];return $N(t?{dsn:t}:{},[r])}const tyt=60*1e3;function nyt(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?tyt:r-t}function ryt(e,t){return e[t]||e.all||0}function iyt(e,t,n=Date.now()){return ryt(e,t)>n}function ayt(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(const s of a.trim().split(",")){const[l,u]=s.split(":",2),c=parseInt(l,10),f=(isNaN(c)?60:c)*1e3;if(!u)i.all=r+f;else for(const d of u.split(";"))i[d]=r+f}else o?i.all=r+nyt(o,r):t===429&&(i.all=r+60*1e3);return i}const vae="baggage",yUe="sentry-",oyt=/^sentry-/,syt=8192;function lyt(e){if(!f2(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((r,i)=>{const a=rbe(i);return{...r,...a}},{});else{if(!e)return;t=rbe(e)}const n=Object.entries(t).reduce((r,[i,a])=>{if(i.match(oyt)){const o=i.slice(yUe.length);r[o]=a}return r},{});if(Object.keys(n).length>0)return n}function bUe(e){const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${yUe}${r}`]=i),n),{});return uyt(t)}function rbe(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function uyt(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=i===0?a:`${t},${a}`;return o.length>syt?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const Ofe="production";function cyt(e){const t=Mfe(),n={sid:Wv(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>dyt(n)};return e&&t_(n,e),n}function t_(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Mfe(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Wv()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function fyt(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),t_(e,n)}function dyt(e){return qv({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const hyt=100;class Gv{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const n=new Gv;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&t_(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof Gv?n:this}return t instanceof Gv?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Z6(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){const r=typeof n=="number"?n:hyt;if(r<=0)return this;const i={timestamp:NN(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction&&this._span.transaction.name;r&&(t.tags={transaction:r,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...wUe(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new pc((a,o)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&Vn.log(`Event processor "${s.id}" dropped event`),Sfe(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(a)).then(null,o):this._notifyEventProcessors(t,l,r,i+1).then(a).then(null,o)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?hUe(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function wUe(){return Afe("globalEventProcessors",()=>[])}function Lfe(e){wUe().push(e)}const Bfe=4,pyt=100;class h7{__init(){this._stack=[{}]}constructor(t,n=new Gv,r=Bfe){this._version=r,h7.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},o)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Wv(),a=new Error(t);return this._withClient((o,s)=>{o.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Wv();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:o=pyt}=i.getOptions&&i.getOptions()||{};if(o<=0)return;const l={timestamp:NN(),...t},u=a?sUe(()=>a(l,n)):l;u!==null&&r.addBreadcrumb(u,o)}setUser(t){const n=this.getScope();n&&n.setUser(t)}setTags(t){const n=this.getScope();n&&n.setTags(t)}setExtras(t){const n=this.getScope();n&&n.setExtras(t)}setTag(t,n){const r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){const r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){const r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){const n=ibe(this);try{t(this)}finally{ibe(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&fyt(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=Ofe}=r&&r.getOptions()||{},{userAgent:o}=sd.navigator||{},s=cyt({release:i,environment:a,...n&&{user:n.getUser()},...o&&{userAgent:o},...t});if(n){const l=n.getSession&&n.getSession();l&&l.status==="ok"&&t_(l,{status:"exited"}),this.endSession(),n.setSession(s)}return s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!t)return;const r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=qC().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function qC(){return sd.__SENTRY__=sd.__SENTRY__||{extensions:{},hub:void 0},sd}function ibe(e){const t=qC(),n=vv(t);return Pfe(t,e),n}function ss(){const e=qC();return(!kUe(e)||vv(e).isOlderThan(Bfe))&&Pfe(e,new h7),Rfe()?gyt(e):vv(e)}function gyt(e){try{const t=qC().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return vv(e);if(!kUe(n)||vv(n).isOlderThan(Bfe)){const r=vv(e).getStackTop();Pfe(n,new h7(r.client,Gv.clone(r.scope)))}return vv(n)}catch{return vv(e)}}function kUe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function vv(e){return Afe("hub",()=>new h7,e)}function Pfe(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Ffe(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=ss().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class zN{__init(){this.spans=[]}constructor(t=1e3){zN.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}let myt=class nv{__init2(){this.traceId=Wv()}__init3(){this.spanId=Wv().substring(16)}__init4(){this.startTimestamp=IA()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(nv.prototype.__init2.call(this),nv.prototype.__init3.call(this),nv.prototype.__init4.call(this),nv.prototype.__init5.call(this),nv.prototype.__init6.call(this),nv.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const n=new nv({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){const r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",a=n.transaction.spanId,o=`[Tracing] Starting '${r}' span on transaction '${i}' (${a}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:o},Vn.log(o)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const n=vyt(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&Vn.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:IA()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return qv({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return qv({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return qv({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}};function vyt(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class m6 extends myt{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,n){super(t),m6.prototype.__init.call(this),m6.prototype.__init2.call(this),m6.prototype.__init3.call(this),this._hub=n||ss(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const r=this.metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}setName(t,n="custom"){this._name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new zN(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp!==void 0)return;this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Transaction has no name, falling back to ``."),this.name=""),super.finish(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,l)=>s.endTimestamp&&l.endTimestamp?s.endTimestamp>l.endTimestamp?s:l:s).endTimestamp);const i=this.metadata,a={contexts:{...this._contexts,trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:this.getDynamicSamplingContext()},...i.source&&{transaction_info:{source:i.source}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),a.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(a)}toContext(){const t=super.toContext();return qv({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||ss(),n=t&&t.getClient();if(!n)return{};const{environment:r,release:i}=n.getOptions()||{},{publicKey:a}=n.getDsn()||{},o=this.metadata.sampleRate,s=o!==void 0?o.toString():void 0,l=t.getScope(),{segment:u}=l&&l.getUser()||{},c=this.metadata.source,f=c&&c!=="url"?this.name:void 0;return qv({environment:r||Ofe,release:i,transaction:f,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s})}}const nO={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class yyt extends zN{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:IA(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class Bb extends m6{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}constructor(t,n,r=nO.idleTimeout,i=nO.finalTimeout,a=nO.heartbeatInterval,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=o,Bb.prototype.__init.call(this),Bb.prototype.__init2.call(this),Bb.prototype.__init3.call(this),Bb.prototype.__init4.call(this),Bb.prototype.__init5.call(this),o&&(abe(n),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=IA()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanId===this.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const r=n.startTimestamp"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] No active IdleTransaction");return this._onScope&&abe(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new yyt(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,this._idleTimeoutCanceledPermanently=n===!1,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&this.finish(t))}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=IA();this._idleTimeoutCanceledPermanently?this.finish(n):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function abe(e){const t=e.getScope();t&&t.getTransaction()&&t.setSpan(void 0)}function byt(){const e=this.getScope();if(e){const t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function _Ue(e,t,n){if(!Ffe(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),wyt(r)?r?(e.sampled=Math.random()"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function wyt(e){return aUe(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function kyt(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. -The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let o=new m6(e,this);return o=_Ue(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",o),o}function obe(e,t,n,r,i,a,o){const s=e.getClient(),l=s&&s.getOptions()||{};let u=new Bb(t,e,n,r,o,i);return u=_Ue(u,l,{parentSampled:t.parentSampled,transactionContext:t,...a}),u.sampled&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",u),u}function _yt(){const e=qC();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=kyt),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=byt))}function UN(e){const n=(e||ss()).getScope();return n&&n.getTransaction()}function Cyt(e,t){return ss().captureException(e,{captureContext:t})}function Eyt(e){ss().withScope(e)}const xyt="7";function Syt(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Ayt(e){return`${Syt(e)}${e.projectId}/envelope/`}function Tyt(e,t){return p2t({sentry_key:e.publicKey,sentry_version:xyt,...t&&{sentry_client:`${t.name}/${t.version}`}})}function CUe(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${Ayt(e)}?${Tyt(e,r)}`}function Dyt(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Iyt(e,t,n,r){const i=vUe(n),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:Tfe(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return $N(a,[o])}function Ryt(e,t,n,r){const i=vUe(n),a=e.type&&e.type!=="replay_event"?e.type:"event";Dyt(e,n&&n.sdk);const o=Q2t(e,i,r,t);return delete e.sdkProcessingMetadata,$N(o,[[{type:a},e]])}const sbe=[];function Myt(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function Oyt(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=hUe(n(t)):r=t;const i=Myt(r),a=Byt(i,o=>o.name==="Debug");if(a!==-1){const[o]=i.splice(a,1);i.push(o)}return i}function Lyt(e){const t={};return e.forEach(n=>{n&&EUe(n,t)}),t}function EUe(e,t){t[e.name]=e,sbe.indexOf(e.name)===-1&&(e.setupOnce(Lfe,ss),sbe.push(e.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Integration installed: ${e.name}`))}function Byt(e,t){for(let n=0;nc.name);Fyt(o,e),$yt(o,s),Nyt(o,e.stackParser);let l=r;n.captureContext&&(l=Gv.clone(l).update(n.captureContext));let u=S4(o);if(l){if(l.getAttachments){const c=[...n.attachments||[],...l.getAttachments()];c.length&&(n.attachments=c)}u=l.applyToEvent(o,n)}return u.then(c=>typeof i=="number"&&i>0?zyt(c,i,a):c)}function Fyt(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:Ofe),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=wS(e.message,a));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=wS(o.value,a));const s=e.request;s&&s.url&&(s.url=wS(s.url,a))}function Nyt(e,t){const n=sd._sentryDebugIds;if(!n)return;const r=Object.keys(n).reduce((o,s)=>{const l=t(s);for(const u of l)if(u.abs_path){o[u.abs_path]=n[s];break}return o},{}),i=new Set;try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(s=>{s.abs_path&&i.add(s.abs_path)})})}catch{}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const a=e.debug_meta.images;i.forEach(o=>{r[o]&&a.push({type:"sourcemap",code_file:o,debug_id:r[o]})})}function $yt(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function zyt(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:uv(i.data,t,n)}}))},...e.user&&{user:uv(e.user,t,n)},...e.contexts&&{contexts:uv(e.contexts,t,n)},...e.extra&&{extra:uv(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=uv(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=uv(i.data,t,n)),i))),r}const lbe="Not capturing exception because it's already been captured.";class Pb{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(Pb.prototype.__init.call(this),Pb.prototype.__init2.call(this),Pb.prototype.__init3.call(this),Pb.prototype.__init4.call(this),Pb.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=f2t(t.dsn);const n=CUe(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(Qye(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(lbe);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(a=>this._captureEvent(a,n,r)).then(a=>{i=a})),i}captureMessage(t,n,r,i){let a=r&&r.event_id;const o=iUe(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(o.then(s=>this._captureEvent(s,r,i)).then(s=>{a=s})),a}captureEvent(t,n,r){if(n&&n.originalException&&Qye(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(lbe);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(a=>{i=a})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),t_(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):S4(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=Lyt(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){EUe(t,this._integrations)}sendEvent(t,n={}){if(this._dsn){let r=Ryt(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=Y2t(r,J2t(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(t){if(this._dsn){const n=Iyt(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_updateSessionFromEvent(t,n){let r=!1,i=!1;const a=n.exception&&n.exception.values;if(a){i=!0;for(const l of a){const u=l.mechanism;if(u&&u.handled===!1){r=!0;break}}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(t_(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new pc(n=>{let r=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),n(!0)):(r+=i,t&&r>=t&&(clearInterval(a),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const i=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a.length>0&&(n.integrations=a),Pyt(i,t,n,r)}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const a=i;a.logLevel==="log"?Vn.log(a.message):Vn.warn(a)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:a}=i;if(!this._isEnabled())return AL(new Nu("SDK not enabled, will not capture event.","log"));const o=SUe(t),s=xUe(t),l=t.type||"error",u=`before send for type \`${l}\``;if(s&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",t),AL(new Nu(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const c=l==="replay_event"?"replay":l;return this._prepareEvent(t,n,r).then(f=>{if(f===null)throw this.recordDroppedEvent("event_processor",c,t),new Nu("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return f;const h=jyt(i,f,n);return Uyt(h,u)}).then(f=>{if(f===null)throw this.recordDroppedEvent("before_send",c,t),new Nu(`${u} returned \`null\`, will not send event.`,"log");const d=r&&r.getSession();!o&&d&&this._updateSessionFromEvent(d,f);const h=f.transaction_info;if(o&&h&&f.transaction!==t.transaction){const p="custom";f.transaction_info={...h,source:p}}return this.sendEvent(f,n),f}).then(null,f=>{throw f instanceof Nu?f:(this.captureException(f,{data:{__sentry__:!0},originalException:f}),new Nu(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${f}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function Uyt(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Sfe(e))return e.then(r=>{if(!Z6(r)&&r!==null)throw new Nu(n);return r},r=>{throw new Nu(`${t} rejected with ${r}`)});if(!Z6(e)&&e!==null)throw new Nu(n);return e}function jyt(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;return xUe(t)&&r?r(t,n):SUe(t)&&i?i(t,n):t}function xUe(e){return e.type===void 0}function SUe(e){return e.type==="transaction"}function Hyt(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Vn.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=ss(),r=n.getScope();r&&r.update(t.initialScope);const i=new e(t);n.bindClient(i)}const qyt=30;function AUe(e,t,n=j2t(e.bufferSize||qyt)){let r={};const i=o=>n.drain(o);function a(o){const s=[];if(tbe(o,(f,d)=>{const h=nbe(d);if(iyt(r,h)){const p=ube(f,d);e.recordDroppedEvent("ratelimit_backoff",h,p)}else s.push(f)}),s.length===0)return S4();const l=$N(o[0],s),u=f=>{tbe(l,(d,h)=>{const p=ube(d,h);e.recordDroppedEvent(f,nbe(h),p)})},c=()=>t({body:mUe(l,e.textEncoder)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=ayt(r,f),f),f=>{throw u("network_error"),f});return n.add(c).then(f=>f,f=>{if(f instanceof Nu)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Skipped sending event because buffer is full."),u("queue_overflow"),S4();throw f})}return{send:a,flush:i}}function ube(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const TL="7.43.0";let cbe;class RA{constructor(){RA.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=RA.id}setupOnce(){cbe=Function.prototype.toString,Function.prototype.toString=function(...t){const n=Ife(this)||this;return cbe.apply(n,t)}}}RA.__initStatic();const Wyt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class v6{static __initStatic(){this.id="InboundFilters"}__init(){this.name=v6.id}constructor(t={}){this._options=t,v6.prototype.__init.call(this)}setupOnce(t,n){const r=i=>{const a=n();if(a){const o=a.getIntegration(v6);if(o){const s=a.getClient(),l=s?s.getOptions():{},u=Gyt(o._options,l);return Vyt(i,u)?null:i}}return i};r.id=this.name,t(r)}}v6.__initStatic();function Gyt(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...Wyt],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Vyt(e,t){return t.ignoreInternal&&Zyt(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being internal Sentry Error. -Event: ${Vb(e)}`),!0):Kyt(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being matched by \`ignoreErrors\` option. -Event: ${Vb(e)}`),!0):Yyt(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being matched by \`denyUrls\` option. +`),typeof l=="string"||l instanceof Uint8Array)a(l);else{let u;try{u=JSON.stringify(l)}catch{u=JSON.stringify(uv(l))}a(u)}}return typeof i=="string"?i:J2t(i)}function J2t(e){const t=e.reduce((i,a)=>i+a.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function Z2t(e,t){const n=typeof e.data=="string"?mae(e.data,t):e.data;return[qv({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const Q2t={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function nbe(e){return Q2t[e]}function vUe(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function eyt(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:Tfe(r)},...e.type==="transaction"&&i&&{trace:qv({...i})}}}function tyt(e,t,n){const r=[{type:"client_report"},{timestamp:n||NN(),discarded_events:e}];return $N(t?{dsn:t}:{},[r])}const nyt=60*1e3;function ryt(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?nyt:r-t}function iyt(e,t){return e[t]||e.all||0}function ayt(e,t,n=Date.now()){return iyt(e,t)>n}function oyt(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(const s of a.trim().split(",")){const[l,u]=s.split(":",2),c=parseInt(l,10),f=(isNaN(c)?60:c)*1e3;if(!u)i.all=r+f;else for(const d of u.split(";"))i[d]=r+f}else o?i.all=r+ryt(o,r):t===429&&(i.all=r+60*1e3);return i}const vae="baggage",yUe="sentry-",syt=/^sentry-/,lyt=8192;function uyt(e){if(!f2(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((r,i)=>{const a=rbe(i);return{...r,...a}},{});else{if(!e)return;t=rbe(e)}const n=Object.entries(t).reduce((r,[i,a])=>{if(i.match(syt)){const o=i.slice(yUe.length);r[o]=a}return r},{});if(Object.keys(n).length>0)return n}function bUe(e){const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${yUe}${r}`]=i),n),{});return cyt(t)}function rbe(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function cyt(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=i===0?a:`${t},${a}`;return o.length>lyt?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const Ofe="production";function fyt(e){const t=Mfe(),n={sid:Wv(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>hyt(n)};return e&&t_(n,e),n}function t_(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Mfe(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Wv()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function dyt(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),t_(e,n)}function hyt(e){return qv({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const pyt=100;class Gv{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const n=new Gv;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments],n._sdkProcessingMetadata={...t._sdkProcessingMetadata}),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&t_(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const n=t(this);return n instanceof Gv?n:this}return t instanceof Gv?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Z6(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){const r=typeof n=="number"?n:pyt;if(r<=0)return this;const i={timestamp:NN(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-r),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const r=this._span.transaction&&this._span.transaction.name;r&&(t.tags={transaction:r,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...wUe(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new pc((a,o)=>{const s=t[i];if(n===null||typeof s!="function")a(n);else{const l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&Vn.log(`Event processor "${s.id}" dropped event`),Sfe(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(a)).then(null,o):this._notifyEventProcessors(t,l,r,i+1).then(a).then(null,o)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?hUe(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function wUe(){return Afe("globalEventProcessors",()=>[])}function Lfe(e){wUe().push(e)}const Bfe=4,gyt=100;class h7{__init(){this._stack=[{}]}constructor(t,n=new Gv,r=Bfe){this._version=r,h7.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},o)}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Wv(),a=new Error(t);return this._withClient((o,s)=>{o.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},s)}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Wv();return t.type||(this._lastEventId=r),this._withClient((i,a)=>{i.captureEvent(t,{...n,event_id:r},a)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:o=gyt}=i.getOptions&&i.getOptions()||{};if(o<=0)return;const l={timestamp:NN(),...t},u=a?sUe(()=>a(l,n)):l;u!==null&&r.addBreadcrumb(u,o)}setUser(t){const n=this.getScope();n&&n.setUser(t)}setTags(t){const n=this.getScope();n&&n.setTags(t)}setExtras(t){const n=this.getScope();n&&n.setExtras(t)}setTag(t,n){const r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){const r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){const r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){const n=ibe(this);try{t(this)}finally{ibe(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&dyt(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:a=Ofe}=r&&r.getOptions()||{},{userAgent:o}=sd.navigator||{},s=fyt({release:i,environment:a,...n&&{user:n.getUser()},...o&&{userAgent:o},...t});if(n){const l=n.getSession&&n.getSession();l&&l.status==="ok"&&t_(l,{status:"exited"}),this.endSession(),n.setSession(s)}return s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!t)return;const r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){const i=qC().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function qC(){return sd.__SENTRY__=sd.__SENTRY__||{extensions:{},hub:void 0},sd}function ibe(e){const t=qC(),n=vv(t);return Pfe(t,e),n}function ss(){const e=qC();return(!kUe(e)||vv(e).isOlderThan(Bfe))&&Pfe(e,new h7),Rfe()?myt(e):vv(e)}function myt(e){try{const t=qC().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return vv(e);if(!kUe(n)||vv(n).isOlderThan(Bfe)){const r=vv(e).getStackTop();Pfe(n,new h7(r.client,Gv.clone(r.scope)))}return vv(n)}catch{return vv(e)}}function kUe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function vv(e){return Afe("hub",()=>new h7,e)}function Pfe(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function Ffe(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=ss().getClient(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class zN{__init(){this.spans=[]}constructor(t=1e3){zN.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}let vyt=class nv{__init2(){this.traceId=Wv()}__init3(){this.spanId=Wv().substring(16)}__init4(){this.startTimestamp=IA()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(nv.prototype.__init2.call(this),nv.prototype.__init3.call(this),nv.prototype.__init4.call(this),nv.prototype.__init5.call(this),nv.prototype.__init6.call(this),nv.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const n=new nv({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){const r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",a=n.transaction.spanId,o=`[Tracing] Starting '${r}' span on transaction '${i}' (${a}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:o},Vn.log(o)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const n=yyt(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&Vn.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:IA()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return qv({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return qv({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return qv({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}};function yyt(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class m6 extends vyt{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,n){super(t),m6.prototype.__init.call(this),m6.prototype.__init2.call(this),m6.prototype.__init3.call(this),this._hub=n||ss(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const r=this.metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}setName(t,n="custom"){this._name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new zN(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp!==void 0)return;this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Transaction has no name, falling back to ``."),this.name=""),super.finish(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,l)=>s.endTimestamp&&l.endTimestamp?s.endTimestamp>l.endTimestamp?s:l:s).endTimestamp);const i=this.metadata,a={contexts:{...this._contexts,trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,dynamicSamplingContext:this.getDynamicSamplingContext()},...i.source&&{transaction_info:{source:i.source}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),a.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(a)}toContext(){const t=super.toContext();return qv({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||ss(),n=t&&t.getClient();if(!n)return{};const{environment:r,release:i}=n.getOptions()||{},{publicKey:a}=n.getDsn()||{},o=this.metadata.sampleRate,s=o!==void 0?o.toString():void 0,l=t.getScope(),{segment:u}=l&&l.getUser()||{},c=this.metadata.source,f=c&&c!=="url"?this.name:void 0;return qv({environment:r||Ofe,release:i,transaction:f,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s})}}const nO={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class byt extends zN{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:IA(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class Bb extends m6{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}constructor(t,n,r=nO.idleTimeout,i=nO.finalTimeout,a=nO.heartbeatInterval,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=o,Bb.prototype.__init.call(this),Bb.prototype.__init2.call(this),Bb.prototype.__init3.call(this),Bb.prototype.__init4.call(this),Bb.prototype.__init5.call(this),o&&(abe(n),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=IA()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanId===this.spanId)return!0;n.endTimestamp||(n.endTimestamp=t,n.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const r=n.startTimestamp"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] No active IdleTransaction");return this._onScope&&abe(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new byt(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,this._idleTimeoutCanceledPermanently=n===!1,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&this.finish(t))}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=IA();this._idleTimeoutCanceledPermanently?this.finish(n):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function abe(e){const t=e.getScope();t&&t.getTransaction()&&t.setSpan(void 0)}function wyt(){const e=this.getScope();if(e){const t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function _Ue(e,t,n){if(!Ffe(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({sampleRate:Number(r)})):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setMetadata({sampleRate:Number(r)})):(r=1,e.setMetadata({sampleRate:r})),kyt(r)?r?(e.sampled=Math.random()"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function kyt(e){return aUe(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function _yt(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. +The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let o=new m6(e,this);return o=_Ue(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",o),o}function obe(e,t,n,r,i,a,o){const s=e.getClient(),l=s&&s.getOptions()||{};let u=new Bb(t,e,n,r,o,i);return u=_Ue(u,l,{parentSampled:t.parentSampled,transactionContext:t,...a}),u.sampled&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",u),u}function Cyt(){const e=qC();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=_yt),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=wyt))}function UN(e){const n=(e||ss()).getScope();return n&&n.getTransaction()}function Eyt(e,t){return ss().captureException(e,{captureContext:t})}function xyt(e){ss().withScope(e)}const Syt="7";function Ayt(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function Tyt(e){return`${Ayt(e)}${e.projectId}/envelope/`}function Dyt(e,t){return g2t({sentry_key:e.publicKey,sentry_version:Syt,...t&&{sentry_client:`${t.name}/${t.version}`}})}function CUe(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${Tyt(e)}?${Dyt(e,r)}`}function Iyt(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Ryt(e,t,n,r){const i=vUe(n),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:Tfe(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return $N(a,[o])}function Myt(e,t,n,r){const i=vUe(n),a=e.type&&e.type!=="replay_event"?e.type:"event";Iyt(e,n&&n.sdk);const o=eyt(e,i,r,t);return delete e.sdkProcessingMetadata,$N(o,[[{type:a},e]])}const sbe=[];function Oyt(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function Lyt(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=hUe(n(t)):r=t;const i=Oyt(r),a=Pyt(i,o=>o.name==="Debug");if(a!==-1){const[o]=i.splice(a,1);i.push(o)}return i}function Byt(e){const t={};return e.forEach(n=>{n&&EUe(n,t)}),t}function EUe(e,t){t[e.name]=e,sbe.indexOf(e.name)===-1&&(e.setupOnce(Lfe,ss),sbe.push(e.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Integration installed: ${e.name}`))}function Pyt(e,t){for(let n=0;nc.name);Nyt(o,e),zyt(o,s),$yt(o,e.stackParser);let l=r;n.captureContext&&(l=Gv.clone(l).update(n.captureContext));let u=S4(o);if(l){if(l.getAttachments){const c=[...n.attachments||[],...l.getAttachments()];c.length&&(n.attachments=c)}u=l.applyToEvent(o,n)}return u.then(c=>typeof i=="number"&&i>0?Uyt(c,i,a):c)}function Nyt(e,t){const{environment:n,release:r,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?n:Ofe),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=wS(e.message,a));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=wS(o.value,a));const s=e.request;s&&s.url&&(s.url=wS(s.url,a))}function $yt(e,t){const n=sd._sentryDebugIds;if(!n)return;const r=Object.keys(n).reduce((o,s)=>{const l=t(s);for(const u of l)if(u.abs_path){o[u.abs_path]=n[s];break}return o},{}),i=new Set;try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(s=>{s.abs_path&&i.add(s.abs_path)})})}catch{}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const a=e.debug_meta.images;i.forEach(o=>{r[o]&&a.push({type:"sourcemap",code_file:o,debug_id:r[o]})})}function zyt(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Uyt(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:uv(i.data,t,n)}}))},...e.user&&{user:uv(e.user,t,n)},...e.contexts&&{contexts:uv(e.contexts,t,n)},...e.extra&&{extra:uv(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=uv(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>(i.data&&(i.data=uv(i.data,t,n)),i))),r}const lbe="Not capturing exception because it's already been captured.";class Pb{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(Pb.prototype.__init.call(this),Pb.prototype.__init2.call(this),Pb.prototype.__init3.call(this),Pb.prototype.__init4.call(this),Pb.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=d2t(t.dsn);const n=CUe(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(Qye(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(lbe);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(a=>this._captureEvent(a,n,r)).then(a=>{i=a})),i}captureMessage(t,n,r,i){let a=r&&r.event_id;const o=iUe(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(o.then(s=>this._captureEvent(s,r,i)).then(s=>{a=s})),a}captureEvent(t,n,r){if(n&&n.originalException&&Qye(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(lbe);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(a=>{i=a})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),t_(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i)):S4(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=Byt(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){EUe(t,this._integrations)}sendEvent(t,n={}){if(this._dsn){let r=Myt(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=X2t(r,Z2t(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(t){if(this._dsn){const n=Ryt(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_updateSessionFromEvent(t,n){let r=!1,i=!1;const a=n.exception&&n.exception.values;if(a){i=!0;for(const l of a){const u=l.mechanism;if(u&&u.handled===!1){r=!0;break}}}const o=t.status==="ok";(o&&t.errors===0||o&&r)&&(t_(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new pc(n=>{let r=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),n(!0)):(r+=i,t&&r>=t&&(clearInterval(a),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const i=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a.length>0&&(n.integrations=a),Fyt(i,t,n,r)}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const a=i;a.logLevel==="log"?Vn.log(a.message):Vn.warn(a)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:a}=i;if(!this._isEnabled())return AL(new Nu("SDK not enabled, will not capture event.","log"));const o=SUe(t),s=xUe(t),l=t.type||"error",u=`before send for type \`${l}\``;if(s&&typeof a=="number"&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",t),AL(new Nu(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const c=l==="replay_event"?"replay":l;return this._prepareEvent(t,n,r).then(f=>{if(f===null)throw this.recordDroppedEvent("event_processor",c,t),new Nu("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return f;const h=Hyt(i,f,n);return jyt(h,u)}).then(f=>{if(f===null)throw this.recordDroppedEvent("before_send",c,t),new Nu(`${u} returned \`null\`, will not send event.`,"log");const d=r&&r.getSession();!o&&d&&this._updateSessionFromEvent(d,f);const h=f.transaction_info;if(o&&h&&f.transaction!==t.transaction){const p="custom";f.transaction_info={...h,source:p}}return this.sendEvent(f,n),f}).then(null,f=>{throw f instanceof Nu?f:(this.captureException(f,{data:{__sentry__:!0},originalException:f}),new Nu(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${f}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function jyt(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Sfe(e))return e.then(r=>{if(!Z6(r)&&r!==null)throw new Nu(n);return r},r=>{throw new Nu(`${t} rejected with ${r}`)});if(!Z6(e)&&e!==null)throw new Nu(n);return e}function Hyt(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;return xUe(t)&&r?r(t,n):SUe(t)&&i?i(t,n):t}function xUe(e){return e.type===void 0}function SUe(e){return e.type==="transaction"}function qyt(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Vn.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=ss(),r=n.getScope();r&&r.update(t.initialScope);const i=new e(t);n.bindClient(i)}const Wyt=30;function AUe(e,t,n=H2t(e.bufferSize||Wyt)){let r={};const i=o=>n.drain(o);function a(o){const s=[];if(tbe(o,(f,d)=>{const h=nbe(d);if(ayt(r,h)){const p=ube(f,d);e.recordDroppedEvent("ratelimit_backoff",h,p)}else s.push(f)}),s.length===0)return S4();const l=$N(o[0],s),u=f=>{tbe(l,(d,h)=>{const p=ube(d,h);e.recordDroppedEvent(f,nbe(h),p)})},c=()=>t({body:mUe(l,e.textEncoder)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=oyt(r,f),f),f=>{throw u("network_error"),f});return n.add(c).then(f=>f,f=>{if(f instanceof Nu)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error("Skipped sending event because buffer is full."),u("queue_overflow"),S4();throw f})}return{send:a,flush:i}}function ube(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const TL="7.43.0";let cbe;class RA{constructor(){RA.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=RA.id}setupOnce(){cbe=Function.prototype.toString,Function.prototype.toString=function(...t){const n=Ife(this)||this;return cbe.apply(n,t)}}}RA.__initStatic();const Gyt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class v6{static __initStatic(){this.id="InboundFilters"}__init(){this.name=v6.id}constructor(t={}){this._options=t,v6.prototype.__init.call(this)}setupOnce(t,n){const r=i=>{const a=n();if(a){const o=a.getIntegration(v6);if(o){const s=a.getClient(),l=s?s.getOptions():{},u=Vyt(o._options,l);return Kyt(i,u)?null:i}}return i};r.id=this.name,t(r)}}v6.__initStatic();function Vyt(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...Gyt],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function Kyt(e,t){return t.ignoreInternal&&Qyt(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being internal Sentry Error. +Event: ${Vb(e)}`),!0):Yyt(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${Vb(e)}`),!0):Xyt(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${Vb(e)}. -Url: ${DL(e)}`),!0):Xyt(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Url: ${DL(e)}`),!0):Jyt(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${Vb(e)}. -Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n,t))}function Yyt(e,t){if(!t||!t.length)return!1;const n=DL(e);return n?FN(n,t):!1}function Xyt(e,t){if(!t||!t.length)return!0;const n=DL(e);return n?FN(n,t):!0}function Jyt(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Cannot extract message for event ${Vb(e)}`),[]}return[]}function Zyt(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function Qyt(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function DL(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?Qyt(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Cannot extract url for event ${Vb(e)}`),null}}const ea=sd;let yae=0;function TUe(){return yae>0}function ebt(){yae++,setTimeout(()=>{yae--})}function n_(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(Ife(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const a=i.map(o=>n_(o,t));return e.apply(this,a)}catch(a){throw ebt(),Eyt(o=>{o.addEventProcessor(s=>(t.mechanism&&(hae(s,void 0,void 0),DA(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),Cyt(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}lUe(r,e),Dfe(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function DUe(e,t){const n=Nfe(e,t),r={type:t&&t.name,value:ibt(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function tbt(e,t,n,r){const a=ss().getClient(),o=a&&a.getOptions().normalizeDepth,s={exception:{values:[{type:xfe(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${g2t(t)}`}]},extra:{__serialized__:pUe(t,o)}};if(n){const l=Nfe(e,n);l.length&&(s.exception.values[0].stacktrace={frames:l})}return s}function cq(e,t){return{exception:{values:[DUe(e,t)]}}}function Nfe(e,t){const n=t.stacktrace||t.stack||"",r=rbt(t);try{return e(n,r)}catch{}return[]}const nbt=/Minified React error #\d+;/i;function rbt(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(nbt.test(e.message))return 1}return 0}function ibt(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function abt(e,t,n,r){const i=n&&n.syntheticException||void 0,a=$fe(e,t,i,r);return DA(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),S4(a)}function obt(e,t,n="info",r,i){const a=r&&r.syntheticException||void 0,o=bae(e,t,a,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),S4(o)}function $fe(e,t,n,r,i){let a;if(rUe(t)&&t.error)return cq(e,t.error);if(Wye(t)||Qvt(t)){const o=t;if("stack"in t)a=cq(e,t);else{const s=o.name||(Wye(o)?"DOMError":"DOMException"),l=o.message?`${s}: ${o.message}`:s;a=bae(e,l,n,r),hae(a,l)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return nUe(t)?cq(e,t):Z6(t)||xfe(t)?(a=tbt(e,t,n,i),DA(a,{synthetic:!0}),a):(a=bae(e,t,n,r),hae(a,`${t}`,void 0),DA(a,{synthetic:!0}),a)}function bae(e,t,n,r){const i={message:t};if(r&&n){const a=Nfe(e,n);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}return i}const zD=1024,IUe="Breadcrumbs";class MA{static __initStatic(){this.id=IUe}__init(){this.name=MA.id}constructor(t){MA.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Yf("console",lbt),this.options.dom&&Yf("dom",sbt(this.options.dom)),this.options.xhr&&Yf("xhr",ubt),this.options.fetch&&Yf("fetch",cbt),this.options.history&&Yf("history",fbt)}addSentryBreadcrumb(t){this.options.sentry&&ss().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Vb(t)},{event:t})}}MA.__initStatic();function sbt(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>zD&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`\`dom.maxStringLength\` cannot exceed ${zD}, but a value of ${a} was configured. Sentry will use ${zD} instead.`),a=zD),typeof i=="string"&&(i=[i]);try{const o=n.event;r=dbt(o)?Q6(o.target,{keyAttrs:i,maxStringLength:a}):Q6(o,{keyAttrs:i,maxStringLength:a})}catch{r=""}r.length!==0&&ss().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function lbt(e){for(let n=0;n{ea.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return abt(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return obt(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(IUe);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("Sending outcomes:",t);const n=CUe(this._dsn,this._options),r=eyt(t,this._options.tunnel&&Tfe(this._dsn));try{Object.prototype.toString.call(ea&&ea.navigator)==="[object Navigator]"&&typeof ea.navigator.sendBeacon=="function"&&!this._options.transportOptions?ea.navigator.sendBeacon.bind(ea.navigator)(n,mUe(r)):this._sendEnvelope(r)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(i)}}}let k9;function pbt(){if(k9)return k9;if(dae(ea.fetch))return k9=ea.fetch.bind(ea);const e=ea.document;let t=ea.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return k9=t.bind(ea)}function gbt(){k9=void 0}function mbt(e,t=pbt()){function n(r){const i={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r.body.length<=65536,...e.fetchOptions};try{return t(e.url,i).then(a=>({statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}))}catch(a){return gbt(),AL(a)}}return AUe(e,n)}const vbt=4;function ybt(e){function t(n){return new pc((r,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===vbt&&r({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url);for(const o in e.headers)Object.prototype.hasOwnProperty.call(e.headers,o)&&a.setRequestHeader(o,e.headers[o]);a.send(n.body)})}return AUe(e,t)}const jN="?",bbt=30,wbt=40,kbt=50;function zfe(e,t,n,r){const i={filename:e,abs_path:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const _bt=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Cbt=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ebt=e=>{const t=_bt.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const a=Cbt.exec(t[2]);a&&(t[2]=a[1],t[3]=a[2],t[4]=a[3])}const[r,i]=RUe(t[1]||jN,t[2]);return zfe(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},xbt=[bbt,Ebt],Sbt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Abt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Tbt=e=>{const t=Sbt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=Abt.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let r=t[3],i=t[1]||jN;return[i,r]=RUe(i,r),zfe(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Dbt=[kbt,Tbt],Ibt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Rbt=e=>{const t=Ibt.exec(e);return t?zfe(t[2],t[1]||jN,+t[3],t[4]?+t[4]:void 0):void 0},Mbt=[wbt,Rbt],Obt=[xbt,Dbt,Mbt],Lbt=cUe(...Obt),RUe=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:jN,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class Vv{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Vv.id}__init2(){this._installFunc={onerror:Bbt,onunhandledrejection:Pbt}}constructor(t){Vv.prototype.__init.call(this),Vv.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&($bt(n),r(),this._installFunc[n]=void 0)}}}Vv.__initStatic();function Bbt(){Yf("error",e=>{const[t,n,r]=LUe();if(!t.getIntegration(Vv))return;const{msg:i,url:a,line:o,column:s,error:l}=e;if(TUe()||l&&l.__sentry_own_request__)return;const u=l===void 0&&f2(i)?Nbt(i,a,o,s):MUe($fe(n,l||i,void 0,r,!1),a,o,s);u.level="error",OUe(t,l,u,"onerror")})}function Pbt(){Yf("unhandledrejection",e=>{const[t,n,r]=LUe();if(!t.getIntegration(Vv))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(TUe()||i&&i.__sentry_own_request__)return!0;const a=iUe(i)?Fbt(i):$fe(n,i,void 0,r,!0);a.level="error",OUe(t,i,a,"onunhandledrejection")})}function Fbt(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Nbt(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=rUe(e)?e.message:e,o="Error";const s=a.match(i);return s&&(o=s[1],a=s[2]),MUe({exception:{values:[{type:o,value:a}]}},t,n,r)}function MUe(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=f2(t)&&t.length>0?t:a2t();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function $bt(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Global Handler attached: ${e}`)}function OUe(e,t,n,r){DA(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function LUe(){const e=ss(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const zbt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class OA{static __initStatic(){this.id="TryCatch"}__init(){this.name=OA.id}constructor(t){OA.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&zu(ea,"setTimeout",fbe),this._options.setInterval&&zu(ea,"setInterval",fbe),this._options.requestAnimationFrame&&zu(ea,"requestAnimationFrame",Ubt),this._options.XMLHttpRequest&&"XMLHttpRequest"in ea&&zu(XMLHttpRequest.prototype,"send",jbt);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:zbt).forEach(Hbt)}}OA.__initStatic();function fbe(e){return function(...t){const n=t[0];return t[0]=n_(n,{mechanism:{data:{function:d2(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function Ubt(e){return function(t){return e.apply(this,[n_(t,{mechanism:{data:{function:"requestAnimationFrame",handler:d2(e)},handled:!0,type:"instrument"}})])}}function jbt(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&zu(n,i,function(a){const o={mechanism:{data:{function:i,handler:d2(a)},handled:!0,type:"instrument"}},s=Ife(a);return s&&(o.mechanism.data.handler=d2(s)),n_(a,o)})}),e.apply(this,t)}}function Hbt(e){const t=ea,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(zu(n,"addEventListener",function(r){return function(i,a,o){try{typeof a.handleEvent=="function"&&(a.handleEvent=n_(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:d2(a),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,n_(a,{mechanism:{data:{function:"addEventListener",handler:d2(a),target:e},handled:!0,type:"instrument"}}),o])}}),zu(n,"removeEventListener",function(r){return function(i,a,o){const s=a;try{const l=s&&s.__sentry_wrapped__;l&&r.call(this,i,l,o)}catch{}return r.call(this,i,s,o)}}))}const qbt="cause",Wbt=5;class y6{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=y6.id}constructor(t={}){y6.prototype.__init.call(this),this._key=t.key||qbt,this._limit=t.limit||Wbt}setupOnce(){const t=ss().getClient();t&&Lfe((n,r)=>{const i=ss().getIntegration(y6);return i?Gbt(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}y6.__initStatic();function Gbt(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!r1(i.originalException,Error))return r;const a=BUe(e,n,i.originalException,t);return r.exception.values=[...a,...r.exception.values],r}function BUe(e,t,n,r,i=[]){if(!r1(n[r],Error)||i.length+1>=t)return i;const a=DUe(e,n[r]);return BUe(e,t,n[r],r,[a,...i])}class b6{constructor(){b6.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=b6.id}setupOnce(){Lfe(t=>{if(ss().getIntegration(b6)){if(!ea.navigator&&!ea.location&&!ea.document)return t;const n=t.request&&t.request.url||ea.location&&ea.location.href,{referrer:r}=ea.document||{},{userAgent:i}=ea.navigator||{},a={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},o={...t.request,...n&&{url:n},headers:a};return{...t,request:o}}return t})}}b6.__initStatic();class w6{constructor(){w6.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=w6.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const a=n().getIntegration(w6);if(a){try{if(Vbt(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};r.id=this.name,t(r)}}w6.__initStatic();function Vbt(e,t){return t?!!(Kbt(e,t)||Ybt(e,t)):!1}function Kbt(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!FUe(e,t)||!PUe(e,t))}function Ybt(e,t){const n=dbe(t),r=dbe(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!FUe(e,t)||!PUe(e,t))}function PUe(e,t){let n=hbe(e),r=hbe(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ss();e.captureSession&&(pbe(e),Yf("history",({from:t,to:n})=>{t===void 0||t===n||pbe(ss())}))}function Qbt(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:TL}],version:TL},Jbt(e)}const e4t={"routing.instrumentation":"react-router-v6"};function t4t(e,t,n,r,i){return(a,o=!0,s=!0)=>{const l=ea&&ea.location&&ea.location.pathname;o&&l&&a({name:l,op:"pageload",tags:e4t,metadata:{source:"url"}})}}function n4t(){Yf("error",gbe),Yf("unhandledrejection",gbe)}function gbe(){const e=UN();if(e){const t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}function r4t(){const e=qC();if(!e.__SENTRY__)return;const t={mongodb(){const r=Tv(module,"./node/integrations/mongo");return new r.Mongo},mongoose(){const r=Tv(module,"./node/integrations/mongo");return new r.Mongo({mongoose:!0})},mysql(){const r=Tv(module,"./node/integrations/mysql");return new r.Mysql},pg(){const r=Tv(module,"./node/integrations/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!F2t(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}function i4t(){_yt(),Rfe()&&r4t(),n4t()}const lo=sd;function a4t(){lo&&lo.document?lo.document.addEventListener("visibilitychange",()=>{const e=UN();if(lo.document.hidden&&e){const t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Ufe=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},o4t=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,s4t=()=>{const e=lo.performance.timing,t=lo.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},NUe=()=>lo.__WEB_VITALS_POLYFILL__?lo.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||s4t()):lo.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],$Ue=()=>{const e=NUe();return e&&e.activationStart||0},jfe=(e,t)=>{const n=NUe();let r="navigate";return n&&(lo.document.prerendering||$Ue()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:o4t(),navigationType:r}},p7=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},HN=(e,t)=>{const n=r=>{(r.type==="pagehide"||lo.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},l4t=e=>{const t=jfe("CLS",0);let n,r=0,i=[];const a=s=>{s.forEach(l=>{if(!l.hadRecentInput){const u=i[0],c=i[i.length-1];r&&i.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(r+=l.value,i.push(l)):(r=l.value,i=[l]),r>t.value&&(t.value=r,t.entries=i,n&&n())}})},o=p7("layout-shift",a);if(o){n=Ufe(e,t);const s=()=>{a(o.takeRecords()),n(!0)};return HN(s),s}};let rO=-1;const u4t=()=>lo.document.visibilityState==="hidden"&&!lo.document.prerendering?0:1/0,c4t=()=>{HN(({timeStamp:e})=>{rO=e},!0)},Hfe=()=>(rO<0&&(rO=u4t(),c4t()),{get firstHiddenTime(){return rO}}),f4t=e=>{const t=Hfe(),n=jfe("FID");let r;const i=s=>{s.startTime{s.forEach(i)},o=p7("first-input",a);r=Ufe(e,n),o&&HN(()=>{a(o.takeRecords()),o.disconnect()},!0)},mbe={},d4t=e=>{const t=Hfe(),n=jfe("LCP");let r;const i=o=>{const s=o[o.length-1];if(s){const l=Math.max(s.startTime-$Ue(),0);l{mbe[n.id]||(i(a.takeRecords()),a.disconnect(),mbe[n.id]=!0,r(!0))};return["keydown","click"].forEach(s=>{addEventListener(s,o,{once:!0,capture:!0})}),HN(o,!0),o}};function fq(e){return typeof e=="number"&&isFinite(e)}function r_(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function Al(e){return e/1e3}function zUe(){return lo&&lo.addEventListener&&lo.performance}let vbe=0,Ms={},vp,_S;function h4t(){const e=zUe();if(e&&e_){e.mark&&lo.performance.mark("sentry-tracing-init"),y4t();const t=m4t(),n=v4t();return()=>{t&&t(),n&&n()}}return()=>{}}function p4t(){p7("longtask",t=>{for(const n of t){const r=UN();if(!r)return;const i=Al(e_+n.startTime),a=Al(n.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+a})}})}function g4t(){p7("event",t=>{for(const n of t){const r=UN();if(!r)return;if(n.name==="click"){const i=Al(e_+n.startTime),a=Al(n.duration);r.startChild({description:Q6(n.target),op:`ui.interaction.${n.name}`,startTimestamp:i,endTimestamp:i+a})}}},{durationThreshold:0})}function m4t(){return l4t(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding CLS"),Ms.cls={value:e.value,unit:""},_S=t)})}function v4t(){return d4t(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding LCP"),Ms.lcp={value:e.value,unit:"millisecond"},vp=t)})}function y4t(){f4t(e=>{const t=e.entries.pop();if(!t)return;const n=Al(e_),r=Al(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FID"),Ms.fid={value:e.value,unit:"millisecond"},Ms["mark.fid"]={value:n+r,unit:"second"}})}function b4t(e){const t=zUe();if(!t||!lo.performance.getEntries||!e_)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Adding & adjusting spans using Performance API");const n=Al(e_),r=t.getEntries();let i,a;if(r.slice(vbe).forEach(o=>{const s=Al(o.startTime),l=Al(o.duration);if(!(e.op==="navigation"&&n+s"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FP"),Ms.fp={value:o.startTime,unit:"millisecond"}),o.name==="first-contentful-paint"&&c&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FCP"),Ms.fcp={value:o.startTime,unit:"millisecond"});break}case"resource":{const u=o.name.replace(lo.location.origin,"");C4t(e,o,u,s,l,n);break}}}),vbe=Math.max(r.length-1,0),E4t(e),e.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding TTFB"),Ms.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof a=="number"&&a<=i&&(Ms["ttfb.requestTime"]={value:(i-a)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!Ms[s]||n>=e.startTimestamp)return;const l=Ms[s].value,u=n+Al(l),c=Math.abs((u-e.startTimestamp)*1e3),f=c-l;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Measurements] Normalized ${s} from ${l} to ${c} (${f})`),Ms[s].value=c});const o=Ms["mark.fid"];o&&Ms.fid&&(r_(e,{description:"first input delay",endTimestamp:o.value+Al(Ms.fid.value),op:"ui.action",startTimestamp:o.value}),delete Ms["mark.fid"]),"fcp"in Ms||delete Ms.cls,Object.keys(Ms).forEach(s=>{e.setMeasurement(s,Ms[s].value,Ms[s].unit)}),x4t(e)}vp=void 0,_S=void 0,Ms={}}function w4t(e,t,n,r,i){const a=i+n,o=a+r;return r_(e,{description:t.name,endTimestamp:o,op:t.entryType,startTimestamp:a}),a}function k4t(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{UD(e,t,r,n)}),UD(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),UD(e,t,"fetch",n,"cache","domainLookupStart"),UD(e,t,"domainLookup",n,"DNS"),_4t(e,t,n)}function UD(e,t,n,r,i,a){const o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];!s||!o||r_(e,{op:"browser",description:i||n,startTimestamp:r+Al(s),endTimestamp:r+Al(o)})}function _4t(e,t,n){r_(e,{op:"browser",description:"request",startTimestamp:n+Al(t.requestStart),endTimestamp:n+Al(t.responseEnd)}),r_(e,{op:"browser",description:"response",startTimestamp:n+Al(t.responseStart),endTimestamp:n+Al(t.responseEnd)})}function C4t(e,t,n,r,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const o={};"transferSize"in t&&(o["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(o["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(o["Decoded Body Size"]=t.decodedBodySize),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus);const s=a+r,l=s+i;r_(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:s,data:o})}function E4t(e){const t=lo.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),fq(n.rtt)&&(Ms["connection.rtt"]={value:n.rtt,unit:"millisecond"})),fq(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),fq(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function x4t(e){vp&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding LCP Data"),vp.element&&e.setTag("lcp.element",Q6(vp.element)),vp.id&&e.setTag("lcp.id",vp.id),vp.url&&e.setTag("lcp.url",vp.url.trim().slice(0,200)),e.setTag("lcp.size",vp.size)),_S&&_S.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding CLS Data"),_S.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Q6(t.node))))}const wae=["localhost",/^\//],kae={traceFetch:!0,traceXHR:!0,tracingOrigins:wae,tracePropagationTargets:wae};function S4t(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a}={traceFetch:kae.traceFetch,traceXHR:kae.traceXHR,...e},o=typeof a=="function"?a:u=>!0,s=u=>A4t(u,r||i),l={};t&&Yf("fetch",u=>{T4t(u,o,s,l)}),n&&Yf("xhr",u=>{I4t(u,o,s,l)})}function A4t(e,t){return FN(e,t||wae)}function T4t(e,t,n,r){if(!Ffe()||!(e.fetchData&&t(e.fetchData.url)))return;if(e.endTimestamp){const s=e.fetchData.__span;if(!s)return;const l=r[s];l&&(e.response?l.setHttpStatus(e.response.status):e.error&&l.setStatus("internal_error"),l.finish(),delete r[s]);return}const i=ss().getScope(),a=i&&i.getSpan(),o=a&&a.transaction;if(a&&o){const s=a.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=s.spanId,r[s.spanId]=s;const l=e.args[0];e.args[1]=e.args[1]||{};const u=e.args[1];n(e.fetchData.url)&&(u.headers=D4t(l,o.getDynamicSamplingContext(),s,u))}}function D4t(e,t,n,r){const i=bUe(t),a=n.toTraceparent(),o=typeof Request<"u"&&r1(e,Request)?e.headers:r.headers;if(o)if(typeof Headers<"u"&&r1(o,Headers)){const s=new Headers(o);return s.append("sentry-trace",a),i&&s.append(vae,i),s}else if(Array.isArray(o)){const s=[...o,["sentry-trace",a]];return i&&s.push([vae,i]),s}else{const s="baggage"in o?o.baggage:void 0,l=[];return Array.isArray(s)?l.push(...s):s&&l.push(s),i&&l.push(i),{...o,"sentry-trace":a,baggage:l.length>0?l.join(","):void 0}}else return{"sentry-trace":a,baggage:i}}function I4t(e,t,n,r){if(!Ffe()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))return;const i=e.xhr.__sentry_xhr__;if(e.endTimestamp){const l=e.xhr.__sentry_xhr_span_id__;if(!l)return;const u=r[l];u&&(u.setHttpStatus(i.status_code),u.finish(),delete r[l]);return}const a=ss().getScope(),o=a&&a.getSpan(),s=o&&o.transaction;if(o&&s){const l=o.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=l.spanId,r[e.xhr.__sentry_xhr_span_id__]=l,e.xhr.setRequestHeader&&n(e.xhr.__sentry_xhr__.url))try{e.xhr.setRequestHeader("sentry-trace",l.toTraceparent());const u=s.getDynamicSamplingContext(),c=bUe(u);c&&e.xhr.setRequestHeader(vae,c)}catch{}}}function R4t(e,t=!0,n=!0){if(!lo||!lo.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not initialize routing instrumentation due to invalid location");return}let r=lo.location.href,i;t&&(i=e({name:lo.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Yf("history",({to:a,from:o})=>{if(o===void 0&&r&&r.indexOf(a)!==-1){r=void 0;return}o!==a&&(r=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:lo.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const M4t="BrowserTracing",O4t={...nO,markBackgroundTransactions:!0,routingInstrumentation:R4t,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...kae};class qfe{__init(){this.name=M4t}constructor(t){qfe.prototype.__init.call(this),this.options={...O4t,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=h4t(),this.options.enableLongTask&&p4t(),this.options._experiments.enableInteractions&&g4t()}setupOnce(t,n){this._getCurrentHub=n;const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:a,markBackgroundTransactions:o,traceFetch:s,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c,_experiments:f}=this.options;r(d=>{const h=this._createRouteTransaction(d);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(h,d,n),h},a,i),o&&a4t(),f.enableInteractions&&this._registerInteractionListener(),S4t({traceFetch:s,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,o=t.op==="pageload",s=o?ybe("sentry-trace"):null,l=o?ybe("baggage"):null,u=s?K2t(s):void 0,c=l?lyt(l):void 0,f={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!c?{}:c},trimEnd:!0},d=typeof n=="function"?n(f):f,h=d===void 0?{...f,sampled:!1}:d;h.metadata=h.name!==f.name?{...h.metadata,source:"custom"}:h.metadata,this._latestRouteName=h.name,this._latestRouteSource=h.metadata&&h.metadata.source,h.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Starting ${h.op} transaction on scope`);const p=this._getCurrentHub(),{location:g}=lo,b=obe(p,h,r,i,!0,{location:g},a);return b.registerBeforeFinishCallback(m=>{this._collectWebVitals(),b4t(m)}),b}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,o="ui.action.click";if(t&&(t.finish(),t=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${o} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}const s=this._getCurrentHub(),{location:l}=lo,u={name:this._latestRouteName,op:o,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=obe(s,u,r,i,!0,{location:l},a)};["click"].forEach(r=>{addEventListener(r,n,{once:!1,capture:!0})})}}function ybe(e){const t=o2t(`meta[name=${e}]`);return t?t.getAttribute("content"):null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&i4t();const L4t={black:"#000",white:"#fff"},LA=L4t,B4t={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},bb=B4t,P4t={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},F4t=P4t,N4t={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wb=N4t,$4t={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},z4t=$4t,U4t={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},j4t=U4t,H4t={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},hg=H4t,q4t={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},kb=q4t,W4t={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},G4t=W4t,V4t={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},K4t=V4t,Y4t={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_b=Y4t,X4t={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},J4t=X4t,Z4t={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},Q4t=Z4t,e3t={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},t3t=e3t,n3t={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ek=n3t,r3t={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},i3t=r3t,a3t={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},o3t=a3t,s3t={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},UUe=s3t,l3t={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},u3t=l3t;function Fb(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function jUe(e){if(!Fb(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=jUe(e[n])}),t}function hh(e,t,n={clone:!0}){const r=n.clone?Ne({},e):e;return Fb(e)&&Fb(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Fb(t[i])&&i in e&&Fb(e[i])?r[i]=hh(e[i],t[i],n):n.clone?r[i]=Fb(t[i])?jUe(t[i]):t[i]:r[i]=t[i])}),r}var HUe={exports:{}},c3t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",f3t=c3t,d3t=f3t;function qUe(){}function WUe(){}WUe.resetWarningCache=qUe;var h3t=function(){function e(r,i,a,o,s,l){if(l!==d3t){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:WUe,resetWarningCache:qUe};return n.PropTypes=n,n};HUe.exports=h3t();var Wfe=HUe.exports;const bi=ls(Wfe);function h2(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function i1(e,t=166){let n;function r(...i){const a=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function p3t(e,t){return()=>null}function CS(e,t){return C.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function hl(e){return e&&e.ownerDocument||document}function wh(e){return hl(e).defaultView||window}function g3t(e,t){return()=>null}function IL(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const m3t=typeof window<"u"?C.useLayoutEffect:C.useEffect,Sf=m3t;let bbe=0;function v3t(e){const[t,n]=C.useState(e),r=e||t;return C.useEffect(()=>{t==null&&(bbe+=1,n(`mui-${bbe}`))},[t]),r}const wbe=v4["useId"];function g7(e){if(wbe!==void 0){const t=wbe();return e??t}return v3t(e)}function y3t(e,t,n,r,i){return null}function kh({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=C.useRef(e!==void 0),[a,o]=C.useState(t),s=i?e:a,l=C.useCallback(u=>{i||o(u)},[]);return[s,l]}function ya(e){const t=C.useRef(e);return Sf(()=>{t.current=e}),C.useCallback((...n)=>(0,t.current)(...n),[])}function co(...e){return C.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{IL(n,t)})},e)}let qN=!0,Cae=!1,kbe;const b3t={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function w3t(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&b3t[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function k3t(e){e.metaKey||e.altKey||e.ctrlKey||(qN=!0)}function dq(){qN=!1}function _3t(){this.visibilityState==="hidden"&&Cae&&(qN=!0)}function C3t(e){e.addEventListener("keydown",k3t,!0),e.addEventListener("mousedown",dq,!0),e.addEventListener("pointerdown",dq,!0),e.addEventListener("touchstart",dq,!0),e.addEventListener("visibilitychange",_3t,!0)}function E3t(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return qN||w3t(t)}function Gfe(){const e=C.useCallback(i=>{i!=null&&C3t(i.ownerDocument)},[]),t=C.useRef(!1);function n(){return t.current?(Cae=!0,window.clearTimeout(kbe),kbe=window.setTimeout(()=>{Cae=!1},100),t.current=!1,!0):!1}function r(i){return E3t(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function GUe(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Uw;function VUe(){if(Uw)return Uw;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Uw="reverse",e.scrollLeft>0?Uw="default":(e.scrollLeft=1,e.scrollLeft===0&&(Uw="negative")),document.body.removeChild(e),Uw}function _be(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(VUe()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const x3t=e=>{const t=C.useRef({});return C.useEffect(()=>{t.current=e}),t.current},KUe=x3t;function Vfe(e,t){const n=Ne({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Ne({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},a=t[r];n[r]={},!a||!Object.keys(a)?n[r]=i:!i||!Object.keys(i)?n[r]=a:(n[r]=Ne({},a),Object.keys(i).forEach(o=>{n[r][o]=Vfe(i[o],a[o])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Er(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((a,o)=>{if(o){const s=t(o);s!==""&&a.push(s),n&&n[o]&&a.push(n[o])}return a},[]).join(" ")}),r}const Cbe=e=>e,S3t=()=>{let e=Cbe;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Cbe}}},A3t=S3t(),Kfe=A3t,T3t={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function xr(e,t,n="Mui"){const r=T3t[t];return r?`${n}-${r}`:`${Kfe.generate(e)}-${t}`}function Sr(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=xr(e,i,n)}),r}var D3t=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,I3t=Vze(function(e){return D3t.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),R3t=I3t,M3t=function(t){return t!=="theme"},Ebe=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?R3t:M3t},xbe=function(t,n,r){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},O3t=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Jze(n,r,i),Yvt(function(){return kfe(n,r,i)}),null},L3t=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=xbe(t,n,r),l=s||Ebe(i),u=!l("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;ht(N3t(i)?n:i):t})}/** +Url: ${DL(e)}`),!0)}function Yyt(e,t){return!t||!t.length?!1:Zyt(e).some(n=>FN(n,t))}function Xyt(e,t){if(!t||!t.length)return!1;const n=DL(e);return n?FN(n,t):!1}function Jyt(e,t){if(!t||!t.length)return!0;const n=DL(e);return n?FN(n,t):!0}function Zyt(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Cannot extract message for event ${Vb(e)}`),[]}return[]}function Qyt(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function ebt(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function DL(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?ebt(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(`Cannot extract url for event ${Vb(e)}`),null}}const ea=sd;let yae=0;function TUe(){return yae>0}function tbt(){yae++,setTimeout(()=>{yae--})}function n_(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(Ife(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const a=i.map(o=>n_(o,t));return e.apply(this,a)}catch(a){throw tbt(),xyt(o=>{o.addEventProcessor(s=>(t.mechanism&&(hae(s,void 0,void 0),DA(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),Eyt(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}lUe(r,e),Dfe(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function DUe(e,t){const n=Nfe(e,t),r={type:t&&t.name,value:abt(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function nbt(e,t,n,r){const a=ss().getClient(),o=a&&a.getOptions().normalizeDepth,s={exception:{values:[{type:xfe(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${m2t(t)}`}]},extra:{__serialized__:pUe(t,o)}};if(n){const l=Nfe(e,n);l.length&&(s.exception.values[0].stacktrace={frames:l})}return s}function cq(e,t){return{exception:{values:[DUe(e,t)]}}}function Nfe(e,t){const n=t.stacktrace||t.stack||"",r=ibt(t);try{return e(n,r)}catch{}return[]}const rbt=/Minified React error #\d+;/i;function ibt(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(rbt.test(e.message))return 1}return 0}function abt(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function obt(e,t,n,r){const i=n&&n.syntheticException||void 0,a=$fe(e,t,i,r);return DA(a),a.level="error",n&&n.event_id&&(a.event_id=n.event_id),S4(a)}function sbt(e,t,n="info",r,i){const a=r&&r.syntheticException||void 0,o=bae(e,t,a,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),S4(o)}function $fe(e,t,n,r,i){let a;if(rUe(t)&&t.error)return cq(e,t.error);if(Wye(t)||e2t(t)){const o=t;if("stack"in t)a=cq(e,t);else{const s=o.name||(Wye(o)?"DOMError":"DOMException"),l=o.message?`${s}: ${o.message}`:s;a=bae(e,l,n,r),hae(a,l)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}return nUe(t)?cq(e,t):Z6(t)||xfe(t)?(a=nbt(e,t,n,i),DA(a,{synthetic:!0}),a):(a=bae(e,t,n,r),hae(a,`${t}`,void 0),DA(a,{synthetic:!0}),a)}function bae(e,t,n,r){const i={message:t};if(r&&n){const a=Nfe(e,n);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}return i}const zD=1024,IUe="Breadcrumbs";class MA{static __initStatic(){this.id=IUe}__init(){this.name=MA.id}constructor(t){MA.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Yf("console",ubt),this.options.dom&&Yf("dom",lbt(this.options.dom)),this.options.xhr&&Yf("xhr",cbt),this.options.fetch&&Yf("fetch",fbt),this.options.history&&Yf("history",dbt)}addSentryBreadcrumb(t){this.options.sentry&&ss().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Vb(t)},{event:t})}}MA.__initStatic();function lbt(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>zD&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`\`dom.maxStringLength\` cannot exceed ${zD}, but a value of ${a} was configured. Sentry will use ${zD} instead.`),a=zD),typeof i=="string"&&(i=[i]);try{const o=n.event;r=hbt(o)?Q6(o.target,{keyAttrs:i,maxStringLength:a}):Q6(o,{keyAttrs:i,maxStringLength:a})}catch{r=""}r.length!==0&&ss().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function ubt(e){for(let n=0;n{ea.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return obt(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return sbt(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){const r=this.getIntegrationById(IUe);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(t),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("Sending outcomes:",t);const n=CUe(this._dsn,this._options),r=tyt(t,this._options.tunnel&&Tfe(this._dsn));try{Object.prototype.toString.call(ea&&ea.navigator)==="[object Navigator]"&&typeof ea.navigator.sendBeacon=="function"&&!this._options.transportOptions?ea.navigator.sendBeacon.bind(ea.navigator)(n,mUe(r)):this._sendEnvelope(r)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.error(i)}}}let k9;function gbt(){if(k9)return k9;if(dae(ea.fetch))return k9=ea.fetch.bind(ea);const e=ea.document;let t=ea.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return k9=t.bind(ea)}function mbt(){k9=void 0}function vbt(e,t=gbt()){function n(r){const i={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r.body.length<=65536,...e.fetchOptions};try{return t(e.url,i).then(a=>({statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}))}catch(a){return mbt(),AL(a)}}return AUe(e,n)}const ybt=4;function bbt(e){function t(n){return new pc((r,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===ybt&&r({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url);for(const o in e.headers)Object.prototype.hasOwnProperty.call(e.headers,o)&&a.setRequestHeader(o,e.headers[o]);a.send(n.body)})}return AUe(e,t)}const jN="?",wbt=30,kbt=40,_bt=50;function zfe(e,t,n,r){const i={filename:e,abs_path:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const Cbt=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ebt=/\((\S*)(?::(\d+))(?::(\d+))\)/,xbt=e=>{const t=Cbt.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const a=Ebt.exec(t[2]);a&&(t[2]=a[1],t[3]=a[2],t[4]=a[3])}const[r,i]=RUe(t[1]||jN,t[2]);return zfe(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},Sbt=[wbt,xbt],Abt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Tbt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Dbt=e=>{const t=Abt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=Tbt.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let r=t[3],i=t[1]||jN;return[i,r]=RUe(i,r),zfe(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Ibt=[_bt,Dbt],Rbt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Mbt=e=>{const t=Rbt.exec(e);return t?zfe(t[2],t[1]||jN,+t[3],t[4]?+t[4]:void 0):void 0},Obt=[kbt,Mbt],Lbt=[Sbt,Ibt,Obt],Bbt=cUe(...Lbt),RUe=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:jN,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class Vv{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Vv.id}__init2(){this._installFunc={onerror:Pbt,onunhandledrejection:Fbt}}constructor(t){Vv.prototype.__init.call(this),Vv.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(zbt(n),r(),this._installFunc[n]=void 0)}}}Vv.__initStatic();function Pbt(){Yf("error",e=>{const[t,n,r]=LUe();if(!t.getIntegration(Vv))return;const{msg:i,url:a,line:o,column:s,error:l}=e;if(TUe()||l&&l.__sentry_own_request__)return;const u=l===void 0&&f2(i)?$bt(i,a,o,s):MUe($fe(n,l||i,void 0,r,!1),a,o,s);u.level="error",OUe(t,l,u,"onerror")})}function Fbt(){Yf("unhandledrejection",e=>{const[t,n,r]=LUe();if(!t.getIntegration(Vv))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(TUe()||i&&i.__sentry_own_request__)return!0;const a=iUe(i)?Nbt(i):$fe(n,i,void 0,r,!0);a.level="error",OUe(t,i,a,"onunhandledrejection")})}function Nbt(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function $bt(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=rUe(e)?e.message:e,o="Error";const s=a.match(i);return s&&(o=s[1],a=s[2]),MUe({exception:{values:[{type:o,value:a}]}},t,n,r)}function MUe(e,t,n,r){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=f2(t)&&t.length>0?t:o2t();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function zbt(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`Global Handler attached: ${e}`)}function OUe(e,t,n,r){DA(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function LUe(){const e=ss(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}const Ubt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class OA{static __initStatic(){this.id="TryCatch"}__init(){this.name=OA.id}constructor(t){OA.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&zu(ea,"setTimeout",fbe),this._options.setInterval&&zu(ea,"setInterval",fbe),this._options.requestAnimationFrame&&zu(ea,"requestAnimationFrame",jbt),this._options.XMLHttpRequest&&"XMLHttpRequest"in ea&&zu(XMLHttpRequest.prototype,"send",Hbt);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:Ubt).forEach(qbt)}}OA.__initStatic();function fbe(e){return function(...t){const n=t[0];return t[0]=n_(n,{mechanism:{data:{function:d2(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function jbt(e){return function(t){return e.apply(this,[n_(t,{mechanism:{data:{function:"requestAnimationFrame",handler:d2(e)},handled:!0,type:"instrument"}})])}}function Hbt(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&zu(n,i,function(a){const o={mechanism:{data:{function:i,handler:d2(a)},handled:!0,type:"instrument"}},s=Ife(a);return s&&(o.mechanism.data.handler=d2(s)),n_(a,o)})}),e.apply(this,t)}}function qbt(e){const t=ea,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(zu(n,"addEventListener",function(r){return function(i,a,o){try{typeof a.handleEvent=="function"&&(a.handleEvent=n_(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:d2(a),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,n_(a,{mechanism:{data:{function:"addEventListener",handler:d2(a),target:e},handled:!0,type:"instrument"}}),o])}}),zu(n,"removeEventListener",function(r){return function(i,a,o){const s=a;try{const l=s&&s.__sentry_wrapped__;l&&r.call(this,i,l,o)}catch{}return r.call(this,i,s,o)}}))}const Wbt="cause",Gbt=5;class y6{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=y6.id}constructor(t={}){y6.prototype.__init.call(this),this._key=t.key||Wbt,this._limit=t.limit||Gbt}setupOnce(){const t=ss().getClient();t&&Lfe((n,r)=>{const i=ss().getIntegration(y6);return i?Vbt(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}y6.__initStatic();function Vbt(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!r1(i.originalException,Error))return r;const a=BUe(e,n,i.originalException,t);return r.exception.values=[...a,...r.exception.values],r}function BUe(e,t,n,r,i=[]){if(!r1(n[r],Error)||i.length+1>=t)return i;const a=DUe(e,n[r]);return BUe(e,t,n[r],r,[a,...i])}class b6{constructor(){b6.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=b6.id}setupOnce(){Lfe(t=>{if(ss().getIntegration(b6)){if(!ea.navigator&&!ea.location&&!ea.document)return t;const n=t.request&&t.request.url||ea.location&&ea.location.href,{referrer:r}=ea.document||{},{userAgent:i}=ea.navigator||{},a={...t.request&&t.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},o={...t.request,...n&&{url:n},headers:a};return{...t,request:o}}return t})}}b6.__initStatic();class w6{constructor(){w6.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=w6.id}setupOnce(t,n){const r=i=>{if(i.type)return i;const a=n().getIntegration(w6);if(a){try{if(Kbt(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};r.id=this.name,t(r)}}w6.__initStatic();function Kbt(e,t){return t?!!(Ybt(e,t)||Xbt(e,t)):!1}function Ybt(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!FUe(e,t)||!PUe(e,t))}function Xbt(e,t){const n=dbe(t),r=dbe(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!FUe(e,t)||!PUe(e,t))}function PUe(e,t){let n=hbe(e),r=hbe(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=ss();e.captureSession&&(pbe(e),Yf("history",({from:t,to:n})=>{t===void 0||t===n||pbe(ss())}))}function e4t(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:TL}],version:TL},Zbt(e)}const t4t={"routing.instrumentation":"react-router-v6"};function n4t(e,t,n,r,i){return(a,o=!0,s=!0)=>{const l=ea&&ea.location&&ea.location.pathname;o&&l&&a({name:l,op:"pageload",tags:t4t,metadata:{source:"url"}})}}function r4t(){Yf("error",gbe),Yf("unhandledrejection",gbe)}function gbe(){const e=UN();if(e){const t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}function i4t(){const e=qC();if(!e.__SENTRY__)return;const t={mongodb(){const r=Tv(module,"./node/integrations/mongo");return new r.Mongo},mongoose(){const r=Tv(module,"./node/integrations/mongo");return new r.Mongo({mongoose:!0})},mysql(){const r=Tv(module,"./node/integrations/mysql");return new r.Mysql},pg(){const r=Tv(module,"./node/integrations/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!N2t(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}function a4t(){Cyt(),Rfe()&&i4t(),r4t()}const lo=sd;function o4t(){lo&&lo.document?lo.document.addEventListener("visibilitychange",()=>{const e=UN();if(lo.document.hidden&&e){const t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const Ufe=(e,t,n)=>{let r,i;return a=>{t.value>=0&&(a||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},s4t=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,l4t=()=>{const e=lo.performance.timing,t=lo.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},NUe=()=>lo.__WEB_VITALS_POLYFILL__?lo.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||l4t()):lo.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],$Ue=()=>{const e=NUe();return e&&e.activationStart||0},jfe=(e,t)=>{const n=NUe();let r="navigate";return n&&(lo.document.prerendering||$Ue()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:s4t(),navigationType:r}},p7=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},HN=(e,t)=>{const n=r=>{(r.type==="pagehide"||lo.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},u4t=e=>{const t=jfe("CLS",0);let n,r=0,i=[];const a=s=>{s.forEach(l=>{if(!l.hadRecentInput){const u=i[0],c=i[i.length-1];r&&i.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(r+=l.value,i.push(l)):(r=l.value,i=[l]),r>t.value&&(t.value=r,t.entries=i,n&&n())}})},o=p7("layout-shift",a);if(o){n=Ufe(e,t);const s=()=>{a(o.takeRecords()),n(!0)};return HN(s),s}};let rO=-1;const c4t=()=>lo.document.visibilityState==="hidden"&&!lo.document.prerendering?0:1/0,f4t=()=>{HN(({timeStamp:e})=>{rO=e},!0)},Hfe=()=>(rO<0&&(rO=c4t(),f4t()),{get firstHiddenTime(){return rO}}),d4t=e=>{const t=Hfe(),n=jfe("FID");let r;const i=s=>{s.startTime{s.forEach(i)},o=p7("first-input",a);r=Ufe(e,n),o&&HN(()=>{a(o.takeRecords()),o.disconnect()},!0)},mbe={},h4t=e=>{const t=Hfe(),n=jfe("LCP");let r;const i=o=>{const s=o[o.length-1];if(s){const l=Math.max(s.startTime-$Ue(),0);l{mbe[n.id]||(i(a.takeRecords()),a.disconnect(),mbe[n.id]=!0,r(!0))};return["keydown","click"].forEach(s=>{addEventListener(s,o,{once:!0,capture:!0})}),HN(o,!0),o}};function fq(e){return typeof e=="number"&&isFinite(e)}function r_(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}function Al(e){return e/1e3}function zUe(){return lo&&lo.addEventListener&&lo.performance}let vbe=0,Ms={},vp,_S;function p4t(){const e=zUe();if(e&&e_){e.mark&&lo.performance.mark("sentry-tracing-init"),b4t();const t=v4t(),n=y4t();return()=>{t&&t(),n&&n()}}return()=>{}}function g4t(){p7("longtask",t=>{for(const n of t){const r=UN();if(!r)return;const i=Al(e_+n.startTime),a=Al(n.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+a})}})}function m4t(){p7("event",t=>{for(const n of t){const r=UN();if(!r)return;if(n.name==="click"){const i=Al(e_+n.startTime),a=Al(n.duration);r.startChild({description:Q6(n.target),op:`ui.interaction.${n.name}`,startTimestamp:i,endTimestamp:i+a})}}},{durationThreshold:0})}function v4t(){return u4t(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding CLS"),Ms.cls={value:e.value,unit:""},_S=t)})}function y4t(){return h4t(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding LCP"),Ms.lcp={value:e.value,unit:"millisecond"},vp=t)})}function b4t(){d4t(e=>{const t=e.entries.pop();if(!t)return;const n=Al(e_),r=Al(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FID"),Ms.fid={value:e.value,unit:"millisecond"},Ms["mark.fid"]={value:n+r,unit:"second"}})}function w4t(e){const t=zUe();if(!t||!lo.performance.getEntries||!e_)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Tracing] Adding & adjusting spans using Performance API");const n=Al(e_),r=t.getEntries();let i,a;if(r.slice(vbe).forEach(o=>{const s=Al(o.startTime),l=Al(o.duration);if(!(e.op==="navigation"&&n+s"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FP"),Ms.fp={value:o.startTime,unit:"millisecond"}),o.name==="first-contentful-paint"&&c&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding FCP"),Ms.fcp={value:o.startTime,unit:"millisecond"});break}case"resource":{const u=o.name.replace(lo.location.origin,"");E4t(e,o,u,s,l,n);break}}}),vbe=Math.max(r.length-1,0),x4t(e),e.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding TTFB"),Ms.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof a=="number"&&a<=i&&(Ms["ttfb.requestTime"]={value:(i-a)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!Ms[s]||n>=e.startTimestamp)return;const l=Ms[s].value,u=n+Al(l),c=Math.abs((u-e.startTimestamp)*1e3),f=c-l;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Measurements] Normalized ${s} from ${l} to ${c} (${f})`),Ms[s].value=c});const o=Ms["mark.fid"];o&&Ms.fid&&(r_(e,{description:"first input delay",endTimestamp:o.value+Al(Ms.fid.value),op:"ui.action",startTimestamp:o.value}),delete Ms["mark.fid"]),"fcp"in Ms||delete Ms.cls,Object.keys(Ms).forEach(s=>{e.setMeasurement(s,Ms[s].value,Ms[s].unit)}),S4t(e)}vp=void 0,_S=void 0,Ms={}}function k4t(e,t,n,r,i){const a=i+n,o=a+r;return r_(e,{description:t.name,endTimestamp:o,op:t.entryType,startTimestamp:a}),a}function _4t(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{UD(e,t,r,n)}),UD(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),UD(e,t,"fetch",n,"cache","domainLookupStart"),UD(e,t,"domainLookup",n,"DNS"),C4t(e,t,n)}function UD(e,t,n,r,i,a){const o=a?t[a]:t[`${n}End`],s=t[`${n}Start`];!s||!o||r_(e,{op:"browser",description:i||n,startTimestamp:r+Al(s),endTimestamp:r+Al(o)})}function C4t(e,t,n){r_(e,{op:"browser",description:"request",startTimestamp:n+Al(t.requestStart),endTimestamp:n+Al(t.responseEnd)}),r_(e,{op:"browser",description:"response",startTimestamp:n+Al(t.responseStart),endTimestamp:n+Al(t.responseEnd)})}function E4t(e,t,n,r,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const o={};"transferSize"in t&&(o["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(o["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(o["Decoded Body Size"]=t.decodedBodySize),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus);const s=a+r,l=s+i;r_(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:s,data:o})}function x4t(e){const t=lo.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),fq(n.rtt)&&(Ms["connection.rtt"]={value:n.rtt,unit:"millisecond"})),fq(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),fq(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function S4t(e){vp&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding LCP Data"),vp.element&&e.setTag("lcp.element",Q6(vp.element)),vp.id&&e.setTag("lcp.id",vp.id),vp.url&&e.setTag("lcp.url",vp.url.trim().slice(0,200)),e.setTag("lcp.size",vp.size)),_S&&_S.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log("[Measurements] Adding CLS Data"),_S.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Q6(t.node))))}const wae=["localhost",/^\//],kae={traceFetch:!0,traceXHR:!0,tracingOrigins:wae,tracePropagationTargets:wae};function A4t(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:a}={traceFetch:kae.traceFetch,traceXHR:kae.traceXHR,...e},o=typeof a=="function"?a:u=>!0,s=u=>T4t(u,r||i),l={};t&&Yf("fetch",u=>{D4t(u,o,s,l)}),n&&Yf("xhr",u=>{R4t(u,o,s,l)})}function T4t(e,t){return FN(e,t||wae)}function D4t(e,t,n,r){if(!Ffe()||!(e.fetchData&&t(e.fetchData.url)))return;if(e.endTimestamp){const s=e.fetchData.__span;if(!s)return;const l=r[s];l&&(e.response?l.setHttpStatus(e.response.status):e.error&&l.setStatus("internal_error"),l.finish(),delete r[s]);return}const i=ss().getScope(),a=i&&i.getSpan(),o=a&&a.transaction;if(a&&o){const s=a.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=s.spanId,r[s.spanId]=s;const l=e.args[0];e.args[1]=e.args[1]||{};const u=e.args[1];n(e.fetchData.url)&&(u.headers=I4t(l,o.getDynamicSamplingContext(),s,u))}}function I4t(e,t,n,r){const i=bUe(t),a=n.toTraceparent(),o=typeof Request<"u"&&r1(e,Request)?e.headers:r.headers;if(o)if(typeof Headers<"u"&&r1(o,Headers)){const s=new Headers(o);return s.append("sentry-trace",a),i&&s.append(vae,i),s}else if(Array.isArray(o)){const s=[...o,["sentry-trace",a]];return i&&s.push([vae,i]),s}else{const s="baggage"in o?o.baggage:void 0,l=[];return Array.isArray(s)?l.push(...s):s&&l.push(s),i&&l.push(i),{...o,"sentry-trace":a,baggage:l.length>0?l.join(","):void 0}}else return{"sentry-trace":a,baggage:i}}function R4t(e,t,n,r){if(!Ffe()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))return;const i=e.xhr.__sentry_xhr__;if(e.endTimestamp){const l=e.xhr.__sentry_xhr_span_id__;if(!l)return;const u=r[l];u&&(u.setHttpStatus(i.status_code),u.finish(),delete r[l]);return}const a=ss().getScope(),o=a&&a.getSpan(),s=o&&o.transaction;if(o&&s){const l=o.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=l.spanId,r[e.xhr.__sentry_xhr_span_id__]=l,e.xhr.setRequestHeader&&n(e.xhr.__sentry_xhr__.url))try{e.xhr.setRequestHeader("sentry-trace",l.toTraceparent());const u=s.getDynamicSamplingContext(),c=bUe(u);c&&e.xhr.setRequestHeader(vae,c)}catch{}}}function M4t(e,t=!0,n=!0){if(!lo||!lo.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn("Could not initialize routing instrumentation due to invalid location");return}let r=lo.location.href,i;t&&(i=e({name:lo.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Yf("history",({to:a,from:o})=>{if(o===void 0&&r&&r.indexOf(a)!==-1){r=void 0;return}o!==a&&(r=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:lo.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const O4t="BrowserTracing",L4t={...nO,markBackgroundTransactions:!0,routingInstrumentation:M4t,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...kae};class qfe{__init(){this.name=O4t}constructor(t){qfe.prototype.__init.call(this),this.options={...L4t,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=p4t(),this.options.enableLongTask&&g4t(),this.options._experiments.enableInteractions&&m4t()}setupOnce(t,n){this._getCurrentHub=n;const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:a,markBackgroundTransactions:o,traceFetch:s,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c,_experiments:f}=this.options;r(d=>{const h=this._createRouteTransaction(d);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(h,d,n),h},a,i),o&&o4t(),f.enableInteractions&&this._registerInteractionListener(),A4t({traceFetch:s,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,o=t.op==="pageload",s=o?ybe("sentry-trace"):null,l=o?ybe("baggage"):null,u=s?Y2t(s):void 0,c=l?uyt(l):void 0,f={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!c?{}:c},trimEnd:!0},d=typeof n=="function"?n(f):f,h=d===void 0?{...f,sampled:!1}:d;h.metadata=h.name!==f.name?{...h.metadata,source:"custom"}:h.metadata,this._latestRouteName=h.name,this._latestRouteSource=h.metadata&&h.metadata.source,h.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.log(`[Tracing] Starting ${h.op} transaction on scope`);const p=this._getCurrentHub(),{location:g}=lo,b=obe(p,h,r,i,!0,{location:g},a);return b.registerBeforeFinishCallback(m=>{this._collectWebVitals(),w4t(m)}),b}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:a}=this.options,o="ui.action.click";if(t&&(t.finish(),t=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${o} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Vn.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}const s=this._getCurrentHub(),{location:l}=lo,u={name:this._latestRouteName,op:o,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=obe(s,u,r,i,!0,{location:l},a)};["click"].forEach(r=>{addEventListener(r,n,{once:!1,capture:!0})})}}function ybe(e){const t=s2t(`meta[name=${e}]`);return t?t.getAttribute("content"):null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&a4t();const B4t={black:"#000",white:"#fff"},LA=B4t,P4t={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},bb=P4t,F4t={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},N4t=F4t,$4t={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},wb=$4t,z4t={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},U4t=z4t,j4t={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},H4t=j4t,q4t={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},hg=q4t,W4t={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},kb=W4t,G4t={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},V4t=G4t,K4t={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Y4t=K4t,X4t={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},_b=X4t,J4t={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},Z4t=J4t,Q4t={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},e3t=Q4t,t3t={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},n3t=t3t,r3t={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ek=r3t,i3t={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},a3t=i3t,o3t={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},s3t=o3t,l3t={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},UUe=l3t,u3t={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},c3t=u3t;function Fb(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function jUe(e){if(!Fb(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=jUe(e[n])}),t}function hh(e,t,n={clone:!0}){const r=n.clone?Ne({},e):e;return Fb(e)&&Fb(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Fb(t[i])&&i in e&&Fb(e[i])?r[i]=hh(e[i],t[i],n):n.clone?r[i]=Fb(t[i])?jUe(t[i]):t[i]:r[i]=t[i])}),r}var HUe={exports:{}},f3t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",d3t=f3t,h3t=d3t;function qUe(){}function WUe(){}WUe.resetWarningCache=qUe;var p3t=function(){function e(r,i,a,o,s,l){if(l!==h3t){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:WUe,resetWarningCache:qUe};return n.PropTypes=n,n};HUe.exports=p3t();var Wfe=HUe.exports;const bi=ls(Wfe);function h2(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function i1(e,t=166){let n;function r(...i){const a=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function g3t(e,t){return()=>null}function CS(e,t){return C.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function hl(e){return e&&e.ownerDocument||document}function wh(e){return hl(e).defaultView||window}function m3t(e,t){return()=>null}function IL(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const v3t=typeof window<"u"?C.useLayoutEffect:C.useEffect,Sf=v3t;let bbe=0;function y3t(e){const[t,n]=C.useState(e),r=e||t;return C.useEffect(()=>{t==null&&(bbe+=1,n(`mui-${bbe}`))},[t]),r}const wbe=v4["useId"];function g7(e){if(wbe!==void 0){const t=wbe();return e??t}return y3t(e)}function b3t(e,t,n,r,i){return null}function kh({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=C.useRef(e!==void 0),[a,o]=C.useState(t),s=i?e:a,l=C.useCallback(u=>{i||o(u)},[]);return[s,l]}function ya(e){const t=C.useRef(e);return Sf(()=>{t.current=e}),C.useCallback((...n)=>(0,t.current)(...n),[])}function co(...e){return C.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{IL(n,t)})},e)}let qN=!0,Cae=!1,kbe;const w3t={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function k3t(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&w3t[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function _3t(e){e.metaKey||e.altKey||e.ctrlKey||(qN=!0)}function dq(){qN=!1}function C3t(){this.visibilityState==="hidden"&&Cae&&(qN=!0)}function E3t(e){e.addEventListener("keydown",_3t,!0),e.addEventListener("mousedown",dq,!0),e.addEventListener("pointerdown",dq,!0),e.addEventListener("touchstart",dq,!0),e.addEventListener("visibilitychange",C3t,!0)}function x3t(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return qN||k3t(t)}function Gfe(){const e=C.useCallback(i=>{i!=null&&E3t(i.ownerDocument)},[]),t=C.useRef(!1);function n(){return t.current?(Cae=!0,window.clearTimeout(kbe),kbe=window.setTimeout(()=>{Cae=!1},100),t.current=!1,!0):!1}function r(i){return x3t(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function GUe(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Uw;function VUe(){if(Uw)return Uw;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Uw="reverse",e.scrollLeft>0?Uw="default":(e.scrollLeft=1,e.scrollLeft===0&&(Uw="negative")),document.body.removeChild(e),Uw}function _be(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(VUe()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}const S3t=e=>{const t=C.useRef({});return C.useEffect(()=>{t.current=e}),t.current},KUe=S3t;function Vfe(e,t){const n=Ne({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Ne({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},a=t[r];n[r]={},!a||!Object.keys(a)?n[r]=i:!i||!Object.keys(i)?n[r]=a:(n[r]=Ne({},a),Object.keys(i).forEach(o=>{n[r][o]=Vfe(i[o],a[o])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Er(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((a,o)=>{if(o){const s=t(o);s!==""&&a.push(s),n&&n[o]&&a.push(n[o])}return a},[]).join(" ")}),r}const Cbe=e=>e,A3t=()=>{let e=Cbe;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Cbe}}},T3t=A3t(),Kfe=T3t,D3t={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function xr(e,t,n="Mui"){const r=D3t[t];return r?`${n}-${r}`:`${Kfe.generate(e)}-${t}`}function Sr(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=xr(e,i,n)}),r}var I3t=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,R3t=Vze(function(e){return I3t.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),M3t=R3t,O3t=function(t){return t!=="theme"},Ebe=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?M3t:O3t},xbe=function(t,n,r){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},L3t=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Jze(n,r,i),Xvt(function(){return kfe(n,r,i)}),null},B3t=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=xbe(t,n,r),l=s||Ebe(i),u=!l("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;ht($3t(i)?n:i):t})}/** * @mui/styled-engine v5.11.11 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function YUe(e,t){return F3t(e,t)}const z3t=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function ES(e,t){return t?hh(e,t,{clone:!1}):e}const Yfe={xs:0,sm:600,md:900,lg:1200,xl:1536},Sbe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Yfe[e]}px)`};function a1(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Sbe;return t.reduce((o,s,l)=>(o[a.up(a.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const a=r.breakpoints||Sbe;return Object.keys(t).reduce((o,s)=>{if(Object.keys(a.values||Yfe).indexOf(s)!==-1){const l=a.up(s);o[l]=n(t[s],s)}else{const l=s;o[l]=t[l]}return o},{})}return n(t)}function U3t(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const a=e.up(i);return r[a]={},r},{}))||{}}function j3t(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function WN(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function RL(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=WN(e,n)||r,t&&(i=t(i,r,e)),i}function Da(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=o=>{if(o[t]==null)return null;const s=o[t],l=o.theme,u=WN(l,r)||{};return a1(o,s,f=>{let d=RL(u,i,f);return f===d&&typeof f=="string"&&(d=RL(u,i,`${t}${f==="default"?"":_n(f)}`,f)),n===!1?d:{[n]:d}})};return a.propTypes={},a.filterProps=[t],a}function GN(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(a=>{r[a]=i}),r),{}),n=r=>Object.keys(r).reduce((i,a)=>t[a]?ES(i,t[a](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function H3t(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const q3t={m:"margin",p:"padding"},W3t={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Abe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},G3t=H3t(e=>{if(e.length>2)if(Abe[e])e=Abe[e];else return[e];const[t,n]=e.split(""),r=q3t[t],i=W3t[n]||"";return Array.isArray(i)?i.map(a=>r+a):[r+i]}),Xfe=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jfe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Xfe,...Jfe];function m7(e,t,n,r){var i;const a=(i=WN(e,t,!1))!=null?i:n;return typeof a=="number"?o=>typeof o=="string"?o:a*o:Array.isArray(a)?o=>typeof o=="string"?o:a[o]:typeof a=="function"?a:()=>{}}function XUe(e){return m7(e,"spacing",8)}function v7(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function V3t(e,t){return n=>e.reduce((r,i)=>(r[i]=v7(t,n),r),{})}function K3t(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=G3t(n),a=V3t(i,r),o=e[n];return a1(e,o,a)}function JUe(e,t){const n=XUe(e.theme);return Object.keys(e).map(r=>K3t(e,t,r,n)).reduce(ES,{})}function Ds(e){return JUe(e,Xfe)}Ds.propTypes={};Ds.filterProps=Xfe;function Is(e){return JUe(e,Jfe)}Is.propTypes={};Is.filterProps=Jfe;function Tp(e){return typeof e!="number"?e:`${e}px solid`}const Y3t=Da({prop:"border",themeKey:"borders",transform:Tp}),X3t=Da({prop:"borderTop",themeKey:"borders",transform:Tp}),J3t=Da({prop:"borderRight",themeKey:"borders",transform:Tp}),Z3t=Da({prop:"borderBottom",themeKey:"borders",transform:Tp}),Q3t=Da({prop:"borderLeft",themeKey:"borders",transform:Tp}),ewt=Da({prop:"borderColor",themeKey:"palette"}),twt=Da({prop:"borderTopColor",themeKey:"palette"}),nwt=Da({prop:"borderRightColor",themeKey:"palette"}),rwt=Da({prop:"borderBottomColor",themeKey:"palette"}),iwt=Da({prop:"borderLeftColor",themeKey:"palette"}),VN=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=m7(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:v7(t,r)});return a1(e,e.borderRadius,n)}return null};VN.propTypes={};VN.filterProps=["borderRadius"];GN(Y3t,X3t,J3t,Z3t,Q3t,ewt,twt,nwt,rwt,iwt,VN);const KN=e=>{if(e.gap!==void 0&&e.gap!==null){const t=m7(e.theme,"spacing",8),n=r=>({gap:v7(t,r)});return a1(e,e.gap,n)}return null};KN.propTypes={};KN.filterProps=["gap"];const YN=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=m7(e.theme,"spacing",8),n=r=>({columnGap:v7(t,r)});return a1(e,e.columnGap,n)}return null};YN.propTypes={};YN.filterProps=["columnGap"];const XN=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=m7(e.theme,"spacing",8),n=r=>({rowGap:v7(t,r)});return a1(e,e.rowGap,n)}return null};XN.propTypes={};XN.filterProps=["rowGap"];const awt=Da({prop:"gridColumn"}),owt=Da({prop:"gridRow"}),swt=Da({prop:"gridAutoFlow"}),lwt=Da({prop:"gridAutoColumns"}),uwt=Da({prop:"gridAutoRows"}),cwt=Da({prop:"gridTemplateColumns"}),fwt=Da({prop:"gridTemplateRows"}),dwt=Da({prop:"gridTemplateAreas"}),hwt=Da({prop:"gridArea"});GN(KN,YN,XN,awt,owt,swt,lwt,uwt,cwt,fwt,dwt,hwt);function k6(e,t){return t==="grey"?t:e}const pwt=Da({prop:"color",themeKey:"palette",transform:k6}),gwt=Da({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k6}),mwt=Da({prop:"backgroundColor",themeKey:"palette",transform:k6});GN(pwt,gwt,mwt);function Xf(e){return e<=1&&e!==0?`${e*100}%`:e}const vwt=Da({prop:"width",transform:Xf}),Zfe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,a;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(a=i.values)==null?void 0:a[n])||Yfe[n]||Xf(n)}};return a1(e,e.maxWidth,t)}return null};Zfe.filterProps=["maxWidth"];const ywt=Da({prop:"minWidth",transform:Xf}),bwt=Da({prop:"height",transform:Xf}),wwt=Da({prop:"maxHeight",transform:Xf}),kwt=Da({prop:"minHeight",transform:Xf});Da({prop:"size",cssProperty:"width",transform:Xf});Da({prop:"size",cssProperty:"height",transform:Xf});const _wt=Da({prop:"boxSizing"});GN(vwt,Zfe,ywt,bwt,wwt,kwt,_wt);const hq=e=>t=>{if(t[e]!==void 0&&t[e]!==null){const n=r=>{var i,a;let o=(i=t.theme.typography)==null?void 0:i[`${e}${t[e]==="default"||t[e]===e?"":_n((a=t[e])==null?void 0:a.toString())}`];if(!o){var s,l;o=(s=t.theme.typography)==null||(l=s[r])==null?void 0:l[e]}return o||(o=r),{[e]:o}};return a1(t,t[e],n)}return null},Cwt={border:{themeKey:"borders",transform:Tp},borderTop:{themeKey:"borders",transform:Tp},borderRight:{themeKey:"borders",transform:Tp},borderBottom:{themeKey:"borders",transform:Tp},borderLeft:{themeKey:"borders",transform:Tp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:VN},color:{themeKey:"palette",transform:k6},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k6},backgroundColor:{themeKey:"palette",transform:k6},p:{style:Is},pt:{style:Is},pr:{style:Is},pb:{style:Is},pl:{style:Is},px:{style:Is},py:{style:Is},padding:{style:Is},paddingTop:{style:Is},paddingRight:{style:Is},paddingBottom:{style:Is},paddingLeft:{style:Is},paddingX:{style:Is},paddingY:{style:Is},paddingInline:{style:Is},paddingInlineStart:{style:Is},paddingInlineEnd:{style:Is},paddingBlock:{style:Is},paddingBlockStart:{style:Is},paddingBlockEnd:{style:Is},m:{style:Ds},mt:{style:Ds},mr:{style:Ds},mb:{style:Ds},ml:{style:Ds},mx:{style:Ds},my:{style:Ds},margin:{style:Ds},marginTop:{style:Ds},marginRight:{style:Ds},marginBottom:{style:Ds},marginLeft:{style:Ds},marginX:{style:Ds},marginY:{style:Ds},marginInline:{style:Ds},marginInlineStart:{style:Ds},marginInlineEnd:{style:Ds},marginBlock:{style:Ds},marginBlockStart:{style:Ds},marginBlockEnd:{style:Ds},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:KN},rowGap:{style:XN},columnGap:{style:YN},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xf},maxWidth:{style:Zfe},minWidth:{transform:Xf},height:{transform:Xf},maxHeight:{transform:Xf},minHeight:{transform:Xf},boxSizing:{},fontFamily:{themeKey:"typography",style:hq("fontFamily")},fontSize:{themeKey:"typography",style:hq("fontSize")},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography",style:hq("fontWeight")},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},JN=Cwt;function Ewt(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function xwt(e,t){return typeof e=="function"?e(t):e}function Swt(){function e(n,r,i,a){const o={[n]:r,theme:i},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=s;if(r==null)return null;const d=WN(i,u)||{};return f?f(o):a1(o,r,p=>{let g=RL(d,c,p);return p===g&&typeof p=="string"&&(g=RL(d,c,`${n}${p==="default"?"":_n(p)}`,p)),l===!1?g:{[l]:g}})}function t(n){var r;const{sx:i,theme:a={}}=n||{};if(!i)return null;const o=(r=a.unstable_sxConfig)!=null?r:JN;function s(l){let u=l;if(typeof l=="function")u=l(a);else if(typeof l!="object")return l;if(!u)return null;const c=U3t(a.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(h=>{const p=xwt(u[h],a);if(p!=null)if(typeof p=="object")if(o[h])d=ES(d,e(h,p,a,o));else{const g=a1({theme:a},p,b=>({[h]:b}));Ewt(g,p)?d[h]=t({sx:p,theme:a}):d=ES(d,g)}else d=ES(d,e(h,p,a,o))}),j3t(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const ZUe=Swt();ZUe.filterProps=["sx"];const ZN=ZUe,Awt=["sx"],Twt=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:JN;return Object.keys(e).forEach(a=>{i[a]?r.systemProps[a]=e[a]:r.otherProps[a]=e[a]}),r};function QUe(e){const{sx:t}=e,n=Sn(e,Awt),{systemProps:r,otherProps:i}=Twt(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...o)=>{const s=t(...o);return Fb(s)?Ne({},r,s):r}:a=Ne({},r,t),Ne({},i,{sx:a})}function eje(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Ne({},n,{[r.key]:r.val}),{})};function Rwt(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=Sn(e,Dwt),a=Iwt(t),o=Object.keys(a);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,h){const p=o.indexOf(h);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(p!==-1&&typeof t[o[p]]=="number"?t[o[p]]:h)-r/100}${n})`}function c(d){return o.indexOf(d)+1(r.length===0?[1]:r).map(a=>{const o=t(a);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}const Bwt=["breakpoints","palette","spacing","shape"];function Qfe(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:a={}}=e,o=Sn(e,Bwt),s=Rwt(n),l=Lwt(i);let u=hh({breakpoints:s,direction:"ltr",components:{},palette:Ne({mode:"light"},r),spacing:l,shape:Ne({},Owt,a)},o);return u=t.reduce((c,f)=>hh(c,f),u),u.unstable_sxConfig=Ne({},JN,o?.unstable_sxConfig),u.unstable_sx=function(f){return ZN({sx:f,theme:this})},u}const Pwt=C.createContext(null),tje=Pwt;function nje(){return C.useContext(tje)}const Fwt=typeof Symbol=="function"&&Symbol.for,Nwt=Fwt?Symbol.for("mui.nested"):"__THEME_NESTED__";function $wt(e,t){return typeof t=="function"?t(e):Ne({},e,t)}function zwt(e){const{children:t,theme:n}=e,r=nje(),i=C.useMemo(()=>{const a=r===null?n:$wt(r,n);return a!=null&&(a[Nwt]=r!==null),a},[n,r]);return me(tje.Provider,{value:i,children:t})}function Uwt(e){return Object.keys(e).length===0}function rje(e=null){const t=nje();return!t||Uwt(t)?e:t}const jwt=Qfe();function WC(e=jwt){return rje(e)}const Hwt=["className","component"];function qwt(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,i=YUe("div",{shouldForwardProp:o=>o!=="theme"&&o!=="sx"&&o!=="as"})(ZN);return C.forwardRef(function(s,l){const u=WC(t),c=QUe(s),{className:f,component:d="div"}=c,h=Sn(c,Hwt);return me(i,Ne({as:d,ref:l,className:mn(f,r?r(n):n),theme:u},h))})}const Wwt=["variant"];function Tbe(e){return e.length===0}function ije(e){const{variant:t}=e,n=Sn(e,Wwt);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Tbe(r)?e[i]:_n(e[i]):r+=`${Tbe(r)?i:_n(i)}${_n(e[i].toString())}`}),r}const Gwt=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Vwt=["theme"],Kwt=["theme"];function I5(e){return Object.keys(e).length===0}function Ywt(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Xwt=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Jwt=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const a=ije(i.props);r[a]=i.style}),r},Zwt=(e,t,n,r)=>{var i,a;const{ownerState:o={}}=e,s=[],l=n==null||(i=n.components)==null||(a=i[r])==null?void 0:a.variants;return l&&l.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{o[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&s.push(t[ije(u.props)])}),s};function xS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Qwt=Qfe();function ekt(e={}){const{defaultTheme:t=Qwt,rootShouldForwardProp:n=xS,slotShouldForwardProp:r=xS}=e,i=a=>{const o=I5(a.theme)?t:a.theme;return ZN(Ne({},a,{theme:o}))};return i.__mui_systemSx=!0,(a,o={})=>{z3t(a,w=>w.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:f}=o,d=Sn(o,Gwt),h=u!==void 0?u:l&&l!=="Root"||!1,p=c||!1;let g,b=xS;l==="Root"?b=n:l?b=r:Ywt(a)&&(b=void 0);const m=YUe(a,Ne({shouldForwardProp:b,label:g},d)),v=(w,...k)=>{const E=k?k.map(M=>typeof M=="function"&&M.__emotion_real!==M?D=>{let{theme:I}=D,B=Sn(D,Vwt);return M(Ne({theme:I5(I)?t:I},B))}:M):[];let S=w;s&&f&&E.push(M=>{const D=I5(M.theme)?t:M.theme,I=Xwt(s,D);if(I){const B={};return Object.entries(I).forEach(([N,O])=>{B[N]=typeof O=="function"?O(Ne({},M,{theme:D})):O}),f(M,B)}return null}),s&&!h&&E.push(M=>{const D=I5(M.theme)?t:M.theme;return Zwt(M,Jwt(s,D),D,s)}),p||E.push(i);const T=E.length-k.length;if(Array.isArray(w)&&T>0){const M=new Array(T).fill("");S=[...w,...M],S.raw=[...w.raw,...M]}else typeof w=="function"&&w.__emotion_real!==w&&(S=M=>{let{theme:D}=M,I=Sn(M,Kwt);return w(Ne({theme:I5(D)?t:D},I))});return m(S,...E)};return m.withConfig&&(v.withConfig=m.withConfig),v}}function tkt(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Vfe(t.components[n].defaultProps,r)}function nkt({props:e,name:t,defaultTheme:n}){const r=WC(n);return tkt({theme:r,name:t,props:e})}function ede(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function rkt(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function A4(e){if(e.type)return e;if(e.charAt(0)==="#")return A4(rkt(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(h2(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(h2(10,i))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:i}}function QN(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,a)=>a<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function ikt(e){e=A4(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(u,c=(u+n/30)%12)=>i-a*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),QN({type:s,values:l})}function xae(e){e=A4(e);let t=e.type==="hsl"||e.type==="hsla"?A4(ikt(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function akt(e,t){const n=xae(e),r=xae(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Li(e,t){return e=A4(e),t=ede(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,QN(e)}function ML(e,t){if(e=A4(e),t=ede(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return QN(e)}function OL(e,t){if(e=A4(e),t=ede(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return QN(e)}function okt(e,t=.15){return xae(e)>.5?ML(e,t):OL(e,t)}const skt={};function lkt(e){const t=WC();return me(Cfe.Provider,{value:typeof t=="object"?t:skt,children:e.children})}function y7(e){const{children:t,theme:n}=e;return me(zwt,{theme:n,children:me(lkt,{children:t})})}function ukt(e,t){return Ne({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ckt=["mode","contrastThreshold","tonalOffset"],Dbe={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:LA.white,default:LA.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},pq={text:{primary:LA.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:LA.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ibe(e,t,n,r){const i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=OL(e.main,i):t==="dark"&&(e.dark=ML(e.main,a)))}function fkt(e="light"){return e==="dark"?{main:hg[200],light:hg[50],dark:hg[400]}:{main:hg[700],light:hg[400],dark:hg[800]}}function dkt(e="light"){return e==="dark"?{main:wb[200],light:wb[50],dark:wb[400]}:{main:wb[500],light:wb[300],dark:wb[700]}}function hkt(e="light"){return e==="dark"?{main:bb[500],light:bb[300],dark:bb[700]}:{main:bb[700],light:bb[400],dark:bb[800]}}function pkt(e="light"){return e==="dark"?{main:kb[400],light:kb[300],dark:kb[700]}:{main:kb[700],light:kb[500],dark:kb[900]}}function gkt(e="light"){return e==="dark"?{main:_b[400],light:_b[300],dark:_b[700]}:{main:_b[800],light:_b[500],dark:_b[900]}}function mkt(e="light"){return e==="dark"?{main:Ek[400],light:Ek[300],dark:Ek[700]}:{main:"#ed6c02",light:Ek[500],dark:Ek[900]}}function vkt(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=Sn(e,ckt),a=e.primary||fkt(t),o=e.secondary||dkt(t),s=e.error||hkt(t),l=e.info||pkt(t),u=e.success||gkt(t),c=e.warning||mkt(t);function f(g){return akt(g,pq.text.primary)>=n?pq.text.primary:Dbe.text.primary}const d=({color:g,name:b,mainShade:m=500,lightShade:v=300,darkShade:w=700})=>{if(g=Ne({},g),!g.main&&g[m]&&(g.main=g[m]),!g.hasOwnProperty("main"))throw new Error(h2(11,b?` (${b})`:"",m));if(typeof g.main!="string")throw new Error(h2(12,b?` (${b})`:"",JSON.stringify(g.main)));return Ibe(g,"light",v,r),Ibe(g,"dark",w,r),g.contrastText||(g.contrastText=f(g.main)),g},h={dark:pq,light:Dbe};return hh(Ne({common:Ne({},LA),mode:t,primary:d({color:a,name:"primary"}),secondary:d({color:o,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:UUe,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},h[t]),i)}const ykt=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function bkt(e){return Math.round(e*1e5)/1e5}const Rbe={textTransform:"uppercase"},Mbe='"Roboto", "Helvetica", "Arial", sans-serif';function wkt(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Mbe,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=Sn(n,ykt),h=i/14,p=f||(m=>`${m/u*h}rem`),g=(m,v,w,k,E)=>Ne({fontFamily:r,fontWeight:m,fontSize:p(v),lineHeight:w},r===Mbe?{letterSpacing:`${bkt(k/v)}em`}:{},E,c),b={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(s,14,1.75,.4,Rbe),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,Rbe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return hh(Ne({htmlFontSize:u,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:l},b),d,{clone:!1})}const kkt=.2,_kt=.14,Ckt=.12;function Jo(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${kkt})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_kt})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ckt})`].join(",")}const Ekt=["none",Jo(0,2,1,-1,0,1,1,0,0,1,3,0),Jo(0,3,1,-2,0,2,2,0,0,1,5,0),Jo(0,3,3,-2,0,3,4,0,0,1,8,0),Jo(0,2,4,-1,0,4,5,0,0,1,10,0),Jo(0,3,5,-1,0,5,8,0,0,1,14,0),Jo(0,3,5,-1,0,6,10,0,0,1,18,0),Jo(0,4,5,-2,0,7,10,1,0,2,16,1),Jo(0,5,5,-3,0,8,10,1,0,3,14,2),Jo(0,5,6,-3,0,9,12,1,0,3,16,2),Jo(0,6,6,-3,0,10,14,1,0,4,18,3),Jo(0,6,7,-4,0,11,15,1,0,4,20,3),Jo(0,7,8,-4,0,12,17,2,0,5,22,4),Jo(0,7,8,-4,0,13,19,2,0,5,24,4),Jo(0,7,9,-4,0,14,21,2,0,5,26,4),Jo(0,8,9,-5,0,15,22,2,0,6,28,5),Jo(0,8,10,-5,0,16,24,2,0,6,30,5),Jo(0,8,11,-5,0,17,26,2,0,6,32,5),Jo(0,9,11,-5,0,18,28,2,0,7,34,6),Jo(0,9,12,-6,0,19,29,2,0,7,36,6),Jo(0,10,13,-6,0,20,31,3,0,8,38,7),Jo(0,10,13,-6,0,21,33,3,0,8,40,7),Jo(0,10,14,-6,0,22,35,3,0,8,42,7),Jo(0,11,14,-7,0,23,36,3,0,9,44,8),Jo(0,11,15,-7,0,24,38,3,0,9,46,8)],xkt=Ekt,Skt=["duration","easing","delay"],Akt={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},aje={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Obe(e){return`${Math.round(e)}ms`}function Tkt(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Dkt(e){const t=Ne({},Akt,e.easing),n=Ne({},aje,e.duration);return Ne({getAutoHeightDuration:Tkt,create:(i=["all"],a={})=>{const{duration:o=n.standard,easing:s=t.easeInOut,delay:l=0}=a;return Sn(a,Skt),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof o=="string"?o:Obe(o)} ${s} ${typeof l=="string"?l:Obe(l)}`).join(",")}},e,{easing:t,duration:n})}const Ikt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Rkt=Ikt,Mkt=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function h3(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,o=Sn(e,Mkt);if(e.vars)throw new Error(h2(18));const s=vkt(r),l=Qfe(e);let u=hh(l,{mixins:ukt(l.breakpoints,n),palette:s,shadows:xkt.slice(),typography:wkt(s,a),transitions:Dkt(i),zIndex:Ne({},Rkt)});return u=hh(u,o),u=t.reduce((c,f)=>hh(c,f),u),u.unstable_sxConfig=Ne({},JN,o?.unstable_sxConfig),u.unstable_sx=function(f){return ZN({sx:f,theme:this})},u}const Okt=h3(),e$=Okt;function Df(){return WC(e$)}function yr({props:e,name:t}){return nkt({props:e,name:t,defaultTheme:e$})}const gd=e=>xS(e)&&e!=="classes",Lkt=xS,Bkt=ekt({defaultTheme:e$,rootShouldForwardProp:gd}),dn=Bkt,Pkt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Lbe=Pkt;function i_(e){return typeof e=="string"}function _9(e,t,n){return e===void 0||i_(e)?t:Ne({},t,{ownerState:Ne({},t.ownerState,n)})}const Fkt={disableDefaultClasses:!1},Nkt=C.createContext(Fkt);function oje(e){const{disableDefaultClasses:t}=C.useContext(Nkt);return n=>t?"":e(n)}function sje(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Sae(e,t){return typeof e=="function"?e(t):e}function Bbe(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function $kt(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){const h=mn(i?.className,r?.className,a,n?.className),p=Ne({},n?.style,i?.style,r?.style),g=Ne({},n,i,r);return h.length>0&&(g.className=h),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:void 0}}const o=sje(Ne({},i,r)),s=Bbe(r),l=Bbe(i),u=t(o),c=mn(u?.className,n?.className,a,i?.className,r?.className),f=Ne({},u?.style,n?.style,i?.style,r?.style),d=Ne({},u,n,l,s);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const zkt=["elementType","externalSlotProps","ownerState"];function ed(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i}=e,a=Sn(e,zkt),o=Sae(r,i),{props:s,internalRef:l}=$kt(Ne({},a,{externalSlotProps:o})),u=co(l,o?.ref,(t=e.additionalProps)==null?void 0:t.ref);return _9(n,Ne({},s,{ref:u}),i)}function Ukt(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:i=!1}=e,a=KUe({badgeContent:t,max:r});let o=n;n===!1&&t===0&&!i&&(o=!0);const{badgeContent:s,max:l=r}=o?a:e,u=s&&Number(s)>l?`${l}+`:s;return{badgeContent:s,invisible:o,max:l,displayValue:u}}function Pbe(e){return e.substring(2).toLowerCase()}function jkt(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=co(t.ref,s),f=ya(p=>{const g=u.current;u.current=!1;const b=hl(s.current);if(!l.current||!s.current||"clientX"in p&&jkt(p,b))return;if(o.current){o.current=!1;return}let m;p.composedPath?m=p.composedPath().indexOf(s.current)>-1:m=!b.documentElement.contains(p.target)||s.current.contains(p.target),!m&&(n||!g)&&i(p)}),d=p=>g=>{u.current=!0;const b=t.props[p];b&&b(g)},h={ref:c};return a!==!1&&(h[a]=d(a)),C.useEffect(()=>{if(a!==!1){const p=Pbe(a),g=hl(s.current),b=()=>{o.current=!0};return g.addEventListener(p,f),g.addEventListener("touchmove",b),()=>{g.removeEventListener(p,f),g.removeEventListener("touchmove",b)}}},[f,a]),r!==!1&&(h[r]=d(r)),C.useEffect(()=>{if(r!==!1){const p=Pbe(r),g=hl(s.current);return g.addEventListener(p,f),()=>{g.removeEventListener(p,f)}}},[f,r]),me(C.Fragment,{children:C.cloneElement(t,h)})}const qkt=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Wkt(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Gkt(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Vkt(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Gkt(e))}function Kkt(e){const t=[],n=[];return Array.from(e.querySelectorAll(qkt)).forEach((r,i)=>{const a=Wkt(r);a===-1||!Vkt(r)||(a===0?t.push(r):n.push({documentOrder:i,tabIndex:a,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function Ykt(){return!0}function Xkt(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Kkt,isEnabled:o=Ykt,open:s}=e,l=C.useRef(!1),u=C.useRef(null),c=C.useRef(null),f=C.useRef(null),d=C.useRef(null),h=C.useRef(!1),p=C.useRef(null),g=co(t.ref,p),b=C.useRef(null);C.useEffect(()=>{!s||!p.current||(h.current=!n)},[n,s]),C.useEffect(()=>{if(!s||!p.current)return;const w=hl(p.current);return p.current.contains(w.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),C.useEffect(()=>{if(!s||!p.current)return;const w=hl(p.current),k=T=>{const{current:L}=p;if(L!==null){if(!w.hasFocus()||r||!o()||l.current){l.current=!1;return}if(!L.contains(w.activeElement)){if(T&&d.current!==T.target||w.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let I=[];if((w.activeElement===u.current||w.activeElement===c.current)&&(I=a(p.current)),I.length>0){var M,D;const B=!!((M=b.current)!=null&&M.shiftKey&&((D=b.current)==null?void 0:D.key)==="Tab"),N=I[0],O=I[I.length-1];typeof N!="string"&&typeof O!="string"&&(B?O.focus():N.focus())}else L.focus()}}},E=T=>{b.current=T,!(r||!o()||T.key!=="Tab")&&w.activeElement===p.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())};w.addEventListener("focusin",k),w.addEventListener("keydown",E,!0);const S=setInterval(()=>{w.activeElement&&w.activeElement.tagName==="BODY"&&k(null)},50);return()=>{clearInterval(S),w.removeEventListener("focusin",k),w.removeEventListener("keydown",E,!0)}},[n,r,i,o,s,a]);const m=w=>{f.current===null&&(f.current=w.relatedTarget),h.current=!0,d.current=w.target;const k=t.props.onFocus;k&&k(w)},v=w=>{f.current===null&&(f.current=w.relatedTarget),h.current=!0};return zt(C.Fragment,{children:[me("div",{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),C.cloneElement(t,{ref:g,onFocus:m}),me("div",{tabIndex:s?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}var Cf="top",_h="bottom",Ch="right",Ef="left",tde="auto",b7=[Cf,_h,Ch,Ef],a_="start",BA="end",Jkt="clippingParents",lje="viewport",R5="popper",Zkt="reference",Fbe=b7.reduce(function(e,t){return e.concat([t+"-"+a_,t+"-"+BA])},[]),uje=[].concat(b7,[tde]).reduce(function(e,t){return e.concat([t,t+"-"+a_,t+"-"+BA])},[]),Qkt="beforeRead",e6t="read",t6t="afterRead",n6t="beforeMain",r6t="main",i6t="afterMain",a6t="beforeWrite",o6t="write",s6t="afterWrite",l6t=[Qkt,e6t,t6t,n6t,r6t,i6t,a6t,o6t,s6t];function o1(e){return e?(e.nodeName||"").toLowerCase():null}function Dh(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T4(e){var t=Dh(e).Element;return e instanceof t||e instanceof Element}function ph(e){var t=Dh(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function nde(e){if(typeof ShadowRoot>"u")return!1;var t=Dh(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function u6t(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!ph(a)||!o1(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function c6t(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(l,u){return l[u]="",l},{});!ph(i)||!o1(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const f6t={name:"applyStyles",enabled:!0,phase:"write",fn:u6t,effect:c6t,requires:["computeStyles"]};function Kp(e){return e.split("-")[0]}var i4=Math.max,LL=Math.min,o_=Math.round;function Aae(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function cje(){return!/^((?!chrome|android).)*safari/i.test(Aae())}function s_(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&ph(e)&&(i=e.offsetWidth>0&&o_(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&o_(r.height)/e.offsetHeight||1);var o=T4(e)?Dh(e):window,s=o.visualViewport,l=!cje()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/a,f=r.width/i,d=r.height/a;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function rde(e){var t=s_(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function fje(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&nde(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Hg(e){return Dh(e).getComputedStyle(e)}function d6t(e){return["table","td","th"].indexOf(o1(e))>=0}function U2(e){return((T4(e)?e.ownerDocument:e.document)||window.document).documentElement}function t$(e){return o1(e)==="html"?e:e.assignedSlot||e.parentNode||(nde(e)?e.host:null)||U2(e)}function Nbe(e){return!ph(e)||Hg(e).position==="fixed"?null:e.offsetParent}function h6t(e){var t=/firefox/i.test(Aae()),n=/Trident/i.test(Aae());if(n&&ph(e)){var r=Hg(e);if(r.position==="fixed")return null}var i=t$(e);for(nde(i)&&(i=i.host);ph(i)&&["html","body"].indexOf(o1(i))<0;){var a=Hg(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function w7(e){for(var t=Dh(e),n=Nbe(e);n&&d6t(n)&&Hg(n).position==="static";)n=Nbe(n);return n&&(o1(n)==="html"||o1(n)==="body"&&Hg(n).position==="static")?t:n||h6t(e)||t}function ide(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function SS(e,t,n){return i4(e,LL(t,n))}function p6t(e,t,n){var r=SS(e,t,n);return r>n?n:r}function dje(){return{top:0,right:0,bottom:0,left:0}}function hje(e){return Object.assign({},dje(),e)}function pje(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var g6t=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,hje(typeof t!="number"?t:pje(t,b7))};function m6t(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Kp(n.placement),l=ide(s),u=[Ef,Ch].indexOf(s)>=0,c=u?"height":"width";if(!(!a||!o)){var f=g6t(i.padding,n),d=rde(a),h=l==="y"?Cf:Ef,p=l==="y"?_h:Ch,g=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],b=o[l]-n.rects.reference[l],m=w7(a),v=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,w=g/2-b/2,k=f[h],E=v-d[c]-f[p],S=v/2-d[c]/2+w,T=SS(k,S,E),L=l;n.modifiersData[r]=(t={},t[L]=T,t.centerOffset=T-S,t)}}function v6t(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||fje(t.elements.popper,i)&&(t.elements.arrow=i))}const y6t={name:"arrow",enabled:!0,phase:"main",fn:m6t,effect:v6t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function l_(e){return e.split("-")[1]}var b6t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function w6t(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:o_(t*i)/i||0,y:o_(n*i)/i||0}}function $be(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,p=o.y,g=p===void 0?0:p,b=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var m=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),w=Ef,k=Cf,E=window;if(u){var S=w7(n),T="clientHeight",L="clientWidth";if(S===Dh(n)&&(S=U2(n),Hg(S).position!=="static"&&s==="absolute"&&(T="scrollHeight",L="scrollWidth")),S=S,i===Cf||(i===Ef||i===Ch)&&a===BA){k=_h;var M=f&&S===E&&E.visualViewport?E.visualViewport.height:S[T];g-=M-r.height,g*=l?1:-1}if(i===Ef||(i===Cf||i===_h)&&a===BA){w=Ch;var D=f&&S===E&&E.visualViewport?E.visualViewport.width:S[L];h-=D-r.width,h*=l?1:-1}}var I=Object.assign({position:s},u&&b6t),B=c===!0?w6t({x:h,y:g}):{x:h,y:g};if(h=B.x,g=B.y,l){var N;return Object.assign({},I,(N={},N[k]=v?"0":"",N[w]=m?"0":"",N.transform=(E.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",N))}return Object.assign({},I,(t={},t[k]=v?g+"px":"",t[w]=m?h+"px":"",t.transform="",t))}function k6t(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Kp(t.placement),variation:l_(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,$be(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,$be(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const _6t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:k6t,data:{}};var jD={passive:!0};function C6t(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,l=Dh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",n.update,jD)}),s&&l.addEventListener("resize",n.update,jD),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",n.update,jD)}),s&&l.removeEventListener("resize",n.update,jD)}}const E6t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:C6t,data:{}};var x6t={left:"right",right:"left",bottom:"top",top:"bottom"};function iO(e){return e.replace(/left|right|bottom|top/g,function(t){return x6t[t]})}var S6t={start:"end",end:"start"};function zbe(e){return e.replace(/start|end/g,function(t){return S6t[t]})}function ade(e){var t=Dh(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ode(e){return s_(U2(e)).left+ade(e).scrollLeft}function A6t(e,t){var n=Dh(e),r=U2(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=cje();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+ode(e),y:l}}function T6t(e){var t,n=U2(e),r=ade(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=i4(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=i4(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+ode(e),l=-r.scrollTop;return Hg(i||n).direction==="rtl"&&(s+=i4(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function sde(e){var t=Hg(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function gje(e){return["html","body","#document"].indexOf(o1(e))>=0?e.ownerDocument.body:ph(e)&&sde(e)?e:gje(t$(e))}function AS(e,t){var n;t===void 0&&(t=[]);var r=gje(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Dh(r),o=i?[a].concat(a.visualViewport||[],sde(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(AS(t$(o)))}function Tae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function D6t(e,t){var n=s_(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ube(e,t,n){return t===lje?Tae(A6t(e,n)):T4(t)?D6t(t,n):Tae(T6t(U2(e)))}function I6t(e){var t=AS(t$(e)),n=["absolute","fixed"].indexOf(Hg(e).position)>=0,r=n&&ph(e)?w7(e):e;return T4(r)?t.filter(function(i){return T4(i)&&fje(i,r)&&o1(i)!=="body"}):[]}function R6t(e,t,n,r){var i=t==="clippingParents"?I6t(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(l,u){var c=Ube(e,u,r);return l.top=i4(c.top,l.top),l.right=LL(c.right,l.right),l.bottom=LL(c.bottom,l.bottom),l.left=i4(c.left,l.left),l},Ube(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function mje(e){var t=e.reference,n=e.element,r=e.placement,i=r?Kp(r):null,a=r?l_(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Cf:l={x:o,y:t.y-n.height};break;case _h:l={x:o,y:t.y+t.height};break;case Ch:l={x:t.x+t.width,y:s};break;case Ef:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?ide(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case a_:l[u]=l[u]-(t[c]/2-n[c]/2);break;case BA:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function PA(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,l=s===void 0?Jkt:s,u=n.rootBoundary,c=u===void 0?lje:u,f=n.elementContext,d=f===void 0?R5:f,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,m=hje(typeof b!="number"?b:pje(b,b7)),v=d===R5?Zkt:R5,w=e.rects.popper,k=e.elements[p?v:d],E=R6t(T4(k)?k:k.contextElement||U2(e.elements.popper),l,c,o),S=s_(e.elements.reference),T=mje({reference:S,element:w,strategy:"absolute",placement:i}),L=Tae(Object.assign({},w,T)),M=d===R5?L:S,D={top:E.top-M.top+m.top,bottom:M.bottom-E.bottom+m.bottom,left:E.left-M.left+m.left,right:M.right-E.right+m.right},I=e.modifiersData.offset;if(d===R5&&I){var B=I[i];Object.keys(D).forEach(function(N){var O=[Ch,_h].indexOf(N)>=0?1:-1,R=[Cf,_h].indexOf(N)>=0?"y":"x";D[N]+=B[R]*O})}return D}function M6t(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?uje:l,c=l_(r),f=c?s?Fbe:Fbe.filter(function(p){return l_(p)===c}):b7,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,g){return p[g]=PA(e,{placement:g,boundary:i,rootBoundary:a,padding:o})[Kp(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function O6t(e){if(Kp(e)===tde)return[];var t=iO(e);return[zbe(e),t,zbe(t)]}function L6t(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,b=t.options.placement,m=Kp(b),v=m===b,w=l||(v||!p?[iO(b)]:O6t(b)),k=[b].concat(w).reduce(function(te,re){return te.concat(Kp(re)===tde?M6t(t,{placement:re,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):re)},[]),E=t.rects.reference,S=t.rects.popper,T=new Map,L=!0,M=k[0],D=0;D=0,R=O?"width":"height",P=PA(t,{placement:I,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),H=O?N?Ch:Ef:N?_h:Cf;E[R]>S[R]&&(H=iO(H));var F=iO(H),q=[];if(a&&q.push(P[B]<=0),s&&q.push(P[H]<=0,P[F]<=0),q.every(function(te){return te})){M=I,L=!1;break}T.set(I,q)}if(L)for(var V=p?3:1,X=function(re){var Q=k.find(function(ae){var le=T.get(ae);if(le)return le.slice(0,re).every(function(oe){return oe})});if(Q)return M=Q,"break"},G=V;G>0;G--){var J=X(G);if(J==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const B6t={name:"flip",enabled:!0,phase:"main",fn:L6t,requiresIfExists:["offset"],data:{_skip:!1}};function jbe(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hbe(e){return[Cf,Ch,_h,Ef].some(function(t){return e[t]>=0})}function P6t(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=PA(t,{elementContext:"reference"}),s=PA(t,{altBoundary:!0}),l=jbe(o,r),u=jbe(s,i,a),c=Hbe(l),f=Hbe(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const F6t={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:P6t};function N6t(e,t,n){var r=Kp(e),i=[Ef,Cf].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Ef,Ch].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function $6t(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=uje.reduce(function(c,f){return c[f]=N6t(f,t.rects,a),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const z6t={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$6t};function U6t(e){var t=e.state,n=e.name;t.modifiersData[n]=mje({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const j6t={name:"popperOffsets",enabled:!0,phase:"read",fn:U6t,data:{}};function H6t(e){return e==="x"?"y":"x"}function q6t(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,g=p===void 0?0:p,b=PA(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=Kp(t.placement),v=l_(t.placement),w=!v,k=ide(m),E=H6t(k),S=t.modifiersData.popperOffsets,T=t.rects.reference,L=t.rects.popper,M=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(S){if(a){var N,O=k==="y"?Cf:Ef,R=k==="y"?_h:Ch,P=k==="y"?"height":"width",H=S[k],F=H+b[O],q=H-b[R],V=h?-L[P]/2:0,X=v===a_?T[P]:L[P],G=v===a_?-L[P]:-T[P],J=t.elements.arrow,te=h&&J?rde(J):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:dje(),Q=re[O],ae=re[R],le=SS(0,T[P],te[P]),oe=w?T[P]/2-V-le-Q-D.mainAxis:X-le-Q-D.mainAxis,ee=w?-T[P]/2+V+le+ae+D.mainAxis:G+le+ae+D.mainAxis,ne=t.elements.arrow&&w7(t.elements.arrow),ue=ne?k==="y"?ne.clientTop||0:ne.clientLeft||0:0,Ae=(N=I?.[k])!=null?N:0,ce=H+oe-Ae-ue,be=H+ee-Ae,ge=SS(h?LL(F,ce):F,H,h?i4(q,be):q);S[k]=ge,B[k]=ge-H}if(s){var ve,ie=k==="x"?Cf:Ef,he=k==="x"?_h:Ch,$e=S[E],De=E==="y"?"height":"width",Ie=$e+b[ie],Be=$e-b[he],we=[Cf,Ef].indexOf(m)!==-1,je=(ve=I?.[E])!=null?ve:0,Oe=we?Ie:$e-T[De]-L[De]-je+D.altAxis,Re=we?$e+T[De]+L[De]-je-D.altAxis:Be,ye=h&&we?p6t(Oe,$e,Re):SS(h?Oe:Ie,$e,h?Re:Be);S[E]=ye,B[E]=ye-$e}t.modifiersData[r]=B}}const W6t={name:"preventOverflow",enabled:!0,phase:"main",fn:q6t,requiresIfExists:["offset"]};function G6t(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function V6t(e){return e===Dh(e)||!ph(e)?ade(e):G6t(e)}function K6t(e){var t=e.getBoundingClientRect(),n=o_(t.width)/e.offsetWidth||1,r=o_(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Y6t(e,t,n){n===void 0&&(n=!1);var r=ph(t),i=ph(t)&&K6t(t),a=U2(t),o=s_(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((o1(t)!=="body"||sde(a))&&(s=V6t(t)),ph(t)?(l=s_(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=ode(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function X6t(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function J6t(e){var t=X6t(e);return l6t.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Z6t(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Q6t(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var qbe={placement:"bottom",modifiers:[],strategy:"absolute"};function Wbe(){for(var e=arguments.length,t=new Array(e),n=0;n{a||s(r_t(i)||document.body)},[i,a]),Sf(()=>{if(o&&!a)return IL(n,o),()=>{IL(n,null)}},[n,o,a]),a){if(C.isValidElement(r)){const u={ref:l};return C.cloneElement(r,u)}return me(C.Fragment,{children:r})}return me(C.Fragment,{children:o&&am.createPortal(r,o)})}),vje=i_t;function a_t(e){return xr("MuiPopper",e)}Sr("MuiPopper",["root"]);const o_t=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],s_t=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function l_t(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Dae(e){return typeof e=="function"?e():e}function u_t(e){return e.nodeType!==void 0}const c_t=()=>Er({root:["root"]},oje(a_t)),f_t={},d_t=C.forwardRef(function(t,n){var r;const{anchorEl:i,children:a,component:o,direction:s,disablePortal:l,modifiers:u,open:c,ownerState:f,placement:d,popperOptions:h,popperRef:p,slotProps:g={},slots:b={},TransitionProps:m}=t,v=Sn(t,o_t),w=C.useRef(null),k=co(w,n),E=C.useRef(null),S=co(E,p),T=C.useRef(S);Sf(()=>{T.current=S},[S]),C.useImperativeHandle(p,()=>E.current,[]);const L=l_t(d,s),[M,D]=C.useState(L),[I,B]=C.useState(Dae(i));C.useEffect(()=>{E.current&&E.current.forceUpdate()}),C.useEffect(()=>{i&&B(Dae(i))},[i]),Sf(()=>{if(!I||!c)return;const H=V=>{D(V.placement)};let F=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:V})=>{H(V)}}];u!=null&&(F=F.concat(u)),h&&h.modifiers!=null&&(F=F.concat(h.modifiers));const q=n_t(I,w.current,Ne({placement:L},h,{modifiers:F}));return T.current(q),()=>{q.destroy(),T.current(null)}},[I,l,u,c,h,L]);const N={placement:M};m!==null&&(N.TransitionProps=m);const O=c_t(),R=(r=o??b.root)!=null?r:"div",P=ed({elementType:R,externalSlotProps:g.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:k},ownerState:Ne({},t,f),className:O.root});return me(R,Ne({},P,{children:typeof a=="function"?a(N):a}))}),h_t=C.forwardRef(function(t,n){const{anchorEl:r,children:i,container:a,direction:o="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=f_t,popperRef:h,style:p,transition:g=!1,slotProps:b={},slots:m={}}=t,v=Sn(t,s_t),[w,k]=C.useState(!0),E=()=>{k(!1)},S=()=>{k(!0)};if(!l&&!c&&(!g||w))return null;let T;if(a)T=a;else if(r){const D=Dae(r);T=D&&u_t(D)?hl(D).body:hl(null).body}const L=!c&&l&&(!g||w)?"none":void 0,M=g?{in:c,onEnter:E,onExited:S}:void 0;return me(vje,{disablePortal:s,container:T,children:me(d_t,Ne({anchorEl:r,direction:o,disablePortal:s,modifiers:u,ref:n,open:g?!w:c,placement:f,popperOptions:d,popperRef:h,slotProps:b,slots:m},v,{style:Ne({position:"fixed",top:0,left:0,display:L},p),TransitionProps:M,children:i}))})}),p_t=h_t;function g_t(e){const t=hl(e);return t.body===e?wh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function TS(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Gbe(e){return parseInt(wh(e).getComputedStyle(e).paddingRight,10)||0}function m_t(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Vbe(e,t,n,r,i){const a=[t,n,...r];[].forEach.call(e.children,o=>{const s=a.indexOf(o)===-1,l=!m_t(o);s&&l&&TS(o,i)})}function gq(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function v_t(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(g_t(r)){const o=GUe(hl(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Gbe(r)+o}px`;const s=hl(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Gbe(l)+o}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=hl(r).body;else{const o=r.parentElement,s=wh(r);a=o?.nodeName==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:o,property:s})=>{a?o.style.setProperty(s,a):o.style.removeProperty(s)})}}function y_t(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class b_t{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&TS(t.modalRef,!1);const i=y_t(n);Vbe(n,t.mount,t.modalRef,i,!0);const a=gq(this.containers,o=>o.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=gq(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=v_t(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=gq(this.containers,o=>o.modals.indexOf(t)!==-1),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&TS(t.modalRef,n),Vbe(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=a.modals[a.modals.length-1];o.modalRef&&TS(o.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function w_t(e){return xr("MuiModal",e)}Sr("MuiModal",["root","hidden","backdrop"]);const k_t=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],__t=e=>{const{open:t,exited:n}=e;return Er({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},oje(w_t))};function C_t(e){return typeof e=="function"?e():e}function E_t(e){return e?e.props.hasOwnProperty("in"):!1}const x_t=new b_t,S_t=C.forwardRef(function(t,n){var r,i;const{children:a,closeAfterTransition:o=!1,component:s,container:l,disableAutoFocus:u=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:f=!1,disablePortal:d=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:g=!1,keepMounted:b=!1,manager:m=x_t,onBackdropClick:v,onClose:w,onKeyDown:k,open:E,onTransitionEnter:S,onTransitionExited:T,slotProps:L={},slots:M={}}=t,D=Sn(t,k_t),[I,B]=C.useState(!E),N=C.useRef({}),O=C.useRef(null),R=C.useRef(null),P=co(R,n),H=E_t(a),F=(r=t["aria-hidden"])!=null?r:!0,q=()=>hl(O.current),V=()=>(N.current.modalRef=R.current,N.current.mountNode=O.current,N.current),X=()=>{m.mount(V(),{disableScrollLock:p}),R.current&&(R.current.scrollTop=0)},G=ya(()=>{const ve=C_t(l)||q().body;m.add(V(),ve),R.current&&X()}),J=C.useCallback(()=>m.isTopModal(V()),[m]),te=ya(ve=>{O.current=ve,!(!ve||!R.current)&&(E&&J()?X():TS(R.current,F))}),re=C.useCallback(()=>{m.remove(V(),F)},[m,F]);C.useEffect(()=>()=>{re()},[re]),C.useEffect(()=>{E?G():(!H||!o)&&re()},[E,re,H,o,G]);const Q=Ne({},t,{closeAfterTransition:o,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:f,disablePortal:d,disableRestoreFocus:h,disableScrollLock:p,exited:I,hideBackdrop:g,keepMounted:b}),ae=__t(Q),le=()=>{B(!1),S&&S()},oe=()=>{B(!0),T&&T(),o&&re()},ee=ve=>{ve.target===ve.currentTarget&&(v&&v(ve),w&&w(ve,"backdropClick"))},ne=ve=>{k&&k(ve),!(ve.key!=="Escape"||!J())&&(f||(ve.stopPropagation(),w&&w(ve,"escapeKeyDown")))},ue={};a.props.tabIndex===void 0&&(ue.tabIndex="-1"),H&&(ue.onEnter=_ae(le,a.props.onEnter),ue.onExited=_ae(oe,a.props.onExited));const Ae=(i=s??M.root)!=null?i:"div",ce=ed({elementType:Ae,externalSlotProps:L.root,externalForwardedProps:D,additionalProps:{ref:P,role:"presentation",onKeyDown:ne},className:ae.root,ownerState:Q}),be=M.backdrop,ge=ed({elementType:be,externalSlotProps:L.backdrop,additionalProps:{"aria-hidden":!0,onClick:ee,open:E},className:ae.backdrop,ownerState:Q});return!b&&!E&&(!H||I)?null:me(vje,{ref:te,container:l,disablePortal:d,children:zt(Ae,Ne({},ce,{children:[!g&&be?me(be,Ne({},ge)):null,me(Xkt,{disableEnforceFocus:c,disableAutoFocus:u,disableRestoreFocus:h,isEnabled:J,open:E,children:C.cloneElement(a,ue)})]}))})}),A_t=S_t;function T_t(e){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,ref:a,resumeHideDuration:o}=e,s=C.useRef();C.useEffect(()=>{if(!i)return;function v(w){w.defaultPrevented||(w.key==="Escape"||w.key==="Esc")&&r?.(w,"escapeKeyDown")}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[i,r]);const l=ya((v,w)=>{r?.(v,w)}),u=ya(v=>{!r||v==null||(clearTimeout(s.current),s.current=setTimeout(()=>{l(null,"timeout")},v))});C.useEffect(()=>(i&&u(t),()=>{clearTimeout(s.current)}),[i,t,u]);const c=v=>{r?.(v,"clickaway")},f=()=>{clearTimeout(s.current)},d=C.useCallback(()=>{t!=null&&u(o??t*.5)},[t,o,u]),h=v=>w=>{const k=v.onBlur;k?.(w),d()},p=v=>w=>{const k=v.onFocus;k?.(w),f()},g=v=>w=>{const k=v.onMouseEnter;k?.(w),f()},b=v=>w=>{const k=v.onMouseLeave;k?.(w),d()};return C.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",d),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",f)}},[n,d,i]),{getRootProps:(v={})=>{const w=sje(e),k=Ne({},w,v);return Ne({ref:a,role:"presentation"},k,{onBlur:h(k),onFocus:p(k),onMouseEnter:g(k),onMouseLeave:b(k)})},onClickAway:c}}const D_t=["onChange","maxRows","minRows","style","value"];function HD(e){return parseInt(e,10)||0}const I_t={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Kbe(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const R_t=C.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:a=1,style:o,value:s}=t,l=Sn(t,D_t),{current:u}=C.useRef(s!=null),c=C.useRef(null),f=co(n,c),d=C.useRef(null),h=C.useRef(0),[p,g]=C.useState({outerHeightStyle:0}),b=C.useCallback(()=>{const E=c.current,T=wh(E).getComputedStyle(E);if(T.width==="0px")return{outerHeightStyle:0};const L=d.current;L.style.width=T.width,L.value=E.value||t.placeholder||"x",L.value.slice(-1)===` -`&&(L.value+=" ");const M=T.boxSizing,D=HD(T.paddingBottom)+HD(T.paddingTop),I=HD(T.borderBottomWidth)+HD(T.borderTopWidth),B=L.scrollHeight;L.value="x";const N=L.scrollHeight;let O=B;a&&(O=Math.max(Number(a)*N,O)),i&&(O=Math.min(Number(i)*N,O)),O=Math.max(O,N);const R=O+(M==="border-box"?D+I:0),P=Math.abs(O-B)<=1;return{outerHeightStyle:R,overflow:P}},[i,a,t.placeholder]),m=(E,S)=>{const{outerHeightStyle:T,overflow:L}=S;return h.current<20&&(T>0&&Math.abs((E.outerHeightStyle||0)-T)>1||E.overflow!==L)?(h.current+=1,{overflow:L,outerHeightStyle:T}):E},v=C.useCallback(()=>{const E=b();Kbe(E)||g(S=>m(S,E))},[b]),w=()=>{const E=b();Kbe(E)||am.flushSync(()=>{g(S=>m(S,E))})};C.useEffect(()=>{const E=i1(()=>{h.current=0,c.current&&w()});let S;const T=c.current,L=wh(T);return L.addEventListener("resize",E),typeof ResizeObserver<"u"&&(S=new ResizeObserver(E),S.observe(T)),()=>{E.clear(),L.removeEventListener("resize",E),S&&S.disconnect()}}),Sf(()=>{v()}),C.useEffect(()=>{h.current=0},[s]);const k=E=>{h.current=0,u||v(),r&&r(E)};return zt(C.Fragment,{children:[me("textarea",Ne({value:s,onChange:k,ref:f,rows:a,style:Ne({height:p.outerHeightStyle,overflow:p.overflow?"hidden":void 0},o)},l)),me("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:Ne({},I_t.shadow,o,{padding:0})})]})}),M_t=R_t;function O_t(e){return xr("MuiSvgIcon",e)}Sr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const L_t=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],B_t=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${_n(t)}`,`fontSize${_n(n)}`]};return Er(i,O_t,r)},P_t=dn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${_n(n.color)}`],t[`fontSize${_n(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(a=i.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(h=(e.vars||e).palette)==null||(p=h[t.color])==null?void 0:p.main)!=null?d:{action:(g=(e.vars||e).palette)==null||(b=g.action)==null?void 0:b.active,disabled:(m=(e.vars||e).palette)==null||(v=m.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),yje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:o="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,h=Sn(r,L_t),p=Ne({},r,{color:o,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d}),g={};c||(g.viewBox=d);const b=B_t(p);return zt(P_t,Ne({as:s,className:mn(b.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},g,h,{ownerState:p,children:[i,f?me("title",{children:f}):null]}))});yje.muiName="SvgIcon";const Ybe=yje;function fo(e,t){function n(r,i){return me(Ybe,Ne({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Ybe.muiName,C.memo(C.forwardRef(n))}const F_t={configure:e=>{Kfe.configure(e)}},N_t=Object.freeze(Object.defineProperty({__proto__:null,capitalize:_n,createChainedFunction:_ae,createSvgIcon:fo,debounce:i1,deprecatedPropType:p3t,isMuiElement:CS,ownerDocument:hl,ownerWindow:wh,requirePropFactory:g3t,setRef:IL,unstable_ClassNameGenerator:F_t,unstable_useEnhancedEffect:Sf,unstable_useId:g7,unsupportedProp:y3t,useControlled:kh,useEventCallback:ya,useForkRef:co,useIsFocusVisible:Gfe},Symbol.toStringTag,{value:"Module"}));function Iae(e,t){return Iae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Iae(e,t)}function n$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Iae(e,t)}function $_t(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function z_t(e,t){e.classList?e.classList.add(t):$_t(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Xbe(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function U_t(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Xbe(e.className,t):e.setAttribute("class",Xbe(e.className&&e.className.baseVal||"",t))}const Jbe={disabled:!1},BL=gr.createContext(null);var bje=function(t){return t.scrollTop},C9="unmounted",Cb="exited",Eb="entering",xk="entered",Rae="exiting",lm=function(e){n$(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var o=i,s=o&&!o.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=Cb,a.appearStatus=Eb):l=xk:r.unmountOnExit||r.mountOnEnter?l=C9:l=Cb,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===C9?{status:Cb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Eb&&o!==xk&&(a=Eb):(o===Eb||o===xk)&&(a=Rae)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Eb){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Gk.findDOMNode(this);o&&bje(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Cb&&this.setState({status:C9})},n.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Gk.findDOMNode(this),s],u=l[0],c=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!o||Jbe.disabled){this.safeSetState({status:xk},function(){a.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Eb},function(){a.props.onEntering(u,c),a.onTransitionEnd(d,function(){a.safeSetState({status:xk},function(){a.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:Gk.findDOMNode(this);if(!a||Jbe.disabled){this.safeSetState({status:Cb},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Rae},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Cb},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Gk.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===C9)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Sn(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return gr.createElement(BL.Provider,{value:null},typeof o=="function"?o(i,s):gr.cloneElement(gr.Children.only(o),s))},t}(gr.Component);lm.contextType=BL;lm.propTypes={};function jw(){}lm.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jw,onEntering:jw,onEntered:jw,onExit:jw,onExiting:jw,onExited:jw};lm.UNMOUNTED=C9;lm.EXITED=Cb;lm.ENTERING=Eb;lm.ENTERED=xk;lm.EXITING=Rae;const k7=lm;var j_t=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return z_t(t,r)})},mq=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return U_t(t,r)})},lde=function(e){n$(t,e);function t(){for(var r,i=arguments.length,a=new Array(i),o=0;oe.scrollTop;function p2(e,t){var n,r;const{timeout:i,easing:a,style:o={}}=e;return{duration:(n=o.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=o.transitionTimingFunction)!=null?r:typeof a=="object"?a[t.mode]:a,delay:o.transitionDelay}}function X_t(e){return xr("MuiCollapse",e)}Sr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const J_t=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Z_t=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Er(r,X_t,n)},Q_t=dn("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>Ne({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&Ne({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),eCt=dn("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>Ne({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),tCt=dn("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>Ne({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),wje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:o,collapsedSize:s="0px",component:l,easing:u,in:c,onEnter:f,onEntered:d,onEntering:h,onExit:p,onExited:g,onExiting:b,orientation:m="vertical",style:v,timeout:w=aje.standard,TransitionComponent:k=k7}=r,E=Sn(r,J_t),S=Ne({},r,{orientation:m,collapsedSize:s}),T=Z_t(S),L=Df(),M=C.useRef(),D=C.useRef(null),I=C.useRef(),B=typeof s=="number"?`${s}px`:s,N=m==="horizontal",O=N?"width":"height";C.useEffect(()=>()=>{clearTimeout(M.current)},[]);const R=C.useRef(null),P=co(n,R),H=Q=>ae=>{if(Q){const le=R.current;ae===void 0?Q(le):Q(le,ae)}},F=()=>D.current?D.current[N?"clientWidth":"clientHeight"]:0,q=H((Q,ae)=>{D.current&&N&&(D.current.style.position="absolute"),Q.style[O]=B,f&&f(Q,ae)}),V=H((Q,ae)=>{const le=F();D.current&&N&&(D.current.style.position="");const{duration:oe,easing:ee}=p2({style:v,timeout:w,easing:u},{mode:"enter"});if(w==="auto"){const ne=L.transitions.getAutoHeightDuration(le);Q.style.transitionDuration=`${ne}ms`,I.current=ne}else Q.style.transitionDuration=typeof oe=="string"?oe:`${oe}ms`;Q.style[O]=`${le}px`,Q.style.transitionTimingFunction=ee,h&&h(Q,ae)}),X=H((Q,ae)=>{Q.style[O]="auto",d&&d(Q,ae)}),G=H(Q=>{Q.style[O]=`${F()}px`,p&&p(Q)}),J=H(g),te=H(Q=>{const ae=F(),{duration:le,easing:oe}=p2({style:v,timeout:w,easing:u},{mode:"exit"});if(w==="auto"){const ee=L.transitions.getAutoHeightDuration(ae);Q.style.transitionDuration=`${ee}ms`,I.current=ee}else Q.style.transitionDuration=typeof le=="string"?le:`${le}ms`;Q.style[O]=B,Q.style.transitionTimingFunction=oe,b&&b(Q)});return me(k,Ne({in:c,onEnter:q,onEntered:X,onEntering:V,onExit:G,onExited:J,onExiting:te,addEndListener:Q=>{w==="auto"&&(M.current=setTimeout(Q,I.current||0)),i&&i(R.current,Q)},nodeRef:R,timeout:w==="auto"?null:w},E,{children:(Q,ae)=>me(Q_t,Ne({as:l,className:mn(T.root,o,{entered:T.entered,exited:!c&&B==="0px"&&T.hidden}[Q]),style:Ne({[N?"minWidth":"minHeight"]:B},v),ownerState:Ne({},S,{state:Q}),ref:P},ae,{children:me(eCt,{ownerState:Ne({},S,{state:Q}),className:T.wrapper,ref:D,children:me(tCt,{ownerState:Ne({},S,{state:Q}),className:T.wrapperInner,children:a})})}))}))});wje.muiSupportAuto=!0;const r$=wje;function nCt(e){return xr("MuiPaper",e)}Sr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const rCt=["className","component","elevation","square","variant"],iCt=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Er(a,nCt,i)},aCt=dn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return Ne({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&Ne({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Li("#fff",Lbe(t.elevation))}, ${Li("#fff",Lbe(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),oCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiPaper"}),{className:i,component:a="div",elevation:o=1,square:s=!1,variant:l="elevation"}=r,u=Sn(r,rCt),c=Ne({},r,{component:a,elevation:o,square:s,variant:l}),f=iCt(c);return me(aCt,Ne({as:a,ownerState:c,className:mn(f.root,i),ref:n},u))}),j2=oCt;function sCt(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:l,timeout:u}=e,[c,f]=C.useState(!1),d=mn(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},p=mn(n.child,c&&n.childLeaving,r&&n.childPulsate);return!s&&!c&&f(!0),C.useEffect(()=>{if(!s&&l!=null){const g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,s,u]),me("span",{className:d,style:h,children:me("span",{className:p})})}const lCt=Sr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zd=lCt,uCt=["center","classes","className"];let i$=e=>e,Zbe,Qbe,e4e,t4e;const Mae=550,cCt=80,fCt=d7(Zbe||(Zbe=i$` + */function YUe(e,t){return N3t(e,t)}const U3t=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function ES(e,t){return t?hh(e,t,{clone:!1}):e}const Yfe={xs:0,sm:600,md:900,lg:1200,xl:1536},Sbe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Yfe[e]}px)`};function a1(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Sbe;return t.reduce((o,s,l)=>(o[a.up(a.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const a=r.breakpoints||Sbe;return Object.keys(t).reduce((o,s)=>{if(Object.keys(a.values||Yfe).indexOf(s)!==-1){const l=a.up(s);o[l]=n(t[s],s)}else{const l=s;o[l]=t[l]}return o},{})}return n(t)}function j3t(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const a=e.up(i);return r[a]={},r},{}))||{}}function H3t(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function WN(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function RL(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=WN(e,n)||r,t&&(i=t(i,r,e)),i}function Da(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=o=>{if(o[t]==null)return null;const s=o[t],l=o.theme,u=WN(l,r)||{};return a1(o,s,f=>{let d=RL(u,i,f);return f===d&&typeof f=="string"&&(d=RL(u,i,`${t}${f==="default"?"":_n(f)}`,f)),n===!1?d:{[n]:d}})};return a.propTypes={},a.filterProps=[t],a}function GN(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(a=>{r[a]=i}),r),{}),n=r=>Object.keys(r).reduce((i,a)=>t[a]?ES(i,t[a](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function q3t(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const W3t={m:"margin",p:"padding"},G3t={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Abe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},V3t=q3t(e=>{if(e.length>2)if(Abe[e])e=Abe[e];else return[e];const[t,n]=e.split(""),r=W3t[t],i=G3t[n]||"";return Array.isArray(i)?i.map(a=>r+a):[r+i]}),Xfe=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jfe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Xfe,...Jfe];function m7(e,t,n,r){var i;const a=(i=WN(e,t,!1))!=null?i:n;return typeof a=="number"?o=>typeof o=="string"?o:a*o:Array.isArray(a)?o=>typeof o=="string"?o:a[o]:typeof a=="function"?a:()=>{}}function XUe(e){return m7(e,"spacing",8)}function v7(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function K3t(e,t){return n=>e.reduce((r,i)=>(r[i]=v7(t,n),r),{})}function Y3t(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=V3t(n),a=K3t(i,r),o=e[n];return a1(e,o,a)}function JUe(e,t){const n=XUe(e.theme);return Object.keys(e).map(r=>Y3t(e,t,r,n)).reduce(ES,{})}function Ds(e){return JUe(e,Xfe)}Ds.propTypes={};Ds.filterProps=Xfe;function Is(e){return JUe(e,Jfe)}Is.propTypes={};Is.filterProps=Jfe;function Tp(e){return typeof e!="number"?e:`${e}px solid`}const X3t=Da({prop:"border",themeKey:"borders",transform:Tp}),J3t=Da({prop:"borderTop",themeKey:"borders",transform:Tp}),Z3t=Da({prop:"borderRight",themeKey:"borders",transform:Tp}),Q3t=Da({prop:"borderBottom",themeKey:"borders",transform:Tp}),ewt=Da({prop:"borderLeft",themeKey:"borders",transform:Tp}),twt=Da({prop:"borderColor",themeKey:"palette"}),nwt=Da({prop:"borderTopColor",themeKey:"palette"}),rwt=Da({prop:"borderRightColor",themeKey:"palette"}),iwt=Da({prop:"borderBottomColor",themeKey:"palette"}),awt=Da({prop:"borderLeftColor",themeKey:"palette"}),VN=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=m7(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:v7(t,r)});return a1(e,e.borderRadius,n)}return null};VN.propTypes={};VN.filterProps=["borderRadius"];GN(X3t,J3t,Z3t,Q3t,ewt,twt,nwt,rwt,iwt,awt,VN);const KN=e=>{if(e.gap!==void 0&&e.gap!==null){const t=m7(e.theme,"spacing",8),n=r=>({gap:v7(t,r)});return a1(e,e.gap,n)}return null};KN.propTypes={};KN.filterProps=["gap"];const YN=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=m7(e.theme,"spacing",8),n=r=>({columnGap:v7(t,r)});return a1(e,e.columnGap,n)}return null};YN.propTypes={};YN.filterProps=["columnGap"];const XN=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=m7(e.theme,"spacing",8),n=r=>({rowGap:v7(t,r)});return a1(e,e.rowGap,n)}return null};XN.propTypes={};XN.filterProps=["rowGap"];const owt=Da({prop:"gridColumn"}),swt=Da({prop:"gridRow"}),lwt=Da({prop:"gridAutoFlow"}),uwt=Da({prop:"gridAutoColumns"}),cwt=Da({prop:"gridAutoRows"}),fwt=Da({prop:"gridTemplateColumns"}),dwt=Da({prop:"gridTemplateRows"}),hwt=Da({prop:"gridTemplateAreas"}),pwt=Da({prop:"gridArea"});GN(KN,YN,XN,owt,swt,lwt,uwt,cwt,fwt,dwt,hwt,pwt);function k6(e,t){return t==="grey"?t:e}const gwt=Da({prop:"color",themeKey:"palette",transform:k6}),mwt=Da({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k6}),vwt=Da({prop:"backgroundColor",themeKey:"palette",transform:k6});GN(gwt,mwt,vwt);function Xf(e){return e<=1&&e!==0?`${e*100}%`:e}const ywt=Da({prop:"width",transform:Xf}),Zfe=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,a;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(a=i.values)==null?void 0:a[n])||Yfe[n]||Xf(n)}};return a1(e,e.maxWidth,t)}return null};Zfe.filterProps=["maxWidth"];const bwt=Da({prop:"minWidth",transform:Xf}),wwt=Da({prop:"height",transform:Xf}),kwt=Da({prop:"maxHeight",transform:Xf}),_wt=Da({prop:"minHeight",transform:Xf});Da({prop:"size",cssProperty:"width",transform:Xf});Da({prop:"size",cssProperty:"height",transform:Xf});const Cwt=Da({prop:"boxSizing"});GN(ywt,Zfe,bwt,wwt,kwt,_wt,Cwt);const hq=e=>t=>{if(t[e]!==void 0&&t[e]!==null){const n=r=>{var i,a;let o=(i=t.theme.typography)==null?void 0:i[`${e}${t[e]==="default"||t[e]===e?"":_n((a=t[e])==null?void 0:a.toString())}`];if(!o){var s,l;o=(s=t.theme.typography)==null||(l=s[r])==null?void 0:l[e]}return o||(o=r),{[e]:o}};return a1(t,t[e],n)}return null},Ewt={border:{themeKey:"borders",transform:Tp},borderTop:{themeKey:"borders",transform:Tp},borderRight:{themeKey:"borders",transform:Tp},borderBottom:{themeKey:"borders",transform:Tp},borderLeft:{themeKey:"borders",transform:Tp},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:VN},color:{themeKey:"palette",transform:k6},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k6},backgroundColor:{themeKey:"palette",transform:k6},p:{style:Is},pt:{style:Is},pr:{style:Is},pb:{style:Is},pl:{style:Is},px:{style:Is},py:{style:Is},padding:{style:Is},paddingTop:{style:Is},paddingRight:{style:Is},paddingBottom:{style:Is},paddingLeft:{style:Is},paddingX:{style:Is},paddingY:{style:Is},paddingInline:{style:Is},paddingInlineStart:{style:Is},paddingInlineEnd:{style:Is},paddingBlock:{style:Is},paddingBlockStart:{style:Is},paddingBlockEnd:{style:Is},m:{style:Ds},mt:{style:Ds},mr:{style:Ds},mb:{style:Ds},ml:{style:Ds},mx:{style:Ds},my:{style:Ds},margin:{style:Ds},marginTop:{style:Ds},marginRight:{style:Ds},marginBottom:{style:Ds},marginLeft:{style:Ds},marginX:{style:Ds},marginY:{style:Ds},marginInline:{style:Ds},marginInlineStart:{style:Ds},marginInlineEnd:{style:Ds},marginBlock:{style:Ds},marginBlockStart:{style:Ds},marginBlockEnd:{style:Ds},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:KN},rowGap:{style:XN},columnGap:{style:YN},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xf},maxWidth:{style:Zfe},minWidth:{transform:Xf},height:{transform:Xf},maxHeight:{transform:Xf},minHeight:{transform:Xf},boxSizing:{},fontFamily:{themeKey:"typography",style:hq("fontFamily")},fontSize:{themeKey:"typography",style:hq("fontSize")},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography",style:hq("fontWeight")},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},JN=Ewt;function xwt(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Swt(e,t){return typeof e=="function"?e(t):e}function Awt(){function e(n,r,i,a){const o={[n]:r,theme:i},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=s;if(r==null)return null;const d=WN(i,u)||{};return f?f(o):a1(o,r,p=>{let g=RL(d,c,p);return p===g&&typeof p=="string"&&(g=RL(d,c,`${n}${p==="default"?"":_n(p)}`,p)),l===!1?g:{[l]:g}})}function t(n){var r;const{sx:i,theme:a={}}=n||{};if(!i)return null;const o=(r=a.unstable_sxConfig)!=null?r:JN;function s(l){let u=l;if(typeof l=="function")u=l(a);else if(typeof l!="object")return l;if(!u)return null;const c=j3t(a.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(h=>{const p=Swt(u[h],a);if(p!=null)if(typeof p=="object")if(o[h])d=ES(d,e(h,p,a,o));else{const g=a1({theme:a},p,b=>({[h]:b}));xwt(g,p)?d[h]=t({sx:p,theme:a}):d=ES(d,g)}else d=ES(d,e(h,p,a,o))}),H3t(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const ZUe=Awt();ZUe.filterProps=["sx"];const ZN=ZUe,Twt=["sx"],Dwt=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:JN;return Object.keys(e).forEach(a=>{i[a]?r.systemProps[a]=e[a]:r.otherProps[a]=e[a]}),r};function QUe(e){const{sx:t}=e,n=Sn(e,Twt),{systemProps:r,otherProps:i}=Dwt(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...o)=>{const s=t(...o);return Fb(s)?Ne({},r,s):r}:a=Ne({},r,t),Ne({},i,{sx:a})}function eje(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Ne({},n,{[r.key]:r.val}),{})};function Mwt(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=Sn(e,Iwt),a=Rwt(t),o=Object.keys(a);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,h){const p=o.indexOf(h);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(p!==-1&&typeof t[o[p]]=="number"?t[o[p]]:h)-r/100}${n})`}function c(d){return o.indexOf(d)+1(r.length===0?[1]:r).map(a=>{const o=t(a);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}const Pwt=["breakpoints","palette","spacing","shape"];function Qfe(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:a={}}=e,o=Sn(e,Pwt),s=Mwt(n),l=Bwt(i);let u=hh({breakpoints:s,direction:"ltr",components:{},palette:Ne({mode:"light"},r),spacing:l,shape:Ne({},Lwt,a)},o);return u=t.reduce((c,f)=>hh(c,f),u),u.unstable_sxConfig=Ne({},JN,o?.unstable_sxConfig),u.unstable_sx=function(f){return ZN({sx:f,theme:this})},u}const Fwt=C.createContext(null),tje=Fwt;function nje(){return C.useContext(tje)}const Nwt=typeof Symbol=="function"&&Symbol.for,$wt=Nwt?Symbol.for("mui.nested"):"__THEME_NESTED__";function zwt(e,t){return typeof t=="function"?t(e):Ne({},e,t)}function Uwt(e){const{children:t,theme:n}=e,r=nje(),i=C.useMemo(()=>{const a=r===null?n:zwt(r,n);return a!=null&&(a[$wt]=r!==null),a},[n,r]);return me(tje.Provider,{value:i,children:t})}function jwt(e){return Object.keys(e).length===0}function rje(e=null){const t=nje();return!t||jwt(t)?e:t}const Hwt=Qfe();function WC(e=Hwt){return rje(e)}const qwt=["className","component"];function Wwt(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,i=YUe("div",{shouldForwardProp:o=>o!=="theme"&&o!=="sx"&&o!=="as"})(ZN);return C.forwardRef(function(s,l){const u=WC(t),c=QUe(s),{className:f,component:d="div"}=c,h=Sn(c,qwt);return me(i,Ne({as:d,ref:l,className:mn(f,r?r(n):n),theme:u},h))})}const Gwt=["variant"];function Tbe(e){return e.length===0}function ije(e){const{variant:t}=e,n=Sn(e,Gwt);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Tbe(r)?e[i]:_n(e[i]):r+=`${Tbe(r)?i:_n(i)}${_n(e[i].toString())}`}),r}const Vwt=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Kwt=["theme"],Ywt=["theme"];function I5(e){return Object.keys(e).length===0}function Xwt(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Jwt=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Zwt=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const a=ije(i.props);r[a]=i.style}),r},Qwt=(e,t,n,r)=>{var i,a;const{ownerState:o={}}=e,s=[],l=n==null||(i=n.components)==null||(a=i[r])==null?void 0:a.variants;return l&&l.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{o[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&s.push(t[ije(u.props)])}),s};function xS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ekt=Qfe();function tkt(e={}){const{defaultTheme:t=ekt,rootShouldForwardProp:n=xS,slotShouldForwardProp:r=xS}=e,i=a=>{const o=I5(a.theme)?t:a.theme;return ZN(Ne({},a,{theme:o}))};return i.__mui_systemSx=!0,(a,o={})=>{U3t(a,w=>w.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:l,skipVariantsResolver:u,skipSx:c,overridesResolver:f}=o,d=Sn(o,Vwt),h=u!==void 0?u:l&&l!=="Root"||!1,p=c||!1;let g,b=xS;l==="Root"?b=n:l?b=r:Xwt(a)&&(b=void 0);const m=YUe(a,Ne({shouldForwardProp:b,label:g},d)),v=(w,...k)=>{const E=k?k.map(M=>typeof M=="function"&&M.__emotion_real!==M?D=>{let{theme:I}=D,B=Sn(D,Kwt);return M(Ne({theme:I5(I)?t:I},B))}:M):[];let S=w;s&&f&&E.push(M=>{const D=I5(M.theme)?t:M.theme,I=Jwt(s,D);if(I){const B={};return Object.entries(I).forEach(([N,O])=>{B[N]=typeof O=="function"?O(Ne({},M,{theme:D})):O}),f(M,B)}return null}),s&&!h&&E.push(M=>{const D=I5(M.theme)?t:M.theme;return Qwt(M,Zwt(s,D),D,s)}),p||E.push(i);const T=E.length-k.length;if(Array.isArray(w)&&T>0){const M=new Array(T).fill("");S=[...w,...M],S.raw=[...w.raw,...M]}else typeof w=="function"&&w.__emotion_real!==w&&(S=M=>{let{theme:D}=M,I=Sn(M,Ywt);return w(Ne({theme:I5(D)?t:D},I))});return m(S,...E)};return m.withConfig&&(v.withConfig=m.withConfig),v}}function nkt(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Vfe(t.components[n].defaultProps,r)}function rkt({props:e,name:t,defaultTheme:n}){const r=WC(n);return nkt({theme:r,name:t,props:e})}function ede(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function ikt(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function A4(e){if(e.type)return e;if(e.charAt(0)==="#")return A4(ikt(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(h2(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(h2(10,i))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:i}}function QN(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,a)=>a<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function akt(e){e=A4(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(u,c=(u+n/30)%12)=>i-a*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),QN({type:s,values:l})}function xae(e){e=A4(e);let t=e.type==="hsl"||e.type==="hsla"?A4(akt(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function okt(e,t){const n=xae(e),r=xae(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Li(e,t){return e=A4(e),t=ede(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,QN(e)}function ML(e,t){if(e=A4(e),t=ede(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return QN(e)}function OL(e,t){if(e=A4(e),t=ede(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return QN(e)}function skt(e,t=.15){return xae(e)>.5?ML(e,t):OL(e,t)}const lkt={};function ukt(e){const t=WC();return me(Cfe.Provider,{value:typeof t=="object"?t:lkt,children:e.children})}function y7(e){const{children:t,theme:n}=e;return me(Uwt,{theme:n,children:me(ukt,{children:t})})}function ckt(e,t){return Ne({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fkt=["mode","contrastThreshold","tonalOffset"],Dbe={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:LA.white,default:LA.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},pq={text:{primary:LA.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:LA.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ibe(e,t,n,r){const i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=OL(e.main,i):t==="dark"&&(e.dark=ML(e.main,a)))}function dkt(e="light"){return e==="dark"?{main:hg[200],light:hg[50],dark:hg[400]}:{main:hg[700],light:hg[400],dark:hg[800]}}function hkt(e="light"){return e==="dark"?{main:wb[200],light:wb[50],dark:wb[400]}:{main:wb[500],light:wb[300],dark:wb[700]}}function pkt(e="light"){return e==="dark"?{main:bb[500],light:bb[300],dark:bb[700]}:{main:bb[700],light:bb[400],dark:bb[800]}}function gkt(e="light"){return e==="dark"?{main:kb[400],light:kb[300],dark:kb[700]}:{main:kb[700],light:kb[500],dark:kb[900]}}function mkt(e="light"){return e==="dark"?{main:_b[400],light:_b[300],dark:_b[700]}:{main:_b[800],light:_b[500],dark:_b[900]}}function vkt(e="light"){return e==="dark"?{main:Ek[400],light:Ek[300],dark:Ek[700]}:{main:"#ed6c02",light:Ek[500],dark:Ek[900]}}function ykt(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=Sn(e,fkt),a=e.primary||dkt(t),o=e.secondary||hkt(t),s=e.error||pkt(t),l=e.info||gkt(t),u=e.success||mkt(t),c=e.warning||vkt(t);function f(g){return okt(g,pq.text.primary)>=n?pq.text.primary:Dbe.text.primary}const d=({color:g,name:b,mainShade:m=500,lightShade:v=300,darkShade:w=700})=>{if(g=Ne({},g),!g.main&&g[m]&&(g.main=g[m]),!g.hasOwnProperty("main"))throw new Error(h2(11,b?` (${b})`:"",m));if(typeof g.main!="string")throw new Error(h2(12,b?` (${b})`:"",JSON.stringify(g.main)));return Ibe(g,"light",v,r),Ibe(g,"dark",w,r),g.contrastText||(g.contrastText=f(g.main)),g},h={dark:pq,light:Dbe};return hh(Ne({common:Ne({},LA),mode:t,primary:d({color:a,name:"primary"}),secondary:d({color:o,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:UUe,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},h[t]),i)}const bkt=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function wkt(e){return Math.round(e*1e5)/1e5}const Rbe={textTransform:"uppercase"},Mbe='"Roboto", "Helvetica", "Arial", sans-serif';function kkt(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Mbe,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=Sn(n,bkt),h=i/14,p=f||(m=>`${m/u*h}rem`),g=(m,v,w,k,E)=>Ne({fontFamily:r,fontWeight:m,fontSize:p(v),lineHeight:w},r===Mbe?{letterSpacing:`${wkt(k/v)}em`}:{},E,c),b={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(o,48,1.167,0),h4:g(o,34,1.235,.25),h5:g(o,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(o,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(o,16,1.5,.15),body2:g(o,14,1.43,.15),button:g(s,14,1.75,.4,Rbe),caption:g(o,12,1.66,.4),overline:g(o,12,2.66,1,Rbe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return hh(Ne({htmlFontSize:u,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:l},b),d,{clone:!1})}const _kt=.2,Ckt=.14,Ekt=.12;function Jo(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${_kt})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ckt})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ekt})`].join(",")}const xkt=["none",Jo(0,2,1,-1,0,1,1,0,0,1,3,0),Jo(0,3,1,-2,0,2,2,0,0,1,5,0),Jo(0,3,3,-2,0,3,4,0,0,1,8,0),Jo(0,2,4,-1,0,4,5,0,0,1,10,0),Jo(0,3,5,-1,0,5,8,0,0,1,14,0),Jo(0,3,5,-1,0,6,10,0,0,1,18,0),Jo(0,4,5,-2,0,7,10,1,0,2,16,1),Jo(0,5,5,-3,0,8,10,1,0,3,14,2),Jo(0,5,6,-3,0,9,12,1,0,3,16,2),Jo(0,6,6,-3,0,10,14,1,0,4,18,3),Jo(0,6,7,-4,0,11,15,1,0,4,20,3),Jo(0,7,8,-4,0,12,17,2,0,5,22,4),Jo(0,7,8,-4,0,13,19,2,0,5,24,4),Jo(0,7,9,-4,0,14,21,2,0,5,26,4),Jo(0,8,9,-5,0,15,22,2,0,6,28,5),Jo(0,8,10,-5,0,16,24,2,0,6,30,5),Jo(0,8,11,-5,0,17,26,2,0,6,32,5),Jo(0,9,11,-5,0,18,28,2,0,7,34,6),Jo(0,9,12,-6,0,19,29,2,0,7,36,6),Jo(0,10,13,-6,0,20,31,3,0,8,38,7),Jo(0,10,13,-6,0,21,33,3,0,8,40,7),Jo(0,10,14,-6,0,22,35,3,0,8,42,7),Jo(0,11,14,-7,0,23,36,3,0,9,44,8),Jo(0,11,15,-7,0,24,38,3,0,9,46,8)],Skt=xkt,Akt=["duration","easing","delay"],Tkt={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},aje={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Obe(e){return`${Math.round(e)}ms`}function Dkt(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Ikt(e){const t=Ne({},Tkt,e.easing),n=Ne({},aje,e.duration);return Ne({getAutoHeightDuration:Dkt,create:(i=["all"],a={})=>{const{duration:o=n.standard,easing:s=t.easeInOut,delay:l=0}=a;return Sn(a,Akt),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof o=="string"?o:Obe(o)} ${s} ${typeof l=="string"?l:Obe(l)}`).join(",")}},e,{easing:t,duration:n})}const Rkt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Mkt=Rkt,Okt=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function h3(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,o=Sn(e,Okt);if(e.vars)throw new Error(h2(18));const s=ykt(r),l=Qfe(e);let u=hh(l,{mixins:ckt(l.breakpoints,n),palette:s,shadows:Skt.slice(),typography:kkt(s,a),transitions:Ikt(i),zIndex:Ne({},Mkt)});return u=hh(u,o),u=t.reduce((c,f)=>hh(c,f),u),u.unstable_sxConfig=Ne({},JN,o?.unstable_sxConfig),u.unstable_sx=function(f){return ZN({sx:f,theme:this})},u}const Lkt=h3(),e$=Lkt;function Df(){return WC(e$)}function yr({props:e,name:t}){return rkt({props:e,name:t,defaultTheme:e$})}const gd=e=>xS(e)&&e!=="classes",Bkt=xS,Pkt=tkt({defaultTheme:e$,rootShouldForwardProp:gd}),dn=Pkt,Fkt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Lbe=Fkt;function i_(e){return typeof e=="string"}function _9(e,t,n){return e===void 0||i_(e)?t:Ne({},t,{ownerState:Ne({},t.ownerState,n)})}const Nkt={disableDefaultClasses:!1},$kt=C.createContext(Nkt);function oje(e){const{disableDefaultClasses:t}=C.useContext($kt);return n=>t?"":e(n)}function sje(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Sae(e,t){return typeof e=="function"?e(t):e}function Bbe(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function zkt(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){const h=mn(i?.className,r?.className,a,n?.className),p=Ne({},n?.style,i?.style,r?.style),g=Ne({},n,i,r);return h.length>0&&(g.className=h),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:void 0}}const o=sje(Ne({},i,r)),s=Bbe(r),l=Bbe(i),u=t(o),c=mn(u?.className,n?.className,a,i?.className,r?.className),f=Ne({},u?.style,n?.style,i?.style,r?.style),d=Ne({},u,n,l,s);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const Ukt=["elementType","externalSlotProps","ownerState"];function ed(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i}=e,a=Sn(e,Ukt),o=Sae(r,i),{props:s,internalRef:l}=zkt(Ne({},a,{externalSlotProps:o})),u=co(l,o?.ref,(t=e.additionalProps)==null?void 0:t.ref);return _9(n,Ne({},s,{ref:u}),i)}function jkt(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:i=!1}=e,a=KUe({badgeContent:t,max:r});let o=n;n===!1&&t===0&&!i&&(o=!0);const{badgeContent:s,max:l=r}=o?a:e,u=s&&Number(s)>l?`${l}+`:s;return{badgeContent:s,invisible:o,max:l,displayValue:u}}function Pbe(e){return e.substring(2).toLowerCase()}function Hkt(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=co(t.ref,s),f=ya(p=>{const g=u.current;u.current=!1;const b=hl(s.current);if(!l.current||!s.current||"clientX"in p&&Hkt(p,b))return;if(o.current){o.current=!1;return}let m;p.composedPath?m=p.composedPath().indexOf(s.current)>-1:m=!b.documentElement.contains(p.target)||s.current.contains(p.target),!m&&(n||!g)&&i(p)}),d=p=>g=>{u.current=!0;const b=t.props[p];b&&b(g)},h={ref:c};return a!==!1&&(h[a]=d(a)),C.useEffect(()=>{if(a!==!1){const p=Pbe(a),g=hl(s.current),b=()=>{o.current=!0};return g.addEventListener(p,f),g.addEventListener("touchmove",b),()=>{g.removeEventListener(p,f),g.removeEventListener("touchmove",b)}}},[f,a]),r!==!1&&(h[r]=d(r)),C.useEffect(()=>{if(r!==!1){const p=Pbe(r),g=hl(s.current);return g.addEventListener(p,f),()=>{g.removeEventListener(p,f)}}},[f,r]),me(C.Fragment,{children:C.cloneElement(t,h)})}const Wkt=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Gkt(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Vkt(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Kkt(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Vkt(e))}function Ykt(e){const t=[],n=[];return Array.from(e.querySelectorAll(Wkt)).forEach((r,i)=>{const a=Gkt(r);a===-1||!Kkt(r)||(a===0?t.push(r):n.push({documentOrder:i,tabIndex:a,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function Xkt(){return!0}function Jkt(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Ykt,isEnabled:o=Xkt,open:s}=e,l=C.useRef(!1),u=C.useRef(null),c=C.useRef(null),f=C.useRef(null),d=C.useRef(null),h=C.useRef(!1),p=C.useRef(null),g=co(t.ref,p),b=C.useRef(null);C.useEffect(()=>{!s||!p.current||(h.current=!n)},[n,s]),C.useEffect(()=>{if(!s||!p.current)return;const w=hl(p.current);return p.current.contains(w.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),C.useEffect(()=>{if(!s||!p.current)return;const w=hl(p.current),k=T=>{const{current:L}=p;if(L!==null){if(!w.hasFocus()||r||!o()||l.current){l.current=!1;return}if(!L.contains(w.activeElement)){if(T&&d.current!==T.target||w.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let I=[];if((w.activeElement===u.current||w.activeElement===c.current)&&(I=a(p.current)),I.length>0){var M,D;const B=!!((M=b.current)!=null&&M.shiftKey&&((D=b.current)==null?void 0:D.key)==="Tab"),N=I[0],O=I[I.length-1];typeof N!="string"&&typeof O!="string"&&(B?O.focus():N.focus())}else L.focus()}}},E=T=>{b.current=T,!(r||!o()||T.key!=="Tab")&&w.activeElement===p.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())};w.addEventListener("focusin",k),w.addEventListener("keydown",E,!0);const S=setInterval(()=>{w.activeElement&&w.activeElement.tagName==="BODY"&&k(null)},50);return()=>{clearInterval(S),w.removeEventListener("focusin",k),w.removeEventListener("keydown",E,!0)}},[n,r,i,o,s,a]);const m=w=>{f.current===null&&(f.current=w.relatedTarget),h.current=!0,d.current=w.target;const k=t.props.onFocus;k&&k(w)},v=w=>{f.current===null&&(f.current=w.relatedTarget),h.current=!0};return zt(C.Fragment,{children:[me("div",{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),C.cloneElement(t,{ref:g,onFocus:m}),me("div",{tabIndex:s?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}var Cf="top",_h="bottom",Ch="right",Ef="left",tde="auto",b7=[Cf,_h,Ch,Ef],a_="start",BA="end",Zkt="clippingParents",lje="viewport",R5="popper",Qkt="reference",Fbe=b7.reduce(function(e,t){return e.concat([t+"-"+a_,t+"-"+BA])},[]),uje=[].concat(b7,[tde]).reduce(function(e,t){return e.concat([t,t+"-"+a_,t+"-"+BA])},[]),e6t="beforeRead",t6t="read",n6t="afterRead",r6t="beforeMain",i6t="main",a6t="afterMain",o6t="beforeWrite",s6t="write",l6t="afterWrite",u6t=[e6t,t6t,n6t,r6t,i6t,a6t,o6t,s6t,l6t];function o1(e){return e?(e.nodeName||"").toLowerCase():null}function Dh(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function T4(e){var t=Dh(e).Element;return e instanceof t||e instanceof Element}function ph(e){var t=Dh(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function nde(e){if(typeof ShadowRoot>"u")return!1;var t=Dh(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function c6t(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!ph(a)||!o1(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(o){var s=i[o];s===!1?a.removeAttribute(o):a.setAttribute(o,s===!0?"":s)}))})}function f6t(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=o.reduce(function(l,u){return l[u]="",l},{});!ph(i)||!o1(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const d6t={name:"applyStyles",enabled:!0,phase:"write",fn:c6t,effect:f6t,requires:["computeStyles"]};function Kp(e){return e.split("-")[0]}var i4=Math.max,LL=Math.min,o_=Math.round;function Aae(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function cje(){return!/^((?!chrome|android).)*safari/i.test(Aae())}function s_(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&ph(e)&&(i=e.offsetWidth>0&&o_(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&o_(r.height)/e.offsetHeight||1);var o=T4(e)?Dh(e):window,s=o.visualViewport,l=!cje()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/a,f=r.width/i,d=r.height/a;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function rde(e){var t=s_(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function fje(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&nde(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Hg(e){return Dh(e).getComputedStyle(e)}function h6t(e){return["table","td","th"].indexOf(o1(e))>=0}function U2(e){return((T4(e)?e.ownerDocument:e.document)||window.document).documentElement}function t$(e){return o1(e)==="html"?e:e.assignedSlot||e.parentNode||(nde(e)?e.host:null)||U2(e)}function Nbe(e){return!ph(e)||Hg(e).position==="fixed"?null:e.offsetParent}function p6t(e){var t=/firefox/i.test(Aae()),n=/Trident/i.test(Aae());if(n&&ph(e)){var r=Hg(e);if(r.position==="fixed")return null}var i=t$(e);for(nde(i)&&(i=i.host);ph(i)&&["html","body"].indexOf(o1(i))<0;){var a=Hg(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function w7(e){for(var t=Dh(e),n=Nbe(e);n&&h6t(n)&&Hg(n).position==="static";)n=Nbe(n);return n&&(o1(n)==="html"||o1(n)==="body"&&Hg(n).position==="static")?t:n||p6t(e)||t}function ide(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function SS(e,t,n){return i4(e,LL(t,n))}function g6t(e,t,n){var r=SS(e,t,n);return r>n?n:r}function dje(){return{top:0,right:0,bottom:0,left:0}}function hje(e){return Object.assign({},dje(),e)}function pje(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var m6t=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,hje(typeof t!="number"?t:pje(t,b7))};function v6t(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Kp(n.placement),l=ide(s),u=[Ef,Ch].indexOf(s)>=0,c=u?"height":"width";if(!(!a||!o)){var f=m6t(i.padding,n),d=rde(a),h=l==="y"?Cf:Ef,p=l==="y"?_h:Ch,g=n.rects.reference[c]+n.rects.reference[l]-o[l]-n.rects.popper[c],b=o[l]-n.rects.reference[l],m=w7(a),v=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,w=g/2-b/2,k=f[h],E=v-d[c]-f[p],S=v/2-d[c]/2+w,T=SS(k,S,E),L=l;n.modifiersData[r]=(t={},t[L]=T,t.centerOffset=T-S,t)}}function y6t(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||fje(t.elements.popper,i)&&(t.elements.arrow=i))}const b6t={name:"arrow",enabled:!0,phase:"main",fn:v6t,effect:y6t,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function l_(e){return e.split("-")[1]}var w6t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function k6t(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:o_(t*i)/i||0,y:o_(n*i)/i||0}}function $be(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,p=o.y,g=p===void 0?0:p,b=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var m=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),w=Ef,k=Cf,E=window;if(u){var S=w7(n),T="clientHeight",L="clientWidth";if(S===Dh(n)&&(S=U2(n),Hg(S).position!=="static"&&s==="absolute"&&(T="scrollHeight",L="scrollWidth")),S=S,i===Cf||(i===Ef||i===Ch)&&a===BA){k=_h;var M=f&&S===E&&E.visualViewport?E.visualViewport.height:S[T];g-=M-r.height,g*=l?1:-1}if(i===Ef||(i===Cf||i===_h)&&a===BA){w=Ch;var D=f&&S===E&&E.visualViewport?E.visualViewport.width:S[L];h-=D-r.width,h*=l?1:-1}}var I=Object.assign({position:s},u&&w6t),B=c===!0?k6t({x:h,y:g}):{x:h,y:g};if(h=B.x,g=B.y,l){var N;return Object.assign({},I,(N={},N[k]=v?"0":"",N[w]=m?"0":"",N.transform=(E.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",N))}return Object.assign({},I,(t={},t[k]=v?g+"px":"",t[w]=m?h+"px":"",t.transform="",t))}function _6t(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,o=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Kp(t.placement),variation:l_(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,$be(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,$be(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const C6t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_6t,data:{}};var jD={passive:!0};function E6t(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,o=r.resize,s=o===void 0?!0:o,l=Dh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(c){c.addEventListener("scroll",n.update,jD)}),s&&l.addEventListener("resize",n.update,jD),function(){a&&u.forEach(function(c){c.removeEventListener("scroll",n.update,jD)}),s&&l.removeEventListener("resize",n.update,jD)}}const x6t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:E6t,data:{}};var S6t={left:"right",right:"left",bottom:"top",top:"bottom"};function iO(e){return e.replace(/left|right|bottom|top/g,function(t){return S6t[t]})}var A6t={start:"end",end:"start"};function zbe(e){return e.replace(/start|end/g,function(t){return A6t[t]})}function ade(e){var t=Dh(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ode(e){return s_(U2(e)).left+ade(e).scrollLeft}function T6t(e,t){var n=Dh(e),r=U2(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=cje();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+ode(e),y:l}}function D6t(e){var t,n=U2(e),r=ade(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=i4(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=i4(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+ode(e),l=-r.scrollTop;return Hg(i||n).direction==="rtl"&&(s+=i4(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function sde(e){var t=Hg(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function gje(e){return["html","body","#document"].indexOf(o1(e))>=0?e.ownerDocument.body:ph(e)&&sde(e)?e:gje(t$(e))}function AS(e,t){var n;t===void 0&&(t=[]);var r=gje(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Dh(r),o=i?[a].concat(a.visualViewport||[],sde(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(AS(t$(o)))}function Tae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function I6t(e,t){var n=s_(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ube(e,t,n){return t===lje?Tae(T6t(e,n)):T4(t)?I6t(t,n):Tae(D6t(U2(e)))}function R6t(e){var t=AS(t$(e)),n=["absolute","fixed"].indexOf(Hg(e).position)>=0,r=n&&ph(e)?w7(e):e;return T4(r)?t.filter(function(i){return T4(i)&&fje(i,r)&&o1(i)!=="body"}):[]}function M6t(e,t,n,r){var i=t==="clippingParents"?R6t(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(l,u){var c=Ube(e,u,r);return l.top=i4(c.top,l.top),l.right=LL(c.right,l.right),l.bottom=LL(c.bottom,l.bottom),l.left=i4(c.left,l.left),l},Ube(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function mje(e){var t=e.reference,n=e.element,r=e.placement,i=r?Kp(r):null,a=r?l_(r):null,o=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Cf:l={x:o,y:t.y-n.height};break;case _h:l={x:o,y:t.y+t.height};break;case Ch:l={x:t.x+t.width,y:s};break;case Ef:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?ide(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(a){case a_:l[u]=l[u]-(t[c]/2-n[c]/2);break;case BA:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function PA(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,l=s===void 0?Zkt:s,u=n.rootBoundary,c=u===void 0?lje:u,f=n.elementContext,d=f===void 0?R5:f,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,m=hje(typeof b!="number"?b:pje(b,b7)),v=d===R5?Qkt:R5,w=e.rects.popper,k=e.elements[p?v:d],E=M6t(T4(k)?k:k.contextElement||U2(e.elements.popper),l,c,o),S=s_(e.elements.reference),T=mje({reference:S,element:w,strategy:"absolute",placement:i}),L=Tae(Object.assign({},w,T)),M=d===R5?L:S,D={top:E.top-M.top+m.top,bottom:M.bottom-E.bottom+m.bottom,left:E.left-M.left+m.left,right:M.right-E.right+m.right},I=e.modifiersData.offset;if(d===R5&&I){var B=I[i];Object.keys(D).forEach(function(N){var O=[Ch,_h].indexOf(N)>=0?1:-1,R=[Cf,_h].indexOf(N)>=0?"y":"x";D[N]+=B[R]*O})}return D}function O6t(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?uje:l,c=l_(r),f=c?s?Fbe:Fbe.filter(function(p){return l_(p)===c}):b7,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,g){return p[g]=PA(e,{placement:g,boundary:i,rootBoundary:a,padding:o})[Kp(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function L6t(e){if(Kp(e)===tde)return[];var t=iO(e);return[zbe(e),t,zbe(t)]}function B6t(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!0:o,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,b=t.options.placement,m=Kp(b),v=m===b,w=l||(v||!p?[iO(b)]:L6t(b)),k=[b].concat(w).reduce(function(te,re){return te.concat(Kp(re)===tde?O6t(t,{placement:re,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):re)},[]),E=t.rects.reference,S=t.rects.popper,T=new Map,L=!0,M=k[0],D=0;D=0,R=O?"width":"height",P=PA(t,{placement:I,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),H=O?N?Ch:Ef:N?_h:Cf;E[R]>S[R]&&(H=iO(H));var F=iO(H),q=[];if(a&&q.push(P[B]<=0),s&&q.push(P[H]<=0,P[F]<=0),q.every(function(te){return te})){M=I,L=!1;break}T.set(I,q)}if(L)for(var V=p?3:1,X=function(re){var Q=k.find(function(ae){var le=T.get(ae);if(le)return le.slice(0,re).every(function(oe){return oe})});if(Q)return M=Q,"break"},G=V;G>0;G--){var J=X(G);if(J==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const P6t={name:"flip",enabled:!0,phase:"main",fn:B6t,requiresIfExists:["offset"],data:{_skip:!1}};function jbe(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Hbe(e){return[Cf,Ch,_h,Ef].some(function(t){return e[t]>=0})}function F6t(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=PA(t,{elementContext:"reference"}),s=PA(t,{altBoundary:!0}),l=jbe(o,r),u=jbe(s,i,a),c=Hbe(l),f=Hbe(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const N6t={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:F6t};function $6t(e,t,n){var r=Kp(e),i=[Ef,Cf].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Ef,Ch].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}function z6t(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=uje.reduce(function(c,f){return c[f]=$6t(f,t.rects,a),c},{}),s=o[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}const U6t={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:z6t};function j6t(e){var t=e.state,n=e.name;t.modifiersData[n]=mje({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const H6t={name:"popperOffsets",enabled:!0,phase:"read",fn:j6t,data:{}};function q6t(e){return e==="x"?"y":"x"}function W6t(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,o=n.altAxis,s=o===void 0?!1:o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,g=p===void 0?0:p,b=PA(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=Kp(t.placement),v=l_(t.placement),w=!v,k=ide(m),E=q6t(k),S=t.modifiersData.popperOffsets,T=t.rects.reference,L=t.rects.popper,M=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,D=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(S){if(a){var N,O=k==="y"?Cf:Ef,R=k==="y"?_h:Ch,P=k==="y"?"height":"width",H=S[k],F=H+b[O],q=H-b[R],V=h?-L[P]/2:0,X=v===a_?T[P]:L[P],G=v===a_?-L[P]:-T[P],J=t.elements.arrow,te=h&&J?rde(J):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:dje(),Q=re[O],ae=re[R],le=SS(0,T[P],te[P]),oe=w?T[P]/2-V-le-Q-D.mainAxis:X-le-Q-D.mainAxis,ee=w?-T[P]/2+V+le+ae+D.mainAxis:G+le+ae+D.mainAxis,ne=t.elements.arrow&&w7(t.elements.arrow),ue=ne?k==="y"?ne.clientTop||0:ne.clientLeft||0:0,Ae=(N=I?.[k])!=null?N:0,ce=H+oe-Ae-ue,be=H+ee-Ae,ge=SS(h?LL(F,ce):F,H,h?i4(q,be):q);S[k]=ge,B[k]=ge-H}if(s){var ve,ie=k==="x"?Cf:Ef,he=k==="x"?_h:Ch,$e=S[E],De=E==="y"?"height":"width",Ie=$e+b[ie],Be=$e-b[he],we=[Cf,Ef].indexOf(m)!==-1,je=(ve=I?.[E])!=null?ve:0,Oe=we?Ie:$e-T[De]-L[De]-je+D.altAxis,Re=we?$e+T[De]+L[De]-je-D.altAxis:Be,ye=h&&we?g6t(Oe,$e,Re):SS(h?Oe:Ie,$e,h?Re:Be);S[E]=ye,B[E]=ye-$e}t.modifiersData[r]=B}}const G6t={name:"preventOverflow",enabled:!0,phase:"main",fn:W6t,requiresIfExists:["offset"]};function V6t(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function K6t(e){return e===Dh(e)||!ph(e)?ade(e):V6t(e)}function Y6t(e){var t=e.getBoundingClientRect(),n=o_(t.width)/e.offsetWidth||1,r=o_(t.height)/e.offsetHeight||1;return n!==1||r!==1}function X6t(e,t,n){n===void 0&&(n=!1);var r=ph(t),i=ph(t)&&Y6t(t),a=U2(t),o=s_(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((o1(t)!=="body"||sde(a))&&(s=K6t(t)),ph(t)?(l=s_(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=ode(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function J6t(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function Z6t(e){var t=J6t(e);return u6t.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Q6t(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function e_t(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var qbe={placement:"bottom",modifiers:[],strategy:"absolute"};function Wbe(){for(var e=arguments.length,t=new Array(e),n=0;n{a||s(i_t(i)||document.body)},[i,a]),Sf(()=>{if(o&&!a)return IL(n,o),()=>{IL(n,null)}},[n,o,a]),a){if(C.isValidElement(r)){const u={ref:l};return C.cloneElement(r,u)}return me(C.Fragment,{children:r})}return me(C.Fragment,{children:o&&am.createPortal(r,o)})}),vje=a_t;function o_t(e){return xr("MuiPopper",e)}Sr("MuiPopper",["root"]);const s_t=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],l_t=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function u_t(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Dae(e){return typeof e=="function"?e():e}function c_t(e){return e.nodeType!==void 0}const f_t=()=>Er({root:["root"]},oje(o_t)),d_t={},h_t=C.forwardRef(function(t,n){var r;const{anchorEl:i,children:a,component:o,direction:s,disablePortal:l,modifiers:u,open:c,ownerState:f,placement:d,popperOptions:h,popperRef:p,slotProps:g={},slots:b={},TransitionProps:m}=t,v=Sn(t,s_t),w=C.useRef(null),k=co(w,n),E=C.useRef(null),S=co(E,p),T=C.useRef(S);Sf(()=>{T.current=S},[S]),C.useImperativeHandle(p,()=>E.current,[]);const L=u_t(d,s),[M,D]=C.useState(L),[I,B]=C.useState(Dae(i));C.useEffect(()=>{E.current&&E.current.forceUpdate()}),C.useEffect(()=>{i&&B(Dae(i))},[i]),Sf(()=>{if(!I||!c)return;const H=V=>{D(V.placement)};let F=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:V})=>{H(V)}}];u!=null&&(F=F.concat(u)),h&&h.modifiers!=null&&(F=F.concat(h.modifiers));const q=r_t(I,w.current,Ne({placement:L},h,{modifiers:F}));return T.current(q),()=>{q.destroy(),T.current(null)}},[I,l,u,c,h,L]);const N={placement:M};m!==null&&(N.TransitionProps=m);const O=f_t(),R=(r=o??b.root)!=null?r:"div",P=ed({elementType:R,externalSlotProps:g.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:k},ownerState:Ne({},t,f),className:O.root});return me(R,Ne({},P,{children:typeof a=="function"?a(N):a}))}),p_t=C.forwardRef(function(t,n){const{anchorEl:r,children:i,container:a,direction:o="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=d_t,popperRef:h,style:p,transition:g=!1,slotProps:b={},slots:m={}}=t,v=Sn(t,l_t),[w,k]=C.useState(!0),E=()=>{k(!1)},S=()=>{k(!0)};if(!l&&!c&&(!g||w))return null;let T;if(a)T=a;else if(r){const D=Dae(r);T=D&&c_t(D)?hl(D).body:hl(null).body}const L=!c&&l&&(!g||w)?"none":void 0,M=g?{in:c,onEnter:E,onExited:S}:void 0;return me(vje,{disablePortal:s,container:T,children:me(h_t,Ne({anchorEl:r,direction:o,disablePortal:s,modifiers:u,ref:n,open:g?!w:c,placement:f,popperOptions:d,popperRef:h,slotProps:b,slots:m},v,{style:Ne({position:"fixed",top:0,left:0,display:L},p),TransitionProps:M,children:i}))})}),g_t=p_t;function m_t(e){const t=hl(e);return t.body===e?wh(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function TS(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Gbe(e){return parseInt(wh(e).getComputedStyle(e).paddingRight,10)||0}function v_t(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Vbe(e,t,n,r,i){const a=[t,n,...r];[].forEach.call(e.children,o=>{const s=a.indexOf(o)===-1,l=!v_t(o);s&&l&&TS(o,i)})}function gq(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function y_t(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(m_t(r)){const o=GUe(hl(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Gbe(r)+o}px`;const s=hl(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Gbe(l)+o}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=hl(r).body;else{const o=r.parentElement,s=wh(r);a=o?.nodeName==="HTML"&&s.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:o,property:s})=>{a?o.style.setProperty(s,a):o.style.removeProperty(s)})}}function b_t(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class w_t{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&TS(t.modalRef,!1);const i=b_t(n);Vbe(n,t.mount,t.modalRef,i,!0);const a=gq(this.containers,o=>o.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=gq(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=y_t(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=gq(this.containers,o=>o.modals.indexOf(t)!==-1),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&TS(t.modalRef,n),Vbe(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=a.modals[a.modals.length-1];o.modalRef&&TS(o.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function k_t(e){return xr("MuiModal",e)}Sr("MuiModal",["root","hidden","backdrop"]);const __t=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],C_t=e=>{const{open:t,exited:n}=e;return Er({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},oje(k_t))};function E_t(e){return typeof e=="function"?e():e}function x_t(e){return e?e.props.hasOwnProperty("in"):!1}const S_t=new w_t,A_t=C.forwardRef(function(t,n){var r,i;const{children:a,closeAfterTransition:o=!1,component:s,container:l,disableAutoFocus:u=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:f=!1,disablePortal:d=!1,disableRestoreFocus:h=!1,disableScrollLock:p=!1,hideBackdrop:g=!1,keepMounted:b=!1,manager:m=S_t,onBackdropClick:v,onClose:w,onKeyDown:k,open:E,onTransitionEnter:S,onTransitionExited:T,slotProps:L={},slots:M={}}=t,D=Sn(t,__t),[I,B]=C.useState(!E),N=C.useRef({}),O=C.useRef(null),R=C.useRef(null),P=co(R,n),H=x_t(a),F=(r=t["aria-hidden"])!=null?r:!0,q=()=>hl(O.current),V=()=>(N.current.modalRef=R.current,N.current.mountNode=O.current,N.current),X=()=>{m.mount(V(),{disableScrollLock:p}),R.current&&(R.current.scrollTop=0)},G=ya(()=>{const ve=E_t(l)||q().body;m.add(V(),ve),R.current&&X()}),J=C.useCallback(()=>m.isTopModal(V()),[m]),te=ya(ve=>{O.current=ve,!(!ve||!R.current)&&(E&&J()?X():TS(R.current,F))}),re=C.useCallback(()=>{m.remove(V(),F)},[m,F]);C.useEffect(()=>()=>{re()},[re]),C.useEffect(()=>{E?G():(!H||!o)&&re()},[E,re,H,o,G]);const Q=Ne({},t,{closeAfterTransition:o,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:f,disablePortal:d,disableRestoreFocus:h,disableScrollLock:p,exited:I,hideBackdrop:g,keepMounted:b}),ae=C_t(Q),le=()=>{B(!1),S&&S()},oe=()=>{B(!0),T&&T(),o&&re()},ee=ve=>{ve.target===ve.currentTarget&&(v&&v(ve),w&&w(ve,"backdropClick"))},ne=ve=>{k&&k(ve),!(ve.key!=="Escape"||!J())&&(f||(ve.stopPropagation(),w&&w(ve,"escapeKeyDown")))},ue={};a.props.tabIndex===void 0&&(ue.tabIndex="-1"),H&&(ue.onEnter=_ae(le,a.props.onEnter),ue.onExited=_ae(oe,a.props.onExited));const Ae=(i=s??M.root)!=null?i:"div",ce=ed({elementType:Ae,externalSlotProps:L.root,externalForwardedProps:D,additionalProps:{ref:P,role:"presentation",onKeyDown:ne},className:ae.root,ownerState:Q}),be=M.backdrop,ge=ed({elementType:be,externalSlotProps:L.backdrop,additionalProps:{"aria-hidden":!0,onClick:ee,open:E},className:ae.backdrop,ownerState:Q});return!b&&!E&&(!H||I)?null:me(vje,{ref:te,container:l,disablePortal:d,children:zt(Ae,Ne({},ce,{children:[!g&&be?me(be,Ne({},ge)):null,me(Jkt,{disableEnforceFocus:c,disableAutoFocus:u,disableRestoreFocus:h,isEnabled:J,open:E,children:C.cloneElement(a,ue)})]}))})}),T_t=A_t;function D_t(e){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,ref:a,resumeHideDuration:o}=e,s=C.useRef();C.useEffect(()=>{if(!i)return;function v(w){w.defaultPrevented||(w.key==="Escape"||w.key==="Esc")&&r?.(w,"escapeKeyDown")}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[i,r]);const l=ya((v,w)=>{r?.(v,w)}),u=ya(v=>{!r||v==null||(clearTimeout(s.current),s.current=setTimeout(()=>{l(null,"timeout")},v))});C.useEffect(()=>(i&&u(t),()=>{clearTimeout(s.current)}),[i,t,u]);const c=v=>{r?.(v,"clickaway")},f=()=>{clearTimeout(s.current)},d=C.useCallback(()=>{t!=null&&u(o??t*.5)},[t,o,u]),h=v=>w=>{const k=v.onBlur;k?.(w),d()},p=v=>w=>{const k=v.onFocus;k?.(w),f()},g=v=>w=>{const k=v.onMouseEnter;k?.(w),f()},b=v=>w=>{const k=v.onMouseLeave;k?.(w),d()};return C.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",d),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",f)}},[n,d,i]),{getRootProps:(v={})=>{const w=sje(e),k=Ne({},w,v);return Ne({ref:a,role:"presentation"},k,{onBlur:h(k),onFocus:p(k),onMouseEnter:g(k),onMouseLeave:b(k)})},onClickAway:c}}const I_t=["onChange","maxRows","minRows","style","value"];function HD(e){return parseInt(e,10)||0}const R_t={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Kbe(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const M_t=C.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:a=1,style:o,value:s}=t,l=Sn(t,I_t),{current:u}=C.useRef(s!=null),c=C.useRef(null),f=co(n,c),d=C.useRef(null),h=C.useRef(0),[p,g]=C.useState({outerHeightStyle:0}),b=C.useCallback(()=>{const E=c.current,T=wh(E).getComputedStyle(E);if(T.width==="0px")return{outerHeightStyle:0};const L=d.current;L.style.width=T.width,L.value=E.value||t.placeholder||"x",L.value.slice(-1)===` +`&&(L.value+=" ");const M=T.boxSizing,D=HD(T.paddingBottom)+HD(T.paddingTop),I=HD(T.borderBottomWidth)+HD(T.borderTopWidth),B=L.scrollHeight;L.value="x";const N=L.scrollHeight;let O=B;a&&(O=Math.max(Number(a)*N,O)),i&&(O=Math.min(Number(i)*N,O)),O=Math.max(O,N);const R=O+(M==="border-box"?D+I:0),P=Math.abs(O-B)<=1;return{outerHeightStyle:R,overflow:P}},[i,a,t.placeholder]),m=(E,S)=>{const{outerHeightStyle:T,overflow:L}=S;return h.current<20&&(T>0&&Math.abs((E.outerHeightStyle||0)-T)>1||E.overflow!==L)?(h.current+=1,{overflow:L,outerHeightStyle:T}):E},v=C.useCallback(()=>{const E=b();Kbe(E)||g(S=>m(S,E))},[b]),w=()=>{const E=b();Kbe(E)||am.flushSync(()=>{g(S=>m(S,E))})};C.useEffect(()=>{const E=i1(()=>{h.current=0,c.current&&w()});let S;const T=c.current,L=wh(T);return L.addEventListener("resize",E),typeof ResizeObserver<"u"&&(S=new ResizeObserver(E),S.observe(T)),()=>{E.clear(),L.removeEventListener("resize",E),S&&S.disconnect()}}),Sf(()=>{v()}),C.useEffect(()=>{h.current=0},[s]);const k=E=>{h.current=0,u||v(),r&&r(E)};return zt(C.Fragment,{children:[me("textarea",Ne({value:s,onChange:k,ref:f,rows:a,style:Ne({height:p.outerHeightStyle,overflow:p.overflow?"hidden":void 0},o)},l)),me("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:Ne({},R_t.shadow,o,{padding:0})})]})}),O_t=M_t;function L_t(e){return xr("MuiSvgIcon",e)}Sr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const B_t=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],P_t=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${_n(t)}`,`fontSize${_n(n)}`]};return Er(i,L_t,r)},F_t=dn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${_n(n.color)}`],t[`fontSize${_n(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(a=i.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(h=(e.vars||e).palette)==null||(p=h[t.color])==null?void 0:p.main)!=null?d:{action:(g=(e.vars||e).palette)==null||(b=g.action)==null?void 0:b.active,disabled:(m=(e.vars||e).palette)==null||(v=m.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),yje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:o="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,h=Sn(r,B_t),p=Ne({},r,{color:o,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d}),g={};c||(g.viewBox=d);const b=P_t(p);return zt(F_t,Ne({as:s,className:mn(b.root,a),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},g,h,{ownerState:p,children:[i,f?me("title",{children:f}):null]}))});yje.muiName="SvgIcon";const Ybe=yje;function fo(e,t){function n(r,i){return me(Ybe,Ne({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=Ybe.muiName,C.memo(C.forwardRef(n))}const N_t={configure:e=>{Kfe.configure(e)}},$_t=Object.freeze(Object.defineProperty({__proto__:null,capitalize:_n,createChainedFunction:_ae,createSvgIcon:fo,debounce:i1,deprecatedPropType:g3t,isMuiElement:CS,ownerDocument:hl,ownerWindow:wh,requirePropFactory:m3t,setRef:IL,unstable_ClassNameGenerator:N_t,unstable_useEnhancedEffect:Sf,unstable_useId:g7,unsupportedProp:b3t,useControlled:kh,useEventCallback:ya,useForkRef:co,useIsFocusVisible:Gfe},Symbol.toStringTag,{value:"Module"}));function Iae(e,t){return Iae=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Iae(e,t)}function n$(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Iae(e,t)}function z_t(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function U_t(e,t){e.classList?e.classList.add(t):z_t(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Xbe(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function j_t(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Xbe(e.className,t):e.setAttribute("class",Xbe(e.className&&e.className.baseVal||"",t))}const Jbe={disabled:!1},BL=gr.createContext(null);var bje=function(t){return t.scrollTop},C9="unmounted",Cb="exited",Eb="entering",xk="entered",Rae="exiting",lm=function(e){n$(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var o=i,s=o&&!o.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=Cb,a.appearStatus=Eb):l=xk:r.unmountOnExit||r.mountOnEnter?l=C9:l=Cb,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===C9?{status:Cb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Eb&&o!==xk&&(a=Eb):(o===Eb||o===xk)&&(a=Rae)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Eb){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Gk.findDOMNode(this);o&&bje(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Cb&&this.setState({status:C9})},n.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Gk.findDOMNode(this),s],u=l[0],c=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!o||Jbe.disabled){this.safeSetState({status:xk},function(){a.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Eb},function(){a.props.onEntering(u,c),a.onTransitionEnd(d,function(){a.safeSetState({status:xk},function(){a.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:Gk.findDOMNode(this);if(!a||Jbe.disabled){this.safeSetState({status:Cb},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Rae},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Cb},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Gk.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===C9)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=Sn(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return gr.createElement(BL.Provider,{value:null},typeof o=="function"?o(i,s):gr.cloneElement(gr.Children.only(o),s))},t}(gr.Component);lm.contextType=BL;lm.propTypes={};function jw(){}lm.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jw,onEntering:jw,onEntered:jw,onExit:jw,onExiting:jw,onExited:jw};lm.UNMOUNTED=C9;lm.EXITED=Cb;lm.ENTERING=Eb;lm.ENTERED=xk;lm.EXITING=Rae;const k7=lm;var H_t=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return U_t(t,r)})},mq=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return j_t(t,r)})},lde=function(e){n$(t,e);function t(){for(var r,i=arguments.length,a=new Array(i),o=0;oe.scrollTop;function p2(e,t){var n,r;const{timeout:i,easing:a,style:o={}}=e;return{duration:(n=o.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=o.transitionTimingFunction)!=null?r:typeof a=="object"?a[t.mode]:a,delay:o.transitionDelay}}function J_t(e){return xr("MuiCollapse",e)}Sr("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Z_t=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Q_t=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Er(r,J_t,n)},eCt=dn("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>Ne({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&Ne({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),tCt=dn("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>Ne({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),nCt=dn("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>Ne({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),wje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:o,collapsedSize:s="0px",component:l,easing:u,in:c,onEnter:f,onEntered:d,onEntering:h,onExit:p,onExited:g,onExiting:b,orientation:m="vertical",style:v,timeout:w=aje.standard,TransitionComponent:k=k7}=r,E=Sn(r,Z_t),S=Ne({},r,{orientation:m,collapsedSize:s}),T=Q_t(S),L=Df(),M=C.useRef(),D=C.useRef(null),I=C.useRef(),B=typeof s=="number"?`${s}px`:s,N=m==="horizontal",O=N?"width":"height";C.useEffect(()=>()=>{clearTimeout(M.current)},[]);const R=C.useRef(null),P=co(n,R),H=Q=>ae=>{if(Q){const le=R.current;ae===void 0?Q(le):Q(le,ae)}},F=()=>D.current?D.current[N?"clientWidth":"clientHeight"]:0,q=H((Q,ae)=>{D.current&&N&&(D.current.style.position="absolute"),Q.style[O]=B,f&&f(Q,ae)}),V=H((Q,ae)=>{const le=F();D.current&&N&&(D.current.style.position="");const{duration:oe,easing:ee}=p2({style:v,timeout:w,easing:u},{mode:"enter"});if(w==="auto"){const ne=L.transitions.getAutoHeightDuration(le);Q.style.transitionDuration=`${ne}ms`,I.current=ne}else Q.style.transitionDuration=typeof oe=="string"?oe:`${oe}ms`;Q.style[O]=`${le}px`,Q.style.transitionTimingFunction=ee,h&&h(Q,ae)}),X=H((Q,ae)=>{Q.style[O]="auto",d&&d(Q,ae)}),G=H(Q=>{Q.style[O]=`${F()}px`,p&&p(Q)}),J=H(g),te=H(Q=>{const ae=F(),{duration:le,easing:oe}=p2({style:v,timeout:w,easing:u},{mode:"exit"});if(w==="auto"){const ee=L.transitions.getAutoHeightDuration(ae);Q.style.transitionDuration=`${ee}ms`,I.current=ee}else Q.style.transitionDuration=typeof le=="string"?le:`${le}ms`;Q.style[O]=B,Q.style.transitionTimingFunction=oe,b&&b(Q)});return me(k,Ne({in:c,onEnter:q,onEntered:X,onEntering:V,onExit:G,onExited:J,onExiting:te,addEndListener:Q=>{w==="auto"&&(M.current=setTimeout(Q,I.current||0)),i&&i(R.current,Q)},nodeRef:R,timeout:w==="auto"?null:w},E,{children:(Q,ae)=>me(eCt,Ne({as:l,className:mn(T.root,o,{entered:T.entered,exited:!c&&B==="0px"&&T.hidden}[Q]),style:Ne({[N?"minWidth":"minHeight"]:B},v),ownerState:Ne({},S,{state:Q}),ref:P},ae,{children:me(tCt,{ownerState:Ne({},S,{state:Q}),className:T.wrapper,ref:D,children:me(nCt,{ownerState:Ne({},S,{state:Q}),className:T.wrapperInner,children:a})})}))}))});wje.muiSupportAuto=!0;const r$=wje;function rCt(e){return xr("MuiPaper",e)}Sr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const iCt=["className","component","elevation","square","variant"],aCt=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Er(a,rCt,i)},oCt=dn("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return Ne({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&Ne({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Li("#fff",Lbe(t.elevation))}, ${Li("#fff",Lbe(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),sCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiPaper"}),{className:i,component:a="div",elevation:o=1,square:s=!1,variant:l="elevation"}=r,u=Sn(r,iCt),c=Ne({},r,{component:a,elevation:o,square:s,variant:l}),f=aCt(c);return me(oCt,Ne({as:a,ownerState:c,className:mn(f.root,i),ref:n},u))}),j2=sCt;function lCt(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:l,timeout:u}=e,[c,f]=C.useState(!1),d=mn(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},p=mn(n.child,c&&n.childLeaving,r&&n.childPulsate);return!s&&!c&&f(!0),C.useEffect(()=>{if(!s&&l!=null){const g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,s,u]),me("span",{className:d,style:h,children:me("span",{className:p})})}const uCt=Sr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zd=uCt,cCt=["center","classes","className"];let i$=e=>e,Zbe,Qbe,e4e,t4e;const Mae=550,fCt=80,dCt=d7(Zbe||(Zbe=i$` 0% { transform: scale(0); opacity: 0.1; @@ -128,7 +128,7 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n transform: scale(1); opacity: 0.3; } -`)),dCt=d7(Qbe||(Qbe=i$` +`)),hCt=d7(Qbe||(Qbe=i$` 0% { opacity: 1; } @@ -136,7 +136,7 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n 100% { opacity: 0; } -`)),hCt=d7(e4e||(e4e=i$` +`)),pCt=d7(e4e||(e4e=i$` 0% { transform: scale(1); } @@ -148,7 +148,7 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n 100% { transform: scale(1); } -`)),pCt=dn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),gCt=dn(sCt,{name:"MuiTouchRipple",slot:"Ripple"})(t4e||(t4e=i$` +`)),gCt=dn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),mCt=dn(lCt,{name:"MuiTouchRipple",slot:"Ripple"})(t4e||(t4e=i$` opacity: 0; position: absolute; @@ -191,7 +191,7 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n animation-iteration-count: infinite; animation-delay: 200ms; } -`),Zd.rippleVisible,fCt,Mae,({theme:e})=>e.transitions.easing.easeInOut,Zd.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Zd.child,Zd.childLeaving,dCt,Mae,({theme:e})=>e.transitions.easing.easeInOut,Zd.childPulsate,hCt,({theme:e})=>e.transitions.easing.easeInOut),mCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:o}=r,s=Sn(r,uCt),[l,u]=C.useState([]),c=C.useRef(0),f=C.useRef(null);C.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=C.useRef(!1),h=C.useRef(null),p=C.useRef(null),g=C.useRef(null);C.useEffect(()=>()=>{clearTimeout(h.current)},[]);const b=C.useCallback(k=>{const{pulsate:E,rippleX:S,rippleY:T,rippleSize:L,cb:M}=k;u(D=>[...D,me(gCt,{classes:{ripple:mn(a.ripple,Zd.ripple),rippleVisible:mn(a.rippleVisible,Zd.rippleVisible),ripplePulsate:mn(a.ripplePulsate,Zd.ripplePulsate),child:mn(a.child,Zd.child),childLeaving:mn(a.childLeaving,Zd.childLeaving),childPulsate:mn(a.childPulsate,Zd.childPulsate)},timeout:Mae,pulsate:E,rippleX:S,rippleY:T,rippleSize:L},c.current)]),c.current+=1,f.current=M},[a]),m=C.useCallback((k={},E={},S=()=>{})=>{const{pulsate:T=!1,center:L=i||E.pulsate,fakeElement:M=!1}=E;if(k?.type==="mousedown"&&d.current){d.current=!1;return}k?.type==="touchstart"&&(d.current=!0);const D=M?null:g.current,I=D?D.getBoundingClientRect():{width:0,height:0,left:0,top:0};let B,N,O;if(L||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)B=Math.round(I.width/2),N=Math.round(I.height/2);else{const{clientX:R,clientY:P}=k.touches&&k.touches.length>0?k.touches[0]:k;B=Math.round(R-I.left),N=Math.round(P-I.top)}if(L)O=Math.sqrt((2*I.width**2+I.height**2)/3),O%2===0&&(O+=1);else{const R=Math.max(Math.abs((D?D.clientWidth:0)-B),B)*2+2,P=Math.max(Math.abs((D?D.clientHeight:0)-N),N)*2+2;O=Math.sqrt(R**2+P**2)}k!=null&&k.touches?p.current===null&&(p.current=()=>{b({pulsate:T,rippleX:B,rippleY:N,rippleSize:O,cb:S})},h.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},cCt)):b({pulsate:T,rippleX:B,rippleY:N,rippleSize:O,cb:S})},[i,b]),v=C.useCallback(()=>{m({},{pulsate:!0})},[m]),w=C.useCallback((k,E)=>{if(clearTimeout(h.current),k?.type==="touchend"&&p.current){p.current(),p.current=null,h.current=setTimeout(()=>{w(k,E)});return}p.current=null,u(S=>S.length>0?S.slice(1):S),f.current=E},[]);return C.useImperativeHandle(n,()=>({pulsate:v,start:m,stop:w}),[v,m,w]),me(pCt,Ne({className:mn(Zd.root,a.root,o),ref:g},s,{children:me(fde,{component:null,exit:!0,children:l})}))}),vCt=mCt;function yCt(e){return xr("MuiButtonBase",e)}const bCt=Sr("MuiButtonBase",["root","disabled","focusVisible"]),wCt=bCt,kCt=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],_Ct=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=Er({root:["root",t&&"disabled",n&&"focusVisible"]},yCt,i);return n&&r&&(o.root+=` ${r}`),o},CCt=dn("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${wCt.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ECt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:o,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:h="a",onBlur:p,onClick:g,onContextMenu:b,onDragLeave:m,onFocus:v,onFocusVisible:w,onKeyDown:k,onKeyUp:E,onMouseDown:S,onMouseLeave:T,onMouseUp:L,onTouchEnd:M,onTouchMove:D,onTouchStart:I,tabIndex:B=0,TouchRippleProps:N,touchRippleRef:O,type:R}=r,P=Sn(r,kCt),H=C.useRef(null),F=C.useRef(null),q=co(F,O),{isFocusVisibleRef:V,onFocus:X,onBlur:G,ref:J}=Gfe(),[te,re]=C.useState(!1);u&&te&&re(!1),C.useImperativeHandle(i,()=>({focusVisible:()=>{re(!0),H.current.focus()}}),[]);const[Q,ae]=C.useState(!1);C.useEffect(()=>{ae(!0)},[]);const le=Q&&!c&&!u;C.useEffect(()=>{te&&d&&!c&&Q&&F.current.pulsate()},[c,d,te,Q]);function oe(fe,de,xe=f){return ya(Ye=>(de&&de(Ye),!xe&&F.current&&F.current[fe](Ye),!0))}const ee=oe("start",S),ne=oe("stop",b),ue=oe("stop",m),Ae=oe("stop",L),ce=oe("stop",fe=>{te&&fe.preventDefault(),T&&T(fe)}),be=oe("start",I),ge=oe("stop",M),ve=oe("stop",D),ie=oe("stop",fe=>{G(fe),V.current===!1&&re(!1),p&&p(fe)},!1),he=ya(fe=>{H.current||(H.current=fe.currentTarget),X(fe),V.current===!0&&(re(!0),w&&w(fe)),v&&v(fe)}),$e=()=>{const fe=H.current;return l&&l!=="button"&&!(fe.tagName==="A"&&fe.href)},De=C.useRef(!1),Ie=ya(fe=>{d&&!De.current&&te&&F.current&&fe.key===" "&&(De.current=!0,F.current.stop(fe,()=>{F.current.start(fe)})),fe.target===fe.currentTarget&&$e()&&fe.key===" "&&fe.preventDefault(),k&&k(fe),fe.target===fe.currentTarget&&$e()&&fe.key==="Enter"&&!u&&(fe.preventDefault(),g&&g(fe))}),Be=ya(fe=>{d&&fe.key===" "&&F.current&&te&&!fe.defaultPrevented&&(De.current=!1,F.current.stop(fe,()=>{F.current.pulsate(fe)})),E&&E(fe),g&&fe.target===fe.currentTarget&&$e()&&fe.key===" "&&!fe.defaultPrevented&&g(fe)});let we=l;we==="button"&&(P.href||P.to)&&(we=h);const je={};we==="button"?(je.type=R===void 0?"button":R,je.disabled=u):(!P.href&&!P.to&&(je.role="button"),u&&(je["aria-disabled"]=u));const Oe=co(n,J,H),Re=Ne({},r,{centerRipple:a,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:B,focusVisible:te}),ye=_Ct(Re);return zt(CCt,Ne({as:we,className:mn(ye.root,s),ownerState:Re,onBlur:ie,onClick:g,onContextMenu:ne,onFocus:he,onKeyDown:Ie,onKeyUp:Be,onMouseDown:ee,onMouseLeave:ce,onMouseUp:Ae,onDragLeave:ue,onTouchEnd:ge,onTouchMove:ve,onTouchStart:be,ref:Oe,tabIndex:u?-1:B,type:R},je,P,{children:[o,le?me(vCt,Ne({ref:q,center:a},N)):null]}))}),s1=ECt;function xCt(e){return xr("MuiAlert",e)}const SCt=Sr("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),n4e=SCt;function ACt(e){return xr("MuiIconButton",e)}const TCt=Sr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),DCt=TCt,ICt=["edge","children","className","color","disabled","disableFocusRipple","size"],RCt=e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,o={root:["root",n&&"disabled",r!=="default"&&`color${_n(r)}`,i&&`edge${_n(i)}`,`size${_n(a)}`]};return Er(o,ACt,t)},MCt=dn(s1,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${_n(n.color)}`],n.edge&&t[`edge${_n(n.edge)}`],t[`size${_n(n.size)}`]]}})(({theme:e,ownerState:t})=>Ne({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return Ne({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Ne({color:r?.main},!t.disableRipple&&{"&:hover":Ne({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${DCt.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),OCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:o,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,f=Sn(r,ICt),d=Ne({},r,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),h=RCt(d);return me(MCt,Ne({className:mn(h.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:n,ownerState:d},f,{children:a}))}),pl=OCt,LCt=fo(me("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),BCt=fo(me("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),PCt=fo(me("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),FCt=fo(me("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),NCt=fo(me("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),$Ct=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],zCt=e=>{const{variant:t,color:n,severity:r,classes:i}=e,a={root:["root",`${t}${_n(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Er(a,xCt,i)},UCt=dn(j2,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?ML:OL,r=e.palette.mode==="light"?OL:ML,i=t.color||t.severity;return Ne({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:r(e.palette[i].light,.9),[`& .${n4e.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${n4e.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="filled"&&Ne({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}))}),jCt=dn("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),HCt=dn("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),r4e=dn("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),i4e={success:me(LCt,{fontSize:"inherit"}),warning:me(BCt,{fontSize:"inherit"}),error:me(PCt,{fontSize:"inherit"}),info:me(FCt,{fontSize:"inherit"})},qCt=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({props:t,name:"MuiAlert"}),{action:c,children:f,className:d,closeText:h="Close",color:p,components:g={},componentsProps:b={},icon:m,iconMapping:v=i4e,onClose:w,role:k="alert",severity:E="success",slotProps:S={},slots:T={},variant:L="standard"}=u,M=Sn(u,$Ct),D=Ne({},u,{color:p,severity:E,variant:L}),I=zCt(D),B=(r=(i=T.closeButton)!=null?i:g.CloseButton)!=null?r:pl,N=(a=(o=T.closeIcon)!=null?o:g.CloseIcon)!=null?a:NCt,O=(s=S.closeButton)!=null?s:b.closeButton,R=(l=S.closeIcon)!=null?l:b.closeIcon;return zt(UCt,Ne({role:k,elevation:0,ownerState:D,className:mn(I.root,d),ref:n},M,{children:[m!==!1?me(jCt,{ownerState:D,className:I.icon,children:m||v[E]||i4e[E]}):null,me(HCt,{ownerState:D,className:I.message,children:f}),c!=null?me(r4e,{ownerState:D,className:I.action,children:c}):null,c==null&&w?me(r4e,{ownerState:D,className:I.action,children:me(B,Ne({size:"small","aria-label":h,title:h,color:"inherit",onClick:w},O,{children:me(N,Ne({fontSize:"small"},R))}))}):null]}))}),kje=qCt;function WCt(e){return xr("MuiTypography",e)}Sr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const GCt=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],VCt=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e,s={root:["root",a,e.align!=="inherit"&&`align${_n(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Er(s,WCt,o)},KCt=dn("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${_n(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Ne({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),a4e={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},YCt={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},XCt=e=>YCt[e]||e,JCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTypography"}),i=XCt(r.color),a=QUe(Ne({},r,{color:i})),{align:o="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:h=a4e}=a,p=Sn(a,GCt),g=Ne({},a,{align:o,color:i,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:h}),b=l||(f?"p":h[d]||a4e[d])||"span",m=VCt(g);return me(KCt,Ne({as:b,ref:n,ownerState:g,className:mn(m.root,s)},p))}),La=JCt;function ZCt(e){return xr("MuiAppBar",e)}Sr("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const QCt=["className","color","enableColorOnDark","position"],eEt=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${_n(t)}`,`position${_n(n)}`]};return Er(i,ZCt,r)},qD=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,tEt=dn(j2,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${_n(n.position)}`],t[`color${_n(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return Ne({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&Ne({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&Ne({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&Ne({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:qD(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:qD(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:qD(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:qD(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),nEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:o=!1,position:s="fixed"}=r,l=Sn(r,QCt),u=Ne({},r,{color:a,position:s,enableColorOnDark:o}),c=eEt(u);return me(tEt,Ne({square:!0,component:"header",ownerState:u,elevation:4,className:mn(c.root,i,s==="fixed"&&"mui-fixed"),ref:n},l))}),hde=nEt,rEt=["components","componentsProps","slots","slotProps"],iEt=dn(p_t,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),aEt=C.forwardRef(function(t,n){var r;const i=rje(),a=yr({props:t,name:"MuiPopper"}),{components:o,componentsProps:s,slots:l,slotProps:u}=a,c=Sn(a,rEt),f=(r=l?.root)!=null?r:o?.Root;return me(iEt,Ne({direction:i?.direction,slots:{root:f},slotProps:u??s},c,{ref:n}))}),_je=aEt;function oEt(e){return xr("MuiListSubheader",e)}Sr("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const sEt=["className","color","component","disableGutters","disableSticky","inset"],lEt=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:a}=e,o={root:["root",n!=="default"&&`color${_n(n)}`,!r&&"gutters",i&&"inset",!a&&"sticky"]};return Er(o,oEt,t)},uEt=dn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${_n(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>Ne({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),Cje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListSubheader"}),{className:i,color:a="default",component:o="li",disableGutters:s=!1,disableSticky:l=!1,inset:u=!1}=r,c=Sn(r,sEt),f=Ne({},r,{color:a,component:o,disableGutters:s,disableSticky:l,inset:u}),d=lEt(f);return me(uEt,Ne({as:o,className:mn(d.root,i),ref:n,ownerState:f},c))});Cje.muiSkipListHighlight=!0;const D4=Cje,cEt=fo(me("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function fEt(e){return xr("MuiChip",e)}const dEt=Sr("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ma=dEt,hEt=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],pEt=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:a,onDelete:o,clickable:s,variant:l}=e,u={root:["root",l,n&&"disabled",`size${_n(r)}`,`color${_n(i)}`,s&&"clickable",s&&`clickableColor${_n(i)}`,o&&"deletable",o&&`deletableColor${_n(i)}`,`${l}${_n(i)}`],label:["label",`label${_n(r)}`],avatar:["avatar",`avatar${_n(r)}`,`avatarColor${_n(i)}`],icon:["icon",`icon${_n(r)}`,`iconColor${_n(a)}`],deleteIcon:["deleteIcon",`deleteIcon${_n(r)}`,`deleteIconColor${_n(i)}`,`deleteIcon${_n(l)}Color${_n(i)}`]};return Er(u,fEt,t)},gEt=dn("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:a,onDelete:o,size:s,variant:l}=n;return[{[`& .${ma.avatar}`]:t.avatar},{[`& .${ma.avatar}`]:t[`avatar${_n(s)}`]},{[`& .${ma.avatar}`]:t[`avatarColor${_n(r)}`]},{[`& .${ma.icon}`]:t.icon},{[`& .${ma.icon}`]:t[`icon${_n(s)}`]},{[`& .${ma.icon}`]:t[`iconColor${_n(i)}`]},{[`& .${ma.deleteIcon}`]:t.deleteIcon},{[`& .${ma.deleteIcon}`]:t[`deleteIcon${_n(s)}`]},{[`& .${ma.deleteIcon}`]:t[`deleteIconColor${_n(r)}`]},{[`& .${ma.deleteIcon}`]:t[`deleteIcon${_n(l)}Color${_n(r)}`]},t.root,t[`size${_n(s)}`],t[`color${_n(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${_n(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${_n(r)}`],t[l],t[`${l}${_n(r)}`]]}})(({theme:e,ownerState:t})=>{const n=Li(e.palette.text.primary,.26),r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return Ne({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ma.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ma.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${ma.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ma.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ma.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ma.icon}`]:Ne({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&Ne({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${ma.deleteIcon}`]:Ne({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Li(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Li(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>Ne({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>Ne({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ma.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ma.avatar}`]:{marginLeft:4},[`& .${ma.avatarSmall}`]:{marginLeft:2},[`& .${ma.icon}`]:{marginLeft:4},[`& .${ma.iconSmall}`]:{marginLeft:2},[`& .${ma.deleteIcon}`]:{marginRight:5},[`& .${ma.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Li(e.palette[t.color].main,.7)}`,[`&.${ma.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Li(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ma.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Li(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),mEt=dn("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${_n(r)}`]]}})(({ownerState:e})=>Ne({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function o4e(e){return e.key==="Backspace"||e.key==="Delete"}const vEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiChip"}),{avatar:i,className:a,clickable:o,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:f,label:d,onClick:h,onDelete:p,onKeyDown:g,onKeyUp:b,size:m="medium",variant:v="filled",tabIndex:w,skipFocusWhenDisabled:k=!1}=r,E=Sn(r,hEt),S=C.useRef(null),T=co(S,n),L=q=>{q.stopPropagation(),p&&p(q)},M=q=>{q.currentTarget===q.target&&o4e(q)&&q.preventDefault(),g&&g(q)},D=q=>{q.currentTarget===q.target&&(p&&o4e(q)?p(q):q.key==="Escape"&&S.current&&S.current.blur()),b&&b(q)},I=o!==!1&&h?!0:o,B=I||p?s1:l||"div",N=Ne({},r,{component:B,disabled:c,size:m,color:s,iconColor:C.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:I,variant:v}),O=pEt(N),R=B===s1?Ne({component:l||"div",focusVisibleClassName:O.focusVisible},p&&{disableRipple:!0}):{};let P=null;p&&(P=u&&C.isValidElement(u)?C.cloneElement(u,{className:mn(u.props.className,O.deleteIcon),onClick:L}):me(cEt,{className:mn(O.deleteIcon),onClick:L}));let H=null;i&&C.isValidElement(i)&&(H=C.cloneElement(i,{className:mn(O.avatar,i.props.className)}));let F=null;return f&&C.isValidElement(f)&&(F=C.cloneElement(f,{className:mn(O.icon,f.props.className)})),zt(gEt,Ne({as:B,className:mn(O.root,a),disabled:I&&c?!0:void 0,onClick:h,onKeyDown:M,onKeyUp:D,ref:T,tabIndex:k&&c?-1:w,ownerState:N},R,E,{children:[H||F,me(mEt,{className:mn(O.label),ownerState:N,children:d}),P]}))}),Eje=vEt;function p3({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const yEt=C.createContext(void 0),pde=yEt;function g3(){return C.useContext(pde)}function xje(e){return me($3t,Ne({},e,{defaultTheme:e$}))}function s4e(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function gde(e,t=!1){return e&&(s4e(e.value)&&e.value!==""||t&&s4e(e.defaultValue)&&e.defaultValue!=="")}function bEt(e){return e.startAdornment}function wEt(e){return xr("MuiInputBase",e)}const kEt=Sr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),u_=kEt,_Et=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],a$=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${_n(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},o$=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},CEt=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:h,type:p}=e,g={root:["root",`color${_n(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",o&&"focused",s&&"formControl",d==="small"&&"sizeSmall",c&&"multiline",h&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return Er(g,wEt,t)},s$=dn("div",{name:"MuiInputBase",slot:"Root",overridesResolver:a$})(({theme:e,ownerState:t})=>Ne({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${u_.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Ne({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),l$=dn("input",{name:"MuiInputBase",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=Ne({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Ne({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${u_.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${u_.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),EEt=me(xje,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),xEt=C.forwardRef(function(t,n){var r;const i=yr({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:o,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:g=!1,id:b,inputComponent:m="input",inputProps:v={},inputRef:w,maxRows:k,minRows:E,multiline:S=!1,name:T,onBlur:L,onChange:M,onClick:D,onFocus:I,onKeyDown:B,onKeyUp:N,placeholder:O,readOnly:R,renderSuffix:P,rows:H,slotProps:F={},slots:q={},startAdornment:V,type:X="text",value:G}=i,J=Sn(i,_Et),te=v.value!=null?v.value:G,{current:re}=C.useRef(te!=null),Q=C.useRef(),ae=C.useCallback(ye=>{},[]),le=co(Q,w,v.ref,ae),[oe,ee]=C.useState(!1),ne=g3(),ue=p3({props:i,muiFormControl:ne,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ue.focused=ne?ne.focused:oe,C.useEffect(()=>{!ne&&d&&oe&&(ee(!1),L&&L())},[ne,d,oe,L]);const Ae=ne&&ne.onFilled,ce=ne&&ne.onEmpty,be=C.useCallback(ye=>{gde(ye)?Ae&&Ae():ce&&ce()},[Ae,ce]);Sf(()=>{re&&be({value:te})},[te,be,re]);const ge=ye=>{if(ue.disabled){ye.stopPropagation();return}I&&I(ye),v.onFocus&&v.onFocus(ye),ne&&ne.onFocus?ne.onFocus(ye):ee(!0)},ve=ye=>{L&&L(ye),v.onBlur&&v.onBlur(ye),ne&&ne.onBlur?ne.onBlur(ye):ee(!1)},ie=(ye,...fe)=>{if(!re){const de=ye.target||Q.current;if(de==null)throw new Error(h2(1));be({value:de.value})}v.onChange&&v.onChange(ye,...fe),M&&M(ye,...fe)};C.useEffect(()=>{be(Q.current)},[]);const he=ye=>{Q.current&&ye.currentTarget===ye.target&&Q.current.focus(),D&&D(ye)};let $e=m,De=v;S&&$e==="input"&&(H?De=Ne({type:void 0,minRows:H,maxRows:H},De):De=Ne({type:void 0,maxRows:k,minRows:E},De),$e=M_t);const Ie=ye=>{be(ye.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};C.useEffect(()=>{ne&&ne.setAdornedStart(!!V)},[ne,V]);const Be=Ne({},i,{color:ue.color||"primary",disabled:ue.disabled,endAdornment:p,error:ue.error,focused:ue.focused,formControl:ne,fullWidth:g,hiddenLabel:ue.hiddenLabel,multiline:S,size:ue.size,startAdornment:V,type:X}),we=CEt(Be),je=q.root||u.Root||s$,Oe=F.root||c.root||{},Re=q.input||u.Input||l$;return De=Ne({},De,(r=F.input)!=null?r:c.input),zt(C.Fragment,{children:[!h&&EEt,zt(je,Ne({},Oe,!i_(je)&&{ownerState:Ne({},Be,Oe.ownerState)},{ref:n,onClick:he},J,{className:mn(we.root,Oe.className,l,R&&"MuiInputBase-readOnly"),children:[V,me(pde.Provider,{value:null,children:me(Re,Ne({ownerState:Be,"aria-invalid":ue.error,"aria-describedby":a,autoComplete:o,autoFocus:s,defaultValue:f,disabled:ue.disabled,id:b,onAnimationStart:Ie,name:T,placeholder:O,readOnly:R,required:ue.required,rows:H,value:te,onKeyDown:B,onKeyUp:N,type:X},De,!i_(Re)&&{as:$e,ownerState:Ne({},Be,De.ownerState)},{ref:le,className:mn(we.input,De.className,R&&"MuiInputBase-readOnly"),onBlur:ve,onChange:ie,onFocus:ge}))}),p,P?P(Ne({},ue,{startAdornment:V})):null]}))]})}),mde=xEt;function SEt(e){return xr("MuiInput",e)}const AEt=Ne({},u_,Sr("MuiInput",["root","underline","input"])),M5=AEt;function TEt(e){return xr("MuiOutlinedInput",e)}const DEt=Ne({},u_,Sr("MuiOutlinedInput",["root","notchedOutline","input"])),Vm=DEt;function IEt(e){return xr("MuiFilledInput",e)}const REt=Ne({},u_,Sr("MuiFilledInput",["root","underline","input"])),tb=REt,Sje=fo(me("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),MEt=fo(me("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function OEt(e){return xr("MuiAvatar",e)}const LEt=Sr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),BEt=LEt,PEt=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],FEt=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Er({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},OEt,t)},NEt=dn("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>Ne({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&Ne({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),$Et=dn("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),zEt=dn(MEt,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function UEt({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,a]=C.useState(!1);return C.useEffect(()=>{if(!n&&!r)return;a(!1);let o=!0;const s=new Image;return s.onload=()=>{o&&a("loaded")},s.onerror=()=>{o&&a("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=n,r&&(s.srcset=r),()=>{o=!1}},[e,t,n,r]),i}const jEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:o,component:s="div",imgProps:l,sizes:u,src:c,srcSet:f,variant:d="circular"}=r,h=Sn(r,PEt);let p=null;const g=UEt(Ne({},l,{src:c,srcSet:f})),b=c||f,m=b&&g!=="error",v=Ne({},r,{colorDefault:!m,component:s,variant:d}),w=FEt(v);return m?p=me($Et,Ne({alt:i,src:c,srcSet:f,sizes:u,ownerState:v,className:w.img},l)):a!=null?p=a:b&&i?p=i[0]:p=me(zEt,{ownerState:v,className:w.fallback}),me(NEt,Ne({as:s,ownerState:v,className:mn(w.root,o),ref:n},h,{children:p}))}),PL=jEt;function HEt(e){return xr("MuiAvatarGroup",e)}const qEt=Sr("MuiAvatarGroup",["root","avatar"]),WEt=qEt,GEt=["children","className","component","componentsProps","max","slotProps","spacing","total","variant"],l4e={small:-16,medium:null},VEt=e=>{const{classes:t}=e;return Er({root:["root"],avatar:["avatar"]},HEt,t)},KEt=dn("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>Ne({[`& .${WEt.avatar}`]:t.avatar},t.root)})(({theme:e})=>({[`& .${BEt.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"})),YEt=dn(PL,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})(({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})),XEt=C.forwardRef(function(t,n){var r;const i=yr({props:t,name:"MuiAvatarGroup"}),{children:a,className:o,component:s="div",componentsProps:l={},max:u=5,slotProps:c={},spacing:f="medium",total:d,variant:h="circular"}=i,p=Sn(i,GEt);let g=u<2?2:u;const b=Ne({},i,{max:u,spacing:f,component:s,variant:h}),m=VEt(b),v=C.Children.toArray(a).filter(L=>C.isValidElement(L)),w=d||v.length;w===g&&(g+=1),g=Math.min(w+1,g);const k=Math.min(v.length,g-1),E=Math.max(w-g,w-k,0),S=f&&l4e[f]!==void 0?l4e[f]:-f,T=(r=c.additionalAvatar)!=null?r:l.additionalAvatar;return zt(KEt,Ne({as:s,ownerState:b,className:mn(m.root,o),ref:n},p,{children:[E?zt(YEt,Ne({ownerState:b,variant:h},T,{className:mn(m.avatar,T?.className),style:Ne({marginLeft:S},T?.style),children:["+",E]})):null,v.slice(0,k).reverse().map((L,M)=>C.cloneElement(L,{className:mn(L.props.className,m.avatar),style:Ne({marginLeft:M===k-1?void 0:S},L.props.style),variant:L.props.variant||h}))]}))}),JEt=XEt,ZEt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],QEt={entering:{opacity:1},entered:{opacity:1}},e5t=C.forwardRef(function(t,n){const r=Df(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:o=!0,children:s,easing:l,in:u,onEnter:c,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:g,style:b,timeout:m=i,TransitionComponent:v=k7}=t,w=Sn(t,ZEt),k=C.useRef(null),E=co(k,s.ref,n),S=O=>R=>{if(O){const P=k.current;R===void 0?O(P):O(P,R)}},T=S(d),L=S((O,R)=>{dde(O);const P=p2({style:b,timeout:m,easing:l},{mode:"enter"});O.style.webkitTransition=r.transitions.create("opacity",P),O.style.transition=r.transitions.create("opacity",P),c&&c(O,R)}),M=S(f),D=S(g),I=S(O=>{const R=p2({style:b,timeout:m,easing:l},{mode:"exit"});O.style.webkitTransition=r.transitions.create("opacity",R),O.style.transition=r.transitions.create("opacity",R),h&&h(O)}),B=S(p);return me(v,Ne({appear:o,in:u,nodeRef:k,onEnter:L,onEntered:M,onEntering:T,onExit:I,onExited:B,onExiting:D,addEndListener:O=>{a&&a(k.current,O)},timeout:m},w,{children:(O,R)=>C.cloneElement(s,Ne({style:Ne({opacity:0,visibility:O==="exited"&&!u?"hidden":void 0},QEt[O],b,s.props.style),ref:E},R))}))}),_7=e5t;function t5t(e){return xr("MuiBackdrop",e)}Sr("MuiBackdrop",["root","invisible"]);const n5t=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],r5t=e=>{const{classes:t,invisible:n}=e;return Er({root:["root",n&&"invisible"]},t5t,t)},i5t=dn("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>Ne({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),a5t=C.forwardRef(function(t,n){var r,i,a;const o=yr({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:f={},invisible:d=!1,open:h,slotProps:p={},slots:g={},TransitionComponent:b=_7,transitionDuration:m}=o,v=Sn(o,n5t),w=Ne({},o,{component:u,invisible:d}),k=r5t(w),E=(r=p.root)!=null?r:f.root;return me(b,Ne({in:h,timeout:m},v,{children:me(i5t,Ne({"aria-hidden":!0},E,{as:(i=(a=g.root)!=null?a:c.Root)!=null?i:u,className:mn(k.root,l,E?.className),ownerState:Ne({},w,E?.ownerState),classes:k,ref:n,children:s}))}))}),Aje=a5t;function o5t(e){return xr("MuiBadge",e)}const s5t=Sr("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Km=s5t,l5t=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],vq=10,yq=4,u5t=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:i,variant:a,classes:o={}}=e,s={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}`,`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}${_n(i)}`,`overlap${_n(i)}`,t!=="default"&&`color${_n(t)}`]};return Er(s,o5t,o)},c5t=dn("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),f5t=dn("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${_n(n.anchorOrigin.vertical)}${_n(n.anchorOrigin.horizontal)}${_n(n.overlap)}`],n.color!=="default"&&t[`color${_n(n.color)}`],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>Ne({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:vq*2,lineHeight:1,padding:"0 6px",height:vq*2,borderRadius:vq,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:yq,height:yq*2,minWidth:yq*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),d5t=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:f,component:d,components:h={},componentsProps:p={},children:g,overlap:b="rectangular",color:m="default",invisible:v=!1,max:w=99,badgeContent:k,slots:E,slotProps:S,showZero:T=!1,variant:L="standard"}=u,M=Sn(u,l5t),{badgeContent:D,invisible:I,max:B,displayValue:N}=Ukt({max:w,invisible:v,badgeContent:k,showZero:T}),O=KUe({anchorOrigin:c,color:m,overlap:b,variant:L,badgeContent:k}),R=I||D==null&&L!=="dot",{color:P=m,overlap:H=b,anchorOrigin:F=c,variant:q=L}=R?O:u,V=q!=="dot"?N:void 0,X=Ne({},u,{badgeContent:D,invisible:R,max:B,displayValue:V,showZero:T,anchorOrigin:F,color:P,overlap:H,variant:q}),G=u5t(X),J=(r=(i=E?.root)!=null?i:h.Root)!=null?r:c5t,te=(a=(o=E?.badge)!=null?o:h.Badge)!=null?a:f5t,re=(s=S?.root)!=null?s:p.root,Q=(l=S?.badge)!=null?l:p.badge,ae=ed({elementType:J,externalSlotProps:re,externalForwardedProps:M,additionalProps:{ref:n,as:d},ownerState:X,className:mn(re?.className,G.root,f)}),le=ed({elementType:te,externalSlotProps:Q,ownerState:X,className:mn(G.badge,Q?.className)});return zt(J,Ne({},ae,{children:[g,me(te,Ne({},le,{children:V}))]}))}),h5t=d5t,p5t=h3(),g5t=qwt({defaultTheme:p5t,defaultClassName:"MuiBox-root",generateClassName:Kfe.generate}),f0=g5t;function m5t(e){return xr("MuiButton",e)}const v5t=Sr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),WD=v5t,y5t=C.createContext({}),b5t=y5t,w5t=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],k5t=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:o}=e,s={root:["root",a,`${a}${_n(t)}`,`size${_n(i)}`,`${a}Size${_n(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${_n(i)}`],endIcon:["endIcon",`iconSize${_n(i)}`]},l=Er(s,m5t,o);return Ne({},o,l)},Tje=e=>Ne({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),_5t=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color)}`],t[`size${_n(n.size)}`],t[`${n.variant}Size${_n(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return Ne({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Ne({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Ne({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${WD.focusVisible}`]:Ne({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${WD.disabled}`]:Ne({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Li(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${WD.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${WD.disabled}`]:{boxShadow:"none"}}),C5t=dn("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${_n(n.size)}`]]}})(({ownerState:e})=>Ne({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Tje(e))),E5t=dn("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${_n(n.size)}`]]}})(({ownerState:e})=>Ne({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Tje(e))),x5t=C.forwardRef(function(t,n){const r=C.useContext(b5t),i=Vfe(r,t),a=yr({props:i,name:"MuiButton"}),{children:o,color:s="primary",component:l="button",className:u,disabled:c=!1,disableElevation:f=!1,disableFocusRipple:d=!1,endIcon:h,focusVisibleClassName:p,fullWidth:g=!1,size:b="medium",startIcon:m,type:v,variant:w="text"}=a,k=Sn(a,w5t),E=Ne({},a,{color:s,component:l,disabled:c,disableElevation:f,disableFocusRipple:d,fullWidth:g,size:b,type:v,variant:w}),S=k5t(E),T=m&&me(C5t,{className:S.startIcon,ownerState:E,children:m}),L=h&&me(E5t,{className:S.endIcon,ownerState:E,children:h});return zt(_5t,Ne({ownerState:E,className:mn(r.className,S.root,u),component:l,disabled:c,focusRipple:!d,focusVisibleClassName:mn(S.focusVisible,p),ref:n,type:v},k,{classes:S,children:[T,o,L]}))}),Js=x5t;function S5t(e){return xr("MuiCircularProgress",e)}Sr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const A5t=["className","color","disableShrink","size","style","thickness","value","variant"];let u$=e=>e,u4e,c4e,f4e,d4e;const Ym=44,T5t=d7(u4e||(u4e=u$` +`),Zd.rippleVisible,dCt,Mae,({theme:e})=>e.transitions.easing.easeInOut,Zd.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Zd.child,Zd.childLeaving,hCt,Mae,({theme:e})=>e.transitions.easing.easeInOut,Zd.childPulsate,pCt,({theme:e})=>e.transitions.easing.easeInOut),vCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:o}=r,s=Sn(r,cCt),[l,u]=C.useState([]),c=C.useRef(0),f=C.useRef(null);C.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=C.useRef(!1),h=C.useRef(null),p=C.useRef(null),g=C.useRef(null);C.useEffect(()=>()=>{clearTimeout(h.current)},[]);const b=C.useCallback(k=>{const{pulsate:E,rippleX:S,rippleY:T,rippleSize:L,cb:M}=k;u(D=>[...D,me(mCt,{classes:{ripple:mn(a.ripple,Zd.ripple),rippleVisible:mn(a.rippleVisible,Zd.rippleVisible),ripplePulsate:mn(a.ripplePulsate,Zd.ripplePulsate),child:mn(a.child,Zd.child),childLeaving:mn(a.childLeaving,Zd.childLeaving),childPulsate:mn(a.childPulsate,Zd.childPulsate)},timeout:Mae,pulsate:E,rippleX:S,rippleY:T,rippleSize:L},c.current)]),c.current+=1,f.current=M},[a]),m=C.useCallback((k={},E={},S=()=>{})=>{const{pulsate:T=!1,center:L=i||E.pulsate,fakeElement:M=!1}=E;if(k?.type==="mousedown"&&d.current){d.current=!1;return}k?.type==="touchstart"&&(d.current=!0);const D=M?null:g.current,I=D?D.getBoundingClientRect():{width:0,height:0,left:0,top:0};let B,N,O;if(L||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)B=Math.round(I.width/2),N=Math.round(I.height/2);else{const{clientX:R,clientY:P}=k.touches&&k.touches.length>0?k.touches[0]:k;B=Math.round(R-I.left),N=Math.round(P-I.top)}if(L)O=Math.sqrt((2*I.width**2+I.height**2)/3),O%2===0&&(O+=1);else{const R=Math.max(Math.abs((D?D.clientWidth:0)-B),B)*2+2,P=Math.max(Math.abs((D?D.clientHeight:0)-N),N)*2+2;O=Math.sqrt(R**2+P**2)}k!=null&&k.touches?p.current===null&&(p.current=()=>{b({pulsate:T,rippleX:B,rippleY:N,rippleSize:O,cb:S})},h.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},fCt)):b({pulsate:T,rippleX:B,rippleY:N,rippleSize:O,cb:S})},[i,b]),v=C.useCallback(()=>{m({},{pulsate:!0})},[m]),w=C.useCallback((k,E)=>{if(clearTimeout(h.current),k?.type==="touchend"&&p.current){p.current(),p.current=null,h.current=setTimeout(()=>{w(k,E)});return}p.current=null,u(S=>S.length>0?S.slice(1):S),f.current=E},[]);return C.useImperativeHandle(n,()=>({pulsate:v,start:m,stop:w}),[v,m,w]),me(gCt,Ne({className:mn(Zd.root,a.root,o),ref:g},s,{children:me(fde,{component:null,exit:!0,children:l})}))}),yCt=vCt;function bCt(e){return xr("MuiButtonBase",e)}const wCt=Sr("MuiButtonBase",["root","disabled","focusVisible"]),kCt=wCt,_Ct=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],CCt=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=Er({root:["root",t&&"disabled",n&&"focusVisible"]},bCt,i);return n&&r&&(o.root+=` ${r}`),o},ECt=dn("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${kCt.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),xCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:o,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:h="a",onBlur:p,onClick:g,onContextMenu:b,onDragLeave:m,onFocus:v,onFocusVisible:w,onKeyDown:k,onKeyUp:E,onMouseDown:S,onMouseLeave:T,onMouseUp:L,onTouchEnd:M,onTouchMove:D,onTouchStart:I,tabIndex:B=0,TouchRippleProps:N,touchRippleRef:O,type:R}=r,P=Sn(r,_Ct),H=C.useRef(null),F=C.useRef(null),q=co(F,O),{isFocusVisibleRef:V,onFocus:X,onBlur:G,ref:J}=Gfe(),[te,re]=C.useState(!1);u&&te&&re(!1),C.useImperativeHandle(i,()=>({focusVisible:()=>{re(!0),H.current.focus()}}),[]);const[Q,ae]=C.useState(!1);C.useEffect(()=>{ae(!0)},[]);const le=Q&&!c&&!u;C.useEffect(()=>{te&&d&&!c&&Q&&F.current.pulsate()},[c,d,te,Q]);function oe(fe,de,xe=f){return ya(Ye=>(de&&de(Ye),!xe&&F.current&&F.current[fe](Ye),!0))}const ee=oe("start",S),ne=oe("stop",b),ue=oe("stop",m),Ae=oe("stop",L),ce=oe("stop",fe=>{te&&fe.preventDefault(),T&&T(fe)}),be=oe("start",I),ge=oe("stop",M),ve=oe("stop",D),ie=oe("stop",fe=>{G(fe),V.current===!1&&re(!1),p&&p(fe)},!1),he=ya(fe=>{H.current||(H.current=fe.currentTarget),X(fe),V.current===!0&&(re(!0),w&&w(fe)),v&&v(fe)}),$e=()=>{const fe=H.current;return l&&l!=="button"&&!(fe.tagName==="A"&&fe.href)},De=C.useRef(!1),Ie=ya(fe=>{d&&!De.current&&te&&F.current&&fe.key===" "&&(De.current=!0,F.current.stop(fe,()=>{F.current.start(fe)})),fe.target===fe.currentTarget&&$e()&&fe.key===" "&&fe.preventDefault(),k&&k(fe),fe.target===fe.currentTarget&&$e()&&fe.key==="Enter"&&!u&&(fe.preventDefault(),g&&g(fe))}),Be=ya(fe=>{d&&fe.key===" "&&F.current&&te&&!fe.defaultPrevented&&(De.current=!1,F.current.stop(fe,()=>{F.current.pulsate(fe)})),E&&E(fe),g&&fe.target===fe.currentTarget&&$e()&&fe.key===" "&&!fe.defaultPrevented&&g(fe)});let we=l;we==="button"&&(P.href||P.to)&&(we=h);const je={};we==="button"?(je.type=R===void 0?"button":R,je.disabled=u):(!P.href&&!P.to&&(je.role="button"),u&&(je["aria-disabled"]=u));const Oe=co(n,J,H),Re=Ne({},r,{centerRipple:a,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:B,focusVisible:te}),ye=CCt(Re);return zt(ECt,Ne({as:we,className:mn(ye.root,s),ownerState:Re,onBlur:ie,onClick:g,onContextMenu:ne,onFocus:he,onKeyDown:Ie,onKeyUp:Be,onMouseDown:ee,onMouseLeave:ce,onMouseUp:Ae,onDragLeave:ue,onTouchEnd:ge,onTouchMove:ve,onTouchStart:be,ref:Oe,tabIndex:u?-1:B,type:R},je,P,{children:[o,le?me(yCt,Ne({ref:q,center:a},N)):null]}))}),s1=xCt;function SCt(e){return xr("MuiAlert",e)}const ACt=Sr("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),n4e=ACt;function TCt(e){return xr("MuiIconButton",e)}const DCt=Sr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),ICt=DCt,RCt=["edge","children","className","color","disabled","disableFocusRipple","size"],MCt=e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,o={root:["root",n&&"disabled",r!=="default"&&`color${_n(r)}`,i&&`edge${_n(i)}`,`size${_n(a)}`]};return Er(o,TCt,t)},OCt=dn(s1,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${_n(n.color)}`],n.edge&&t[`edge${_n(n.edge)}`],t[`size${_n(n.size)}`]]}})(({theme:e,ownerState:t})=>Ne({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return Ne({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Ne({color:r?.main},!t.disableRipple&&{"&:hover":Ne({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${ICt.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),LCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:o,color:s="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,f=Sn(r,RCt),d=Ne({},r,{edge:i,color:s,disabled:l,disableFocusRipple:u,size:c}),h=MCt(d);return me(OCt,Ne({className:mn(h.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:n,ownerState:d},f,{children:a}))}),pl=LCt,BCt=fo(me("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),PCt=fo(me("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),FCt=fo(me("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),NCt=fo(me("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),$Ct=fo(me("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),zCt=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],UCt=e=>{const{variant:t,color:n,severity:r,classes:i}=e,a={root:["root",`${t}${_n(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Er(a,SCt,i)},jCt=dn(j2,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?ML:OL,r=e.palette.mode==="light"?OL:ML,i=t.color||t.severity;return Ne({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},i&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${i}StandardBg`]:r(e.palette[i].light,.9),[`& .${n4e.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${i}Color`]:n(e.palette[i].light,.6),border:`1px solid ${(e.vars||e).palette[i].light}`,[`& .${n4e.icon}`]:e.vars?{color:e.vars.palette.Alert[`${i}IconColor`]}:{color:e.palette[i].main}},i&&t.variant==="filled"&&Ne({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${i}FilledColor`],backgroundColor:e.vars.palette.Alert[`${i}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[i].dark:e.palette[i].main,color:e.palette.getContrastText(e.palette[i].main)}))}),HCt=dn("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),qCt=dn("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),r4e=dn("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),i4e={success:me(BCt,{fontSize:"inherit"}),warning:me(PCt,{fontSize:"inherit"}),error:me(FCt,{fontSize:"inherit"}),info:me(NCt,{fontSize:"inherit"})},WCt=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({props:t,name:"MuiAlert"}),{action:c,children:f,className:d,closeText:h="Close",color:p,components:g={},componentsProps:b={},icon:m,iconMapping:v=i4e,onClose:w,role:k="alert",severity:E="success",slotProps:S={},slots:T={},variant:L="standard"}=u,M=Sn(u,zCt),D=Ne({},u,{color:p,severity:E,variant:L}),I=UCt(D),B=(r=(i=T.closeButton)!=null?i:g.CloseButton)!=null?r:pl,N=(a=(o=T.closeIcon)!=null?o:g.CloseIcon)!=null?a:$Ct,O=(s=S.closeButton)!=null?s:b.closeButton,R=(l=S.closeIcon)!=null?l:b.closeIcon;return zt(jCt,Ne({role:k,elevation:0,ownerState:D,className:mn(I.root,d),ref:n},M,{children:[m!==!1?me(HCt,{ownerState:D,className:I.icon,children:m||v[E]||i4e[E]}):null,me(qCt,{ownerState:D,className:I.message,children:f}),c!=null?me(r4e,{ownerState:D,className:I.action,children:c}):null,c==null&&w?me(r4e,{ownerState:D,className:I.action,children:me(B,Ne({size:"small","aria-label":h,title:h,color:"inherit",onClick:w},O,{children:me(N,Ne({fontSize:"small"},R))}))}):null]}))}),kje=WCt;function GCt(e){return xr("MuiTypography",e)}Sr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const VCt=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],KCt=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e,s={root:["root",a,e.align!=="inherit"&&`align${_n(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Er(s,GCt,o)},YCt=dn("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${_n(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Ne({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),a4e={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},XCt={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},JCt=e=>XCt[e]||e,ZCt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTypography"}),i=JCt(r.color),a=QUe(Ne({},r,{color:i})),{align:o="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:h=a4e}=a,p=Sn(a,VCt),g=Ne({},a,{align:o,color:i,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:h}),b=l||(f?"p":h[d]||a4e[d])||"span",m=KCt(g);return me(YCt,Ne({as:b,ref:n,ownerState:g,className:mn(m.root,s)},p))}),La=ZCt;function QCt(e){return xr("MuiAppBar",e)}Sr("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const eEt=["className","color","enableColorOnDark","position"],tEt=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${_n(t)}`,`position${_n(n)}`]};return Er(i,QCt,r)},qD=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,nEt=dn(j2,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${_n(n.position)}`],t[`color${_n(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return Ne({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&Ne({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&Ne({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&Ne({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:qD(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:qD(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:qD(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:qD(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),rEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:o=!1,position:s="fixed"}=r,l=Sn(r,eEt),u=Ne({},r,{color:a,position:s,enableColorOnDark:o}),c=tEt(u);return me(nEt,Ne({square:!0,component:"header",ownerState:u,elevation:4,className:mn(c.root,i,s==="fixed"&&"mui-fixed"),ref:n},l))}),hde=rEt,iEt=["components","componentsProps","slots","slotProps"],aEt=dn(g_t,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oEt=C.forwardRef(function(t,n){var r;const i=rje(),a=yr({props:t,name:"MuiPopper"}),{components:o,componentsProps:s,slots:l,slotProps:u}=a,c=Sn(a,iEt),f=(r=l?.root)!=null?r:o?.Root;return me(aEt,Ne({direction:i?.direction,slots:{root:f},slotProps:u??s},c,{ref:n}))}),_je=oEt;function sEt(e){return xr("MuiListSubheader",e)}Sr("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const lEt=["className","color","component","disableGutters","disableSticky","inset"],uEt=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:a}=e,o={root:["root",n!=="default"&&`color${_n(n)}`,!r&&"gutters",i&&"inset",!a&&"sticky"]};return Er(o,sEt,t)},cEt=dn("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${_n(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>Ne({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},t.color==="primary"&&{color:(e.vars||e).palette.primary.main},t.color==="inherit"&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),Cje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListSubheader"}),{className:i,color:a="default",component:o="li",disableGutters:s=!1,disableSticky:l=!1,inset:u=!1}=r,c=Sn(r,lEt),f=Ne({},r,{color:a,component:o,disableGutters:s,disableSticky:l,inset:u}),d=uEt(f);return me(cEt,Ne({as:o,className:mn(d.root,i),ref:n,ownerState:f},c))});Cje.muiSkipListHighlight=!0;const D4=Cje,fEt=fo(me("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function dEt(e){return xr("MuiChip",e)}const hEt=Sr("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ma=hEt,pEt=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],gEt=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:a,onDelete:o,clickable:s,variant:l}=e,u={root:["root",l,n&&"disabled",`size${_n(r)}`,`color${_n(i)}`,s&&"clickable",s&&`clickableColor${_n(i)}`,o&&"deletable",o&&`deletableColor${_n(i)}`,`${l}${_n(i)}`],label:["label",`label${_n(r)}`],avatar:["avatar",`avatar${_n(r)}`,`avatarColor${_n(i)}`],icon:["icon",`icon${_n(r)}`,`iconColor${_n(a)}`],deleteIcon:["deleteIcon",`deleteIcon${_n(r)}`,`deleteIconColor${_n(i)}`,`deleteIcon${_n(l)}Color${_n(i)}`]};return Er(u,dEt,t)},mEt=dn("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:a,onDelete:o,size:s,variant:l}=n;return[{[`& .${ma.avatar}`]:t.avatar},{[`& .${ma.avatar}`]:t[`avatar${_n(s)}`]},{[`& .${ma.avatar}`]:t[`avatarColor${_n(r)}`]},{[`& .${ma.icon}`]:t.icon},{[`& .${ma.icon}`]:t[`icon${_n(s)}`]},{[`& .${ma.icon}`]:t[`iconColor${_n(i)}`]},{[`& .${ma.deleteIcon}`]:t.deleteIcon},{[`& .${ma.deleteIcon}`]:t[`deleteIcon${_n(s)}`]},{[`& .${ma.deleteIcon}`]:t[`deleteIconColor${_n(r)}`]},{[`& .${ma.deleteIcon}`]:t[`deleteIcon${_n(l)}Color${_n(r)}`]},t.root,t[`size${_n(s)}`],t[`color${_n(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${_n(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${_n(r)}`],t[l],t[`${l}${_n(r)}`]]}})(({theme:e,ownerState:t})=>{const n=Li(e.palette.text.primary,.26),r=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return Ne({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ma.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ma.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${ma.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ma.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ma.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ma.icon}`]:Ne({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&Ne({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},t.color!=="default"&&{color:"inherit"})),[`& .${ma.deleteIcon}`]:Ne({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:n,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Li(n,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Li(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>Ne({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>Ne({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ma.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ma.avatar}`]:{marginLeft:4},[`& .${ma.avatarSmall}`]:{marginLeft:2},[`& .${ma.icon}`]:{marginLeft:4},[`& .${ma.iconSmall}`]:{marginLeft:2},[`& .${ma.deleteIcon}`]:{marginRight:5},[`& .${ma.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Li(e.palette[t.color].main,.7)}`,[`&.${ma.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Li(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ma.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Li(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),vEt=dn("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${_n(r)}`]]}})(({ownerState:e})=>Ne({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.size==="small"&&{paddingLeft:8,paddingRight:8}));function o4e(e){return e.key==="Backspace"||e.key==="Delete"}const yEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiChip"}),{avatar:i,className:a,clickable:o,color:s="default",component:l,deleteIcon:u,disabled:c=!1,icon:f,label:d,onClick:h,onDelete:p,onKeyDown:g,onKeyUp:b,size:m="medium",variant:v="filled",tabIndex:w,skipFocusWhenDisabled:k=!1}=r,E=Sn(r,pEt),S=C.useRef(null),T=co(S,n),L=q=>{q.stopPropagation(),p&&p(q)},M=q=>{q.currentTarget===q.target&&o4e(q)&&q.preventDefault(),g&&g(q)},D=q=>{q.currentTarget===q.target&&(p&&o4e(q)?p(q):q.key==="Escape"&&S.current&&S.current.blur()),b&&b(q)},I=o!==!1&&h?!0:o,B=I||p?s1:l||"div",N=Ne({},r,{component:B,disabled:c,size:m,color:s,iconColor:C.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:I,variant:v}),O=gEt(N),R=B===s1?Ne({component:l||"div",focusVisibleClassName:O.focusVisible},p&&{disableRipple:!0}):{};let P=null;p&&(P=u&&C.isValidElement(u)?C.cloneElement(u,{className:mn(u.props.className,O.deleteIcon),onClick:L}):me(fEt,{className:mn(O.deleteIcon),onClick:L}));let H=null;i&&C.isValidElement(i)&&(H=C.cloneElement(i,{className:mn(O.avatar,i.props.className)}));let F=null;return f&&C.isValidElement(f)&&(F=C.cloneElement(f,{className:mn(O.icon,f.props.className)})),zt(mEt,Ne({as:B,className:mn(O.root,a),disabled:I&&c?!0:void 0,onClick:h,onKeyDown:M,onKeyUp:D,ref:T,tabIndex:k&&c?-1:w,ownerState:N},R,E,{children:[H||F,me(vEt,{className:mn(O.label),ownerState:N,children:d}),P]}))}),Eje=yEt;function p3({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const bEt=C.createContext(void 0),pde=bEt;function g3(){return C.useContext(pde)}function xje(e){return me(z3t,Ne({},e,{defaultTheme:e$}))}function s4e(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function gde(e,t=!1){return e&&(s4e(e.value)&&e.value!==""||t&&s4e(e.defaultValue)&&e.defaultValue!=="")}function wEt(e){return e.startAdornment}function kEt(e){return xr("MuiInputBase",e)}const _Et=Sr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),u_=_Et,CEt=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],a$=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${_n(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},o$=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},EEt=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:h,type:p}=e,g={root:["root",`color${_n(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",o&&"focused",s&&"formControl",d==="small"&&"sizeSmall",c&&"multiline",h&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return Er(g,kEt,t)},s$=dn("div",{name:"MuiInputBase",slot:"Root",overridesResolver:a$})(({theme:e,ownerState:t})=>Ne({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${u_.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Ne({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),l$=dn("input",{name:"MuiInputBase",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=Ne({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return Ne({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${u_.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${u_.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),xEt=me(xje,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),SEt=C.forwardRef(function(t,n){var r;const i=yr({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:o,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:g=!1,id:b,inputComponent:m="input",inputProps:v={},inputRef:w,maxRows:k,minRows:E,multiline:S=!1,name:T,onBlur:L,onChange:M,onClick:D,onFocus:I,onKeyDown:B,onKeyUp:N,placeholder:O,readOnly:R,renderSuffix:P,rows:H,slotProps:F={},slots:q={},startAdornment:V,type:X="text",value:G}=i,J=Sn(i,CEt),te=v.value!=null?v.value:G,{current:re}=C.useRef(te!=null),Q=C.useRef(),ae=C.useCallback(ye=>{},[]),le=co(Q,w,v.ref,ae),[oe,ee]=C.useState(!1),ne=g3(),ue=p3({props:i,muiFormControl:ne,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ue.focused=ne?ne.focused:oe,C.useEffect(()=>{!ne&&d&&oe&&(ee(!1),L&&L())},[ne,d,oe,L]);const Ae=ne&&ne.onFilled,ce=ne&&ne.onEmpty,be=C.useCallback(ye=>{gde(ye)?Ae&&Ae():ce&&ce()},[Ae,ce]);Sf(()=>{re&&be({value:te})},[te,be,re]);const ge=ye=>{if(ue.disabled){ye.stopPropagation();return}I&&I(ye),v.onFocus&&v.onFocus(ye),ne&&ne.onFocus?ne.onFocus(ye):ee(!0)},ve=ye=>{L&&L(ye),v.onBlur&&v.onBlur(ye),ne&&ne.onBlur?ne.onBlur(ye):ee(!1)},ie=(ye,...fe)=>{if(!re){const de=ye.target||Q.current;if(de==null)throw new Error(h2(1));be({value:de.value})}v.onChange&&v.onChange(ye,...fe),M&&M(ye,...fe)};C.useEffect(()=>{be(Q.current)},[]);const he=ye=>{Q.current&&ye.currentTarget===ye.target&&Q.current.focus(),D&&D(ye)};let $e=m,De=v;S&&$e==="input"&&(H?De=Ne({type:void 0,minRows:H,maxRows:H},De):De=Ne({type:void 0,maxRows:k,minRows:E},De),$e=O_t);const Ie=ye=>{be(ye.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};C.useEffect(()=>{ne&&ne.setAdornedStart(!!V)},[ne,V]);const Be=Ne({},i,{color:ue.color||"primary",disabled:ue.disabled,endAdornment:p,error:ue.error,focused:ue.focused,formControl:ne,fullWidth:g,hiddenLabel:ue.hiddenLabel,multiline:S,size:ue.size,startAdornment:V,type:X}),we=EEt(Be),je=q.root||u.Root||s$,Oe=F.root||c.root||{},Re=q.input||u.Input||l$;return De=Ne({},De,(r=F.input)!=null?r:c.input),zt(C.Fragment,{children:[!h&&xEt,zt(je,Ne({},Oe,!i_(je)&&{ownerState:Ne({},Be,Oe.ownerState)},{ref:n,onClick:he},J,{className:mn(we.root,Oe.className,l,R&&"MuiInputBase-readOnly"),children:[V,me(pde.Provider,{value:null,children:me(Re,Ne({ownerState:Be,"aria-invalid":ue.error,"aria-describedby":a,autoComplete:o,autoFocus:s,defaultValue:f,disabled:ue.disabled,id:b,onAnimationStart:Ie,name:T,placeholder:O,readOnly:R,required:ue.required,rows:H,value:te,onKeyDown:B,onKeyUp:N,type:X},De,!i_(Re)&&{as:$e,ownerState:Ne({},Be,De.ownerState)},{ref:le,className:mn(we.input,De.className,R&&"MuiInputBase-readOnly"),onBlur:ve,onChange:ie,onFocus:ge}))}),p,P?P(Ne({},ue,{startAdornment:V})):null]}))]})}),mde=SEt;function AEt(e){return xr("MuiInput",e)}const TEt=Ne({},u_,Sr("MuiInput",["root","underline","input"])),M5=TEt;function DEt(e){return xr("MuiOutlinedInput",e)}const IEt=Ne({},u_,Sr("MuiOutlinedInput",["root","notchedOutline","input"])),Vm=IEt;function REt(e){return xr("MuiFilledInput",e)}const MEt=Ne({},u_,Sr("MuiFilledInput",["root","underline","input"])),tb=MEt,Sje=fo(me("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),OEt=fo(me("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function LEt(e){return xr("MuiAvatar",e)}const BEt=Sr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),PEt=BEt,FEt=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],NEt=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Er({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},LEt,t)},$Et=dn("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>Ne({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&Ne({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),zEt=dn("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),UEt=dn(OEt,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function jEt({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,a]=C.useState(!1);return C.useEffect(()=>{if(!n&&!r)return;a(!1);let o=!0;const s=new Image;return s.onload=()=>{o&&a("loaded")},s.onerror=()=>{o&&a("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=n,r&&(s.srcset=r),()=>{o=!1}},[e,t,n,r]),i}const HEt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:o,component:s="div",imgProps:l,sizes:u,src:c,srcSet:f,variant:d="circular"}=r,h=Sn(r,FEt);let p=null;const g=jEt(Ne({},l,{src:c,srcSet:f})),b=c||f,m=b&&g!=="error",v=Ne({},r,{colorDefault:!m,component:s,variant:d}),w=NEt(v);return m?p=me(zEt,Ne({alt:i,src:c,srcSet:f,sizes:u,ownerState:v,className:w.img},l)):a!=null?p=a:b&&i?p=i[0]:p=me(UEt,{ownerState:v,className:w.fallback}),me($Et,Ne({as:s,ownerState:v,className:mn(w.root,o),ref:n},h,{children:p}))}),PL=HEt;function qEt(e){return xr("MuiAvatarGroup",e)}const WEt=Sr("MuiAvatarGroup",["root","avatar"]),GEt=WEt,VEt=["children","className","component","componentsProps","max","slotProps","spacing","total","variant"],l4e={small:-16,medium:null},KEt=e=>{const{classes:t}=e;return Er({root:["root"],avatar:["avatar"]},qEt,t)},YEt=dn("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>Ne({[`& .${GEt.avatar}`]:t.avatar},t.root)})(({theme:e})=>({[`& .${PEt.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"})),XEt=dn(PL,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})(({theme:e})=>({border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})),JEt=C.forwardRef(function(t,n){var r;const i=yr({props:t,name:"MuiAvatarGroup"}),{children:a,className:o,component:s="div",componentsProps:l={},max:u=5,slotProps:c={},spacing:f="medium",total:d,variant:h="circular"}=i,p=Sn(i,VEt);let g=u<2?2:u;const b=Ne({},i,{max:u,spacing:f,component:s,variant:h}),m=KEt(b),v=C.Children.toArray(a).filter(L=>C.isValidElement(L)),w=d||v.length;w===g&&(g+=1),g=Math.min(w+1,g);const k=Math.min(v.length,g-1),E=Math.max(w-g,w-k,0),S=f&&l4e[f]!==void 0?l4e[f]:-f,T=(r=c.additionalAvatar)!=null?r:l.additionalAvatar;return zt(YEt,Ne({as:s,ownerState:b,className:mn(m.root,o),ref:n},p,{children:[E?zt(XEt,Ne({ownerState:b,variant:h},T,{className:mn(m.avatar,T?.className),style:Ne({marginLeft:S},T?.style),children:["+",E]})):null,v.slice(0,k).reverse().map((L,M)=>C.cloneElement(L,{className:mn(L.props.className,m.avatar),style:Ne({marginLeft:M===k-1?void 0:S},L.props.style),variant:L.props.variant||h}))]}))}),ZEt=JEt,QEt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],e5t={entering:{opacity:1},entered:{opacity:1}},t5t=C.forwardRef(function(t,n){const r=Df(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:o=!0,children:s,easing:l,in:u,onEnter:c,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:g,style:b,timeout:m=i,TransitionComponent:v=k7}=t,w=Sn(t,QEt),k=C.useRef(null),E=co(k,s.ref,n),S=O=>R=>{if(O){const P=k.current;R===void 0?O(P):O(P,R)}},T=S(d),L=S((O,R)=>{dde(O);const P=p2({style:b,timeout:m,easing:l},{mode:"enter"});O.style.webkitTransition=r.transitions.create("opacity",P),O.style.transition=r.transitions.create("opacity",P),c&&c(O,R)}),M=S(f),D=S(g),I=S(O=>{const R=p2({style:b,timeout:m,easing:l},{mode:"exit"});O.style.webkitTransition=r.transitions.create("opacity",R),O.style.transition=r.transitions.create("opacity",R),h&&h(O)}),B=S(p);return me(v,Ne({appear:o,in:u,nodeRef:k,onEnter:L,onEntered:M,onEntering:T,onExit:I,onExited:B,onExiting:D,addEndListener:O=>{a&&a(k.current,O)},timeout:m},w,{children:(O,R)=>C.cloneElement(s,Ne({style:Ne({opacity:0,visibility:O==="exited"&&!u?"hidden":void 0},e5t[O],b,s.props.style),ref:E},R))}))}),_7=t5t;function n5t(e){return xr("MuiBackdrop",e)}Sr("MuiBackdrop",["root","invisible"]);const r5t=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],i5t=e=>{const{classes:t,invisible:n}=e;return Er({root:["root",n&&"invisible"]},n5t,t)},a5t=dn("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>Ne({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),o5t=C.forwardRef(function(t,n){var r,i,a;const o=yr({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:f={},invisible:d=!1,open:h,slotProps:p={},slots:g={},TransitionComponent:b=_7,transitionDuration:m}=o,v=Sn(o,r5t),w=Ne({},o,{component:u,invisible:d}),k=i5t(w),E=(r=p.root)!=null?r:f.root;return me(b,Ne({in:h,timeout:m},v,{children:me(a5t,Ne({"aria-hidden":!0},E,{as:(i=(a=g.root)!=null?a:c.Root)!=null?i:u,className:mn(k.root,l,E?.className),ownerState:Ne({},w,E?.ownerState),classes:k,ref:n,children:s}))}))}),Aje=o5t;function s5t(e){return xr("MuiBadge",e)}const l5t=Sr("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),Km=l5t,u5t=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],vq=10,yq=4,c5t=e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:i,variant:a,classes:o={}}=e,s={root:["root"],badge:["badge",a,r&&"invisible",`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}`,`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}${_n(i)}`,`overlap${_n(i)}`,t!=="default"&&`color${_n(t)}`]};return Er(s,s5t,o)},f5t=dn("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),d5t=dn("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${_n(n.anchorOrigin.vertical)}${_n(n.anchorOrigin.horizontal)}${_n(n.overlap)}`],n.color!=="default"&&t[`color${_n(n.color)}`],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>Ne({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:vq*2,lineHeight:1,padding:"0 6px",height:vq*2,borderRadius:vq,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.variant==="dot"&&{borderRadius:yq,height:yq*2,minWidth:yq*2,padding:0},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular"&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular"&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular"&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}},t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}},t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular"&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${Km.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),h5t=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({props:t,name:"MuiBadge"}),{anchorOrigin:c={vertical:"top",horizontal:"right"},className:f,component:d,components:h={},componentsProps:p={},children:g,overlap:b="rectangular",color:m="default",invisible:v=!1,max:w=99,badgeContent:k,slots:E,slotProps:S,showZero:T=!1,variant:L="standard"}=u,M=Sn(u,u5t),{badgeContent:D,invisible:I,max:B,displayValue:N}=jkt({max:w,invisible:v,badgeContent:k,showZero:T}),O=KUe({anchorOrigin:c,color:m,overlap:b,variant:L,badgeContent:k}),R=I||D==null&&L!=="dot",{color:P=m,overlap:H=b,anchorOrigin:F=c,variant:q=L}=R?O:u,V=q!=="dot"?N:void 0,X=Ne({},u,{badgeContent:D,invisible:R,max:B,displayValue:V,showZero:T,anchorOrigin:F,color:P,overlap:H,variant:q}),G=c5t(X),J=(r=(i=E?.root)!=null?i:h.Root)!=null?r:f5t,te=(a=(o=E?.badge)!=null?o:h.Badge)!=null?a:d5t,re=(s=S?.root)!=null?s:p.root,Q=(l=S?.badge)!=null?l:p.badge,ae=ed({elementType:J,externalSlotProps:re,externalForwardedProps:M,additionalProps:{ref:n,as:d},ownerState:X,className:mn(re?.className,G.root,f)}),le=ed({elementType:te,externalSlotProps:Q,ownerState:X,className:mn(G.badge,Q?.className)});return zt(J,Ne({},ae,{children:[g,me(te,Ne({},le,{children:V}))]}))}),p5t=h5t,g5t=h3(),m5t=Wwt({defaultTheme:g5t,defaultClassName:"MuiBox-root",generateClassName:Kfe.generate}),f0=m5t;function v5t(e){return xr("MuiButton",e)}const y5t=Sr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),WD=y5t,b5t=C.createContext({}),w5t=b5t,k5t=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],_5t=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,classes:o}=e,s={root:["root",a,`${a}${_n(t)}`,`size${_n(i)}`,`${a}Size${_n(i)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${_n(i)}`],endIcon:["endIcon",`iconSize${_n(i)}`]},l=Er(s,v5t,o);return Ne({},o,l)},Tje=e=>Ne({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),C5t=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${_n(n.color)}`],t[`size${_n(n.size)}`],t[`${n.variant}Size${_n(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return Ne({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Ne({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Li(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Ne({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${WD.focusVisible}`]:Ne({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${WD.disabled}`]:Ne({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Li(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${WD.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${WD.disabled}`]:{boxShadow:"none"}}),E5t=dn("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${_n(n.size)}`]]}})(({ownerState:e})=>Ne({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Tje(e))),x5t=dn("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${_n(n.size)}`]]}})(({ownerState:e})=>Ne({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Tje(e))),S5t=C.forwardRef(function(t,n){const r=C.useContext(w5t),i=Vfe(r,t),a=yr({props:i,name:"MuiButton"}),{children:o,color:s="primary",component:l="button",className:u,disabled:c=!1,disableElevation:f=!1,disableFocusRipple:d=!1,endIcon:h,focusVisibleClassName:p,fullWidth:g=!1,size:b="medium",startIcon:m,type:v,variant:w="text"}=a,k=Sn(a,k5t),E=Ne({},a,{color:s,component:l,disabled:c,disableElevation:f,disableFocusRipple:d,fullWidth:g,size:b,type:v,variant:w}),S=_5t(E),T=m&&me(E5t,{className:S.startIcon,ownerState:E,children:m}),L=h&&me(x5t,{className:S.endIcon,ownerState:E,children:h});return zt(C5t,Ne({ownerState:E,className:mn(r.className,S.root,u),component:l,disabled:c,focusRipple:!d,focusVisibleClassName:mn(S.focusVisible,p),ref:n,type:v},k,{classes:S,children:[T,o,L]}))}),Js=S5t;function A5t(e){return xr("MuiCircularProgress",e)}Sr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const T5t=["className","color","disableShrink","size","style","thickness","value","variant"];let u$=e=>e,u4e,c4e,f4e,d4e;const Ym=44,D5t=d7(u4e||(u4e=u$` 0% { transform: rotate(0deg); } @@ -199,7 +199,7 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n 100% { transform: rotate(360deg); } -`)),D5t=d7(c4e||(c4e=u$` +`)),I5t=d7(c4e||(c4e=u$` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -214,12 +214,12 @@ Url: ${DL(e)}`),!0)}function Kyt(e,t){return!t||!t.length?!1:Jyt(e).some(n=>FN(n stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),I5t=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,a={root:["root",n,`color${_n(r)}`],svg:["svg"],circle:["circle",`circle${_n(n)}`,i&&"circleDisableShrink"]};return Er(a,S5t,t)},R5t=dn("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${_n(n.color)}`]]}})(({ownerState:e,theme:t})=>Ne({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Efe(f4e||(f4e=u$` +`)),R5t=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,a={root:["root",n,`color${_n(r)}`],svg:["svg"],circle:["circle",`circle${_n(n)}`,i&&"circleDisableShrink"]};return Er(a,A5t,t)},M5t=dn("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${_n(n.color)}`]]}})(({ownerState:e,theme:t})=>Ne({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Efe(f4e||(f4e=u$` animation: ${0} 1.4s linear infinite; - `),T5t)),M5t=dn("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),O5t=dn("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${_n(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>Ne({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Efe(d4e||(d4e=u$` + `),D5t)),O5t=dn("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),L5t=dn("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${_n(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>Ne({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Efe(d4e||(d4e=u$` animation: ${0} 1.4s ease-in-out infinite; - `),D5t)),L5t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:o=!1,size:s=40,style:l,thickness:u=3.6,value:c=0,variant:f="indeterminate"}=r,d=Sn(r,A5t),h=Ne({},r,{color:a,disableShrink:o,size:s,thickness:u,value:c,variant:f}),p=I5t(h),g={},b={},m={};if(f==="determinate"){const v=2*Math.PI*((Ym-u)/2);g.strokeDasharray=v.toFixed(3),m["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*v).toFixed(3)}px`,b.transform="rotate(-90deg)"}return me(R5t,Ne({className:mn(p.root,i),style:Ne({width:s,height:s},b,l),ownerState:h,ref:n,role:"progressbar"},m,d,{children:me(M5t,{className:p.svg,ownerState:h,viewBox:`${Ym/2} ${Ym/2} ${Ym} ${Ym}`,children:me(O5t,{className:p.circle,style:g,ownerState:h,cx:Ym,cy:Ym,r:(Ym-u)/2,fill:"none",strokeWidth:u})})}))}),B5t=L5t,P5t=(e,t)=>Ne({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),F5t=e=>Ne({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),N5t=(e,t=!1)=>{var n,r;const i={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,l])=>{var u;i[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(u=l.palette)==null?void 0:u.mode}});let a=Ne({html:P5t(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:Ne({margin:0},F5t(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},i);const o=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return o&&(a=[a,o]),a};function $5t(e){const t=yr({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return zt(C.Fragment,{children:[me(xje,{styles:i=>N5t(i,r)}),n]})}const z5t=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],U5t=dn("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Ne({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),j5t=dn(Aje,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),H5t=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({name:"MuiModal",props:t}),{BackdropComponent:c=j5t,BackdropProps:f,classes:d,className:h,closeAfterTransition:p=!1,children:g,component:b,components:m={},componentsProps:v={},disableAutoFocus:w=!1,disableEnforceFocus:k=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:T=!1,disableScrollLock:L=!1,hideBackdrop:M=!1,keepMounted:D=!1,slotProps:I,slots:B,theme:N}=u,O=Sn(u,z5t),[R,P]=C.useState(!0),H={closeAfterTransition:p,disableAutoFocus:w,disableEnforceFocus:k,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:T,disableScrollLock:L,hideBackdrop:M,keepMounted:D},F=Ne({},u,H,{exited:R}),q=(r=(i=B?.root)!=null?i:m.Root)!=null?r:U5t,V=(a=(o=B?.backdrop)!=null?o:m.Backdrop)!=null?a:c,X=(s=I?.root)!=null?s:v.root,G=(l=I?.backdrop)!=null?l:v.backdrop;return me(A_t,Ne({slots:{root:q,backdrop:V},slotProps:{root:()=>Ne({},Sae(X,F),!i_(q)&&{as:b,theme:N},{className:mn(h,X?.className,d?.root,!F.open&&F.exited&&d?.hidden)}),backdrop:()=>Ne({},f,Sae(G,F),{className:mn(G?.className,d?.backdrop)})},onTransitionEnter:()=>P(!1),onTransitionExited:()=>P(!0),ref:n},O,H,{children:g}))}),vde=H5t;function q5t(e){return xr("MuiDialog",e)}const W5t=Sr("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),bq=W5t,G5t=C.createContext({}),Dje=G5t,V5t=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],K5t=dn(Aje,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Y5t=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e,o={root:["root"],container:["container",`scroll${_n(n)}`],paper:["paper",`paperScroll${_n(n)}`,`paperWidth${_n(String(r))}`,i&&"paperFullWidth",a&&"paperFullScreen"]};return Er(o,q5t,t)},X5t=dn(vde,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),J5t=dn("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${_n(n.scroll)}`]]}})(({ownerState:e})=>Ne({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Z5t=dn(j2,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${_n(n.scroll)}`],t[`paperWidth${_n(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>Ne({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${bq.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${bq.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${bq.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Q5t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialog"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":o,"aria-labelledby":s,BackdropComponent:l,BackdropProps:u,children:c,className:f,disableEscapeKeyDown:d=!1,fullScreen:h=!1,fullWidth:p=!1,maxWidth:g="sm",onBackdropClick:b,onClose:m,open:v,PaperComponent:w=j2,PaperProps:k={},scroll:E="paper",TransitionComponent:S=_7,transitionDuration:T=a,TransitionProps:L}=r,M=Sn(r,V5t),D=Ne({},r,{disableEscapeKeyDown:d,fullScreen:h,fullWidth:p,maxWidth:g,scroll:E}),I=Y5t(D),B=C.useRef(),N=H=>{B.current=H.target===H.currentTarget},O=H=>{B.current&&(B.current=null,b&&b(H),m&&m(H,"backdropClick"))},R=g7(s),P=C.useMemo(()=>({titleId:R}),[R]);return me(X5t,Ne({className:mn(I.root,f),closeAfterTransition:!0,components:{Backdrop:K5t},componentsProps:{backdrop:Ne({transitionDuration:T,as:l},u)},disableEscapeKeyDown:d,onClose:m,open:v,ref:n,onClick:O,ownerState:D},M,{children:me(S,Ne({appear:!0,in:v,timeout:T,role:"presentation"},L,{children:me(J5t,{className:mn(I.container),onMouseDown:N,ownerState:D,children:me(Z5t,Ne({as:w,elevation:24,role:"dialog","aria-describedby":o,"aria-labelledby":R},k,{className:mn(I.paper,k.className),ownerState:D,children:me(Dje.Provider,{value:P,children:c})}))})}))}))}),GC=Q5t;function e9t(e){return xr("MuiDialogActions",e)}Sr("MuiDialogActions",["root","spacing"]);const t9t=["className","disableSpacing"],n9t=e=>{const{classes:t,disableSpacing:n}=e;return Er({root:["root",!n&&"spacing"]},e9t,t)},r9t=dn("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>Ne({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),i9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:a=!1}=r,o=Sn(r,t9t),s=Ne({},r,{disableSpacing:a}),l=n9t(s);return me(r9t,Ne({className:mn(l.root,i),ownerState:s,ref:n},o))}),VC=i9t;function a9t(e){return xr("MuiDialogContent",e)}Sr("MuiDialogContent",["root","dividers"]);function o9t(e){return xr("MuiDialogTitle",e)}const s9t=Sr("MuiDialogTitle",["root"]),l9t=s9t,u9t=["className","dividers"],c9t=e=>{const{classes:t,dividers:n}=e;return Er({root:["root",n&&"dividers"]},a9t,t)},f9t=dn("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>Ne({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${l9t.root} + &`]:{paddingTop:0}})),d9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogContent"}),{className:i,dividers:a=!1}=r,o=Sn(r,u9t),s=Ne({},r,{dividers:a}),l=c9t(s);return me(f9t,Ne({className:mn(l.root,i),ownerState:s,ref:n},o))}),KC=d9t;function h9t(e){return xr("MuiDialogContentText",e)}Sr("MuiDialogContentText",["root"]);const p9t=["children","className"],g9t=e=>{const{classes:t}=e,r=Er({root:["root"]},h9t,t);return Ne({},t,r)},m9t=dn(La,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),v9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogContentText"}),{className:i}=r,a=Sn(r,p9t),o=g9t(a);return me(m9t,Ne({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:a,className:mn(o.root,i)},r,{classes:o}))}),FA=v9t,y9t=["className","id"],b9t=e=>{const{classes:t}=e;return Er({root:["root"]},o9t,t)},w9t=dn(La,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),k9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogTitle"}),{className:i,id:a}=r,o=Sn(r,y9t),s=r,l=b9t(s),{titleId:u=a}=C.useContext(Dje);return me(w9t,Ne({component:"h2",className:mn(l.root,i),ownerState:s,ref:n,variant:"h6",id:a??u},o))}),YC=k9t;function _9t(e){return xr("MuiDivider",e)}const C9t=Sr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),h4e=C9t,E9t=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],x9t=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:a,orientation:o,textAlign:s,variant:l}=e;return Er({root:["root",t&&"absolute",l,a&&"light",o==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&o==="vertical"&&"withChildrenVertical",s==="right"&&o!=="vertical"&&"textAlignRight",s==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},_9t,r)},S9t=dn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Ne({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Li(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>Ne({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>Ne({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>Ne({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),A9t=dn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Ne({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),T9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDivider"}),{absolute:i=!1,children:a,className:o,component:s=a?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth"}=r,p=Sn(r,E9t),g=Ne({},r,{absolute:i,component:s,flexItem:l,light:u,orientation:c,role:f,textAlign:d,variant:h}),b=x9t(g);return me(S9t,Ne({as:s,className:mn(b.root,o),role:f,ref:n,ownerState:g},p,{children:a?me(A9t,{className:b.wrapper,ownerState:g,children:a}):null}))}),l1=T9t,D9t=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function I9t(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=wh(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const u=a.getComputedStyle(t);o=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let s=0,l=0;if(o&&o!=="none"&&typeof o=="string"){const u=o.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${a.innerWidth+s-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${a.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function R9t(e){return typeof e=="function"?e():e}function GD(e,t,n){const r=R9t(n),i=I9t(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const M9t=C.forwardRef(function(t,n){const r=Df(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:l,container:u,direction:c="down",easing:f=i,in:d,onEnter:h,onEntered:p,onEntering:g,onExit:b,onExited:m,onExiting:v,style:w,timeout:k=a,TransitionComponent:E=k7}=t,S=Sn(t,D9t),T=C.useRef(null),L=co(l.ref,T,n),M=F=>q=>{F&&(q===void 0?F(T.current):F(T.current,q))},D=M((F,q)=>{GD(c,F,u),dde(F),h&&h(F,q)}),I=M((F,q)=>{const V=p2({timeout:k,style:w,easing:f},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",Ne({},V)),F.style.transition=r.transitions.create("transform",Ne({},V)),F.style.webkitTransform="none",F.style.transform="none",g&&g(F,q)}),B=M(p),N=M(v),O=M(F=>{const q=p2({timeout:k,style:w,easing:f},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",q),F.style.transition=r.transitions.create("transform",q),GD(c,F,u),b&&b(F)}),R=M(F=>{F.style.webkitTransition="",F.style.transition="",m&&m(F)}),P=F=>{o&&o(T.current,F)},H=C.useCallback(()=>{T.current&&GD(c,T.current,u)},[c,u]);return C.useEffect(()=>{if(d||c==="down"||c==="right")return;const F=i1(()=>{T.current&&GD(c,T.current,u)}),q=wh(T.current);return q.addEventListener("resize",F),()=>{F.clear(),q.removeEventListener("resize",F)}},[c,d,u]),C.useEffect(()=>{d||H()},[d,H]),me(E,Ne({nodeRef:T,onEnter:D,onEntered:B,onEntering:I,onExit:O,onExited:R,onExiting:N,addEndListener:P,appear:s,in:d,timeout:k},S,{children:(F,q)=>C.cloneElement(l,Ne({ref:L,style:Ne({visibility:F==="exited"&&!d?"hidden":void 0},w,l.props.style)},q))}))}),O9t=M9t;function L9t(e){return xr("MuiDrawer",e)}Sr("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const B9t=["BackdropProps"],P9t=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ije=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},F9t=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${_n(n)}`,r!=="temporary"&&`paperAnchorDocked${_n(n)}`]};return Er(i,L9t,t)},N9t=dn(vde,{name:"MuiDrawer",slot:"Root",overridesResolver:Ije})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),p4e=dn("div",{shouldForwardProp:gd,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ije})({flex:"0 0 auto"}),$9t=dn(j2,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${_n(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${_n(n.anchor)}`]]}})(({theme:e,ownerState:t})=>Ne({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Rje={left:"right",right:"left",top:"down",bottom:"up"};function z9t(e){return["left","right"].indexOf(e)!==-1}function U9t(e,t){return e.direction==="rtl"&&z9t(t)?Rje[t]:t}const j9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDrawer"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:o="left",BackdropProps:s,children:l,className:u,elevation:c=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:d}={},onClose:h,open:p=!1,PaperProps:g={},SlideProps:b,TransitionComponent:m=O9t,transitionDuration:v=a,variant:w="temporary"}=r,k=Sn(r.ModalProps,B9t),E=Sn(r,P9t),S=C.useRef(!1);C.useEffect(()=>{S.current=!0},[]);const T=U9t(i,o),M=Ne({},r,{anchor:o,elevation:c,open:p,variant:w},E),D=F9t(M),I=me($9t,Ne({elevation:w==="temporary"?c:0,square:!0},g,{className:mn(D.paper,g.className),ownerState:M,children:l}));if(w==="permanent")return me(p4e,Ne({className:mn(D.root,D.docked,u),ownerState:M,ref:n},E,{children:I}));const B=me(m,Ne({in:p,direction:Rje[T],timeout:v,appear:S.current},b,{children:I}));return w==="persistent"?me(p4e,Ne({className:mn(D.root,D.docked,u),ownerState:M,ref:n},E,{children:B})):me(N9t,Ne({BackdropProps:Ne({},s,d,{transitionDuration:v}),className:mn(D.root,D.modal,u),open:p,ownerState:M,onClose:h,hideBackdrop:f,ref:n},E,k,{children:B}))}),H9t=j9t,q9t=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],W9t=e=>{const{classes:t,disableUnderline:n}=e,i=Er({root:["root",!n&&"underline"],input:["input"]},IEt,t);return Ne({},t,i)},G9t=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...a$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return Ne({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${tb.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${tb.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${tb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${tb.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${tb.disabled}, .${tb.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${tb.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Ne({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),V9t=dn(l$,{name:"MuiFilledInput",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>Ne({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Mje=C.forwardRef(function(t,n){var r,i,a,o;const s=yr({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:f="input",multiline:d=!1,slotProps:h,slots:p={},type:g="text"}=s,b=Sn(s,q9t),m=Ne({},s,{fullWidth:c,inputComponent:f,multiline:d,type:g}),v=W9t(s),w={root:{ownerState:m},input:{ownerState:m}},k=h??u?hh(h??u,w):w,E=(r=(i=p.root)!=null?i:l.Root)!=null?r:G9t,S=(a=(o=p.input)!=null?o:l.Input)!=null?a:V9t;return me(mde,Ne({slots:{root:E,input:S},componentsProps:k,fullWidth:c,inputComponent:f,multiline:d,ref:n,type:g},b,{classes:v}))});Mje.muiName="Input";const Oje=Mje;function K9t(e){return xr("MuiFormControl",e)}Sr("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Y9t=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],X9t=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${_n(n)}`,r&&"fullWidth"]};return Er(i,K9t,t)},J9t=dn("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Ne({},t.root,t[`margin${_n(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>Ne({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),Z9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormControl"}),{children:i,className:a,color:o="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:g="medium",variant:b="outlined"}=r,m=Sn(r,Y9t),v=Ne({},r,{color:o,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:g,variant:b}),w=X9t(v),[k,E]=C.useState(()=>{let N=!1;return i&&C.Children.forEach(i,O=>{if(!CS(O,["Input","Select"]))return;const R=CS(O,["Select"])?O.props.input:O;R&&bEt(R.props)&&(N=!0)}),N}),[S,T]=C.useState(()=>{let N=!1;return i&&C.Children.forEach(i,O=>{CS(O,["Input","Select"])&&gde(O.props,!0)&&(N=!0)}),N}),[L,M]=C.useState(!1);l&&L&&M(!1);const D=c!==void 0&&!l?c:L;let I;const B=C.useMemo(()=>({adornedStart:k,setAdornedStart:E,color:o,disabled:l,error:u,filled:S,focused:D,fullWidth:f,hiddenLabel:d,size:g,onBlur:()=>{M(!1)},onEmpty:()=>{T(!1)},onFilled:()=>{T(!0)},onFocus:()=>{M(!0)},registerEffect:I,required:p,variant:b}),[k,o,l,u,S,D,f,d,I,p,g,b]);return me(pde.Provider,{value:B,children:me(J9t,Ne({as:s,ownerState:v,className:mn(w.root,a),ref:n},m,{children:i}))})}),Dv=Z9t;function Q9t(e){return xr("MuiFormHelperText",e)}const ext=Sr("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),g4e=ext;var m4e;const txt=["children","className","component","disabled","error","filled","focused","margin","required","variant"],nxt=e=>{const{classes:t,contained:n,size:r,disabled:i,error:a,filled:o,focused:s,required:l}=e,u={root:["root",i&&"disabled",a&&"error",r&&`size${_n(r)}`,n&&"contained",s&&"focused",o&&"filled",l&&"required"]};return Er(u,Q9t,t)},rxt=dn("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${_n(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>Ne({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g4e.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${g4e.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),ixt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormHelperText"}),{children:i,className:a,component:o="p"}=r,s=Sn(r,txt),l=g3(),u=p3({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=Ne({},r,{component:o,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=nxt(c);return me(rxt,Ne({as:o,ownerState:c,className:mn(f.root,a),ref:n},s,{children:i===" "?m4e||(m4e=me("span",{className:"notranslate",children:"​"})):i}))}),axt=ixt;function oxt(e){return xr("MuiFormLabel",e)}const sxt=Sr("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DS=sxt,lxt=["children","className","color","component","disabled","error","filled","focused","required"],uxt=e=>{const{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e,l={root:["root",`color${_n(n)}`,i&&"disabled",a&&"error",o&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return Er(l,oxt,t)},cxt=dn("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>Ne({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>Ne({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${DS.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${DS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${DS.error}`]:{color:(e.vars||e).palette.error.main}})),fxt=dn("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${DS.error}`]:{color:(e.vars||e).palette.error.main}})),dxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormLabel"}),{children:i,className:a,component:o="label"}=r,s=Sn(r,lxt),l=g3(),u=p3({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=Ne({},r,{color:u.color||"primary",component:o,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=uxt(c);return zt(cxt,Ne({as:o,ownerState:c,className:mn(f.root,a),ref:n},s,{children:[i,u.required&&zt(fxt,{ownerState:c,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),hxt=dxt,pxt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Oae(e){return`scale(${e}, ${e**2})`}const gxt={entering:{opacity:1,transform:Oae(1)},entered:{opacity:1,transform:"none"}},wq=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Lje=C.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:a,easing:o,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:h,style:p,timeout:g="auto",TransitionComponent:b=k7}=t,m=Sn(t,pxt),v=C.useRef(),w=C.useRef(),k=Df(),E=C.useRef(null),S=co(E,a.ref,n),T=R=>P=>{if(R){const H=E.current;P===void 0?R(H):R(H,P)}},L=T(c),M=T((R,P)=>{dde(R);const{duration:H,delay:F,easing:q}=p2({style:p,timeout:g,easing:o},{mode:"enter"});let V;g==="auto"?(V=k.transitions.getAutoHeightDuration(R.clientHeight),w.current=V):V=H,R.style.transition=[k.transitions.create("opacity",{duration:V,delay:F}),k.transitions.create("transform",{duration:wq?V:V*.666,delay:F,easing:q})].join(","),l&&l(R,P)}),D=T(u),I=T(h),B=T(R=>{const{duration:P,delay:H,easing:F}=p2({style:p,timeout:g,easing:o},{mode:"exit"});let q;g==="auto"?(q=k.transitions.getAutoHeightDuration(R.clientHeight),w.current=q):q=P,R.style.transition=[k.transitions.create("opacity",{duration:q,delay:H}),k.transitions.create("transform",{duration:wq?q:q*.666,delay:wq?H:H||q*.333,easing:F})].join(","),R.style.opacity=0,R.style.transform=Oae(.75),f&&f(R)}),N=T(d),O=R=>{g==="auto"&&(v.current=setTimeout(R,w.current||0)),r&&r(E.current,R)};return C.useEffect(()=>()=>{clearTimeout(v.current)},[]),me(b,Ne({appear:i,in:s,nodeRef:E,onEnter:M,onEntered:D,onEntering:L,onExit:B,onExited:N,onExiting:I,addEndListener:O,timeout:g==="auto"?null:g},m,{children:(R,P)=>C.cloneElement(a,Ne({style:Ne({opacity:0,transform:Oae(.75),visibility:R==="exited"&&!s?"hidden":void 0},gxt[R],p,a.props.style),ref:S},P))}))});Lje.muiSupportAuto=!0;const FL=Lje,mxt=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],vxt=e=>{const{classes:t,disableUnderline:n}=e,i=Er({root:["root",!n&&"underline"],input:["input"]},SEt,t);return Ne({},t,i)},yxt=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...a$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),Ne({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${M5.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${M5.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${M5.disabled}, .${M5.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${M5.disabled}:before`]:{borderBottomStyle:"dotted"}})}),bxt=dn(l$,{name:"MuiInput",slot:"Input",overridesResolver:o$})({}),Bje=C.forwardRef(function(t,n){var r,i,a,o;const s=yr({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:f=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:g={},type:b="text"}=s,m=Sn(s,mxt),v=vxt(s),k={root:{ownerState:{disableUnderline:l}}},E=p??c?hh(p??c,k):k,S=(r=(i=g.root)!=null?i:u.Root)!=null?r:yxt,T=(a=(o=g.input)!=null?o:u.Input)!=null?a:bxt;return me(mde,Ne({slots:{root:S,input:T},slotProps:E,fullWidth:f,inputComponent:d,multiline:h,ref:n,type:b},m,{classes:v}))});Bje.muiName="Input";const XC=Bje;function wxt(e){return xr("MuiInputLabel",e)}Sr("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const kxt=["disableAnimation","margin","shrink","variant","className"],_xt=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,u=Er({root:["root",n&&"formControl",!a&&"animated",i&&"shrink",r==="small"&&"sizeSmall",o],asterisk:[s&&"asterisk"]},wxt,t);return Ne({},t,u)},Cxt=dn(hxt,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${DS.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>Ne({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&Ne({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Ne({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&Ne({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),Ext=C.forwardRef(function(t,n){const r=yr({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:a,className:o}=r,s=Sn(r,kxt),l=g3();let u=a;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=p3({props:r,muiFormControl:l,states:["size","variant","required"]}),f=Ne({},r,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required}),d=_xt(f);return me(Cxt,Ne({"data-shrink":u,ownerState:f,ref:n,className:mn(d.root,o)},s,{classes:d}))}),xxt=Ext,Sxt=C.createContext({}),A0=Sxt;function Axt(e){return xr("MuiList",e)}Sr("MuiList",["root","padding","dense","subheader"]);const Txt=["children","className","component","dense","disablePadding","subheader"],Dxt=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Er({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},Axt,t)},Ixt=dn("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Ne({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Rxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiList"}),{children:i,className:a,component:o="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=r,c=Sn(r,Txt),f=C.useMemo(()=>({dense:s}),[s]),d=Ne({},r,{component:o,dense:s,disablePadding:l}),h=Dxt(d);return me(A0.Provider,{value:f,children:zt(Ixt,Ne({as:o,className:mn(h.root,a),ref:n,ownerState:d},c,{children:[u,i]}))})}),g2=Rxt;function Mxt(e){return xr("MuiListItem",e)}const Oxt=Sr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Sk=Oxt;function Lxt(e){return xr("MuiListItemButton",e)}const Bxt=Sr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Ak=Bxt,Pxt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Fxt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Nxt=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:a,divider:o,selected:s}=e,u=Er({root:["root",r&&"dense",!a&&"gutters",o&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},Lxt,n);return Ne({},n,u)},$xt=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Fxt})(({theme:e,ownerState:t})=>Ne({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ak.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ak.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ak.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ak.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ak.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),zxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:o="div",children:s,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:f,selected:d=!1,className:h}=r,p=Sn(r,Pxt),g=C.useContext(A0),b=C.useMemo(()=>({dense:l||g.dense||!1,alignItems:i,disableGutters:u}),[i,g.dense,l,u]),m=C.useRef(null);Sf(()=>{a&&m.current&&m.current.focus()},[a]);const v=Ne({},r,{alignItems:i,dense:b.dense,disableGutters:u,divider:c,selected:d}),w=Nxt(v),k=co(m,n);return me(A0.Provider,{value:b,children:me($xt,Ne({ref:k,href:p.href||p.to,component:(p.href||p.to)&&o==="div"?"a":o,focusVisibleClassName:mn(w.focusVisible,f),ownerState:v,className:mn(w.root,h)},p,{classes:w,children:s}))})}),IS=zxt;function Uxt(e){return xr("MuiListItemSecondaryAction",e)}Sr("MuiListItemSecondaryAction",["root","disableGutters"]);const jxt=["className"],Hxt=e=>{const{disableGutters:t,classes:n}=e;return Er({root:["root",t&&"disableGutters"]},Uxt,n)},qxt=dn("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>Ne({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),Pje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=r,a=Sn(r,jxt),o=C.useContext(A0),s=Ne({},r,{disableGutters:o.disableGutters}),l=Hxt(s);return me(qxt,Ne({className:mn(l.root,i),ownerState:s,ref:n},a))});Pje.muiName="ListItemSecondaryAction";const Wxt=Pje,Gxt=["className"],Vxt=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Kxt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},Yxt=e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:a,disableGutters:o,disablePadding:s,divider:l,hasSecondaryAction:u,selected:c}=e;return Er({root:["root",i&&"dense",!o&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},Mxt,r)},Xxt=dn("div",{name:"MuiListItem",slot:"Root",overridesResolver:Kxt})(({theme:e,ownerState:t})=>Ne({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Ne({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ak.root}`]:{paddingRight:48}},{[`&.${Sk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sk.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Sk.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Jxt=dn("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Zxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:a=!1,button:o=!1,children:s,className:l,component:u,components:c={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:h}={},dense:p=!1,disabled:g=!1,disableGutters:b=!1,disablePadding:m=!1,divider:v=!1,focusVisibleClassName:w,secondaryAction:k,selected:E=!1,slotProps:S={},slots:T={}}=r,L=Sn(r.ContainerProps,Gxt),M=Sn(r,Vxt),D=C.useContext(A0),I=C.useMemo(()=>({dense:p||D.dense||!1,alignItems:i,disableGutters:b}),[i,D.dense,p,b]),B=C.useRef(null);Sf(()=>{a&&B.current&&B.current.focus()},[a]);const N=C.Children.toArray(s),O=N.length&&CS(N[N.length-1],["ListItemSecondaryAction"]),R=Ne({},r,{alignItems:i,autoFocus:a,button:o,dense:I.dense,disabled:g,disableGutters:b,disablePadding:m,divider:v,hasSecondaryAction:O,selected:E}),P=Yxt(R),H=co(B,n),F=T.root||c.Root||Xxt,q=S.root||f.root||{},V=Ne({className:mn(P.root,q.className,l),disabled:g},M);let X=u||"li";return o&&(V.component=u||"div",V.focusVisibleClassName=mn(Sk.focusVisible,w),X=s1),O?(X=!V.component&&!u?"div":X,d==="li"&&(X==="li"?X="div":V.component==="li"&&(V.component="div")),me(A0.Provider,{value:I,children:zt(Jxt,Ne({as:d,className:mn(P.container,h),ref:H,ownerState:R},L,{children:[me(F,Ne({},q,!i_(F)&&{as:X,ownerState:Ne({},R,q.ownerState)},V,{children:N})),N.pop()]}))})):me(A0.Provider,{value:I,children:zt(F,Ne({},q,{as:X,ref:H},!i_(F)&&{ownerState:Ne({},R,q.ownerState)},V,{children:[N,k&&me(Wxt,{children:k})]}))})}),JC=Zxt;function Qxt(e){return xr("MuiListItemIcon",e)}const eSt=Sr("MuiListItemIcon",["root","alignItemsFlexStart"]),v4e=eSt,tSt=["className"],nSt=e=>{const{alignItems:t,classes:n}=e;return Er({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Qxt,n)},rSt=dn("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Ne({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),iSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemIcon"}),{className:i}=r,a=Sn(r,tSt),o=C.useContext(A0),s=Ne({},r,{alignItems:o.alignItems}),l=nSt(s);return me(rSt,Ne({className:mn(l.root,i),ownerState:s,ref:n},a))}),Ps=iSt;function aSt(e){return xr("MuiListItemText",e)}const oSt=Sr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),NL=oSt,sSt=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],lSt=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;return Er({root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},aSt,t)},uSt=dn("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${NL.primary}`]:t.primary},{[`& .${NL.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Ne({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),cSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemText"}),{children:i,className:a,disableTypography:o=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:f}=r,d=Sn(r,sSt),{dense:h}=C.useContext(A0);let p=l??i,g=c;const b=Ne({},r,{disableTypography:o,inset:s,primary:!!p,secondary:!!g,dense:h}),m=lSt(b);return p!=null&&p.type!==La&&!o&&(p=me(La,Ne({variant:h?"body2":"body1",className:m.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:p}))),g!=null&&g.type!==La&&!o&&(g=me(La,Ne({variant:"body2",className:m.secondary,color:"text.secondary",display:"block"},f,{children:g}))),zt(uSt,Ne({className:mn(m.root,a),ownerState:b,ref:n},d,{children:[p,g]}))}),Va=cSt,fSt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function kq(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function y4e(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Fje(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function O5(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!Fje(s,a)||l)s=i(e,s,n);else return s.focus(),!0}return!1}const dSt=C.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:a=!1,children:o,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu"}=t,d=Sn(t,fSt),h=C.useRef(null),p=C.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sf(()=>{i&&h.current.focus()},[i]),C.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,k)=>{const E=!h.current.style.width;if(w.clientHeight{const k=h.current,E=w.key,S=hl(k).activeElement;if(E==="ArrowDown")w.preventDefault(),O5(k,S,u,l,kq);else if(E==="ArrowUp")w.preventDefault(),O5(k,S,u,l,y4e);else if(E==="Home")w.preventDefault(),O5(k,null,u,l,kq);else if(E==="End")w.preventDefault(),O5(k,null,u,l,y4e);else if(E.length===1){const T=p.current,L=E.toLowerCase(),M=performance.now();T.keys.length>0&&(M-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&L!==T.keys[0]&&(T.repeating=!1)),T.lastTime=M,T.keys.push(L);const D=S&&!T.repeating&&Fje(S,T);T.previousKeyMatched&&(D||O5(k,S,!1,l,kq,T))?w.preventDefault():T.previousKeyMatched=!1}c&&c(w)},b=co(h,n);let m=-1;C.Children.forEach(o,(w,k)=>{C.isValidElement(w)&&(w.props.disabled||(f==="selectedMenu"&&w.props.selected||m===-1)&&(m=k),m===k&&(w.props.disabled||w.props.muiSkipListHighlight||w.type.muiSkipListHighlight)&&(m+=1,m>=o.length&&(m=-1)))});const v=C.Children.map(o,(w,k)=>{if(k===m){const E={};return a&&(E.autoFocus=!0),w.props.tabIndex===void 0&&f==="selectedMenu"&&(E.tabIndex=0),C.cloneElement(w,E)}return w});return me(g2,Ne({role:"menu",ref:b,className:s,onKeyDown:g,tabIndex:i?0:-1},d,{children:v}))}),yde=dSt;function hSt(e){return xr("MuiPopover",e)}Sr("MuiPopover",["root","paper"]);const pSt=["onEntering"],gSt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function b4e(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function w4e(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function k4e(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function _q(e){return typeof e=="function"?e():e}const mSt=e=>{const{classes:t}=e;return Er({root:["root"],paper:["paper"]},hSt,t)},vSt=dn(vde,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ySt=dn(j2,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),bSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:o={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:u,className:c,container:f,elevation:d=8,marginThreshold:h=16,open:p,PaperProps:g={},transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:m=FL,transitionDuration:v="auto",TransitionProps:{onEntering:w}={}}=r,k=Sn(r.TransitionProps,pSt),E=Sn(r,gSt),S=C.useRef(),T=co(S,g.ref),L=Ne({},r,{anchorOrigin:o,anchorReference:l,elevation:d,marginThreshold:h,PaperProps:g,transformOrigin:b,TransitionComponent:m,transitionDuration:v,TransitionProps:k}),M=mSt(L),D=C.useCallback(()=>{if(l==="anchorPosition")return s;const V=_q(a),G=(V&&V.nodeType===1?V:hl(S.current).body).getBoundingClientRect();return{top:G.top+b4e(G,o.vertical),left:G.left+w4e(G,o.horizontal)}},[a,o.horizontal,o.vertical,s,l]),I=C.useCallback(V=>({vertical:b4e(V,b.vertical),horizontal:w4e(V,b.horizontal)}),[b.horizontal,b.vertical]),B=C.useCallback(V=>{const X={width:V.offsetWidth,height:V.offsetHeight},G=I(X);if(l==="none")return{top:null,left:null,transformOrigin:k4e(G)};const J=D();let te=J.top-G.vertical,re=J.left-G.horizontal;const Q=te+X.height,ae=re+X.width,le=wh(_q(a)),oe=le.innerHeight-h,ee=le.innerWidth-h;if(teoe){const ne=Q-oe;te-=ne,G.vertical+=ne}if(reee){const ne=ae-ee;re-=ne,G.horizontal+=ne}return{top:`${Math.round(te)}px`,left:`${Math.round(re)}px`,transformOrigin:k4e(G)}},[a,l,D,I,h]),[N,O]=C.useState(p),R=C.useCallback(()=>{const V=S.current;if(!V)return;const X=B(V);X.top!==null&&(V.style.top=X.top),X.left!==null&&(V.style.left=X.left),V.style.transformOrigin=X.transformOrigin,O(!0)},[B]),P=(V,X)=>{w&&w(V,X),R()},H=()=>{O(!1)};C.useEffect(()=>{p&&R()}),C.useImperativeHandle(i,()=>p?{updatePosition:()=>{R()}}:null,[p,R]),C.useEffect(()=>{if(!p)return;const V=i1(()=>{R()}),X=wh(a);return X.addEventListener("resize",V),()=>{V.clear(),X.removeEventListener("resize",V)}},[a,p,R]);let F=v;v==="auto"&&!m.muiSupportAuto&&(F=void 0);const q=f||(a?hl(_q(a)).body:void 0);return me(vSt,Ne({BackdropProps:{invisible:!0},className:mn(M.root,c),container:q,open:p,ref:n,ownerState:L},E,{children:me(m,Ne({appear:!0,in:p,onEntering:P,onExited:H,timeout:F},k,{children:me(ySt,Ne({elevation:d},g,{ref:T,className:mn(M.paper,g.className)},N?void 0:{style:Ne({},g.style,{opacity:0})},{ownerState:L,children:u}))}))}))}),H2=bSt;function wSt(e){return xr("MuiMenu",e)}Sr("MuiMenu",["root","paper","list"]);const kSt=["onEntering"],_St=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],CSt={vertical:"top",horizontal:"right"},ESt={vertical:"top",horizontal:"left"},xSt=e=>{const{classes:t}=e;return Er({root:["root"],paper:["paper"],list:["list"]},wSt,t)},SSt=dn(H2,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ASt=dn(j2,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),TSt=dn(yde,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),DSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:l,open:u,PaperProps:c={},PopoverClasses:f,transitionDuration:d="auto",TransitionProps:{onEntering:h}={},variant:p="selectedMenu"}=r,g=Sn(r.TransitionProps,kSt),b=Sn(r,_St),m=Df(),v=m.direction==="rtl",w=Ne({},r,{autoFocus:i,disableAutoFocusItem:o,MenuListProps:s,onEntering:h,PaperProps:c,transitionDuration:d,TransitionProps:g,variant:p}),k=xSt(w),E=i&&!o&&u,S=C.useRef(null),T=(D,I)=>{S.current&&S.current.adjustStyleForScrollbar(D,m),h&&h(D,I)},L=D=>{D.key==="Tab"&&(D.preventDefault(),l&&l(D,"tabKeyDown"))};let M=-1;return C.Children.map(a,(D,I)=>{C.isValidElement(D)&&(D.props.disabled||(p==="selectedMenu"&&D.props.selected||M===-1)&&(M=I))}),me(SSt,Ne({onClose:l,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?CSt:ESt,PaperProps:Ne({as:ASt},c,{classes:Ne({},c.classes,{root:k.paper})}),className:k.root,open:u,ref:n,transitionDuration:d,TransitionProps:Ne({onEntering:T},g),ownerState:w},b,{classes:f,children:me(TSt,Ne({onKeyDown:L,actions:S,autoFocus:i&&(M===-1||o),autoFocusItem:E,variant:p},s,{className:mn(k.list,s.className),children:a}))}))}),um=DSt;function ISt(e){return xr("MuiMenuItem",e)}const RSt=Sr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),L5=RSt,MSt=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],OSt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},LSt=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:o}=e,l=Er({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},ISt,o);return Ne({},o,l)},BSt=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:OSt})(({theme:e,ownerState:t})=>Ne({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${L5.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${L5.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${L5.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${L5.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${L5.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h4e.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h4e.inset}`]:{marginLeft:52},[`& .${NL.root}`]:{marginTop:0,marginBottom:0},[`& .${NL.inset}`]:{paddingLeft:36},[`& .${v4e.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Ne({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${v4e.root} svg`]:{fontSize:"1.25rem"}}))),PSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:o=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:f,className:d}=r,h=Sn(r,MSt),p=C.useContext(A0),g=C.useMemo(()=>({dense:o||p.dense||!1,disableGutters:l}),[p.dense,o,l]),b=C.useRef(null);Sf(()=>{i&&b.current&&b.current.focus()},[i]);const m=Ne({},r,{dense:g.dense,divider:s,disableGutters:l}),v=LSt(r),w=co(b,n);let k;return r.disabled||(k=f!==void 0?f:-1),me(A0.Provider,{value:g,children:me(BSt,Ne({ref:w,role:c,tabIndex:k,component:a,focusVisibleClassName:mn(v.focusVisible,u),className:mn(v.root,d)},h,{ownerState:m,classes:v}))})}),Tl=PSt;function Nje(e){return xr("MuiNativeSelect",e)}const FSt=Sr("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),bde=FSt,NSt=["className","disabled","IconComponent","inputRef","variant"],$St=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${_n(n)}`,a&&"iconOpen",r&&"disabled"]};return Er(o,Nje,t)},$je=({ownerState:e,theme:t})=>Ne({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":Ne({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${bde.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),zSt=dn("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:gd,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${bde.multiple}`]:t.multiple}]}})($je),zje=({ownerState:e,theme:t})=>Ne({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${bde.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),USt=dn("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_n(n.variant)}`],n.open&&t.iconOpen]}})(zje),jSt=C.forwardRef(function(t,n){const{className:r,disabled:i,IconComponent:a,inputRef:o,variant:s="standard"}=t,l=Sn(t,NSt),u=Ne({},t,{disabled:i,variant:s}),c=$St(u);return zt(C.Fragment,{children:[me(zSt,Ne({ownerState:u,className:mn(c.select,r),disabled:i,ref:o||n},l)),t.multiple?null:me(USt,{as:a,ownerState:u,className:c.icon})]})}),Uje=jSt,HSt=["className","children","classes","IconComponent","input","inputProps","variant"],qSt=["root"],WSt=e=>{const{classes:t}=e;return Er({root:["root"]},Nje,t)},GSt=me(XC,{}),jje=C.forwardRef(function(t,n){const r=yr({name:"MuiNativeSelect",props:t}),{className:i,children:a,classes:o={},IconComponent:s=Sje,input:l=GSt,inputProps:u}=r,c=Sn(r,HSt),f=g3(),d=p3({props:r,muiFormControl:f,states:["variant"]}),h=Ne({},r,{classes:o}),p=WSt(h),g=Sn(o,qSt);return me(C.Fragment,{children:C.cloneElement(l,Ne({inputComponent:Uje,inputProps:Ne({children:a,classes:g,IconComponent:s,variant:d.variant,type:void 0},u,l?l.props.inputProps:{}),ref:n},c,{className:mn(p.root,l.props.className,i)}))})});jje.muiName="Select";const aO=jje;var _4e;const VSt=["children","classes","className","label","notched"],KSt=dn("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),YSt=dn("legend")(({ownerState:e,theme:t})=>Ne({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Ne({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function XSt(e){const{className:t,label:n,notched:r}=e,i=Sn(e,VSt),a=n!=null&&n!=="",o=Ne({},e,{notched:r,withLabel:a});return me(KSt,Ne({"aria-hidden":!0,className:t,ownerState:o},i,{children:me(YSt,{ownerState:o,children:a?me("span",{children:n}):_4e||(_4e=me("span",{className:"notranslate",children:"​"}))})}))}const JSt=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],ZSt=e=>{const{classes:t}=e,r=Er({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},TEt,t);return Ne({},t,r)},QSt=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:a$})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Ne({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Vm.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Vm.focused} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Vm.error} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Vm.disabled} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Ne({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),eAt=dn(XSt,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),tAt=dn(l$,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>Ne({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),Hje=C.forwardRef(function(t,n){var r,i,a,o,s;const l=yr({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:f="input",label:d,multiline:h=!1,notched:p,slots:g={},type:b="text"}=l,m=Sn(l,JSt),v=ZSt(l),w=g3(),k=p3({props:l,muiFormControl:w,states:["required"]}),E=Ne({},l,{color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:w,fullWidth:c,hiddenLabel:k.hiddenLabel,multiline:h,size:k.size,type:b}),S=(r=(i=g.root)!=null?i:u.Root)!=null?r:QSt,T=(a=(o=g.input)!=null?o:u.Input)!=null?a:tAt;return me(mde,Ne({slots:{root:S,input:T},renderSuffix:L=>me(eAt,{ownerState:E,className:v.notchedOutline,label:d!=null&&d!==""&&k.required?s||(s=zt(C.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(L.startAdornment||L.filled||L.focused)}),fullWidth:c,inputComponent:f,multiline:h,ref:n,type:b},m,{classes:Ne({},v,{notchedOutline:null})}))});Hje.muiName="Input";const qje=Hje;function nAt(e){return xr("MuiSelect",e)}const rAt=Sr("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),VD=rAt;var C4e;const iAt=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],aAt=dn("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${VD.select}`]:t.select},{[`&.${VD.select}`]:t[n.variant]},{[`&.${VD.multiple}`]:t.multiple}]}})($je,{[`&.${VD.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),oAt=dn("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_n(n.variant)}`],n.open&&t.iconOpen]}})(zje),sAt=dn("input",{shouldForwardProp:e=>Lkt(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function E4e(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function lAt(e){return e==null||typeof e=="string"&&!e.trim()}const uAt=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${_n(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Er(o,nAt,t)},cAt=C.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:a,autoWidth:o,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:f,displayEmpty:d,IconComponent:h,inputRef:p,labelId:g,MenuProps:b={},multiple:m,name:v,onBlur:w,onChange:k,onClose:E,onFocus:S,onOpen:T,open:L,readOnly:M,renderValue:D,SelectDisplayProps:I={},tabIndex:B,value:N,variant:O="standard"}=t,R=Sn(t,iAt),[P,H]=kh({controlled:N,default:c,name:"Select"}),[F,q]=kh({controlled:L,default:u,name:"Select"}),V=C.useRef(null),X=C.useRef(null),[G,J]=C.useState(null),{current:te}=C.useRef(L!=null),[re,Q]=C.useState(),ae=co(n,p),le=C.useCallback(fe=>{X.current=fe,fe&&J(fe)},[]),oe=G?.parentNode;C.useImperativeHandle(ae,()=>({focus:()=>{X.current.focus()},node:V.current,value:P}),[P]),C.useEffect(()=>{u&&F&&G&&!te&&(Q(o?null:oe.clientWidth),X.current.focus())},[G,o]),C.useEffect(()=>{a&&X.current.focus()},[a]),C.useEffect(()=>{if(!g)return;const fe=hl(X.current).getElementById(g);if(fe){const de=()=>{getSelection().isCollapsed&&X.current.focus()};return fe.addEventListener("click",de),()=>{fe.removeEventListener("click",de)}}},[g]);const ee=(fe,de)=>{fe?T&&T(de):E&&E(de),te||(Q(o?null:oe.clientWidth),q(fe))},ne=fe=>{fe.button===0&&(fe.preventDefault(),X.current.focus(),ee(!0,fe))},ue=fe=>{ee(!1,fe)},Ae=C.Children.toArray(s),ce=fe=>{const de=Ae.map(Ye=>Ye.props.value).indexOf(fe.target.value);if(de===-1)return;const xe=Ae[de];H(xe.props.value),k&&k(fe,xe)},be=fe=>de=>{let xe;if(de.currentTarget.hasAttribute("tabindex")){if(m){xe=Array.isArray(P)?P.slice():[];const Ye=P.indexOf(fe.props.value);Ye===-1?xe.push(fe.props.value):xe.splice(Ye,1)}else xe=fe.props.value;if(fe.props.onClick&&fe.props.onClick(de),P!==xe&&(H(xe),k)){const Ye=de.nativeEvent||de,Ze=new Ye.constructor(Ye.type,Ye);Object.defineProperty(Ze,"target",{writable:!0,value:{value:xe,name:v}}),k(Ze,fe)}m||ee(!1,de)}},ge=fe=>{M||[" ","ArrowUp","ArrowDown","Enter"].indexOf(fe.key)!==-1&&(fe.preventDefault(),ee(!0,fe))},ve=G!==null&&F,ie=fe=>{!ve&&w&&(Object.defineProperty(fe,"target",{writable:!0,value:{value:P,name:v}}),w(fe))};delete R["aria-invalid"];let he,$e;const De=[];let Ie=!1;(gde({value:P})||d)&&(D?he=D(P):Ie=!0);const Be=Ae.map(fe=>{if(!C.isValidElement(fe))return null;let de;if(m){if(!Array.isArray(P))throw new Error(h2(2));de=P.some(xe=>E4e(xe,fe.props.value)),de&&Ie&&De.push(fe.props.children)}else de=E4e(P,fe.props.value),de&&Ie&&($e=fe.props.children);return C.cloneElement(fe,{"aria-selected":de?"true":"false",onClick:be(fe),onKeyUp:xe=>{xe.key===" "&&xe.preventDefault(),fe.props.onKeyUp&&fe.props.onKeyUp(xe)},role:"option",selected:de,value:void 0,"data-value":fe.props.value})});Ie&&(m?De.length===0?he=null:he=De.reduce((fe,de,xe)=>(fe.push(de),xe{const{classes:t}=e;return t},wde={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>gd(e)&&e!=="variant",slot:"Root"},pAt=dn(XC,wde)(""),gAt=dn(qje,wde)(""),mAt=dn(Oje,wde)(""),Wje=C.forwardRef(function(t,n){const r=yr({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:o={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=Sje,id:f,input:d,inputProps:h,label:p,labelId:g,MenuProps:b,multiple:m=!1,native:v=!1,onClose:w,onOpen:k,open:E,renderValue:S,SelectDisplayProps:T,variant:L="outlined"}=r,M=Sn(r,dAt),D=v?Uje:fAt,I=g3(),N=p3({props:r,muiFormControl:I,states:["variant"]}).variant||L,O=d||{standard:x4e||(x4e=me(pAt,{})),outlined:me(gAt,{label:p}),filled:S4e||(S4e=me(mAt,{}))}[N],R=Ne({},r,{variant:N,classes:o}),P=hAt(R),H=co(n,O.ref);return me(C.Fragment,{children:C.cloneElement(O,Ne({inputComponent:D,inputProps:Ne({children:a,IconComponent:c,variant:N,type:void 0,multiple:m},v?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:g,MenuProps:b,onClose:w,onOpen:k,open:E,renderValue:S,SelectDisplayProps:Ne({id:f},T)},h,{classes:h?hh(P,h.classes):P},d?d.props.inputProps:{})},m&&v&&N==="outlined"?{notched:!0}:{},{ref:H,className:mn(O.props.className,s)},!d&&{variant:N},M))})});Wje.muiName="Select";const vAt=Wje;function yAt(e){return xr("MuiSnackbarContent",e)}Sr("MuiSnackbarContent",["root","message","action"]);const bAt=["action","className","message","role"],wAt=e=>{const{classes:t}=e;return Er({root:["root"],action:["action"],message:["message"]},yAt,t)},kAt=dn(j2,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=okt(e.palette.background.default,t);return Ne({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),_At=dn("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),CAt=dn("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),EAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSnackbarContent"}),{action:i,className:a,message:o,role:s="alert"}=r,l=Sn(r,bAt),u=r,c=wAt(u);return zt(kAt,Ne({role:s,square:!0,elevation:6,className:mn(c.root,a),ownerState:u,ref:n},l,{children:[me(_At,{className:c.message,ownerState:u,children:o}),i?me(CAt,{className:c.action,ownerState:u,children:i}):null]}))}),xAt=EAt;function SAt(e){return xr("MuiSnackbar",e)}Sr("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const AAt=["onEnter","onExited"],TAt=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],DAt=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}`]};return Er(r,SAt,t)},A4e=dn("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${_n(n.anchorOrigin.vertical)}${_n(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return Ne({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Ne({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),IAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSnackbar"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:o,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:f,ClickAwayListenerProps:d,ContentProps:h,disableWindowBlurListener:p=!1,message:g,open:b,TransitionComponent:m=FL,transitionDuration:v=a,TransitionProps:{onEnter:w,onExited:k}={}}=r,E=Sn(r.TransitionProps,AAt),S=Sn(r,TAt),T=Ne({},r,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:u,disableWindowBlurListener:p,TransitionComponent:m,transitionDuration:v}),L=DAt(T),{getRootProps:M,onClickAway:D}=T_t(Ne({},T,{ref:n})),[I,B]=C.useState(!0),N=ed({elementType:A4e,getSlotProps:M,externalForwardedProps:S,ownerState:T,className:[L.root,f]}),O=P=>{B(!0),k&&k(P)},R=(P,H)=>{B(!1),w&&w(P,H)};return!b&&I?null:me(Hkt,Ne({onClickAway:D},d,{children:me(A4e,Ne({},N,{children:me(m,Ne({appear:!0,in:b,timeout:v,direction:s==="top"?"down":"up",onEnter:R,onExited:O},E,{children:c||me(xAt,Ne({message:g,action:o},h))}))}))}))}),C7=IAt;function RAt(e){return xr("MuiTooltip",e)}const MAt=Sr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Iv=MAt,OAt=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function LAt(e){return Math.round(e*1e5)/1e5}const BAt=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e,o={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${_n(a.split("-")[0])}`],arrow:["arrow"]};return Er(o,RAt,t)},PAt=dn(_je,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Ne({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Iv.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Iv.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Iv.arrow}`]:Ne({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Iv.arrow}`]:Ne({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),FAt=dn("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${_n(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Ne({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Li(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${LAt(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Iv.popper}[data-popper-placement*="left"] &`]:Ne({transformOrigin:"right center"},t.isRtl?Ne({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Ne({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Iv.popper}[data-popper-placement*="right"] &`]:Ne({transformOrigin:"left center"},t.isRtl?Ne({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Ne({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Iv.popper}[data-popper-placement*="top"] &`]:Ne({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Iv.popper}[data-popper-placement*="bottom"] &`]:Ne({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),NAt=dn("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Li(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let KD=!1,Cq=null,B5={x:0,y:0};function YD(e,t){return n=>{t&&t(n),e(n)}}const $At=C.forwardRef(function(t,n){var r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v,w,k,E;const S=yr({props:t,name:"MuiTooltip"}),{arrow:T=!1,children:L,components:M={},componentsProps:D={},describeChild:I=!1,disableFocusListener:B=!1,disableHoverListener:N=!1,disableInteractive:O=!1,disableTouchListener:R=!1,enterDelay:P=100,enterNextDelay:H=0,enterTouchDelay:F=700,followCursor:q=!1,id:V,leaveDelay:X=0,leaveTouchDelay:G=1500,onClose:J,onOpen:te,open:re,placement:Q="bottom",PopperComponent:ae,PopperProps:le={},slotProps:oe={},slots:ee={},title:ne,TransitionComponent:ue=FL,TransitionProps:Ae}=S,ce=Sn(S,OAt),be=Df(),ge=be.direction==="rtl",[ve,ie]=C.useState(),[he,$e]=C.useState(null),De=C.useRef(!1),Ie=O||q,Be=C.useRef(),we=C.useRef(),je=C.useRef(),Oe=C.useRef(),[Re,ye]=kh({controlled:re,default:!1,name:"Tooltip",state:"open"});let fe=Re;const de=g7(V),xe=C.useRef(),Ye=C.useCallback(()=>{xe.current!==void 0&&(document.body.style.WebkitUserSelect=xe.current,xe.current=void 0),clearTimeout(Oe.current)},[]);C.useEffect(()=>()=>{clearTimeout(Be.current),clearTimeout(we.current),clearTimeout(je.current),Ye()},[Ye]);const Ze=qt=>{clearTimeout(Cq),KD=!0,ye(!0),te&&!fe&&te(qt)},st=ya(qt=>{clearTimeout(Cq),Cq=setTimeout(()=>{KD=!1},800+X),ye(!1),J&&fe&&J(qt),clearTimeout(Be.current),Be.current=setTimeout(()=>{De.current=!1},be.transitions.duration.shortest)}),at=qt=>{De.current&&qt.type!=="touchstart"||(ve&&ve.removeAttribute("title"),clearTimeout(we.current),clearTimeout(je.current),P||KD&&H?we.current=setTimeout(()=>{Ze(qt)},KD?H:P):Ze(qt))},rt=qt=>{clearTimeout(we.current),clearTimeout(je.current),je.current=setTimeout(()=>{st(qt)},X)},{isFocusVisibleRef:et,onBlur:Ot,onFocus:jt,ref:xt}=Gfe(),[,pt]=C.useState(!1),_t=qt=>{Ot(qt),et.current===!1&&(pt(!1),rt(qt))},ht=qt=>{ve||ie(qt.currentTarget),jt(qt),et.current===!0&&(pt(!0),at(qt))},yt=qt=>{De.current=!0;const cn=L.props;cn.onTouchStart&&cn.onTouchStart(qt)},Lt=at,on=rt,Ht=qt=>{yt(qt),clearTimeout(je.current),clearTimeout(Be.current),Ye(),xe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Oe.current=setTimeout(()=>{document.body.style.WebkitUserSelect=xe.current,at(qt)},F)},vn=qt=>{L.props.onTouchEnd&&L.props.onTouchEnd(qt),Ye(),clearTimeout(je.current),je.current=setTimeout(()=>{st(qt)},G)};C.useEffect(()=>{if(!fe)return;function qt(cn){(cn.key==="Escape"||cn.key==="Esc")&&st(cn)}return document.addEventListener("keydown",qt),()=>{document.removeEventListener("keydown",qt)}},[st,fe]);const $t=co(L.ref,xt,ie,n);!ne&&ne!==0&&(fe=!1);const Tt=C.useRef(),Wt=qt=>{const cn=L.props;cn.onMouseMove&&cn.onMouseMove(qt),B5={x:qt.clientX,y:qt.clientY},Tt.current&&Tt.current.update()},Ut={},en=typeof ne=="string";I?(Ut.title=!fe&&en&&!N?ne:null,Ut["aria-describedby"]=fe?de:null):(Ut["aria-label"]=en?ne:null,Ut["aria-labelledby"]=fe&&!en?de:null);const Gt=Ne({},Ut,ce,L.props,{className:mn(ce.className,L.props.className),onTouchStart:yt,ref:$t},q?{onMouseMove:Wt}:{}),gn={};R||(Gt.onTouchStart=Ht,Gt.onTouchEnd=vn),N||(Gt.onMouseOver=YD(Lt,Gt.onMouseOver),Gt.onMouseLeave=YD(on,Gt.onMouseLeave),Ie||(gn.onMouseOver=Lt,gn.onMouseLeave=on)),B||(Gt.onFocus=YD(ht,Gt.onFocus),Gt.onBlur=YD(_t,Gt.onBlur),Ie||(gn.onFocus=ht,gn.onBlur=_t));const In=C.useMemo(()=>{var qt;let cn=[{name:"arrow",enabled:!!he,options:{element:he,padding:4}}];return(qt=le.popperOptions)!=null&&qt.modifiers&&(cn=cn.concat(le.popperOptions.modifiers)),Ne({},le.popperOptions,{modifiers:cn})},[he,le]),Wn=Ne({},S,{isRtl:ge,arrow:T,disableInteractive:Ie,placement:Q,PopperComponentProp:ae,touch:De.current}),yn=BAt(Wn),Gn=(r=(i=ee.popper)!=null?i:M.Popper)!=null?r:PAt,na=(a=(o=(s=ee.transition)!=null?s:M.Transition)!=null?o:ue)!=null?a:FL,yi=(l=(u=ee.tooltip)!=null?u:M.Tooltip)!=null?l:FAt,gi=(c=(f=ee.arrow)!=null?f:M.Arrow)!=null?c:NAt,Dr=_9(Gn,Ne({},le,(d=oe.popper)!=null?d:D.popper,{className:mn(yn.popper,le?.className,(h=(p=oe.popper)!=null?p:D.popper)==null?void 0:h.className)}),Wn),mi=_9(na,Ne({},Ae,(g=oe.transition)!=null?g:D.transition),Wn),$n=_9(yi,Ne({},(b=oe.tooltip)!=null?b:D.tooltip,{className:mn(yn.tooltip,(m=(v=oe.tooltip)!=null?v:D.tooltip)==null?void 0:m.className)}),Wn),Dt=_9(gi,Ne({},(w=oe.arrow)!=null?w:D.arrow,{className:mn(yn.arrow,(k=(E=oe.arrow)!=null?E:D.arrow)==null?void 0:k.className)}),Wn);return zt(C.Fragment,{children:[C.cloneElement(L,Gt),me(Gn,Ne({as:ae??_je,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:B5.y,left:B5.x,right:B5.x,bottom:B5.y,width:0,height:0})}:ve,popperRef:Tt,open:ve?fe:!1,id:de,transition:!0},gn,Dr,{popperOptions:In,children:({TransitionProps:qt})=>me(na,Ne({timeout:be.transitions.duration.shorter},qt,mi,{children:zt(yi,Ne({},$n,{children:[ne,T?me(gi,Ne({},Dt,{ref:$e})):null]}))}))}))]})}),a4=$At;function zAt(e){return xr("MuiTab",e)}const UAt=Sr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),nb=UAt,jAt=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],HAt=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:a,label:o,selected:s,disabled:l}=e,u={root:["root",a&&o&&"labelIcon",`textColor${_n(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Er(u,zAt,t)},qAt=dn(s1,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${_n(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>Ne({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${nb.iconWrapper}`]:Ne({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${nb.selected}`]:{opacity:1},[`&.${nb.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${nb.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${nb.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${nb.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${nb.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),WAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:o=!1,fullWidth:s,icon:l,iconPosition:u="top",indicator:c,label:f,onChange:d,onClick:h,onFocus:p,selected:g,selectionFollowsFocus:b,textColor:m="inherit",value:v,wrapped:w=!1}=r,k=Sn(r,jAt),E=Ne({},r,{disabled:a,disableFocusRipple:o,selected:g,icon:!!l,iconPosition:u,label:!!f,fullWidth:s,textColor:m,wrapped:w}),S=HAt(E),T=l&&f&&C.isValidElement(l)?C.cloneElement(l,{className:mn(S.iconWrapper,l.props.className)}):l,L=D=>{!g&&d&&d(D,v),h&&h(D)},M=D=>{b&&!g&&d&&d(D,v),p&&p(D)};return zt(qAt,Ne({focusRipple:!o,className:mn(S.root,i),ref:n,role:"tab","aria-selected":g,disabled:a,onClick:L,onFocus:M,ownerState:E,tabIndex:g?0:-1},k,{children:[u==="top"||u==="start"?zt(C.Fragment,{children:[T,f]}):zt(C.Fragment,{children:[f,T]}),c]}))}),RS=WAt;function GAt(e){return xr("MuiToolbar",e)}Sr("MuiToolbar",["root","gutters","regular","dense"]);const VAt=["className","component","disableGutters","variant"],KAt=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Er({root:["root",!n&&"gutters",r]},GAt,t)},YAt=dn("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>Ne({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),XAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:o=!1,variant:s="regular"}=r,l=Sn(r,VAt),u=Ne({},r,{component:a,disableGutters:o,variant:s}),c=KAt(u);return me(YAt,Ne({as:a,className:mn(c.root,i),ref:n,ownerState:u},l))}),c$=XAt,JAt=fo(me("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ZAt=fo(me("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function QAt(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function e8t(e,t,n,r={},i=()=>{}){const{ease:a=QAt,duration:o=300}=r;let s=null;const l=t[e];let u=!1;const c=()=>{u=!0},f=d=>{if(u){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/o);if(t[e]=a(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===n?(i(new Error("Element already at target position")),c):(requestAnimationFrame(f),c)}const t8t=["onChange"],n8t={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function r8t(e){const{onChange:t}=e,n=Sn(e,t8t),r=C.useRef(),i=C.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return C.useEffect(()=>{const o=i1(()=>{const l=r.current;a(),l!==r.current&&t(r.current)}),s=wh(i.current);return s.addEventListener("resize",o),()=>{o.clear(),s.removeEventListener("resize",o)}},[t]),C.useEffect(()=>{a(),t(r.current)},[t]),me("div",Ne({style:n8t,ref:i},n))}function i8t(e){return xr("MuiTabScrollButton",e)}const a8t=Sr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),o8t=a8t;var T4e,D4e;const s8t=["className","direction","orientation","disabled"],l8t=e=>{const{classes:t,orientation:n,disabled:r}=e;return Er({root:["root",n,r&&"disabled"]},i8t,t)},u8t=dn(s1,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>Ne({width:40,flexShrink:0,opacity:.8,[`&.${o8t.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),c8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTabScrollButton"}),{className:i,direction:a}=r,o=Sn(r,s8t),l=Df().direction==="rtl",u=Ne({isRtl:l},r),c=l8t(u);return me(u8t,Ne({component:"div",className:mn(c.root,i),ref:n,role:null,ownerState:u,tabIndex:null},o,{children:a==="left"?T4e||(T4e=me(JAt,{fontSize:"small"})):D4e||(D4e=me(ZAt,{fontSize:"small"}))}))}),f8t=c8t;function d8t(e){return xr("MuiTabs",e)}const h8t=Sr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Eq=h8t,p8t=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],I4e=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,R4e=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,XD=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=n(e,i);else{i.focus();return}}},g8t=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:a,centered:o,scrollButtonsHideMobile:s,classes:l}=e;return Er({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",o&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},d8t,l)},m8t=dn("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Eq.scrollButtons}`]:t.scrollButtons},{[`& .${Eq.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Ne({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Eq.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),v8t=dn("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Ne({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),y8t=dn("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>Ne({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),b8t=dn("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Ne({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),w8t=dn(r8t,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),M4e={},k8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTabs"}),i=Df(),a=i.direction==="rtl",{"aria-label":o,"aria-labelledby":s,action:l,centered:u=!1,children:c,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:m=f8t,scrollButtons:v="auto",selectionFollowsFocus:w,TabIndicatorProps:k={},TabScrollButtonProps:E={},textColor:S="primary",value:T,variant:L="standard",visibleScrollbar:M=!1}=r,D=Sn(r,p8t),I=L==="scrollable",B=b==="vertical",N=B?"scrollTop":"scrollLeft",O=B?"top":"left",R=B?"bottom":"right",P=B?"clientHeight":"clientWidth",H=B?"height":"width",F=Ne({},r,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:b,vertical:B,scrollButtons:v,textColor:S,variant:L,visibleScrollbar:M,fixed:!I,hideScrollbar:I&&!M,scrollableX:I&&!B,scrollableY:I&&B,centered:u&&!I,scrollButtonsHideMobile:!h}),q=g8t(F),[V,X]=C.useState(!1),[G,J]=C.useState(M4e),[te,re]=C.useState({start:!1,end:!1}),[Q,ae]=C.useState({overflow:"hidden",scrollbarWidth:0}),le=new Map,oe=C.useRef(null),ee=C.useRef(null),ne=()=>{const ye=oe.current;let fe;if(ye){const xe=ye.getBoundingClientRect();fe={clientWidth:ye.clientWidth,scrollLeft:ye.scrollLeft,scrollTop:ye.scrollTop,scrollLeftNormalized:_be(ye,i.direction),scrollWidth:ye.scrollWidth,top:xe.top,bottom:xe.bottom,left:xe.left,right:xe.right}}let de;if(ye&&T!==!1){const xe=ee.current.children;if(xe.length>0){const Ye=xe[le.get(T)];de=Ye?Ye.getBoundingClientRect():null}}return{tabsMeta:fe,tabMeta:de}},ue=ya(()=>{const{tabsMeta:ye,tabMeta:fe}=ne();let de=0,xe;if(B)xe="top",fe&&ye&&(de=fe.top-ye.top+ye.scrollTop);else if(xe=a?"right":"left",fe&&ye){const Ze=a?ye.scrollLeftNormalized+ye.clientWidth-ye.scrollWidth:ye.scrollLeft;de=(a?-1:1)*(fe[xe]-ye[xe]+Ze)}const Ye={[xe]:de,[H]:fe?fe[H]:0};if(isNaN(G[xe])||isNaN(G[H]))J(Ye);else{const Ze=Math.abs(G[xe]-Ye[xe]),st=Math.abs(G[H]-Ye[H]);(Ze>=1||st>=1)&&J(Ye)}}),Ae=(ye,{animation:fe=!0}={})=>{fe?e8t(N,oe.current,ye,{duration:i.transitions.duration.standard}):oe.current[N]=ye},ce=ye=>{let fe=oe.current[N];B?fe+=ye:(fe+=ye*(a?-1:1),fe*=a&&VUe()==="reverse"?-1:1),Ae(fe)},be=()=>{const ye=oe.current[P];let fe=0;const de=Array.from(ee.current.children);for(let xe=0;xeye){xe===0&&(fe=ye);break}fe+=Ye[P]}return fe},ge=()=>{ce(-1*be())},ve=()=>{ce(be())},ie=C.useCallback(ye=>{ae({overflow:null,scrollbarWidth:ye})},[]),he=()=>{const ye={};ye.scrollbarSizeListener=I?me(w8t,{onChange:ie,className:mn(q.scrollableX,q.hideScrollbar)}):null;const fe=te.start||te.end,de=I&&(v==="auto"&&fe||v===!0);return ye.scrollButtonStart=de?me(m,Ne({orientation:b,direction:a?"right":"left",onClick:ge,disabled:!te.start},E,{className:mn(q.scrollButtons,E.className)})):null,ye.scrollButtonEnd=de?me(m,Ne({orientation:b,direction:a?"left":"right",onClick:ve,disabled:!te.end},E,{className:mn(q.scrollButtons,E.className)})):null,ye},$e=ya(ye=>{const{tabsMeta:fe,tabMeta:de}=ne();if(!(!de||!fe)){if(de[O]fe[R]){const xe=fe[N]+(de[R]-fe[R]);Ae(xe,{animation:ye})}}}),De=ya(()=>{if(I&&v!==!1){const{scrollTop:ye,scrollHeight:fe,clientHeight:de,scrollWidth:xe,clientWidth:Ye}=oe.current;let Ze,st;if(B)Ze=ye>1,st=ye1,st=a?at>1:at{const ye=i1(()=>{oe.current&&(ue(),De())}),fe=wh(oe.current);fe.addEventListener("resize",ye);let de;return typeof ResizeObserver<"u"&&(de=new ResizeObserver(ye),Array.from(ee.current.children).forEach(xe=>{de.observe(xe)})),()=>{ye.clear(),fe.removeEventListener("resize",ye),de&&de.disconnect()}},[ue,De]);const Ie=C.useMemo(()=>i1(()=>{De()}),[De]);C.useEffect(()=>()=>{Ie.clear()},[Ie]),C.useEffect(()=>{X(!0)},[]),C.useEffect(()=>{ue(),De()}),C.useEffect(()=>{$e(M4e!==G)},[$e,G]),C.useImperativeHandle(l,()=>({updateIndicator:ue,updateScrollButtons:De}),[ue,De]);const Be=me(b8t,Ne({},k,{className:mn(q.indicator,k.className),ownerState:F,style:Ne({},G,k.style)}));let we=0;const je=C.Children.map(c,ye=>{if(!C.isValidElement(ye))return null;const fe=ye.props.value===void 0?we:ye.props.value;le.set(fe,we);const de=fe===T;return we+=1,C.cloneElement(ye,Ne({fullWidth:L==="fullWidth",indicator:de&&!V&&Be,selected:de,selectionFollowsFocus:w,onChange:g,textColor:S,value:fe},we===1&&T===!1&&!ye.props.tabIndex?{tabIndex:0}:{}))}),Oe=ye=>{const fe=ee.current,de=hl(fe).activeElement;if(de.getAttribute("role")!=="tab")return;let Ye=b==="horizontal"?"ArrowLeft":"ArrowUp",Ze=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&a&&(Ye="ArrowRight",Ze="ArrowLeft"),ye.key){case Ye:ye.preventDefault(),XD(fe,de,R4e);break;case Ze:ye.preventDefault(),XD(fe,de,I4e);break;case"Home":ye.preventDefault(),XD(fe,null,I4e);break;case"End":ye.preventDefault(),XD(fe,null,R4e);break}},Re=he();return zt(m8t,Ne({className:mn(q.root,f),ownerState:F,ref:n,as:d},D,{children:[Re.scrollButtonStart,Re.scrollbarSizeListener,zt(v8t,{className:q.scroller,ownerState:F,style:{overflow:Q.overflow,[B?`margin${a?"Left":"Right"}`:"marginBottom"]:M?void 0:-Q.scrollbarWidth},ref:oe,onScroll:Ie,children:[me(y8t,{"aria-label":o,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:q.flexContainer,ownerState:F,onKeyDown:Oe,ref:ee,role:"tablist",children:je}),V&&Be]}),Re.scrollButtonEnd]}))}),_8t=k8t;function C8t(e){return xr("MuiTextField",e)}Sr("MuiTextField",["root"]);const E8t=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x8t={standard:XC,filled:Oje,outlined:qje},S8t=e=>{const{classes:t}=e;return Er({root:["root"]},C8t,t)},A8t=dn(Dv,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),T8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:o,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:g,InputLabelProps:b,inputProps:m,InputProps:v,inputRef:w,label:k,maxRows:E,minRows:S,multiline:T=!1,name:L,onBlur:M,onChange:D,onFocus:I,placeholder:B,required:N=!1,rows:O,select:R=!1,SelectProps:P,type:H,value:F,variant:q="outlined"}=r,V=Sn(r,E8t),X=Ne({},r,{autoFocus:a,color:l,disabled:c,error:f,fullWidth:h,multiline:T,required:N,select:R,variant:q}),G=S8t(X),J={};q==="outlined"&&(b&&typeof b.shrink<"u"&&(J.notched=b.shrink),J.label=k),R&&((!P||!P.native)&&(J.id=void 0),J["aria-describedby"]=void 0);const te=g7(g),re=p&&te?`${te}-helper-text`:void 0,Q=k&&te?`${te}-label`:void 0,ae=x8t[q],le=me(ae,Ne({"aria-describedby":re,autoComplete:i,autoFocus:a,defaultValue:u,fullWidth:h,multiline:T,name:L,rows:O,maxRows:E,minRows:S,type:H,value:F,id:te,inputRef:w,onBlur:M,onChange:D,onFocus:I,placeholder:B,inputProps:m},J,v));return zt(A8t,Ne({className:mn(G.root,s),disabled:c,error:f,fullWidth:h,ref:n,required:N,color:l,variant:q,ownerState:X},V,{children:[k!=null&&k!==""&&me(xxt,Ne({htmlFor:te,id:Q},b,{children:k})),R?me(vAt,Ne({"aria-describedby":re,id:te,labelId:Q,value:F,input:le},P,{children:o})):le,p&&me(axt,Ne({id:re},d,{children:p}))]}))}),$L=T8t,O4e=e=>{e=1831565813+(e|=0)|0;let t=Math.imul(e^e>>>15,1|e);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296};let D8t=class{constructor(t){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:n,separator:r,dictionaries:i,style:a,seed:o}=t;this.dictionaries=i,this.separator=r,this.length=n,this.style=a,this.seed=o}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries. -Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let t=this.seed;return this.dictionaries.slice(0,this.length).reduce((n,r)=>{let i;t?(i=(o=>{if(typeof o=="string"){const s=o.split("").map(u=>u.charCodeAt(0)).reduce((u,c)=>u+c,1),l=Math.floor(Number(s));return O4e(l)}return O4e(o)})(t),t=4294967296*i):i=Math.random();let a=r[Math.floor(i*r.length)]||"";if(this.style==="lowerCase")a=a.toLowerCase();else if(this.style==="capital"){const[o,...s]=a.split("");a=o.toUpperCase()+s.join("")}else this.style==="upperCase"&&(a=a.toUpperCase());return n?`${n}${this.separator}${a}`:`${a}`},"")}};const L4e={separator:"_",dictionaries:[]},Gje=e=>{const t=[...e&&e.dictionaries||L4e.dictionaries],n={...L4e,...e,length:e&&e.length||t.length,dictionaries:t};if(!e||!e.dictionaries||!e.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new D8t(n).generate()};var Vje=["Aaren","Aarika","Abagael","Abagail","Abbe","Abbey","Abbi","Abbie","Abby","Abbye","Abigael","Abigail","Abigale","Abra","Ada","Adah","Adaline","Adan","Adara","Adda","Addi","Addia","Addie","Addy","Adel","Adela","Adelaida","Adelaide","Adele","Adelheid","Adelice","Adelina","Adelind","Adeline","Adella","Adelle","Adena","Adey","Adi","Adiana","Adina","Adora","Adore","Adoree","Adorne","Adrea","Adria","Adriaens","Adrian","Adriana","Adriane","Adrianna","Adrianne","Adriena","Adrienne","Aeriel","Aeriela","Aeriell","Afton","Ag","Agace","Agata","Agatha","Agathe","Aggi","Aggie","Aggy","Agna","Agnella","Agnes","Agnese","Agnesse","Agneta","Agnola","Agretha","Aida","Aidan","Aigneis","Aila","Aile","Ailee","Aileen","Ailene","Ailey","Aili","Ailina","Ailis","Ailsun","Ailyn","Aime","Aimee","Aimil","Aindrea","Ainslee","Ainsley","Ainslie","Ajay","Alaine","Alameda","Alana","Alanah","Alane","Alanna","Alayne","Alberta","Albertina","Albertine","Albina","Alecia","Aleda","Aleece","Aleen","Alejandra","Alejandrina","Alena","Alene","Alessandra","Aleta","Alethea","Alex","Alexa","Alexandra","Alexandrina","Alexi","Alexia","Alexina","Alexine","Alexis","Alfi","Alfie","Alfreda","Alfy","Ali","Alia","Alica","Alice","Alicea","Alicia","Alida","Alidia","Alie","Alika","Alikee","Alina","Aline","Alis","Alisa","Alisha","Alison","Alissa","Alisun","Alix","Aliza","Alla","Alleen","Allegra","Allene","Alli","Allianora","Allie","Allina","Allis","Allison","Allissa","Allix","Allsun","Allx","Ally","Allyce","Allyn","Allys","Allyson","Alma","Almeda","Almeria","Almeta","Almira","Almire","Aloise","Aloisia","Aloysia","Alta","Althea","Alvera","Alverta","Alvina","Alvinia","Alvira","Alyce","Alyda","Alys","Alysa","Alyse","Alysia","Alyson","Alyss","Alyssa","Amabel","Amabelle","Amalea","Amalee","Amaleta","Amalia","Amalie","Amalita","Amalle","Amanda","Amandi","Amandie","Amandy","Amara","Amargo","Amata","Amber","Amberly","Ambur","Ame","Amelia","Amelie","Amelina","Ameline","Amelita","Ami","Amie","Amii","Amil","Amitie","Amity","Ammamaria","Amy","Amye","Ana","Anabal","Anabel","Anabella","Anabelle","Analiese","Analise","Anallese","Anallise","Anastasia","Anastasie","Anastassia","Anatola","Andee","Andeee","Anderea","Andi","Andie","Andra","Andrea","Andreana","Andree","Andrei","Andria","Andriana","Andriette","Andromache","Andy","Anestassia","Anet","Anett","Anetta","Anette","Ange","Angel","Angela","Angele","Angelia","Angelica","Angelika","Angelina","Angeline","Angelique","Angelita","Angelle","Angie","Angil","Angy","Ania","Anica","Anissa","Anita","Anitra","Anjanette","Anjela","Ann","Ann-marie","Anna","Anna-diana","Anna-diane","Anna-maria","Annabal","Annabel","Annabela","Annabell","Annabella","Annabelle","Annadiana","Annadiane","Annalee","Annaliese","Annalise","Annamaria","Annamarie","Anne","Anne-corinne","Anne-marie","Annecorinne","Anneliese","Annelise","Annemarie","Annetta","Annette","Anni","Annice","Annie","Annis","Annissa","Annmaria","Annmarie","Annnora","Annora","Anny","Anselma","Ansley","Anstice","Anthe","Anthea","Anthia","Anthiathia","Antoinette","Antonella","Antonetta","Antonia","Antonie","Antonietta","Antonina","Anya","Appolonia","April","Aprilette","Ara","Arabel","Arabela","Arabele","Arabella","Arabelle","Arda","Ardath","Ardeen","Ardelia","Ardelis","Ardella","Ardelle","Arden","Ardene","Ardenia","Ardine","Ardis","Ardisj","Ardith","Ardra","Ardyce","Ardys","Ardyth","Aretha","Ariadne","Ariana","Aridatha","Ariel","Ariela","Ariella","Arielle","Arlana","Arlee","Arleen","Arlen","Arlena","Arlene","Arleta","Arlette","Arleyne","Arlie","Arliene","Arlina","Arlinda","Arline","Arluene","Arly","Arlyn","Arlyne","Aryn","Ashely","Ashia","Ashien","Ashil","Ashla","Ashlan","Ashlee","Ashleigh","Ashlen","Ashley","Ashli","Ashlie","Ashly","Asia","Astra","Astrid","Astrix","Atalanta","Athena","Athene","Atlanta","Atlante","Auberta","Aubine","Aubree","Aubrette","Aubrey","Aubrie","Aubry","Audi","Audie","Audra","Audre","Audrey","Audrie","Audry","Audrye","Audy","Augusta","Auguste","Augustina","Augustine","Aundrea","Aura","Aurea","Aurel","Aurelea","Aurelia","Aurelie","Auria","Aurie","Aurilia","Aurlie","Auroora","Aurora","Aurore","Austin","Austina","Austine","Ava","Aveline","Averil","Averyl","Avie","Avis","Aviva","Avivah","Avril","Avrit","Ayn","Bab","Babara","Babb","Babbette","Babbie","Babette","Babita","Babs","Bambi","Bambie","Bamby","Barb","Barbabra","Barbara","Barbara-anne","Barbaraanne","Barbe","Barbee","Barbette","Barbey","Barbi","Barbie","Barbra","Barby","Bari","Barrie","Barry","Basia","Bathsheba","Batsheva","Bea","Beatrice","Beatrisa","Beatrix","Beatriz","Bebe","Becca","Becka","Becki","Beckie","Becky","Bee","Beilul","Beitris","Bekki","Bel","Belia","Belicia","Belinda","Belita","Bell","Bella","Bellanca","Belle","Bellina","Belva","Belvia","Bendite","Benedetta","Benedicta","Benedikta","Benetta","Benita","Benni","Bennie","Benny","Benoite","Berenice","Beret","Berget","Berna","Bernadene","Bernadette","Bernadina","Bernadine","Bernardina","Bernardine","Bernelle","Bernete","Bernetta","Bernette","Berni","Bernice","Bernie","Bernita","Berny","Berri","Berrie","Berry","Bert","Berta","Berte","Bertha","Berthe","Berti","Bertie","Bertina","Bertine","Berty","Beryl","Beryle","Bess","Bessie","Bessy","Beth","Bethanne","Bethany","Bethena","Bethina","Betsey","Betsy","Betta","Bette","Bette-ann","Betteann","Betteanne","Betti","Bettina","Bettine","Betty","Bettye","Beulah","Bev","Beverie","Beverlee","Beverley","Beverlie","Beverly","Bevvy","Bianca","Bianka","Bibbie","Bibby","Bibbye","Bibi","Biddie","Biddy","Bidget","Bili","Bill","Billi","Billie","Billy","Billye","Binni","Binnie","Binny","Bird","Birdie","Birgit","Birgitta","Blair","Blaire","Blake","Blakelee","Blakeley","Blanca","Blanch","Blancha","Blanche","Blinni","Blinnie","Blinny","Bliss","Blisse","Blithe","Blondell","Blondelle","Blondie","Blondy","Blythe","Bobbe","Bobbee","Bobbette","Bobbi","Bobbie","Bobby","Bobbye","Bobette","Bobina","Bobine","Bobinette","Bonita","Bonnee","Bonni","Bonnibelle","Bonnie","Bonny","Brana","Brandais","Brande","Brandea","Brandi","Brandice","Brandie","Brandise","Brandy","Breanne","Brear","Bree","Breena","Bren","Brena","Brenda","Brenn","Brenna","Brett","Bria","Briana","Brianna","Brianne","Bride","Bridget","Bridgette","Bridie","Brier","Brietta","Brigid","Brigida","Brigit","Brigitta","Brigitte","Brina","Briney","Brinn","Brinna","Briny","Brit","Brita","Britney","Britni","Britt","Britta","Brittan","Brittaney","Brittani","Brittany","Britte","Britteny","Brittne","Brittney","Brittni","Brook","Brooke","Brooks","Brunhilda","Brunhilde","Bryana","Bryn","Bryna","Brynn","Brynna","Brynne","Buffy","Bunni","Bunnie","Bunny","Cacilia","Cacilie","Cahra","Cairistiona","Caitlin","Caitrin","Cal","Calida","Calla","Calley","Calli","Callida","Callie","Cally","Calypso","Cam","Camala","Camel","Camella","Camellia","Cami","Camila","Camile","Camilla","Camille","Cammi","Cammie","Cammy","Candace","Candi","Candice","Candida","Candide","Candie","Candis","Candra","Candy","Caprice","Cara","Caralie","Caren","Carena","Caresa","Caressa","Caresse","Carey","Cari","Caria","Carie","Caril","Carilyn","Carin","Carina","Carine","Cariotta","Carissa","Carita","Caritta","Carla","Carlee","Carleen","Carlen","Carlene","Carley","Carlie","Carlin","Carlina","Carline","Carlita","Carlota","Carlotta","Carly","Carlye","Carlyn","Carlynn","Carlynne","Carma","Carmel","Carmela","Carmelia","Carmelina","Carmelita","Carmella","Carmelle","Carmen","Carmencita","Carmina","Carmine","Carmita","Carmon","Caro","Carol","Carol-jean","Carola","Carolan","Carolann","Carole","Carolee","Carolin","Carolina","Caroline","Caroljean","Carolyn","Carolyne","Carolynn","Caron","Carree","Carri","Carrie","Carrissa","Carroll","Carry","Cary","Caryl","Caryn","Casandra","Casey","Casi","Casie","Cass","Cassandra","Cassandre","Cassandry","Cassaundra","Cassey","Cassi","Cassie","Cassondra","Cassy","Catarina","Cate","Caterina","Catha","Catharina","Catharine","Cathe","Cathee","Catherin","Catherina","Catherine","Cathi","Cathie","Cathleen","Cathlene","Cathrin","Cathrine","Cathryn","Cathy","Cathyleen","Cati","Catie","Catina","Catlaina","Catlee","Catlin","Catrina","Catriona","Caty","Caye","Cayla","Cecelia","Cecil","Cecile","Ceciley","Cecilia","Cecilla","Cecily","Ceil","Cele","Celene","Celesta","Celeste","Celestia","Celestina","Celestine","Celestyn","Celestyna","Celia","Celie","Celina","Celinda","Celine","Celinka","Celisse","Celka","Celle","Cesya","Chad","Chanda","Chandal","Chandra","Channa","Chantal","Chantalle","Charil","Charin","Charis","Charissa","Charisse","Charita","Charity","Charla","Charlean","Charleen","Charlena","Charlene","Charline","Charlot","Charlotta","Charlotte","Charmain","Charmaine","Charmane","Charmian","Charmine","Charmion","Charo","Charyl","Chastity","Chelsae","Chelsea","Chelsey","Chelsie","Chelsy","Cher","Chere","Cherey","Cheri","Cherianne","Cherice","Cherida","Cherie","Cherilyn","Cherilynn","Cherin","Cherise","Cherish","Cherlyn","Cherri","Cherrita","Cherry","Chery","Cherye","Cheryl","Cheslie","Chiarra","Chickie","Chicky","Chiquia","Chiquita","Chlo","Chloe","Chloette","Chloris","Chris","Chrissie","Chrissy","Christa","Christabel","Christabella","Christal","Christalle","Christan","Christean","Christel","Christen","Christi","Christian","Christiana","Christiane","Christie","Christin","Christina","Christine","Christy","Christye","Christyna","Chrysa","Chrysler","Chrystal","Chryste","Chrystel","Cicely","Cicily","Ciel","Cilka","Cinda","Cindee","Cindelyn","Cinderella","Cindi","Cindie","Cindra","Cindy","Cinnamon","Cissiee","Cissy","Clair","Claire","Clara","Clarabelle","Clare","Claresta","Clareta","Claretta","Clarette","Clarey","Clari","Claribel","Clarice","Clarie","Clarinda","Clarine","Clarissa","Clarisse","Clarita","Clary","Claude","Claudelle","Claudetta","Claudette","Claudia","Claudie","Claudina","Claudine","Clea","Clem","Clemence","Clementia","Clementina","Clementine","Clemmie","Clemmy","Cleo","Cleopatra","Clerissa","Clio","Clo","Cloe","Cloris","Clotilda","Clovis","Codee","Codi","Codie","Cody","Coleen","Colene","Coletta","Colette","Colleen","Collen","Collete","Collette","Collie","Colline","Colly","Con","Concettina","Conchita","Concordia","Conni","Connie","Conny","Consolata","Constance","Constancia","Constancy","Constanta","Constantia","Constantina","Constantine","Consuela","Consuelo","Cookie","Cora","Corabel","Corabella","Corabelle","Coral","Coralie","Coraline","Coralyn","Cordelia","Cordelie","Cordey","Cordi","Cordie","Cordula","Cordy","Coreen","Corella","Corenda","Corene","Coretta","Corette","Corey","Cori","Corie","Corilla","Corina","Corine","Corinna","Corinne","Coriss","Corissa","Corliss","Corly","Cornela","Cornelia","Cornelle","Cornie","Corny","Correna","Correy","Corri","Corrianne","Corrie","Corrina","Corrine","Corrinne","Corry","Cortney","Cory","Cosetta","Cosette","Costanza","Courtenay","Courtnay","Courtney","Crin","Cris","Crissie","Crissy","Crista","Cristabel","Cristal","Cristen","Cristi","Cristie","Cristin","Cristina","Cristine","Cristionna","Cristy","Crysta","Crystal","Crystie","Cthrine","Cyb","Cybil","Cybill","Cymbre","Cynde","Cyndi","Cyndia","Cyndie","Cyndy","Cynthea","Cynthia","Cynthie","Cynthy","Dacey","Dacia","Dacie","Dacy","Dael","Daffi","Daffie","Daffy","Dagmar","Dahlia","Daile","Daisey","Daisi","Daisie","Daisy","Dale","Dalenna","Dalia","Dalila","Dallas","Daloris","Damara","Damaris","Damita","Dana","Danell","Danella","Danette","Dani","Dania","Danica","Danice","Daniela","Daniele","Daniella","Danielle","Danika","Danila","Danit","Danita","Danna","Danni","Dannie","Danny","Dannye","Danya","Danyelle","Danyette","Daphene","Daphna","Daphne","Dara","Darb","Darbie","Darby","Darcee","Darcey","Darci","Darcie","Darcy","Darda","Dareen","Darell","Darelle","Dari","Daria","Darice","Darla","Darleen","Darlene","Darline","Darlleen","Daron","Darrelle","Darryl","Darsey","Darsie","Darya","Daryl","Daryn","Dasha","Dasi","Dasie","Dasya","Datha","Daune","Daveen","Daveta","Davida","Davina","Davine","Davita","Dawn","Dawna","Dayle","Dayna","Ddene","De","Deana","Deane","Deanna","Deanne","Deb","Debbi","Debbie","Debby","Debee","Debera","Debi","Debor","Debora","Deborah","Debra","Dede","Dedie","Dedra","Dee","Deeann","Deeanne","Deedee","Deena","Deerdre","Deeyn","Dehlia","Deidre","Deina","Deirdre","Del","Dela","Delcina","Delcine","Delia","Delila","Delilah","Delinda","Dell","Della","Delly","Delora","Delores","Deloria","Deloris","Delphine","Delphinia","Demeter","Demetra","Demetria","Demetris","Dena","Deni","Denice","Denise","Denna","Denni","Dennie","Denny","Deny","Denys","Denyse","Deonne","Desdemona","Desirae","Desiree","Desiri","Deva","Devan","Devi","Devin","Devina","Devinne","Devon","Devondra","Devonna","Devonne","Devora","Di","Diahann","Dian","Diana","Diandra","Diane","Diane-marie","Dianemarie","Diann","Dianna","Dianne","Diannne","Didi","Dido","Diena","Dierdre","Dina","Dinah","Dinnie","Dinny","Dion","Dione","Dionis","Dionne","Dita","Dix","Dixie","Dniren","Dode","Dodi","Dodie","Dody","Doe","Doll","Dolley","Dolli","Dollie","Dolly","Dolores","Dolorita","Doloritas","Domeniga","Dominga","Domini","Dominica","Dominique","Dona","Donella","Donelle","Donetta","Donia","Donica","Donielle","Donna","Donnamarie","Donni","Donnie","Donny","Dora","Doralia","Doralin","Doralyn","Doralynn","Doralynne","Dore","Doreen","Dorelia","Dorella","Dorelle","Dorena","Dorene","Doretta","Dorette","Dorey","Dori","Doria","Dorian","Dorice","Dorie","Dorine","Doris","Dorisa","Dorise","Dorita","Doro","Dorolice","Dorolisa","Dorotea","Doroteya","Dorothea","Dorothee","Dorothy","Dorree","Dorri","Dorrie","Dorris","Dorry","Dorthea","Dorthy","Dory","Dosi","Dot","Doti","Dotti","Dottie","Dotty","Dre","Dreddy","Dredi","Drona","Dru","Druci","Drucie","Drucill","Drucy","Drusi","Drusie","Drusilla","Drusy","Dulce","Dulcea","Dulci","Dulcia","Dulciana","Dulcie","Dulcine","Dulcinea","Dulcy","Dulsea","Dusty","Dyan","Dyana","Dyane","Dyann","Dyanna","Dyanne","Dyna","Dynah","Eachelle","Eada","Eadie","Eadith","Ealasaid","Eartha","Easter","Eba","Ebba","Ebonee","Ebony","Eda","Eddi","Eddie","Eddy","Ede","Edee","Edeline","Eden","Edi","Edie","Edin","Edita","Edith","Editha","Edithe","Ediva","Edna","Edwina","Edy","Edyth","Edythe","Effie","Eileen","Eilis","Eimile","Eirena","Ekaterina","Elaina","Elaine","Elana","Elane","Elayne","Elberta","Elbertina","Elbertine","Eleanor","Eleanora","Eleanore","Electra","Eleen","Elena","Elene","Eleni","Elenore","Eleonora","Eleonore","Elfie","Elfreda","Elfrida","Elfrieda","Elga","Elianora","Elianore","Elicia","Elie","Elinor","Elinore","Elisa","Elisabet","Elisabeth","Elisabetta","Elise","Elisha","Elissa","Elita","Eliza","Elizabet","Elizabeth","Elka","Elke","Ella","Elladine","Elle","Ellen","Ellene","Ellette","Elli","Ellie","Ellissa","Elly","Ellyn","Ellynn","Elmira","Elna","Elnora","Elnore","Eloisa","Eloise","Elonore","Elora","Elsa","Elsbeth","Else","Elset","Elsey","Elsi","Elsie","Elsinore","Elspeth","Elsy","Elva","Elvera","Elvina","Elvira","Elwira","Elyn","Elyse","Elysee","Elysha","Elysia","Elyssa","Em","Ema","Emalee","Emalia","Emelda","Emelia","Emelina","Emeline","Emelita","Emelyne","Emera","Emilee","Emili","Emilia","Emilie","Emiline","Emily","Emlyn","Emlynn","Emlynne","Emma","Emmalee","Emmaline","Emmalyn","Emmalynn","Emmalynne","Emmeline","Emmey","Emmi","Emmie","Emmy","Emmye","Emogene","Emyle","Emylee","Engracia","Enid","Enrica","Enrichetta","Enrika","Enriqueta","Eolanda","Eolande","Eran","Erda","Erena","Erica","Ericha","Ericka","Erika","Erin","Erina","Erinn","Erinna","Erma","Ermengarde","Ermentrude","Ermina","Erminia","Erminie","Erna","Ernaline","Ernesta","Ernestine","Ertha","Eryn","Esma","Esmaria","Esme","Esmeralda","Essa","Essie","Essy","Esta","Estel","Estele","Estell","Estella","Estelle","Ester","Esther","Estrella","Estrellita","Ethel","Ethelda","Ethelin","Ethelind","Etheline","Ethelyn","Ethyl","Etta","Etti","Ettie","Etty","Eudora","Eugenia","Eugenie","Eugine","Eula","Eulalie","Eunice","Euphemia","Eustacia","Eva","Evaleen","Evangelia","Evangelin","Evangelina","Evangeline","Evania","Evanne","Eve","Eveleen","Evelina","Eveline","Evelyn","Evey","Evie","Evita","Evonne","Evvie","Evvy","Evy","Eyde","Eydie","Ezmeralda","Fae","Faina","Faith","Fallon","Fan","Fanchette","Fanchon","Fancie","Fancy","Fanechka","Fania","Fanni","Fannie","Fanny","Fanya","Fara","Farah","Farand","Farica","Farra","Farrah","Farrand","Faun","Faunie","Faustina","Faustine","Fawn","Fawne","Fawnia","Fay","Faydra","Faye","Fayette","Fayina","Fayre","Fayth","Faythe","Federica","Fedora","Felecia","Felicdad","Felice","Felicia","Felicity","Felicle","Felipa","Felisha","Felita","Feliza","Fenelia","Feodora","Ferdinanda","Ferdinande","Fern","Fernanda","Fernande","Fernandina","Ferne","Fey","Fiann","Fianna","Fidela","Fidelia","Fidelity","Fifi","Fifine","Filia","Filide","Filippa","Fina","Fiona","Fionna","Fionnula","Fiorenze","Fleur","Fleurette","Flo","Flor","Flora","Florance","Flore","Florella","Florence","Florencia","Florentia","Florenza","Florette","Flori","Floria","Florida","Florie","Florina","Florinda","Floris","Florri","Florrie","Florry","Flory","Flossi","Flossie","Flossy","Flss","Fran","Francene","Frances","Francesca","Francine","Francisca","Franciska","Francoise","Francyne","Frank","Frankie","Franky","Franni","Frannie","Franny","Frayda","Fred","Freda","Freddi","Freddie","Freddy","Fredelia","Frederica","Fredericka","Frederique","Fredi","Fredia","Fredra","Fredrika","Freida","Frieda","Friederike","Fulvia","Gabbey","Gabbi","Gabbie","Gabey","Gabi","Gabie","Gabriel","Gabriela","Gabriell","Gabriella","Gabrielle","Gabriellia","Gabrila","Gaby","Gae","Gael","Gail","Gale","Galina","Garland","Garnet","Garnette","Gates","Gavra","Gavrielle","Gay","Gaye","Gayel","Gayla","Gayle","Gayleen","Gaylene","Gaynor","Gelya","Gena","Gene","Geneva","Genevieve","Genevra","Genia","Genna","Genni","Gennie","Gennifer","Genny","Genovera","Genvieve","George","Georgeanna","Georgeanne","Georgena","Georgeta","Georgetta","Georgette","Georgia","Georgiana","Georgianna","Georgianne","Georgie","Georgina","Georgine","Geralda","Geraldine","Gerda","Gerhardine","Geri","Gerianna","Gerianne","Gerladina","Germain","Germaine","Germana","Gerri","Gerrie","Gerrilee","Gerry","Gert","Gerta","Gerti","Gertie","Gertrud","Gertruda","Gertrude","Gertrudis","Gerty","Giacinta","Giana","Gianina","Gianna","Gigi","Gilberta","Gilberte","Gilbertina","Gilbertine","Gilda","Gilemette","Gill","Gillan","Gilli","Gillian","Gillie","Gilligan","Gilly","Gina","Ginelle","Ginevra","Ginger","Ginni","Ginnie","Ginnifer","Ginny","Giorgia","Giovanna","Gipsy","Giralda","Gisela","Gisele","Gisella","Giselle","Giuditta","Giulia","Giulietta","Giustina","Gizela","Glad","Gladi","Gladys","Gleda","Glen","Glenda","Glenine","Glenn","Glenna","Glennie","Glennis","Glori","Gloria","Gloriana","Gloriane","Glory","Glyn","Glynda","Glynis","Glynnis","Gnni","Godiva","Golda","Goldarina","Goldi","Goldia","Goldie","Goldina","Goldy","Grace","Gracia","Gracie","Grata","Gratia","Gratiana","Gray","Grayce","Grazia","Greer","Greta","Gretal","Gretchen","Grete","Gretel","Grethel","Gretna","Gretta","Grier","Griselda","Grissel","Guendolen","Guenevere","Guenna","Guglielma","Gui","Guillema","Guillemette","Guinevere","Guinna","Gunilla","Gus","Gusella","Gussi","Gussie","Gussy","Gusta","Gusti","Gustie","Gusty","Gwen","Gwendolen","Gwendolin","Gwendolyn","Gweneth","Gwenette","Gwenneth","Gwenni","Gwennie","Gwenny","Gwenora","Gwenore","Gwyn","Gwyneth","Gwynne","Gypsy","Hadria","Hailee","Haily","Haleigh","Halette","Haley","Hali","Halie","Halimeda","Halley","Halli","Hallie","Hally","Hana","Hanna","Hannah","Hanni","Hannie","Hannis","Hanny","Happy","Harlene","Harley","Harli","Harlie","Harmonia","Harmonie","Harmony","Harri","Harrie","Harriet","Harriett","Harrietta","Harriette","Harriot","Harriott","Hatti","Hattie","Hatty","Hayley","Hazel","Heath","Heather","Heda","Hedda","Heddi","Heddie","Hedi","Hedvig","Hedvige","Hedwig","Hedwiga","Hedy","Heida","Heidi","Heidie","Helaina","Helaine","Helen","Helen-elizabeth","Helena","Helene","Helenka","Helga","Helge","Helli","Heloise","Helsa","Helyn","Hendrika","Henka","Henrie","Henrieta","Henrietta","Henriette","Henryetta","Hephzibah","Hermia","Hermina","Hermine","Herminia","Hermione","Herta","Hertha","Hester","Hesther","Hestia","Hetti","Hettie","Hetty","Hilary","Hilda","Hildagard","Hildagarde","Hilde","Hildegaard","Hildegarde","Hildy","Hillary","Hilliary","Hinda","Holli","Hollie","Holly","Holly-anne","Hollyanne","Honey","Honor","Honoria","Hope","Horatia","Hortense","Hortensia","Hulda","Hyacinth","Hyacintha","Hyacinthe","Hyacinthia","Hyacinthie","Hynda","Ianthe","Ibbie","Ibby","Ida","Idalia","Idalina","Idaline","Idell","Idelle","Idette","Ileana","Ileane","Ilene","Ilise","Ilka","Illa","Ilsa","Ilse","Ilysa","Ilyse","Ilyssa","Imelda","Imogen","Imogene","Imojean","Ina","Indira","Ines","Inesita","Inessa","Inez","Inga","Ingaberg","Ingaborg","Inge","Ingeberg","Ingeborg","Inger","Ingrid","Ingunna","Inna","Iolande","Iolanthe","Iona","Iormina","Ira","Irena","Irene","Irina","Iris","Irita","Irma","Isa","Isabel","Isabelita","Isabella","Isabelle","Isadora","Isahella","Iseabal","Isidora","Isis","Isobel","Issi","Issie","Issy","Ivett","Ivette","Ivie","Ivonne","Ivory","Ivy","Izabel","Jacenta","Jacinda","Jacinta","Jacintha","Jacinthe","Jackelyn","Jacki","Jackie","Jacklin","Jacklyn","Jackquelin","Jackqueline","Jacky","Jaclin","Jaclyn","Jacquelin","Jacqueline","Jacquelyn","Jacquelynn","Jacquenetta","Jacquenette","Jacquetta","Jacquette","Jacqui","Jacquie","Jacynth","Jada","Jade","Jaime","Jaimie","Jaine","Jami","Jamie","Jamima","Jammie","Jan","Jana","Janaya","Janaye","Jandy","Jane","Janean","Janeczka","Janeen","Janel","Janela","Janella","Janelle","Janene","Janenna","Janessa","Janet","Janeta","Janetta","Janette","Janeva","Janey","Jania","Janice","Janie","Janifer","Janina","Janine","Janis","Janith","Janka","Janna","Jannel","Jannelle","Janot","Jany","Jaquelin","Jaquelyn","Jaquenetta","Jaquenette","Jaquith","Jasmin","Jasmina","Jasmine","Jayme","Jaymee","Jayne","Jaynell","Jazmin","Jean","Jeana","Jeane","Jeanelle","Jeanette","Jeanie","Jeanine","Jeanna","Jeanne","Jeannette","Jeannie","Jeannine","Jehanna","Jelene","Jemie","Jemima","Jemimah","Jemmie","Jemmy","Jen","Jena","Jenda","Jenelle","Jeni","Jenica","Jeniece","Jenifer","Jeniffer","Jenilee","Jenine","Jenn","Jenna","Jennee","Jennette","Jenni","Jennica","Jennie","Jennifer","Jennilee","Jennine","Jenny","Jeralee","Jere","Jeri","Jermaine","Jerrie","Jerrilee","Jerrilyn","Jerrine","Jerry","Jerrylee","Jess","Jessa","Jessalin","Jessalyn","Jessamine","Jessamyn","Jesse","Jesselyn","Jessi","Jessica","Jessie","Jessika","Jessy","Jewel","Jewell","Jewelle","Jill","Jillana","Jillane","Jillayne","Jilleen","Jillene","Jilli","Jillian","Jillie","Jilly","Jinny","Jo","Jo-ann","Jo-anne","Joan","Joana","Joane","Joanie","Joann","Joanna","Joanne","Joannes","Jobey","Jobi","Jobie","Jobina","Joby","Jobye","Jobyna","Jocelin","Joceline","Jocelyn","Jocelyne","Jodee","Jodi","Jodie","Jody","Joeann","Joela","Joelie","Joell","Joella","Joelle","Joellen","Joelly","Joellyn","Joelynn","Joete","Joey","Johanna","Johannah","Johna","Johnath","Johnette","Johnna","Joice","Jojo","Jolee","Joleen","Jolene","Joletta","Joli","Jolie","Joline","Joly","Jolyn","Jolynn","Jonell","Joni","Jonie","Jonis","Jordain","Jordan","Jordana","Jordanna","Jorey","Jori","Jorie","Jorrie","Jorry","Joscelin","Josee","Josefa","Josefina","Josepha","Josephina","Josephine","Josey","Josi","Josie","Josselyn","Josy","Jourdan","Joy","Joya","Joyan","Joyann","Joyce","Joycelin","Joye","Jsandye","Juana","Juanita","Judi","Judie","Judith","Juditha","Judy","Judye","Juieta","Julee","Juli","Julia","Juliana","Juliane","Juliann","Julianna","Julianne","Julie","Julienne","Juliet","Julieta","Julietta","Juliette","Julina","Juline","Julissa","Julita","June","Junette","Junia","Junie","Junina","Justina","Justine","Justinn","Jyoti","Kacey","Kacie","Kacy","Kaela","Kai","Kaia","Kaila","Kaile","Kailey","Kaitlin","Kaitlyn","Kaitlynn","Kaja","Kakalina","Kala","Kaleena","Kali","Kalie","Kalila","Kalina","Kalinda","Kalindi","Kalli","Kally","Kameko","Kamila","Kamilah","Kamillah","Kandace","Kandy","Kania","Kanya","Kara","Kara-lynn","Karalee","Karalynn","Kare","Karee","Karel","Karen","Karena","Kari","Karia","Karie","Karil","Karilynn","Karin","Karina","Karine","Kariotta","Karisa","Karissa","Karita","Karla","Karlee","Karleen","Karlen","Karlene","Karlie","Karlotta","Karlotte","Karly","Karlyn","Karmen","Karna","Karol","Karola","Karole","Karolina","Karoline","Karoly","Karon","Karrah","Karrie","Karry","Kary","Karyl","Karylin","Karyn","Kasey","Kass","Kassandra","Kassey","Kassi","Kassia","Kassie","Kat","Kata","Katalin","Kate","Katee","Katerina","Katerine","Katey","Kath","Katha","Katharina","Katharine","Katharyn","Kathe","Katherina","Katherine","Katheryn","Kathi","Kathie","Kathleen","Kathlin","Kathrine","Kathryn","Kathryne","Kathy","Kathye","Kati","Katie","Katina","Katine","Katinka","Katleen","Katlin","Katrina","Katrine","Katrinka","Katti","Kattie","Katuscha","Katusha","Katy","Katya","Kay","Kaycee","Kaye","Kayla","Kayle","Kaylee","Kayley","Kaylil","Kaylyn","Keeley","Keelia","Keely","Kelcey","Kelci","Kelcie","Kelcy","Kelila","Kellen","Kelley","Kelli","Kellia","Kellie","Kellina","Kellsie","Kelly","Kellyann","Kelsey","Kelsi","Kelsy","Kendra","Kendre","Kenna","Keri","Keriann","Kerianne","Kerri","Kerrie","Kerrill","Kerrin","Kerry","Kerstin","Kesley","Keslie","Kessia","Kessiah","Ketti","Kettie","Ketty","Kevina","Kevyn","Ki","Kiah","Kial","Kiele","Kiersten","Kikelia","Kiley","Kim","Kimberlee","Kimberley","Kimberli","Kimberly","Kimberlyn","Kimbra","Kimmi","Kimmie","Kimmy","Kinna","Kip","Kipp","Kippie","Kippy","Kira","Kirbee","Kirbie","Kirby","Kiri","Kirsten","Kirsteni","Kirsti","Kirstin","Kirstyn","Kissee","Kissiah","Kissie","Kit","Kitti","Kittie","Kitty","Kizzee","Kizzie","Klara","Klarika","Klarrisa","Konstance","Konstanze","Koo","Kora","Koral","Koralle","Kordula","Kore","Korella","Koren","Koressa","Kori","Korie","Korney","Korrie","Korry","Kris","Krissie","Krissy","Krista","Kristal","Kristan","Kriste","Kristel","Kristen","Kristi","Kristien","Kristin","Kristina","Kristine","Kristy","Kristyn","Krysta","Krystal","Krystalle","Krystle","Krystyna","Kyla","Kyle","Kylen","Kylie","Kylila","Kylynn","Kym","Kynthia","Kyrstin","Lacee","Lacey","Lacie","Lacy","Ladonna","Laetitia","Laina","Lainey","Lana","Lanae","Lane","Lanette","Laney","Lani","Lanie","Lanita","Lanna","Lanni","Lanny","Lara","Laraine","Lari","Larina","Larine","Larisa","Larissa","Lark","Laryssa","Latashia","Latia","Latisha","Latrena","Latrina","Laura","Lauraine","Laural","Lauralee","Laure","Lauree","Laureen","Laurel","Laurella","Lauren","Laurena","Laurene","Lauretta","Laurette","Lauri","Laurianne","Laurice","Laurie","Lauryn","Lavena","Laverna","Laverne","Lavina","Lavinia","Lavinie","Layla","Layne","Layney","Lea","Leah","Leandra","Leann","Leanna","Leanor","Leanora","Lebbie","Leda","Lee","Leeann","Leeanne","Leela","Leelah","Leena","Leesa","Leese","Legra","Leia","Leigh","Leigha","Leila","Leilah","Leisha","Lela","Lelah","Leland","Lelia","Lena","Lenee","Lenette","Lenka","Lenna","Lenora","Lenore","Leodora","Leoine","Leola","Leoline","Leona","Leonanie","Leone","Leonelle","Leonie","Leonora","Leonore","Leontine","Leontyne","Leora","Leshia","Lesley","Lesli","Leslie","Lesly","Lesya","Leta","Lethia","Leticia","Letisha","Letitia","Letizia","Letta","Letti","Lettie","Letty","Lexi","Lexie","Lexine","Lexis","Lexy","Leyla","Lezlie","Lia","Lian","Liana","Liane","Lianna","Lianne","Lib","Libbey","Libbi","Libbie","Libby","Licha","Lida","Lidia","Liesa","Lil","Lila","Lilah","Lilas","Lilia","Lilian","Liliane","Lilias","Lilith","Lilla","Lilli","Lillian","Lillis","Lilllie","Lilly","Lily","Lilyan","Lin","Lina","Lind","Linda","Lindi","Lindie","Lindsay","Lindsey","Lindsy","Lindy","Linea","Linell","Linet","Linette","Linn","Linnea","Linnell","Linnet","Linnie","Linzy","Lira","Lisa","Lisabeth","Lisbeth","Lise","Lisetta","Lisette","Lisha","Lishe","Lissa","Lissi","Lissie","Lissy","Lita","Liuka","Liv","Liva","Livia","Livvie","Livvy","Livvyy","Livy","Liz","Liza","Lizabeth","Lizbeth","Lizette","Lizzie","Lizzy","Loella","Lois","Loise","Lola","Loleta","Lolita","Lolly","Lona","Lonee","Loni","Lonna","Lonni","Lonnie","Lora","Lorain","Loraine","Loralee","Loralie","Loralyn","Loree","Loreen","Lorelei","Lorelle","Loren","Lorena","Lorene","Lorenza","Loretta","Lorette","Lori","Loria","Lorianna","Lorianne","Lorie","Lorilee","Lorilyn","Lorinda","Lorine","Lorita","Lorna","Lorne","Lorraine","Lorrayne","Lorri","Lorrie","Lorrin","Lorry","Lory","Lotta","Lotte","Lotti","Lottie","Lotty","Lou","Louella","Louisa","Louise","Louisette","Loutitia","Lu","Luce","Luci","Lucia","Luciana","Lucie","Lucienne","Lucila","Lucilia","Lucille","Lucina","Lucinda","Lucine","Lucita","Lucky","Lucretia","Lucy","Ludovika","Luella","Luelle","Luisa","Luise","Lula","Lulita","Lulu","Lura","Lurette","Lurleen","Lurlene","Lurline","Lusa","Luz","Lyda","Lydia","Lydie","Lyn","Lynda","Lynde","Lyndel","Lyndell","Lyndsay","Lyndsey","Lyndsie","Lyndy","Lynea","Lynelle","Lynett","Lynette","Lynn","Lynna","Lynne","Lynnea","Lynnell","Lynnelle","Lynnet","Lynnett","Lynnette","Lynsey","Lyssa","Mab","Mabel","Mabelle","Mable","Mada","Madalena","Madalyn","Maddalena","Maddi","Maddie","Maddy","Madel","Madelaine","Madeleine","Madelena","Madelene","Madelin","Madelina","Madeline","Madella","Madelle","Madelon","Madelyn","Madge","Madlen","Madlin","Madonna","Mady","Mae","Maegan","Mag","Magda","Magdaia","Magdalen","Magdalena","Magdalene","Maggee","Maggi","Maggie","Maggy","Mahala","Mahalia","Maia","Maible","Maiga","Maighdiln","Mair","Maire","Maisey","Maisie","Maitilde","Mala","Malanie","Malena","Malia","Malina","Malinda","Malinde","Malissa","Malissia","Mallissa","Mallorie","Mallory","Malorie","Malory","Malva","Malvina","Malynda","Mame","Mamie","Manda","Mandi","Mandie","Mandy","Manon","Manya","Mara","Marabel","Marcela","Marcelia","Marcella","Marcelle","Marcellina","Marcelline","Marchelle","Marci","Marcia","Marcie","Marcile","Marcille","Marcy","Mareah","Maren","Marena","Maressa","Marga","Margalit","Margalo","Margaret","Margareta","Margarete","Margaretha","Margarethe","Margaretta","Margarette","Margarita","Margaux","Marge","Margeaux","Margery","Marget","Margette","Margi","Margie","Margit","Margo","Margot","Margret","Marguerite","Margy","Mari","Maria","Mariam","Marian","Mariana","Mariann","Marianna","Marianne","Maribel","Maribelle","Maribeth","Marice","Maridel","Marie","Marie-ann","Marie-jeanne","Marieann","Mariejeanne","Mariel","Mariele","Marielle","Mariellen","Marietta","Mariette","Marigold","Marijo","Marika","Marilee","Marilin","Marillin","Marilyn","Marin","Marina","Marinna","Marion","Mariquilla","Maris","Marisa","Mariska","Marissa","Marita","Maritsa","Mariya","Marj","Marja","Marje","Marji","Marjie","Marjorie","Marjory","Marjy","Marketa","Marla","Marlane","Marleah","Marlee","Marleen","Marlena","Marlene","Marley","Marlie","Marline","Marlo","Marlyn","Marna","Marne","Marney","Marni","Marnia","Marnie","Marquita","Marrilee","Marris","Marrissa","Marsha","Marsiella","Marta","Martelle","Martguerita","Martha","Marthe","Marthena","Marti","Martica","Martie","Martina","Martita","Marty","Martynne","Mary","Marya","Maryann","Maryanna","Maryanne","Marybelle","Marybeth","Maryellen","Maryjane","Maryjo","Maryl","Marylee","Marylin","Marylinda","Marylou","Marylynne","Maryrose","Marys","Marysa","Masha","Matelda","Mathilda","Mathilde","Matilda","Matilde","Matti","Mattie","Matty","Maud","Maude","Maudie","Maura","Maure","Maureen","Maureene","Maurene","Maurine","Maurise","Maurita","Maurizia","Mavis","Mavra","Max","Maxi","Maxie","Maxine","Maxy","May","Maybelle","Maye","Mead","Meade","Meagan","Meaghan","Meara","Mechelle","Meg","Megan","Megen","Meggi","Meggie","Meggy","Meghan","Meghann","Mehetabel","Mei","Mel","Mela","Melamie","Melania","Melanie","Melantha","Melany","Melba","Melesa","Melessa","Melicent","Melina","Melinda","Melinde","Melisa","Melisande","Melisandra","Melisenda","Melisent","Melissa","Melisse","Melita","Melitta","Mella","Melli","Mellicent","Mellie","Mellisa","Mellisent","Melloney","Melly","Melodee","Melodie","Melody","Melonie","Melony","Melosa","Melva","Mercedes","Merci","Mercie","Mercy","Meredith","Meredithe","Meridel","Meridith","Meriel","Merilee","Merilyn","Meris","Merissa","Merl","Merla","Merle","Merlina","Merline","Merna","Merola","Merralee","Merridie","Merrie","Merrielle","Merrile","Merrilee","Merrili","Merrill","Merrily","Merry","Mersey","Meryl","Meta","Mia","Micaela","Michaela","Michaelina","Michaeline","Michaella","Michal","Michel","Michele","Michelina","Micheline","Michell","Michelle","Micki","Mickie","Micky","Midge","Mignon","Mignonne","Miguela","Miguelita","Mikaela","Mil","Mildred","Mildrid","Milena","Milicent","Milissent","Milka","Milli","Millicent","Millie","Millisent","Milly","Milzie","Mimi","Min","Mina","Minda","Mindy","Minerva","Minetta","Minette","Minna","Minnaminnie","Minne","Minni","Minnie","Minnnie","Minny","Minta","Miquela","Mira","Mirabel","Mirabella","Mirabelle","Miran","Miranda","Mireielle","Mireille","Mirella","Mirelle","Miriam","Mirilla","Mirna","Misha","Missie","Missy","Misti","Misty","Mitzi","Modesta","Modestia","Modestine","Modesty","Moina","Moira","Moll","Mollee","Molli","Mollie","Molly","Mommy","Mona","Monah","Monica","Monika","Monique","Mora","Moreen","Morena","Morgan","Morgana","Morganica","Morganne","Morgen","Moria","Morissa","Morna","Moselle","Moyna","Moyra","Mozelle","Muffin","Mufi","Mufinella","Muire","Mureil","Murial","Muriel","Murielle","Myra","Myrah","Myranda","Myriam","Myrilla","Myrle","Myrlene","Myrna","Myrta","Myrtia","Myrtice","Myrtie","Myrtle","Nada","Nadean","Nadeen","Nadia","Nadine","Nadiya","Nady","Nadya","Nalani","Nan","Nana","Nananne","Nance","Nancee","Nancey","Nanci","Nancie","Nancy","Nanete","Nanette","Nani","Nanice","Nanine","Nannette","Nanni","Nannie","Nanny","Nanon","Naoma","Naomi","Nara","Nari","Nariko","Nat","Nata","Natala","Natalee","Natalie","Natalina","Nataline","Natalya","Natasha","Natassia","Nathalia","Nathalie","Natividad","Natka","Natty","Neala","Neda","Nedda","Nedi","Neely","Neila","Neile","Neilla","Neille","Nelia","Nelie","Nell","Nelle","Nelli","Nellie","Nelly","Nerissa","Nerita","Nert","Nerta","Nerte","Nerti","Nertie","Nerty","Nessa","Nessi","Nessie","Nessy","Nesta","Netta","Netti","Nettie","Nettle","Netty","Nevsa","Neysa","Nichol","Nichole","Nicholle","Nicki","Nickie","Nicky","Nicol","Nicola","Nicole","Nicolea","Nicolette","Nicoli","Nicolina","Nicoline","Nicolle","Nikaniki","Nike","Niki","Nikki","Nikkie","Nikoletta","Nikolia","Nina","Ninetta","Ninette","Ninnetta","Ninnette","Ninon","Nissa","Nisse","Nissie","Nissy","Nita","Nixie","Noami","Noel","Noelani","Noell","Noella","Noelle","Noellyn","Noelyn","Noemi","Nola","Nolana","Nolie","Nollie","Nomi","Nona","Nonah","Noni","Nonie","Nonna","Nonnah","Nora","Norah","Norean","Noreen","Norene","Norina","Norine","Norma","Norri","Norrie","Norry","Novelia","Nydia","Nyssa","Octavia","Odele","Odelia","Odelinda","Odella","Odelle","Odessa","Odetta","Odette","Odilia","Odille","Ofelia","Ofella","Ofilia","Ola","Olenka","Olga","Olia","Olimpia","Olive","Olivette","Olivia","Olivie","Oliy","Ollie","Olly","Olva","Olwen","Olympe","Olympia","Olympie","Ondrea","Oneida","Onida","Oona","Opal","Opalina","Opaline","Ophelia","Ophelie","Ora","Oralee","Oralia","Oralie","Oralla","Oralle","Orel","Orelee","Orelia","Orelie","Orella","Orelle","Oriana","Orly","Orsa","Orsola","Ortensia","Otha","Othelia","Othella","Othilia","Othilie","Ottilie","Page","Paige","Paloma","Pam","Pamela","Pamelina","Pamella","Pammi","Pammie","Pammy","Pandora","Pansie","Pansy","Paola","Paolina","Papagena","Pat","Patience","Patrica","Patrice","Patricia","Patrizia","Patsy","Patti","Pattie","Patty","Paula","Paule","Pauletta","Paulette","Pauli","Paulie","Paulina","Pauline","Paulita","Pauly","Pavia","Pavla","Pearl","Pearla","Pearle","Pearline","Peg","Pegeen","Peggi","Peggie","Peggy","Pen","Penelopa","Penelope","Penni","Pennie","Penny","Pepi","Pepita","Peri","Peria","Perl","Perla","Perle","Perri","Perrine","Perry","Persis","Pet","Peta","Petra","Petrina","Petronella","Petronia","Petronilla","Petronille","Petunia","Phaedra","Phaidra","Phebe","Phedra","Phelia","Phil","Philipa","Philippa","Philippe","Philippine","Philis","Phillida","Phillie","Phillis","Philly","Philomena","Phoebe","Phylis","Phyllida","Phyllis","Phyllys","Phylys","Pia","Pier","Pierette","Pierrette","Pietra","Piper","Pippa","Pippy","Polly","Pollyanna","Pooh","Poppy","Portia","Pris","Prisca","Priscella","Priscilla","Prissie","Pru","Prudence","Prudi","Prudy","Prue","Queenie","Quentin","Querida","Quinn","Quinta","Quintana","Quintilla","Quintina","Rachael","Rachel","Rachele","Rachelle","Rae","Raeann","Raf","Rafa","Rafaela","Rafaelia","Rafaelita","Rahal","Rahel","Raina","Raine","Rakel","Ralina","Ramona","Ramonda","Rana","Randa","Randee","Randene","Randi","Randie","Randy","Ranee","Rani","Rania","Ranice","Ranique","Ranna","Raphaela","Raquel","Raquela","Rasia","Rasla","Raven","Ray","Raychel","Raye","Rayna","Raynell","Rayshell","Rea","Reba","Rebbecca","Rebe","Rebeca","Rebecca","Rebecka","Rebeka","Rebekah","Rebekkah","Ree","Reeba","Reena","Reeta","Reeva","Regan","Reggi","Reggie","Regina","Regine","Reiko","Reina","Reine","Remy","Rena","Renae","Renata","Renate","Rene","Renee","Renell","Renelle","Renie","Rennie","Reta","Retha","Revkah","Rey","Reyna","Rhea","Rheba","Rheta","Rhetta","Rhiamon","Rhianna","Rhianon","Rhoda","Rhodia","Rhodie","Rhody","Rhona","Rhonda","Riane","Riannon","Rianon","Rica","Ricca","Rici","Ricki","Rickie","Ricky","Riki","Rikki","Rina","Risa","Rita","Riva","Rivalee","Rivi","Rivkah","Rivy","Roana","Roanna","Roanne","Robbi","Robbie","Robbin","Robby","Robbyn","Robena","Robenia","Roberta","Robin","Robina","Robinet","Robinett","Robinetta","Robinette","Robinia","Roby","Robyn","Roch","Rochell","Rochella","Rochelle","Rochette","Roda","Rodi","Rodie","Rodina","Rois","Romola","Romona","Romonda","Romy","Rona","Ronalda","Ronda","Ronica","Ronna","Ronni","Ronnica","Ronnie","Ronny","Roobbie","Rora","Rori","Rorie","Rory","Ros","Rosa","Rosabel","Rosabella","Rosabelle","Rosaleen","Rosalia","Rosalie","Rosalind","Rosalinda","Rosalinde","Rosaline","Rosalyn","Rosalynd","Rosamond","Rosamund","Rosana","Rosanna","Rosanne","Rose","Roseann","Roseanna","Roseanne","Roselia","Roselin","Roseline","Rosella","Roselle","Rosemaria","Rosemarie","Rosemary","Rosemonde","Rosene","Rosetta","Rosette","Roshelle","Rosie","Rosina","Rosita","Roslyn","Rosmunda","Rosy","Row","Rowe","Rowena","Roxana","Roxane","Roxanna","Roxanne","Roxi","Roxie","Roxine","Roxy","Roz","Rozalie","Rozalin","Rozamond","Rozanna","Rozanne","Roze","Rozele","Rozella","Rozelle","Rozina","Rubetta","Rubi","Rubia","Rubie","Rubina","Ruby","Ruperta","Ruth","Ruthann","Ruthanne","Ruthe","Ruthi","Ruthie","Ruthy","Ryann","Rycca","Saba","Sabina","Sabine","Sabra","Sabrina","Sacha","Sada","Sadella","Sadie","Sadye","Saidee","Sal","Salaidh","Sallee","Salli","Sallie","Sally","Sallyann","Sallyanne","Saloma","Salome","Salomi","Sam","Samantha","Samara","Samaria","Sammy","Sande","Sandi","Sandie","Sandra","Sandy","Sandye","Sapphira","Sapphire","Sara","Sara-ann","Saraann","Sarah","Sarajane","Saree","Sarena","Sarene","Sarette","Sari","Sarina","Sarine","Sarita","Sascha","Sasha","Sashenka","Saudra","Saundra","Savina","Sayre","Scarlet","Scarlett","Sean","Seana","Seka","Sela","Selena","Selene","Selestina","Selia","Selie","Selina","Selinda","Seline","Sella","Selle","Selma","Sena","Sephira","Serena","Serene","Shae","Shaina","Shaine","Shalna","Shalne","Shana","Shanda","Shandee","Shandeigh","Shandie","Shandra","Shandy","Shane","Shani","Shanie","Shanna","Shannah","Shannen","Shannon","Shanon","Shanta","Shantee","Shara","Sharai","Shari","Sharia","Sharity","Sharl","Sharla","Sharleen","Sharlene","Sharline","Sharon","Sharona","Sharron","Sharyl","Shaun","Shauna","Shawn","Shawna","Shawnee","Shay","Shayla","Shaylah","Shaylyn","Shaylynn","Shayna","Shayne","Shea","Sheba","Sheela","Sheelagh","Sheelah","Sheena","Sheeree","Sheila","Sheila-kathryn","Sheilah","Shel","Shela","Shelagh","Shelba","Shelbi","Shelby","Shelia","Shell","Shelley","Shelli","Shellie","Shelly","Shena","Sher","Sheree","Sheri","Sherie","Sherill","Sherilyn","Sherline","Sherri","Sherrie","Sherry","Sherye","Sheryl","Shina","Shir","Shirl","Shirlee","Shirleen","Shirlene","Shirley","Shirline","Shoshana","Shoshanna","Siana","Sianna","Sib","Sibbie","Sibby","Sibeal","Sibel","Sibella","Sibelle","Sibilla","Sibley","Sibyl","Sibylla","Sibylle","Sidoney","Sidonia","Sidonnie","Sigrid","Sile","Sileas","Silva","Silvana","Silvia","Silvie","Simona","Simone","Simonette","Simonne","Sindee","Siobhan","Sioux","Siouxie","Sisely","Sisile","Sissie","Sissy","Siusan","Sofia","Sofie","Sondra","Sonia","Sonja","Sonni","Sonnie","Sonnnie","Sonny","Sonya","Sophey","Sophi","Sophia","Sophie","Sophronia","Sorcha","Sosanna","Stace","Stacee","Stacey","Staci","Stacia","Stacie","Stacy","Stafani","Star","Starla","Starlene","Starlin","Starr","Stefa","Stefania","Stefanie","Steffane","Steffi","Steffie","Stella","Stepha","Stephana","Stephani","Stephanie","Stephannie","Stephenie","Stephi","Stephie","Stephine","Stesha","Stevana","Stevena","Stoddard","Storm","Stormi","Stormie","Stormy","Sue","Suellen","Sukey","Suki","Sula","Sunny","Sunshine","Susan","Susana","Susanetta","Susann","Susanna","Susannah","Susanne","Susette","Susi","Susie","Susy","Suzann","Suzanna","Suzanne","Suzette","Suzi","Suzie","Suzy","Sybil","Sybila","Sybilla","Sybille","Sybyl","Sydel","Sydelle","Sydney","Sylvia","Tabatha","Tabbatha","Tabbi","Tabbie","Tabbitha","Tabby","Tabina","Tabitha","Taffy","Talia","Tallia","Tallie","Tallou","Tallulah","Tally","Talya","Talyah","Tamar","Tamara","Tamarah","Tamarra","Tamera","Tami","Tamiko","Tamma","Tammara","Tammi","Tammie","Tammy","Tamqrah","Tamra","Tana","Tandi","Tandie","Tandy","Tanhya","Tani","Tania","Tanitansy","Tansy","Tanya","Tara","Tarah","Tarra","Tarrah","Taryn","Tasha","Tasia","Tate","Tatiana","Tatiania","Tatum","Tawnya","Tawsha","Ted","Tedda","Teddi","Teddie","Teddy","Tedi","Tedra","Teena","Teirtza","Teodora","Tera","Teresa","Terese","Teresina","Teresita","Teressa","Teri","Teriann","Terra","Terri","Terrie","Terrijo","Terry","Terrye","Tersina","Terza","Tess","Tessa","Tessi","Tessie","Tessy","Thalia","Thea","Theadora","Theda","Thekla","Thelma","Theo","Theodora","Theodosia","Theresa","Therese","Theresina","Theresita","Theressa","Therine","Thia","Thomasa","Thomasin","Thomasina","Thomasine","Tiena","Tierney","Tiertza","Tiff","Tiffani","Tiffanie","Tiffany","Tiffi","Tiffie","Tiffy","Tilda","Tildi","Tildie","Tildy","Tillie","Tilly","Tim","Timi","Timmi","Timmie","Timmy","Timothea","Tina","Tine","Tiphani","Tiphanie","Tiphany","Tish","Tisha","Tobe","Tobey","Tobi","Toby","Tobye","Toinette","Toma","Tomasina","Tomasine","Tomi","Tommi","Tommie","Tommy","Toni","Tonia","Tonie","Tony","Tonya","Tonye","Tootsie","Torey","Tori","Torie","Torrie","Tory","Tova","Tove","Tracee","Tracey","Traci","Tracie","Tracy","Trenna","Tresa","Trescha","Tressa","Tricia","Trina","Trish","Trisha","Trista","Trix","Trixi","Trixie","Trixy","Truda","Trude","Trudey","Trudi","Trudie","Trudy","Trula","Tuesday","Twila","Twyla","Tybi","Tybie","Tyne","Ula","Ulla","Ulrica","Ulrika","Ulrikaumeko","Ulrike","Umeko","Una","Ursa","Ursala","Ursola","Ursula","Ursulina","Ursuline","Uta","Val","Valaree","Valaria","Vale","Valeda","Valencia","Valene","Valenka","Valentia","Valentina","Valentine","Valera","Valeria","Valerie","Valery","Valerye","Valida","Valina","Valli","Vallie","Vally","Valma","Valry","Van","Vanda","Vanessa","Vania","Vanna","Vanni","Vannie","Vanny","Vanya","Veda","Velma","Velvet","Venita","Venus","Vera","Veradis","Vere","Verena","Verene","Veriee","Verile","Verina","Verine","Verla","Verna","Vernice","Veronica","Veronika","Veronike","Veronique","Vevay","Vi","Vicki","Vickie","Vicky","Victoria","Vida","Viki","Vikki","Vikky","Vilhelmina","Vilma","Vin","Vina","Vinita","Vinni","Vinnie","Vinny","Viola","Violante","Viole","Violet","Violetta","Violette","Virgie","Virgina","Virginia","Virginie","Vita","Vitia","Vitoria","Vittoria","Viv","Viva","Vivi","Vivia","Vivian","Viviana","Vivianna","Vivianne","Vivie","Vivien","Viviene","Vivienne","Viviyan","Vivyan","Vivyanne","Vonni","Vonnie","Vonny","Vyky","Wallie","Wallis","Walliw","Wally","Waly","Wanda","Wandie","Wandis","Waneta","Wanids","Wenda","Wendeline","Wendi","Wendie","Wendy","Wendye","Wenona","Wenonah","Whitney","Wileen","Wilhelmina","Wilhelmine","Wilie","Willa","Willabella","Willamina","Willetta","Willette","Willi","Willie","Willow","Willy","Willyt","Wilma","Wilmette","Wilona","Wilone","Wilow","Windy","Wini","Winifred","Winna","Winnah","Winne","Winni","Winnie","Winnifred","Winny","Winona","Winonah","Wren","Wrennie","Wylma","Wynn","Wynne","Wynnie","Wynny","Xaviera","Xena","Xenia","Xylia","Xylina","Yalonda","Yasmeen","Yasmin","Yelena","Yetta","Yettie","Yetty","Yevette","Ynes","Ynez","Yoko","Yolanda","Yolande","Yolane","Yolanthe","Yoshi","Yoshiko","Yovonnda","Ysabel","Yvette","Yvonne","Zabrina","Zahara","Zandra","Zaneta","Zara","Zarah","Zaria","Zarla","Zea","Zelda","Zelma","Zena","Zenia","Zia","Zilvia","Zita","Zitella","Zoe","Zola","Zonda","Zondra","Zonnya","Zora","Zorah","Zorana","Zorina","Zorine","Zsazsa","Zulema","Zuzana"],Lae={exports:{}};(function(e,t){(function(n,r){{var i=r();e&&e.exports&&(t=e.exports=i),t.randomColor=i}})(as,function(){var n=null,r={};m();var i=[],a=function(T){if(T=T||{},T.seed!==void 0&&T.seed!==null&&T.seed===parseInt(T.seed,10))n=T.seed;else if(typeof T.seed=="string")n=E(T.seed);else{if(T.seed!==void 0&&T.seed!==null)throw new TypeError("The seed value must be an integer or string");n=null}var L,M,D;if(T.count!==null&&T.count!==void 0){for(var I=T.count,B=[],N=0;NB.length;){var O=a(T);n!==null&&(T.seed=n),B.push(O)}return T.count=I,B}return L=o(T),M=s(L,T),D=l(L,M,T),u([L,M,D],T)};function o(T){if(i.length>0){var L=S(T.hue),M=p(L),D=(L[1]-L[0])/i.length,I=parseInt((M-L[0])/D);i[I]===!0?I=(I+2)%i.length:i[I]=!0;var B=(L[0]+I*D)%359,N=(L[0]+(I+1)*D)%359;return L=[B,N],M=p(L),M<0&&(M=360+M),M}else{var L=f(T.hue);return M=p(L),M<0&&(M=360+M),M}}function s(T,L){if(L.hue==="monochrome")return 0;if(L.luminosity==="random")return p([0,100]);var M=d(T),D=M[0],I=M[1];switch(L.luminosity){case"bright":D=55;break;case"dark":D=I-10;break;case"light":I=55;break}return p([D,I])}function l(T,L,M){var D=c(T,L),I=100;switch(M.luminosity){case"dark":I=D+20;break;case"light":D=(I+D)/2;break;case"random":D=0,I=100;break}return p([D,I])}function u(T,L){switch(L.format){case"hsvArray":return T;case"hslArray":return k(T);case"hsl":var M=k(T);return"hsl("+M[0]+", "+M[1]+"%, "+M[2]+"%)";case"hsla":var D=k(T),N=L.alpha||Math.random();return"hsla("+D[0]+", "+D[1]+"%, "+D[2]+"%, "+N+")";case"rgbArray":return v(T);case"rgb":var I=v(T);return"rgb("+I.join(", ")+")";case"rgba":var B=v(T),N=L.alpha||Math.random();return"rgba("+B.join(", ")+", "+N+")";default:return g(T)}}function c(T,L){for(var M=h(T).lowerBounds,D=0;D=I&&L<=N){var R=(O-B)/(N-I),P=B-R*I;return R*L+P}}return 0}function f(T){if(typeof parseInt(T)=="number"){var L=parseInt(T);if(L<360&&L>0)return[L,L]}if(typeof T=="string"){if(r[T]){var M=r[T];if(M.hueRange)return M.hueRange}else if(T.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var D=w(T)[0];return[D,D]}}return[0,360]}function d(T){return h(T).saturationRange}function h(T){T>=334&&T<=360&&(T-=360);for(var L in r){var M=r[L];if(M.hueRange&&T>=M.hueRange[0]&&T<=M.hueRange[1])return r[L]}return"Color not found"}function p(T){if(n===null){var L=.618033988749895,M=Math.random();return M+=L,M%=1,Math.floor(T[0]+M*(T[1]+1-T[0]))}else{var D=T[1]||1,I=T[0]||0;n=(n*9301+49297)%233280;var B=n/233280;return Math.floor(I+B*(D-I))}}function g(T){var L=v(T);function M(I){var B=I.toString(16);return B.length==1?"0"+B:B}var D="#"+M(L[0])+M(L[1])+M(L[2]);return D}function b(T,L,M){var D=M[0][0],I=M[M.length-1][0],B=M[M.length-1][1],N=M[0][1];r[T]={hueRange:L,lowerBounds:M,saturationRange:[D,I],brightnessRange:[B,N]}}function m(){b("monochrome",null,[[0,0],[100,0]]),b("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),b("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),b("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),b("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),b("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),b("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),b("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function v(T){var L=T[0];L===0&&(L=1),L===360&&(L=359),L=L/360;var M=T[1]/100,D=T[2]/100,I=Math.floor(L*6),B=L*6-I,N=D*(1-M),O=D*(1-B*M),R=D*(1-(1-B)*M),P=256,H=256,F=256;switch(I){case 0:P=D,H=R,F=N;break;case 1:P=O,H=D,F=N;break;case 2:P=N,H=D,F=R;break;case 3:P=N,H=O,F=D;break;case 4:P=R,H=N,F=D;break;case 5:P=D,H=N,F=O;break}var q=[Math.floor(P*255),Math.floor(H*255),Math.floor(F*255)];return q}function w(T){T=T.replace(/^#/,""),T=T.length===3?T.replace(/(.)/g,"$1$1"):T;var L=parseInt(T.substr(0,2),16)/255,M=parseInt(T.substr(2,2),16)/255,D=parseInt(T.substr(4,2),16)/255,I=Math.max(L,M,D),B=I-Math.min(L,M,D),N=I?B/I:0;switch(I){case L:return[60*((M-D)/B%6)||0,N,I];case M:return[60*((D-L)/B+2)||0,N,I];case D:return[60*((L-M)/B+4)||0,N,I]}}function k(T){var L=T[0],M=T[1]/100,D=T[2]/100,I=(2-M)*D;return[L,Math.round(M*D/(I<1?I:2-I)*1e4)/100,I/2*100]}function E(T){for(var L=0,M=0;M!==T.length&&!(L>=Number.MAX_SAFE_INTEGER);M++)L+=T.charCodeAt(M);return L}function S(T){if(isNaN(T)){if(typeof T=="string"){if(r[T]){var M=r[T];if(M.hueRange)return M.hueRange}else if(T.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var D=w(T)[0];return h(D).hueRange}}}else{var L=parseInt(T);if(L<360&&L>0)return h(T).hueRange}return[0,360]}return a})})(Lae,Lae.exports);var I8t=Lae.exports;const c_=ls(I8t);function d0(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:kde(e)?2:_de(e)?3:0}function _6(e,t){return ZC(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function R8t(e,t){return ZC(e)===2?e.get(t):e[t]}function Kje(e,t,n){var r=ZC(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Yje(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function kde(e){return F8t&&e instanceof Map}function _de(e){return N8t&&e instanceof Set}function xb(e){return e.o||e.t}function Cde(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Jje(e);delete t[Qo];for(var n=C6(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=M8t),Object.freeze(e),t&&I4(e,function(n,r){return Ede(r,!0)},!0)),e}function M8t(){d0(2)}function xde(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Yp(e){var t=Nae[e];return t||d0(18,e),t}function O8t(e,t){Nae[e]||(Nae[e]=t)}function Bae(){return NA}function xq(e,t){t&&(Yp("Patches"),e.u=[],e.s=[],e.v=t)}function zL(e){Pae(e),e.p.forEach(L8t),e.p=null}function Pae(e){e===NA&&(NA=e.l)}function B4e(e){return NA={p:[],l:NA,h:e,m:!0,_:0}}function L8t(e){var t=e[Qo];t.i===0||t.i===1?t.j():t.O=!0}function Sq(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Yp("ES5").S(t,e,r),r?(n[Qo].P&&(zL(t),d0(4)),qg(e)&&(e=UL(t,e),t.l||jL(t,e)),t.u&&Yp("Patches").M(n[Qo].t,e,t.u,t.s)):e=UL(t,n,[]),zL(t),t.u&&t.v(t.u,t.s),e!==Xje?e:void 0}function UL(e,t,n){if(xde(t))return t;var r=t[Qo];if(!r)return I4(t,function(s,l){return P4e(e,r,t,s,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return jL(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=Cde(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),I4(a,function(s,l){return P4e(e,r,i,s,l,n,o)}),jL(e,i,!1),n&&e.u&&Yp("Patches").N(r,n,e.u,e.s)}return r.o}function P4e(e,t,n,r,i,a,o){if(m2(i)){var s=UL(e,i,a&&t&&t.i!==3&&!_6(t.R,r)?a.concat(r):void 0);if(Kje(n,r,s),!m2(s))return;e.m=!1}else o&&n.add(i);if(qg(i)&&!xde(i)){if(!e.h.D&&e._<1)return;UL(e,i),t&&t.A.l||jL(e,i)}}function jL(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&Ede(t,n)}function Aq(e,t){var n=e[Qo];return(n?xb(n):e)[t]}function F4e(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function yv(e){e.P||(e.P=!0,e.l&&yv(e.l))}function Tq(e){e.o||(e.o=Cde(e.t))}function Fae(e,t,n){var r=kde(t)?Yp("MapSet").F(t,n):_de(t)?Yp("MapSet").T(t,n):e.g?function(i,a){var o=Array.isArray(i),s={i:o?1:0,A:a?a.A:Bae(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=s,u=$A;o&&(l=[s],u=E9);var c=Proxy.revocable(l,u),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):Yp("ES5").J(t,n);return(n?n.A:Bae()).p.push(r),r}function B8t(e){return m2(e)||d0(22,e),function t(n){if(!qg(n))return n;var r,i=n[Qo],a=ZC(n);if(i){if(!i.P&&(i.i<4||!Yp("ES5").K(i)))return i.t;i.I=!0,r=N4e(n,a),i.I=!1}else r=N4e(n,a);return I4(r,function(o,s){i&&R8t(i.t,o)===s||Kje(r,o,t(s))}),a===3?new Set(r):r}(e)}function N4e(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Cde(e)}function P8t(){function e(a,o){var s=i[a];return s?s.enumerable=o:i[a]=s={configurable:!0,enumerable:o,get:function(){var l=this[Qo];return $A.get(l,a)},set:function(l){var u=this[Qo];$A.set(u,a,l)}},s}function t(a){for(var o=a.length-1;o>=0;o--){var s=a[o][Qo];if(!s.P)switch(s.i){case 5:r(s)&&yv(s);break;case 4:n(s)&&yv(s)}}}function n(a){for(var o=a.t,s=a.k,l=C6(s),u=l.length-1;u>=0;u--){var c=l[u];if(c!==Qo){var f=o[c];if(f===void 0&&!_6(o,c))return!0;var d=s[c],h=d&&d[Qo];if(h?h.t!==f:!Yje(d,f))return!0}}var p=!!o[Qo];return l.length!==C6(o).length+(p?0:1)}function r(a){var o=a.k;if(o.length!==a.t.length)return!0;var s=Object.getOwnPropertyDescriptor(o,o.length-1);if(s&&!s.get)return!0;for(var l=0;l1?m-1:0),w=1;w1?c-1:0),d=1;d=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=Yp("Patches").$;return m2(n)?o(n,r):this.produce(n,function(s){return o(s,r)})},e}(),cd=new z8t,Zje=cd.produce;cd.produceWithPatches.bind(cd);cd.setAutoFreeze.bind(cd);cd.setUseProxies.bind(cd);cd.applyPatches.bind(cd);cd.createDraft.bind(cd);cd.finishDraft.bind(cd);function zA(e){return zA=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},zA(e)}function U8t(e,t){if(zA(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(zA(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function j8t(e){var t=U8t(e,"string");return zA(t)==="symbol"?t:String(t)}function Ade(e,t,n){return t=j8t(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j4e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function H4e(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Bu(1));return n(Qje)(e,t)}if(typeof e!="function")throw new Error(Bu(2));var i=e,a=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(Bu(3));return a}function f(g){if(typeof g!="function")throw new Error(Bu(4));if(l)throw new Error(Bu(5));var b=!0;return u(),s.push(g),function(){if(b){if(l)throw new Error(Bu(6));b=!1,u();var v=s.indexOf(g);s.splice(v,1),o=null}}}function d(g){if(!H8t(g))throw new Error(Bu(7));if(typeof g.type>"u")throw new Error(Bu(8));if(l)throw new Error(Bu(9));try{l=!0,a=i(a,g)}finally{l=!1}for(var b=o=s,m=0;m"u")throw new Error(Bu(12));if(typeof n(void 0,{type:HL.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Bu(13))})}function eHe(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(Bu(14));f[h]=b,c=c||b!==g}return c=c||a.length!==Object.keys(l).length,c?f:l}}function qL(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1](e.Dark="dark",e.Light="light",e))(Kr||{}),aHe=(e=>(e.Sublime="sublime",e.Vim="vim",e.Emacs="emacs",e))(aHe||{}),oHe=(e=>(e.Two="2",e.Four="4",e.Eight="8",e))(oHe||{});const rv=new E7("$$codepair$$setting"),m7t=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,sHe=Gje({dictionaries:[Vje]}),UA=rv.getValue({menu:{theme:m7t?"dark":"light",codeKeyMap:"sublime",tabSize:"2",userID:"",userName:sHe,userColor:c_(),userThemeColor:"yorkie"}});UA.menu.userName===""&&(UA.menu.userName=sHe);UA.menu.userColor===""&&(UA.menu.userColor=c_());const lHe=y1({name:"setting",initialState:UA,reducers:{setDarkMode(e,t){e.menu.theme=t.payload?"dark":"light",rv.setValue(e)},setCodeKeyMap(e,t){e.menu.codeKeyMap=t.payload,rv.setValue(e)},setTabSize(e,t){e.menu.tabSize=t.payload,rv.setValue(e)},setUserID(e,t){e.menu.userID=t.payload,rv.setValue(e)},setUserName(e,t){e.menu.userName=t.payload,rv.setValue(e)},setUserColor(e,t){e.menu.userColor=t.payload,rv.setValue(e)},setUserThemeColor(e,t){e.menu.userThemeColor=t.payload,rv.setValue(e)}}}),{setDarkMode:v7t,setCodeKeyMap:y7t,setTabSize:b7t,setUserID:w7t,setUserName:k7t,setUserColor:_7t,setUserThemeColor:C7t}=lHe.actions,E7t=lHe.reducer;var zae={exports:{}};(function(e,t){(function(n,r){r(t)})(as,function(n){var r=Object.defineProperty,i=($,y,x)=>y in $?r($,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):$[y]=x,a=($,y,x)=>i($,typeof y!="symbol"?y+"":y,x),o,s,l,u,c,f,d,h,p,g;(function($){$[$.Canceled=1]="Canceled",$[$.Unknown=2]="Unknown",$[$.InvalidArgument=3]="InvalidArgument",$[$.DeadlineExceeded=4]="DeadlineExceeded",$[$.NotFound=5]="NotFound",$[$.AlreadyExists=6]="AlreadyExists",$[$.PermissionDenied=7]="PermissionDenied",$[$.ResourceExhausted=8]="ResourceExhausted",$[$.FailedPrecondition=9]="FailedPrecondition",$[$.Aborted=10]="Aborted",$[$.OutOfRange=11]="OutOfRange",$[$.Unimplemented=12]="Unimplemented",$[$.Internal=13]="Internal",$[$.Unavailable=14]="Unavailable",$[$.DataLoss=15]="DataLoss",$[$.Unauthenticated=16]="Unauthenticated"})(g||(g={}));function b($){const y=g[$];return typeof y!="string"?$.toString():y[0].toLowerCase()+y.substring(1).replace(/[A-Z]/g,x=>"_"+x.toLowerCase())}class m extends Error{constructor(y,x=g.Unknown,j,K,ke){super(v(y,x)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=y,this.code=x,this.metadata=new Headers(j??{}),this.details=K??[],this.cause=ke}static from(y,x=g.Unknown){return y instanceof m?y:y instanceof Error?y.name=="AbortError"?new m(y.message,g.Canceled):new m(y.message,x,void 0,void 0,y):new m(String(y),x,void 0,void 0,y)}static[Symbol.hasInstance](y){return y instanceof Error?Object.getPrototypeOf(y)===m.prototype?!0:y.name==="ConnectError"&&"code"in y&&typeof y.code=="number"&&"metadata"in y&&"details"in y&&Array.isArray(y.details)&&"rawMessage"in y&&typeof y.rawMessage=="string"&&"cause"in y:!1}findDetails(y){const x="typeName"in y?{findMessage:K=>K===y.typeName?y:void 0}:y,j=[];for(const K of this.details){if("getType"in K){x.findMessage(K.getType().typeName)&&j.push(K);continue}const ke=x.findMessage(K.type);if(ke)try{j.push(ke.fromBinary(K.value))}catch{}}return j}}function v($,y){return $.length?`[${b(y)}] ${$}`:`[${b(y)}]`}function w($,y){if(!$)throw new Error(y)}const k=34028234663852886e22,E=-34028234663852886e22,S=4294967295,T=2147483647,L=-2147483648;function M($){if(typeof $!="number")throw new Error("invalid int 32: "+typeof $);if(!Number.isInteger($)||$>T||$S||$<0)throw new Error("invalid uint 32: "+$)}function I($){if(typeof $!="number")throw new Error("invalid float 32: "+typeof $);if(Number.isFinite($)&&($>k||$({no:K.no,name:K.name,localName:$[K.no]})))}function R($,y,x){const j=Object.create(null),K=Object.create(null),ke=[];for(const Fe of y){const Ve=H(Fe);ke.push(Ve),j[Fe.name]=Ve,K[Fe.no]=Ve}return{typeName:$,values:ke,findName(Fe){return j[Fe]},findNumber(Fe){return K[Fe]}}}function P($,y,x){const j={};for(const K of y){const ke=H(K);j[ke.localName]=ke.no,j[ke.no]=ke.localName}return O(j,$,y),j}function H($){return"localName"in $?$:Object.assign(Object.assign({},$),{localName:$.name})}class F{equals(y){return this.getType().runtime.util.equals(this.getType(),this,y)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(y,x){const j=this.getType(),K=j.runtime.bin,ke=K.makeReadOptions(x);return K.readMessage(this,ke.readerFactory(y),y.byteLength,ke),this}fromJson(y,x){const j=this.getType(),K=j.runtime.json,ke=K.makeReadOptions(x);return K.readMessage(j,y,ke,this),this}fromJsonString(y,x){let j;try{j=JSON.parse(y)}catch(K){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${K instanceof Error?K.message:String(K)}`)}return this.fromJson(j,x)}toBinary(y){const x=this.getType(),j=x.runtime.bin,K=j.makeWriteOptions(y),ke=K.writerFactory();return j.writeMessage(this,ke,K),ke.finish()}toJson(y){const x=this.getType(),j=x.runtime.json,K=j.makeWriteOptions(y);return j.writeMessage(this,K)}toJsonString(y){var x;const j=this.toJson(y);return JSON.stringify(j,null,(x=y?.prettySpaces)!==null&&x!==void 0?x:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function q($,y,x,j){var K;const ke=(K=j?.localName)!==null&&K!==void 0?K:y.substring(y.lastIndexOf(".")+1),Fe={[ke]:function(Ve){$.util.initFields(this),$.util.initPartial(Ve,this)}}[ke];return Object.setPrototypeOf(Fe.prototype,new F),Object.assign(Fe,{runtime:$,typeName:y,fields:$.util.newFieldList(x),fromBinary(Ve,it){return new Fe().fromBinary(Ve,it)},fromJson(Ve,it){return new Fe().fromJson(Ve,it)},fromJsonString(Ve,it){return new Fe().fromJsonString(Ve,it)},equals(Ve,it){return $.util.equals(Fe,Ve,it)}}),Fe}function V(){let $=0,y=0;for(let j=0;j<28;j+=7){let K=this.buf[this.pos++];if($|=(K&127)<>4,!(x&128))return this.assertBounds(),[$,y];for(let j=3;j<=31;j+=7){let K=this.buf[this.pos++];if(y|=(K&127)<>>ke,Ve=!(!(Fe>>>7)&&y==0),it=(Ve?Fe|128:Fe)&255;if(x.push(it),!Ve)return}const j=$>>>28&15|(y&7)<<4,K=!!(y>>3);if(x.push((K?j|128:j)&255),!!K){for(let ke=3;ke<31;ke=ke+7){const Fe=y>>>ke,Ve=!!(Fe>>>7),it=(Ve?Fe|128:Fe)&255;if(x.push(it),!Ve)return}x.push(y>>>31&1)}}const G=4294967296;function J($){const y=$[0]==="-";y&&($=$.slice(1));const x=1e6;let j=0,K=0;function ke(Fe,Ve){const it=Number($.slice(Fe,Ve));K*=x,j=j*x+it,j>=G&&(K=K+(j/G|0),j=j%G)}return ke(-24,-18),ke(-18,-12),ke(-12,-6),ke(-6),y?le(j,K):ae(j,K)}function te($,y){let x=ae($,y);const j=x.hi&2147483648;j&&(x=le(x.lo,x.hi));const K=re(x.lo,x.hi);return j?"-"+K:K}function re($,y){if({lo:$,hi:y}=Q($,y),y<=2097151)return String(G*y+$);const x=$&16777215,j=($>>>24|y<<8)&16777215,K=y>>16&65535;let ke=x+j*6777216+K*6710656,Fe=j+K*8147497,Ve=K*2;const it=1e7;return ke>=it&&(Fe+=Math.floor(ke/it),ke%=it),Fe>=it&&(Ve+=Math.floor(Fe/it),Fe%=it),Ve.toString()+oe(Fe)+oe(ke)}function Q($,y){return{lo:$>>>0,hi:y>>>0}}function ae($,y){return{lo:$|0,hi:y|0}}function le($,y){return y=~y,$?$=~$+1:y+=1,ae($,y)}const oe=$=>{const y=String($);return"0000000".slice(y.length)+y};function ee($,y){if($>=0){for(;$>127;)y.push($&127|128),$=$>>>7;y.push($)}else{for(let x=0;x<9;x++)y.push($&127|128),$=$>>7;y.push(1)}}function ne(){let $=this.buf[this.pos++],y=$&127;if(!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<7,!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<14,!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<21,!($&128))return this.assertBounds(),y;$=this.buf[this.pos++],y|=($&15)<<28;for(let x=5;$&128&&x<10;x++)$=this.buf[this.pos++];if($&128)throw new Error("invalid varint");return this.assertBounds(),y>>>0}function ue(){const $=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof $.getBigInt64=="function"&&typeof $.getBigUint64=="function"&&typeof $.setBigInt64=="function"&&typeof $.setBigUint64=="function"&&(typeof process!="object"||typeof process.env!="object"||{}.BUF_BIGINT_DISABLE!=="1")){const K=BigInt("-9223372036854775808"),ke=BigInt("9223372036854775807"),Fe=BigInt("0"),Ve=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(it){const ct=typeof it=="bigint"?it:BigInt(it);if(ct>ke||ctVe||ctw(/^-?[0-9]+$/.test(K),`int64 invalid: ${K}`),j=K=>w(/^[0-9]+$/.test(K),`uint64 invalid: ${K}`);return{zero:"0",supported:!1,parse(K){return typeof K!="string"&&(K=K.toString()),x(K),K},uParse(K){return typeof K!="string"&&(K=K.toString()),j(K),K},enc(K){return typeof K!="string"&&(K=K.toString()),x(K),J(K)},uEnc(K){return typeof K!="string"&&(K=K.toString()),j(K),J(K)},dec(K,ke){return te(K,ke)},uDec(K,ke){return re(K,ke)}}}const Ae=ue();var ce;(function($){$[$.DOUBLE=1]="DOUBLE",$[$.FLOAT=2]="FLOAT",$[$.INT64=3]="INT64",$[$.UINT64=4]="UINT64",$[$.INT32=5]="INT32",$[$.FIXED64=6]="FIXED64",$[$.FIXED32=7]="FIXED32",$[$.BOOL=8]="BOOL",$[$.STRING=9]="STRING",$[$.BYTES=12]="BYTES",$[$.UINT32=13]="UINT32",$[$.SFIXED32=15]="SFIXED32",$[$.SFIXED64=16]="SFIXED64",$[$.SINT32=17]="SINT32",$[$.SINT64=18]="SINT64"})(ce||(ce={}));var be;(function($){$[$.BIGINT=0]="BIGINT",$[$.STRING=1]="STRING"})(be||(be={}));function ge($,y,x){if(y===x)return!0;if($==ce.BYTES){if(!(y instanceof Uint8Array)||!(x instanceof Uint8Array)||y.length!==x.length)return!1;for(let j=0;j>>0)}raw(y){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(y),this}uint32(y){for(D(y);y>127;)this.buf.push(y&127|128),y=y>>>7;return this.buf.push(y),this}int32(y){return M(y),ee(y,this.buf),this}bool(y){return this.buf.push(y?1:0),this}bytes(y){return this.uint32(y.byteLength),this.raw(y)}string(y){let x=this.textEncoder.encode(y);return this.uint32(x.byteLength),this.raw(x)}float(y){I(y);let x=new Uint8Array(4);return new DataView(x.buffer).setFloat32(0,y,!0),this.raw(x)}double(y){let x=new Uint8Array(8);return new DataView(x.buffer).setFloat64(0,y,!0),this.raw(x)}fixed32(y){D(y);let x=new Uint8Array(4);return new DataView(x.buffer).setUint32(0,y,!0),this.raw(x)}sfixed32(y){M(y);let x=new Uint8Array(4);return new DataView(x.buffer).setInt32(0,y,!0),this.raw(x)}sint32(y){return M(y),y=(y<<1^y>>31)>>>0,ee(y,this.buf),this}sfixed64(y){let x=new Uint8Array(8),j=new DataView(x.buffer),K=Ae.enc(y);return j.setInt32(0,K.lo,!0),j.setInt32(4,K.hi,!0),this.raw(x)}fixed64(y){let x=new Uint8Array(8),j=new DataView(x.buffer),K=Ae.uEnc(y);return j.setInt32(0,K.lo,!0),j.setInt32(4,K.hi,!0),this.raw(x)}int64(y){let x=Ae.enc(y);return X(x.lo,x.hi,this.buf),this}sint64(y){let x=Ae.enc(y),j=x.hi>>31,K=x.lo<<1^j,ke=(x.hi<<1|x.lo>>>31)^j;return X(K,ke,this.buf),this}uint64(y){let x=Ae.uEnc(y);return X(x.lo,x.hi,this.buf),this}}class De{constructor(y,x){this.varint64=V,this.uint32=ne,this.buf=y,this.len=y.length,this.pos=0,this.view=new DataView(y.buffer,y.byteOffset,y.byteLength),this.textDecoder=x??new TextDecoder}tag(){let y=this.uint32(),x=y>>>3,j=y&7;if(x<=0||j<0||j>5)throw new Error("illegal tag: field no "+x+" wire type "+j);return[x,j]}skip(y,x){let j=this.pos;switch(y){case he.Varint:for(;this.buf[this.pos++]&128;);break;case he.Bit64:this.pos+=4;case he.Bit32:this.pos+=4;break;case he.LengthDelimited:let K=this.uint32();this.pos+=K;break;case he.StartGroup:for(;;){const[ke,Fe]=this.tag();if(Fe===he.EndGroup){if(x!==void 0&&ke!==x)throw new Error("invalid end group tag");break}this.skip(Fe,ke)}break;default:throw new Error("cant skip wire type "+y)}return this.assertBounds(),this.buf.subarray(j,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let y=this.uint32();return y>>>1^-(y&1)}int64(){return Ae.dec(...this.varint64())}uint64(){return Ae.uDec(...this.varint64())}sint64(){let[y,x]=this.varint64(),j=-(y&1);return y=(y>>>1|(x&1)<<31)^j,x=x>>>1^j,Ae.dec(y,x)}bool(){let[y,x]=this.varint64();return y!==0||x!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Ae.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Ae.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let y=this.uint32(),x=this.pos;return this.pos+=y,this.assertBounds(),this.buf.subarray(x,x+y)}string(){return this.textDecoder.decode(this.bytes())}}function Ie($,y,x,j){let K;return{typeName:y,extendee:x,get field(){if(!K){const ke=typeof j=="function"?j():j;ke.name=y.split(".").pop(),ke.jsonName=`[${y}]`,K=$.util.newFieldList([ke]).list()[0]}return K},runtime:$}}function Be($){const y=$.field.localName,x=Object.create(null);return x[y]=we($),[x,()=>x[y]]}function we($){const y=$.field;if(y.repeated)return[];if(y.default!==void 0)return y.default;switch(y.kind){case"enum":return y.T.values[0].no;case"scalar":return ve(y.T,y.L);case"message":const x=y.T,j=new x;return x.fieldWrapper?x.fieldWrapper.unwrapField(j):j;case"map":throw"map fields are not allowed to be extensions"}}function je($,y){if(!y.repeated&&(y.kind=="enum"||y.kind=="scalar")){for(let x=$.length-1;x>=0;--x)if($[x].no==y.no)return[$[x]];return[]}return $.filter(x=>x.no===y.no)}let Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Re=[];for(let $=0;$Ne({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),N5t=e=>Ne({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),$5t=(e,t=!1)=>{var n,r;const i={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,l])=>{var u;i[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(u=l.palette)==null?void 0:u.mode}});let a=Ne({html:F5t(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:Ne({margin:0},N5t(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},i);const o=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return o&&(a=[a,o]),a};function z5t(e){const t=yr({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return zt(C.Fragment,{children:[me(xje,{styles:i=>$5t(i,r)}),n]})}const U5t=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],j5t=dn("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Ne({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),H5t=dn(Aje,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),q5t=C.forwardRef(function(t,n){var r,i,a,o,s,l;const u=yr({name:"MuiModal",props:t}),{BackdropComponent:c=H5t,BackdropProps:f,classes:d,className:h,closeAfterTransition:p=!1,children:g,component:b,components:m={},componentsProps:v={},disableAutoFocus:w=!1,disableEnforceFocus:k=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:T=!1,disableScrollLock:L=!1,hideBackdrop:M=!1,keepMounted:D=!1,slotProps:I,slots:B,theme:N}=u,O=Sn(u,U5t),[R,P]=C.useState(!0),H={closeAfterTransition:p,disableAutoFocus:w,disableEnforceFocus:k,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:T,disableScrollLock:L,hideBackdrop:M,keepMounted:D},F=Ne({},u,H,{exited:R}),q=(r=(i=B?.root)!=null?i:m.Root)!=null?r:j5t,V=(a=(o=B?.backdrop)!=null?o:m.Backdrop)!=null?a:c,X=(s=I?.root)!=null?s:v.root,G=(l=I?.backdrop)!=null?l:v.backdrop;return me(T_t,Ne({slots:{root:q,backdrop:V},slotProps:{root:()=>Ne({},Sae(X,F),!i_(q)&&{as:b,theme:N},{className:mn(h,X?.className,d?.root,!F.open&&F.exited&&d?.hidden)}),backdrop:()=>Ne({},f,Sae(G,F),{className:mn(G?.className,d?.backdrop)})},onTransitionEnter:()=>P(!1),onTransitionExited:()=>P(!0),ref:n},O,H,{children:g}))}),vde=q5t;function W5t(e){return xr("MuiDialog",e)}const G5t=Sr("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),bq=G5t,V5t=C.createContext({}),Dje=V5t,K5t=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],Y5t=dn(Aje,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),X5t=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e,o={root:["root"],container:["container",`scroll${_n(n)}`],paper:["paper",`paperScroll${_n(n)}`,`paperWidth${_n(String(r))}`,i&&"paperFullWidth",a&&"paperFullScreen"]};return Er(o,W5t,t)},J5t=dn(vde,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Z5t=dn("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${_n(n.scroll)}`]]}})(({ownerState:e})=>Ne({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),Q5t=dn(j2,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${_n(n.scroll)}`],t[`paperWidth${_n(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>Ne({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`${e.breakpoints.values.xs}${e.breakpoints.unit}`,[`&.${bq.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${bq.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${bq.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),e9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialog"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":o,"aria-labelledby":s,BackdropComponent:l,BackdropProps:u,children:c,className:f,disableEscapeKeyDown:d=!1,fullScreen:h=!1,fullWidth:p=!1,maxWidth:g="sm",onBackdropClick:b,onClose:m,open:v,PaperComponent:w=j2,PaperProps:k={},scroll:E="paper",TransitionComponent:S=_7,transitionDuration:T=a,TransitionProps:L}=r,M=Sn(r,K5t),D=Ne({},r,{disableEscapeKeyDown:d,fullScreen:h,fullWidth:p,maxWidth:g,scroll:E}),I=X5t(D),B=C.useRef(),N=H=>{B.current=H.target===H.currentTarget},O=H=>{B.current&&(B.current=null,b&&b(H),m&&m(H,"backdropClick"))},R=g7(s),P=C.useMemo(()=>({titleId:R}),[R]);return me(J5t,Ne({className:mn(I.root,f),closeAfterTransition:!0,components:{Backdrop:Y5t},componentsProps:{backdrop:Ne({transitionDuration:T,as:l},u)},disableEscapeKeyDown:d,onClose:m,open:v,ref:n,onClick:O,ownerState:D},M,{children:me(S,Ne({appear:!0,in:v,timeout:T,role:"presentation"},L,{children:me(Z5t,{className:mn(I.container),onMouseDown:N,ownerState:D,children:me(Q5t,Ne({as:w,elevation:24,role:"dialog","aria-describedby":o,"aria-labelledby":R},k,{className:mn(I.paper,k.className),ownerState:D,children:me(Dje.Provider,{value:P,children:c})}))})}))}))}),GC=e9t;function t9t(e){return xr("MuiDialogActions",e)}Sr("MuiDialogActions",["root","spacing"]);const n9t=["className","disableSpacing"],r9t=e=>{const{classes:t,disableSpacing:n}=e;return Er({root:["root",!n&&"spacing"]},t9t,t)},i9t=dn("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>Ne({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),a9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogActions"}),{className:i,disableSpacing:a=!1}=r,o=Sn(r,n9t),s=Ne({},r,{disableSpacing:a}),l=r9t(s);return me(i9t,Ne({className:mn(l.root,i),ownerState:s,ref:n},o))}),VC=a9t;function o9t(e){return xr("MuiDialogContent",e)}Sr("MuiDialogContent",["root","dividers"]);function s9t(e){return xr("MuiDialogTitle",e)}const l9t=Sr("MuiDialogTitle",["root"]),u9t=l9t,c9t=["className","dividers"],f9t=e=>{const{classes:t,dividers:n}=e;return Er({root:["root",n&&"dividers"]},o9t,t)},d9t=dn("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>Ne({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${u9t.root} + &`]:{paddingTop:0}})),h9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogContent"}),{className:i,dividers:a=!1}=r,o=Sn(r,c9t),s=Ne({},r,{dividers:a}),l=f9t(s);return me(d9t,Ne({className:mn(l.root,i),ownerState:s,ref:n},o))}),KC=h9t;function p9t(e){return xr("MuiDialogContentText",e)}Sr("MuiDialogContentText",["root"]);const g9t=["children","className"],m9t=e=>{const{classes:t}=e,r=Er({root:["root"]},p9t,t);return Ne({},t,r)},v9t=dn(La,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),y9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogContentText"}),{className:i}=r,a=Sn(r,g9t),o=m9t(a);return me(v9t,Ne({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:a,className:mn(o.root,i)},r,{classes:o}))}),FA=y9t,b9t=["className","id"],w9t=e=>{const{classes:t}=e;return Er({root:["root"]},s9t,t)},k9t=dn(La,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),_9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDialogTitle"}),{className:i,id:a}=r,o=Sn(r,b9t),s=r,l=w9t(s),{titleId:u=a}=C.useContext(Dje);return me(k9t,Ne({component:"h2",className:mn(l.root,i),ownerState:s,ref:n,variant:"h6",id:a??u},o))}),YC=_9t;function C9t(e){return xr("MuiDivider",e)}const E9t=Sr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),h4e=E9t,x9t=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],S9t=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:a,orientation:o,textAlign:s,variant:l}=e;return Er({root:["root",t&&"absolute",l,a&&"light",o==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&o==="vertical"&&"withChildrenVertical",s==="right"&&o!=="vertical"&&"textAlignRight",s==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},C9t,r)},A9t=dn("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Ne({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Li(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>Ne({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>Ne({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>Ne({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),T9t=dn("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Ne({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),D9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDivider"}),{absolute:i=!1,children:a,className:o,component:s=a?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth"}=r,p=Sn(r,x9t),g=Ne({},r,{absolute:i,component:s,flexItem:l,light:u,orientation:c,role:f,textAlign:d,variant:h}),b=S9t(g);return me(A9t,Ne({as:s,className:mn(b.root,o),role:f,ref:n,ownerState:g},p,{children:a?me(T9t,{className:b.wrapper,ownerState:g,children:a}):null}))}),l1=D9t,I9t=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function R9t(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=wh(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const u=a.getComputedStyle(t);o=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let s=0,l=0;if(o&&o!=="none"&&typeof o=="string"){const u=o.split("(")[1].split(")")[0].split(",");s=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${a.innerWidth+s-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${a.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function M9t(e){return typeof e=="function"?e():e}function GD(e,t,n){const r=M9t(n),i=R9t(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const O9t=C.forwardRef(function(t,n){const r=Df(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:l,container:u,direction:c="down",easing:f=i,in:d,onEnter:h,onEntered:p,onEntering:g,onExit:b,onExited:m,onExiting:v,style:w,timeout:k=a,TransitionComponent:E=k7}=t,S=Sn(t,I9t),T=C.useRef(null),L=co(l.ref,T,n),M=F=>q=>{F&&(q===void 0?F(T.current):F(T.current,q))},D=M((F,q)=>{GD(c,F,u),dde(F),h&&h(F,q)}),I=M((F,q)=>{const V=p2({timeout:k,style:w,easing:f},{mode:"enter"});F.style.webkitTransition=r.transitions.create("-webkit-transform",Ne({},V)),F.style.transition=r.transitions.create("transform",Ne({},V)),F.style.webkitTransform="none",F.style.transform="none",g&&g(F,q)}),B=M(p),N=M(v),O=M(F=>{const q=p2({timeout:k,style:w,easing:f},{mode:"exit"});F.style.webkitTransition=r.transitions.create("-webkit-transform",q),F.style.transition=r.transitions.create("transform",q),GD(c,F,u),b&&b(F)}),R=M(F=>{F.style.webkitTransition="",F.style.transition="",m&&m(F)}),P=F=>{o&&o(T.current,F)},H=C.useCallback(()=>{T.current&&GD(c,T.current,u)},[c,u]);return C.useEffect(()=>{if(d||c==="down"||c==="right")return;const F=i1(()=>{T.current&&GD(c,T.current,u)}),q=wh(T.current);return q.addEventListener("resize",F),()=>{F.clear(),q.removeEventListener("resize",F)}},[c,d,u]),C.useEffect(()=>{d||H()},[d,H]),me(E,Ne({nodeRef:T,onEnter:D,onEntered:B,onEntering:I,onExit:O,onExited:R,onExiting:N,addEndListener:P,appear:s,in:d,timeout:k},S,{children:(F,q)=>C.cloneElement(l,Ne({ref:L,style:Ne({visibility:F==="exited"&&!d?"hidden":void 0},w,l.props.style)},q))}))}),L9t=O9t;function B9t(e){return xr("MuiDrawer",e)}Sr("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const P9t=["BackdropProps"],F9t=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ije=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},N9t=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${_n(n)}`,r!=="temporary"&&`paperAnchorDocked${_n(n)}`]};return Er(i,B9t,t)},$9t=dn(vde,{name:"MuiDrawer",slot:"Root",overridesResolver:Ije})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),p4e=dn("div",{shouldForwardProp:gd,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ije})({flex:"0 0 auto"}),z9t=dn(j2,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${_n(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${_n(n.anchor)}`]]}})(({theme:e,ownerState:t})=>Ne({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Rje={left:"right",right:"left",top:"down",bottom:"up"};function U9t(e){return["left","right"].indexOf(e)!==-1}function j9t(e,t){return e.direction==="rtl"&&U9t(t)?Rje[t]:t}const H9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiDrawer"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:o="left",BackdropProps:s,children:l,className:u,elevation:c=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:d}={},onClose:h,open:p=!1,PaperProps:g={},SlideProps:b,TransitionComponent:m=L9t,transitionDuration:v=a,variant:w="temporary"}=r,k=Sn(r.ModalProps,P9t),E=Sn(r,F9t),S=C.useRef(!1);C.useEffect(()=>{S.current=!0},[]);const T=j9t(i,o),M=Ne({},r,{anchor:o,elevation:c,open:p,variant:w},E),D=N9t(M),I=me(z9t,Ne({elevation:w==="temporary"?c:0,square:!0},g,{className:mn(D.paper,g.className),ownerState:M,children:l}));if(w==="permanent")return me(p4e,Ne({className:mn(D.root,D.docked,u),ownerState:M,ref:n},E,{children:I}));const B=me(m,Ne({in:p,direction:Rje[T],timeout:v,appear:S.current},b,{children:I}));return w==="persistent"?me(p4e,Ne({className:mn(D.root,D.docked,u),ownerState:M,ref:n},E,{children:B})):me($9t,Ne({BackdropProps:Ne({},s,d,{transitionDuration:v}),className:mn(D.root,D.modal,u),open:p,ownerState:M,onClose:h,hideBackdrop:f,ref:n},E,k,{children:B}))}),q9t=H9t,W9t=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],G9t=e=>{const{classes:t,disableUnderline:n}=e,i=Er({root:["root",!n&&"underline"],input:["input"]},REt,t);return Ne({},t,i)},V9t=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...a$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return Ne({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${tb.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${tb.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${tb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${tb.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${tb.disabled}, .${tb.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${tb.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Ne({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),K9t=dn(l$,{name:"MuiFilledInput",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>Ne({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Mje=C.forwardRef(function(t,n){var r,i,a,o;const s=yr({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:f="input",multiline:d=!1,slotProps:h,slots:p={},type:g="text"}=s,b=Sn(s,W9t),m=Ne({},s,{fullWidth:c,inputComponent:f,multiline:d,type:g}),v=G9t(s),w={root:{ownerState:m},input:{ownerState:m}},k=h??u?hh(h??u,w):w,E=(r=(i=p.root)!=null?i:l.Root)!=null?r:V9t,S=(a=(o=p.input)!=null?o:l.Input)!=null?a:K9t;return me(mde,Ne({slots:{root:E,input:S},componentsProps:k,fullWidth:c,inputComponent:f,multiline:d,ref:n,type:g},b,{classes:v}))});Mje.muiName="Input";const Oje=Mje;function Y9t(e){return xr("MuiFormControl",e)}Sr("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const X9t=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],J9t=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${_n(n)}`,r&&"fullWidth"]};return Er(i,Y9t,t)},Z9t=dn("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Ne({},t.root,t[`margin${_n(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>Ne({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),Q9t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormControl"}),{children:i,className:a,color:o="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:g="medium",variant:b="outlined"}=r,m=Sn(r,X9t),v=Ne({},r,{color:o,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:g,variant:b}),w=J9t(v),[k,E]=C.useState(()=>{let N=!1;return i&&C.Children.forEach(i,O=>{if(!CS(O,["Input","Select"]))return;const R=CS(O,["Select"])?O.props.input:O;R&&wEt(R.props)&&(N=!0)}),N}),[S,T]=C.useState(()=>{let N=!1;return i&&C.Children.forEach(i,O=>{CS(O,["Input","Select"])&&gde(O.props,!0)&&(N=!0)}),N}),[L,M]=C.useState(!1);l&&L&&M(!1);const D=c!==void 0&&!l?c:L;let I;const B=C.useMemo(()=>({adornedStart:k,setAdornedStart:E,color:o,disabled:l,error:u,filled:S,focused:D,fullWidth:f,hiddenLabel:d,size:g,onBlur:()=>{M(!1)},onEmpty:()=>{T(!1)},onFilled:()=>{T(!0)},onFocus:()=>{M(!0)},registerEffect:I,required:p,variant:b}),[k,o,l,u,S,D,f,d,I,p,g,b]);return me(pde.Provider,{value:B,children:me(Z9t,Ne({as:s,ownerState:v,className:mn(w.root,a),ref:n},m,{children:i}))})}),Dv=Q9t;function ext(e){return xr("MuiFormHelperText",e)}const txt=Sr("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),g4e=txt;var m4e;const nxt=["children","className","component","disabled","error","filled","focused","margin","required","variant"],rxt=e=>{const{classes:t,contained:n,size:r,disabled:i,error:a,filled:o,focused:s,required:l}=e,u={root:["root",i&&"disabled",a&&"error",r&&`size${_n(r)}`,n&&"contained",s&&"focused",o&&"filled",l&&"required"]};return Er(u,ext,t)},ixt=dn("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${_n(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>Ne({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g4e.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${g4e.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),axt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormHelperText"}),{children:i,className:a,component:o="p"}=r,s=Sn(r,nxt),l=g3(),u=p3({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=Ne({},r,{component:o,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=rxt(c);return me(ixt,Ne({as:o,ownerState:c,className:mn(f.root,a),ref:n},s,{children:i===" "?m4e||(m4e=me("span",{className:"notranslate",children:"​"})):i}))}),oxt=axt;function sxt(e){return xr("MuiFormLabel",e)}const lxt=Sr("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),DS=lxt,uxt=["children","className","color","component","disabled","error","filled","focused","required"],cxt=e=>{const{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e,l={root:["root",`color${_n(n)}`,i&&"disabled",a&&"error",o&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return Er(l,sxt,t)},fxt=dn("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>Ne({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>Ne({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${DS.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${DS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${DS.error}`]:{color:(e.vars||e).palette.error.main}})),dxt=dn("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${DS.error}`]:{color:(e.vars||e).palette.error.main}})),hxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiFormLabel"}),{children:i,className:a,component:o="label"}=r,s=Sn(r,uxt),l=g3(),u=p3({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=Ne({},r,{color:u.color||"primary",component:o,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=cxt(c);return zt(fxt,Ne({as:o,ownerState:c,className:mn(f.root,a),ref:n},s,{children:[i,u.required&&zt(dxt,{ownerState:c,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),pxt=hxt,gxt=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Oae(e){return`scale(${e}, ${e**2})`}const mxt={entering:{opacity:1,transform:Oae(1)},entered:{opacity:1,transform:"none"}},wq=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Lje=C.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:a,easing:o,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:h,style:p,timeout:g="auto",TransitionComponent:b=k7}=t,m=Sn(t,gxt),v=C.useRef(),w=C.useRef(),k=Df(),E=C.useRef(null),S=co(E,a.ref,n),T=R=>P=>{if(R){const H=E.current;P===void 0?R(H):R(H,P)}},L=T(c),M=T((R,P)=>{dde(R);const{duration:H,delay:F,easing:q}=p2({style:p,timeout:g,easing:o},{mode:"enter"});let V;g==="auto"?(V=k.transitions.getAutoHeightDuration(R.clientHeight),w.current=V):V=H,R.style.transition=[k.transitions.create("opacity",{duration:V,delay:F}),k.transitions.create("transform",{duration:wq?V:V*.666,delay:F,easing:q})].join(","),l&&l(R,P)}),D=T(u),I=T(h),B=T(R=>{const{duration:P,delay:H,easing:F}=p2({style:p,timeout:g,easing:o},{mode:"exit"});let q;g==="auto"?(q=k.transitions.getAutoHeightDuration(R.clientHeight),w.current=q):q=P,R.style.transition=[k.transitions.create("opacity",{duration:q,delay:H}),k.transitions.create("transform",{duration:wq?q:q*.666,delay:wq?H:H||q*.333,easing:F})].join(","),R.style.opacity=0,R.style.transform=Oae(.75),f&&f(R)}),N=T(d),O=R=>{g==="auto"&&(v.current=setTimeout(R,w.current||0)),r&&r(E.current,R)};return C.useEffect(()=>()=>{clearTimeout(v.current)},[]),me(b,Ne({appear:i,in:s,nodeRef:E,onEnter:M,onEntered:D,onEntering:L,onExit:B,onExited:N,onExiting:I,addEndListener:O,timeout:g==="auto"?null:g},m,{children:(R,P)=>C.cloneElement(a,Ne({style:Ne({opacity:0,transform:Oae(.75),visibility:R==="exited"&&!s?"hidden":void 0},mxt[R],p,a.props.style),ref:S},P))}))});Lje.muiSupportAuto=!0;const FL=Lje,vxt=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],yxt=e=>{const{classes:t,disableUnderline:n}=e,i=Er({root:["root",!n&&"underline"],input:["input"]},AEt,t);return Ne({},t,i)},bxt=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...a$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),Ne({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${M5.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${M5.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${M5.disabled}, .${M5.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${M5.disabled}:before`]:{borderBottomStyle:"dotted"}})}),wxt=dn(l$,{name:"MuiInput",slot:"Input",overridesResolver:o$})({}),Bje=C.forwardRef(function(t,n){var r,i,a,o;const s=yr({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:f=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:g={},type:b="text"}=s,m=Sn(s,vxt),v=yxt(s),k={root:{ownerState:{disableUnderline:l}}},E=p??c?hh(p??c,k):k,S=(r=(i=g.root)!=null?i:u.Root)!=null?r:bxt,T=(a=(o=g.input)!=null?o:u.Input)!=null?a:wxt;return me(mde,Ne({slots:{root:S,input:T},slotProps:E,fullWidth:f,inputComponent:d,multiline:h,ref:n,type:b},m,{classes:v}))});Bje.muiName="Input";const XC=Bje;function kxt(e){return xr("MuiInputLabel",e)}Sr("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const _xt=["disableAnimation","margin","shrink","variant","className"],Cxt=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,u=Er({root:["root",n&&"formControl",!a&&"animated",i&&"shrink",r==="small"&&"sizeSmall",o],asterisk:[s&&"asterisk"]},kxt,t);return Ne({},t,u)},Ext=dn(pxt,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${DS.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>Ne({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&Ne({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Ne({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&Ne({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),xxt=C.forwardRef(function(t,n){const r=yr({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:a,className:o}=r,s=Sn(r,_xt),l=g3();let u=a;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=p3({props:r,muiFormControl:l,states:["size","variant","required"]}),f=Ne({},r,{disableAnimation:i,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required}),d=Cxt(f);return me(Ext,Ne({"data-shrink":u,ownerState:f,ref:n,className:mn(d.root,o)},s,{classes:d}))}),Sxt=xxt,Axt=C.createContext({}),A0=Axt;function Txt(e){return xr("MuiList",e)}Sr("MuiList",["root","padding","dense","subheader"]);const Dxt=["children","className","component","dense","disablePadding","subheader"],Ixt=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Er({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},Txt,t)},Rxt=dn("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Ne({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Mxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiList"}),{children:i,className:a,component:o="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=r,c=Sn(r,Dxt),f=C.useMemo(()=>({dense:s}),[s]),d=Ne({},r,{component:o,dense:s,disablePadding:l}),h=Ixt(d);return me(A0.Provider,{value:f,children:zt(Rxt,Ne({as:o,className:mn(h.root,a),ref:n,ownerState:d},c,{children:[u,i]}))})}),g2=Mxt;function Oxt(e){return xr("MuiListItem",e)}const Lxt=Sr("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Sk=Lxt;function Bxt(e){return xr("MuiListItemButton",e)}const Pxt=Sr("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Ak=Pxt,Fxt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Nxt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},$xt=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:a,divider:o,selected:s}=e,u=Er({root:["root",r&&"dense",!a&&"gutters",o&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},Bxt,n);return Ne({},n,u)},zxt=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Nxt})(({theme:e,ownerState:t})=>Ne({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ak.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ak.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ak.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ak.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ak.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Uxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:o="div",children:s,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:f,selected:d=!1,className:h}=r,p=Sn(r,Fxt),g=C.useContext(A0),b=C.useMemo(()=>({dense:l||g.dense||!1,alignItems:i,disableGutters:u}),[i,g.dense,l,u]),m=C.useRef(null);Sf(()=>{a&&m.current&&m.current.focus()},[a]);const v=Ne({},r,{alignItems:i,dense:b.dense,disableGutters:u,divider:c,selected:d}),w=$xt(v),k=co(m,n);return me(A0.Provider,{value:b,children:me(zxt,Ne({ref:k,href:p.href||p.to,component:(p.href||p.to)&&o==="div"?"a":o,focusVisibleClassName:mn(w.focusVisible,f),ownerState:v,className:mn(w.root,h)},p,{classes:w,children:s}))})}),IS=Uxt;function jxt(e){return xr("MuiListItemSecondaryAction",e)}Sr("MuiListItemSecondaryAction",["root","disableGutters"]);const Hxt=["className"],qxt=e=>{const{disableGutters:t,classes:n}=e;return Er({root:["root",t&&"disableGutters"]},jxt,n)},Wxt=dn("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>Ne({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),Pje=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=r,a=Sn(r,Hxt),o=C.useContext(A0),s=Ne({},r,{disableGutters:o.disableGutters}),l=qxt(s);return me(Wxt,Ne({className:mn(l.root,i),ownerState:s,ref:n},a))});Pje.muiName="ListItemSecondaryAction";const Gxt=Pje,Vxt=["className"],Kxt=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Yxt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},Xxt=e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:a,disableGutters:o,disablePadding:s,divider:l,hasSecondaryAction:u,selected:c}=e;return Er({root:["root",i&&"dense",!o&&"gutters",!s&&"padding",l&&"divider",a&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},Oxt,r)},Jxt=dn("div",{name:"MuiListItem",slot:"Root",overridesResolver:Yxt})(({theme:e,ownerState:t})=>Ne({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Ne({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Ak.root}`]:{paddingRight:48}},{[`&.${Sk.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sk.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sk.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sk.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Sk.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Zxt=dn("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Qxt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:a=!1,button:o=!1,children:s,className:l,component:u,components:c={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:h}={},dense:p=!1,disabled:g=!1,disableGutters:b=!1,disablePadding:m=!1,divider:v=!1,focusVisibleClassName:w,secondaryAction:k,selected:E=!1,slotProps:S={},slots:T={}}=r,L=Sn(r.ContainerProps,Vxt),M=Sn(r,Kxt),D=C.useContext(A0),I=C.useMemo(()=>({dense:p||D.dense||!1,alignItems:i,disableGutters:b}),[i,D.dense,p,b]),B=C.useRef(null);Sf(()=>{a&&B.current&&B.current.focus()},[a]);const N=C.Children.toArray(s),O=N.length&&CS(N[N.length-1],["ListItemSecondaryAction"]),R=Ne({},r,{alignItems:i,autoFocus:a,button:o,dense:I.dense,disabled:g,disableGutters:b,disablePadding:m,divider:v,hasSecondaryAction:O,selected:E}),P=Xxt(R),H=co(B,n),F=T.root||c.Root||Jxt,q=S.root||f.root||{},V=Ne({className:mn(P.root,q.className,l),disabled:g},M);let X=u||"li";return o&&(V.component=u||"div",V.focusVisibleClassName=mn(Sk.focusVisible,w),X=s1),O?(X=!V.component&&!u?"div":X,d==="li"&&(X==="li"?X="div":V.component==="li"&&(V.component="div")),me(A0.Provider,{value:I,children:zt(Zxt,Ne({as:d,className:mn(P.container,h),ref:H,ownerState:R},L,{children:[me(F,Ne({},q,!i_(F)&&{as:X,ownerState:Ne({},R,q.ownerState)},V,{children:N})),N.pop()]}))})):me(A0.Provider,{value:I,children:zt(F,Ne({},q,{as:X,ref:H},!i_(F)&&{ownerState:Ne({},R,q.ownerState)},V,{children:[N,k&&me(Gxt,{children:k})]}))})}),JC=Qxt;function eSt(e){return xr("MuiListItemIcon",e)}const tSt=Sr("MuiListItemIcon",["root","alignItemsFlexStart"]),v4e=tSt,nSt=["className"],rSt=e=>{const{alignItems:t,classes:n}=e;return Er({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},eSt,n)},iSt=dn("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Ne({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),aSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemIcon"}),{className:i}=r,a=Sn(r,nSt),o=C.useContext(A0),s=Ne({},r,{alignItems:o.alignItems}),l=rSt(s);return me(iSt,Ne({className:mn(l.root,i),ownerState:s,ref:n},a))}),Ps=aSt;function oSt(e){return xr("MuiListItemText",e)}const sSt=Sr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),NL=sSt,lSt=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],uSt=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;return Er({root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},oSt,t)},cSt=dn("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${NL.primary}`]:t.primary},{[`& .${NL.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Ne({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),fSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiListItemText"}),{children:i,className:a,disableTypography:o=!1,inset:s=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:f}=r,d=Sn(r,lSt),{dense:h}=C.useContext(A0);let p=l??i,g=c;const b=Ne({},r,{disableTypography:o,inset:s,primary:!!p,secondary:!!g,dense:h}),m=uSt(b);return p!=null&&p.type!==La&&!o&&(p=me(La,Ne({variant:h?"body2":"body1",className:m.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:p}))),g!=null&&g.type!==La&&!o&&(g=me(La,Ne({variant:"body2",className:m.secondary,color:"text.secondary",display:"block"},f,{children:g}))),zt(cSt,Ne({className:mn(m.root,a),ownerState:b,ref:n},d,{children:[p,g]}))}),Va=fSt,dSt=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function kq(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function y4e(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Fje(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function O5(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!Fje(s,a)||l)s=i(e,s,n);else return s.focus(),!0}return!1}const hSt=C.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:a=!1,children:o,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu"}=t,d=Sn(t,dSt),h=C.useRef(null),p=C.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sf(()=>{i&&h.current.focus()},[i]),C.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,k)=>{const E=!h.current.style.width;if(w.clientHeight{const k=h.current,E=w.key,S=hl(k).activeElement;if(E==="ArrowDown")w.preventDefault(),O5(k,S,u,l,kq);else if(E==="ArrowUp")w.preventDefault(),O5(k,S,u,l,y4e);else if(E==="Home")w.preventDefault(),O5(k,null,u,l,kq);else if(E==="End")w.preventDefault(),O5(k,null,u,l,y4e);else if(E.length===1){const T=p.current,L=E.toLowerCase(),M=performance.now();T.keys.length>0&&(M-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&L!==T.keys[0]&&(T.repeating=!1)),T.lastTime=M,T.keys.push(L);const D=S&&!T.repeating&&Fje(S,T);T.previousKeyMatched&&(D||O5(k,S,!1,l,kq,T))?w.preventDefault():T.previousKeyMatched=!1}c&&c(w)},b=co(h,n);let m=-1;C.Children.forEach(o,(w,k)=>{C.isValidElement(w)&&(w.props.disabled||(f==="selectedMenu"&&w.props.selected||m===-1)&&(m=k),m===k&&(w.props.disabled||w.props.muiSkipListHighlight||w.type.muiSkipListHighlight)&&(m+=1,m>=o.length&&(m=-1)))});const v=C.Children.map(o,(w,k)=>{if(k===m){const E={};return a&&(E.autoFocus=!0),w.props.tabIndex===void 0&&f==="selectedMenu"&&(E.tabIndex=0),C.cloneElement(w,E)}return w});return me(g2,Ne({role:"menu",ref:b,className:s,onKeyDown:g,tabIndex:i?0:-1},d,{children:v}))}),yde=hSt;function pSt(e){return xr("MuiPopover",e)}Sr("MuiPopover",["root","paper"]);const gSt=["onEntering"],mSt=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function b4e(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function w4e(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function k4e(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function _q(e){return typeof e=="function"?e():e}const vSt=e=>{const{classes:t}=e;return Er({root:["root"],paper:["paper"]},pSt,t)},ySt=dn(vde,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bSt=dn(j2,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),wSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:o={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:u,className:c,container:f,elevation:d=8,marginThreshold:h=16,open:p,PaperProps:g={},transformOrigin:b={vertical:"top",horizontal:"left"},TransitionComponent:m=FL,transitionDuration:v="auto",TransitionProps:{onEntering:w}={}}=r,k=Sn(r.TransitionProps,gSt),E=Sn(r,mSt),S=C.useRef(),T=co(S,g.ref),L=Ne({},r,{anchorOrigin:o,anchorReference:l,elevation:d,marginThreshold:h,PaperProps:g,transformOrigin:b,TransitionComponent:m,transitionDuration:v,TransitionProps:k}),M=vSt(L),D=C.useCallback(()=>{if(l==="anchorPosition")return s;const V=_q(a),G=(V&&V.nodeType===1?V:hl(S.current).body).getBoundingClientRect();return{top:G.top+b4e(G,o.vertical),left:G.left+w4e(G,o.horizontal)}},[a,o.horizontal,o.vertical,s,l]),I=C.useCallback(V=>({vertical:b4e(V,b.vertical),horizontal:w4e(V,b.horizontal)}),[b.horizontal,b.vertical]),B=C.useCallback(V=>{const X={width:V.offsetWidth,height:V.offsetHeight},G=I(X);if(l==="none")return{top:null,left:null,transformOrigin:k4e(G)};const J=D();let te=J.top-G.vertical,re=J.left-G.horizontal;const Q=te+X.height,ae=re+X.width,le=wh(_q(a)),oe=le.innerHeight-h,ee=le.innerWidth-h;if(teoe){const ne=Q-oe;te-=ne,G.vertical+=ne}if(reee){const ne=ae-ee;re-=ne,G.horizontal+=ne}return{top:`${Math.round(te)}px`,left:`${Math.round(re)}px`,transformOrigin:k4e(G)}},[a,l,D,I,h]),[N,O]=C.useState(p),R=C.useCallback(()=>{const V=S.current;if(!V)return;const X=B(V);X.top!==null&&(V.style.top=X.top),X.left!==null&&(V.style.left=X.left),V.style.transformOrigin=X.transformOrigin,O(!0)},[B]),P=(V,X)=>{w&&w(V,X),R()},H=()=>{O(!1)};C.useEffect(()=>{p&&R()}),C.useImperativeHandle(i,()=>p?{updatePosition:()=>{R()}}:null,[p,R]),C.useEffect(()=>{if(!p)return;const V=i1(()=>{R()}),X=wh(a);return X.addEventListener("resize",V),()=>{V.clear(),X.removeEventListener("resize",V)}},[a,p,R]);let F=v;v==="auto"&&!m.muiSupportAuto&&(F=void 0);const q=f||(a?hl(_q(a)).body:void 0);return me(ySt,Ne({BackdropProps:{invisible:!0},className:mn(M.root,c),container:q,open:p,ref:n,ownerState:L},E,{children:me(m,Ne({appear:!0,in:p,onEntering:P,onExited:H,timeout:F},k,{children:me(bSt,Ne({elevation:d},g,{ref:T,className:mn(M.paper,g.className)},N?void 0:{style:Ne({},g.style,{opacity:0})},{ownerState:L,children:u}))}))}))}),H2=wSt;function kSt(e){return xr("MuiMenu",e)}Sr("MuiMenu",["root","paper","list"]);const _St=["onEntering"],CSt=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],ESt={vertical:"top",horizontal:"right"},xSt={vertical:"top",horizontal:"left"},SSt=e=>{const{classes:t}=e;return Er({root:["root"],paper:["paper"],list:["list"]},kSt,t)},ASt=dn(H2,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),TSt=dn(j2,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),DSt=dn(yde,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),ISt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:l,open:u,PaperProps:c={},PopoverClasses:f,transitionDuration:d="auto",TransitionProps:{onEntering:h}={},variant:p="selectedMenu"}=r,g=Sn(r.TransitionProps,_St),b=Sn(r,CSt),m=Df(),v=m.direction==="rtl",w=Ne({},r,{autoFocus:i,disableAutoFocusItem:o,MenuListProps:s,onEntering:h,PaperProps:c,transitionDuration:d,TransitionProps:g,variant:p}),k=SSt(w),E=i&&!o&&u,S=C.useRef(null),T=(D,I)=>{S.current&&S.current.adjustStyleForScrollbar(D,m),h&&h(D,I)},L=D=>{D.key==="Tab"&&(D.preventDefault(),l&&l(D,"tabKeyDown"))};let M=-1;return C.Children.map(a,(D,I)=>{C.isValidElement(D)&&(D.props.disabled||(p==="selectedMenu"&&D.props.selected||M===-1)&&(M=I))}),me(ASt,Ne({onClose:l,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?ESt:xSt,PaperProps:Ne({as:TSt},c,{classes:Ne({},c.classes,{root:k.paper})}),className:k.root,open:u,ref:n,transitionDuration:d,TransitionProps:Ne({onEntering:T},g),ownerState:w},b,{classes:f,children:me(DSt,Ne({onKeyDown:L,actions:S,autoFocus:i&&(M===-1||o),autoFocusItem:E,variant:p},s,{className:mn(k.list,s.className),children:a}))}))}),um=ISt;function RSt(e){return xr("MuiMenuItem",e)}const MSt=Sr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),L5=MSt,OSt=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],LSt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},BSt=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:o}=e,l=Er({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},RSt,o);return Ne({},o,l)},PSt=dn(s1,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:LSt})(({theme:e,ownerState:t})=>Ne({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${L5.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${L5.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${L5.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Li(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Li(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${L5.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${L5.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h4e.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h4e.inset}`]:{marginLeft:52},[`& .${NL.root}`]:{marginTop:0,marginBottom:0},[`& .${NL.inset}`]:{paddingLeft:36},[`& .${v4e.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Ne({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${v4e.root} svg`]:{fontSize:"1.25rem"}}))),FSt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:o=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:f,className:d}=r,h=Sn(r,OSt),p=C.useContext(A0),g=C.useMemo(()=>({dense:o||p.dense||!1,disableGutters:l}),[p.dense,o,l]),b=C.useRef(null);Sf(()=>{i&&b.current&&b.current.focus()},[i]);const m=Ne({},r,{dense:g.dense,divider:s,disableGutters:l}),v=BSt(r),w=co(b,n);let k;return r.disabled||(k=f!==void 0?f:-1),me(A0.Provider,{value:g,children:me(PSt,Ne({ref:w,role:c,tabIndex:k,component:a,focusVisibleClassName:mn(v.focusVisible,u),className:mn(v.root,d)},h,{ownerState:m,classes:v}))})}),Tl=FSt;function Nje(e){return xr("MuiNativeSelect",e)}const NSt=Sr("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),bde=NSt,$St=["className","disabled","IconComponent","inputRef","variant"],zSt=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${_n(n)}`,a&&"iconOpen",r&&"disabled"]};return Er(o,Nje,t)},$je=({ownerState:e,theme:t})=>Ne({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":Ne({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${bde.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),USt=dn("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:gd,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${bde.multiple}`]:t.multiple}]}})($je),zje=({ownerState:e,theme:t})=>Ne({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${bde.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),jSt=dn("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_n(n.variant)}`],n.open&&t.iconOpen]}})(zje),HSt=C.forwardRef(function(t,n){const{className:r,disabled:i,IconComponent:a,inputRef:o,variant:s="standard"}=t,l=Sn(t,$St),u=Ne({},t,{disabled:i,variant:s}),c=zSt(u);return zt(C.Fragment,{children:[me(USt,Ne({ownerState:u,className:mn(c.select,r),disabled:i,ref:o||n},l)),t.multiple?null:me(jSt,{as:a,ownerState:u,className:c.icon})]})}),Uje=HSt,qSt=["className","children","classes","IconComponent","input","inputProps","variant"],WSt=["root"],GSt=e=>{const{classes:t}=e;return Er({root:["root"]},Nje,t)},VSt=me(XC,{}),jje=C.forwardRef(function(t,n){const r=yr({name:"MuiNativeSelect",props:t}),{className:i,children:a,classes:o={},IconComponent:s=Sje,input:l=VSt,inputProps:u}=r,c=Sn(r,qSt),f=g3(),d=p3({props:r,muiFormControl:f,states:["variant"]}),h=Ne({},r,{classes:o}),p=GSt(h),g=Sn(o,WSt);return me(C.Fragment,{children:C.cloneElement(l,Ne({inputComponent:Uje,inputProps:Ne({children:a,classes:g,IconComponent:s,variant:d.variant,type:void 0},u,l?l.props.inputProps:{}),ref:n},c,{className:mn(p.root,l.props.className,i)}))})});jje.muiName="Select";const aO=jje;var _4e;const KSt=["children","classes","className","label","notched"],YSt=dn("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),XSt=dn("legend")(({ownerState:e,theme:t})=>Ne({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Ne({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function JSt(e){const{className:t,label:n,notched:r}=e,i=Sn(e,KSt),a=n!=null&&n!=="",o=Ne({},e,{notched:r,withLabel:a});return me(YSt,Ne({"aria-hidden":!0,className:t,ownerState:o},i,{children:me(XSt,{ownerState:o,children:a?me("span",{children:n}):_4e||(_4e=me("span",{className:"notranslate",children:"​"}))})}))}const ZSt=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],QSt=e=>{const{classes:t}=e,r=Er({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},DEt,t);return Ne({},t,r)},eAt=dn(s$,{shouldForwardProp:e=>gd(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:a$})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Ne({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Vm.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Vm.focused} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Vm.error} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Vm.disabled} .${Vm.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Ne({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),tAt=dn(JSt,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),nAt=dn(l$,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:o$})(({theme:e,ownerState:t})=>Ne({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),Hje=C.forwardRef(function(t,n){var r,i,a,o,s;const l=yr({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:f="input",label:d,multiline:h=!1,notched:p,slots:g={},type:b="text"}=l,m=Sn(l,ZSt),v=QSt(l),w=g3(),k=p3({props:l,muiFormControl:w,states:["required"]}),E=Ne({},l,{color:k.color||"primary",disabled:k.disabled,error:k.error,focused:k.focused,formControl:w,fullWidth:c,hiddenLabel:k.hiddenLabel,multiline:h,size:k.size,type:b}),S=(r=(i=g.root)!=null?i:u.Root)!=null?r:eAt,T=(a=(o=g.input)!=null?o:u.Input)!=null?a:nAt;return me(mde,Ne({slots:{root:S,input:T},renderSuffix:L=>me(tAt,{ownerState:E,className:v.notchedOutline,label:d!=null&&d!==""&&k.required?s||(s=zt(C.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(L.startAdornment||L.filled||L.focused)}),fullWidth:c,inputComponent:f,multiline:h,ref:n,type:b},m,{classes:Ne({},v,{notchedOutline:null})}))});Hje.muiName="Input";const qje=Hje;function rAt(e){return xr("MuiSelect",e)}const iAt=Sr("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),VD=iAt;var C4e;const aAt=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],oAt=dn("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${VD.select}`]:t.select},{[`&.${VD.select}`]:t[n.variant]},{[`&.${VD.multiple}`]:t.multiple}]}})($je,{[`&.${VD.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),sAt=dn("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${_n(n.variant)}`],n.open&&t.iconOpen]}})(zje),lAt=dn("input",{shouldForwardProp:e=>Bkt(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function E4e(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function uAt(e){return e==null||typeof e=="string"&&!e.trim()}const cAt=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${_n(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Er(o,rAt,t)},fAt=C.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:a,autoWidth:o,children:s,className:l,defaultOpen:u,defaultValue:c,disabled:f,displayEmpty:d,IconComponent:h,inputRef:p,labelId:g,MenuProps:b={},multiple:m,name:v,onBlur:w,onChange:k,onClose:E,onFocus:S,onOpen:T,open:L,readOnly:M,renderValue:D,SelectDisplayProps:I={},tabIndex:B,value:N,variant:O="standard"}=t,R=Sn(t,aAt),[P,H]=kh({controlled:N,default:c,name:"Select"}),[F,q]=kh({controlled:L,default:u,name:"Select"}),V=C.useRef(null),X=C.useRef(null),[G,J]=C.useState(null),{current:te}=C.useRef(L!=null),[re,Q]=C.useState(),ae=co(n,p),le=C.useCallback(fe=>{X.current=fe,fe&&J(fe)},[]),oe=G?.parentNode;C.useImperativeHandle(ae,()=>({focus:()=>{X.current.focus()},node:V.current,value:P}),[P]),C.useEffect(()=>{u&&F&&G&&!te&&(Q(o?null:oe.clientWidth),X.current.focus())},[G,o]),C.useEffect(()=>{a&&X.current.focus()},[a]),C.useEffect(()=>{if(!g)return;const fe=hl(X.current).getElementById(g);if(fe){const de=()=>{getSelection().isCollapsed&&X.current.focus()};return fe.addEventListener("click",de),()=>{fe.removeEventListener("click",de)}}},[g]);const ee=(fe,de)=>{fe?T&&T(de):E&&E(de),te||(Q(o?null:oe.clientWidth),q(fe))},ne=fe=>{fe.button===0&&(fe.preventDefault(),X.current.focus(),ee(!0,fe))},ue=fe=>{ee(!1,fe)},Ae=C.Children.toArray(s),ce=fe=>{const de=Ae.map(Ye=>Ye.props.value).indexOf(fe.target.value);if(de===-1)return;const xe=Ae[de];H(xe.props.value),k&&k(fe,xe)},be=fe=>de=>{let xe;if(de.currentTarget.hasAttribute("tabindex")){if(m){xe=Array.isArray(P)?P.slice():[];const Ye=P.indexOf(fe.props.value);Ye===-1?xe.push(fe.props.value):xe.splice(Ye,1)}else xe=fe.props.value;if(fe.props.onClick&&fe.props.onClick(de),P!==xe&&(H(xe),k)){const Ye=de.nativeEvent||de,Ze=new Ye.constructor(Ye.type,Ye);Object.defineProperty(Ze,"target",{writable:!0,value:{value:xe,name:v}}),k(Ze,fe)}m||ee(!1,de)}},ge=fe=>{M||[" ","ArrowUp","ArrowDown","Enter"].indexOf(fe.key)!==-1&&(fe.preventDefault(),ee(!0,fe))},ve=G!==null&&F,ie=fe=>{!ve&&w&&(Object.defineProperty(fe,"target",{writable:!0,value:{value:P,name:v}}),w(fe))};delete R["aria-invalid"];let he,$e;const De=[];let Ie=!1;(gde({value:P})||d)&&(D?he=D(P):Ie=!0);const Be=Ae.map(fe=>{if(!C.isValidElement(fe))return null;let de;if(m){if(!Array.isArray(P))throw new Error(h2(2));de=P.some(xe=>E4e(xe,fe.props.value)),de&&Ie&&De.push(fe.props.children)}else de=E4e(P,fe.props.value),de&&Ie&&($e=fe.props.children);return C.cloneElement(fe,{"aria-selected":de?"true":"false",onClick:be(fe),onKeyUp:xe=>{xe.key===" "&&xe.preventDefault(),fe.props.onKeyUp&&fe.props.onKeyUp(xe)},role:"option",selected:de,value:void 0,"data-value":fe.props.value})});Ie&&(m?De.length===0?he=null:he=De.reduce((fe,de,xe)=>(fe.push(de),xe{const{classes:t}=e;return t},wde={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>gd(e)&&e!=="variant",slot:"Root"},gAt=dn(XC,wde)(""),mAt=dn(qje,wde)(""),vAt=dn(Oje,wde)(""),Wje=C.forwardRef(function(t,n){const r=yr({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:o={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=Sje,id:f,input:d,inputProps:h,label:p,labelId:g,MenuProps:b,multiple:m=!1,native:v=!1,onClose:w,onOpen:k,open:E,renderValue:S,SelectDisplayProps:T,variant:L="outlined"}=r,M=Sn(r,hAt),D=v?Uje:dAt,I=g3(),N=p3({props:r,muiFormControl:I,states:["variant"]}).variant||L,O=d||{standard:x4e||(x4e=me(gAt,{})),outlined:me(mAt,{label:p}),filled:S4e||(S4e=me(vAt,{}))}[N],R=Ne({},r,{variant:N,classes:o}),P=pAt(R),H=co(n,O.ref);return me(C.Fragment,{children:C.cloneElement(O,Ne({inputComponent:D,inputProps:Ne({children:a,IconComponent:c,variant:N,type:void 0,multiple:m},v?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:g,MenuProps:b,onClose:w,onOpen:k,open:E,renderValue:S,SelectDisplayProps:Ne({id:f},T)},h,{classes:h?hh(P,h.classes):P},d?d.props.inputProps:{})},m&&v&&N==="outlined"?{notched:!0}:{},{ref:H,className:mn(O.props.className,s)},!d&&{variant:N},M))})});Wje.muiName="Select";const yAt=Wje;function bAt(e){return xr("MuiSnackbarContent",e)}Sr("MuiSnackbarContent",["root","message","action"]);const wAt=["action","className","message","role"],kAt=e=>{const{classes:t}=e;return Er({root:["root"],action:["action"],message:["message"]},bAt,t)},_At=dn(j2,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=skt(e.palette.background.default,t);return Ne({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),CAt=dn("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),EAt=dn("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),xAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSnackbarContent"}),{action:i,className:a,message:o,role:s="alert"}=r,l=Sn(r,wAt),u=r,c=kAt(u);return zt(_At,Ne({role:s,square:!0,elevation:6,className:mn(c.root,a),ownerState:u,ref:n},l,{children:[me(CAt,{className:c.message,ownerState:u,children:o}),i?me(EAt,{className:c.action,ownerState:u,children:i}):null]}))}),SAt=xAt;function AAt(e){return xr("MuiSnackbar",e)}Sr("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const TAt=["onEnter","onExited"],DAt=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],IAt=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${_n(n.vertical)}${_n(n.horizontal)}`]};return Er(r,AAt,t)},A4e=dn("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${_n(n.anchorOrigin.vertical)}${_n(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return Ne({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:Ne({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),RAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiSnackbar"}),i=Df(),a={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:o,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:f,ClickAwayListenerProps:d,ContentProps:h,disableWindowBlurListener:p=!1,message:g,open:b,TransitionComponent:m=FL,transitionDuration:v=a,TransitionProps:{onEnter:w,onExited:k}={}}=r,E=Sn(r.TransitionProps,TAt),S=Sn(r,DAt),T=Ne({},r,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:u,disableWindowBlurListener:p,TransitionComponent:m,transitionDuration:v}),L=IAt(T),{getRootProps:M,onClickAway:D}=D_t(Ne({},T,{ref:n})),[I,B]=C.useState(!0),N=ed({elementType:A4e,getSlotProps:M,externalForwardedProps:S,ownerState:T,className:[L.root,f]}),O=P=>{B(!0),k&&k(P)},R=(P,H)=>{B(!1),w&&w(P,H)};return!b&&I?null:me(qkt,Ne({onClickAway:D},d,{children:me(A4e,Ne({},N,{children:me(m,Ne({appear:!0,in:b,timeout:v,direction:s==="top"?"down":"up",onEnter:R,onExited:O},E,{children:c||me(SAt,Ne({message:g,action:o},h))}))}))}))}),C7=RAt;function MAt(e){return xr("MuiTooltip",e)}const OAt=Sr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Iv=OAt,LAt=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function BAt(e){return Math.round(e*1e5)/1e5}const PAt=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e,o={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${_n(a.split("-")[0])}`],arrow:["arrow"]};return Er(o,MAt,t)},FAt=dn(_je,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Ne({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Iv.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Iv.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Iv.arrow}`]:Ne({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Iv.arrow}`]:Ne({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),NAt=dn("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${_n(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Ne({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Li(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${BAt(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Iv.popper}[data-popper-placement*="left"] &`]:Ne({transformOrigin:"right center"},t.isRtl?Ne({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Ne({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Iv.popper}[data-popper-placement*="right"] &`]:Ne({transformOrigin:"left center"},t.isRtl?Ne({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Ne({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Iv.popper}[data-popper-placement*="top"] &`]:Ne({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Iv.popper}[data-popper-placement*="bottom"] &`]:Ne({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),$At=dn("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Li(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let KD=!1,Cq=null,B5={x:0,y:0};function YD(e,t){return n=>{t&&t(n),e(n)}}const zAt=C.forwardRef(function(t,n){var r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v,w,k,E;const S=yr({props:t,name:"MuiTooltip"}),{arrow:T=!1,children:L,components:M={},componentsProps:D={},describeChild:I=!1,disableFocusListener:B=!1,disableHoverListener:N=!1,disableInteractive:O=!1,disableTouchListener:R=!1,enterDelay:P=100,enterNextDelay:H=0,enterTouchDelay:F=700,followCursor:q=!1,id:V,leaveDelay:X=0,leaveTouchDelay:G=1500,onClose:J,onOpen:te,open:re,placement:Q="bottom",PopperComponent:ae,PopperProps:le={},slotProps:oe={},slots:ee={},title:ne,TransitionComponent:ue=FL,TransitionProps:Ae}=S,ce=Sn(S,LAt),be=Df(),ge=be.direction==="rtl",[ve,ie]=C.useState(),[he,$e]=C.useState(null),De=C.useRef(!1),Ie=O||q,Be=C.useRef(),we=C.useRef(),je=C.useRef(),Oe=C.useRef(),[Re,ye]=kh({controlled:re,default:!1,name:"Tooltip",state:"open"});let fe=Re;const de=g7(V),xe=C.useRef(),Ye=C.useCallback(()=>{xe.current!==void 0&&(document.body.style.WebkitUserSelect=xe.current,xe.current=void 0),clearTimeout(Oe.current)},[]);C.useEffect(()=>()=>{clearTimeout(Be.current),clearTimeout(we.current),clearTimeout(je.current),Ye()},[Ye]);const Ze=qt=>{clearTimeout(Cq),KD=!0,ye(!0),te&&!fe&&te(qt)},st=ya(qt=>{clearTimeout(Cq),Cq=setTimeout(()=>{KD=!1},800+X),ye(!1),J&&fe&&J(qt),clearTimeout(Be.current),Be.current=setTimeout(()=>{De.current=!1},be.transitions.duration.shortest)}),at=qt=>{De.current&&qt.type!=="touchstart"||(ve&&ve.removeAttribute("title"),clearTimeout(we.current),clearTimeout(je.current),P||KD&&H?we.current=setTimeout(()=>{Ze(qt)},KD?H:P):Ze(qt))},rt=qt=>{clearTimeout(we.current),clearTimeout(je.current),je.current=setTimeout(()=>{st(qt)},X)},{isFocusVisibleRef:et,onBlur:Ot,onFocus:jt,ref:xt}=Gfe(),[,pt]=C.useState(!1),_t=qt=>{Ot(qt),et.current===!1&&(pt(!1),rt(qt))},ht=qt=>{ve||ie(qt.currentTarget),jt(qt),et.current===!0&&(pt(!0),at(qt))},yt=qt=>{De.current=!0;const cn=L.props;cn.onTouchStart&&cn.onTouchStart(qt)},Lt=at,on=rt,Ht=qt=>{yt(qt),clearTimeout(je.current),clearTimeout(Be.current),Ye(),xe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Oe.current=setTimeout(()=>{document.body.style.WebkitUserSelect=xe.current,at(qt)},F)},vn=qt=>{L.props.onTouchEnd&&L.props.onTouchEnd(qt),Ye(),clearTimeout(je.current),je.current=setTimeout(()=>{st(qt)},G)};C.useEffect(()=>{if(!fe)return;function qt(cn){(cn.key==="Escape"||cn.key==="Esc")&&st(cn)}return document.addEventListener("keydown",qt),()=>{document.removeEventListener("keydown",qt)}},[st,fe]);const $t=co(L.ref,xt,ie,n);!ne&&ne!==0&&(fe=!1);const Tt=C.useRef(),Wt=qt=>{const cn=L.props;cn.onMouseMove&&cn.onMouseMove(qt),B5={x:qt.clientX,y:qt.clientY},Tt.current&&Tt.current.update()},Ut={},en=typeof ne=="string";I?(Ut.title=!fe&&en&&!N?ne:null,Ut["aria-describedby"]=fe?de:null):(Ut["aria-label"]=en?ne:null,Ut["aria-labelledby"]=fe&&!en?de:null);const Gt=Ne({},Ut,ce,L.props,{className:mn(ce.className,L.props.className),onTouchStart:yt,ref:$t},q?{onMouseMove:Wt}:{}),gn={};R||(Gt.onTouchStart=Ht,Gt.onTouchEnd=vn),N||(Gt.onMouseOver=YD(Lt,Gt.onMouseOver),Gt.onMouseLeave=YD(on,Gt.onMouseLeave),Ie||(gn.onMouseOver=Lt,gn.onMouseLeave=on)),B||(Gt.onFocus=YD(ht,Gt.onFocus),Gt.onBlur=YD(_t,Gt.onBlur),Ie||(gn.onFocus=ht,gn.onBlur=_t));const In=C.useMemo(()=>{var qt;let cn=[{name:"arrow",enabled:!!he,options:{element:he,padding:4}}];return(qt=le.popperOptions)!=null&&qt.modifiers&&(cn=cn.concat(le.popperOptions.modifiers)),Ne({},le.popperOptions,{modifiers:cn})},[he,le]),Wn=Ne({},S,{isRtl:ge,arrow:T,disableInteractive:Ie,placement:Q,PopperComponentProp:ae,touch:De.current}),yn=PAt(Wn),Gn=(r=(i=ee.popper)!=null?i:M.Popper)!=null?r:FAt,na=(a=(o=(s=ee.transition)!=null?s:M.Transition)!=null?o:ue)!=null?a:FL,yi=(l=(u=ee.tooltip)!=null?u:M.Tooltip)!=null?l:NAt,gi=(c=(f=ee.arrow)!=null?f:M.Arrow)!=null?c:$At,Dr=_9(Gn,Ne({},le,(d=oe.popper)!=null?d:D.popper,{className:mn(yn.popper,le?.className,(h=(p=oe.popper)!=null?p:D.popper)==null?void 0:h.className)}),Wn),mi=_9(na,Ne({},Ae,(g=oe.transition)!=null?g:D.transition),Wn),$n=_9(yi,Ne({},(b=oe.tooltip)!=null?b:D.tooltip,{className:mn(yn.tooltip,(m=(v=oe.tooltip)!=null?v:D.tooltip)==null?void 0:m.className)}),Wn),Dt=_9(gi,Ne({},(w=oe.arrow)!=null?w:D.arrow,{className:mn(yn.arrow,(k=(E=oe.arrow)!=null?E:D.arrow)==null?void 0:k.className)}),Wn);return zt(C.Fragment,{children:[C.cloneElement(L,Gt),me(Gn,Ne({as:ae??_je,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:B5.y,left:B5.x,right:B5.x,bottom:B5.y,width:0,height:0})}:ve,popperRef:Tt,open:ve?fe:!1,id:de,transition:!0},gn,Dr,{popperOptions:In,children:({TransitionProps:qt})=>me(na,Ne({timeout:be.transitions.duration.shorter},qt,mi,{children:zt(yi,Ne({},$n,{children:[ne,T?me(gi,Ne({},Dt,{ref:$e})):null]}))}))}))]})}),a4=zAt;function UAt(e){return xr("MuiTab",e)}const jAt=Sr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),nb=jAt,HAt=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],qAt=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:a,label:o,selected:s,disabled:l}=e,u={root:["root",a&&o&&"labelIcon",`textColor${_n(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Er(u,UAt,t)},WAt=dn(s1,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${_n(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>Ne({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${nb.iconWrapper}`]:Ne({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${nb.selected}`]:{opacity:1},[`&.${nb.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${nb.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${nb.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${nb.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${nb.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),GAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:o=!1,fullWidth:s,icon:l,iconPosition:u="top",indicator:c,label:f,onChange:d,onClick:h,onFocus:p,selected:g,selectionFollowsFocus:b,textColor:m="inherit",value:v,wrapped:w=!1}=r,k=Sn(r,HAt),E=Ne({},r,{disabled:a,disableFocusRipple:o,selected:g,icon:!!l,iconPosition:u,label:!!f,fullWidth:s,textColor:m,wrapped:w}),S=qAt(E),T=l&&f&&C.isValidElement(l)?C.cloneElement(l,{className:mn(S.iconWrapper,l.props.className)}):l,L=D=>{!g&&d&&d(D,v),h&&h(D)},M=D=>{b&&!g&&d&&d(D,v),p&&p(D)};return zt(WAt,Ne({focusRipple:!o,className:mn(S.root,i),ref:n,role:"tab","aria-selected":g,disabled:a,onClick:L,onFocus:M,ownerState:E,tabIndex:g?0:-1},k,{children:[u==="top"||u==="start"?zt(C.Fragment,{children:[T,f]}):zt(C.Fragment,{children:[f,T]}),c]}))}),RS=GAt;function VAt(e){return xr("MuiToolbar",e)}Sr("MuiToolbar",["root","gutters","regular","dense"]);const KAt=["className","component","disableGutters","variant"],YAt=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Er({root:["root",!n&&"gutters",r]},VAt,t)},XAt=dn("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>Ne({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),JAt=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:o=!1,variant:s="regular"}=r,l=Sn(r,KAt),u=Ne({},r,{component:a,disableGutters:o,variant:s}),c=YAt(u);return me(XAt,Ne({as:a,className:mn(c.root,i),ref:n,ownerState:u},l))}),c$=JAt,ZAt=fo(me("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),QAt=fo(me("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function e8t(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function t8t(e,t,n,r={},i=()=>{}){const{ease:a=e8t,duration:o=300}=r;let s=null;const l=t[e];let u=!1;const c=()=>{u=!0},f=d=>{if(u){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/o);if(t[e]=a(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===n?(i(new Error("Element already at target position")),c):(requestAnimationFrame(f),c)}const n8t=["onChange"],r8t={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function i8t(e){const{onChange:t}=e,n=Sn(e,n8t),r=C.useRef(),i=C.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return C.useEffect(()=>{const o=i1(()=>{const l=r.current;a(),l!==r.current&&t(r.current)}),s=wh(i.current);return s.addEventListener("resize",o),()=>{o.clear(),s.removeEventListener("resize",o)}},[t]),C.useEffect(()=>{a(),t(r.current)},[t]),me("div",Ne({style:r8t,ref:i},n))}function a8t(e){return xr("MuiTabScrollButton",e)}const o8t=Sr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),s8t=o8t;var T4e,D4e;const l8t=["className","direction","orientation","disabled"],u8t=e=>{const{classes:t,orientation:n,disabled:r}=e;return Er({root:["root",n,r&&"disabled"]},a8t,t)},c8t=dn(s1,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>Ne({width:40,flexShrink:0,opacity:.8,[`&.${s8t.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),f8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTabScrollButton"}),{className:i,direction:a}=r,o=Sn(r,l8t),l=Df().direction==="rtl",u=Ne({isRtl:l},r),c=u8t(u);return me(c8t,Ne({component:"div",className:mn(c.root,i),ref:n,role:null,ownerState:u,tabIndex:null},o,{children:a==="left"?T4e||(T4e=me(ZAt,{fontSize:"small"})):D4e||(D4e=me(QAt,{fontSize:"small"}))}))}),d8t=f8t;function h8t(e){return xr("MuiTabs",e)}const p8t=Sr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Eq=p8t,g8t=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],I4e=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,R4e=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,XD=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=n(e,i);else{i.focus();return}}},m8t=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:a,centered:o,scrollButtonsHideMobile:s,classes:l}=e;return Er({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",o&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},h8t,l)},v8t=dn("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Eq.scrollButtons}`]:t.scrollButtons},{[`& .${Eq.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Ne({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Eq.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),y8t=dn("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Ne({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),b8t=dn("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>Ne({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),w8t=dn("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Ne({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),k8t=dn(i8t,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),M4e={},_8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTabs"}),i=Df(),a=i.direction==="rtl",{"aria-label":o,"aria-labelledby":s,action:l,centered:u=!1,children:c,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:m=d8t,scrollButtons:v="auto",selectionFollowsFocus:w,TabIndicatorProps:k={},TabScrollButtonProps:E={},textColor:S="primary",value:T,variant:L="standard",visibleScrollbar:M=!1}=r,D=Sn(r,g8t),I=L==="scrollable",B=b==="vertical",N=B?"scrollTop":"scrollLeft",O=B?"top":"left",R=B?"bottom":"right",P=B?"clientHeight":"clientWidth",H=B?"height":"width",F=Ne({},r,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:b,vertical:B,scrollButtons:v,textColor:S,variant:L,visibleScrollbar:M,fixed:!I,hideScrollbar:I&&!M,scrollableX:I&&!B,scrollableY:I&&B,centered:u&&!I,scrollButtonsHideMobile:!h}),q=m8t(F),[V,X]=C.useState(!1),[G,J]=C.useState(M4e),[te,re]=C.useState({start:!1,end:!1}),[Q,ae]=C.useState({overflow:"hidden",scrollbarWidth:0}),le=new Map,oe=C.useRef(null),ee=C.useRef(null),ne=()=>{const ye=oe.current;let fe;if(ye){const xe=ye.getBoundingClientRect();fe={clientWidth:ye.clientWidth,scrollLeft:ye.scrollLeft,scrollTop:ye.scrollTop,scrollLeftNormalized:_be(ye,i.direction),scrollWidth:ye.scrollWidth,top:xe.top,bottom:xe.bottom,left:xe.left,right:xe.right}}let de;if(ye&&T!==!1){const xe=ee.current.children;if(xe.length>0){const Ye=xe[le.get(T)];de=Ye?Ye.getBoundingClientRect():null}}return{tabsMeta:fe,tabMeta:de}},ue=ya(()=>{const{tabsMeta:ye,tabMeta:fe}=ne();let de=0,xe;if(B)xe="top",fe&&ye&&(de=fe.top-ye.top+ye.scrollTop);else if(xe=a?"right":"left",fe&&ye){const Ze=a?ye.scrollLeftNormalized+ye.clientWidth-ye.scrollWidth:ye.scrollLeft;de=(a?-1:1)*(fe[xe]-ye[xe]+Ze)}const Ye={[xe]:de,[H]:fe?fe[H]:0};if(isNaN(G[xe])||isNaN(G[H]))J(Ye);else{const Ze=Math.abs(G[xe]-Ye[xe]),st=Math.abs(G[H]-Ye[H]);(Ze>=1||st>=1)&&J(Ye)}}),Ae=(ye,{animation:fe=!0}={})=>{fe?t8t(N,oe.current,ye,{duration:i.transitions.duration.standard}):oe.current[N]=ye},ce=ye=>{let fe=oe.current[N];B?fe+=ye:(fe+=ye*(a?-1:1),fe*=a&&VUe()==="reverse"?-1:1),Ae(fe)},be=()=>{const ye=oe.current[P];let fe=0;const de=Array.from(ee.current.children);for(let xe=0;xeye){xe===0&&(fe=ye);break}fe+=Ye[P]}return fe},ge=()=>{ce(-1*be())},ve=()=>{ce(be())},ie=C.useCallback(ye=>{ae({overflow:null,scrollbarWidth:ye})},[]),he=()=>{const ye={};ye.scrollbarSizeListener=I?me(k8t,{onChange:ie,className:mn(q.scrollableX,q.hideScrollbar)}):null;const fe=te.start||te.end,de=I&&(v==="auto"&&fe||v===!0);return ye.scrollButtonStart=de?me(m,Ne({orientation:b,direction:a?"right":"left",onClick:ge,disabled:!te.start},E,{className:mn(q.scrollButtons,E.className)})):null,ye.scrollButtonEnd=de?me(m,Ne({orientation:b,direction:a?"left":"right",onClick:ve,disabled:!te.end},E,{className:mn(q.scrollButtons,E.className)})):null,ye},$e=ya(ye=>{const{tabsMeta:fe,tabMeta:de}=ne();if(!(!de||!fe)){if(de[O]fe[R]){const xe=fe[N]+(de[R]-fe[R]);Ae(xe,{animation:ye})}}}),De=ya(()=>{if(I&&v!==!1){const{scrollTop:ye,scrollHeight:fe,clientHeight:de,scrollWidth:xe,clientWidth:Ye}=oe.current;let Ze,st;if(B)Ze=ye>1,st=ye1,st=a?at>1:at{const ye=i1(()=>{oe.current&&(ue(),De())}),fe=wh(oe.current);fe.addEventListener("resize",ye);let de;return typeof ResizeObserver<"u"&&(de=new ResizeObserver(ye),Array.from(ee.current.children).forEach(xe=>{de.observe(xe)})),()=>{ye.clear(),fe.removeEventListener("resize",ye),de&&de.disconnect()}},[ue,De]);const Ie=C.useMemo(()=>i1(()=>{De()}),[De]);C.useEffect(()=>()=>{Ie.clear()},[Ie]),C.useEffect(()=>{X(!0)},[]),C.useEffect(()=>{ue(),De()}),C.useEffect(()=>{$e(M4e!==G)},[$e,G]),C.useImperativeHandle(l,()=>({updateIndicator:ue,updateScrollButtons:De}),[ue,De]);const Be=me(w8t,Ne({},k,{className:mn(q.indicator,k.className),ownerState:F,style:Ne({},G,k.style)}));let we=0;const je=C.Children.map(c,ye=>{if(!C.isValidElement(ye))return null;const fe=ye.props.value===void 0?we:ye.props.value;le.set(fe,we);const de=fe===T;return we+=1,C.cloneElement(ye,Ne({fullWidth:L==="fullWidth",indicator:de&&!V&&Be,selected:de,selectionFollowsFocus:w,onChange:g,textColor:S,value:fe},we===1&&T===!1&&!ye.props.tabIndex?{tabIndex:0}:{}))}),Oe=ye=>{const fe=ee.current,de=hl(fe).activeElement;if(de.getAttribute("role")!=="tab")return;let Ye=b==="horizontal"?"ArrowLeft":"ArrowUp",Ze=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&a&&(Ye="ArrowRight",Ze="ArrowLeft"),ye.key){case Ye:ye.preventDefault(),XD(fe,de,R4e);break;case Ze:ye.preventDefault(),XD(fe,de,I4e);break;case"Home":ye.preventDefault(),XD(fe,null,I4e);break;case"End":ye.preventDefault(),XD(fe,null,R4e);break}},Re=he();return zt(v8t,Ne({className:mn(q.root,f),ownerState:F,ref:n,as:d},D,{children:[Re.scrollButtonStart,Re.scrollbarSizeListener,zt(y8t,{className:q.scroller,ownerState:F,style:{overflow:Q.overflow,[B?`margin${a?"Left":"Right"}`:"marginBottom"]:M?void 0:-Q.scrollbarWidth},ref:oe,onScroll:Ie,children:[me(b8t,{"aria-label":o,"aria-labelledby":s,"aria-orientation":b==="vertical"?"vertical":null,className:q.flexContainer,ownerState:F,onKeyDown:Oe,ref:ee,role:"tablist",children:je}),V&&Be]}),Re.scrollButtonEnd]}))}),C8t=_8t;function E8t(e){return xr("MuiTextField",e)}Sr("MuiTextField",["root"]);const x8t=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],S8t={standard:XC,filled:Oje,outlined:qje},A8t=e=>{const{classes:t}=e;return Er({root:["root"]},E8t,t)},T8t=dn(Dv,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),D8t=C.forwardRef(function(t,n){const r=yr({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:a=!1,children:o,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:g,InputLabelProps:b,inputProps:m,InputProps:v,inputRef:w,label:k,maxRows:E,minRows:S,multiline:T=!1,name:L,onBlur:M,onChange:D,onFocus:I,placeholder:B,required:N=!1,rows:O,select:R=!1,SelectProps:P,type:H,value:F,variant:q="outlined"}=r,V=Sn(r,x8t),X=Ne({},r,{autoFocus:a,color:l,disabled:c,error:f,fullWidth:h,multiline:T,required:N,select:R,variant:q}),G=A8t(X),J={};q==="outlined"&&(b&&typeof b.shrink<"u"&&(J.notched=b.shrink),J.label=k),R&&((!P||!P.native)&&(J.id=void 0),J["aria-describedby"]=void 0);const te=g7(g),re=p&&te?`${te}-helper-text`:void 0,Q=k&&te?`${te}-label`:void 0,ae=S8t[q],le=me(ae,Ne({"aria-describedby":re,autoComplete:i,autoFocus:a,defaultValue:u,fullWidth:h,multiline:T,name:L,rows:O,maxRows:E,minRows:S,type:H,value:F,id:te,inputRef:w,onBlur:M,onChange:D,onFocus:I,placeholder:B,inputProps:m},J,v));return zt(T8t,Ne({className:mn(G.root,s),disabled:c,error:f,fullWidth:h,ref:n,required:N,color:l,variant:q,ownerState:X},V,{children:[k!=null&&k!==""&&me(Sxt,Ne({htmlFor:te,id:Q},b,{children:k})),R?me(yAt,Ne({"aria-describedby":re,id:te,labelId:Q,value:F,input:le},P,{children:o})):le,p&&me(oxt,Ne({id:re},d,{children:p}))]}))}),$L=D8t,O4e=e=>{e=1831565813+(e|=0)|0;let t=Math.imul(e^e>>>15,1|e);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296};let I8t=class{constructor(t){this.dictionaries=void 0,this.length=void 0,this.separator=void 0,this.style=void 0,this.seed=void 0;const{length:n,separator:r,dictionaries:i,style:a,seed:o}=t;this.dictionaries=i,this.separator=r,this.length=n,this.style=a,this.seed=o}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries. +Length provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);let t=this.seed;return this.dictionaries.slice(0,this.length).reduce((n,r)=>{let i;t?(i=(o=>{if(typeof o=="string"){const s=o.split("").map(u=>u.charCodeAt(0)).reduce((u,c)=>u+c,1),l=Math.floor(Number(s));return O4e(l)}return O4e(o)})(t),t=4294967296*i):i=Math.random();let a=r[Math.floor(i*r.length)]||"";if(this.style==="lowerCase")a=a.toLowerCase();else if(this.style==="capital"){const[o,...s]=a.split("");a=o.toUpperCase()+s.join("")}else this.style==="upperCase"&&(a=a.toUpperCase());return n?`${n}${this.separator}${a}`:`${a}`},"")}};const L4e={separator:"_",dictionaries:[]},Gje=e=>{const t=[...e&&e.dictionaries||L4e.dictionaries],n={...L4e,...e,length:e&&e.length||t.length,dictionaries:t};if(!e||!e.dictionaries||!e.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new I8t(n).generate()};var Vje=["Aaren","Aarika","Abagael","Abagail","Abbe","Abbey","Abbi","Abbie","Abby","Abbye","Abigael","Abigail","Abigale","Abra","Ada","Adah","Adaline","Adan","Adara","Adda","Addi","Addia","Addie","Addy","Adel","Adela","Adelaida","Adelaide","Adele","Adelheid","Adelice","Adelina","Adelind","Adeline","Adella","Adelle","Adena","Adey","Adi","Adiana","Adina","Adora","Adore","Adoree","Adorne","Adrea","Adria","Adriaens","Adrian","Adriana","Adriane","Adrianna","Adrianne","Adriena","Adrienne","Aeriel","Aeriela","Aeriell","Afton","Ag","Agace","Agata","Agatha","Agathe","Aggi","Aggie","Aggy","Agna","Agnella","Agnes","Agnese","Agnesse","Agneta","Agnola","Agretha","Aida","Aidan","Aigneis","Aila","Aile","Ailee","Aileen","Ailene","Ailey","Aili","Ailina","Ailis","Ailsun","Ailyn","Aime","Aimee","Aimil","Aindrea","Ainslee","Ainsley","Ainslie","Ajay","Alaine","Alameda","Alana","Alanah","Alane","Alanna","Alayne","Alberta","Albertina","Albertine","Albina","Alecia","Aleda","Aleece","Aleen","Alejandra","Alejandrina","Alena","Alene","Alessandra","Aleta","Alethea","Alex","Alexa","Alexandra","Alexandrina","Alexi","Alexia","Alexina","Alexine","Alexis","Alfi","Alfie","Alfreda","Alfy","Ali","Alia","Alica","Alice","Alicea","Alicia","Alida","Alidia","Alie","Alika","Alikee","Alina","Aline","Alis","Alisa","Alisha","Alison","Alissa","Alisun","Alix","Aliza","Alla","Alleen","Allegra","Allene","Alli","Allianora","Allie","Allina","Allis","Allison","Allissa","Allix","Allsun","Allx","Ally","Allyce","Allyn","Allys","Allyson","Alma","Almeda","Almeria","Almeta","Almira","Almire","Aloise","Aloisia","Aloysia","Alta","Althea","Alvera","Alverta","Alvina","Alvinia","Alvira","Alyce","Alyda","Alys","Alysa","Alyse","Alysia","Alyson","Alyss","Alyssa","Amabel","Amabelle","Amalea","Amalee","Amaleta","Amalia","Amalie","Amalita","Amalle","Amanda","Amandi","Amandie","Amandy","Amara","Amargo","Amata","Amber","Amberly","Ambur","Ame","Amelia","Amelie","Amelina","Ameline","Amelita","Ami","Amie","Amii","Amil","Amitie","Amity","Ammamaria","Amy","Amye","Ana","Anabal","Anabel","Anabella","Anabelle","Analiese","Analise","Anallese","Anallise","Anastasia","Anastasie","Anastassia","Anatola","Andee","Andeee","Anderea","Andi","Andie","Andra","Andrea","Andreana","Andree","Andrei","Andria","Andriana","Andriette","Andromache","Andy","Anestassia","Anet","Anett","Anetta","Anette","Ange","Angel","Angela","Angele","Angelia","Angelica","Angelika","Angelina","Angeline","Angelique","Angelita","Angelle","Angie","Angil","Angy","Ania","Anica","Anissa","Anita","Anitra","Anjanette","Anjela","Ann","Ann-marie","Anna","Anna-diana","Anna-diane","Anna-maria","Annabal","Annabel","Annabela","Annabell","Annabella","Annabelle","Annadiana","Annadiane","Annalee","Annaliese","Annalise","Annamaria","Annamarie","Anne","Anne-corinne","Anne-marie","Annecorinne","Anneliese","Annelise","Annemarie","Annetta","Annette","Anni","Annice","Annie","Annis","Annissa","Annmaria","Annmarie","Annnora","Annora","Anny","Anselma","Ansley","Anstice","Anthe","Anthea","Anthia","Anthiathia","Antoinette","Antonella","Antonetta","Antonia","Antonie","Antonietta","Antonina","Anya","Appolonia","April","Aprilette","Ara","Arabel","Arabela","Arabele","Arabella","Arabelle","Arda","Ardath","Ardeen","Ardelia","Ardelis","Ardella","Ardelle","Arden","Ardene","Ardenia","Ardine","Ardis","Ardisj","Ardith","Ardra","Ardyce","Ardys","Ardyth","Aretha","Ariadne","Ariana","Aridatha","Ariel","Ariela","Ariella","Arielle","Arlana","Arlee","Arleen","Arlen","Arlena","Arlene","Arleta","Arlette","Arleyne","Arlie","Arliene","Arlina","Arlinda","Arline","Arluene","Arly","Arlyn","Arlyne","Aryn","Ashely","Ashia","Ashien","Ashil","Ashla","Ashlan","Ashlee","Ashleigh","Ashlen","Ashley","Ashli","Ashlie","Ashly","Asia","Astra","Astrid","Astrix","Atalanta","Athena","Athene","Atlanta","Atlante","Auberta","Aubine","Aubree","Aubrette","Aubrey","Aubrie","Aubry","Audi","Audie","Audra","Audre","Audrey","Audrie","Audry","Audrye","Audy","Augusta","Auguste","Augustina","Augustine","Aundrea","Aura","Aurea","Aurel","Aurelea","Aurelia","Aurelie","Auria","Aurie","Aurilia","Aurlie","Auroora","Aurora","Aurore","Austin","Austina","Austine","Ava","Aveline","Averil","Averyl","Avie","Avis","Aviva","Avivah","Avril","Avrit","Ayn","Bab","Babara","Babb","Babbette","Babbie","Babette","Babita","Babs","Bambi","Bambie","Bamby","Barb","Barbabra","Barbara","Barbara-anne","Barbaraanne","Barbe","Barbee","Barbette","Barbey","Barbi","Barbie","Barbra","Barby","Bari","Barrie","Barry","Basia","Bathsheba","Batsheva","Bea","Beatrice","Beatrisa","Beatrix","Beatriz","Bebe","Becca","Becka","Becki","Beckie","Becky","Bee","Beilul","Beitris","Bekki","Bel","Belia","Belicia","Belinda","Belita","Bell","Bella","Bellanca","Belle","Bellina","Belva","Belvia","Bendite","Benedetta","Benedicta","Benedikta","Benetta","Benita","Benni","Bennie","Benny","Benoite","Berenice","Beret","Berget","Berna","Bernadene","Bernadette","Bernadina","Bernadine","Bernardina","Bernardine","Bernelle","Bernete","Bernetta","Bernette","Berni","Bernice","Bernie","Bernita","Berny","Berri","Berrie","Berry","Bert","Berta","Berte","Bertha","Berthe","Berti","Bertie","Bertina","Bertine","Berty","Beryl","Beryle","Bess","Bessie","Bessy","Beth","Bethanne","Bethany","Bethena","Bethina","Betsey","Betsy","Betta","Bette","Bette-ann","Betteann","Betteanne","Betti","Bettina","Bettine","Betty","Bettye","Beulah","Bev","Beverie","Beverlee","Beverley","Beverlie","Beverly","Bevvy","Bianca","Bianka","Bibbie","Bibby","Bibbye","Bibi","Biddie","Biddy","Bidget","Bili","Bill","Billi","Billie","Billy","Billye","Binni","Binnie","Binny","Bird","Birdie","Birgit","Birgitta","Blair","Blaire","Blake","Blakelee","Blakeley","Blanca","Blanch","Blancha","Blanche","Blinni","Blinnie","Blinny","Bliss","Blisse","Blithe","Blondell","Blondelle","Blondie","Blondy","Blythe","Bobbe","Bobbee","Bobbette","Bobbi","Bobbie","Bobby","Bobbye","Bobette","Bobina","Bobine","Bobinette","Bonita","Bonnee","Bonni","Bonnibelle","Bonnie","Bonny","Brana","Brandais","Brande","Brandea","Brandi","Brandice","Brandie","Brandise","Brandy","Breanne","Brear","Bree","Breena","Bren","Brena","Brenda","Brenn","Brenna","Brett","Bria","Briana","Brianna","Brianne","Bride","Bridget","Bridgette","Bridie","Brier","Brietta","Brigid","Brigida","Brigit","Brigitta","Brigitte","Brina","Briney","Brinn","Brinna","Briny","Brit","Brita","Britney","Britni","Britt","Britta","Brittan","Brittaney","Brittani","Brittany","Britte","Britteny","Brittne","Brittney","Brittni","Brook","Brooke","Brooks","Brunhilda","Brunhilde","Bryana","Bryn","Bryna","Brynn","Brynna","Brynne","Buffy","Bunni","Bunnie","Bunny","Cacilia","Cacilie","Cahra","Cairistiona","Caitlin","Caitrin","Cal","Calida","Calla","Calley","Calli","Callida","Callie","Cally","Calypso","Cam","Camala","Camel","Camella","Camellia","Cami","Camila","Camile","Camilla","Camille","Cammi","Cammie","Cammy","Candace","Candi","Candice","Candida","Candide","Candie","Candis","Candra","Candy","Caprice","Cara","Caralie","Caren","Carena","Caresa","Caressa","Caresse","Carey","Cari","Caria","Carie","Caril","Carilyn","Carin","Carina","Carine","Cariotta","Carissa","Carita","Caritta","Carla","Carlee","Carleen","Carlen","Carlene","Carley","Carlie","Carlin","Carlina","Carline","Carlita","Carlota","Carlotta","Carly","Carlye","Carlyn","Carlynn","Carlynne","Carma","Carmel","Carmela","Carmelia","Carmelina","Carmelita","Carmella","Carmelle","Carmen","Carmencita","Carmina","Carmine","Carmita","Carmon","Caro","Carol","Carol-jean","Carola","Carolan","Carolann","Carole","Carolee","Carolin","Carolina","Caroline","Caroljean","Carolyn","Carolyne","Carolynn","Caron","Carree","Carri","Carrie","Carrissa","Carroll","Carry","Cary","Caryl","Caryn","Casandra","Casey","Casi","Casie","Cass","Cassandra","Cassandre","Cassandry","Cassaundra","Cassey","Cassi","Cassie","Cassondra","Cassy","Catarina","Cate","Caterina","Catha","Catharina","Catharine","Cathe","Cathee","Catherin","Catherina","Catherine","Cathi","Cathie","Cathleen","Cathlene","Cathrin","Cathrine","Cathryn","Cathy","Cathyleen","Cati","Catie","Catina","Catlaina","Catlee","Catlin","Catrina","Catriona","Caty","Caye","Cayla","Cecelia","Cecil","Cecile","Ceciley","Cecilia","Cecilla","Cecily","Ceil","Cele","Celene","Celesta","Celeste","Celestia","Celestina","Celestine","Celestyn","Celestyna","Celia","Celie","Celina","Celinda","Celine","Celinka","Celisse","Celka","Celle","Cesya","Chad","Chanda","Chandal","Chandra","Channa","Chantal","Chantalle","Charil","Charin","Charis","Charissa","Charisse","Charita","Charity","Charla","Charlean","Charleen","Charlena","Charlene","Charline","Charlot","Charlotta","Charlotte","Charmain","Charmaine","Charmane","Charmian","Charmine","Charmion","Charo","Charyl","Chastity","Chelsae","Chelsea","Chelsey","Chelsie","Chelsy","Cher","Chere","Cherey","Cheri","Cherianne","Cherice","Cherida","Cherie","Cherilyn","Cherilynn","Cherin","Cherise","Cherish","Cherlyn","Cherri","Cherrita","Cherry","Chery","Cherye","Cheryl","Cheslie","Chiarra","Chickie","Chicky","Chiquia","Chiquita","Chlo","Chloe","Chloette","Chloris","Chris","Chrissie","Chrissy","Christa","Christabel","Christabella","Christal","Christalle","Christan","Christean","Christel","Christen","Christi","Christian","Christiana","Christiane","Christie","Christin","Christina","Christine","Christy","Christye","Christyna","Chrysa","Chrysler","Chrystal","Chryste","Chrystel","Cicely","Cicily","Ciel","Cilka","Cinda","Cindee","Cindelyn","Cinderella","Cindi","Cindie","Cindra","Cindy","Cinnamon","Cissiee","Cissy","Clair","Claire","Clara","Clarabelle","Clare","Claresta","Clareta","Claretta","Clarette","Clarey","Clari","Claribel","Clarice","Clarie","Clarinda","Clarine","Clarissa","Clarisse","Clarita","Clary","Claude","Claudelle","Claudetta","Claudette","Claudia","Claudie","Claudina","Claudine","Clea","Clem","Clemence","Clementia","Clementina","Clementine","Clemmie","Clemmy","Cleo","Cleopatra","Clerissa","Clio","Clo","Cloe","Cloris","Clotilda","Clovis","Codee","Codi","Codie","Cody","Coleen","Colene","Coletta","Colette","Colleen","Collen","Collete","Collette","Collie","Colline","Colly","Con","Concettina","Conchita","Concordia","Conni","Connie","Conny","Consolata","Constance","Constancia","Constancy","Constanta","Constantia","Constantina","Constantine","Consuela","Consuelo","Cookie","Cora","Corabel","Corabella","Corabelle","Coral","Coralie","Coraline","Coralyn","Cordelia","Cordelie","Cordey","Cordi","Cordie","Cordula","Cordy","Coreen","Corella","Corenda","Corene","Coretta","Corette","Corey","Cori","Corie","Corilla","Corina","Corine","Corinna","Corinne","Coriss","Corissa","Corliss","Corly","Cornela","Cornelia","Cornelle","Cornie","Corny","Correna","Correy","Corri","Corrianne","Corrie","Corrina","Corrine","Corrinne","Corry","Cortney","Cory","Cosetta","Cosette","Costanza","Courtenay","Courtnay","Courtney","Crin","Cris","Crissie","Crissy","Crista","Cristabel","Cristal","Cristen","Cristi","Cristie","Cristin","Cristina","Cristine","Cristionna","Cristy","Crysta","Crystal","Crystie","Cthrine","Cyb","Cybil","Cybill","Cymbre","Cynde","Cyndi","Cyndia","Cyndie","Cyndy","Cynthea","Cynthia","Cynthie","Cynthy","Dacey","Dacia","Dacie","Dacy","Dael","Daffi","Daffie","Daffy","Dagmar","Dahlia","Daile","Daisey","Daisi","Daisie","Daisy","Dale","Dalenna","Dalia","Dalila","Dallas","Daloris","Damara","Damaris","Damita","Dana","Danell","Danella","Danette","Dani","Dania","Danica","Danice","Daniela","Daniele","Daniella","Danielle","Danika","Danila","Danit","Danita","Danna","Danni","Dannie","Danny","Dannye","Danya","Danyelle","Danyette","Daphene","Daphna","Daphne","Dara","Darb","Darbie","Darby","Darcee","Darcey","Darci","Darcie","Darcy","Darda","Dareen","Darell","Darelle","Dari","Daria","Darice","Darla","Darleen","Darlene","Darline","Darlleen","Daron","Darrelle","Darryl","Darsey","Darsie","Darya","Daryl","Daryn","Dasha","Dasi","Dasie","Dasya","Datha","Daune","Daveen","Daveta","Davida","Davina","Davine","Davita","Dawn","Dawna","Dayle","Dayna","Ddene","De","Deana","Deane","Deanna","Deanne","Deb","Debbi","Debbie","Debby","Debee","Debera","Debi","Debor","Debora","Deborah","Debra","Dede","Dedie","Dedra","Dee","Deeann","Deeanne","Deedee","Deena","Deerdre","Deeyn","Dehlia","Deidre","Deina","Deirdre","Del","Dela","Delcina","Delcine","Delia","Delila","Delilah","Delinda","Dell","Della","Delly","Delora","Delores","Deloria","Deloris","Delphine","Delphinia","Demeter","Demetra","Demetria","Demetris","Dena","Deni","Denice","Denise","Denna","Denni","Dennie","Denny","Deny","Denys","Denyse","Deonne","Desdemona","Desirae","Desiree","Desiri","Deva","Devan","Devi","Devin","Devina","Devinne","Devon","Devondra","Devonna","Devonne","Devora","Di","Diahann","Dian","Diana","Diandra","Diane","Diane-marie","Dianemarie","Diann","Dianna","Dianne","Diannne","Didi","Dido","Diena","Dierdre","Dina","Dinah","Dinnie","Dinny","Dion","Dione","Dionis","Dionne","Dita","Dix","Dixie","Dniren","Dode","Dodi","Dodie","Dody","Doe","Doll","Dolley","Dolli","Dollie","Dolly","Dolores","Dolorita","Doloritas","Domeniga","Dominga","Domini","Dominica","Dominique","Dona","Donella","Donelle","Donetta","Donia","Donica","Donielle","Donna","Donnamarie","Donni","Donnie","Donny","Dora","Doralia","Doralin","Doralyn","Doralynn","Doralynne","Dore","Doreen","Dorelia","Dorella","Dorelle","Dorena","Dorene","Doretta","Dorette","Dorey","Dori","Doria","Dorian","Dorice","Dorie","Dorine","Doris","Dorisa","Dorise","Dorita","Doro","Dorolice","Dorolisa","Dorotea","Doroteya","Dorothea","Dorothee","Dorothy","Dorree","Dorri","Dorrie","Dorris","Dorry","Dorthea","Dorthy","Dory","Dosi","Dot","Doti","Dotti","Dottie","Dotty","Dre","Dreddy","Dredi","Drona","Dru","Druci","Drucie","Drucill","Drucy","Drusi","Drusie","Drusilla","Drusy","Dulce","Dulcea","Dulci","Dulcia","Dulciana","Dulcie","Dulcine","Dulcinea","Dulcy","Dulsea","Dusty","Dyan","Dyana","Dyane","Dyann","Dyanna","Dyanne","Dyna","Dynah","Eachelle","Eada","Eadie","Eadith","Ealasaid","Eartha","Easter","Eba","Ebba","Ebonee","Ebony","Eda","Eddi","Eddie","Eddy","Ede","Edee","Edeline","Eden","Edi","Edie","Edin","Edita","Edith","Editha","Edithe","Ediva","Edna","Edwina","Edy","Edyth","Edythe","Effie","Eileen","Eilis","Eimile","Eirena","Ekaterina","Elaina","Elaine","Elana","Elane","Elayne","Elberta","Elbertina","Elbertine","Eleanor","Eleanora","Eleanore","Electra","Eleen","Elena","Elene","Eleni","Elenore","Eleonora","Eleonore","Elfie","Elfreda","Elfrida","Elfrieda","Elga","Elianora","Elianore","Elicia","Elie","Elinor","Elinore","Elisa","Elisabet","Elisabeth","Elisabetta","Elise","Elisha","Elissa","Elita","Eliza","Elizabet","Elizabeth","Elka","Elke","Ella","Elladine","Elle","Ellen","Ellene","Ellette","Elli","Ellie","Ellissa","Elly","Ellyn","Ellynn","Elmira","Elna","Elnora","Elnore","Eloisa","Eloise","Elonore","Elora","Elsa","Elsbeth","Else","Elset","Elsey","Elsi","Elsie","Elsinore","Elspeth","Elsy","Elva","Elvera","Elvina","Elvira","Elwira","Elyn","Elyse","Elysee","Elysha","Elysia","Elyssa","Em","Ema","Emalee","Emalia","Emelda","Emelia","Emelina","Emeline","Emelita","Emelyne","Emera","Emilee","Emili","Emilia","Emilie","Emiline","Emily","Emlyn","Emlynn","Emlynne","Emma","Emmalee","Emmaline","Emmalyn","Emmalynn","Emmalynne","Emmeline","Emmey","Emmi","Emmie","Emmy","Emmye","Emogene","Emyle","Emylee","Engracia","Enid","Enrica","Enrichetta","Enrika","Enriqueta","Eolanda","Eolande","Eran","Erda","Erena","Erica","Ericha","Ericka","Erika","Erin","Erina","Erinn","Erinna","Erma","Ermengarde","Ermentrude","Ermina","Erminia","Erminie","Erna","Ernaline","Ernesta","Ernestine","Ertha","Eryn","Esma","Esmaria","Esme","Esmeralda","Essa","Essie","Essy","Esta","Estel","Estele","Estell","Estella","Estelle","Ester","Esther","Estrella","Estrellita","Ethel","Ethelda","Ethelin","Ethelind","Etheline","Ethelyn","Ethyl","Etta","Etti","Ettie","Etty","Eudora","Eugenia","Eugenie","Eugine","Eula","Eulalie","Eunice","Euphemia","Eustacia","Eva","Evaleen","Evangelia","Evangelin","Evangelina","Evangeline","Evania","Evanne","Eve","Eveleen","Evelina","Eveline","Evelyn","Evey","Evie","Evita","Evonne","Evvie","Evvy","Evy","Eyde","Eydie","Ezmeralda","Fae","Faina","Faith","Fallon","Fan","Fanchette","Fanchon","Fancie","Fancy","Fanechka","Fania","Fanni","Fannie","Fanny","Fanya","Fara","Farah","Farand","Farica","Farra","Farrah","Farrand","Faun","Faunie","Faustina","Faustine","Fawn","Fawne","Fawnia","Fay","Faydra","Faye","Fayette","Fayina","Fayre","Fayth","Faythe","Federica","Fedora","Felecia","Felicdad","Felice","Felicia","Felicity","Felicle","Felipa","Felisha","Felita","Feliza","Fenelia","Feodora","Ferdinanda","Ferdinande","Fern","Fernanda","Fernande","Fernandina","Ferne","Fey","Fiann","Fianna","Fidela","Fidelia","Fidelity","Fifi","Fifine","Filia","Filide","Filippa","Fina","Fiona","Fionna","Fionnula","Fiorenze","Fleur","Fleurette","Flo","Flor","Flora","Florance","Flore","Florella","Florence","Florencia","Florentia","Florenza","Florette","Flori","Floria","Florida","Florie","Florina","Florinda","Floris","Florri","Florrie","Florry","Flory","Flossi","Flossie","Flossy","Flss","Fran","Francene","Frances","Francesca","Francine","Francisca","Franciska","Francoise","Francyne","Frank","Frankie","Franky","Franni","Frannie","Franny","Frayda","Fred","Freda","Freddi","Freddie","Freddy","Fredelia","Frederica","Fredericka","Frederique","Fredi","Fredia","Fredra","Fredrika","Freida","Frieda","Friederike","Fulvia","Gabbey","Gabbi","Gabbie","Gabey","Gabi","Gabie","Gabriel","Gabriela","Gabriell","Gabriella","Gabrielle","Gabriellia","Gabrila","Gaby","Gae","Gael","Gail","Gale","Galina","Garland","Garnet","Garnette","Gates","Gavra","Gavrielle","Gay","Gaye","Gayel","Gayla","Gayle","Gayleen","Gaylene","Gaynor","Gelya","Gena","Gene","Geneva","Genevieve","Genevra","Genia","Genna","Genni","Gennie","Gennifer","Genny","Genovera","Genvieve","George","Georgeanna","Georgeanne","Georgena","Georgeta","Georgetta","Georgette","Georgia","Georgiana","Georgianna","Georgianne","Georgie","Georgina","Georgine","Geralda","Geraldine","Gerda","Gerhardine","Geri","Gerianna","Gerianne","Gerladina","Germain","Germaine","Germana","Gerri","Gerrie","Gerrilee","Gerry","Gert","Gerta","Gerti","Gertie","Gertrud","Gertruda","Gertrude","Gertrudis","Gerty","Giacinta","Giana","Gianina","Gianna","Gigi","Gilberta","Gilberte","Gilbertina","Gilbertine","Gilda","Gilemette","Gill","Gillan","Gilli","Gillian","Gillie","Gilligan","Gilly","Gina","Ginelle","Ginevra","Ginger","Ginni","Ginnie","Ginnifer","Ginny","Giorgia","Giovanna","Gipsy","Giralda","Gisela","Gisele","Gisella","Giselle","Giuditta","Giulia","Giulietta","Giustina","Gizela","Glad","Gladi","Gladys","Gleda","Glen","Glenda","Glenine","Glenn","Glenna","Glennie","Glennis","Glori","Gloria","Gloriana","Gloriane","Glory","Glyn","Glynda","Glynis","Glynnis","Gnni","Godiva","Golda","Goldarina","Goldi","Goldia","Goldie","Goldina","Goldy","Grace","Gracia","Gracie","Grata","Gratia","Gratiana","Gray","Grayce","Grazia","Greer","Greta","Gretal","Gretchen","Grete","Gretel","Grethel","Gretna","Gretta","Grier","Griselda","Grissel","Guendolen","Guenevere","Guenna","Guglielma","Gui","Guillema","Guillemette","Guinevere","Guinna","Gunilla","Gus","Gusella","Gussi","Gussie","Gussy","Gusta","Gusti","Gustie","Gusty","Gwen","Gwendolen","Gwendolin","Gwendolyn","Gweneth","Gwenette","Gwenneth","Gwenni","Gwennie","Gwenny","Gwenora","Gwenore","Gwyn","Gwyneth","Gwynne","Gypsy","Hadria","Hailee","Haily","Haleigh","Halette","Haley","Hali","Halie","Halimeda","Halley","Halli","Hallie","Hally","Hana","Hanna","Hannah","Hanni","Hannie","Hannis","Hanny","Happy","Harlene","Harley","Harli","Harlie","Harmonia","Harmonie","Harmony","Harri","Harrie","Harriet","Harriett","Harrietta","Harriette","Harriot","Harriott","Hatti","Hattie","Hatty","Hayley","Hazel","Heath","Heather","Heda","Hedda","Heddi","Heddie","Hedi","Hedvig","Hedvige","Hedwig","Hedwiga","Hedy","Heida","Heidi","Heidie","Helaina","Helaine","Helen","Helen-elizabeth","Helena","Helene","Helenka","Helga","Helge","Helli","Heloise","Helsa","Helyn","Hendrika","Henka","Henrie","Henrieta","Henrietta","Henriette","Henryetta","Hephzibah","Hermia","Hermina","Hermine","Herminia","Hermione","Herta","Hertha","Hester","Hesther","Hestia","Hetti","Hettie","Hetty","Hilary","Hilda","Hildagard","Hildagarde","Hilde","Hildegaard","Hildegarde","Hildy","Hillary","Hilliary","Hinda","Holli","Hollie","Holly","Holly-anne","Hollyanne","Honey","Honor","Honoria","Hope","Horatia","Hortense","Hortensia","Hulda","Hyacinth","Hyacintha","Hyacinthe","Hyacinthia","Hyacinthie","Hynda","Ianthe","Ibbie","Ibby","Ida","Idalia","Idalina","Idaline","Idell","Idelle","Idette","Ileana","Ileane","Ilene","Ilise","Ilka","Illa","Ilsa","Ilse","Ilysa","Ilyse","Ilyssa","Imelda","Imogen","Imogene","Imojean","Ina","Indira","Ines","Inesita","Inessa","Inez","Inga","Ingaberg","Ingaborg","Inge","Ingeberg","Ingeborg","Inger","Ingrid","Ingunna","Inna","Iolande","Iolanthe","Iona","Iormina","Ira","Irena","Irene","Irina","Iris","Irita","Irma","Isa","Isabel","Isabelita","Isabella","Isabelle","Isadora","Isahella","Iseabal","Isidora","Isis","Isobel","Issi","Issie","Issy","Ivett","Ivette","Ivie","Ivonne","Ivory","Ivy","Izabel","Jacenta","Jacinda","Jacinta","Jacintha","Jacinthe","Jackelyn","Jacki","Jackie","Jacklin","Jacklyn","Jackquelin","Jackqueline","Jacky","Jaclin","Jaclyn","Jacquelin","Jacqueline","Jacquelyn","Jacquelynn","Jacquenetta","Jacquenette","Jacquetta","Jacquette","Jacqui","Jacquie","Jacynth","Jada","Jade","Jaime","Jaimie","Jaine","Jami","Jamie","Jamima","Jammie","Jan","Jana","Janaya","Janaye","Jandy","Jane","Janean","Janeczka","Janeen","Janel","Janela","Janella","Janelle","Janene","Janenna","Janessa","Janet","Janeta","Janetta","Janette","Janeva","Janey","Jania","Janice","Janie","Janifer","Janina","Janine","Janis","Janith","Janka","Janna","Jannel","Jannelle","Janot","Jany","Jaquelin","Jaquelyn","Jaquenetta","Jaquenette","Jaquith","Jasmin","Jasmina","Jasmine","Jayme","Jaymee","Jayne","Jaynell","Jazmin","Jean","Jeana","Jeane","Jeanelle","Jeanette","Jeanie","Jeanine","Jeanna","Jeanne","Jeannette","Jeannie","Jeannine","Jehanna","Jelene","Jemie","Jemima","Jemimah","Jemmie","Jemmy","Jen","Jena","Jenda","Jenelle","Jeni","Jenica","Jeniece","Jenifer","Jeniffer","Jenilee","Jenine","Jenn","Jenna","Jennee","Jennette","Jenni","Jennica","Jennie","Jennifer","Jennilee","Jennine","Jenny","Jeralee","Jere","Jeri","Jermaine","Jerrie","Jerrilee","Jerrilyn","Jerrine","Jerry","Jerrylee","Jess","Jessa","Jessalin","Jessalyn","Jessamine","Jessamyn","Jesse","Jesselyn","Jessi","Jessica","Jessie","Jessika","Jessy","Jewel","Jewell","Jewelle","Jill","Jillana","Jillane","Jillayne","Jilleen","Jillene","Jilli","Jillian","Jillie","Jilly","Jinny","Jo","Jo-ann","Jo-anne","Joan","Joana","Joane","Joanie","Joann","Joanna","Joanne","Joannes","Jobey","Jobi","Jobie","Jobina","Joby","Jobye","Jobyna","Jocelin","Joceline","Jocelyn","Jocelyne","Jodee","Jodi","Jodie","Jody","Joeann","Joela","Joelie","Joell","Joella","Joelle","Joellen","Joelly","Joellyn","Joelynn","Joete","Joey","Johanna","Johannah","Johna","Johnath","Johnette","Johnna","Joice","Jojo","Jolee","Joleen","Jolene","Joletta","Joli","Jolie","Joline","Joly","Jolyn","Jolynn","Jonell","Joni","Jonie","Jonis","Jordain","Jordan","Jordana","Jordanna","Jorey","Jori","Jorie","Jorrie","Jorry","Joscelin","Josee","Josefa","Josefina","Josepha","Josephina","Josephine","Josey","Josi","Josie","Josselyn","Josy","Jourdan","Joy","Joya","Joyan","Joyann","Joyce","Joycelin","Joye","Jsandye","Juana","Juanita","Judi","Judie","Judith","Juditha","Judy","Judye","Juieta","Julee","Juli","Julia","Juliana","Juliane","Juliann","Julianna","Julianne","Julie","Julienne","Juliet","Julieta","Julietta","Juliette","Julina","Juline","Julissa","Julita","June","Junette","Junia","Junie","Junina","Justina","Justine","Justinn","Jyoti","Kacey","Kacie","Kacy","Kaela","Kai","Kaia","Kaila","Kaile","Kailey","Kaitlin","Kaitlyn","Kaitlynn","Kaja","Kakalina","Kala","Kaleena","Kali","Kalie","Kalila","Kalina","Kalinda","Kalindi","Kalli","Kally","Kameko","Kamila","Kamilah","Kamillah","Kandace","Kandy","Kania","Kanya","Kara","Kara-lynn","Karalee","Karalynn","Kare","Karee","Karel","Karen","Karena","Kari","Karia","Karie","Karil","Karilynn","Karin","Karina","Karine","Kariotta","Karisa","Karissa","Karita","Karla","Karlee","Karleen","Karlen","Karlene","Karlie","Karlotta","Karlotte","Karly","Karlyn","Karmen","Karna","Karol","Karola","Karole","Karolina","Karoline","Karoly","Karon","Karrah","Karrie","Karry","Kary","Karyl","Karylin","Karyn","Kasey","Kass","Kassandra","Kassey","Kassi","Kassia","Kassie","Kat","Kata","Katalin","Kate","Katee","Katerina","Katerine","Katey","Kath","Katha","Katharina","Katharine","Katharyn","Kathe","Katherina","Katherine","Katheryn","Kathi","Kathie","Kathleen","Kathlin","Kathrine","Kathryn","Kathryne","Kathy","Kathye","Kati","Katie","Katina","Katine","Katinka","Katleen","Katlin","Katrina","Katrine","Katrinka","Katti","Kattie","Katuscha","Katusha","Katy","Katya","Kay","Kaycee","Kaye","Kayla","Kayle","Kaylee","Kayley","Kaylil","Kaylyn","Keeley","Keelia","Keely","Kelcey","Kelci","Kelcie","Kelcy","Kelila","Kellen","Kelley","Kelli","Kellia","Kellie","Kellina","Kellsie","Kelly","Kellyann","Kelsey","Kelsi","Kelsy","Kendra","Kendre","Kenna","Keri","Keriann","Kerianne","Kerri","Kerrie","Kerrill","Kerrin","Kerry","Kerstin","Kesley","Keslie","Kessia","Kessiah","Ketti","Kettie","Ketty","Kevina","Kevyn","Ki","Kiah","Kial","Kiele","Kiersten","Kikelia","Kiley","Kim","Kimberlee","Kimberley","Kimberli","Kimberly","Kimberlyn","Kimbra","Kimmi","Kimmie","Kimmy","Kinna","Kip","Kipp","Kippie","Kippy","Kira","Kirbee","Kirbie","Kirby","Kiri","Kirsten","Kirsteni","Kirsti","Kirstin","Kirstyn","Kissee","Kissiah","Kissie","Kit","Kitti","Kittie","Kitty","Kizzee","Kizzie","Klara","Klarika","Klarrisa","Konstance","Konstanze","Koo","Kora","Koral","Koralle","Kordula","Kore","Korella","Koren","Koressa","Kori","Korie","Korney","Korrie","Korry","Kris","Krissie","Krissy","Krista","Kristal","Kristan","Kriste","Kristel","Kristen","Kristi","Kristien","Kristin","Kristina","Kristine","Kristy","Kristyn","Krysta","Krystal","Krystalle","Krystle","Krystyna","Kyla","Kyle","Kylen","Kylie","Kylila","Kylynn","Kym","Kynthia","Kyrstin","Lacee","Lacey","Lacie","Lacy","Ladonna","Laetitia","Laina","Lainey","Lana","Lanae","Lane","Lanette","Laney","Lani","Lanie","Lanita","Lanna","Lanni","Lanny","Lara","Laraine","Lari","Larina","Larine","Larisa","Larissa","Lark","Laryssa","Latashia","Latia","Latisha","Latrena","Latrina","Laura","Lauraine","Laural","Lauralee","Laure","Lauree","Laureen","Laurel","Laurella","Lauren","Laurena","Laurene","Lauretta","Laurette","Lauri","Laurianne","Laurice","Laurie","Lauryn","Lavena","Laverna","Laverne","Lavina","Lavinia","Lavinie","Layla","Layne","Layney","Lea","Leah","Leandra","Leann","Leanna","Leanor","Leanora","Lebbie","Leda","Lee","Leeann","Leeanne","Leela","Leelah","Leena","Leesa","Leese","Legra","Leia","Leigh","Leigha","Leila","Leilah","Leisha","Lela","Lelah","Leland","Lelia","Lena","Lenee","Lenette","Lenka","Lenna","Lenora","Lenore","Leodora","Leoine","Leola","Leoline","Leona","Leonanie","Leone","Leonelle","Leonie","Leonora","Leonore","Leontine","Leontyne","Leora","Leshia","Lesley","Lesli","Leslie","Lesly","Lesya","Leta","Lethia","Leticia","Letisha","Letitia","Letizia","Letta","Letti","Lettie","Letty","Lexi","Lexie","Lexine","Lexis","Lexy","Leyla","Lezlie","Lia","Lian","Liana","Liane","Lianna","Lianne","Lib","Libbey","Libbi","Libbie","Libby","Licha","Lida","Lidia","Liesa","Lil","Lila","Lilah","Lilas","Lilia","Lilian","Liliane","Lilias","Lilith","Lilla","Lilli","Lillian","Lillis","Lilllie","Lilly","Lily","Lilyan","Lin","Lina","Lind","Linda","Lindi","Lindie","Lindsay","Lindsey","Lindsy","Lindy","Linea","Linell","Linet","Linette","Linn","Linnea","Linnell","Linnet","Linnie","Linzy","Lira","Lisa","Lisabeth","Lisbeth","Lise","Lisetta","Lisette","Lisha","Lishe","Lissa","Lissi","Lissie","Lissy","Lita","Liuka","Liv","Liva","Livia","Livvie","Livvy","Livvyy","Livy","Liz","Liza","Lizabeth","Lizbeth","Lizette","Lizzie","Lizzy","Loella","Lois","Loise","Lola","Loleta","Lolita","Lolly","Lona","Lonee","Loni","Lonna","Lonni","Lonnie","Lora","Lorain","Loraine","Loralee","Loralie","Loralyn","Loree","Loreen","Lorelei","Lorelle","Loren","Lorena","Lorene","Lorenza","Loretta","Lorette","Lori","Loria","Lorianna","Lorianne","Lorie","Lorilee","Lorilyn","Lorinda","Lorine","Lorita","Lorna","Lorne","Lorraine","Lorrayne","Lorri","Lorrie","Lorrin","Lorry","Lory","Lotta","Lotte","Lotti","Lottie","Lotty","Lou","Louella","Louisa","Louise","Louisette","Loutitia","Lu","Luce","Luci","Lucia","Luciana","Lucie","Lucienne","Lucila","Lucilia","Lucille","Lucina","Lucinda","Lucine","Lucita","Lucky","Lucretia","Lucy","Ludovika","Luella","Luelle","Luisa","Luise","Lula","Lulita","Lulu","Lura","Lurette","Lurleen","Lurlene","Lurline","Lusa","Luz","Lyda","Lydia","Lydie","Lyn","Lynda","Lynde","Lyndel","Lyndell","Lyndsay","Lyndsey","Lyndsie","Lyndy","Lynea","Lynelle","Lynett","Lynette","Lynn","Lynna","Lynne","Lynnea","Lynnell","Lynnelle","Lynnet","Lynnett","Lynnette","Lynsey","Lyssa","Mab","Mabel","Mabelle","Mable","Mada","Madalena","Madalyn","Maddalena","Maddi","Maddie","Maddy","Madel","Madelaine","Madeleine","Madelena","Madelene","Madelin","Madelina","Madeline","Madella","Madelle","Madelon","Madelyn","Madge","Madlen","Madlin","Madonna","Mady","Mae","Maegan","Mag","Magda","Magdaia","Magdalen","Magdalena","Magdalene","Maggee","Maggi","Maggie","Maggy","Mahala","Mahalia","Maia","Maible","Maiga","Maighdiln","Mair","Maire","Maisey","Maisie","Maitilde","Mala","Malanie","Malena","Malia","Malina","Malinda","Malinde","Malissa","Malissia","Mallissa","Mallorie","Mallory","Malorie","Malory","Malva","Malvina","Malynda","Mame","Mamie","Manda","Mandi","Mandie","Mandy","Manon","Manya","Mara","Marabel","Marcela","Marcelia","Marcella","Marcelle","Marcellina","Marcelline","Marchelle","Marci","Marcia","Marcie","Marcile","Marcille","Marcy","Mareah","Maren","Marena","Maressa","Marga","Margalit","Margalo","Margaret","Margareta","Margarete","Margaretha","Margarethe","Margaretta","Margarette","Margarita","Margaux","Marge","Margeaux","Margery","Marget","Margette","Margi","Margie","Margit","Margo","Margot","Margret","Marguerite","Margy","Mari","Maria","Mariam","Marian","Mariana","Mariann","Marianna","Marianne","Maribel","Maribelle","Maribeth","Marice","Maridel","Marie","Marie-ann","Marie-jeanne","Marieann","Mariejeanne","Mariel","Mariele","Marielle","Mariellen","Marietta","Mariette","Marigold","Marijo","Marika","Marilee","Marilin","Marillin","Marilyn","Marin","Marina","Marinna","Marion","Mariquilla","Maris","Marisa","Mariska","Marissa","Marita","Maritsa","Mariya","Marj","Marja","Marje","Marji","Marjie","Marjorie","Marjory","Marjy","Marketa","Marla","Marlane","Marleah","Marlee","Marleen","Marlena","Marlene","Marley","Marlie","Marline","Marlo","Marlyn","Marna","Marne","Marney","Marni","Marnia","Marnie","Marquita","Marrilee","Marris","Marrissa","Marsha","Marsiella","Marta","Martelle","Martguerita","Martha","Marthe","Marthena","Marti","Martica","Martie","Martina","Martita","Marty","Martynne","Mary","Marya","Maryann","Maryanna","Maryanne","Marybelle","Marybeth","Maryellen","Maryjane","Maryjo","Maryl","Marylee","Marylin","Marylinda","Marylou","Marylynne","Maryrose","Marys","Marysa","Masha","Matelda","Mathilda","Mathilde","Matilda","Matilde","Matti","Mattie","Matty","Maud","Maude","Maudie","Maura","Maure","Maureen","Maureene","Maurene","Maurine","Maurise","Maurita","Maurizia","Mavis","Mavra","Max","Maxi","Maxie","Maxine","Maxy","May","Maybelle","Maye","Mead","Meade","Meagan","Meaghan","Meara","Mechelle","Meg","Megan","Megen","Meggi","Meggie","Meggy","Meghan","Meghann","Mehetabel","Mei","Mel","Mela","Melamie","Melania","Melanie","Melantha","Melany","Melba","Melesa","Melessa","Melicent","Melina","Melinda","Melinde","Melisa","Melisande","Melisandra","Melisenda","Melisent","Melissa","Melisse","Melita","Melitta","Mella","Melli","Mellicent","Mellie","Mellisa","Mellisent","Melloney","Melly","Melodee","Melodie","Melody","Melonie","Melony","Melosa","Melva","Mercedes","Merci","Mercie","Mercy","Meredith","Meredithe","Meridel","Meridith","Meriel","Merilee","Merilyn","Meris","Merissa","Merl","Merla","Merle","Merlina","Merline","Merna","Merola","Merralee","Merridie","Merrie","Merrielle","Merrile","Merrilee","Merrili","Merrill","Merrily","Merry","Mersey","Meryl","Meta","Mia","Micaela","Michaela","Michaelina","Michaeline","Michaella","Michal","Michel","Michele","Michelina","Micheline","Michell","Michelle","Micki","Mickie","Micky","Midge","Mignon","Mignonne","Miguela","Miguelita","Mikaela","Mil","Mildred","Mildrid","Milena","Milicent","Milissent","Milka","Milli","Millicent","Millie","Millisent","Milly","Milzie","Mimi","Min","Mina","Minda","Mindy","Minerva","Minetta","Minette","Minna","Minnaminnie","Minne","Minni","Minnie","Minnnie","Minny","Minta","Miquela","Mira","Mirabel","Mirabella","Mirabelle","Miran","Miranda","Mireielle","Mireille","Mirella","Mirelle","Miriam","Mirilla","Mirna","Misha","Missie","Missy","Misti","Misty","Mitzi","Modesta","Modestia","Modestine","Modesty","Moina","Moira","Moll","Mollee","Molli","Mollie","Molly","Mommy","Mona","Monah","Monica","Monika","Monique","Mora","Moreen","Morena","Morgan","Morgana","Morganica","Morganne","Morgen","Moria","Morissa","Morna","Moselle","Moyna","Moyra","Mozelle","Muffin","Mufi","Mufinella","Muire","Mureil","Murial","Muriel","Murielle","Myra","Myrah","Myranda","Myriam","Myrilla","Myrle","Myrlene","Myrna","Myrta","Myrtia","Myrtice","Myrtie","Myrtle","Nada","Nadean","Nadeen","Nadia","Nadine","Nadiya","Nady","Nadya","Nalani","Nan","Nana","Nananne","Nance","Nancee","Nancey","Nanci","Nancie","Nancy","Nanete","Nanette","Nani","Nanice","Nanine","Nannette","Nanni","Nannie","Nanny","Nanon","Naoma","Naomi","Nara","Nari","Nariko","Nat","Nata","Natala","Natalee","Natalie","Natalina","Nataline","Natalya","Natasha","Natassia","Nathalia","Nathalie","Natividad","Natka","Natty","Neala","Neda","Nedda","Nedi","Neely","Neila","Neile","Neilla","Neille","Nelia","Nelie","Nell","Nelle","Nelli","Nellie","Nelly","Nerissa","Nerita","Nert","Nerta","Nerte","Nerti","Nertie","Nerty","Nessa","Nessi","Nessie","Nessy","Nesta","Netta","Netti","Nettie","Nettle","Netty","Nevsa","Neysa","Nichol","Nichole","Nicholle","Nicki","Nickie","Nicky","Nicol","Nicola","Nicole","Nicolea","Nicolette","Nicoli","Nicolina","Nicoline","Nicolle","Nikaniki","Nike","Niki","Nikki","Nikkie","Nikoletta","Nikolia","Nina","Ninetta","Ninette","Ninnetta","Ninnette","Ninon","Nissa","Nisse","Nissie","Nissy","Nita","Nixie","Noami","Noel","Noelani","Noell","Noella","Noelle","Noellyn","Noelyn","Noemi","Nola","Nolana","Nolie","Nollie","Nomi","Nona","Nonah","Noni","Nonie","Nonna","Nonnah","Nora","Norah","Norean","Noreen","Norene","Norina","Norine","Norma","Norri","Norrie","Norry","Novelia","Nydia","Nyssa","Octavia","Odele","Odelia","Odelinda","Odella","Odelle","Odessa","Odetta","Odette","Odilia","Odille","Ofelia","Ofella","Ofilia","Ola","Olenka","Olga","Olia","Olimpia","Olive","Olivette","Olivia","Olivie","Oliy","Ollie","Olly","Olva","Olwen","Olympe","Olympia","Olympie","Ondrea","Oneida","Onida","Oona","Opal","Opalina","Opaline","Ophelia","Ophelie","Ora","Oralee","Oralia","Oralie","Oralla","Oralle","Orel","Orelee","Orelia","Orelie","Orella","Orelle","Oriana","Orly","Orsa","Orsola","Ortensia","Otha","Othelia","Othella","Othilia","Othilie","Ottilie","Page","Paige","Paloma","Pam","Pamela","Pamelina","Pamella","Pammi","Pammie","Pammy","Pandora","Pansie","Pansy","Paola","Paolina","Papagena","Pat","Patience","Patrica","Patrice","Patricia","Patrizia","Patsy","Patti","Pattie","Patty","Paula","Paule","Pauletta","Paulette","Pauli","Paulie","Paulina","Pauline","Paulita","Pauly","Pavia","Pavla","Pearl","Pearla","Pearle","Pearline","Peg","Pegeen","Peggi","Peggie","Peggy","Pen","Penelopa","Penelope","Penni","Pennie","Penny","Pepi","Pepita","Peri","Peria","Perl","Perla","Perle","Perri","Perrine","Perry","Persis","Pet","Peta","Petra","Petrina","Petronella","Petronia","Petronilla","Petronille","Petunia","Phaedra","Phaidra","Phebe","Phedra","Phelia","Phil","Philipa","Philippa","Philippe","Philippine","Philis","Phillida","Phillie","Phillis","Philly","Philomena","Phoebe","Phylis","Phyllida","Phyllis","Phyllys","Phylys","Pia","Pier","Pierette","Pierrette","Pietra","Piper","Pippa","Pippy","Polly","Pollyanna","Pooh","Poppy","Portia","Pris","Prisca","Priscella","Priscilla","Prissie","Pru","Prudence","Prudi","Prudy","Prue","Queenie","Quentin","Querida","Quinn","Quinta","Quintana","Quintilla","Quintina","Rachael","Rachel","Rachele","Rachelle","Rae","Raeann","Raf","Rafa","Rafaela","Rafaelia","Rafaelita","Rahal","Rahel","Raina","Raine","Rakel","Ralina","Ramona","Ramonda","Rana","Randa","Randee","Randene","Randi","Randie","Randy","Ranee","Rani","Rania","Ranice","Ranique","Ranna","Raphaela","Raquel","Raquela","Rasia","Rasla","Raven","Ray","Raychel","Raye","Rayna","Raynell","Rayshell","Rea","Reba","Rebbecca","Rebe","Rebeca","Rebecca","Rebecka","Rebeka","Rebekah","Rebekkah","Ree","Reeba","Reena","Reeta","Reeva","Regan","Reggi","Reggie","Regina","Regine","Reiko","Reina","Reine","Remy","Rena","Renae","Renata","Renate","Rene","Renee","Renell","Renelle","Renie","Rennie","Reta","Retha","Revkah","Rey","Reyna","Rhea","Rheba","Rheta","Rhetta","Rhiamon","Rhianna","Rhianon","Rhoda","Rhodia","Rhodie","Rhody","Rhona","Rhonda","Riane","Riannon","Rianon","Rica","Ricca","Rici","Ricki","Rickie","Ricky","Riki","Rikki","Rina","Risa","Rita","Riva","Rivalee","Rivi","Rivkah","Rivy","Roana","Roanna","Roanne","Robbi","Robbie","Robbin","Robby","Robbyn","Robena","Robenia","Roberta","Robin","Robina","Robinet","Robinett","Robinetta","Robinette","Robinia","Roby","Robyn","Roch","Rochell","Rochella","Rochelle","Rochette","Roda","Rodi","Rodie","Rodina","Rois","Romola","Romona","Romonda","Romy","Rona","Ronalda","Ronda","Ronica","Ronna","Ronni","Ronnica","Ronnie","Ronny","Roobbie","Rora","Rori","Rorie","Rory","Ros","Rosa","Rosabel","Rosabella","Rosabelle","Rosaleen","Rosalia","Rosalie","Rosalind","Rosalinda","Rosalinde","Rosaline","Rosalyn","Rosalynd","Rosamond","Rosamund","Rosana","Rosanna","Rosanne","Rose","Roseann","Roseanna","Roseanne","Roselia","Roselin","Roseline","Rosella","Roselle","Rosemaria","Rosemarie","Rosemary","Rosemonde","Rosene","Rosetta","Rosette","Roshelle","Rosie","Rosina","Rosita","Roslyn","Rosmunda","Rosy","Row","Rowe","Rowena","Roxana","Roxane","Roxanna","Roxanne","Roxi","Roxie","Roxine","Roxy","Roz","Rozalie","Rozalin","Rozamond","Rozanna","Rozanne","Roze","Rozele","Rozella","Rozelle","Rozina","Rubetta","Rubi","Rubia","Rubie","Rubina","Ruby","Ruperta","Ruth","Ruthann","Ruthanne","Ruthe","Ruthi","Ruthie","Ruthy","Ryann","Rycca","Saba","Sabina","Sabine","Sabra","Sabrina","Sacha","Sada","Sadella","Sadie","Sadye","Saidee","Sal","Salaidh","Sallee","Salli","Sallie","Sally","Sallyann","Sallyanne","Saloma","Salome","Salomi","Sam","Samantha","Samara","Samaria","Sammy","Sande","Sandi","Sandie","Sandra","Sandy","Sandye","Sapphira","Sapphire","Sara","Sara-ann","Saraann","Sarah","Sarajane","Saree","Sarena","Sarene","Sarette","Sari","Sarina","Sarine","Sarita","Sascha","Sasha","Sashenka","Saudra","Saundra","Savina","Sayre","Scarlet","Scarlett","Sean","Seana","Seka","Sela","Selena","Selene","Selestina","Selia","Selie","Selina","Selinda","Seline","Sella","Selle","Selma","Sena","Sephira","Serena","Serene","Shae","Shaina","Shaine","Shalna","Shalne","Shana","Shanda","Shandee","Shandeigh","Shandie","Shandra","Shandy","Shane","Shani","Shanie","Shanna","Shannah","Shannen","Shannon","Shanon","Shanta","Shantee","Shara","Sharai","Shari","Sharia","Sharity","Sharl","Sharla","Sharleen","Sharlene","Sharline","Sharon","Sharona","Sharron","Sharyl","Shaun","Shauna","Shawn","Shawna","Shawnee","Shay","Shayla","Shaylah","Shaylyn","Shaylynn","Shayna","Shayne","Shea","Sheba","Sheela","Sheelagh","Sheelah","Sheena","Sheeree","Sheila","Sheila-kathryn","Sheilah","Shel","Shela","Shelagh","Shelba","Shelbi","Shelby","Shelia","Shell","Shelley","Shelli","Shellie","Shelly","Shena","Sher","Sheree","Sheri","Sherie","Sherill","Sherilyn","Sherline","Sherri","Sherrie","Sherry","Sherye","Sheryl","Shina","Shir","Shirl","Shirlee","Shirleen","Shirlene","Shirley","Shirline","Shoshana","Shoshanna","Siana","Sianna","Sib","Sibbie","Sibby","Sibeal","Sibel","Sibella","Sibelle","Sibilla","Sibley","Sibyl","Sibylla","Sibylle","Sidoney","Sidonia","Sidonnie","Sigrid","Sile","Sileas","Silva","Silvana","Silvia","Silvie","Simona","Simone","Simonette","Simonne","Sindee","Siobhan","Sioux","Siouxie","Sisely","Sisile","Sissie","Sissy","Siusan","Sofia","Sofie","Sondra","Sonia","Sonja","Sonni","Sonnie","Sonnnie","Sonny","Sonya","Sophey","Sophi","Sophia","Sophie","Sophronia","Sorcha","Sosanna","Stace","Stacee","Stacey","Staci","Stacia","Stacie","Stacy","Stafani","Star","Starla","Starlene","Starlin","Starr","Stefa","Stefania","Stefanie","Steffane","Steffi","Steffie","Stella","Stepha","Stephana","Stephani","Stephanie","Stephannie","Stephenie","Stephi","Stephie","Stephine","Stesha","Stevana","Stevena","Stoddard","Storm","Stormi","Stormie","Stormy","Sue","Suellen","Sukey","Suki","Sula","Sunny","Sunshine","Susan","Susana","Susanetta","Susann","Susanna","Susannah","Susanne","Susette","Susi","Susie","Susy","Suzann","Suzanna","Suzanne","Suzette","Suzi","Suzie","Suzy","Sybil","Sybila","Sybilla","Sybille","Sybyl","Sydel","Sydelle","Sydney","Sylvia","Tabatha","Tabbatha","Tabbi","Tabbie","Tabbitha","Tabby","Tabina","Tabitha","Taffy","Talia","Tallia","Tallie","Tallou","Tallulah","Tally","Talya","Talyah","Tamar","Tamara","Tamarah","Tamarra","Tamera","Tami","Tamiko","Tamma","Tammara","Tammi","Tammie","Tammy","Tamqrah","Tamra","Tana","Tandi","Tandie","Tandy","Tanhya","Tani","Tania","Tanitansy","Tansy","Tanya","Tara","Tarah","Tarra","Tarrah","Taryn","Tasha","Tasia","Tate","Tatiana","Tatiania","Tatum","Tawnya","Tawsha","Ted","Tedda","Teddi","Teddie","Teddy","Tedi","Tedra","Teena","Teirtza","Teodora","Tera","Teresa","Terese","Teresina","Teresita","Teressa","Teri","Teriann","Terra","Terri","Terrie","Terrijo","Terry","Terrye","Tersina","Terza","Tess","Tessa","Tessi","Tessie","Tessy","Thalia","Thea","Theadora","Theda","Thekla","Thelma","Theo","Theodora","Theodosia","Theresa","Therese","Theresina","Theresita","Theressa","Therine","Thia","Thomasa","Thomasin","Thomasina","Thomasine","Tiena","Tierney","Tiertza","Tiff","Tiffani","Tiffanie","Tiffany","Tiffi","Tiffie","Tiffy","Tilda","Tildi","Tildie","Tildy","Tillie","Tilly","Tim","Timi","Timmi","Timmie","Timmy","Timothea","Tina","Tine","Tiphani","Tiphanie","Tiphany","Tish","Tisha","Tobe","Tobey","Tobi","Toby","Tobye","Toinette","Toma","Tomasina","Tomasine","Tomi","Tommi","Tommie","Tommy","Toni","Tonia","Tonie","Tony","Tonya","Tonye","Tootsie","Torey","Tori","Torie","Torrie","Tory","Tova","Tove","Tracee","Tracey","Traci","Tracie","Tracy","Trenna","Tresa","Trescha","Tressa","Tricia","Trina","Trish","Trisha","Trista","Trix","Trixi","Trixie","Trixy","Truda","Trude","Trudey","Trudi","Trudie","Trudy","Trula","Tuesday","Twila","Twyla","Tybi","Tybie","Tyne","Ula","Ulla","Ulrica","Ulrika","Ulrikaumeko","Ulrike","Umeko","Una","Ursa","Ursala","Ursola","Ursula","Ursulina","Ursuline","Uta","Val","Valaree","Valaria","Vale","Valeda","Valencia","Valene","Valenka","Valentia","Valentina","Valentine","Valera","Valeria","Valerie","Valery","Valerye","Valida","Valina","Valli","Vallie","Vally","Valma","Valry","Van","Vanda","Vanessa","Vania","Vanna","Vanni","Vannie","Vanny","Vanya","Veda","Velma","Velvet","Venita","Venus","Vera","Veradis","Vere","Verena","Verene","Veriee","Verile","Verina","Verine","Verla","Verna","Vernice","Veronica","Veronika","Veronike","Veronique","Vevay","Vi","Vicki","Vickie","Vicky","Victoria","Vida","Viki","Vikki","Vikky","Vilhelmina","Vilma","Vin","Vina","Vinita","Vinni","Vinnie","Vinny","Viola","Violante","Viole","Violet","Violetta","Violette","Virgie","Virgina","Virginia","Virginie","Vita","Vitia","Vitoria","Vittoria","Viv","Viva","Vivi","Vivia","Vivian","Viviana","Vivianna","Vivianne","Vivie","Vivien","Viviene","Vivienne","Viviyan","Vivyan","Vivyanne","Vonni","Vonnie","Vonny","Vyky","Wallie","Wallis","Walliw","Wally","Waly","Wanda","Wandie","Wandis","Waneta","Wanids","Wenda","Wendeline","Wendi","Wendie","Wendy","Wendye","Wenona","Wenonah","Whitney","Wileen","Wilhelmina","Wilhelmine","Wilie","Willa","Willabella","Willamina","Willetta","Willette","Willi","Willie","Willow","Willy","Willyt","Wilma","Wilmette","Wilona","Wilone","Wilow","Windy","Wini","Winifred","Winna","Winnah","Winne","Winni","Winnie","Winnifred","Winny","Winona","Winonah","Wren","Wrennie","Wylma","Wynn","Wynne","Wynnie","Wynny","Xaviera","Xena","Xenia","Xylia","Xylina","Yalonda","Yasmeen","Yasmin","Yelena","Yetta","Yettie","Yetty","Yevette","Ynes","Ynez","Yoko","Yolanda","Yolande","Yolane","Yolanthe","Yoshi","Yoshiko","Yovonnda","Ysabel","Yvette","Yvonne","Zabrina","Zahara","Zandra","Zaneta","Zara","Zarah","Zaria","Zarla","Zea","Zelda","Zelma","Zena","Zenia","Zia","Zilvia","Zita","Zitella","Zoe","Zola","Zonda","Zondra","Zonnya","Zora","Zorah","Zorana","Zorina","Zorine","Zsazsa","Zulema","Zuzana"],Lae={exports:{}};(function(e,t){(function(n,r){{var i=r();e&&e.exports&&(t=e.exports=i),t.randomColor=i}})(as,function(){var n=null,r={};m();var i=[],a=function(T){if(T=T||{},T.seed!==void 0&&T.seed!==null&&T.seed===parseInt(T.seed,10))n=T.seed;else if(typeof T.seed=="string")n=E(T.seed);else{if(T.seed!==void 0&&T.seed!==null)throw new TypeError("The seed value must be an integer or string");n=null}var L,M,D;if(T.count!==null&&T.count!==void 0){for(var I=T.count,B=[],N=0;NB.length;){var O=a(T);n!==null&&(T.seed=n),B.push(O)}return T.count=I,B}return L=o(T),M=s(L,T),D=l(L,M,T),u([L,M,D],T)};function o(T){if(i.length>0){var L=S(T.hue),M=p(L),D=(L[1]-L[0])/i.length,I=parseInt((M-L[0])/D);i[I]===!0?I=(I+2)%i.length:i[I]=!0;var B=(L[0]+I*D)%359,N=(L[0]+(I+1)*D)%359;return L=[B,N],M=p(L),M<0&&(M=360+M),M}else{var L=f(T.hue);return M=p(L),M<0&&(M=360+M),M}}function s(T,L){if(L.hue==="monochrome")return 0;if(L.luminosity==="random")return p([0,100]);var M=d(T),D=M[0],I=M[1];switch(L.luminosity){case"bright":D=55;break;case"dark":D=I-10;break;case"light":I=55;break}return p([D,I])}function l(T,L,M){var D=c(T,L),I=100;switch(M.luminosity){case"dark":I=D+20;break;case"light":D=(I+D)/2;break;case"random":D=0,I=100;break}return p([D,I])}function u(T,L){switch(L.format){case"hsvArray":return T;case"hslArray":return k(T);case"hsl":var M=k(T);return"hsl("+M[0]+", "+M[1]+"%, "+M[2]+"%)";case"hsla":var D=k(T),N=L.alpha||Math.random();return"hsla("+D[0]+", "+D[1]+"%, "+D[2]+"%, "+N+")";case"rgbArray":return v(T);case"rgb":var I=v(T);return"rgb("+I.join(", ")+")";case"rgba":var B=v(T),N=L.alpha||Math.random();return"rgba("+B.join(", ")+", "+N+")";default:return g(T)}}function c(T,L){for(var M=h(T).lowerBounds,D=0;D=I&&L<=N){var R=(O-B)/(N-I),P=B-R*I;return R*L+P}}return 0}function f(T){if(typeof parseInt(T)=="number"){var L=parseInt(T);if(L<360&&L>0)return[L,L]}if(typeof T=="string"){if(r[T]){var M=r[T];if(M.hueRange)return M.hueRange}else if(T.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var D=w(T)[0];return[D,D]}}return[0,360]}function d(T){return h(T).saturationRange}function h(T){T>=334&&T<=360&&(T-=360);for(var L in r){var M=r[L];if(M.hueRange&&T>=M.hueRange[0]&&T<=M.hueRange[1])return r[L]}return"Color not found"}function p(T){if(n===null){var L=.618033988749895,M=Math.random();return M+=L,M%=1,Math.floor(T[0]+M*(T[1]+1-T[0]))}else{var D=T[1]||1,I=T[0]||0;n=(n*9301+49297)%233280;var B=n/233280;return Math.floor(I+B*(D-I))}}function g(T){var L=v(T);function M(I){var B=I.toString(16);return B.length==1?"0"+B:B}var D="#"+M(L[0])+M(L[1])+M(L[2]);return D}function b(T,L,M){var D=M[0][0],I=M[M.length-1][0],B=M[M.length-1][1],N=M[0][1];r[T]={hueRange:L,lowerBounds:M,saturationRange:[D,I],brightnessRange:[B,N]}}function m(){b("monochrome",null,[[0,0],[100,0]]),b("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),b("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),b("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),b("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),b("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),b("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),b("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function v(T){var L=T[0];L===0&&(L=1),L===360&&(L=359),L=L/360;var M=T[1]/100,D=T[2]/100,I=Math.floor(L*6),B=L*6-I,N=D*(1-M),O=D*(1-B*M),R=D*(1-(1-B)*M),P=256,H=256,F=256;switch(I){case 0:P=D,H=R,F=N;break;case 1:P=O,H=D,F=N;break;case 2:P=N,H=D,F=R;break;case 3:P=N,H=O,F=D;break;case 4:P=R,H=N,F=D;break;case 5:P=D,H=N,F=O;break}var q=[Math.floor(P*255),Math.floor(H*255),Math.floor(F*255)];return q}function w(T){T=T.replace(/^#/,""),T=T.length===3?T.replace(/(.)/g,"$1$1"):T;var L=parseInt(T.substr(0,2),16)/255,M=parseInt(T.substr(2,2),16)/255,D=parseInt(T.substr(4,2),16)/255,I=Math.max(L,M,D),B=I-Math.min(L,M,D),N=I?B/I:0;switch(I){case L:return[60*((M-D)/B%6)||0,N,I];case M:return[60*((D-L)/B+2)||0,N,I];case D:return[60*((L-M)/B+4)||0,N,I]}}function k(T){var L=T[0],M=T[1]/100,D=T[2]/100,I=(2-M)*D;return[L,Math.round(M*D/(I<1?I:2-I)*1e4)/100,I/2*100]}function E(T){for(var L=0,M=0;M!==T.length&&!(L>=Number.MAX_SAFE_INTEGER);M++)L+=T.charCodeAt(M);return L}function S(T){if(isNaN(T)){if(typeof T=="string"){if(r[T]){var M=r[T];if(M.hueRange)return M.hueRange}else if(T.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var D=w(T)[0];return h(D).hueRange}}}else{var L=parseInt(T);if(L<360&&L>0)return h(T).hueRange}return[0,360]}return a})})(Lae,Lae.exports);var R8t=Lae.exports;const c_=ls(R8t);function d0(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:kde(e)?2:_de(e)?3:0}function _6(e,t){return ZC(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function M8t(e,t){return ZC(e)===2?e.get(t):e[t]}function Kje(e,t,n){var r=ZC(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Yje(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function kde(e){return N8t&&e instanceof Map}function _de(e){return $8t&&e instanceof Set}function xb(e){return e.o||e.t}function Cde(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Jje(e);delete t[Qo];for(var n=C6(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=O8t),Object.freeze(e),t&&I4(e,function(n,r){return Ede(r,!0)},!0)),e}function O8t(){d0(2)}function xde(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Yp(e){var t=Nae[e];return t||d0(18,e),t}function L8t(e,t){Nae[e]||(Nae[e]=t)}function Bae(){return NA}function xq(e,t){t&&(Yp("Patches"),e.u=[],e.s=[],e.v=t)}function zL(e){Pae(e),e.p.forEach(B8t),e.p=null}function Pae(e){e===NA&&(NA=e.l)}function B4e(e){return NA={p:[],l:NA,h:e,m:!0,_:0}}function B8t(e){var t=e[Qo];t.i===0||t.i===1?t.j():t.O=!0}function Sq(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Yp("ES5").S(t,e,r),r?(n[Qo].P&&(zL(t),d0(4)),qg(e)&&(e=UL(t,e),t.l||jL(t,e)),t.u&&Yp("Patches").M(n[Qo].t,e,t.u,t.s)):e=UL(t,n,[]),zL(t),t.u&&t.v(t.u,t.s),e!==Xje?e:void 0}function UL(e,t,n){if(xde(t))return t;var r=t[Qo];if(!r)return I4(t,function(s,l){return P4e(e,r,t,s,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return jL(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=Cde(r.k):r.o,a=i,o=!1;r.i===3&&(a=new Set(i),i.clear(),o=!0),I4(a,function(s,l){return P4e(e,r,i,s,l,n,o)}),jL(e,i,!1),n&&e.u&&Yp("Patches").N(r,n,e.u,e.s)}return r.o}function P4e(e,t,n,r,i,a,o){if(m2(i)){var s=UL(e,i,a&&t&&t.i!==3&&!_6(t.R,r)?a.concat(r):void 0);if(Kje(n,r,s),!m2(s))return;e.m=!1}else o&&n.add(i);if(qg(i)&&!xde(i)){if(!e.h.D&&e._<1)return;UL(e,i),t&&t.A.l||jL(e,i)}}function jL(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&Ede(t,n)}function Aq(e,t){var n=e[Qo];return(n?xb(n):e)[t]}function F4e(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function yv(e){e.P||(e.P=!0,e.l&&yv(e.l))}function Tq(e){e.o||(e.o=Cde(e.t))}function Fae(e,t,n){var r=kde(t)?Yp("MapSet").F(t,n):_de(t)?Yp("MapSet").T(t,n):e.g?function(i,a){var o=Array.isArray(i),s={i:o?1:0,A:a?a.A:Bae(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=s,u=$A;o&&(l=[s],u=E9);var c=Proxy.revocable(l,u),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):Yp("ES5").J(t,n);return(n?n.A:Bae()).p.push(r),r}function P8t(e){return m2(e)||d0(22,e),function t(n){if(!qg(n))return n;var r,i=n[Qo],a=ZC(n);if(i){if(!i.P&&(i.i<4||!Yp("ES5").K(i)))return i.t;i.I=!0,r=N4e(n,a),i.I=!1}else r=N4e(n,a);return I4(r,function(o,s){i&&M8t(i.t,o)===s||Kje(r,o,t(s))}),a===3?new Set(r):r}(e)}function N4e(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Cde(e)}function F8t(){function e(a,o){var s=i[a];return s?s.enumerable=o:i[a]=s={configurable:!0,enumerable:o,get:function(){var l=this[Qo];return $A.get(l,a)},set:function(l){var u=this[Qo];$A.set(u,a,l)}},s}function t(a){for(var o=a.length-1;o>=0;o--){var s=a[o][Qo];if(!s.P)switch(s.i){case 5:r(s)&&yv(s);break;case 4:n(s)&&yv(s)}}}function n(a){for(var o=a.t,s=a.k,l=C6(s),u=l.length-1;u>=0;u--){var c=l[u];if(c!==Qo){var f=o[c];if(f===void 0&&!_6(o,c))return!0;var d=s[c],h=d&&d[Qo];if(h?h.t!==f:!Yje(d,f))return!0}}var p=!!o[Qo];return l.length!==C6(o).length+(p?0:1)}function r(a){var o=a.k;if(o.length!==a.t.length)return!0;var s=Object.getOwnPropertyDescriptor(o,o.length-1);if(s&&!s.get)return!0;for(var l=0;l1?m-1:0),w=1;w1?c-1:0),d=1;d=0;i--){var a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));var o=Yp("Patches").$;return m2(n)?o(n,r):this.produce(n,function(s){return o(s,r)})},e}(),cd=new U8t,Zje=cd.produce;cd.produceWithPatches.bind(cd);cd.setAutoFreeze.bind(cd);cd.setUseProxies.bind(cd);cd.applyPatches.bind(cd);cd.createDraft.bind(cd);cd.finishDraft.bind(cd);function zA(e){return zA=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},zA(e)}function j8t(e,t){if(zA(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(zA(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function H8t(e){var t=j8t(e,"string");return zA(t)==="symbol"?t:String(t)}function Ade(e,t,n){return t=H8t(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j4e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function H4e(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Bu(1));return n(Qje)(e,t)}if(typeof e!="function")throw new Error(Bu(2));var i=e,a=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function c(){if(l)throw new Error(Bu(3));return a}function f(g){if(typeof g!="function")throw new Error(Bu(4));if(l)throw new Error(Bu(5));var b=!0;return u(),s.push(g),function(){if(b){if(l)throw new Error(Bu(6));b=!1,u();var v=s.indexOf(g);s.splice(v,1),o=null}}}function d(g){if(!q8t(g))throw new Error(Bu(7));if(typeof g.type>"u")throw new Error(Bu(8));if(l)throw new Error(Bu(9));try{l=!0,a=i(a,g)}finally{l=!1}for(var b=o=s,m=0;m"u")throw new Error(Bu(12));if(typeof n(void 0,{type:HL.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Bu(13))})}function eHe(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(Bu(14));f[h]=b,c=c||b!==g}return c=c||a.length!==Object.keys(l).length,c?f:l}}function qL(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1](e.Dark="dark",e.Light="light",e))(Kr||{}),aHe=(e=>(e.Sublime="sublime",e.Vim="vim",e.Emacs="emacs",e))(aHe||{}),oHe=(e=>(e.Two="2",e.Four="4",e.Eight="8",e))(oHe||{});const rv=new E7("$$codepair$$setting"),v7t=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,sHe=Gje({dictionaries:[Vje]}),UA=rv.getValue({menu:{theme:v7t?"dark":"light",codeKeyMap:"sublime",tabSize:"2",userID:"",userName:sHe,userColor:c_(),userThemeColor:"yorkie"}});UA.menu.userName===""&&(UA.menu.userName=sHe);UA.menu.userColor===""&&(UA.menu.userColor=c_());const lHe=y1({name:"setting",initialState:UA,reducers:{setDarkMode(e,t){e.menu.theme=t.payload?"dark":"light",rv.setValue(e)},setCodeKeyMap(e,t){e.menu.codeKeyMap=t.payload,rv.setValue(e)},setTabSize(e,t){e.menu.tabSize=t.payload,rv.setValue(e)},setUserID(e,t){e.menu.userID=t.payload,rv.setValue(e)},setUserName(e,t){e.menu.userName=t.payload,rv.setValue(e)},setUserColor(e,t){e.menu.userColor=t.payload,rv.setValue(e)},setUserThemeColor(e,t){e.menu.userThemeColor=t.payload,rv.setValue(e)}}}),{setDarkMode:y7t,setCodeKeyMap:b7t,setTabSize:w7t,setUserID:k7t,setUserName:_7t,setUserColor:C7t,setUserThemeColor:E7t}=lHe.actions,x7t=lHe.reducer;var zae={exports:{}};(function(e,t){(function(n,r){r(t)})(as,function(n){var r=Object.defineProperty,i=($,y,x)=>y in $?r($,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):$[y]=x,a=($,y,x)=>i($,typeof y!="symbol"?y+"":y,x),o,s,l,u,c,f,d,h,p,g;(function($){$[$.Canceled=1]="Canceled",$[$.Unknown=2]="Unknown",$[$.InvalidArgument=3]="InvalidArgument",$[$.DeadlineExceeded=4]="DeadlineExceeded",$[$.NotFound=5]="NotFound",$[$.AlreadyExists=6]="AlreadyExists",$[$.PermissionDenied=7]="PermissionDenied",$[$.ResourceExhausted=8]="ResourceExhausted",$[$.FailedPrecondition=9]="FailedPrecondition",$[$.Aborted=10]="Aborted",$[$.OutOfRange=11]="OutOfRange",$[$.Unimplemented=12]="Unimplemented",$[$.Internal=13]="Internal",$[$.Unavailable=14]="Unavailable",$[$.DataLoss=15]="DataLoss",$[$.Unauthenticated=16]="Unauthenticated"})(g||(g={}));function b($){const y=g[$];return typeof y!="string"?$.toString():y[0].toLowerCase()+y.substring(1).replace(/[A-Z]/g,x=>"_"+x.toLowerCase())}class m extends Error{constructor(y,x=g.Unknown,j,K,ke){super(v(y,x)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=y,this.code=x,this.metadata=new Headers(j??{}),this.details=K??[],this.cause=ke}static from(y,x=g.Unknown){return y instanceof m?y:y instanceof Error?y.name=="AbortError"?new m(y.message,g.Canceled):new m(y.message,x,void 0,void 0,y):new m(String(y),x,void 0,void 0,y)}static[Symbol.hasInstance](y){return y instanceof Error?Object.getPrototypeOf(y)===m.prototype?!0:y.name==="ConnectError"&&"code"in y&&typeof y.code=="number"&&"metadata"in y&&"details"in y&&Array.isArray(y.details)&&"rawMessage"in y&&typeof y.rawMessage=="string"&&"cause"in y:!1}findDetails(y){const x="typeName"in y?{findMessage:K=>K===y.typeName?y:void 0}:y,j=[];for(const K of this.details){if("getType"in K){x.findMessage(K.getType().typeName)&&j.push(K);continue}const ke=x.findMessage(K.type);if(ke)try{j.push(ke.fromBinary(K.value))}catch{}}return j}}function v($,y){return $.length?`[${b(y)}] ${$}`:`[${b(y)}]`}function w($,y){if(!$)throw new Error(y)}const k=34028234663852886e22,E=-34028234663852886e22,S=4294967295,T=2147483647,L=-2147483648;function M($){if(typeof $!="number")throw new Error("invalid int 32: "+typeof $);if(!Number.isInteger($)||$>T||$S||$<0)throw new Error("invalid uint 32: "+$)}function I($){if(typeof $!="number")throw new Error("invalid float 32: "+typeof $);if(Number.isFinite($)&&($>k||$({no:K.no,name:K.name,localName:$[K.no]})))}function R($,y,x){const j=Object.create(null),K=Object.create(null),ke=[];for(const Fe of y){const Ve=H(Fe);ke.push(Ve),j[Fe.name]=Ve,K[Fe.no]=Ve}return{typeName:$,values:ke,findName(Fe){return j[Fe]},findNumber(Fe){return K[Fe]}}}function P($,y,x){const j={};for(const K of y){const ke=H(K);j[ke.localName]=ke.no,j[ke.no]=ke.localName}return O(j,$,y),j}function H($){return"localName"in $?$:Object.assign(Object.assign({},$),{localName:$.name})}class F{equals(y){return this.getType().runtime.util.equals(this.getType(),this,y)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(y,x){const j=this.getType(),K=j.runtime.bin,ke=K.makeReadOptions(x);return K.readMessage(this,ke.readerFactory(y),y.byteLength,ke),this}fromJson(y,x){const j=this.getType(),K=j.runtime.json,ke=K.makeReadOptions(x);return K.readMessage(j,y,ke,this),this}fromJsonString(y,x){let j;try{j=JSON.parse(y)}catch(K){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${K instanceof Error?K.message:String(K)}`)}return this.fromJson(j,x)}toBinary(y){const x=this.getType(),j=x.runtime.bin,K=j.makeWriteOptions(y),ke=K.writerFactory();return j.writeMessage(this,ke,K),ke.finish()}toJson(y){const x=this.getType(),j=x.runtime.json,K=j.makeWriteOptions(y);return j.writeMessage(this,K)}toJsonString(y){var x;const j=this.toJson(y);return JSON.stringify(j,null,(x=y?.prettySpaces)!==null&&x!==void 0?x:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function q($,y,x,j){var K;const ke=(K=j?.localName)!==null&&K!==void 0?K:y.substring(y.lastIndexOf(".")+1),Fe={[ke]:function(Ve){$.util.initFields(this),$.util.initPartial(Ve,this)}}[ke];return Object.setPrototypeOf(Fe.prototype,new F),Object.assign(Fe,{runtime:$,typeName:y,fields:$.util.newFieldList(x),fromBinary(Ve,it){return new Fe().fromBinary(Ve,it)},fromJson(Ve,it){return new Fe().fromJson(Ve,it)},fromJsonString(Ve,it){return new Fe().fromJsonString(Ve,it)},equals(Ve,it){return $.util.equals(Fe,Ve,it)}}),Fe}function V(){let $=0,y=0;for(let j=0;j<28;j+=7){let K=this.buf[this.pos++];if($|=(K&127)<>4,!(x&128))return this.assertBounds(),[$,y];for(let j=3;j<=31;j+=7){let K=this.buf[this.pos++];if(y|=(K&127)<>>ke,Ve=!(!(Fe>>>7)&&y==0),it=(Ve?Fe|128:Fe)&255;if(x.push(it),!Ve)return}const j=$>>>28&15|(y&7)<<4,K=!!(y>>3);if(x.push((K?j|128:j)&255),!!K){for(let ke=3;ke<31;ke=ke+7){const Fe=y>>>ke,Ve=!!(Fe>>>7),it=(Ve?Fe|128:Fe)&255;if(x.push(it),!Ve)return}x.push(y>>>31&1)}}const G=4294967296;function J($){const y=$[0]==="-";y&&($=$.slice(1));const x=1e6;let j=0,K=0;function ke(Fe,Ve){const it=Number($.slice(Fe,Ve));K*=x,j=j*x+it,j>=G&&(K=K+(j/G|0),j=j%G)}return ke(-24,-18),ke(-18,-12),ke(-12,-6),ke(-6),y?le(j,K):ae(j,K)}function te($,y){let x=ae($,y);const j=x.hi&2147483648;j&&(x=le(x.lo,x.hi));const K=re(x.lo,x.hi);return j?"-"+K:K}function re($,y){if({lo:$,hi:y}=Q($,y),y<=2097151)return String(G*y+$);const x=$&16777215,j=($>>>24|y<<8)&16777215,K=y>>16&65535;let ke=x+j*6777216+K*6710656,Fe=j+K*8147497,Ve=K*2;const it=1e7;return ke>=it&&(Fe+=Math.floor(ke/it),ke%=it),Fe>=it&&(Ve+=Math.floor(Fe/it),Fe%=it),Ve.toString()+oe(Fe)+oe(ke)}function Q($,y){return{lo:$>>>0,hi:y>>>0}}function ae($,y){return{lo:$|0,hi:y|0}}function le($,y){return y=~y,$?$=~$+1:y+=1,ae($,y)}const oe=$=>{const y=String($);return"0000000".slice(y.length)+y};function ee($,y){if($>=0){for(;$>127;)y.push($&127|128),$=$>>>7;y.push($)}else{for(let x=0;x<9;x++)y.push($&127|128),$=$>>7;y.push(1)}}function ne(){let $=this.buf[this.pos++],y=$&127;if(!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<7,!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<14,!($&128))return this.assertBounds(),y;if($=this.buf[this.pos++],y|=($&127)<<21,!($&128))return this.assertBounds(),y;$=this.buf[this.pos++],y|=($&15)<<28;for(let x=5;$&128&&x<10;x++)$=this.buf[this.pos++];if($&128)throw new Error("invalid varint");return this.assertBounds(),y>>>0}function ue(){const $=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof $.getBigInt64=="function"&&typeof $.getBigUint64=="function"&&typeof $.setBigInt64=="function"&&typeof $.setBigUint64=="function"&&(typeof process!="object"||typeof process.env!="object"||{}.BUF_BIGINT_DISABLE!=="1")){const K=BigInt("-9223372036854775808"),ke=BigInt("9223372036854775807"),Fe=BigInt("0"),Ve=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(it){const ct=typeof it=="bigint"?it:BigInt(it);if(ct>ke||ctVe||ctw(/^-?[0-9]+$/.test(K),`int64 invalid: ${K}`),j=K=>w(/^[0-9]+$/.test(K),`uint64 invalid: ${K}`);return{zero:"0",supported:!1,parse(K){return typeof K!="string"&&(K=K.toString()),x(K),K},uParse(K){return typeof K!="string"&&(K=K.toString()),j(K),K},enc(K){return typeof K!="string"&&(K=K.toString()),x(K),J(K)},uEnc(K){return typeof K!="string"&&(K=K.toString()),j(K),J(K)},dec(K,ke){return te(K,ke)},uDec(K,ke){return re(K,ke)}}}const Ae=ue();var ce;(function($){$[$.DOUBLE=1]="DOUBLE",$[$.FLOAT=2]="FLOAT",$[$.INT64=3]="INT64",$[$.UINT64=4]="UINT64",$[$.INT32=5]="INT32",$[$.FIXED64=6]="FIXED64",$[$.FIXED32=7]="FIXED32",$[$.BOOL=8]="BOOL",$[$.STRING=9]="STRING",$[$.BYTES=12]="BYTES",$[$.UINT32=13]="UINT32",$[$.SFIXED32=15]="SFIXED32",$[$.SFIXED64=16]="SFIXED64",$[$.SINT32=17]="SINT32",$[$.SINT64=18]="SINT64"})(ce||(ce={}));var be;(function($){$[$.BIGINT=0]="BIGINT",$[$.STRING=1]="STRING"})(be||(be={}));function ge($,y,x){if(y===x)return!0;if($==ce.BYTES){if(!(y instanceof Uint8Array)||!(x instanceof Uint8Array)||y.length!==x.length)return!1;for(let j=0;j>>0)}raw(y){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(y),this}uint32(y){for(D(y);y>127;)this.buf.push(y&127|128),y=y>>>7;return this.buf.push(y),this}int32(y){return M(y),ee(y,this.buf),this}bool(y){return this.buf.push(y?1:0),this}bytes(y){return this.uint32(y.byteLength),this.raw(y)}string(y){let x=this.textEncoder.encode(y);return this.uint32(x.byteLength),this.raw(x)}float(y){I(y);let x=new Uint8Array(4);return new DataView(x.buffer).setFloat32(0,y,!0),this.raw(x)}double(y){let x=new Uint8Array(8);return new DataView(x.buffer).setFloat64(0,y,!0),this.raw(x)}fixed32(y){D(y);let x=new Uint8Array(4);return new DataView(x.buffer).setUint32(0,y,!0),this.raw(x)}sfixed32(y){M(y);let x=new Uint8Array(4);return new DataView(x.buffer).setInt32(0,y,!0),this.raw(x)}sint32(y){return M(y),y=(y<<1^y>>31)>>>0,ee(y,this.buf),this}sfixed64(y){let x=new Uint8Array(8),j=new DataView(x.buffer),K=Ae.enc(y);return j.setInt32(0,K.lo,!0),j.setInt32(4,K.hi,!0),this.raw(x)}fixed64(y){let x=new Uint8Array(8),j=new DataView(x.buffer),K=Ae.uEnc(y);return j.setInt32(0,K.lo,!0),j.setInt32(4,K.hi,!0),this.raw(x)}int64(y){let x=Ae.enc(y);return X(x.lo,x.hi,this.buf),this}sint64(y){let x=Ae.enc(y),j=x.hi>>31,K=x.lo<<1^j,ke=(x.hi<<1|x.lo>>>31)^j;return X(K,ke,this.buf),this}uint64(y){let x=Ae.uEnc(y);return X(x.lo,x.hi,this.buf),this}}class De{constructor(y,x){this.varint64=V,this.uint32=ne,this.buf=y,this.len=y.length,this.pos=0,this.view=new DataView(y.buffer,y.byteOffset,y.byteLength),this.textDecoder=x??new TextDecoder}tag(){let y=this.uint32(),x=y>>>3,j=y&7;if(x<=0||j<0||j>5)throw new Error("illegal tag: field no "+x+" wire type "+j);return[x,j]}skip(y,x){let j=this.pos;switch(y){case he.Varint:for(;this.buf[this.pos++]&128;);break;case he.Bit64:this.pos+=4;case he.Bit32:this.pos+=4;break;case he.LengthDelimited:let K=this.uint32();this.pos+=K;break;case he.StartGroup:for(;;){const[ke,Fe]=this.tag();if(Fe===he.EndGroup){if(x!==void 0&&ke!==x)throw new Error("invalid end group tag");break}this.skip(Fe,ke)}break;default:throw new Error("cant skip wire type "+y)}return this.assertBounds(),this.buf.subarray(j,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let y=this.uint32();return y>>>1^-(y&1)}int64(){return Ae.dec(...this.varint64())}uint64(){return Ae.uDec(...this.varint64())}sint64(){let[y,x]=this.varint64(),j=-(y&1);return y=(y>>>1|(x&1)<<31)^j,x=x>>>1^j,Ae.dec(y,x)}bool(){let[y,x]=this.varint64();return y!==0||x!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Ae.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Ae.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let y=this.uint32(),x=this.pos;return this.pos+=y,this.assertBounds(),this.buf.subarray(x,x+y)}string(){return this.textDecoder.decode(this.bytes())}}function Ie($,y,x,j){let K;return{typeName:y,extendee:x,get field(){if(!K){const ke=typeof j=="function"?j():j;ke.name=y.split(".").pop(),ke.jsonName=`[${y}]`,K=$.util.newFieldList([ke]).list()[0]}return K},runtime:$}}function Be($){const y=$.field.localName,x=Object.create(null);return x[y]=we($),[x,()=>x[y]]}function we($){const y=$.field;if(y.repeated)return[];if(y.default!==void 0)return y.default;switch(y.kind){case"enum":return y.T.values[0].no;case"scalar":return ve(y.T,y.L);case"message":const x=y.T,j=new x;return x.fieldWrapper?x.fieldWrapper.unwrapField(j):j;case"map":throw"map fields are not allowed to be extensions"}}function je($,y){if(!y.repeated&&(y.kind=="enum"||y.kind=="scalar")){for(let x=$.length-1;x>=0;--x)if($[x].no==y.no)return[$[x]];return[]}return $.filter(x=>x.no===y.no)}let Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Re=[];for(let $=0;$>4,Fe=ke,K=2;break;case 2:x[j++]=(Fe&15)<<4|(ke&60)>>2,Fe=ke,K=3;break;case 3:x[j++]=(Fe&3)<<6|ke,K=0;break}}if(K==1)throw Error("invalid base64 string.");return x.subarray(0,j)},enc($){let y="",x=0,j,K=0;for(let ke=0;ke<$.length;ke++)switch(j=$[ke],x){case 0:y+=Oe[j>>2],K=(j&3)<<4,x=1;break;case 1:y+=Oe[K|j>>4],K=(j&15)<<2,x=2;break;case 2:y+=Oe[K|j>>6],y+=Oe[j&63],x=0;break}return x&&(y+=Oe[K],y+="=",x==1&&(y+="=")),y}};function fe($,y,x){Ye(y,$);const j=y.runtime.bin.makeReadOptions(x),K=je($.getType().runtime.bin.listUnknownFields($),y.field),[ke,Fe]=Be(y);for(const Ve of K)y.runtime.bin.readField(ke,j.readerFactory(Ve.data),y.field,Ve.wireType,j);return Fe()}function de($,y,x,j){Ye(y,$);const K=y.runtime.bin.makeReadOptions(j),ke=y.runtime.bin.makeWriteOptions(j);if(xe($,y)){const ct=$.getType().runtime.bin.listUnknownFields($).filter(It=>It.no!=y.field.no);$.getType().runtime.bin.discardUnknownFields($);for(const It of ct)$.getType().runtime.bin.onUnknownField($,It.no,It.wireType,It.data)}const Fe=ke.writerFactory();let Ve=y.field;!Ve.opt&&!Ve.repeated&&(Ve.kind=="enum"||Ve.kind=="scalar")&&(Ve=Object.assign(Object.assign({},y.field),{opt:!0})),y.runtime.bin.writeField(Ve,x,Fe,ke);const it=K.readerFactory(Fe.finish());for(;it.posj.no==y.field.no)}function Ye($,y){w($.extendee.typeName==y.getType().typeName,`extension ${$.typeName} can only be applied to message ${$.extendee.typeName}`)}function Ze($,y){const x=$.localName;if($.repeated)return y[x].length>0;if($.oneof)return y[$.oneof.localName].case===x;switch($.kind){case"enum":case"scalar":return $.opt||$.req?y[x]!==void 0:$.kind=="enum"?y[x]!==$.T.values[0].no:!ie($.T,y[x]);case"message":return y[x]!==void 0;case"map":return Object.keys(y[x]).length>0}}function st($,y){const x=$.localName,j=!$.opt&&!$.req;if($.repeated)y[x]=[];else if($.oneof)y[$.oneof.localName]={case:void 0};else switch($.kind){case"map":y[x]={};break;case"enum":y[x]=j?$.T.values[0].no:void 0;break;case"scalar":y[x]=j?ve($.T,$.L):void 0;break;case"message":y[x]=void 0;break}}function at($,y){if($===null||typeof $!="object"||!Object.getOwnPropertyNames(F.prototype).every(j=>j in $&&typeof $[j]=="function"))return!1;const x=$.getType();return x===null||typeof x!="function"||!("typeName"in x)||typeof x.typeName!="string"?!1:y===void 0?!0:x.typeName==y.typeName}function rt($,y){return at(y)||!$.fieldWrapper?y:$.fieldWrapper.wrapField(y)}ce.DOUBLE,ce.FLOAT,ce.INT64,ce.UINT64,ce.INT32,ce.UINT32,ce.BOOL,ce.STRING,ce.BYTES;const et={ignoreUnknownFields:!1},Ot={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function jt($){return $?Object.assign(Object.assign({},et),$):et}function xt($){return $?Object.assign(Object.assign({},Ot),$):Ot}const pt=Symbol(),_t=Symbol();function ht(){return{makeReadOptions:jt,makeWriteOptions:xt,readMessage($,y,x,j){if(y==null||Array.isArray(y)||typeof y!="object")throw new Error(`cannot decode message ${$.typeName} from JSON: ${yt(y)}`);j=j??new $;const K=new Map,ke=x.typeRegistry;for(const[Fe,Ve]of Object.entries(y)){const it=$.fields.findJsonName(Fe);if(it){if(it.oneof){if(Ve===null&&it.kind=="scalar")continue;const ct=K.get(it.oneof);if(ct!==void 0)throw new Error(`cannot decode message ${$.typeName} from JSON: multiple keys for oneof "${it.oneof.name}" present: "${ct}", "${Fe}"`);K.set(it.oneof,Fe)}Lt(j,Ve,it,x,$)}else{let ct=!1;if(ke?.findExtension&&Fe.startsWith("[")&&Fe.endsWith("]")){const It=ke.findExtension(Fe.substring(1,Fe.length-1));if(It&&It.extendee.typeName==$.typeName){ct=!0;const[fn,Cn]=Be(It);Lt(fn,Ve,It.field,x,It),de(j,It,Cn(),x)}}if(!ct&&!x.ignoreUnknownFields)throw new Error(`cannot decode message ${$.typeName} from JSON: key "${Fe}" is unknown`)}}return j},writeMessage($,y){const x=$.getType(),j={};let K;try{for(K of x.fields.byNumber()){if(!Ze(K,$)){if(K.req)throw"required field not set";if(!y.emitDefaultValues||!$t(K))continue}const Fe=K.oneof?$[K.oneof.localName].value:$[K.localName],Ve=Tt(K,Fe,y);Ve!==void 0&&(j[y.useProtoFieldName?K.name:K.jsonName]=Ve)}const ke=y.typeRegistry;if(ke?.findExtensionFor)for(const Fe of x.runtime.bin.listUnknownFields($)){const Ve=ke.findExtensionFor(x.typeName,Fe.no);if(Ve&&xe($,Ve)){const it=fe($,Ve,y),ct=Tt(Ve.field,it,y);ct!==void 0&&(j[Ve.field.jsonName]=ct)}}}catch(ke){const Fe=K?`cannot encode field ${x.typeName}.${K.name} to JSON`:`cannot encode message ${x.typeName} to JSON`,Ve=ke instanceof Error?ke.message:String(ke);throw new Error(Fe+(Ve.length>0?`: ${Ve}`:""))}return j},readScalar($,y,x){return Ht($,y,x??be.BIGINT,!0)},writeScalar($,y,x){if(y!==void 0&&(x||ie($,y)))return Ut($,y)},debug:yt}}function yt($){if($===null)return"null";switch(typeof $){case"object":return Array.isArray($)?"array":"object";case"string":return $.length>100?"string":`"${$.split('"').join('\\"')}"`;default:return String($)}}function Lt($,y,x,j,K){let ke=x.localName;if(x.repeated){if(w(x.kind!="map"),y===null)return;if(!Array.isArray(y))throw new Error(`cannot decode field ${K.typeName}.${x.name} from JSON: ${yt(y)}`);const Fe=$[ke];for(const Ve of y){if(Ve===null)throw new Error(`cannot decode field ${K.typeName}.${x.name} from JSON: ${yt(Ve)}`);switch(x.kind){case"message":Fe.push(x.T.fromJson(Ve,j));break;case"enum":const it=vn(x.T,Ve,j.ignoreUnknownFields,!0);it!==_t&&Fe.push(it);break;case"scalar":try{Fe.push(Ht(x.T,Ve,x.L,!0))}catch(ct){let It=`cannot decode field ${K.typeName}.${x.name} from JSON: ${yt(Ve)}`;throw ct instanceof Error&&ct.message.length>0&&(It+=`: ${ct.message}`),new Error(It)}break}}}else if(x.kind=="map"){if(y===null)return;if(typeof y!="object"||Array.isArray(y))throw new Error(`cannot decode field ${K.typeName}.${x.name} from JSON: ${yt(y)}`);const Fe=$[ke];for(const[Ve,it]of Object.entries(y)){if(it===null)throw new Error(`cannot decode field ${K.typeName}.${x.name} from JSON: map value null`);let ct;try{ct=on(x.K,Ve)}catch(It){let fn=`cannot decode map key for field ${K.typeName}.${x.name} from JSON: ${yt(y)}`;throw It instanceof Error&&It.message.length>0&&(fn+=`: ${It.message}`),new Error(fn)}switch(x.V.kind){case"message":Fe[ct]=x.V.T.fromJson(it,j);break;case"enum":const It=vn(x.V.T,it,j.ignoreUnknownFields,!0);It!==_t&&(Fe[ct]=It);break;case"scalar":try{Fe[ct]=Ht(x.V.T,it,be.BIGINT,!0)}catch(fn){let Cn=`cannot decode map value for field ${K.typeName}.${x.name} from JSON: ${yt(y)}`;throw fn instanceof Error&&fn.message.length>0&&(Cn+=`: ${fn.message}`),new Error(Cn)}break}}}else switch(x.oneof&&($=$[x.oneof.localName]={case:ke},ke="value"),x.kind){case"message":const Fe=x.T;if(y===null&&Fe.typeName!="google.protobuf.Value")return;let Ve=$[ke];at(Ve)?Ve.fromJson(y,j):($[ke]=Ve=Fe.fromJson(y,j),Fe.fieldWrapper&&!x.oneof&&($[ke]=Fe.fieldWrapper.unwrapField(Ve)));break;case"enum":const it=vn(x.T,y,j.ignoreUnknownFields,!1);switch(it){case pt:st(x,$);break;case _t:break;default:$[ke]=it;break}break;case"scalar":try{const ct=Ht(x.T,y,x.L,!1);switch(ct){case pt:st(x,$);break;default:$[ke]=ct;break}}catch(ct){let It=`cannot decode field ${K.typeName}.${x.name} from JSON: ${yt(y)}`;throw ct instanceof Error&&ct.message.length>0&&(It+=`: ${ct.message}`),new Error(It)}break}}function on($,y){if($===ce.BOOL)switch(y){case"true":y=!0;break;case"false":y=!1;break}return Ht($,y,be.BIGINT,!0).toString()}function Ht($,y,x,j){if(y===null)return j?ve($,x):pt;switch($){case ce.DOUBLE:case ce.FLOAT:if(y==="NaN")return Number.NaN;if(y==="Infinity")return Number.POSITIVE_INFINITY;if(y==="-Infinity")return Number.NEGATIVE_INFINITY;if(y===""||typeof y=="string"&&y.trim().length!==y.length||typeof y!="string"&&typeof y!="number")break;const K=Number(y);if(Number.isNaN(K)||!Number.isFinite(K))break;return $==ce.FLOAT&&I(K),K;case ce.INT32:case ce.FIXED32:case ce.SFIXED32:case ce.SINT32:case ce.UINT32:let ke;if(typeof y=="number"?ke=y:typeof y=="string"&&y.length>0&&y.trim().length===y.length&&(ke=Number(y)),ke===void 0)break;return $==ce.UINT32||$==ce.FIXED32?D(ke):M(ke),ke;case ce.INT64:case ce.SFIXED64:case ce.SINT64:if(typeof y!="number"&&typeof y!="string")break;const Fe=Ae.parse(y);return x?Fe.toString():Fe;case ce.FIXED64:case ce.UINT64:if(typeof y!="number"&&typeof y!="string")break;const Ve=Ae.uParse(y);return x?Ve.toString():Ve;case ce.BOOL:if(typeof y!="boolean")break;return y;case ce.STRING:if(typeof y!="string")break;try{encodeURIComponent(y)}catch{throw new Error("invalid UTF8")}return y;case ce.BYTES:if(y==="")return new Uint8Array(0);if(typeof y!="string")break;return ye.dec(y)}throw new Error}function vn($,y,x,j){if(y===null)return $.typeName=="google.protobuf.NullValue"?0:j?$.values[0].no:pt;switch(typeof y){case"number":if(Number.isInteger(y))return y;break;case"string":const K=$.findName(y);if(K!==void 0)return K.no;if(x)return _t;break}throw new Error(`cannot decode enum ${$.typeName} from JSON: ${yt(y)}`)}function $t($){return $.repeated||$.kind=="map"?!0:!($.oneof||$.kind=="message"||$.opt||$.req)}function Tt($,y,x){if($.kind=="map"){w(typeof y=="object"&&y!=null);const j={},K=Object.entries(y);switch($.V.kind){case"scalar":for(const[Fe,Ve]of K)j[Fe.toString()]=Ut($.V.T,Ve);break;case"message":for(const[Fe,Ve]of K)j[Fe.toString()]=Ve.toJson(x);break;case"enum":const ke=$.V.T;for(const[Fe,Ve]of K)j[Fe.toString()]=Wt(ke,Ve,x.enumAsInteger);break}return x.emitDefaultValues||K.length>0?j:void 0}if($.repeated){w(Array.isArray(y));const j=[];switch($.kind){case"scalar":for(let K=0;K0?j:void 0}switch($.kind){case"scalar":return Ut($.T,y);case"enum":return Wt($.T,y,x.enumAsInteger);case"message":return rt($.T,y).toJson(x)}}function Wt($,y,x){var j;if(w(typeof y=="number"),$.typeName=="google.protobuf.NullValue")return null;if(x)return y;const K=$.findNumber(y);return(j=K?.name)!==null&&j!==void 0?j:y}function Ut($,y){switch($){case ce.INT32:case ce.SFIXED32:case ce.SINT32:case ce.FIXED32:case ce.UINT32:return w(typeof y=="number"),y;case ce.FLOAT:case ce.DOUBLE:return w(typeof y=="number"),Number.isNaN(y)?"NaN":y===Number.POSITIVE_INFINITY?"Infinity":y===Number.NEGATIVE_INFINITY?"-Infinity":y;case ce.STRING:return w(typeof y=="string"),y;case ce.BOOL:return w(typeof y=="boolean"),y;case ce.UINT64:case ce.FIXED64:case ce.INT64:case ce.SFIXED64:case ce.SINT64:return w(typeof y=="bigint"||typeof y=="string"||typeof y=="number"),y.toString();case ce.BYTES:return w(y instanceof Uint8Array),ye.enc(y)}}const en=Symbol("@bufbuild/protobuf/unknown-fields"),Gt={readUnknownFields:!0,readerFactory:$=>new De($)},gn={writeUnknownFields:!0,writerFactory:()=>new $e};function In($){return $?Object.assign(Object.assign({},Gt),$):Gt}function Wn($){return $?Object.assign(Object.assign({},gn),$):gn}function yn(){return{makeReadOptions:In,makeWriteOptions:Wn,listUnknownFields($){var y;return(y=$[en])!==null&&y!==void 0?y:[]},discardUnknownFields($){delete $[en]},writeUnknownFields($,y){const j=$[en];if(j)for(const K of j)y.tag(K.no,K.wireType).raw(K.data)},onUnknownField($,y,x,j){const K=$;Array.isArray(K[en])||(K[en]=[]),K[en].push({no:y,wireType:x,data:j})},readMessage($,y,x,j,K){const ke=$.getType(),Fe=K?y.len:y.pos+x;let Ve,it;for(;y.pos0&&(it=gi),ke){let Cn=$[Fe];if(j==he.LengthDelimited&&Ve!=ce.STRING&&Ve!=ce.BYTES){let On=y.uint32()+y.pos;for(;y.posat(Cn,fn)?Cn:new fn(Cn));else{const Cn=Fe[K];fn.fieldWrapper?fn.typeName==="google.protobuf.BytesValue"?ke[K]=Bn(Cn):ke[K]=Cn:ke[K]=at(Cn,fn)?Cn:new fn(Cn)}break}}},equals($,y,x){return y===x?!0:!y||!x?!1:$.fields.byMember().every(j=>{const K=y[j.localName],ke=x[j.localName];if(j.repeated){if(K.length!==ke.length)return!1;switch(j.kind){case"message":return K.every((Fe,Ve)=>j.T.equals(Fe,ke[Ve]));case"scalar":return K.every((Fe,Ve)=>ge(j.T,Fe,ke[Ve]));case"enum":return K.every((Fe,Ve)=>ge(ce.INT32,Fe,ke[Ve]))}throw new Error(`repeated cannot contain ${j.kind}`)}switch(j.kind){case"message":return j.T.equals(K,ke);case"enum":return ge(ce.INT32,K,ke);case"scalar":return ge(j.T,K,ke);case"oneof":if(K.case!==ke.case)return!1;const Fe=j.findField(K.case);if(Fe===void 0)return!0;switch(Fe.kind){case"message":return Fe.T.equals(K.value,ke.value);case"enum":return ge(ce.INT32,K.value,ke.value);case"scalar":return ge(Fe.T,K.value,ke.value)}throw new Error(`oneof cannot contain ${Fe.kind}`);case"map":const Ve=Object.keys(K).concat(Object.keys(ke));switch(j.V.kind){case"message":const it=j.V.T;return Ve.every(It=>it.equals(K[It],ke[It]));case"enum":return Ve.every(It=>ge(ce.INT32,K[It],ke[It]));case"scalar":const ct=j.V.T;return Ve.every(It=>ge(ct,K[It],ke[It]))}break}})},clone($){const y=$.getType(),x=new y,j=x;for(const K of y.fields.byMember()){const ke=$[K.localName];let Fe;if(K.repeated)Fe=ke.map(si);else if(K.kind=="map"){Fe=j[K.localName];for(const[Ve,it]of Object.entries(ke))Fe[Ve]=si(it)}else K.kind=="oneof"?Fe=K.findField(ke.case)?{case:ke.case,value:si(ke.value)}:{case:void 0}:Fe=si(ke);j[K.localName]=Fe}for(const K of y.runtime.bin.listUnknownFields($))y.runtime.bin.onUnknownField(j,K.no,K.wireType,K.data);return x}}}function si($){if($===void 0)return $;if(at($))return $.clone();if($ instanceof Uint8Array){const y=new Uint8Array($.byteLength);return y.set($),y}return $}function Bn($){return $ instanceof Uint8Array?$:new Uint8Array($)}function An($,y,x){return{syntax:$,json:ht(),bin:yn(),util:Object.assign(Object.assign({},Mr()),{newFieldList:y,initFields:x}),makeMessageType(j,K,ke){return q(this,j,K,ke)},makeEnum:P,makeEnumType:R,getEnumType:N,makeExtension(j,K,ke){return Ie(this,j,K,ke)}}}class Hr{constructor(y,x){this._fields=y,this._normalizer=x}findJsonName(y){if(!this.jsonNames){const x={};for(const j of this.list())x[j.jsonName]=x[j.name]=j;this.jsonNames=x}return this.jsonNames[y]}find(y){if(!this.numbers){const x={};for(const j of this.list())x[j.no]=j;this.numbers=x}return this.numbers[y]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((y,x)=>y.no-x.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const y=this.members;let x;for(const j of this.list())j.oneof?j.oneof!==x&&(x=j.oneof,y.push(x)):y.push(j)}return this.members}}function Pi($,y){const x=ra($);return y?x:or(Yt(x))}function Ei($){return Pi($,!1)}const Pr=ra;function ra($){let y=!1;const x=[];for(let j=0;j<$.length;j++){let K=$.charAt(j);switch(K){case"_":y=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":x.push(K),y=!1;break;default:y&&(y=!1,K=K.toUpperCase()),x.push(K);break}}return x.join("")}const Xe=new Set(["constructor","toString","toJSON","valueOf"]),gt=new Set(["getType","clone","equals","fromBinary","fromJson","fromJsonString","toBinary","toJson","toJsonString","toObject"]),Ct=$=>`${$}$`,Yt=$=>gt.has($)?Ct($):$,or=$=>Xe.has($)?Ct($):$;class kn{constructor(y){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.req=!1,this.default=void 0,this.fields=[],this.name=y,this.localName=Ei(y)}addField(y){w(y.oneof===this,`field ${y.name} not one of ${this.name}`),this.fields.push(y)}findField(y){if(!this._lookup){this._lookup=Object.create(null);for(let x=0;xnew Hr($,y=>Rn(y)),$=>{for(const y of $.getType().fields.byMember()){if(y.opt)continue;const x=y.localName,j=$;if(y.repeated){j[x]=[];continue}switch(y.kind){case"oneof":j[x]={case:void 0};break;case"enum":j[x]=0;break;case"map":j[x]={};break;case"scalar":j[x]=ve(y.T,y.L);break}}});var wn;(function($){$[$.Unary=0]="Unary",$[$.ServerStreaming=1]="ServerStreaming",$[$.ClientStreaming=2]="ClientStreaming",$[$.BiDiStreaming=3]="BiDiStreaming"})(wn||(wn={}));var Zn;(function($){$[$.NoSideEffects=1]="NoSideEffects",$[$.Idempotent=2]="Idempotent"})(Zn||(Zn={}));class wt extends F{constructor(y){super(),this.seconds=Ae.zero,this.nanos=0,Ke.util.initPartial(y,this)}fromJson(y,x){if(typeof y!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${Ke.json.debug(y)}`);const j=y.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!j)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const K=Date.parse(j[1]+"-"+j[2]+"-"+j[3]+"T"+j[4]+":"+j[5]+":"+j[6]+(j[8]?j[8]:"Z"));if(Number.isNaN(K))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(KDate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=Ae.parse(K/1e3),this.nanos=0,j[7]&&(this.nanos=parseInt("1"+j[7]+"0".repeat(9-j[7].length))-1e9),this}toJson(y){const x=Number(this.seconds)*1e3;if(xDate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let j="Z";if(this.nanos>0){const K=(this.nanos+1e9).toString().substring(1);K.substring(3)==="000000"?j="."+K.substring(0,3)+"Z":K.substring(6)==="000"?j="."+K.substring(0,6)+"Z":j="."+K+"Z"}return new Date(x).toISOString().replace(".000Z",j)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return wt.fromDate(new Date)}static fromDate(y){const x=y.getTime();return new wt({seconds:Ae.parse(Math.floor(x/1e3)),nanos:x%1e3*1e6})}static fromBinary(y,x){return new wt().fromBinary(y,x)}static fromJson(y,x){return new wt().fromJson(y,x)}static fromJsonString(y,x){return new wt().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(wt,y,x)}}wt.runtime=Ke,wt.typeName="google.protobuf.Timestamp",wt.fields=Ke.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Jr extends F{constructor(y){super(),this.seconds=Ae.zero,this.nanos=0,Ke.util.initPartial(y,this)}fromJson(y,x){if(typeof y!="string")throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Ke.json.debug(y)}`);const j=y.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(j===null)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Ke.json.debug(y)}`);const K=Number(j[1]);if(K>315576e6||K<-315576e6)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Ke.json.debug(y)}`);if(this.seconds=Ae.parse(K),typeof j[2]=="string"){const ke=j[2]+"0".repeat(9-j[2].length);this.nanos=parseInt(ke),(K<0||Object.is(K,-0))&&(this.nanos=-this.nanos)}return this}toJson(y){if(Number(this.seconds)>315576e6||Number(this.seconds)<-315576e6)throw new Error("cannot encode google.protobuf.Duration to JSON: value out of range");let x=this.seconds.toString();if(this.nanos!==0){let j=Math.abs(this.nanos).toString();j="0".repeat(9-j.length)+j,j.substring(3)==="000000"?j=j.substring(0,3):j.substring(6)==="000"&&(j=j.substring(0,6)),x+="."+j,this.nanos<0&&Number(this.seconds)==0&&(x="-"+x)}return x+"s"}static fromBinary(y,x){return new Jr().fromBinary(y,x)}static fromJson(y,x){return new Jr().fromJson(y,x)}static fromJsonString(y,x){return new Jr().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Jr,y,x)}}Jr.runtime=Ke,Jr.typeName="google.protobuf.Duration",Jr.fields=Ke.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Rt extends F{constructor(y){super(),this.typeUrl="",this.value=new Uint8Array(0),Ke.util.initPartial(y,this)}toJson(y){var x;if(this.typeUrl==="")return{};const j=this.typeUrlToName(this.typeUrl),K=(x=y?.typeRegistry)===null||x===void 0?void 0:x.findMessage(j);if(!K)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let Fe=K.fromBinary(this.value).toJson(y);return(j.startsWith("google.protobuf.")||Fe===null||Array.isArray(Fe)||typeof Fe!="object")&&(Fe={value:Fe}),Fe["@type"]=this.typeUrl,Fe}fromJson(y,x){var j;if(y===null||Array.isArray(y)||typeof y!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${y===null?"null":Array.isArray(y)?"array":typeof y}`);if(Object.keys(y).length==0)return this;const K=y["@type"];if(typeof K!="string"||K=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const ke=this.typeUrlToName(K),Fe=(j=x?.typeRegistry)===null||j===void 0?void 0:j.findMessage(ke);if(!Fe)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${K} is not in the type registry`);let Ve;if(ke.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(y,"value"))Ve=Fe.fromJson(y.value,x);else{const it=Object.assign({},y);delete it["@type"],Ve=Fe.fromJson(it,x)}return this.packFrom(Ve),this}packFrom(y){this.value=y.toBinary(),this.typeUrl=this.typeNameToUrl(y.getType().typeName)}unpackTo(y){return this.is(y.getType())?(y.fromBinary(this.value),!0):!1}unpack(y){if(this.typeUrl==="")return;const x=y.findMessage(this.typeUrlToName(this.typeUrl));if(x)return x.fromBinary(this.value)}is(y){if(this.typeUrl==="")return!1;const x=this.typeUrlToName(this.typeUrl);let j="";return typeof y=="string"?j=y:j=y.typeName,x===j}typeNameToUrl(y){return`type.googleapis.com/${y}`}typeUrlToName(y){if(!y.length)throw new Error(`invalid type url: ${y}`);const x=y.lastIndexOf("/"),j=x>=0?y.substring(x+1):y;if(!j.length)throw new Error(`invalid type url: ${y}`);return j}static pack(y){const x=new Rt;return x.packFrom(y),x}static fromBinary(y,x){return new Rt().fromBinary(y,x)}static fromJson(y,x){return new Rt().fromJson(y,x)}static fromJsonString(y,x){return new Rt().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Rt,y,x)}}Rt.runtime=Ke,Rt.typeName="google.protobuf.Any",Rt.fields=Ke.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);class li extends F{constructor(y){super(),this.value=0,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.DOUBLE,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.DOUBLE,y)}catch(j){let K='cannot decode message google.protobuf.DoubleValue from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new li().fromBinary(y,x)}static fromJson(y,x){return new li().fromJson(y,x)}static fromJsonString(y,x){return new li().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(li,y,x)}}li.runtime=Ke,li.typeName="google.protobuf.DoubleValue",li.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:1}]),li.fieldWrapper={wrapField($){return new li({value:$})},unwrapField($){return $.value}};class go extends F{constructor(y){super(),this.value=0,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.FLOAT,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.FLOAT,y)}catch(j){let K='cannot decode message google.protobuf.FloatValue from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new go().fromBinary(y,x)}static fromJson(y,x){return new go().fromJson(y,x)}static fromJsonString(y,x){return new go().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(go,y,x)}}go.runtime=Ke,go.typeName="google.protobuf.FloatValue",go.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:2}]),go.fieldWrapper={wrapField($){return new go({value:$})},unwrapField($){return $.value}};class Ua extends F{constructor(y){super(),this.value=Ae.zero,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.INT64,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.INT64,y)}catch(j){let K='cannot decode message google.protobuf.Int64Value from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Ua().fromBinary(y,x)}static fromJson(y,x){return new Ua().fromJson(y,x)}static fromJsonString(y,x){return new Ua().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Ua,y,x)}}Ua.runtime=Ke,Ua.typeName="google.protobuf.Int64Value",Ua.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:3}]),Ua.fieldWrapper={wrapField($){return new Ua({value:$})},unwrapField($){return $.value}};class Ja extends F{constructor(y){super(),this.value=Ae.zero,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.UINT64,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.UINT64,y)}catch(j){let K='cannot decode message google.protobuf.UInt64Value from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Ja().fromBinary(y,x)}static fromJson(y,x){return new Ja().fromJson(y,x)}static fromJsonString(y,x){return new Ja().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Ja,y,x)}}Ja.runtime=Ke,Ja.typeName="google.protobuf.UInt64Value",Ja.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:4}]),Ja.fieldWrapper={wrapField($){return new Ja({value:$})},unwrapField($){return $.value}};class Ia extends F{constructor(y){super(),this.value=0,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.INT32,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.INT32,y)}catch(j){let K='cannot decode message google.protobuf.Int32Value from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Ia().fromBinary(y,x)}static fromJson(y,x){return new Ia().fromJson(y,x)}static fromJsonString(y,x){return new Ia().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Ia,y,x)}}Ia.runtime=Ke,Ia.typeName="google.protobuf.Int32Value",Ia.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:5}]),Ia.fieldWrapper={wrapField($){return new Ia({value:$})},unwrapField($){return $.value}};class _r extends F{constructor(y){super(),this.value=0,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.UINT32,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.UINT32,y)}catch(j){let K='cannot decode message google.protobuf.UInt32Value from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new _r().fromBinary(y,x)}static fromJson(y,x){return new _r().fromJson(y,x)}static fromJsonString(y,x){return new _r().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(_r,y,x)}}_r.runtime=Ke,_r.typeName="google.protobuf.UInt32Value",_r.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:13}]),_r.fieldWrapper={wrapField($){return new _r({value:$})},unwrapField($){return $.value}};class Sa extends F{constructor(y){super(),this.value=!1,Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.BOOL,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.BOOL,y)}catch(j){let K='cannot decode message google.protobuf.BoolValue from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Sa().fromBinary(y,x)}static fromJson(y,x){return new Sa().fromJson(y,x)}static fromJsonString(y,x){return new Sa().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Sa,y,x)}}Sa.runtime=Ke,Sa.typeName="google.protobuf.BoolValue",Sa.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:8}]),Sa.fieldWrapper={wrapField($){return new Sa({value:$})},unwrapField($){return $.value}};class Fi extends F{constructor(y){super(),this.value="",Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.STRING,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.STRING,y)}catch(j){let K='cannot decode message google.protobuf.StringValue from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Fi().fromBinary(y,x)}static fromJson(y,x){return new Fi().fromJson(y,x)}static fromJsonString(y,x){return new Fi().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Fi,y,x)}}Fi.runtime=Ke,Fi.typeName="google.protobuf.StringValue",Fi.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9}]),Fi.fieldWrapper={wrapField($){return new Fi({value:$})},unwrapField($){return $.value}};class Ra extends F{constructor(y){super(),this.value=new Uint8Array(0),Ke.util.initPartial(y,this)}toJson(y){return Ke.json.writeScalar(ce.BYTES,this.value,!0)}fromJson(y,x){try{this.value=Ke.json.readScalar(ce.BYTES,y)}catch(j){let K='cannot decode message google.protobuf.BytesValue from JSON"';throw j instanceof Error&&j.message.length>0&&(K+=`: ${j.message}`),new Error(K)}return this}static fromBinary(y,x){return new Ra().fromBinary(y,x)}static fromJson(y,x){return new Ra().fromJson(y,x)}static fromJsonString(y,x){return new Ra().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Ra,y,x)}}Ra.runtime=Ke,Ra.typeName="google.protobuf.BytesValue",Ra.fields=Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:12}]),Ra.fieldWrapper={wrapField($){return new Ra({value:$})},unwrapField($){return $.value}};function vu($,y,x){try{const j=ye.dec($);return y?y.fromBinary(j,x):j}catch(j){throw m.from(j,g.DataLoss)}}function tu($,y){const x={};for(const[j,K]of Object.entries($.methods)){const ke=y(Object.assign(Object.assign({},K),{localName:j,service:$}));ke!=null&&(x[j]=ke)}return x}function Za($){let y,x=new Uint8Array(0);function j(K){const ke=new Uint8Array(x.length+K.length);ke.set(x),ke.set(K,x.length),x=ke}return new ReadableStream({start(){y=$.getReader()},async pull(K){let ke;for(;;){if(ke===void 0&&x.byteLength>=5){let it=0;for(let ct=1;ct<5;ct++)it=(it<<8)+x[ct];ke={flags:x[0],length:it}}if(ke!==void 0&&x.byteLength>=ke.length+5)break;const Ve=await y.read();if(Ve.done)break;j(Ve.value)}if(ke===void 0){if(x.byteLength==0){K.close();return}K.error(new m("premature end of stream",g.DataLoss));return}const Fe=x.subarray(5,5+ke.length);x=x.subarray(5+ke.length),K.enqueue({flags:ke.flags,data:Fe})}})}function fs($,y){const x=new Uint8Array(y.length+5);x.set(y,5);const j=new DataView(x.buffer,x.byteOffset,x.byteLength);return j.setUint8(0,$),j.setUint32(1,y.length),x}var ia=function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y=$[Symbol.asyncIterator],x;return y?y.call($):($=typeof __values=="function"?__values($):$[Symbol.iterator](),x={},j("next"),j("throw"),j("return"),x[Symbol.asyncIterator]=function(){return this},x);function j(ke){x[ke]=$[ke]&&function(Fe){return new Promise(function(Ve,it){Fe=$[ke](Fe),K(Ve,it,Fe.done,Fe.value)})}}function K(ke,Fe,Ve,it){Promise.resolve(it).then(function(ct){ke({value:ct,done:Ve})},Fe)}},Ma=function($){return this instanceof Ma?(this.v=$,this):new Ma($)},ja=function($,y,x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=x.apply($,y||[]),K,ke=[];return K={},Ve("next"),Ve("throw"),Ve("return",Fe),K[Symbol.asyncIterator]=function(){return this},K;function Fe(an){return function(On){return Promise.resolve(On).then(an,fn)}}function Ve(an,On){j[an]&&(K[an]=function(Or){return new Promise(function(Qr,$i){ke.push([an,Or,Qr,$i])>1||it(an,Or)})},On&&(K[an]=On(K[an])))}function it(an,On){try{ct(j[an](On))}catch(Or){Cn(ke[0][3],Or)}}function ct(an){an.value instanceof Ma?Promise.resolve(an.value.v).then(It,fn):Cn(ke[0][2],an)}function It(an){it("next",an)}function fn(an){it("throw",an)}function Cn(an,On){an(On),ke.shift(),ke.length&&it(ke[0][0],ke[0][1])}},yu=function($){var y,x;return y={},j("next"),j("throw",function(K){throw K}),j("return"),y[Symbol.iterator]=function(){return this},y;function j(K,ke){y[K]=$[K]?function(Fe){return(x=!x)?{value:Ma($[K](Fe)),done:!1}:ke?ke(Fe):Fe}:ke}};function Qa($){return ja(this,arguments,function*(){yield Ma(yield*yu(ia($)))})}var Fl=function($){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y=$[Symbol.asyncIterator],x;return y?y.call($):($=typeof __values=="function"?__values($):$[Symbol.iterator](),x={},j("next"),j("throw"),j("return"),x[Symbol.asyncIterator]=function(){return this},x);function j(ke){x[ke]=$[ke]&&function(Fe){return new Promise(function(Ve,it){Fe=$[ke](Fe),K(Ve,it,Fe.done,Fe.value)})}}function K(ke,Fe,Ve,it){Promise.resolve(it).then(function(ct){ke({value:ct,done:Ve})},Fe)}},Kn=function($){return this instanceof Kn?(this.v=$,this):new Kn($)},Bt=function($){var y,x;return y={},j("next"),j("throw",function(K){throw K}),j("return"),y[Symbol.iterator]=function(){return this},y;function j(K,ke){y[K]=$[K]?function(Fe){return(x=!x)?{value:Kn($[K](Fe)),done:!1}:ke?ke(Fe):Fe}:ke}},En=function($,y,x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=x.apply($,y||[]),K,ke=[];return K={},Ve("next"),Ve("throw"),Ve("return",Fe),K[Symbol.asyncIterator]=function(){return this},K;function Fe(an){return function(On){return Promise.resolve(On).then(an,fn)}}function Ve(an,On){j[an]&&(K[an]=function(Or){return new Promise(function(Qr,$i){ke.push([an,Or,Qr,$i])>1||it(an,Or)})},On&&(K[an]=On(K[an])))}function it(an,On){try{ct(j[an](On))}catch(Or){Cn(ke[0][3],Or)}}function ct(an){an.value instanceof Kn?Promise.resolve(an.value.v).then(It,fn):Cn(ke[0][2],an)}function It(an){it("next",an)}function fn(an){it("throw",an)}function Cn(an,On){an(On),ke.shift(),ke.length&&it(ke[0][0],ke[0][1])}};function sr($,y){return tu($,x=>{switch(x.kind){case wn.Unary:return Oi(y,$,x);case wn.ServerStreaming:return eo(y,$,x);case wn.ClientStreaming:return So(y,$,x);case wn.BiDiStreaming:return Aa(y,$,x);default:return null}})}function Oi($,y,x){return async function(j,K){var ke,Fe;const Ve=await $.unary(y,x,K?.signal,K?.timeoutMs,K?.headers,j,K?.contextValues);return(ke=K?.onHeader)===null||ke===void 0||ke.call(K,Ve.header),(Fe=K?.onTrailer)===null||Fe===void 0||Fe.call(K,Ve.trailer),Ve.message}}function eo($,y,x){return function(j,K){return nu($.stream(y,x,K?.signal,K?.timeoutMs,K?.headers,Qa([j]),K?.contextValues),K)}}function So($,y,x){return async function(j,K){var ke,Fe,Ve,it,ct,It;const fn=await $.stream(y,x,K?.signal,K?.timeoutMs,K?.headers,j,K?.contextValues);(ct=K?.onHeader)===null||ct===void 0||ct.call(K,fn.header);let Cn;try{for(var an=!0,On=Fl(fn.message),Or;Or=await On.next(),ke=Or.done,!ke;an=!0)it=Or.value,an=!1,Cn=it}catch(Qr){Fe={error:Qr}}finally{try{!an&&!ke&&(Ve=On.return)&&await Ve.call(On)}finally{if(Fe)throw Fe.error}}if(!Cn)throw new m("protocol error: missing response message",g.Internal);return(It=K?.onTrailer)===null||It===void 0||It.call(K,fn.trailer),Cn}}function Aa($,y,x){return function(j,K){return nu($.stream(y,x,K?.signal,K?.timeoutMs,K?.headers,j,K?.contextValues),K)}}function nu($,y){const x=function(){var j,K;return En(this,arguments,function*(){const ke=yield Kn($);(j=y?.onHeader)===null||j===void 0||j.call(y,ke.header),yield Kn(yield*Bt(Fl(ke.message))),(K=y?.onTrailer)===null||K===void 0||K.call(y,ke.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>x.next()})}}function Ao(...$){const y=new AbortController,x=$.filter(K=>K!==void 0).concat(y.signal);for(const K of x){if(K.aborted){j.apply(K);break}K.addEventListener("abort",j)}function j(){y.signal.aborted||y.abort(Nl(this));for(const K of x)K.removeEventListener("abort",j)}return y}function Yu($){const y=new AbortController,x=()=>{y.abort(new m("the operation timed out",g.DeadlineExceeded))};let j;return $!==void 0&&($<=0?x():j=setTimeout(x,$)),{signal:y.signal,cleanup:()=>clearTimeout(j)}}function Nl($){if(!$.aborted)return;if($.reason!==void 0)return $.reason;const y=new Error("This operation was aborted");return y.name="AbortError",y}function Pf(){return{get($){return $.id in this?this[$.id]:$.defaultValue},set($,y){return this[$.id]=y,this},delete($){return delete this[$.id],this}}}const jh=128;function Y($){const y=new Headers,x=new TextDecoder().decode($).split(`\r `);for(const j of x){if(j==="")continue;const K=j.indexOf(":");if(K>0){const ke=j.substring(0,K).trim(),Fe=j.substring(K+1).trim();y.append(ke,Fe)}}return y}const pe="Content-Type",Ee="Grpc-Timeout",Me="Grpc-Status",Ue="Grpc-Message",qe="Grpc-Status-Details-Bin",tt="X-User-Agent",dt="X-Grpc-Web",ot="application/grpc-web+proto",St="application/grpc-web+json";class At extends F{constructor(y){super(),this.code=0,this.message="",this.details=[],Ke.util.initPartial(y,this)}static fromBinary(y,x){return new At().fromBinary(y,x)}static fromJson(y,x){return new At().fromJson(y,x)}static fromJsonString(y,x){return new At().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(At,y,x)}}At.runtime=Ke,At.typeName="google.rpc.Status",At.fields=Ke.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:Rt,repeated:!0}]);const nn="0";function ln($){var y;const x=$.get(qe);if(x!=null){const K=vu(x,At);if(K.code==0)return;const ke=new m(K.message,K.code,$);return ke.details=K.details.map(Fe=>({type:Fe.typeUrl.substring(Fe.typeUrl.lastIndexOf("/")+1),value:Fe.value})),ke}const j=$.get(Me);if(j!=null){if(j===nn)return;const K=parseInt(j,10);return K in g?new m(decodeURIComponent((y=$.get(Ue))!==null&&y!==void 0?y:""),K,$):new m(`invalid grpc-status: ${j}`,g.Internal,$)}}function Qt($,y,x){const j=typeof y=="string"?y:y.typeName,K=typeof x=="string"?x:x.name;return $.toString().replace(/\/?$/,`/${j}/${K}`)}function Jt($,y){return y instanceof $?y:new $(y)}function qn($,y){function x(j){return j.done===!0?j:{done:j.done,value:Jt($,j.value)}}return{[Symbol.asyncIterator](){const j=y[Symbol.asyncIterator](),K={next:()=>j.next().then(x)};return j.throw!==void 0&&(K.throw=ke=>j.throw(ke).then(x)),j.return!==void 0&&(K.return=ke=>j.return(ke).then(x)),K}}}function xn($,y){var x;return(x=y?.concat().reverse().reduce((j,K)=>K(j),$))!==null&&x!==void 0?x:$}function br($){var y;const x=Object.assign({},$);return(y=x.ignoreUnknownFields)!==null&&y!==void 0||(x.ignoreUnknownFields=!0),x}function $r($,y,x,j){const K=y?Tr($.I,j):hi($.I,x);return{parse:(y?Tr($.O,j):hi($.O,x)).parse,serialize:K.serialize}}function Tr($,y){return{parse(x){try{return $.fromBinary(x,y)}catch(j){const K=j instanceof Error?j.message:String(j);throw new m(`parse binary: ${K}`,g.InvalidArgument)}},serialize(x){try{return x.toBinary(y)}catch(j){const K=j instanceof Error?j.message:String(j);throw new m(`serialize binary: ${K}`,g.Internal)}}}}function hi($,y){var x,j;const K=(x=y?.textEncoder)!==null&&x!==void 0?x:new TextEncoder,ke=(j=y?.textDecoder)!==null&&j!==void 0?j:new TextDecoder,Fe=br(y);return{parse(Ve){try{const it=ke.decode(Ve);return $.fromJsonString(it,Fe)}catch(it){throw m.from(it,g.InvalidArgument)}},serialize(Ve){try{const it=Ve.toJsonString(Fe);return K.encode(it)}catch(it){throw m.from(it,g.Internal)}}}}function to($){const y=xn($.next,$.interceptors),[x,j,K]=Ho($),ke=Object.assign(Object.assign({},$.req),{message:Jt($.req.method.I,$.req.message),signal:x});return y(ke).then(Fe=>(K(),Fe),j)}function nr($){const y=xn($.next,$.interceptors),[x,j,K]=Ho($),ke=Object.assign(Object.assign({},$.req),{message:qn($.req.method.I,$.req.message),signal:x});let Fe=!1;return x.addEventListener("abort",function(){var Ve,it;const ct=$.req.message[Symbol.asyncIterator]();Fe||(Ve=ct.throw)===null||Ve===void 0||Ve.call(ct,this.reason).catch(()=>{}),(it=ct.return)===null||it===void 0||it.call(ct).catch(()=>{})}),y(ke).then(Ve=>Object.assign(Object.assign({},Ve),{message:{[Symbol.asyncIterator](){const it=Ve.message[Symbol.asyncIterator]();return{next(){return it.next().then(ct=>(ct.done==!0&&(Fe=!0,K()),ct),j)}}}}}),j)}function Ho($){const{signal:y,cleanup:x}=Yu($.timeoutMs),j=Ao($.signal,y);return[j.signal,function(ke){const Fe=m.from(y.aborted?Nl(y):ke);return j.abort(Fe),x(),Promise.reject(Fe)},function(){x(),j.abort()}]}function Gi(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function wi($,y){const x=ln($);if(x)throw y.forEach((j,K)=>{x.metadata.append(K,j)}),x}function la($,y,x,j){const K=new Headers(x??{});return K.set(pe,$?ot:St),K.set(dt,"1"),K.set(tt,"connect-es/1.4.0"),y!==void 0&&K.set(Ee,`${y}m`),K}function Ha($){switch($){case 400:return g.Internal;case 401:return g.Unauthenticated;case 403:return g.PermissionDenied;case 404:return g.Unimplemented;case 429:return g.Unavailable;case 502:return g.Unavailable;case 503:return g.Unavailable;case 504:return g.Unavailable;default:return g.Unknown}}function Oa($,y){var x;if($>=200&&$<300){const j=ln(y);if(j)throw j;return{foundStatus:y.has(Me)}}throw new m(decodeURIComponent((x=y.get(Ue))!==null&&x!==void 0?x:`HTTP ${$}`),Ha($),y)}var js=function($){return this instanceof js?(this.v=$,this):new js($)},bu=function($,y,x){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=x.apply($,y||[]),K,ke=[];return K={},Ve("next"),Ve("throw"),Ve("return",Fe),K[Symbol.asyncIterator]=function(){return this},K;function Fe(an){return function(On){return Promise.resolve(On).then(an,fn)}}function Ve(an,On){j[an]&&(K[an]=function(Or){return new Promise(function(Qr,$i){ke.push([an,Or,Qr,$i])>1||it(an,Or)})},On&&(K[an]=On(K[an])))}function it(an,On){try{ct(j[an](On))}catch(Or){Cn(ke[0][3],Or)}}function ct(an){an.value instanceof js?Promise.resolve(an.value.v).then(It,fn):Cn(ke[0][2],an)}function It(an){it("next",an)}function fn(an){it("throw",an)}function Cn(an,On){an(On),ke.shift(),ke.length&&it(ke[0][0],ke[0][1])}};function wd($){var y;Gi();const x=(y=$.useBinaryFormat)!==null&&y!==void 0?y:!0;return{async unary(j,K,ke,Fe,Ve,it,ct){var It;const{serialize:fn,parse:Cn}=$r(K,x,$.jsonOptions,$.binaryOptions);return Fe=Fe===void 0?$.defaultTimeoutMs:Fe<=0?void 0:Fe,await to({interceptors:$.interceptors,signal:ke,timeoutMs:Fe,req:{stream:!1,service:j,method:K,url:Qt($.baseUrl,j,K),init:{method:"POST",credentials:(It=$.credentials)!==null&&It!==void 0?It:"same-origin",redirect:"error",mode:"cors"},header:la(x,Fe,Ve),contextValues:ct??Pf(),message:it},next:async an=>{var On;const Qr=await((On=$.fetch)!==null&&On!==void 0?On:globalThis.fetch)(an.url,Object.assign(Object.assign({},an.init),{headers:an.header,signal:an.signal,body:fs(0,fn(an.message))}));if(Oa(Qr.status,Qr.headers),!Qr.body)throw"missing response body";const $i=Za(Qr.body).getReader();let zi,ou;for(;;){const Ki=await $i.read();if(Ki.done)break;const{flags:io,data:Ro}=Ki.value;if(io===jh){if(zi!==void 0)throw"extra trailer";zi=Y(Ro);continue}if(ou!==void 0)throw"extra message";ou=Cn(Ro)}if(zi===void 0)throw"missing trailer";if(wi(zi,Qr.headers),ou===void 0)throw"missing message";return{stream:!1,service:j,method:K,header:Qr.headers,message:ou,trailer:zi}}})},async stream(j,K,ke,Fe,Ve,it,ct){var It;const{serialize:fn,parse:Cn}=$r(K,x,$.jsonOptions,$.binaryOptions);function an(Or,Qr,$i,zi){return bu(this,arguments,function*(){const Ki=Za(Or).getReader();if(Qr){if(!(yield js(Ki.read())).done)throw"extra data for trailers-only";return yield js(void 0)}let io=!1;for(;;){const Ro=yield js(Ki.read());if(Ro.done)break;const{flags:rl,data:$d}=Ro.value;if((rl&jh)===jh){if(io)throw"extra trailer";io=!0;const up=Y($d);wi(up,zi),up.forEach(($w,yD)=>$i.set(yD,$w));continue}if(io)throw"extra message";yield yield js(Cn($d))}if(!io)throw"missing trailer"})}async function On(Or){if(K.kind!=wn.ServerStreaming)throw"The fetch API does not support streaming request bodies";const Qr=await Or[Symbol.asyncIterator]().next();if(Qr.done==!0)throw"missing request message";return fs(0,fn(Qr.value))}return Fe=Fe===void 0?$.defaultTimeoutMs:Fe<=0?void 0:Fe,nr({interceptors:$.interceptors,signal:ke,timeoutMs:Fe,req:{stream:!0,service:j,method:K,url:Qt($.baseUrl,j,K),init:{method:"POST",credentials:(It=$.credentials)!==null&&It!==void 0?It:"same-origin",redirect:"error",mode:"cors"},header:la(x,Fe,Ve),contextValues:ct??Pf(),message:it},next:async Or=>{var Qr;const zi=await((Qr=$.fetch)!==null&&Qr!==void 0?Qr:globalThis.fetch)(Or.url,Object.assign(Object.assign({},Or.init),{headers:Or.header,signal:Or.signal,body:await On(Or.message)})),{foundStatus:ou}=Oa(zi.status,zi.headers);if(!zi.body)throw"missing response body";const Ki=new Headers;return Object.assign(Object.assign({},Or),{header:zi.headers,trailer:Ki,message:an(zi.body,ou,Ki,zi.headers)})}})}}}var Yn=($=>($[$.NULL=0]="NULL",$[$.BOOLEAN=1]="BOOLEAN",$[$.INTEGER=2]="INTEGER",$[$.LONG=3]="LONG",$[$.DOUBLE=4]="DOUBLE",$[$.STRING=5]="STRING",$[$.BYTES=6]="BYTES",$[$.DATE=7]="DATE",$[$.JSON_OBJECT=8]="JSON_OBJECT",$[$.JSON_ARRAY=9]="JSON_ARRAY",$[$.TEXT=10]="TEXT",$[$.INTEGER_CNT=11]="INTEGER_CNT",$[$.LONG_CNT=12]="LONG_CNT",$[$.TREE=13]="TREE",$))(Yn||{});Ke.util.setEnumType(Yn,"yorkie.v1.ValueType",[{no:0,name:"VALUE_TYPE_NULL"},{no:1,name:"VALUE_TYPE_BOOLEAN"},{no:2,name:"VALUE_TYPE_INTEGER"},{no:3,name:"VALUE_TYPE_LONG"},{no:4,name:"VALUE_TYPE_DOUBLE"},{no:5,name:"VALUE_TYPE_STRING"},{no:6,name:"VALUE_TYPE_BYTES"},{no:7,name:"VALUE_TYPE_DATE"},{no:8,name:"VALUE_TYPE_JSON_OBJECT"},{no:9,name:"VALUE_TYPE_JSON_ARRAY"},{no:10,name:"VALUE_TYPE_TEXT"},{no:11,name:"VALUE_TYPE_INTEGER_CNT"},{no:12,name:"VALUE_TYPE_LONG_CNT"},{no:13,name:"VALUE_TYPE_TREE"}]);var Z=($=>($[$.DOCUMENT_CHANGED=0]="DOCUMENT_CHANGED",$[$.DOCUMENT_WATCHED=1]="DOCUMENT_WATCHED",$[$.DOCUMENT_UNWATCHED=2]="DOCUMENT_UNWATCHED",$[$.DOCUMENT_BROADCAST=3]="DOCUMENT_BROADCAST",$))(Z||{});Ke.util.setEnumType(Z,"yorkie.v1.DocEventType",[{no:0,name:"DOC_EVENT_TYPE_DOCUMENT_CHANGED"},{no:1,name:"DOC_EVENT_TYPE_DOCUMENT_WATCHED"},{no:2,name:"DOC_EVENT_TYPE_DOCUMENT_UNWATCHED"},{no:3,name:"DOC_EVENT_TYPE_DOCUMENT_BROADCAST"}]);const _e=class x9 extends F{constructor(y){super(),a(this,"root"),a(this,"presences",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new x9().fromBinary(y,x)}static fromJson(y,x){return new x9().fromJson(y,x)}static fromJsonString(y,x){return new x9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(x9,y,x)}};a(_e,"runtime",Ke),a(_e,"typeName","yorkie.v1.Snapshot"),a(_e,"fields",Ke.util.newFieldList(()=>[{no:1,name:"root",kind:"message",T:Xc},{no:2,name:"presences",kind:"map",K:9,V:{kind:"message",T:YE}}]));let He=_e,Je=(o=class extends F{constructor($){super(),a(this,"documentKey",""),a(this,"checkpoint"),a(this,"snapshot",new Uint8Array(0)),a(this,"changes",[]),a(this,"minSyncedTicket"),a(this,"isRemoved",!1),a(this,"versionVector"),Ke.util.initPartial($,this)}static fromBinary($,y){return new o().fromBinary($,y)}static fromJson($,y){return new o().fromJson($,y)}static fromJsonString($,y){return new o().fromJsonString($,y)}static equals($,y){return Ke.util.equals(o,$,y)}},a(o,"runtime",Ke),a(o,"typeName","yorkie.v1.ChangePack"),a(o,"fields",Ke.util.newFieldList(()=>[{no:1,name:"document_key",kind:"scalar",T:9},{no:2,name:"checkpoint",kind:"message",T:pw},{no:3,name:"snapshot",kind:"scalar",T:12},{no:4,name:"changes",kind:"message",T:ut,repeated:!0},{no:5,name:"min_synced_ticket",kind:"message",T:Ar},{no:6,name:"is_removed",kind:"scalar",T:8},{no:7,name:"version_vector",kind:"message",T:un}])),o),ut=(s=class extends F{constructor($){super(),a(this,"id"),a(this,"message",""),a(this,"operations",[]),a(this,"presenceChange"),Ke.util.initPartial($,this)}static fromBinary($,y){return new s().fromBinary($,y)}static fromJson($,y){return new s().fromJson($,y)}static fromJsonString($,y){return new s().fromJsonString($,y)}static equals($,y){return Ke.util.equals(s,$,y)}},a(s,"runtime",Ke),a(s,"typeName","yorkie.v1.Change"),a(s,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:Ft},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"operations",kind:"message",T:pn,repeated:!0},{no:4,name:"presence_change",kind:"message",T:Sy}])),s),Ft=(l=class extends F{constructor($){super(),a(this,"clientSeq",0),a(this,"serverSeq",Ae.zero),a(this,"lamport",Ae.zero),a(this,"actorId",new Uint8Array(0)),a(this,"versionVector"),Ke.util.initPartial($,this)}static fromBinary($,y){return new l().fromBinary($,y)}static fromJson($,y){return new l().fromJson($,y)}static fromJsonString($,y){return new l().fromJsonString($,y)}static equals($,y){return Ke.util.equals(l,$,y)}},a(l,"runtime",Ke),a(l,"typeName","yorkie.v1.ChangeID"),a(l,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_seq",kind:"scalar",T:13},{no:2,name:"server_seq",kind:"scalar",T:3},{no:3,name:"lamport",kind:"scalar",T:3},{no:4,name:"actor_id",kind:"scalar",T:12},{no:5,name:"version_vector",kind:"message",T:un}])),l),un=(u=class extends F{constructor($){super(),a(this,"vector",{}),Ke.util.initPartial($,this)}static fromBinary($,y){return new u().fromBinary($,y)}static fromJson($,y){return new u().fromJson($,y)}static fromJsonString($,y){return new u().fromJsonString($,y)}static equals($,y){return Ke.util.equals(u,$,y)}},a(u,"runtime",Ke),a(u,"typeName","yorkie.v1.VersionVector"),a(u,"fields",Ke.util.newFieldList(()=>[{no:1,name:"vector",kind:"map",K:9,V:{kind:"scalar",T:3}}])),u),pn=(c=class extends F{constructor($){super(),a(this,"body",{case:void 0}),Ke.util.initPartial($,this)}static fromBinary($,y){return new c().fromBinary($,y)}static fromJson($,y){return new c().fromJson($,y)}static fromJsonString($,y){return new c().fromJsonString($,y)}static equals($,y){return Ke.util.equals(c,$,y)}},a(c,"runtime",Ke),a(c,"typeName","yorkie.v1.Operation"),a(c,"fields",Ke.util.newFieldList(()=>[{no:1,name:"set",kind:"message",T:zn,oneof:"body"},{no:2,name:"add",kind:"message",T:Fr,oneof:"body"},{no:3,name:"move",kind:"message",T:To,oneof:"body"},{no:4,name:"remove",kind:"message",T:wu,oneof:"body"},{no:5,name:"edit",kind:"message",T:rw,oneof:"body"},{no:6,name:"select",kind:"message",T:kd,oneof:"body"},{no:7,name:"style",kind:"message",T:iw,oneof:"body"},{no:8,name:"increase",kind:"message",T:jE,oneof:"body"},{no:9,name:"tree_edit",kind:"message",T:HE,oneof:"body"},{no:10,name:"tree_style",kind:"message",T:P1,oneof:"body"},{no:11,name:"array_set",kind:"message",T:UT,oneof:"body"}])),c);const Xn=class S9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"key",""),a(this,"value"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new S9().fromBinary(y,x)}static fromJson(y,x){return new S9().fromJson(y,x)}static fromJsonString(y,x){return new S9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(S9,y,x)}};a(Xn,"runtime",Ke),a(Xn,"typeName","yorkie.v1.Operation.Set"),a(Xn,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"value",kind:"message",T:Cd},{no:4,name:"executed_at",kind:"message",T:Ar}]));let zn=Xn;const Yr=class A9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"value"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new A9().fromBinary(y,x)}static fromJson(y,x){return new A9().fromJson(y,x)}static fromJsonString(y,x){return new A9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(A9,y,x)}};a(Yr,"runtime",Ke),a(Yr,"typeName","yorkie.v1.Operation.Add"),a(Yr,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"prev_created_at",kind:"message",T:Ar},{no:3,name:"value",kind:"message",T:Cd},{no:4,name:"executed_at",kind:"message",T:Ar}]));let Fr=Yr;const _a=class T9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new T9().fromBinary(y,x)}static fromJson(y,x){return new T9().fromJson(y,x)}static fromJsonString(y,x){return new T9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(T9,y,x)}};a(_a,"runtime",Ke),a(_a,"typeName","yorkie.v1.Operation.Move"),a(_a,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"prev_created_at",kind:"message",T:Ar},{no:3,name:"created_at",kind:"message",T:Ar},{no:4,name:"executed_at",kind:"message",T:Ar}]));let To=_a;const As=class D9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new D9().fromBinary(y,x)}static fromJson(y,x){return new D9().fromJson(y,x)}static fromJsonString(y,x){return new D9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(D9,y,x)}};a(As,"runtime",Ke),a(As,"typeName","yorkie.v1.Operation.Remove"),a(As,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"executed_at",kind:"message",T:Ar}]));let wu=As;const B1=class I9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"content",""),a(this,"executedAt"),a(this,"attributes",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new I9().fromBinary(y,x)}static fromJson(y,x){return new I9().fromJson(y,x)}static fromJsonString(y,x){return new I9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(I9,y,x)}};a(B1,"runtime",Ke),a(B1,"typeName","yorkie.v1.Operation.Edit"),a(B1,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"from",kind:"message",T:qh},{no:3,name:"to",kind:"message",T:qh},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Ar}},{no:5,name:"content",kind:"scalar",T:9},{no:6,name:"executed_at",kind:"message",T:Ar},{no:7,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}}]));let rw=B1;const by=class R9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new R9().fromBinary(y,x)}static fromJson(y,x){return new R9().fromJson(y,x)}static fromJsonString(y,x){return new R9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(R9,y,x)}};a(by,"runtime",Ke),a(by,"typeName","yorkie.v1.Operation.Select"),a(by,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"from",kind:"message",T:qh},{no:3,name:"to",kind:"message",T:qh},{no:4,name:"executed_at",kind:"message",T:Ar}]));let kd=by;const _d=class M9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"createdAtMapByActor",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new M9().fromBinary(y,x)}static fromJson(y,x){return new M9().fromJson(y,x)}static fromJsonString(y,x){return new M9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(M9,y,x)}};a(_d,"runtime",Ke),a(_d,"typeName","yorkie.v1.Operation.Style"),a(_d,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"from",kind:"message",T:qh},{no:3,name:"to",kind:"message",T:qh},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Ar},{no:6,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Ar}}]));let iw=_d;const aw=class O9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"value"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new O9().fromBinary(y,x)}static fromJson(y,x){return new O9().fromJson(y,x)}static fromJsonString(y,x){return new O9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(O9,y,x)}};a(aw,"runtime",Ke),a(aw,"typeName","yorkie.v1.Operation.Increase"),a(aw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"value",kind:"message",T:Cd},{no:3,name:"executed_at",kind:"message",T:Ar}]));let jE=aw;const ow=class L9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"contents",[]),a(this,"splitLevel",0),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new L9().fromBinary(y,x)}static fromJson(y,x){return new L9().fromJson(y,x)}static fromJsonString(y,x){return new L9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(L9,y,x)}};a(ow,"runtime",Ke),a(ow,"typeName","yorkie.v1.Operation.TreeEdit"),a(ow,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"from",kind:"message",T:Hs},{no:3,name:"to",kind:"message",T:Hs},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Ar}},{no:5,name:"contents",kind:"message",T:KE,repeated:!0},{no:7,name:"split_level",kind:"scalar",T:5},{no:6,name:"executed_at",kind:"message",T:Ar}]));let HE=ow;const wm=class B9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"attributesToRemove",[]),a(this,"createdAtMapByActor",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new B9().fromBinary(y,x)}static fromJson(y,x){return new B9().fromJson(y,x)}static fromJsonString(y,x){return new B9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(B9,y,x)}};a(wm,"runtime",Ke),a(wm,"typeName","yorkie.v1.Operation.TreeStyle"),a(wm,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"from",kind:"message",T:Hs},{no:3,name:"to",kind:"message",T:Hs},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Ar},{no:6,name:"attributes_to_remove",kind:"scalar",T:9,repeated:!0},{no:7,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Ar}}]));let P1=wm;const Xu=class P9 extends F{constructor(y){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"value"),a(this,"executedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new P9().fromBinary(y,x)}static fromJson(y,x){return new P9().fromJson(y,x)}static fromJsonString(y,x){return new P9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(P9,y,x)}};a(Xu,"runtime",Ke),a(Xu,"typeName","yorkie.v1.Operation.ArraySet"),a(Xu,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Ar},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"value",kind:"message",T:Cd},{no:4,name:"executed_at",kind:"message",T:Ar}]));let UT=Xu;const wy=class F9 extends F{constructor(y){super(),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),a(this,"type",0),a(this,"value",new Uint8Array(0)),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new F9().fromBinary(y,x)}static fromJson(y,x){return new F9().fromJson(y,x)}static fromJsonString(y,x){return new F9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(F9,y,x)}};a(wy,"runtime",Ke),a(wy,"typeName","yorkie.v1.JSONElementSimple"),a(wy,"fields",Ke.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Ar},{no:2,name:"moved_at",kind:"message",T:Ar},{no:3,name:"removed_at",kind:"message",T:Ar},{no:4,name:"type",kind:"enum",T:Ke.getEnumType(Yn)},{no:5,name:"value",kind:"scalar",T:12}]));let Cd=wy;const sw=class N9 extends F{constructor(y){super(),a(this,"body",{case:void 0}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new N9().fromBinary(y,x)}static fromJson(y,x){return new N9().fromJson(y,x)}static fromJsonString(y,x){return new N9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(N9,y,x)}};a(sw,"runtime",Ke),a(sw,"typeName","yorkie.v1.JSONElement"),a(sw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"json_object",kind:"message",T:qE,oneof:"body"},{no:2,name:"json_array",kind:"message",T:WE,oneof:"body"},{no:3,name:"primitive",kind:"message",T:lw,oneof:"body"},{no:5,name:"text",kind:"message",T:GE,oneof:"body"},{no:6,name:"counter",kind:"message",T:Jc,oneof:"body"},{no:7,name:"tree",kind:"message",T:uw,oneof:"body"}]));let Xc=sw;const ky=class $9 extends F{constructor(y){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new $9().fromBinary(y,x)}static fromJson(y,x){return new $9().fromJson(y,x)}static fromJsonString(y,x){return new $9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals($9,y,x)}};a(ky,"runtime",Ke),a(ky,"typeName","yorkie.v1.JSONElement.JSONObject"),a(ky,"fields",Ke.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:cw,repeated:!0},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"moved_at",kind:"message",T:Ar},{no:4,name:"removed_at",kind:"message",T:Ar}]));let qE=ky;const X0=class z9 extends F{constructor(y){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new z9().fromBinary(y,x)}static fromJson(y,x){return new z9().fromJson(y,x)}static fromJsonString(y,x){return new z9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(z9,y,x)}};a(X0,"runtime",Ke),a(X0,"typeName","yorkie.v1.JSONElement.JSONArray"),a(X0,"fields",Ke.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:VE,repeated:!0},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"moved_at",kind:"message",T:Ar},{no:4,name:"removed_at",kind:"message",T:Ar}]));let WE=X0;const _y=class U9 extends F{constructor(y){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new U9().fromBinary(y,x)}static fromJson(y,x){return new U9().fromJson(y,x)}static fromJsonString(y,x){return new U9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(U9,y,x)}};a(_y,"runtime",Ke),a(_y,"typeName","yorkie.v1.JSONElement.Primitive"),a(_y,"fields",Ke.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Ke.getEnumType(Yn)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Ar},{no:4,name:"moved_at",kind:"message",T:Ar},{no:5,name:"removed_at",kind:"message",T:Ar}]));let lw=_y;const F1=class j9 extends F{constructor(y){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new j9().fromBinary(y,x)}static fromJson(y,x){return new j9().fromJson(y,x)}static fromJsonString(y,x){return new j9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(j9,y,x)}};a(F1,"runtime",Ke),a(F1,"typeName","yorkie.v1.JSONElement.Text"),a(F1,"fields",Ke.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:jT,repeated:!0},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"moved_at",kind:"message",T:Ar},{no:4,name:"removed_at",kind:"message",T:Ar}]));let GE=F1;const N1=class H9 extends F{constructor(y){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new H9().fromBinary(y,x)}static fromJson(y,x){return new H9().fromJson(y,x)}static fromJsonString(y,x){return new H9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(H9,y,x)}};a(N1,"runtime",Ke),a(N1,"typeName","yorkie.v1.JSONElement.Counter"),a(N1,"fields",Ke.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Ke.getEnumType(Yn)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Ar},{no:4,name:"moved_at",kind:"message",T:Ar},{no:5,name:"removed_at",kind:"message",T:Ar}]));let Jc=N1;const Cy=class q9 extends F{constructor(y){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new q9().fromBinary(y,x)}static fromJson(y,x){return new q9().fromJson(y,x)}static fromJsonString(y,x){return new q9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(q9,y,x)}};a(Cy,"runtime",Ke),a(Cy,"typeName","yorkie.v1.JSONElement.Tree"),a(Cy,"fields",Ke.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:Ey,repeated:!0},{no:2,name:"created_at",kind:"message",T:Ar},{no:3,name:"moved_at",kind:"message",T:Ar},{no:4,name:"removed_at",kind:"message",T:Ar}]));let uw=Cy,cw=(f=class extends F{constructor($){super(),a(this,"key",""),a(this,"element"),Ke.util.initPartial($,this)}static fromBinary($,y){return new f().fromBinary($,y)}static fromJson($,y){return new f().fromJson($,y)}static fromJsonString($,y){return new f().fromJsonString($,y)}static equals($,y){return Ke.util.equals(f,$,y)}},a(f,"runtime",Ke),a(f,"typeName","yorkie.v1.RHTNode"),a(f,"fields",Ke.util.newFieldList(()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"element",kind:"message",T:Xc}])),f);const km=class W9 extends F{constructor(y){super(),a(this,"next"),a(this,"element"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new W9().fromBinary(y,x)}static fromJson(y,x){return new W9().fromJson(y,x)}static fromJsonString(y,x){return new W9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(W9,y,x)}};a(km,"runtime",Ke),a(km,"typeName","yorkie.v1.RGANode"),a(km,"fields",Ke.util.newFieldList(()=>[{no:1,name:"next",kind:"message",T:km},{no:2,name:"element",kind:"message",T:Xc}]));let VE=km;const _m=class G9 extends F{constructor(y){super(),a(this,"value",""),a(this,"updatedAt"),a(this,"isRemoved",!1),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new G9().fromBinary(y,x)}static fromJson(y,x){return new G9().fromJson(y,x)}static fromJsonString(y,x){return new G9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(G9,y,x)}};a(_m,"runtime",Ke),a(_m,"typeName","yorkie.v1.NodeAttr"),a(_m,"fields",Ke.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9},{no:2,name:"updated_at",kind:"message",T:Ar},{no:3,name:"is_removed",kind:"scalar",T:8}]));let fw=_m;const dw=class V9 extends F{constructor(y){super(),a(this,"id"),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"attributes",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new V9().fromBinary(y,x)}static fromJson(y,x){return new V9().fromJson(y,x)}static fromJsonString(y,x){return new V9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(V9,y,x)}};a(dw,"runtime",Ke),a(dw,"typeName","yorkie.v1.TextNode"),a(dw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:J0},{no:2,name:"value",kind:"scalar",T:9},{no:3,name:"removed_at",kind:"message",T:Ar},{no:4,name:"ins_prev_id",kind:"message",T:J0},{no:5,name:"attributes",kind:"map",K:9,V:{kind:"message",T:fw}}]));let jT=dw;const Ed=class K9 extends F{constructor(y){super(),a(this,"createdAt"),a(this,"offset",0),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new K9().fromBinary(y,x)}static fromJson(y,x){return new K9().fromJson(y,x)}static fromJsonString(y,x){return new K9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(K9,y,x)}};a(Ed,"runtime",Ke),a(Ed,"typeName","yorkie.v1.TextNodeID"),a(Ed,"fields",Ke.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Ar},{no:2,name:"offset",kind:"scalar",T:5}]));let J0=Ed;const Hh=class Y9 extends F{constructor(y){super(),a(this,"id"),a(this,"type",""),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"insNextId"),a(this,"depth",0),a(this,"attributes",{}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new Y9().fromBinary(y,x)}static fromJson(y,x){return new Y9().fromJson(y,x)}static fromJsonString(y,x){return new Y9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Y9,y,x)}};a(Hh,"runtime",Ke),a(Hh,"typeName","yorkie.v1.TreeNode"),a(Hh,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:Zc},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"value",kind:"scalar",T:9},{no:4,name:"removed_at",kind:"message",T:Ar},{no:5,name:"ins_prev_id",kind:"message",T:Zc},{no:6,name:"ins_next_id",kind:"message",T:Zc},{no:7,name:"depth",kind:"scalar",T:5},{no:8,name:"attributes",kind:"map",K:9,V:{kind:"message",T:fw}}]));let Ey=Hh;const Cm=class X9 extends F{constructor(y){super(),a(this,"content",[]),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new X9().fromBinary(y,x)}static fromJson(y,x){return new X9().fromJson(y,x)}static fromJsonString(y,x){return new X9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(X9,y,x)}};a(Cm,"runtime",Ke),a(Cm,"typeName","yorkie.v1.TreeNodes"),a(Cm,"fields",Ke.util.newFieldList(()=>[{no:1,name:"content",kind:"message",T:Ey,repeated:!0}]));let KE=Cm;const Em=class J9 extends F{constructor(y){super(),a(this,"createdAt"),a(this,"offset",0),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new J9().fromBinary(y,x)}static fromJson(y,x){return new J9().fromJson(y,x)}static fromJsonString(y,x){return new J9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(J9,y,x)}};a(Em,"runtime",Ke),a(Em,"typeName","yorkie.v1.TreeNodeID"),a(Em,"fields",Ke.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Ar},{no:2,name:"offset",kind:"scalar",T:5}]));let Zc=Em;const xd=class Z9 extends F{constructor(y){super(),a(this,"parentId"),a(this,"leftSiblingId"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new Z9().fromBinary(y,x)}static fromJson(y,x){return new Z9().fromJson(y,x)}static fromJsonString(y,x){return new Z9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Z9,y,x)}};a(xd,"runtime",Ke),a(xd,"typeName","yorkie.v1.TreePos"),a(xd,"fields",Ke.util.newFieldList(()=>[{no:1,name:"parent_id",kind:"message",T:Zc},{no:2,name:"left_sibling_id",kind:"message",T:Zc}]));let Hs=xd;const Sd=class Q9 extends F{constructor(y){super(),a(this,"id",""),a(this,"username",""),a(this,"createdAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new Q9().fromBinary(y,x)}static fromJson(y,x){return new Q9().fromJson(y,x)}static fromJsonString(y,x){return new Q9().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Q9,y,x)}};a(Sd,"runtime",Ke),a(Sd,"typeName","yorkie.v1.User"),a(Sd,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"username",kind:"scalar",T:9},{no:3,name:"created_at",kind:"message",T:wt}]));const Ad=class ex extends F{constructor(y){super(),a(this,"id",""),a(this,"name",""),a(this,"publicKey",""),a(this,"secretKey",""),a(this,"authWebhookUrl",""),a(this,"authWebhookMethods",[]),a(this,"clientDeactivateThreshold",""),a(this,"createdAt"),a(this,"updatedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new ex().fromBinary(y,x)}static fromJson(y,x){return new ex().fromJson(y,x)}static fromJsonString(y,x){return new ex().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(ex,y,x)}};a(Ad,"runtime",Ke),a(Ad,"typeName","yorkie.v1.Project"),a(Ad,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"public_key",kind:"scalar",T:9},{no:4,name:"secret_key",kind:"scalar",T:9},{no:5,name:"auth_webhook_url",kind:"scalar",T:9},{no:6,name:"auth_webhook_methods",kind:"scalar",T:9,repeated:!0},{no:7,name:"client_deactivate_threshold",kind:"scalar",T:9},{no:8,name:"created_at",kind:"message",T:wt},{no:9,name:"updated_at",kind:"message",T:wt}]));const xm=class tx extends F{constructor(y){super(),a(this,"name"),a(this,"authWebhookUrl"),a(this,"authWebhookMethods"),a(this,"clientDeactivateThreshold"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new tx().fromBinary(y,x)}static fromJson(y,x){return new tx().fromJson(y,x)}static fromJsonString(y,x){return new tx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(tx,y,x)}};a(xm,"runtime",Ke),a(xm,"typeName","yorkie.v1.UpdatableProjectFields"),a(xm,"fields",Ke.util.newFieldList(()=>[{no:1,name:"name",kind:"message",T:Fi},{no:2,name:"auth_webhook_url",kind:"message",T:Fi},{no:3,name:"auth_webhook_methods",kind:"message",T:HT},{no:4,name:"client_deactivate_threshold",kind:"message",T:Fi}]));const hw=class nx extends F{constructor(y){super(),a(this,"methods",[]),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new nx().fromBinary(y,x)}static fromJson(y,x){return new nx().fromJson(y,x)}static fromJsonString(y,x){return new nx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(nx,y,x)}};a(hw,"runtime",Ke),a(hw,"typeName","yorkie.v1.UpdatableProjectFields.AuthWebhookMethods"),a(hw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"methods",kind:"scalar",T:9,repeated:!0}]));let HT=hw;const $1=class rx extends F{constructor(y){super(),a(this,"id",""),a(this,"key",""),a(this,"snapshot",""),a(this,"createdAt"),a(this,"accessedAt"),a(this,"updatedAt"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new rx().fromBinary(y,x)}static fromJson(y,x){return new rx().fromJson(y,x)}static fromJsonString(y,x){return new rx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(rx,y,x)}};a($1,"runtime",Ke),a($1,"typeName","yorkie.v1.DocumentSummary"),a($1,"fields",Ke.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"snapshot",kind:"scalar",T:9},{no:4,name:"created_at",kind:"message",T:wt},{no:5,name:"accessed_at",kind:"message",T:wt},{no:6,name:"updated_at",kind:"message",T:wt}]));const xy=class ix extends F{constructor(y){super(),a(this,"type",0),a(this,"presence"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new ix().fromBinary(y,x)}static fromJson(y,x){return new ix().fromJson(y,x)}static fromJsonString(y,x){return new ix().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(ix,y,x)}};a(xy,"runtime",Ke),a(xy,"typeName","yorkie.v1.PresenceChange"),a(xy,"fields",Ke.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Ke.getEnumType(Td)},{no:2,name:"presence",kind:"message",T:YE}]));let Sy=xy;var Td=($=>($[$.UNSPECIFIED=0]="UNSPECIFIED",$[$.PUT=1]="PUT",$[$.DELETE=2]="DELETE",$[$.CLEAR=3]="CLEAR",$))(Td||{});Ke.util.setEnumType(Td,"yorkie.v1.PresenceChange.ChangeType",[{no:0,name:"CHANGE_TYPE_UNSPECIFIED"},{no:1,name:"CHANGE_TYPE_PUT"},{no:2,name:"CHANGE_TYPE_DELETE"},{no:3,name:"CHANGE_TYPE_CLEAR"}]);let YE=(d=class extends F{constructor($){super(),a(this,"data",{}),Ke.util.initPartial($,this)}static fromBinary($,y){return new d().fromBinary($,y)}static fromJson($,y){return new d().fromJson($,y)}static fromJsonString($,y){return new d().fromJsonString($,y)}static equals($,y){return Ke.util.equals(d,$,y)}},a(d,"runtime",Ke),a(d,"typeName","yorkie.v1.Presence"),a(d,"fields",Ke.util.newFieldList(()=>[{no:1,name:"data",kind:"map",K:9,V:{kind:"scalar",T:9}}])),d),pw=(h=class extends F{constructor($){super(),a(this,"serverSeq",Ae.zero),a(this,"clientSeq",0),Ke.util.initPartial($,this)}static fromBinary($,y){return new h().fromBinary($,y)}static fromJson($,y){return new h().fromJson($,y)}static fromJsonString($,y){return new h().fromJsonString($,y)}static equals($,y){return Ke.util.equals(h,$,y)}},a(h,"runtime",Ke),a(h,"typeName","yorkie.v1.Checkpoint"),a(h,"fields",Ke.util.newFieldList(()=>[{no:1,name:"server_seq",kind:"scalar",T:3},{no:2,name:"client_seq",kind:"scalar",T:13}])),h);const Ay=class ax extends F{constructor(y){super(),a(this,"createdAt"),a(this,"offset",0),a(this,"relativeOffset",0),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new ax().fromBinary(y,x)}static fromJson(y,x){return new ax().fromJson(y,x)}static fromJsonString(y,x){return new ax().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(ax,y,x)}};a(Ay,"runtime",Ke),a(Ay,"typeName","yorkie.v1.TextNodePos"),a(Ay,"fields",Ke.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Ar},{no:2,name:"offset",kind:"scalar",T:5},{no:3,name:"relative_offset",kind:"scalar",T:5}]));let qh=Ay,Ar=(p=class extends F{constructor($){super(),a(this,"lamport",Ae.zero),a(this,"delimiter",0),a(this,"actorId",new Uint8Array(0)),Ke.util.initPartial($,this)}static fromBinary($,y){return new p().fromBinary($,y)}static fromJson($,y){return new p().fromJson($,y)}static fromJsonString($,y){return new p().fromJsonString($,y)}static equals($,y){return Ke.util.equals(p,$,y)}},a(p,"runtime",Ke),a(p,"typeName","yorkie.v1.TimeTicket"),a(p,"fields",Ke.util.newFieldList(()=>[{no:1,name:"lamport",kind:"scalar",T:3},{no:2,name:"delimiter",kind:"scalar",T:13},{no:3,name:"actor_id",kind:"scalar",T:12}])),p);const Wh=class ox extends F{constructor(y){super(),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new ox().fromBinary(y,x)}static fromJson(y,x){return new ox().fromJson(y,x)}static fromJsonString(y,x){return new ox().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(ox,y,x)}};a(Wh,"runtime",Ke),a(Wh,"typeName","yorkie.v1.DocEventBody"),a(Wh,"fields",Ke.util.newFieldList(()=>[{no:1,name:"topic",kind:"scalar",T:9},{no:2,name:"payload",kind:"scalar",T:12}]));let gw=Wh;const Ty=class sx extends F{constructor(y){super(),a(this,"type",0),a(this,"publisher",""),a(this,"body"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new sx().fromBinary(y,x)}static fromJson(y,x){return new sx().fromJson(y,x)}static fromJsonString(y,x){return new sx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(sx,y,x)}};a(Ty,"runtime",Ke),a(Ty,"typeName","yorkie.v1.DocEvent"),a(Ty,"fields",Ke.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Ke.getEnumType(Z)},{no:2,name:"publisher",kind:"scalar",T:9},{no:3,name:"body",kind:"message",T:gw}]));let mw=Ty;const vw=class lx extends F{constructor(y){super(),a(this,"clientKey",""),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new lx().fromBinary(y,x)}static fromJson(y,x){return new lx().fromJson(y,x)}static fromJsonString(y,x){return new lx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(lx,y,x)}};a(vw,"runtime",Ke),a(vw,"typeName","yorkie.v1.ActivateClientRequest"),a(vw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_key",kind:"scalar",T:9}]));let tH=vw;const yw=class ux extends F{constructor(y){super(),a(this,"clientId",""),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new ux().fromBinary(y,x)}static fromJson(y,x){return new ux().fromJson(y,x)}static fromJsonString(y,x){return new ux().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(ux,y,x)}};a(yw,"runtime",Ke),a(yw,"typeName","yorkie.v1.ActivateClientResponse"),a(yw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let XE=yw;const Sm=class cx extends F{constructor(y){super(),a(this,"clientId",""),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new cx().fromBinary(y,x)}static fromJson(y,x){return new cx().fromJson(y,x)}static fromJsonString(y,x){return new cx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(cx,y,x)}};a(Sm,"runtime",Ke),a(Sm,"typeName","yorkie.v1.DeactivateClientRequest"),a(Sm,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let Am=Sm;const Z0=class fx extends F{constructor(y){super(),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new fx().fromBinary(y,x)}static fromJson(y,x){return new fx().fromJson(y,x)}static fromJsonString(y,x){return new fx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(fx,y,x)}};a(Z0,"runtime",Ke),a(Z0,"typeName","yorkie.v1.DeactivateClientResponse"),a(Z0,"fields",Ke.util.newFieldList(()=>[]));let nH=Z0;const z1=class dx extends F{constructor(y){super(),a(this,"clientId",""),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new dx().fromBinary(y,x)}static fromJson(y,x){return new dx().fromJson(y,x)}static fromJsonString(y,x){return new dx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(dx,y,x)}};a(z1,"runtime",Ke),a(z1,"typeName","yorkie.v1.AttachDocumentRequest"),a(z1,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:Je}]));let qT=z1;const Q0=class hx extends F{constructor(y){super(),a(this,"documentId",""),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new hx().fromBinary(y,x)}static fromJson(y,x){return new hx().fromJson(y,x)}static fromJsonString(y,x){return new hx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(hx,y,x)}};a(Q0,"runtime",Ke),a(Q0,"typeName","yorkie.v1.AttachDocumentResponse"),a(Q0,"fields",Ke.util.newFieldList(()=>[{no:1,name:"document_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:Je}]));let WT=Q0;const Dd=class px extends F{constructor(y){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"removeIfNotAttached",!1),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new px().fromBinary(y,x)}static fromJson(y,x){return new px().fromJson(y,x)}static fromJsonString(y,x){return new px().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(px,y,x)}};a(Dd,"runtime",Ke),a(Dd,"typeName","yorkie.v1.DetachDocumentRequest"),a(Dd,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:Je},{no:4,name:"remove_if_not_attached",kind:"scalar",T:8}]));let Dy=Dd;const Id=class gx extends F{constructor(y){super(),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new gx().fromBinary(y,x)}static fromJson(y,x){return new gx().fromJson(y,x)}static fromJsonString(y,x){return new gx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(gx,y,x)}};a(Id,"runtime",Ke),a(Id,"typeName","yorkie.v1.DetachDocumentResponse"),a(Id,"fields",Ke.util.newFieldList(()=>[{no:2,name:"change_pack",kind:"message",T:Je}]));let Iy=Id;const Gh=class mx extends F{constructor(y){super(),a(this,"clientId",""),a(this,"documentId",""),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new mx().fromBinary(y,x)}static fromJson(y,x){return new mx().fromJson(y,x)}static fromJsonString(y,x){return new mx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(mx,y,x)}};a(Gh,"runtime",Ke),a(Gh,"typeName","yorkie.v1.WatchDocumentRequest"),a(Gh,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9}]));let GT=Gh;const Ry=class vx extends F{constructor(y){super(),a(this,"body",{case:void 0}),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new vx().fromBinary(y,x)}static fromJson(y,x){return new vx().fromJson(y,x)}static fromJsonString(y,x){return new vx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(vx,y,x)}};a(Ry,"runtime",Ke),a(Ry,"typeName","yorkie.v1.WatchDocumentResponse"),a(Ry,"fields",Ke.util.newFieldList(()=>[{no:1,name:"initialization",kind:"message",T:U1,oneof:"body"},{no:2,name:"event",kind:"message",T:mw,oneof:"body"}]));let VT=Ry;const bw=class yx extends F{constructor(y){super(),a(this,"clientIds",[]),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new yx().fromBinary(y,x)}static fromJson(y,x){return new yx().fromJson(y,x)}static fromJsonString(y,x){return new yx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(yx,y,x)}};a(bw,"runtime",Ke),a(bw,"typeName","yorkie.v1.WatchDocumentResponse.Initialization"),a(bw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_ids",kind:"scalar",T:9,repeated:!0}]));let U1=bw;const Rd=class bx extends F{constructor(y){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new bx().fromBinary(y,x)}static fromJson(y,x){return new bx().fromJson(y,x)}static fromJsonString(y,x){return new bx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(bx,y,x)}};a(Rd,"runtime",Ke),a(Rd,"typeName","yorkie.v1.RemoveDocumentRequest"),a(Rd,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:Je}]));let rH=Rd;const ww=class wx extends F{constructor(y){super(),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new wx().fromBinary(y,x)}static fromJson(y,x){return new wx().fromJson(y,x)}static fromJsonString(y,x){return new wx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(wx,y,x)}};a(ww,"runtime",Ke),a(ww,"typeName","yorkie.v1.RemoveDocumentResponse"),a(ww,"fields",Ke.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:Je}]));let iH=ww;const kw=class kx extends F{constructor(y){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"pushOnly",!1),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new kx().fromBinary(y,x)}static fromJson(y,x){return new kx().fromJson(y,x)}static fromJsonString(y,x){return new kx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(kx,y,x)}};a(kw,"runtime",Ke),a(kw,"typeName","yorkie.v1.PushPullChangesRequest"),a(kw,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:Je},{no:4,name:"push_only",kind:"scalar",T:8}]));let aH=kw;const _w=class _x extends F{constructor(y){super(),a(this,"changePack"),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new _x().fromBinary(y,x)}static fromJson(y,x){return new _x().fromJson(y,x)}static fromJsonString(y,x){return new _x().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(_x,y,x)}};a(_w,"runtime",Ke),a(_w,"typeName","yorkie.v1.PushPullChangesResponse"),a(_w,"fields",Ke.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:Je}]));let ku=_w;const qo=class Cx extends F{constructor(y){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new Cx().fromBinary(y,x)}static fromJson(y,x){return new Cx().fromJson(y,x)}static fromJsonString(y,x){return new Cx().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Cx,y,x)}};a(qo,"runtime",Ke),a(qo,"typeName","yorkie.v1.BroadcastRequest"),a(qo,"fields",Ke.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"topic",kind:"scalar",T:9},{no:4,name:"payload",kind:"scalar",T:12}]));let $l=qo;const Wo=class Ex extends F{constructor(y){super(),Ke.util.initPartial(y,this)}static fromBinary(y,x){return new Ex().fromBinary(y,x)}static fromJson(y,x){return new Ex().fromJson(y,x)}static fromJsonString(y,x){return new Ex().fromJsonString(y,x)}static equals(y,x){return Ke.util.equals(Ex,y,x)}};a(Wo,"runtime",Ke),a(Wo,"typeName","yorkie.v1.BroadcastResponse"),a(Wo,"fields",Ke.util.newFieldList(()=>[]));let My=Wo;const oH={typeName:"yorkie.v1.YorkieService",methods:{activateClient:{name:"ActivateClient",I:tH,O:XE,kind:wn.Unary},deactivateClient:{name:"DeactivateClient",I:Am,O:nH,kind:wn.Unary},attachDocument:{name:"AttachDocument",I:qT,O:WT,kind:wn.Unary},detachDocument:{name:"DetachDocument",I:Dy,O:Iy,kind:wn.Unary},removeDocument:{name:"RemoveDocument",I:rH,O:iH,kind:wn.Unary},pushPullChanges:{name:"PushPullChanges",I:aH,O:ku,kind:wn.Unary},watchDocument:{name:"WatchDocument",I:GT,O:VT,kind:wn.ServerStreaming},broadcast:{name:"Broadcast",I:$l,O:My,kind:wn.Unary}}},Cw=Ke.makeMessageType("google.rpc.ErrorInfo",()=>[{no:1,name:"reason",kind:"scalar",T:9},{no:2,name:"domain",kind:"scalar",T:9},{no:3,name:"metadata",kind:"map",K:9,V:{kind:"scalar",T:9}}]);Ke.makeMessageType("google.rpc.RetryInfo",()=>[{no:1,name:"retry_delay",kind:"message",T:Jr}]),Ke.makeMessageType("google.rpc.DebugInfo",()=>[{no:1,name:"stack_entries",kind:"scalar",T:9,repeated:!0},{no:2,name:"detail",kind:"scalar",T:9}]),Ke.makeMessageType("google.rpc.QuotaFailure",()=>[{no:1,name:"violations",kind:"message",T:sH,repeated:!0}]);const sH=Ke.makeMessageType("google.rpc.QuotaFailure.Violation",()=>[{no:1,name:"subject",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"QuotaFailure_Violation"});Ke.makeMessageType("google.rpc.PreconditionFailure",()=>[{no:1,name:"violations",kind:"message",T:lH,repeated:!0}]);const lH=Ke.makeMessageType("google.rpc.PreconditionFailure.Violation",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"subject",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}],{localName:"PreconditionFailure_Violation"});Ke.makeMessageType("google.rpc.BadRequest",()=>[{no:1,name:"field_violations",kind:"message",T:uH,repeated:!0}]);const uH=Ke.makeMessageType("google.rpc.BadRequest.FieldViolation",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"BadRequest_FieldViolation"});Ke.makeMessageType("google.rpc.RequestInfo",()=>[{no:1,name:"request_id",kind:"scalar",T:9},{no:2,name:"serving_data",kind:"scalar",T:9}]),Ke.makeMessageType("google.rpc.ResourceInfo",()=>[{no:1,name:"resource_type",kind:"scalar",T:9},{no:2,name:"resource_name",kind:"scalar",T:9},{no:3,name:"owner",kind:"scalar",T:9},{no:4,name:"description",kind:"scalar",T:9}]),Ke.makeMessageType("google.rpc.Help",()=>[{no:1,name:"links",kind:"message",T:JE,repeated:!0}]);const JE=Ke.makeMessageType("google.rpc.Help.Link",()=>[{no:1,name:"description",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}],{localName:"Help_Link"});Ke.makeMessageType("google.rpc.LocalizedMessage",()=>[{no:1,name:"locale",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]);var Vt=($=>($.Ok="ok",$.ErrClientNotActivated="ErrClientNotActivated",$.ErrClientNotFound="ErrClientNotFound",$.ErrUnimplemented="ErrUnimplemented",$.ErrInvalidType="ErrInvalidType",$.ErrDummy="ErrDummy",$.ErrDocumentNotAttached="ErrDocumentNotAttached",$.ErrDocumentNotDetached="ErrDocumentNotDetached",$.ErrDocumentRemoved="ErrDocumentRemoved",$.ErrInvalidObjectKey="ErrInvalidObjectKey",$.ErrInvalidArgument="ErrInvalidArgument",$.ErrNotInitialized="ErrNotInitialized",$.ErrNotReady="ErrNotReady",$.ErrRefused="ErrRefused",$.ErrContextNotProvided="ErrContextNotProvided",$.ErrPermissionDenied="ErrPermissionDenied",$.ErrUnauthenticated="ErrUnauthenticated",$))(Vt||{});class Xt extends Error{constructor(y,x){super(x),a(this,"name","YorkieError"),a(this,"stack"),this.code=y,this.message=x,this.toString=()=>`[code=${this.code}]: ${this.message}`}}function Ff($){if($ instanceof Map){const y=Array.from($);return new Map(JSON.parse(JSON.stringify(y)))}return JSON.parse(JSON.stringify($))}const Ew=$=>$?Object.entries($).length===0:!0,ep=$=>{const y={};for(const[x,j]of Object.entries($))y[x]=JSON.stringify(j);return y},j1=$=>{const y={};for(const[x,j]of Object.entries($))y[x]=JSON.parse(j);return y};var Vh=($=>($.Put="put",$.Clear="clear",$))(Vh||{});class Oy{constructor(y,x){a(this,"context"),a(this,"presence"),this.context=y,this.presence=x}set(y,x){for(const j of Object.keys(y))this.presence[j]=y[j];this.context.setPresenceChange({type:"put",presence:Ff(this.presence)}),this.context.setReversePresence(y,x)}get(y){return this.presence[y]}clear(){this.presence={},this.context.setPresenceChange({type:"clear"})}}const Ly="000000000000000000000000";class wl{constructor(y,x,j){a(this,"lamport"),a(this,"delimiter"),a(this,"actorID"),this.lamport=y,this.delimiter=x,this.actorID=j}static of(y,x,j){return new wl(y,x,j)}static fromStruct(y){return wl.of(BigInt(y.lamport),y.delimiter,y.actorID)}toIDString(){return`${this.lamport.toString()}:${this.actorID}:${this.delimiter}`}toStruct(){return{lamport:this.getLamportAsString(),delimiter:this.getDelimiter(),actorID:this.getActorID()}}toTestString(){return`${this.lamport.toString()}:${this.actorID.slice(-2)}:${this.delimiter}`}setActor(y){return new wl(this.lamport,this.delimiter,y)}getLamportAsString(){return this.lamport.toString()}getLamport(){return this.lamport}getDelimiter(){return this.delimiter}getActorID(){return this.actorID}after(y){return this.compare(y)>0}equals(y){return this.compare(y)===0}compare(y){if(this.lamport>y.lamport)return 1;if(y.lamport>this.lamport)return-1;const x=this.actorID.localeCompare(y.actorID);return x!==0?x:this.delimiter>y.delimiter?1:y.delimiter>this.delimiter?-1:0}}const KT=0,tp=9223372036854775807n,qs=new wl(0n,KT,Ly);function Nf($){return $.replace(/["'\\\n\r\f\b\t\u2028\u2029]/g,function(y){switch(y){case'"':case"\\":return"\\"+y;case` `:return"\\n";case"\r":return"\\r";case"\f":return"\\f";case"\b":return"\\b";case" ":return"\\t";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return y}})}class By{constructor(y){a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),this.createdAt=y}getCreatedAt(){return this.createdAt}getID(){return this.createdAt}getMovedAt(){return this.movedAt}getRemovedAt(){return this.removedAt}getPositionedAt(){return this.movedAt?this.movedAt:this.createdAt}setMovedAt(y){return!this.movedAt||y&&y.after(this.movedAt)?(this.movedAt=y,!0):!1}setRemovedAt(y){this.removedAt=y}remove(y){return y&&y.after(this.getPositionedAt())&&(!this.removedAt||y.after(this.removedAt))?(this.removedAt=y,!0):!1}isRemoved(){return!!this.removedAt}}class Kh extends By{constructor(y){super(y)}}class ru{constructor(y,x){a(this,"strKey"),a(this,"value"),this.strKey=y,this.value=x}static of(y,x){return new ru(y,x)}isRemoved(){return this.value.isRemoved()}getStrKey(){return this.strKey}getValue(){return this.value}remove(y){return this.value.remove(y)}}class Ni{constructor(){a(this,"nodeMapByKey"),a(this,"nodeMapByCreatedAt"),this.nodeMapByKey=new Map,this.nodeMapByCreatedAt=new Map}static create(){return new Ni}set(y,x,j){let K;const ke=this.nodeMapByKey.get(y);ke!=null&&!ke.isRemoved()&&ke.remove(j)&&(K=ke.getValue());const Fe=ru.of(y,x);return this.nodeMapByCreatedAt.set(x.getCreatedAt().toIDString(),Fe),(ke==null||j.after(ke.getValue().getPositionedAt()))&&(this.nodeMapByKey.set(y,Fe),x.setMovedAt(j)),K}delete(y,x){if(!this.nodeMapByCreatedAt.has(y.toIDString()))throw new Xt(Vt.ErrInvalidArgument,`fail to find ${y.toIDString()}`);const j=this.nodeMapByCreatedAt.get(y.toIDString());return j.remove(x),j.getValue()}subPathOf(y){const x=this.nodeMapByCreatedAt.get(y.toIDString());if(x)return x.getStrKey()}purge(y){const x=this.nodeMapByCreatedAt.get(y.getCreatedAt().toIDString());if(!x)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${y.getCreatedAt().toIDString()}`);const j=this.nodeMapByKey.get(x.getStrKey());x===j&&this.nodeMapByKey.delete(j.getStrKey()),this.nodeMapByCreatedAt.delete(x.getValue().getCreatedAt().toIDString())}deleteByKey(y,x){const j=this.nodeMapByKey.get(y);if(j!=null&&j.remove(x))return j.getValue()}has(y){const x=this.nodeMapByKey.get(y);return x==null?!1:!x.isRemoved()}getByID(y){return this.nodeMapByCreatedAt.get(y.toIDString())}get(y){const x=this.nodeMapByKey.get(y);if(!(!x||x.isRemoved()))return x}*[Symbol.iterator](){for(const[,y]of this.nodeMapByKey)yield y}}class mo extends Kh{constructor(y,x){super(y),a(this,"memberNodes"),this.memberNodes=x}static create(y,x){if(!x)return new mo(y,Ni.create());const j=Ni.create();for(const[K,ke]of Object.entries(x))j.set(K,ke.deepcopy(),ke.getCreatedAt());return new mo(y,j)}subPathOf(y){return this.memberNodes.subPathOf(y)}purge(y){this.memberNodes.purge(y)}set(y,x,j){return this.memberNodes.set(y,x,j)}delete(y,x){return this.memberNodes.delete(y,x)}deleteByKey(y,x){return this.memberNodes.deleteByKey(y,x)}get(y){const x=this.memberNodes.get(y);return x?.getValue()}getByID(y){const x=this.memberNodes.getByID(y);return x?.getValue()}has(y){return this.memberNodes.has(y)}toJSON(){const y=[];for(const[x,j]of this)y.push(`"${Nf(x)}":${j.toJSON()}`);return`{${y.join(",")}}`}toJS(){return JSON.parse(this.toJSON())}toJSForTest(){const y={};for(const[x,j]of this){const{createdAt:K,value:ke,type:Fe}=j.toJSForTest();y[x]={key:x,createdAt:K,value:ke,type:Fe}}return{createdAt:this.getCreatedAt().toTestString(),value:y,type:"YORKIE_OBJECT"}}getKeys(){const y=Array();for(const[x]of this)y.push(x);return y}toSortedJSON(){var y;const x=Array();for(const[K]of this)x.push(K);const j=[];for(const K of x.sort()){const ke=(y=this.memberNodes.get(K))==null?void 0:y.getValue();j.push(`"${Nf(K)}":${ke.toSortedJSON()}`)}return`{${j.join(",")}}`}getRHT(){return this.memberNodes}deepcopy(){const y=mo.create(this.getCreatedAt());for(const x of this.memberNodes)y.memberNodes.set(x.getStrKey(),x.getValue().deepcopy(),this.getPositionedAt());return y.remove(this.getRemovedAt()),y}getDescendants(y){for(const x of this.memberNodes){const j=x.getValue();if(y(j,this))return;j instanceof Kh&&j.getDescendants(y)}}*[Symbol.iterator](){const y=new Set;for(const x of this.memberNodes)y.has(x.getStrKey())||(y.add(x.getStrKey()),x.isRemoved()||(yield[x.getStrKey(),x.getValue()]))}}var qi=($=>($.Local="local",$.Remote="remote",$.UndoRedo="undoredo",$))(qi||{});class Zs{constructor(y,x){a(this,"parentCreatedAt"),a(this,"executedAt"),this.parentCreatedAt=y,this.executedAt=x}getParentCreatedAt(){return this.parentCreatedAt}getExecutedAt(){if(!this.executedAt)throw new Xt(Vt.ErrNotReady,"executedAt is not set yet");return this.executedAt}setActor(y){this.executedAt&&(this.executedAt=this.executedAt.setActor(y))}setExecutedAt(y){this.executedAt=y}}class ZE{constructor(y){a(this,"value"),a(this,"left"),a(this,"right"),a(this,"parent"),a(this,"weight"),this.value=y,this.initWeight()}getNodeString(){return`${this.weight}${this.value}`}getValue(){return this.value}getLeftWeight(){return this.hasLeft()?this.left.getWeight():0}getRightWeight(){return this.hasRight()?this.right.getWeight():0}getWeight(){return this.weight}getLeft(){return this.left}getRight(){return this.right}getParent(){return this.parent}hasLeft(){return!!this.left}hasRight(){return!!this.right}hasParent(){return!!this.parent}setLeft(y){this.left=y}setRight(y){this.right=y}setParent(y){this.parent=y}unlink(){this.parent=void 0,this.right=void 0,this.left=void 0}hasLinks(){return this.hasParent()||this.hasLeft()||this.hasRight()}increaseWeight(y){this.weight+=y}initWeight(){this.weight=this.getLength()}}class H1{constructor(y){a(this,"root"),this.root=y}get length(){return this.root?this.root.getWeight():0}find(y){if(!this.root||y<0)return[void 0,0];let x=this.root;for(;;)if(x.hasLeft()&&y<=x.getLeftWeight())x=x.getLeft();else if(x.hasRight()&&x.getLeftWeight()+x.getLength()x.getLength())throw new Xt(Vt.ErrInvalidArgument,`out of index range: pos: ${y} > node.length: ${x.getLength()}`);return this.splayNode(x),[x,y]}indexOf(y){return!y||y!==this.root&&!y.hasLinks()?-1:(this.splayNode(y),this.root.getLeftWeight())}getRoot(){return this.root}insert(y){return this.insertAfter(this.root,y)}insertAfter(y,x){return y?(this.splayNode(y),this.root=x,x.setRight(y.getRight()),y.hasRight()&&y.getRight().setParent(x),x.setLeft(y),y.setParent(x),y.setRight(),this.updateWeight(y),this.updateWeight(x),x):(this.root=x,x)}updateWeight(y){y.initWeight(),y.hasLeft()&&y.increaseWeight(y.getLeftWeight()),y.hasRight()&&y.increaseWeight(y.getRightWeight())}updateTreeWeight(y){for(;y;)this.updateWeight(y),y=y.getParent()}splayNode(y){if(y)for(;;)if(this.isLeftChild(y.getParent())&&this.isRightChild(y))this.rotateLeft(y),this.rotateRight(y);else if(this.isRightChild(y.getParent())&&this.isLeftChild(y))this.rotateRight(y),this.rotateLeft(y);else if(this.isLeftChild(y.getParent())&&this.isLeftChild(y))this.rotateRight(y.getParent()),this.rotateRight(y);else if(this.isRightChild(y.getParent())&&this.isRightChild(y))this.rotateLeft(y.getParent()),this.rotateLeft(y);else{this.isLeftChild(y)?this.rotateRight(y):this.isRightChild(y)&&this.rotateLeft(y),this.updateWeight(y);return}}delete(y){this.splayNode(y);const x=new H1(y.getLeft());x.root&&x.root.setParent();const j=new H1(y.getRight());if(j.root&&j.root.setParent(),x.root){const K=x.getRightmost();x.splayNode(K),x.root.setRight(j.root),j.root&&j.root.setParent(x.root),this.root=x.root}else this.root=j.root;y.unlink(),this.root&&this.updateWeight(this.root)}deleteRange(y,x){if(!x){this.splayNode(y),this.cutOffRight(y);return}this.splayNode(y),this.splayNode(x),x.getLeft()!=y&&this.rotateRight(y),this.cutOffRight(y)}cutOffRight(y){const x=[];this.traversePostorder(y.getRight(),x);for(const j of x)j.initWeight();this.updateTreeWeight(y)}toTestString(){const y=[];return this.traverseInorder(this.root,y),y.map(x=>`[${x.getWeight()},${x.getLength()}]${x.getValue()||""}`).join("")}checkWeight(){const y=[];this.traverseInorder(this.root,y);for(const x of y)if(x.getWeight()!=x.getLength()+x.getLeftWeight()+x.getRightWeight())return!1;return!0}getRightmost(){let y=this.root;for(;y.hasRight();)y=y.getRight();return y}traverseInorder(y,x){y&&(this.traverseInorder(y.getLeft(),x),x.push(y),this.traverseInorder(y.getRight(),x))}traversePostorder(y,x){y&&(this.traversePostorder(y.getLeft(),x),this.traversePostorder(y.getRight(),x),x.push(y))}rotateLeft(y){const x=y.getParent();x.hasParent()?x===x.getParent().getLeft()?x.getParent().setLeft(y):x.getParent().setRight(y):this.root=y,y.setParent(x.getParent()),x.setRight(y.getLeft()),x.hasRight()&&x.getRight().setParent(x),y.setLeft(x),y.getLeft().setParent(y),this.updateWeight(x),this.updateWeight(y)}rotateRight(y){const x=y.getParent();x.hasParent()?x===x.getParent().getLeft()?x.getParent().setLeft(y):x.getParent().setRight(y):this.root=y,y.setParent(x.getParent()),x.setLeft(y.getRight()),x.hasLeft()&&x.getLeft().setParent(x),y.setRight(x),y.getRight().setParent(y),this.updateWeight(x),this.updateWeight(y)}isLeftChild(y){return y&&y.hasParent()?y.getParent().getLeft()===y:!1}isRightChild(y){return y&&y.hasParent()?y.getParent().getRight()===y:!1}}/** @@ -241,13 +241,13 @@ Length provided: ${this.length}. Number of dictionaries provided: ${this.diction * * SPDX-License-Identifier: Apache-2.0 */var Ju=null;try{Ju=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Vi($,y,x){this.low=$|0,this.high=y|0,this.unsigned=!!x}Vi.prototype.__isLong__,Object.defineProperty(Vi.prototype,"__isLong__",{value:!0});function Qs($){return($&&$.__isLong__)===!0}function Tm($){var y=Math.clz32($&-$);return $?31-y:y}Vi.isLong=Qs;var QE={},xw={};function _u($,y){var x,j,K;return y?($>>>=0,(K=0<=$&&$<256)&&(j=xw[$],j)?j:(x=Zi($,0,!0),K&&(xw[$]=x),x)):($|=0,(K=-128<=$&&$<128)&&(j=QE[$],j)?j:(x=Zi($,$<0?-1:0,!1),K&&(QE[$]=x),x))}Vi.fromInt=_u;function Zu($,y){if(isNaN($))return y?Yh:Qc;if(y){if($<0)return Yh;if($>=YT)return Fy}else{if($<=-XT)return iu;if($+1>=XT)return Aw}return $<0?Zu(-$,y).neg():Zi($%q1|0,$/q1|0,y)}Vi.fromNumber=Zu;function Zi($,y,x){return new Vi($,y,x)}Vi.fromBits=Zi;var Sw=Math.pow;function Dm($,y,x){if($.length===0)throw Error("empty string");if(typeof y=="number"?(x=y,y=!1):y=!!y,$==="NaN"||$==="Infinity"||$==="+Infinity"||$==="-Infinity")return y?Yh:Qc;if(x=x||10,x<2||360)throw Error("interior hyphen");if(j===0)return Dm($.substring(1),y,x).neg();for(var K=Zu(Sw(x,8)),ke=Qc,Fe=0;Fe<$.length;Fe+=8){var Ve=Math.min(8,$.length-Fe),it=parseInt($.substring(Fe,Fe+Ve),x);if(Ve<8){var ct=Zu(Sw(x,Ve));ke=ke.mul(ct).add(Zu(it))}else ke=ke.mul(K),ke=ke.add(Zu(it))}return ke.unsigned=y,ke}Vi.fromString=Dm;function Qu($,y){return typeof $=="number"?Zu($,y):typeof $=="string"?Dm($,y):Zi($.low,$.high,typeof y=="boolean"?y:$.unsigned)}Vi.fromValue=Qu;var e5=1<<16,cH=1<<24,q1=e5*e5,YT=q1*q1,XT=YT/2,Py=_u(cH),Qc=_u(0);Vi.ZERO=Qc;var Yh=_u(0,!0);Vi.UZERO=Yh;var Im=_u(1);Vi.ONE=Im;var t5=_u(1,!0);Vi.UONE=t5;var np=_u(-1);Vi.NEG_ONE=np;var Aw=Zi(-1,2147483647,!1);Vi.MAX_VALUE=Aw;var Fy=Zi(-1,-1,!0);Vi.MAX_UNSIGNED_VALUE=Fy;var iu=Zi(0,-2147483648,!1);Vi.MIN_VALUE=iu;var Mn=Vi.prototype;Mn.toInt=function(){return this.unsigned?this.low>>>0:this.low},Mn.toNumber=function(){return this.unsigned?(this.high>>>0)*q1+(this.low>>>0):this.high*q1+(this.low>>>0)},Mn.toString=function(y){if(y=y||10,y<2||36>>0,It=ct.toString(y);if(Fe=it,Fe.isZero())return It+Ve;for(;It.length<6;)It="0"+It;Ve=""+It+Ve}},Mn.getHighBits=function(){return this.high},Mn.getHighBitsUnsigned=function(){return this.high>>>0},Mn.getLowBits=function(){return this.low},Mn.getLowBitsUnsigned=function(){return this.low>>>0},Mn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(iu)?64:this.neg().getNumBitsAbs();for(var y=this.high!=0?this.high:this.low,x=31;x>0&&!(y&1<=0},Mn.isOdd=function(){return(this.low&1)===1},Mn.isEven=function(){return(this.low&1)===0},Mn.equals=function(y){return Qs(y)||(y=Qu(y)),this.unsigned!==y.unsigned&&this.high>>>31===1&&y.high>>>31===1?!1:this.high===y.high&&this.low===y.low},Mn.eq=Mn.equals,Mn.notEquals=function(y){return!this.eq(y)},Mn.neq=Mn.notEquals,Mn.ne=Mn.notEquals,Mn.lessThan=function(y){return this.comp(y)<0},Mn.lt=Mn.lessThan,Mn.lessThanOrEqual=function(y){return this.comp(y)<=0},Mn.lte=Mn.lessThanOrEqual,Mn.le=Mn.lessThanOrEqual,Mn.greaterThan=function(y){return this.comp(y)>0},Mn.gt=Mn.greaterThan,Mn.greaterThanOrEqual=function(y){return this.comp(y)>=0},Mn.gte=Mn.greaterThanOrEqual,Mn.ge=Mn.greaterThanOrEqual,Mn.compare=function(y){if(Qs(y)||(y=Qu(y)),this.eq(y))return 0;var x=this.isNegative(),j=y.isNegative();return x&&!j?-1:!x&&j?1:this.unsigned?y.high>>>0>this.high>>>0||y.high===this.high&&y.low>>>0>this.low>>>0?-1:1:this.sub(y).isNegative()?-1:1},Mn.comp=Mn.compare,Mn.negate=function(){return!this.unsigned&&this.eq(iu)?iu:this.not().add(Im)},Mn.neg=Mn.negate,Mn.add=function(y){Qs(y)||(y=Qu(y));var x=this.high>>>16,j=this.high&65535,K=this.low>>>16,ke=this.low&65535,Fe=y.high>>>16,Ve=y.high&65535,it=y.low>>>16,ct=y.low&65535,It=0,fn=0,Cn=0,an=0;return an+=ke+ct,Cn+=an>>>16,an&=65535,Cn+=K+it,fn+=Cn>>>16,Cn&=65535,fn+=j+Ve,It+=fn>>>16,fn&=65535,It+=x+Fe,It&=65535,Zi(Cn<<16|an,It<<16|fn,this.unsigned)},Mn.subtract=function(y){return Qs(y)||(y=Qu(y)),this.add(y.neg())},Mn.sub=Mn.subtract,Mn.multiply=function(y){if(this.isZero())return this;if(Qs(y)||(y=Qu(y)),Ju){var x=Ju.mul(this.low,this.high,y.low,y.high);return Zi(x,Ju.get_high(),this.unsigned)}if(y.isZero())return this.unsigned?Yh:Qc;if(this.eq(iu))return y.isOdd()?iu:Qc;if(y.eq(iu))return this.isOdd()?iu:Qc;if(this.isNegative())return y.isNegative()?this.neg().mul(y.neg()):this.neg().mul(y).neg();if(y.isNegative())return this.mul(y.neg()).neg();if(this.lt(Py)&&y.lt(Py))return Zu(this.toNumber()*y.toNumber(),this.unsigned);var j=this.high>>>16,K=this.high&65535,ke=this.low>>>16,Fe=this.low&65535,Ve=y.high>>>16,it=y.high&65535,ct=y.low>>>16,It=y.low&65535,fn=0,Cn=0,an=0,On=0;return On+=Fe*It,an+=On>>>16,On&=65535,an+=ke*It,Cn+=an>>>16,an&=65535,an+=Fe*ct,Cn+=an>>>16,an&=65535,Cn+=K*It,fn+=Cn>>>16,Cn&=65535,Cn+=ke*ct,fn+=Cn>>>16,Cn&=65535,Cn+=Fe*it,fn+=Cn>>>16,Cn&=65535,fn+=j*It+K*ct+ke*it+Fe*Ve,fn&=65535,Zi(an<<16|On,fn<<16|Cn,this.unsigned)},Mn.mul=Mn.multiply,Mn.divide=function(y){if(Qs(y)||(y=Qu(y)),y.isZero())throw Error("division by zero");if(Ju){if(!this.unsigned&&this.high===-2147483648&&y.low===-1&&y.high===-1)return this;var x=(this.unsigned?Ju.div_u:Ju.div_s)(this.low,this.high,y.low,y.high);return Zi(x,Ju.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?Yh:Qc;var j,K,ke;if(this.unsigned){if(y.unsigned||(y=y.toUnsigned()),y.gt(this))return Yh;if(y.gt(this.shru(1)))return t5;ke=Yh}else{if(this.eq(iu)){if(y.eq(Im)||y.eq(np))return iu;if(y.eq(iu))return Im;var Fe=this.shr(1);return j=Fe.div(y).shl(1),j.eq(Qc)?y.isNegative()?Im:np:(K=this.sub(y.mul(j)),ke=j.add(K.div(y)),ke)}else if(y.eq(iu))return this.unsigned?Yh:Qc;if(this.isNegative())return y.isNegative()?this.neg().div(y.neg()):this.neg().div(y).neg();if(y.isNegative())return this.div(y.neg()).neg();ke=Qc}for(K=this;K.gte(y);){j=Math.max(1,Math.floor(K.toNumber()/y.toNumber()));for(var Ve=Math.ceil(Math.log(j)/Math.LN2),it=Ve<=48?1:Sw(2,Ve-48),ct=Zu(j),It=ct.mul(y);It.isNegative()||It.gt(K);)j-=it,ct=Zu(j,this.unsigned),It=ct.mul(y);ct.isZero()&&(ct=Im),ke=ke.add(ct),K=K.sub(It)}return ke},Mn.div=Mn.divide,Mn.modulo=function(y){if(Qs(y)||(y=Qu(y)),Ju){var x=(this.unsigned?Ju.rem_u:Ju.rem_s)(this.low,this.high,y.low,y.high);return Zi(x,Ju.get_high(),this.unsigned)}return this.sub(this.div(y).mul(y))},Mn.mod=Mn.modulo,Mn.rem=Mn.modulo,Mn.not=function(){return Zi(~this.low,~this.high,this.unsigned)},Mn.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},Mn.clz=Mn.countLeadingZeros,Mn.countTrailingZeros=function(){return this.low?Tm(this.low):Tm(this.high)+32},Mn.ctz=Mn.countTrailingZeros,Mn.and=function(y){return Qs(y)||(y=Qu(y)),Zi(this.low&y.low,this.high&y.high,this.unsigned)},Mn.or=function(y){return Qs(y)||(y=Qu(y)),Zi(this.low|y.low,this.high|y.high,this.unsigned)},Mn.xor=function(y){return Qs(y)||(y=Qu(y)),Zi(this.low^y.low,this.high^y.high,this.unsigned)},Mn.shiftLeft=function(y){return Qs(y)&&(y=y.toInt()),(y&=63)===0?this:y<32?Zi(this.low<>>32-y,this.unsigned):Zi(0,this.low<>>y|this.high<<32-y,this.high>>y,this.unsigned):Zi(this.high>>y-32,this.high>=0?0:-1,this.unsigned)},Mn.shr=Mn.shiftRight,Mn.shiftRightUnsigned=function(y){return Qs(y)&&(y=y.toInt()),(y&=63)===0?this:y<32?Zi(this.low>>>y|this.high<<32-y,this.high>>>y,this.unsigned):y===32?Zi(this.high,0,this.unsigned):Zi(this.high>>>y-32,0,this.unsigned)},Mn.shru=Mn.shiftRightUnsigned,Mn.shr_u=Mn.shiftRightUnsigned,Mn.rotateLeft=function(y){var x;return Qs(y)&&(y=y.toInt()),(y&=63)===0?this:y===32?Zi(this.high,this.low,this.unsigned):y<32?(x=32-y,Zi(this.low<>>x,this.high<>>x,this.unsigned)):(y-=32,x=32-y,Zi(this.high<>>x,this.low<>>x,this.unsigned))},Mn.rotl=Mn.rotateLeft,Mn.rotateRight=function(y){var x;return Qs(y)&&(y=y.toInt()),(y&=63)===0?this:y===32?Zi(this.high,this.low,this.unsigned):y<32?(x=32-y,Zi(this.high<>>y,this.low<>>y,this.unsigned)):(y-=32,x=32-y,Zi(this.low<>>y,this.high<>>y,this.unsigned))},Mn.rotr=Mn.rotateRight,Mn.toSigned=function(){return this.unsigned?Zi(this.low,this.high,!1):this},Mn.toUnsigned=function(){return this.unsigned?this:Zi(this.low,this.high,!0)},Mn.toBytes=function(y){return y?this.toBytesLE():this.toBytesBE()},Mn.toBytesLE=function(){var y=this.high,x=this.low;return[x&255,x>>>8&255,x>>>16&255,x>>>24,y&255,y>>>8&255,y>>>16&255,y>>>24]},Mn.toBytesBE=function(){var y=this.high,x=this.low;return[y>>>24,y>>>16&255,y>>>8&255,y&255,x>>>24,x>>>16&255,x>>>8&255,x&255]},Vi.fromBytes=function(y,x,j){return j?Vi.fromBytesLE(y,x):Vi.fromBytesBE(y,x)},Vi.fromBytesLE=function(y,x){return new Vi(y[0]|y[1]<<8|y[2]<<16|y[3]<<24,y[4]|y[5]<<8|y[6]<<16|y[7]<<24,x)},Vi.fromBytesBE=function(y,x){return new Vi(y[4]<<24|y[5]<<16|y[6]<<8|y[7],y[0]<<24|y[1]<<16|y[2]<<8|y[3],x)};var Ts=($=>($[$.Null=0]="Null",$[$.Boolean=1]="Boolean",$[$.Integer=2]="Integer",$[$.Long=3]="Long",$[$.Double=4]="Double",$[$.String=5]="String",$[$.Bytes=6]="Bytes",$[$.Date=7]="Date",$))(Ts||{});class vo extends By{constructor(y,x){super(x),a(this,"valueType"),a(this,"value"),this.valueType=vo.getPrimitiveType(y),this.value=y===void 0?null:y}static of(y,x){return new vo(y,x)}static valueFromBytes(y,x){switch(y){case 0:return null;case 1:return!!x[0];case 2:return x[0]|x[1]<<8|x[2]<<16|x[3]<<24;case 4:{const j=new DataView(x.buffer);return x.forEach(function(K,ke){j.setUint8(ke,K)}),j.getFloat64(0,!0)}case 5:return new TextDecoder("utf-8").decode(x);case 3:return Vi.fromBytesLE(Array.from(x));case 6:return x;case 7:return new Date(Vi.fromBytesLE(Array.from(x),!0).toNumber());default:throw new Xt(Vt.ErrUnimplemented,`unimplemented type: ${y}`)}}toJSON(){return this.valueType===5?`"${Nf(this.value)}"`:`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_PRIMITIVE"}}deepcopy(){const y=vo.of(this.value,this.getCreatedAt());return y.setMovedAt(this.getMovedAt()),y.setRemovedAt(this.getRemovedAt()),y}getType(){return this.valueType}static getPrimitiveType(y){switch(typeof y){case"undefined":return 0;case"boolean":return 1;case"number":return this.isInteger(y)?2:4;case"string":return 5;case"object":if(y===null)return 0;if(y instanceof Vi)return 3;if(y instanceof Uint8Array)return 6;if(y instanceof Date)return 7}}static isSupport(y){return vo.getPrimitiveType(y)!==void 0}static isInteger(y){return y%1===0}isNumericType(){const y=this.valueType;return y===2||y===3||y===4}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:return new Uint8Array;case 1:return this.value?new Uint8Array([1]):new Uint8Array([0]);case 2:{const y=this.value;return new Uint8Array([y&255,y>>8&255,y>>16&255,y>>24&255])}case 4:{const y=this.value,x=new Uint8Array(8);return new DataView(x.buffer).setFloat64(0,y,!0),x}case 5:return new TextEncoder().encode(this.value);case 3:{const x=this.value.toBytesLE();return Uint8Array.from(x)}case 6:return this.value;case 7:{const y=this.value,x=Vi.fromNumber(y.getTime(),!0).toBytesLE();return Uint8Array.from(x)}default:throw new Xt(Vt.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}}class Ny extends ZE{constructor(y){super(y),a(this,"prev"),a(this,"next"),this.value=y}static createAfter(y,x){const j=new Ny(x),K=y.next;return y.next=j,j.prev=y,j.next=K,K&&(K.prev=j),j}remove(y){return this.value.remove(y)}getCreatedAt(){return this.value.getCreatedAt()}getPositionedAt(){return this.value.getPositionedAt()}release(){this.prev&&(this.prev.next=this.next),this.next&&(this.next.prev=this.prev),this.prev=void 0,this.next=void 0}getLength(){return this.value.isRemoved()?0:1}getPrev(){return this.prev}getNext(){return this.next}getValue(){return this.value}isRemoved(){return this.value.isRemoved()}}class ds{constructor(){a(this,"dummyHead"),a(this,"last"),a(this,"nodeMapByIndex"),a(this,"nodeMapByCreatedAt");const y=vo.of(0,qs);y.setRemovedAt(qs),this.dummyHead=new Ny(y),this.last=this.dummyHead,this.nodeMapByIndex=new H1,this.nodeMapByCreatedAt=new Map,this.nodeMapByIndex.insert(this.dummyHead),this.nodeMapByCreatedAt.set(this.dummyHead.getCreatedAt().toIDString(),this.dummyHead)}static create(){return new ds}get length(){return this.nodeMapByIndex.length}findNextBeforeExecutedAt(y,x){let j=this.nodeMapByCreatedAt.get(y.toIDString());if(!j)throw new Xt(Vt.ErrInvalidArgument,`cant find the given node: ${y.toIDString()}`);for(;j.getNext()&&j.getNext().getPositionedAt().after(x);)j=j.getNext();return j}release(y){this.last===y&&(this.last=y.getPrev()),y.release(),this.nodeMapByIndex.delete(y),this.nodeMapByCreatedAt.delete(y.getValue().getCreatedAt().toIDString())}insertAfter(y,x,j=x.getCreatedAt()){const K=this.findNextBeforeExecutedAt(y,j),ke=Ny.createAfter(K,x);K===this.last&&(this.last=ke),this.nodeMapByIndex.insertAfter(K,ke),this.nodeMapByCreatedAt.set(ke.getCreatedAt().toIDString(),ke)}moveAfter(y,x,j){const K=this.nodeMapByCreatedAt.get(y.toIDString());if(!K)throw new Xt(Vt.ErrInvalidArgument,`cant find the given node: ${y.toIDString()}`);const ke=this.nodeMapByCreatedAt.get(x.toIDString());if(!ke)throw new Xt(Vt.ErrInvalidArgument,`cant find the given node: ${x.toIDString()}`);K!==ke&&(!ke.getValue().getMovedAt()||j.after(ke.getValue().getMovedAt()))&&(this.release(ke),this.insertAfter(K.getCreatedAt(),ke.getValue(),j),ke.getValue().setMovedAt(j))}insert(y){this.insertAfter(this.last.getCreatedAt(),y)}getByID(y){return this.nodeMapByCreatedAt.get(y.toIDString())}subPathOf(y){const x=this.nodeMapByCreatedAt.get(y.toIDString());if(x)return String(this.nodeMapByIndex.indexOf(x))}purge(y){const x=this.nodeMapByCreatedAt.get(y.getCreatedAt().toIDString());if(!x)throw new Xt(Vt.ErrInvalidArgument,`fail to find the given createdAt: ${y.getCreatedAt().toIDString()}`);this.release(x)}getByIndex(y){if(y>=this.length)return;const[x,j]=this.nodeMapByIndex.find(y);let K=x;if(y===0&&x===this.dummyHead||j>0)do K&&(K=K.getNext());while(K&&K.isRemoved());return K}getPrevCreatedAt(y){let x=this.nodeMapByCreatedAt.get(y.toIDString());do x=x.getPrev();while(this.dummyHead!==x&&x.isRemoved());return x.getValue().getCreatedAt()}delete(y,x){const j=this.nodeMapByCreatedAt.get(y.toIDString()),K=j.isRemoved();return j.remove(x)&&!K&&this.nodeMapByIndex.splayNode(j),j.getValue()}deleteByIndex(y,x){const j=this.getByIndex(y);if(j)return j.remove(x)&&this.nodeMapByIndex.splayNode(j),j.getValue()}getHead(){return this.dummyHead.getValue()}getLast(){return this.last.getValue()}getLastCreatedAt(){return this.last.getCreatedAt()}toTestString(){const y=[];for(const x of this){const j=`${x.getCreatedAt().toIDString()}:${x.getValue().toJSON()}`;x.isRemoved()?y.push(`{${j}}`):y.push(`[${j}]`)}return y.join("")}*[Symbol.iterator](){let y=this.dummyHead.getNext();for(;y;)yield y,y=y.getNext()}}class zl extends Kh{constructor(y,x){super(y),a(this,"elements"),this.elements=x}static create(y,x){if(!x)return new zl(y,ds.create());const j=ds.create();for(const K of x)j.insertAfter(j.getLastCreatedAt(),K.deepcopy());return new zl(y,j)}subPathOf(y){return this.elements.subPathOf(y)}purge(y){this.elements.purge(y)}insertAfter(y,x){this.elements.insertAfter(y,x)}moveAfter(y,x,j){this.elements.moveAfter(y,x,j)}get(y){const x=this.elements.getByIndex(y);return x?.getValue()}getByID(y){const x=this.elements.getByID(y);return x?.getValue()}getHead(){return this.elements.getHead()}getLast(){return this.elements.getLast()}getPrevCreatedAt(y){return this.elements.getPrevCreatedAt(y)}delete(y,x){return this.elements.delete(y,x)}deleteByIndex(y,x){return this.elements.deleteByIndex(y,x)}getLastCreatedAt(){return this.elements.getLastCreatedAt()}get length(){return this.elements.length}*[Symbol.iterator](){for(const y of this.elements)y.isRemoved()||(yield y.getValue())}toTestString(){return this.elements.toTestString()}getDescendants(y){for(const x of this.elements){const j=x.getValue();if(y(j,this))return;j instanceof Kh&&j.getDescendants(y)}}toJSON(){const y=[];for(const x of this)y.push(x.toJSON());return`[${y.join(",")}]`}toJS(){return JSON.parse(this.toJSON())}toJSForTest(){const y={};for(let x=0;x({...an,value:an.value?{attributes:j1(an.value.getAttributes()),content:an.value.getContent()}:{attributes:void 0,content:""},type:"content"}));return[ct,Cn,It,[it,it]]}setStyle(y,x,j,K,ke){const[,Fe]=this.rgaTreeSplit.findNodeWithSplit(y[1],j),[,Ve]=this.rgaTreeSplit.findNodeWithSplit(y[0],j),it=[],ct=this.rgaTreeSplit.findBetween(Ve,Fe),It=new Map,fn=[];for(const an of ct){const On=an.getCreatedAt().getActorID();let Or,Qr=0n;if(ke===void 0&&K===void 0?Qr=tp:ke.size()>0?Qr=ke.get(On)?ke.get(On):0n:Or=K.has(On)?K.get(On):qs,an.canStyle(j,Or,Qr)){const $i=It.get(On),zi=an.getCreatedAt();(!$i||zi.after($i))&&It.set(On,zi),fn.push(an)}}const Cn=[];for(const an of fn){if(an.isRemoved())continue;const[On,Or]=this.rgaTreeSplit.findIndexesFromRange(an.createPosRange());it.push({type:"style",actor:j.getActorID(),from:On,to:Or,value:{attributes:j1(x)}});for(const[Qr,$i]of Object.entries(x)){const[zi]=an.getValue().setAttr(Qr,$i,j);zi!==void 0&&Cn.push({parent:an.getValue(),child:zi})}}return[It,Cn,it]}indexRangeToPosRange(y,x){const j=this.rgaTreeSplit.indexToPos(y);return y===x?[j,j]:[j,this.rgaTreeSplit.indexToPos(x)]}get length(){return this.rgaTreeSplit.length}getTreeByIndex(){return this.rgaTreeSplit.getTreeByIndex()}getTreeByID(){return this.rgaTreeSplit.getTreeByID()}toJSON(){const y=[];for(const x of this.rgaTreeSplit)x.isRemoved()||y.push(x.getValue().toJSON());return`[${y.join(",")}]`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TEXT"}}toString(){return this.rgaTreeSplit.toString()}values(){const y=[];for(const x of this.rgaTreeSplit)if(!x.isRemoved()){const j=x.getValue();y.push({attributes:j1(j.getAttributes()),content:j.getContent()})}return y}getRGATreeSplit(){return this.rgaTreeSplit}toTestString(){return this.rgaTreeSplit.toTestString()}deepcopy(){const y=new tc(this.rgaTreeSplit.deepcopy(),this.getCreatedAt());return y.remove(this.getRemovedAt()),y}findIndexesFromRange(y){return this.rgaTreeSplit.findIndexesFromRange(y)}getGCPairs(){const y=[];for(const x of this.rgaTreeSplit){x.getRemovedAt()&&y.push({parent:this.rgaTreeSplit,child:x});for(const j of x.getValue().getGCPairs())y.push(j)}return y}}class Ld extends Zs{constructor(y,x,j,K,ke,Fe,Ve){super(y,Ve),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"content"),a(this,"attributes"),this.fromPos=x,this.toPos=j,this.maxCreatedAtMapByActor=K,this.content=ke,this.attributes=Fe}static create(y,x,j,K,ke,Fe,Ve){return new Ld(y,x,j,K,ke,Fe,Ve)}execute(y,x,j){const K=y.findByCreatedAt(this.getParentCreatedAt());if(!K)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(K instanceof tc))throw new Xt(Vt.ErrInvalidArgument,"fail to execute, only Text can execute edit");const ke=K,[,Fe,Ve]=ke.edit([this.fromPos,this.toPos],this.content,this.getExecutedAt(),Object.fromEntries(this.attributes),this.maxCreatedAtMapByActor,j);for(const it of Ve)y.registerGCPair(it);return{opInfos:Fe.map(({from:it,to:ct,value:It})=>({type:"edit",from:it,to:ct,value:It,path:y.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const y=this.getParentCreatedAt().toTestString(),x=this.fromPos.toTestString(),j=this.toPos.toTestString(),K=this.content;return`${y}.EDIT(${x},${j},${K})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContent(){return this.content}getAttributes(){return this.attributes||new Map}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class Om extends Zs{constructor(y,x,j,K,ke,Fe){super(y,Fe),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),this.fromPos=x,this.toPos=j,this.maxCreatedAtMapByActor=K,this.attributes=ke}static create(y,x,j,K,ke,Fe){return new Om(y,x,j,K,ke,Fe)}execute(y,x,j){const K=y.findByCreatedAt(this.getParentCreatedAt());if(!K)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(K instanceof tc))throw new Xt(Vt.ErrInvalidArgument,"fail to execute, only Text can execute edit");const ke=K,[,Fe,Ve]=ke.setStyle([this.fromPos,this.toPos],this.attributes?Object.fromEntries(this.attributes):{},this.getExecutedAt(),this.maxCreatedAtMapByActor,j);for(const it of Fe)y.registerGCPair(it);return{opInfos:Ve.map(({from:it,to:ct,value:It})=>({type:"style",from:it,to:ct,value:It,path:y.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const y=this.getParentCreatedAt().toTestString(),x=this.fromPos.toTestString(),j=this.toPos.toTestString(),K=this.attributes;return`${y}.STYL(${x},${j},${JSON.stringify(K)})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}const Tw=2,JT="root",nc="text";function $y($,y){let x=0;const j=$.children;for(let K=0;K0)throw new Xt(Vt.ErrRefused,"Text node cannot have children")}updateAncestorsSize(){let y=this.parent;const x=this.isRemoved?-1:1;for(;y&&(y.size+=this.paddedSize*x,!y.isRemoved);)y=y.parent}updateDescendantsSize(){let y=0;for(const x of this._children){const j=x.updateDescendantsSize();x.isRemoved||(y+=j)}return this.size+=y,this.paddedSize}get isText(){return this.type===nc}get paddedSize(){return this.size+(this.isText?0:Tw)}isAncestorOf(y){return ZT(this,y)}get nextSibling(){const y=this.parent.findOffset(this),x=this.parent.children[y+1];if(x)return x}get prevSibling(){const y=this.parent.findOffset(this),x=this.parent.children[y-1];if(x)return x}splitText(y,x){if(y===0||y===this.size)return;const j=this.value.slice(0,y),K=this.value.slice(y);if(!K.length)return;this.value=j;const ke=this.cloneText(y+x);return ke.value=K,this.parent.insertAfterInternal(ke,this),ke}get children(){return this._children.filter(y=>!y.isRemoved)}get allChildren(){return[...this._children]}hasTextChild(){return this.children.length>0&&this.children.every(y=>y.isText)}append(...y){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");this._children.push(...y);for(const x of y)x.parent=this,x.updateAncestorsSize()}prepend(...y){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");this._children.unshift(...y);for(const x of y)x.parent=this}insertBefore(y,x){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");const j=this._children.indexOf(x);if(j===-1)throw new Xt(Vt.ErrInvalidArgument,"child not found");this.insertAtInternal(y,j),y.updateAncestorsSize()}insertAfter(y,x){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");const j=this._children.indexOf(x);if(j===-1)throw new Xt(Vt.ErrInvalidArgument,"child not found");this.insertAtInternal(y,j+1),y.updateAncestorsSize()}insertAt(y,x){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");this.insertAtInternal(y,x),y.updateAncestorsSize()}removeChild(y){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");const x=this._children.indexOf(y);if(x===-1)throw new Xt(Vt.ErrInvalidArgument,"child not found");this._children.splice(x,1),y.parent=void 0}splitElement(y,x){const j=this.cloneElement(x);this.parent.insertAfterInternal(j,this),j.updateAncestorsSize();const K=this.children.slice(0,y),ke=this.children.slice(y);this._children=K,j._children=ke,this.size=this._children.reduce((Fe,Ve)=>Fe+Ve.paddedSize,0),j.size=j._children.reduce((Fe,Ve)=>Fe+Ve.paddedSize,0);for(const Fe of j._children)Fe.parent=j;return j}insertAfterInternal(y,x){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");const j=this._children.indexOf(x);if(j===-1)throw new Xt(Vt.ErrInvalidArgument,"child not found");this.insertAtInternal(y,j+1)}insertAtInternal(y,x){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");this._children.splice(x,0,y),y.parent=this}findOffset(y){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");if(y.isRemoved){const x=this._children.indexOf(y);return this.allChildren.splice(0,x).filter(K=>!K.isRemoved).length}return this.children.indexOf(y)}findBranchOffset(y){if(this.isText)throw new Xt(Vt.ErrRefused,"Text node cannot have children");let x=y;for(;x;){const j=this._children.indexOf(x);if(j!==-1)return j;x=x.parent}return-1}}function ZT($,y){if($===y)return!1;for(;y.parent;){if(y.parent===$)return!0;y=y.parent}return!1}var hs=($=>($.Start="Start",$.End="End",$.Text="Text",$))(hs||{});function n5($,y,x,j){if(y>x)throw new Xt(Vt.ErrInvalidArgument,`from is greater than to: ${y} > ${x}`);if(y>$.size)throw new Xt(Vt.ErrInvalidArgument,`from is out of range: ${y} > ${$.size}`);if(x>$.size)throw new Xt(Vt.ErrInvalidArgument,`to is out of range: ${x} > ${$.size}`);if(y===x)return;let K=0;for(const ke of $.children){if(y-ke.paddedSizeke.size;(ke.isText||it)&&j([ke,ke.isText?"Text":"Start"],ct),n5(ke,Math.max(0,Fe),Math.min(Ve,ke.size),j),ct&&j([ke,"End"],ct)}K+=ke.paddedSize}}function Bm($,y,x=0){for(const j of $.children)Bm(j,y,x+1);y($,x)}function ip($,y,x=0){for(const j of $._children)ip(j,y,x+1);y($,x)}function W1($,y,x=!0){if(y>$.size)throw new Xt(Vt.ErrInvalidArgument,`index is out of range: ${y} > ${$.size}`);if($.isText)return{node:$,offset:y};let j=0,K=0;for(const ke of $.children){if(x&&ke.isText&&ke.size>=y-K)return W1(ke,y-K,x);if(y===K)return{node:$,offset:j};if(!x&&ke.paddedSize===y-K)return{node:$,offset:j+1};if(ke.paddedSize>y-K)return W1(ke,y-K-1,x);K+=ke.paddedSize,j+=1}return{node:$,offset:j}}function Pm($){return $.isText||$.children.length===0?$:Pm($.children[0])}function QT($,y){if($.size$===y?0:$0)if(x.right)x.right.parent=x,x=x.right;else return x;else if(j<0)if(x.left)x.left.parent=x,x=x.left;else{let K=x.parent,ke=x;for(;K&&ke===K.left;)ke=K,K=K.parent;return K}else return x}}lastEntry(){if(!this.root)return this.root;let y=this.root;for(;y.right;)y=y.right;return y}size(){return this.counter}isEmpty(){return this.counter===0}getInternal(y,x){for(;x;){const j=this.comparator(y,x.key);if(j===0)return x;j<0?x=x.left:j>0&&(x=x.right)}}putInternal(y,x,j){if(!j)return this.counter+=1,new ap(y,x,!0);const K=this.comparator(y,j.key);return K<0?j.left=this.putInternal(y,x,j.left):K>0?j.right=this.putInternal(y,x,j.right):j.value=x,this.isRed(j.right)&&!this.isRed(j.left)&&(j=this.rotateLeft(j)),this.isRed(j.left)&&this.isRed(j.left.left)&&(j=this.rotateRight(j)),this.isRed(j.left)&&this.isRed(j.right)&&this.flipColors(j),j}removeInternal(y,x){if(this.comparator(x,y.key)<0)!this.isRed(y.left)&&!this.isRed(y.left.left)&&(y=this.moveRedLeft(y)),y.left=this.removeInternal(y.left,x);else{if(this.isRed(y.left)&&(y=this.rotateRight(y)),this.comparator(x,y.key)===0&&!y.right){this.counter-=1;return}if(!this.isRed(y.right)&&!this.isRed(y.right.left)&&(y=this.moveRedRight(y)),this.comparator(x,y.key)===0){this.counter-=1;const j=this.min(y.right);y.value=j.value,y.key=j.key,y.right=this.removeMin(y.right)}else y.right=this.removeInternal(y.right,x)}return this.fixUp(y)}min(y){return y.left?this.min(y.left):y}removeMin(y){if(y.left)return!this.isRed(y.left)&&!this.isRed(y.left.left)&&(y=this.moveRedLeft(y)),y.left=this.removeMin(y.left),this.fixUp(y)}fixUp(y){return this.isRed(y.right)&&(y=this.rotateLeft(y)),this.isRed(y.left)&&this.isRed(y.left.left)&&(y=this.rotateRight(y)),this.isRed(y.left)&&this.isRed(y.right)&&this.flipColors(y),y}moveRedLeft(y){return this.flipColors(y),this.isRed(y.right.left)&&(y.right=this.rotateRight(y.right),y=this.rotateLeft(y),this.flipColors(y)),y}moveRedRight(y){return this.flipColors(y),this.isRed(y.left.left)&&(y=this.rotateRight(y),this.flipColors(y)),y}isRed(y){return y&&y.isRed}rotateLeft(y){const x=y.right;return y.right=x.left,x.left=y,x.isRed=x.left.isRed,x.left.isRed=!0,x}rotateRight(y){const x=y.left;return y.left=x.right,x.right=y,x.isRed=x.right.isRed,x.right.isRed=!0,x}flipColors(y){y.isRed=!y.isRed,y.left.isRed=!y.left.isRed,y.right.isRed=!y.right.isRed}}class $f{constructor(y,x){a(this,"parentID"),a(this,"leftSiblingID"),this.parentID=y,this.leftSiblingID=x}static of(y,x){return new $f(y,x)}static fromTreePos(y){const{offset:x}=y;let{node:j}=y,K;return j.isText?(j.parent.children[0]===j&&x===0?K=j.parent:K=j,j=j.parent):x===0?K=j:K=j.children[x-1],$f.of(j.id,el.of(K.getCreatedAt(),K.getOffset()+x))}getParentID(){return this.parentID}static fromStruct(y){return $f.of(el.of(wl.fromStruct(y.parentID.createdAt),y.parentID.offset),el.of(wl.fromStruct(y.leftSiblingID.createdAt),y.leftSiblingID.offset))}toStruct(){return{parentID:{createdAt:this.getParentID().getCreatedAt().toStruct(),offset:this.getParentID().getOffset()},leftSiblingID:{createdAt:this.getLeftSiblingID().getCreatedAt().toStruct(),offset:this.getLeftSiblingID().getOffset()}}}toTreeNodePair(y){const x=this.getParentID(),j=this.getLeftSiblingID(),K=y.findFloorNode(x);let ke=y.findFloorNode(j);if(!K||!ke)throw new Xt(Vt.ErrRefused,`cannot find node of CRDTTreePos(${x.toTestString()}, ${j.toTestString()})`);return!j.equals(x)&&j.getOffset()>0&&j.getOffset()===ke.id.getOffset()&&ke.insPrevID&&(ke=y.findFloorNode(ke.insPrevID)),[K,ke]}getLeftSiblingID(){return this.leftSiblingID}equals(y){return this.getParentID().getCreatedAt().equals(y.getParentID().getCreatedAt())&&this.getParentID().getOffset()===y.getParentID().getOffset()&&this.getLeftSiblingID().getCreatedAt().equals(y.getLeftSiblingID().getCreatedAt())&&this.getLeftSiblingID().getOffset()===y.getLeftSiblingID().getOffset()}}class el{constructor(y,x){a(this,"createdAt"),a(this,"offset"),this.createdAt=y,this.offset=x}static of(y,x){return new el(y,x)}static fromStruct(y){return el.of(wl.fromStruct(y.createdAt),y.offset)}static createComparator(){return(y,x)=>{const j=y.getCreatedAt().compare(x.getCreatedAt());return j!==0?j:y.getOffset()>x.getOffset()?1:y.getOffset(){const K=j.deepcopy();return K.parent=x,K}),x.insPrevID=this.insPrevID,x.insNextID=this.insNextID,x}get value(){if(!this.isText)throw new Xt(Vt.ErrInvalidType,`cannot get value of element node: ${this.type}`);return this._value}set value(y){if(!this.isText)throw new Xt(Vt.ErrInvalidType,`cannot set value of element node: ${this.type}`);this._value=y,this.size=y.length}get isRemoved(){return!!this.removedAt}remove(y){const x=!this.removedAt;(!this.removedAt||this.removedAt.compare(y)>0)&&(this.removedAt=y),x&&this.updateAncestorsSize()}cloneText(y){return new rc(el.of(this.id.getCreatedAt(),y),this.type,void 0,void 0,this.removedAt)}cloneElement(y){return new rc(el.of(y(),0),this.type,void 0,void 0,this.removedAt)}split(y,x,j){const K=this.isText?this.splitText(x,this.id.getOffset()):this.splitElement(x,j);if(K){if(K.insPrevID=this.id,this.insNextID){const ke=y.findFloorNode(this.insNextID);ke.insPrevID=K.id,K.insNextID=this.insNextID}this.insNextID=K.id,y.registerNode(K)}return K}getCreatedAt(){return this.id.getCreatedAt()}getOffset(){return this.id.getOffset()}canDelete(y,x,j){return(x?!this.getCreatedAt().after(x):this.getCreatedAt().getLamport()<=j)&&(!this.removedAt||y.after(this.removedAt))}canStyle(y,x,j){return this.isText?!1:(x?!this.getCreatedAt().after(x):this.getCreatedAt().getLamport()<=j)&&(!this.removedAt||y.after(this.removedAt))}setAttrs(y,x){this.attrs||(this.attrs=new Od);const j=[];for(const[K,ke]of Object.entries(y))j.push(this.attrs.set(K,ke,x));return j}purge(y){this.attrs&&this.attrs.purge(y)}getGCPairs(){const y=[];if(!this.attrs)return y;for(const x of this.attrs)x.getRemovedAt()&&y.push({parent:this,child:x});return y}}function r5($){var y;if($.isText){const j=$;return{type:j.type,value:j.value}}const x={type:$.type,children:$.children.map(r5)};return $.attrs&&(x.attributes=j1((y=$.attrs)==null?void 0:y.toObject())),x}function i5($){if($.isText)return $.value;let y="";return $.attrs&&$.attrs.size()&&(y=" "+Array.from($.attrs).filter(x=>!x.isRemoved()).sort((x,j)=>x.getKey().localeCompare(j.getKey())).map(x=>{const j=JSON.parse(x.getValue());return typeof j=="string"?`${x.getKey()}="${j}"`:`${x.getKey()}="${Nf(x.getValue())}"`}).join(" ")),`<${$.type}${y}>${$.children.map(x=>i5(x)).join("")}`}function Ul($){if($.isText){const y=$;return{type:y.type,value:y.value,size:y.size,isRemoved:y.isRemoved}}return{type:$.type,children:$.children.map(Ul),size:$.size,isRemoved:$.isRemoved}}class ic extends By{constructor(y,x){super(x),a(this,"indexTree"),a(this,"nodeMapByID"),this.indexTree=new fH(y),this.nodeMapByID=new Nm(el.createComparator()),this.indexTree.traverseAll(j=>{this.nodeMapByID.put(j.id,j)})}static create(y,x){return new ic(y,x)}findFloorNode(y){const x=this.nodeMapByID.floorEntry(y);if(!(!x||!x.key.getCreatedAt().equals(y.getCreatedAt())))return x.value}registerNode(y){this.nodeMapByID.put(y.id,y)}findNodesAndSplitText(y,x){const[j,K]=y.toTreeNodePair(this);let ke=K;const Fe=j===ke,Ve=ke.parent&&!Fe?ke.parent:j;if(ke.isText&&ke.split(this,y.getLeftSiblingID().getOffset()-ke.id.getOffset()),x){const it=Ve.allChildren,ct=Fe?0:it.indexOf(ke)+1;for(let It=ct;It{const Or=On.getCreatedAt().getActorID();let Qr,$i=0n;if(ke===void 0&&K===void 0?$i=tp:ke.size()>0?$i=ke.get(Or)?ke.get(Or):0n:Qr=K.has(Or)?K.get(Or):qs,On.canStyle(j,Qr,$i)&&x){const zi=Cn.get(Or),ou=On.getCreatedAt();(!zi||ou.after(zi))&&Cn.set(Or,ou);const Ki=On.setAttrs(x,j),io=Ki.reduce(($d,[,up])=>(up&&($d[up.getKey()]=fn[up.getKey()]),$d),{}),Ro=On.parent,rl=On.prevSibling||On.parent;Object.keys(io).length>0&&It.push({type:"style",from:this.toIndex(Ro,rl),to:this.toIndex(On,On),fromPath:this.toPath(Ro,rl),toPath:this.toPath(On,On),actor:j.getActorID(),value:io});for(const[$d]of Ki)$d&&an.push({parent:On,child:$d})}}),[Cn,an,It]}removeStyle(y,x,j,K,ke){const[Fe,Ve]=this.findNodesAndSplitText(y[0],j),[it,ct]=this.findNodesAndSplitText(y[1],j),It=[],fn=new Map,Cn=[];return this.traverseInPosRange(Fe,Ve,it,ct,([an])=>{const On=an.getCreatedAt().getActorID();let Or,Qr=0n;if(ke===void 0&&K===void 0?Qr=tp:ke.size()>0?Qr=ke.get(On)?ke.get(On):0n:Or=K.has(On)?K.get(On):qs,an.canStyle(j,Or,Qr)&&x){const $i=fn.get(On),zi=an.getCreatedAt();(!$i||zi.after($i))&&fn.set(On,zi),an.attrs||(an.attrs=new Od);for(const io of x){const Ro=an.attrs.remove(io,j);for(const rl of Ro)Cn.push({parent:an,child:rl})}const ou=an.parent,Ki=an.prevSibling||an.parent;It.push({actor:j.getActorID(),type:"removeStyle",from:this.toIndex(ou,Ki),to:this.toIndex(an,an),fromPath:this.toPath(ou,Ki),toPath:this.toPath(an,an),value:x})}}),[fn,Cn,It]}edit(y,x,j,K,ke,Fe,Ve){const[it,ct]=this.findNodesAndSplitText(y[0],K),[It,fn]=this.findNodesAndSplitText(y[1],K),Cn=this.toIndex(it,ct),an=this.toPath(it,ct),On=[],Or=[],Qr=[],$i=new Map;this.traverseInPosRange(it,ct,It,fn,([Ki,io],Ro)=>{if(io===hs.Start&&!Ro)for(const $w of Ki.children)Qr.push($w);const rl=Ki.getCreatedAt().getActorID();let $d,up=0n;if(Ve===void 0&&Fe===void 0?up=tp:Ve.size()>0?up=Ve.get(rl)?Ve.get(rl):0n:$d=Fe.has(rl)?Fe.get(rl):qs,Ki.canDelete(K,$d,up)||On.includes(Ki.parent)){const $w=$i.get(rl),yD=Ki.getCreatedAt();(!$w||yD.after($w))&&$i.set(rl,yD),(io===hs.Text||io===hs.Start)&&On.push(Ki),Or.push([Ki,io])}});const zi=this.makeDeletionChanges(Or,K),ou=[];for(const Ki of On)Ki.remove(K),Ki.isRemoved&&ou.push({parent:this,child:Ki});for(const Ki of Qr)Ki.removedAt||it.append(Ki);if(j>0){let Ki=0,io=it,Ro=ct;for(;Ki{it.isRemoved&&(rl.remove(K),ou.push({parent:this,child:rl})),this.nodeMapByID.put(rl.id,rl)}),Ro.isRemoved||Ki.push(Ro);if(Ki.length){const Ro=Ki.map(rl=>r5(rl));zi.length&&zi[zi.length-1].from===Cn?zi[zi.length-1].value=Ro:zi.push({type:"content",from:Cn,to:Cn,fromPath:an,toPath:an,actor:K.getActorID(),value:Ro})}}return[zi,ou,$i]}editT(y,x,j,K,ke){const Fe=this.findPos(y[0]),Ve=this.findPos(y[1]);this.edit([Fe,Ve],x,j,K,ke)}move(y,x,j){throw new Xt(Vt.ErrUnimplemented,`not implemented: ${y}, ${x}, ${j}`)}purge(y){var x;(x=y.parent)==null||x.removeChild(y),this.nodeMapByID.remove(y.id);const j=y.insPrevID,K=y.insNextID;if(j){const ke=this.findFloorNode(j);ke.insNextID=K}if(K){const ke=this.findFloorNode(K);ke.insPrevID=j}y.insPrevID=void 0,y.insNextID=void 0}getGCPairs(){const y=[];return this.indexTree.traverse(x=>{x.getRemovedAt()&&y.push({parent:this,child:x});for(const j of x.getGCPairs())y.push(j)}),y}findPos(y,x=!0){const j=this.indexTree.findTreePos(y,x);return $f.fromTreePos(j)}pathToPosRange(y){const x=this.pathToIndex(y);return[this.findPos(x),this.findPos(x+1)]}pathToPos(y){const x=this.indexTree.pathToIndex(y);return this.findPos(x)}getRoot(){return this.indexTree.getRoot()}getSize(){return this.indexTree.size}getNodeSize(){return this.nodeMapByID.size()}getIndexTree(){return this.indexTree}toXML(){return i5(this.indexTree.getRoot())}toJSON(){return JSON.stringify(this.getRootTreeNode())}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TREE"}}toJSInfoForTest(){const y=this.indexTree.getRoot(),x=(j,K=void 0,ke=void 0,Fe=0)=>{var Ve,it,ct,It;let fn,Cn,an;const On=j.isText?{node:j,offset:0}:K&&ke?this.toTreePos(K,ke):null;On&&(fn=this.indexTree.indexOf(On),Cn=this.indexTree.treePosToPath(On),an=$f.fromTreePos(On).toStruct());const Or={type:j.type,parent:K?.id.toTestString(),size:j.size,id:j.id.toTestString(),removedAt:(Ve=j.removedAt)==null?void 0:Ve.toTestString(),insPrev:(it=j.insPrevID)==null?void 0:it.toTestString(),insNext:(ct=j.insNextID)==null?void 0:ct.toTestString(),value:j.isText?j.value:void 0,isRemoved:j.isRemoved,children:[],depth:Fe,attributes:j.attrs?j1((It=j.attrs)==null?void 0:It.toObject()):void 0,index:fn,path:Cn,pos:an};for(let Qr=0;Qr0&&Qr===j[j.length-1].to?(j[j.length-1].to=$i,j[j.length-1].toPath=this.toPath(Or,Cn)):j.push({type:"content",from:Qr,to:$i,fromPath:this.toPath(On,It),toPath:this.toPath(Or,Cn),actor:x.getActorID()}))}return j.reverse()}findRightToken([y,x]){if(x===hs.Start){const Ve=y.allChildren;return Ve.length>0?[Ve[0],Ve[0].isText?hs.Text:hs.Start]:[y,hs.End]}const j=y.parent,K=j.allChildren,ke=K.indexOf(y);if(j&&ke===K.length-1)return[j,hs.End];const Fe=K[ke+1];return[Fe,Fe.isText?hs.Text:hs.Start]}findLeftToken([y,x]){if(x===hs.End){const Ve=y.allChildren;if(Ve.length>0){const it=Ve[Ve.length-1];return[it,it.isText?hs.Text:hs.End]}return[y,hs.Start]}const j=y.parent,K=j.allChildren,ke=K.indexOf(y);if(j&&ke===0)return[j,hs.Start];const Fe=K[ke-1];return[Fe,Fe.isText?hs.Text:hs.End]}}class zy extends Zs{constructor(y,x,j,K,ke,Fe,Ve){super(y,Ve),a(this,"fromPos"),a(this,"toPos"),a(this,"contents"),a(this,"splitLevel"),a(this,"maxCreatedAtMapByActor"),this.fromPos=x,this.toPos=j,this.contents=K,this.splitLevel=ke,this.maxCreatedAtMapByActor=Fe}static create(y,x,j,K,ke,Fe,Ve){return new zy(y,x,j,K,ke,Fe,Ve)}execute(y,x,j){var K;const ke=y.findByCreatedAt(this.getParentCreatedAt());if(!ke)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(ke instanceof ic))throw new Xt(Vt.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const Fe=this.getExecutedAt(),Ve=ke,[it,ct]=Ve.edit([this.fromPos,this.toPos],(K=this.contents)==null?void 0:K.map(It=>It.deepcopy()),this.splitLevel,Fe,(()=>{let It=Fe.getDelimiter();return this.contents!==void 0&&(It+=this.contents.length),()=>wl.of(Fe.getLamport(),++It,Fe.getActorID())})(),this.maxCreatedAtMapByActor,j);for(const It of ct)y.registerGCPair(It);return{opInfos:it.map(({from:It,to:fn,value:Cn,splitLevel:an,fromPath:On,toPath:Or})=>({type:"tree-edit",path:y.createPath(this.getParentCreatedAt()),from:It,to:fn,value:Cn,splitLevel:an,fromPath:On,toPath:Or}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const y=this.getParentCreatedAt().toTestString(),x=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.fromPos.getLeftSiblingID().getOffset()}`,j=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.toPos.getLeftSiblingID().getOffset()}`,K=this.contents||[];return`${y}.EDIT(${x},${j},${K.map(ke=>i5(ke)).join("")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContents(){return this.contents}getSplitLevel(){return this.splitLevel}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class G1{constructor(y){a(this,"vector"),this.vector=y||new Map}set(y,x){this.vector.set(y,x)}unset(y){this.vector.delete(y)}get(y){return this.vector.get(y)}maxLamport(){let y=BigInt(0);for(const[,x]of this)x>y&&(y=x);return y}max(y){const x=new Map;for(const[j,K]of y){const ke=this.vector.get(j),Fe=ke&&ke>K?ke:K;x.set(j,Fe)}for(const[j,K]of this){const ke=y.get(j),Fe=ke&&ke>K?ke:K;x.set(j,Fe)}return new G1(x)}afterOrEqual(y){const x=this.vector.get(y.getActorID());return x===void 0?!1:x>=y.getLamport()}deepcopy(){const y=new Map;for(const[x,j]of this.vector)y.set(x,j);return new G1(y)}filter(y){const x=new Map;for(const[j]of y){const K=this.vector.get(j);K!==void 0&&x.set(j,K)}return new G1(x)}size(){return this.vector.size}*[Symbol.iterator](){for(const[y,x]of this.vector)yield[y,x]}}const dH=new G1(new Map);class Bd{constructor(y,x,j,K,ke){a(this,"clientSeq"),a(this,"serverSeq"),a(this,"lamport"),a(this,"actor"),a(this,"versionVector"),this.clientSeq=y,this.serverSeq=ke,this.lamport=x,this.versionVector=K,this.actor=j}static of(y,x,j,K,ke){return new Bd(y,x,j,K,ke)}next(){const y=this.versionVector.deepcopy();return y.set(this.actor,this.lamport+1n),new Bd(this.clientSeq+1,this.lamport+1n,this.actor,y)}syncClocks(y){const x=y.lamport>this.lamport?y.lamport+1n:this.lamport+1n;let j=y.versionVector;j.size()===0&&(j=j.deepcopy(),j.set(y.actor,y.lamport));const K=this.versionVector.max(j),ke=new Bd(this.clientSeq,x,this.actor,K);return ke.versionVector.set(this.actor,x),ke}setClocks(y,x){const j=y>this.lamport?y+1n:this.lamport+1n;x.unset(Ly);const K=this.versionVector.max(x);return K.set(this.actor,j),Bd.of(this.clientSeq,j,this.actor,K)}createTimeTicket(y){return wl.of(this.lamport,y,this.actor)}setActor(y){return new Bd(this.clientSeq,this.lamport,y,this.versionVector,this.serverSeq)}setVersionVector(y){return new Bd(this.clientSeq,this.lamport,this.actor,y,this.serverSeq)}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq?this.serverSeq.toString():""}getLamport(){return this.lamport}getLamportAsString(){return this.lamport.toString()}getActorID(){return this.actor}getVersionVector(){return this.versionVector}toTestString(){return`${this.lamport.toString()}:${this.actor.slice(-2)}:${this.clientSeq}`}}const tD=new Bd(0,0n,Ly,dH);class op{constructor({id:y,operations:x,presenceChange:j,message:K}){a(this,"id"),a(this,"operations"),a(this,"presenceChange"),a(this,"message"),this.id=y,this.operations=x||[],this.presenceChange=j,this.message=K}static create({id:y,operations:x,presenceChange:j,message:K}){return new op({id:y,operations:x,presenceChange:j,message:K})}getID(){return this.id}getMessage(){return this.message}hasOperations(){return this.operations.length>0}getOperations(){return this.operations}setActor(y){for(const x of this.operations)x.setActor(y);this.id=this.id.setActor(y)}hasPresenceChange(){return this.presenceChange!==void 0}getPresenceChange(){return this.presenceChange}execute(y,x,j){const K=[],ke=[];for(const Fe of this.operations){const Ve=Fe.execute(y,j,this.id.getVersionVector());if(!Ve)continue;const{opInfos:it,reverseOp:ct}=Ve;K.push(...it),ct&&ke.unshift(ct)}return this.presenceChange&&(this.presenceChange.type===Vh.Put?x.set(this.id.getActorID(),Ff(this.presenceChange.presence)):x.delete(this.id.getActorID())),{opInfos:K,reverseOps:ke}}toTestString(){return`${this.operations.map(y=>y.toTestString()).join(",")}`}toStruct(){return{changeID:W.bytesToHex(W.toChangeID(this.getID()).toBinary()),message:this.getMessage(),operations:this.getOperations().map(y=>W.bytesToHex(W.toOperation(y).toBinary())),presenceChange:this.getPresenceChange()}}static fromStruct(y){const{changeID:x,operations:j,presenceChange:K,message:ke}=y;return op.create({id:W.bytesToChangeID(W.hexToBytes(x)),operations:j?.map(Fe=>W.bytesToOperation(W.hexToBytes(Fe))),presenceChange:K,message:ke})}}class Dw{constructor(y,x,j,K,ke,Fe,Ve){a(this,"documentKey"),a(this,"checkpoint"),a(this,"isRemoved"),a(this,"changes"),a(this,"snapshot"),a(this,"minSyncedTicket"),a(this,"versionVector"),this.documentKey=y,this.checkpoint=x,this.isRemoved=j,this.changes=K,this.snapshot=Fe,this.minSyncedTicket=Ve,this.versionVector=ke}static create(y,x,j,K,ke,Fe,Ve){return new Dw(y,x,j,K,ke,Fe,Ve)}getDocumentKey(){return this.documentKey}getCheckpoint(){return this.checkpoint}getIsRemoved(){return this.isRemoved}getChanges(){return this.changes}hasChanges(){return this.changes.length>0}getChangeSize(){return this.changes.length}hasSnapshot(){return!!this.snapshot&&!!this.snapshot.length}getSnapshot(){return this.snapshot}getMinSyncedTicket(){return this.minSyncedTicket}getVersionVector(){return this.versionVector}}class $m{constructor(y,x){a(this,"serverSeq"),a(this,"clientSeq"),this.serverSeq=y,this.clientSeq=x}static of(y,x){return new $m(y,x)}increaseClientSeq(y){return y===0?this:new $m(this.serverSeq,this.clientSeq+y)}forward(y){if(this.equals(y))return this;const x=this.serverSeq>y.serverSeq?this.serverSeq:y.serverSeq,j=Math.max(this.clientSeq,y.clientSeq);return $m.of(x,j)}getServerSeqAsString(){return this.serverSeq.toString()}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq}equals(y){return this.clientSeq===y.clientSeq&&this.serverSeq==y.serverSeq}toTestString(){return`serverSeq=${this.serverSeq}, clientSeq=${this.clientSeq}`}}const hH=new $m(0n,0);class kl{constructor(y,x){a(this,"createdAt"),a(this,"offset"),this.createdAt=y,this.offset=x}static of(y,x){return new kl(y,x)}static fromStruct(y){return kl.of(wl.fromStruct(y.createdAt),y.offset)}getCreatedAt(){return this.createdAt}getOffset(){return this.offset}equals(y){return this.createdAt.compare(y.createdAt)===0&&this.offset===y.offset}hasSameCreatedAt(y){return this.createdAt.compare(y.createdAt)===0}split(y){return new kl(this.createdAt,this.offset+y)}toStruct(){return{createdAt:this.createdAt.toStruct(),offset:this.offset}}toTestString(){return`${this.createdAt.toTestString()}:${this.offset}`}toIDString(){return`${this.createdAt.toIDString()}:${this.offset}`}}const Uy=kl.of(qs,0);class Cu{constructor(y,x){a(this,"id"),a(this,"relativeOffset"),this.id=y,this.relativeOffset=x}static of(y,x){return new Cu(y,x)}static fromStruct(y){const x=kl.fromStruct(y.id);return Cu.of(x,y.relativeOffset)}getID(){return this.id}getRelativeOffset(){return this.relativeOffset}getAbsoluteID(){return kl.of(this.id.getCreatedAt(),this.id.getOffset()+this.relativeOffset)}toTestString(){return`${this.id.toTestString()}:${this.relativeOffset}`}toStruct(){return{id:this.id.toStruct(),relativeOffset:this.relativeOffset}}equals(y){return this.id.equals(y.id)?this.relativeOffset===y.relativeOffset:!1}}class ef extends ZE{constructor(y,x,j){super(x),a(this,"id"),a(this,"removedAt"),a(this,"prev"),a(this,"next"),a(this,"insPrev"),a(this,"insNext"),this.id=y,this.removedAt=j}static create(y,x){return new ef(y,x)}static createComparator(){return(y,x)=>{const j=y.getCreatedAt().compare(x.getCreatedAt());return j!==0?j:y.getOffset()>x.getOffset()?1:y.getOffset()0&&x.getID().getOffset()==y.getOffset()){if(!x.hasInsPrev())return x;x=x.getInsPrev()}return x}findFloorNode(y){const x=this.treeByID.floorEntry(y);if(x&&!(!x.key.equals(y)&&!x.key.hasSameCreatedAt(y)))return x.value}findBetween(y,x){const j=[];let K=y;for(;K&&K!==x;)j.push(K),K=K.getNext();return j}splitNode(y,x){if(x>y.getContentLength())throw new Xt(Vt.ErrInvalidArgument,"offset should be less than or equal to length");if(x===0)return y;if(x===y.getContentLength())return y.getNext();const j=y.split(x);this.treeByIndex.updateWeight(j),this.insertAfter(y,j);const K=y.getInsNext();return K&&K.setInsPrev(j),j.setInsPrev(y),j}deleteNodes(y,x,j,K){if(!y.length)return[[],new Map,new Map];const[ke,Fe]=this.filterNodes(y,x,j,K),Ve=new Map,it=new Map,ct=this.makeChanges(Fe,x);for(const It of ke){const fn=It.getCreatedAt().getActorID();(!Ve.has(fn)||It.getID().getCreatedAt().after(Ve.get(fn)))&&Ve.set(fn,It.getID().getCreatedAt()),it.set(It.getID().toIDString(),It),It.remove(x)}return this.deleteIndexNodes(Fe),[ct,Ve,it]}filterNodes(y,x,j,K){const ke=[],Fe=[],[Ve,it]=this.findEdgesOfCandidates(y);Fe.push(Ve);for(const ct of y){const It=ct.getCreatedAt().getActorID();let fn,Cn=0n;K===void 0&&j===void 0?Cn=tp:K.size()>0?Cn=K.get(It)?K.get(It):0n:fn=j.has(It)?j.get(It):qs,ct.canDelete(x,fn,Cn)?ke.push(ct):Fe.push(ct)}return Fe.push(it),[ke,Fe]}findEdgesOfCandidates(y){return[y[0].getPrev(),y[y.length-1].getNext()]}makeChanges(y,x){const j=[];let K,ke;for(let Fe=0;Fe$<0?Math.ceil($):Math.floor($);var Pd=($=>($[$.IntegerCnt=0]="IntegerCnt",$[$.LongCnt=1]="LongCnt",$))(Pd||{});class tl extends By{constructor(y,x,j){switch(super(j),a(this,"valueType"),a(this,"value"),this.valueType=y,y){case 0:typeof x=="number"?x>Math.pow(2,31)-1||x<-Math.pow(2,31)?this.value=Vi.fromNumber(x).toInt():this.value=nD(x):this.value=x.toInt();break;case 1:typeof x=="number"?this.value=Vi.fromNumber(x):this.value=x;break;default:throw new Xt(Vt.ErrUnimplemented,`unimplemented type: ${y}`)}}static create(y,x,j){return new tl(y,x,j)}static valueFromBytes(y,x){switch(y){case 0:return x[0]|x[1]<<8|x[2]<<16|x[3]<<24;case 1:return Vi.fromBytesLE(Array.from(x));default:throw new Xt(Vt.ErrUnimplemented,`unimplemented type: ${y}`)}}toJSON(){return`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_COUNTER"}}deepcopy(){const y=tl.create(this.valueType,this.value,this.getCreatedAt());return y.setMovedAt(this.getMovedAt()),y}getType(){return this.valueType}static getCounterType(y){switch(typeof y){case"object":return y instanceof Vi?1:void 0;case"number":return y>Math.pow(2,31)-1||y<-Math.pow(2,31)?1:0;default:return}}static isSupport(y){return!!tl.getCounterType(y)}static isInteger(y){return y%1===0}isNumericType(){const y=this.valueType;return y===0||y===1}getValueType(){return this.valueType}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:{const y=this.value;return new Uint8Array([y&255,y>>8&255,y>>16&255,y>>24&255])}case 1:{const x=this.value.toBytesLE();return Uint8Array.from(x)}default:throw new Xt(Vt.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}increase(y){function x(j){if(!j.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof j.getValue()}`)}return x(this),x(y),this.valueType===1?this.value=this.value.add(y.getValue()):y.getType()===Ts.Long?this.value=this.value+y.getValue().toInt():this.value=Vi.fromNumber(this.value+nD(y.getValue())).toInt(),this}}class V1 extends Zs{constructor(y,x,j){super(y,j),a(this,"value"),this.value=x}static create(y,x,j){return new V1(y,x,j)}execute(y){const x=y.findByCreatedAt(this.getParentCreatedAt());if(!x)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(x instanceof tl))throw new Xt(Vt.ErrInvalidArgument,"fail to execute, only Counter can execute increase");const j=x,K=this.value.deepcopy();return j.increase(K),{opInfos:[{type:"increase",path:y.createPath(this.getParentCreatedAt()),value:K.getValue()}],reverseOp:this.toReverseOperation()}}toReverseOperation(){const y=this.value.deepcopy(),j=y.getType()===Ts.Long?y.getValue().multiply(-1):y.getValue()*-1;return V1.create(this.getParentCreatedAt(),vo.of(j,y.getCreatedAt()))}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){return`${this.getParentCreatedAt().toTestString()}.INCREASE.${this.value.toJSON()}`}getValue(){return this.value}}class Fd extends Zs{constructor(y,x,j,K,ke,Fe,Ve){super(y,Ve),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),a(this,"attributesToRemove"),this.fromPos=x,this.toPos=j,this.maxCreatedAtMapByActor=K,this.attributes=ke,this.attributesToRemove=Fe}static create(y,x,j,K,ke,Fe){return new Fd(y,x,j,K,ke,[],Fe)}static createTreeRemoveStyleOperation(y,x,j,K,ke,Fe){return new Fd(y,x,j,K,new Map,ke,Fe)}execute(y,x,j){const K=y.findByCreatedAt(this.getParentCreatedAt());if(!K)throw new Xt(Vt.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(K instanceof ic))throw new Xt(Vt.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const ke=K;let Fe,Ve;if(this.attributes.size){const it={};[...this.attributes].forEach(([ct,It])=>it[ct]=It),[,Ve,Fe]=ke.style([this.fromPos,this.toPos],it,this.getExecutedAt(),this.maxCreatedAtMapByActor,j)}else{const it=this.attributesToRemove;[,Ve,Fe]=ke.removeStyle([this.fromPos,this.toPos],it,this.getExecutedAt(),this.maxCreatedAtMapByActor,j)}for(const it of Ve)y.registerGCPair(it);return{opInfos:Fe.map(({from:it,to:ct,value:It,fromPath:fn,toPath:Cn})=>({type:"tree-style",from:it,to:ct,value:this.attributes.size?{attributes:It}:{attributesToRemove:It},fromPath:fn,toPath:Cn,path:y.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const y=this.getParentCreatedAt().toTestString(),x=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.fromPos.getLeftSiblingID().getOffset()}`,j=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.toPos.getLeftSiblingID().getOffset()}`;return`${y}.STYLE(${x},${j},${Object.entries(this.attributes||{}).map(([K,ke])=>`${K}:"${ke}"`).join(" ")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getAttributesToRemove(){return this.attributesToRemove}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}function rD($){const y=new YE,x=y.data;for(const[j,K]of Object.entries($))x[j]=JSON.stringify(K);return y}function Iw($){if($.type===Vh.Put)return new Sy({type:Td.PUT,presence:rD($.presence)});if($.type===Vh.Clear)return new Sy({type:Td.CLEAR});throw new Xt(Vt.ErrUnimplemented,"unimplemented type")}function zm($){return new pw({serverSeq:$.getServerSeq(),clientSeq:$.getClientSeq()})}function Rw($){return new Ft({clientSeq:$.getClientSeq(),lamport:$.getLamport(),actorId:A($.getActorID()),versionVector:jy($.getVersionVector())})}function Ir($){if($)return new Ar({lamport:$.getLamport(),delimiter:$.getDelimiter(),actorId:A($.getActorID())})}function jy($){if(!$)return;const y=new un;for(const[x,j]of $)y.vector[x]=BigInt(j.toString());return y}function iD($){switch($){case Ts.Null:return Yn.NULL;case Ts.Boolean:return Yn.BOOLEAN;case Ts.Integer:return Yn.INTEGER;case Ts.Long:return Yn.LONG;case Ts.Double:return Yn.DOUBLE;case Ts.String:return Yn.STRING;case Ts.Bytes:return Yn.BYTES;case Ts.Date:return Yn.DATE;default:throw new Xt(Vt.ErrInvalidType,`unsupported type: ${$}`)}}function Um($){switch($){case Pd.IntegerCnt:return Yn.INTEGER_CNT;case Pd.LongCnt:return Yn.LONG_CNT;default:throw new Xt(Vt.ErrInvalidType,`unsupported type: ${$}`)}}function Mw($){if($ instanceof mo)return new Cd({type:Yn.JSON_OBJECT,createdAt:Ir($.getCreatedAt()),value:eb($)});if($ instanceof zl)return new Cd({type:Yn.JSON_ARRAY,createdAt:Ir($.getCreatedAt()),value:Go($)});if($ instanceof tc)return new Cd({type:Yn.TEXT,createdAt:Ir($.getCreatedAt())});if($ instanceof vo)return new Cd({type:iD($.getType()),createdAt:Ir($.getCreatedAt()),value:$.toBytes()});if($ instanceof tl)return new Cd({type:Um($.getType()),createdAt:Ir($.getCreatedAt()),value:$.toBytes()});if($ instanceof ic)return new Cd({type:Yn.TREE,createdAt:Ir($.getCreatedAt()),value:xH($)});throw new Xt(Vt.ErrUnimplemented,"unimplemented element")}function pH($){return new J0({createdAt:Ir($.getCreatedAt()),offset:$.getOffset()})}function Hy($){return new qh({createdAt:Ir($.getID().getCreatedAt()),offset:$.getID().getOffset(),relativeOffset:$.getRelativeOffset()})}function K1($){return new Hs({parentId:qy($.getParentID()),leftSiblingId:qy($.getLeftSiblingID())})}function qy($){return new Zc({createdAt:Ir($.getCreatedAt()),offset:$.getOffset()})}function aD($){const y=new pn;if($ instanceof rp){const x=$,j=new zn;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.key=x.getKey(),j.value=Mw(x.getValue()),j.executedAt=Ir(x.getExecutedAt()),y.body.case="set",y.body.value=j}else if($ instanceof Rm){const x=$,j=new Fr;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.prevCreatedAt=Ir(x.getPrevCreatedAt()),j.value=Mw(x.getValue()),j.executedAt=Ir(x.getExecutedAt()),y.body.case="add",y.body.value=j}else if($ instanceof ec){const x=$,j=new To;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.prevCreatedAt=Ir(x.getPrevCreatedAt()),j.createdAt=Ir(x.getCreatedAt()),j.executedAt=Ir(x.getExecutedAt()),y.body.case="move",y.body.value=j}else if($ instanceof Xh){const x=$,j=new wu;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.createdAt=Ir(x.getCreatedAt()),j.executedAt=Ir(x.getExecutedAt()),y.body.case="remove",y.body.value=j}else if($ instanceof Ld){const x=$,j=new rw;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.from=Hy(x.getFromPos()),j.to=Hy(x.getToPos());const K=j.createdAtMapByActor;for(const[Fe,Ve]of x.getMaxCreatedAtMapByActor())K[Fe]=Ir(Ve);j.content=x.getContent();const ke=j.attributes;for(const[Fe,Ve]of x.getAttributes())ke[Fe]=Ve;j.executedAt=Ir(x.getExecutedAt()),y.body.case="edit",y.body.value=j}else if($ instanceof Om){const x=$,j=new iw;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.from=Hy(x.getFromPos()),j.to=Hy(x.getToPos());const K=j.createdAtMapByActor;for(const[Fe,Ve]of x.getMaxCreatedAtMapByActor())K[Fe]=Ir(Ve);const ke=j.attributes;for(const[Fe,Ve]of x.getAttributes())ke[Fe]=Ve;j.executedAt=Ir(x.getExecutedAt()),y.body.case="style",y.body.value=j}else if($ instanceof V1){const x=$,j=new jE;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.value=Mw(x.getValue()),j.executedAt=Ir(x.getExecutedAt()),y.body.case="increase",y.body.value=j}else if($ instanceof zy){const x=$,j=new HE,K=j.createdAtMapByActor;for(const[ke,Fe]of x.getMaxCreatedAtMapByActor())K[ke]=Ir(Fe);j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.from=K1(x.getFromPos()),j.to=K1(x.getToPos()),j.contents=mH(x.getContents()),j.splitLevel=x.getSplitLevel(),j.executedAt=Ir(x.getExecutedAt()),y.body.case="treeEdit",y.body.value=j}else if($ instanceof Fd){const x=$,j=new P1;j.parentCreatedAt=Ir(x.getParentCreatedAt()),j.from=K1(x.getFromPos()),j.to=K1(x.getToPos());const K=j.createdAtMapByActor;for(const[Fe,Ve]of x.getMaxCreatedAtMapByActor())K[Fe]=Ir(Ve);const ke=x.getAttributesToRemove();if(ke.length>0)j.attributesToRemove=ke;else{const Fe=j.attributes;for(const[Ve,it]of x.getAttributes())Fe[Ve]=it}j.executedAt=Ir(x.getExecutedAt()),y.body.case="treeStyle",y.body.value=j}else throw new Xt(Vt.ErrUnimplemented,"unimplemented operation");return y}function Wy($){const y=[];for(const x of $)y.push(aD(x));return y}function oD($){const y=new ut({id:Rw($.getID()),message:$.getMessage()});return $.hasOperations()&&(y.operations=Wy($.getOperations())),$.hasPresenceChange()&&(y.presenceChange=Iw($.getPresenceChange())),y}function sD($){const y=[];for(const x of $)y.push(oD(x));return y}function gH($){const y=[];for(const x of $)y.push(new cw({key:x.getStrKey(),element:s5(x.getValue())}));return y}function a5($){const y=[];for(const x of $)y.push(new VE({element:s5(x.getValue())}));return y}function lD($){const y=[];for(const x of $){const j=new jT;j.id=pH(x.getID()),j.value=x.getValue().getContent(),j.removedAt=Ir(x.getRemovedAt());const K=j.attributes,ke=x.getValue().getAttrs();for(const Fe of ke){const Ve=new fw;Ve.value=Fe.getValue(),Ve.updatedAt=Ir(Fe.getUpdatedAt()),K[Fe.getKey()]=Ve}y.push(j)}return y}function mH($){const y=[];if(!$||!$.length)return y;for(const x of $)y.push(new KE({content:Ow(x)}));return y}function uD($){const y={};for(const x of $)y[x.getKey()]=new fw({value:x.getValue(),updatedAt:Ir(x.getUpdatedAt()),isRemoved:x.isRemoved()});return y}function Ow($){if(!$)return[];const y=[];return ip($,(x,j)=>{const K=new Ey({id:qy(x.id),type:x.type,removedAt:Ir(x.removedAt),depth:j});x.isText&&(K.value=x.value),x.insPrevID&&(K.insPrevId=qy(x.insPrevID)),x.insNextID&&(K.insNextId=qy(x.insNextID)),x.attrs&&(K.attributes=uD(x.attrs)),y.push(K)}),y}function vH($){const y=new Xc;return y.body.case="jsonObject",y.body.value=new qE({nodes:gH($.getRHT()),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function Lw($){const y=new Xc;return y.body.case="jsonArray",y.body.value=new WE({nodes:a5($.getElements()),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function Gy($){const y=new Xc;return y.body.case="primitive",y.body.value=new lw({type:iD($.getType()),value:$.toBytes(),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function Vy($){const y=new Xc;return y.body.case="text",y.body.value=new GE({nodes:lD($.getRGATreeSplit()),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function yH($){const y=new Xc;return y.body.case="counter",y.body.value=new Jc({type:Um($.getType()),value:$.toBytes(),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function o5($){const y=new Xc;return y.body.case="tree",y.body.value=new uw({nodes:Ow($.getRoot()),createdAt:Ir($.getCreatedAt()),movedAt:Ir($.getMovedAt()),removedAt:Ir($.getRemovedAt())}),y}function s5($){if($ instanceof mo)return vH($);if($ instanceof zl)return Lw($);if($ instanceof vo)return Gy($);if($ instanceof tc)return Vy($);if($ instanceof tl)return yH($);if($ instanceof ic)return o5($);throw new Xt(Vt.ErrUnimplemented,"unimplemented element")}function bH($){return new Je({documentKey:$.getDocumentKey(),checkpoint:zm($.getCheckpoint()),isRemoved:$.getIsRemoved(),changes:sD($.getChanges()),snapshot:$.getSnapshot(),versionVector:jy($.getVersionVector()),minSyncedTicket:Ir($.getMinSyncedTicket())})}function Ky($){if(!($ instanceof m))return{};const y=$.findDetails(Cw);for(const x of y)return x.metadata;return{}}function jm($){return Ky($).code??""}function l5($){return Bd.of($.clientSeq,BigInt($.lamport),Wm($.actorId),u5($.versionVector),BigInt($.serverSeq))}function u5($){if(!$)return;const y=new G1;return Object.entries($.vector).forEach(([x,j])=>{y.set(x,BigInt(j.toString()))}),y}function Nr($){if($)return wl.of(BigInt($.lamport),$.delimiter,Wm($.actorId))}function Bw($){const y={};return Object.entries($.data).forEach(([x,j])=>{y[x]=JSON.parse(j)}),y}function c5($){const y=$.type;if(y===Td.PUT){const x=Bw($.presence);return{type:Vh.Put,presence:x}}if(y===Td.CLEAR)return{type:Vh.Clear};throw new Xt(Vt.ErrInvalidType,`unsupported type: ${y}`)}function cD($){const y=new Map;return Object.entries($).forEach(([x,j])=>{y.set(x,Bw(j))}),y}function fD($){switch($){case Yn.NULL:return Ts.Null;case Yn.BOOLEAN:return Ts.Boolean;case Yn.INTEGER:return Ts.Integer;case Yn.LONG:return Ts.Long;case Yn.DOUBLE:return Ts.Double;case Yn.STRING:return Ts.String;case Yn.BYTES:return Ts.Bytes;case Yn.DATE:return Ts.Date}throw new Xt(Vt.ErrUnimplemented,`unimplemented value type: ${$}`)}function Yy($){switch($){case Yn.INTEGER_CNT:return Pd.IntegerCnt;case Yn.LONG_CNT:return Pd.LongCnt}throw new Xt(Vt.ErrUnimplemented,`unimplemented value type: ${$}`)}function sp($){switch($.type){case Yn.JSON_OBJECT:return $.value?mD($.value):mo.create(Nr($.createdAt));case Yn.JSON_ARRAY:return $.value?CH($.value):zl.create(Nr($.createdAt));case Yn.TEXT:return tc.create(Eu.create(),Nr($.createdAt));case Yn.TREE:return EH($.value);case Yn.NULL:case Yn.BOOLEAN:case Yn.INTEGER:case Yn.LONG:case Yn.DOUBLE:case Yn.STRING:case Yn.BYTES:case Yn.DATE:return vo.of(vo.valueFromBytes(fD($.type),$.value),Nr($.createdAt));case Yn.INTEGER_CNT:case Yn.LONG_CNT:return tl.create(Yy($.type),tl.valueFromBytes(Yy($.type),$.value),Nr($.createdAt))}}function Xy($){return Cu.of(kl.of(Nr($.createdAt),$.offset),$.relativeOffset)}function Jy($){return kl.of(Nr($.createdAt),$.offset)}function wH($){const y=Mm.create($.value);Object.entries($.attributes).forEach(([j,K])=>{y.setAttr(j,K.value,Nr(K.updatedAt))});const x=ef.create(Jy($.id),y);return x.remove(Nr($.removedAt)),x}function Hm($){return $f.of(Zy($.parentId),Zy($.leftSiblingId))}function Zy($){return el.of(Nr($.createdAt),$.offset)}function no($){if(!$.length)return;const y=[];return $.forEach(x=>{const j=f5(x.content);y.push(j)}),y}function f5($){if($.length===0)return;const y=[];for(const K of $)y.push(Qy(K));const x=y[y.length-1],j=new Map;j.set($[y.length-1].depth,y[y.length-1]);for(let K=y.length-2;K>=0;K--)j.get($[K].depth-1).prepend(y[K]),j.set($[K].depth,y[K]);return x.updateDescendantsSize(),ic.create(x,qs).getRoot()}function d5($){const y=Od.create();for(const[x,j]of Object.entries($))y.setInternal(x,j.value,Nr(j.updatedAt),j.isRemoved);return y}function Qy($){const y=Zy($.id),x=rc.create(y,$.type),j=Object.entries($.attributes);return x.isText?x.value=$.value:j.length&&(x.attrs=d5($.attributes)),$.insPrevId&&(x.insPrevID=Zy($.insPrevId)),$.insNextId&&(x.insNextID=Zy($.insNextId)),x.removedAt=Nr($.removedAt),x}function tf($){if($.body.case==="set"){const y=$.body.value;return rp.create(y.key,sp(y.value),Nr(y.parentCreatedAt),Nr(y.executedAt))}else if($.body.case==="add"){const y=$.body.value;return Rm.create(Nr(y.parentCreatedAt),Nr(y.prevCreatedAt),sp(y.value),Nr(y.executedAt))}else if($.body.case==="move"){const y=$.body.value;return ec.create(Nr(y.parentCreatedAt),Nr(y.prevCreatedAt),Nr(y.createdAt),Nr(y.executedAt))}else if($.body.case==="remove"){const y=$.body.value;return Xh.create(Nr(y.parentCreatedAt),Nr(y.createdAt),Nr(y.executedAt))}else if($.body.case==="edit"){const y=$.body.value,x=new Map;Object.entries(y.createdAtMapByActor).forEach(([K,ke])=>{x.set(K,Nr(ke))});const j=new Map;return Object.entries(y.attributes).forEach(([K,ke])=>{j.set(K,ke)}),Ld.create(Nr(y.parentCreatedAt),Xy(y.from),Xy(y.to),x,y.content,j,Nr(y.executedAt))}else if($.body.case==="style"){const y=$.body.value,x=new Map;Object.entries(y.createdAtMapByActor).forEach(([K,ke])=>{x.set(K,Nr(ke))});const j=new Map;return Object.entries(y.attributes).forEach(([K,ke])=>{j.set(K,ke)}),Om.create(Nr(y.parentCreatedAt),Xy(y.from),Xy(y.to),x,j,Nr(y.executedAt))}else{if($.body.case==="select")return;if($.body.case==="increase"){const y=$.body.value;return V1.create(Nr(y.parentCreatedAt),sp(y.value),Nr(y.executedAt))}else if($.body.case==="treeEdit"){const y=$.body.value,x=new Map;return Object.entries(y.createdAtMapByActor).forEach(([j,K])=>{x.set(j,Nr(K))}),zy.create(Nr(y.parentCreatedAt),Hm(y.from),Hm(y.to),no(y.contents),y.splitLevel,x,Nr(y.executedAt))}else if($.body.case==="treeStyle"){const y=$.body.value,x=new Map,j=y.attributesToRemove,K=new Map;return y?.createdAtMapByActor&&Object.entries(y.createdAtMapByActor).forEach(([ke,Fe])=>{K.set(ke,Nr(Fe))}),j?.length>0?Fd.createTreeRemoveStyleOperation(Nr(y.parentCreatedAt),Hm(y.from),Hm(y.to),K,j,Nr(y.executedAt)):(Object.entries(y.attributes).forEach(([ke,Fe])=>{x.set(ke,Fe)}),Fd.create(Nr(y.parentCreatedAt),Hm(y.from),Hm(y.to),K,x,Nr(y.executedAt)))}else throw new Xt(Vt.ErrUnimplemented,"unimplemented operation")}}function Pw($){const y=[];for(const x of $){const j=tf(x);j&&y.push(j)}return y}function Fw($){const y=[];for(const x of $)y.push(op.create({id:l5(x.id),operations:Pw(x.operations),presenceChange:x.presenceChange?c5(x.presenceChange):void 0,message:x.message}));return y}function dD($){return $m.of(BigInt($.serverSeq),$.clientSeq)}function hD($){return Dw.create($.documentKey,dD($.checkpoint),$.isRemoved,Fw($.changes),u5($.versionVector),$.snapshot,Nr($.minSyncedTicket))}function h5($){const y=new Ni;for(const j of $.nodes){const K=aa(j.element);y.set(j.key,K,K.getPositionedAt())}const x=new mo(Nr($.createdAt),y);return x.setMovedAt(Nr($.movedAt)),x.setRemovedAt(Nr($.removedAt)),x}function Nw($){const y=new ds;for(const j of $.nodes)y.insert(aa(j.element));const x=new zl(Nr($.createdAt),y);return x.setMovedAt(Nr($.movedAt)),x.setRemovedAt(Nr($.removedAt)),x}function pD($){const y=vo.of(vo.valueFromBytes(fD($.type),$.value),Nr($.createdAt));return y.setMovedAt(Nr($.movedAt)),y.setRemovedAt(Nr($.removedAt)),y}function kH($){const y=new Eu;let x=y.getHead();for(const K of $.nodes){const ke=y.insertAfter(x,wH(K));K.insPrevId&&ke.setInsPrev(y.findNode(Jy(K.insPrevId))),x=ke}const j=new tc(y,Nr($.createdAt));return j.setMovedAt(Nr($.movedAt)),j.setRemovedAt(Nr($.removedAt)),j}function p5($){const y=tl.create(Yy($.type),tl.valueFromBytes(Yy($.type),$.value),Nr($.createdAt));return y.setMovedAt(Nr($.movedAt)),y.setRemovedAt(Nr($.removedAt)),y}function g5($){const y=f5($.nodes);return ic.create(y,Nr($.createdAt))}function aa($){if($.body.case==="jsonObject")return h5($.body.value);if($.body.case==="jsonArray")return Nw($.body.value);if($.body.case==="primitive")return pD($.body.value);if($.body.case==="text")return kH($.body.value);if($.body.case==="counter")return p5($.body.value);if($.body.case==="tree")return g5($.body.value);throw new Xt(Vt.ErrUnimplemented,"unimplemented element")}function gD($){if(!$)return{root:mo.create(qs),presences:new Map};const y=He.fromBinary($);return{root:aa(y.root),presences:cD(y.presences)}}function _H($){const y=jy($);return m5(y.toBinary())}function qm($){const y=_($),x=un.fromBinary(y);return u5(x)}function mD($){if(!$)throw new Xt(Vt.ErrInvalidArgument,"bytes is empty");const y=Xc.fromBinary($);return h5(y.body.value)}function eb($){return s5($).toBinary()}function CH($){if(!$)throw new Xt(Vt.ErrInvalidArgument,"bytes is empty");const y=Xc.fromBinary($);return Nw(y.body.value)}function Go($){return Lw($).toBinary()}function EH($){if(!$)throw new Xt(Vt.ErrInvalidArgument,"bytes is empty");const y=Xc.fromBinary($);return g5(y.body.value)}function xH($){return o5($).toBinary()}function m5($){return $?Array.from($).map(y=>y.toString(16).padStart(2,"0")).join(""):""}function Wm($){return m5($)}function _($){return new Uint8Array($.match(/.{1,2}/g).map(y=>parseInt(y,16)))}function A($){return _($)}function U($){const y=Ft.fromBinary($);return l5(y)}function z($){const y=pn.fromBinary($);return tf(y)}const W={fromPresence:Bw,toChangePack:bH,fromChangePack:hD,fromChanges:Fw,toTreeNodes:Ow,fromTreeNodes:f5,objectToBytes:eb,bytesToObject:mD,bytesToSnapshot:gD,bytesToHex:m5,hexToBytes:_,toHexString:Wm,toUint8Array:A,toOperation:aD,toChangeID:Rw,PbChangeID:Ft,bytesToChangeID:U,bytesToOperation:z,versionVectorToHex:_H,hexToVersionVector:qm};var se=($=>($[$.Trivial=0]="Trivial",$[$.Debug=1]="Debug",$[$.Info=2]="Info",$[$.Warn=3]="Warn",$[$.Error=4]="Error",$[$.Fatal=5]="Fatal",$))(se||{});let Se=3;function Le($){Se=$}const Pe={trivial:(...$)=>{Se>0||typeof console<"u"&&console.log("YORKIE T:",...$)},debug:(...$)=>{Se>1||typeof console<"u"&&console.log("YORKIE D:",...$)},info:(...$)=>{Se>2||typeof console<"u"&&console.log("YORKIE I:",...$)},warn:(...$)=>{Se>3||typeof console<"u"&&(typeof console.warn<"u"?console.warn("YORKIE W:",...$):console.log("YORKIE W:",...$))},error:(...$)=>{Se>4||typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE E:",...$):console.log("YORKIE E:",...$))},fatal:(...$)=>{typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE F:",...$):console.log("YORKIE F:",...$))},isEnabled:$=>Se<=$};function Ge(){return"xxxxxxxx-xxxx-4xxxy-xxxx-xxxxxxxxxxx".replace(/[xy]/g,$=>{const y=Math.random()*16|0;return($==="x"?y:y&3|8).toString(16)})}class lt{constructor(y,x,j,K,ke){a(this,"reconnectStreamDelay"),a(this,"doc"),a(this,"docID"),a(this,"syncMode"),a(this,"remoteChangeEventReceived"),a(this,"watchStream"),a(this,"watchLoopTimerID"),a(this,"watchAbortController"),a(this,"unsubscribeBroadcastEvent"),this.reconnectStreamDelay=y,this.doc=x,this.docID=j,this.syncMode=K,this.remoteChangeEventReceived=!1,this.unsubscribeBroadcastEvent=ke}changeSyncMode(y){this.syncMode=y}needRealtimeSync(){return this.syncMode===b5.RealtimeSyncOff?!1:this.syncMode===b5.RealtimePushOnly?this.doc.hasLocalChanges():this.syncMode!==b5.Manual&&(this.doc.hasLocalChanges()||this.remoteChangeEventReceived)}async runWatchLoop(y){const x=async()=>{if(this.watchStream)return Promise.resolve();this.watchLoopTimerID&&(clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0);try{[this.watchStream,this.watchAbortController]=await y(()=>{this.watchStream=void 0,this.watchAbortController=void 0,this.watchLoopTimerID=setTimeout(x,this.reconnectStreamDelay)})}catch{}};await x()}cancelWatchStream(){this.watchStream&&this.watchAbortController&&(this.watchAbortController.abort(),this.watchStream=void 0,this.watchAbortController=void 0),clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0}}const vt=()=>{};class Nt{constructor(y){a(this,"finalized",!1),a(this,"observers",[]),a(this,"finalError");try{y(this)}catch(x){this.error(x)}}next(y){this.forEachObserver(x=>{x.next(y)})}error(y){this.forEachObserver(x=>{x.error(y)}),this.close(y)}complete(){this.forEachObserver(y=>{y.complete()}),this.close()}subscribe(y,x,j){let K;if(!y)throw new Xt(Vt.ErrInvalidArgument,"missing observer");if(this.finalized)throw new Xt(Vt.ErrRefused,"observable is finalized due to previous error");typeof y=="object"?K=y:K={next:y,error:x,complete:j},K.next===void 0&&(K.next=vt),K.error===void 0&&(K.error=vt),K.complete===void 0&&(K.complete=vt);const ke=Ge(),Fe=this.unsubscribeOne.bind(this,ke);if(this.observers.push({subscriptionID:ke,observer:K}),this.finalized)try{this.finalError?K.error(this.finalError):K.complete()}catch(Ve){Pe.warn(Ve)}return Fe}unsubscribeOne(y){var x;this.observers=(x=this.observers)==null?void 0:x.filter(j=>j.subscriptionID!==y)}forEachObserver(y){if(!this.finalized)for(let x=0;xy}}class tn{constructor(y,x,j,K){a(this,"id"),a(this,"delimiter"),a(this,"message"),a(this,"root"),a(this,"operations"),a(this,"presenceChange"),a(this,"previousPresence"),a(this,"reversePresenceKeys"),this.id=y,this.delimiter=KT,this.root=x,this.operations=[],this.previousPresence=Ff(j),this.presenceChange=void 0,this.reversePresenceKeys=new Set,this.message=K}static create(y,x,j,K){return new tn(y,x,j,K)}push(y){this.operations.push(y)}registerElement(y,x){this.root.registerElement(y,x)}registerRemovedElement(y){this.root.registerRemovedElement(y)}registerGCPair(y){this.root.registerGCPair(y)}getChange(){return op.create({id:this.id,operations:this.operations,presenceChange:this.presenceChange,message:this.message})}hasChange(){return this.operations.length>0||this.presenceChange!==void 0}setPresenceChange(y){this.presenceChange=y}setReversePresence(y,x){for(const j of Object.keys(y))x?.addToHistory?this.reversePresenceKeys.add(j):this.reversePresenceKeys.delete(j)}getReversePresence(){if(this.reversePresenceKeys.size===0)return;const y={};for(const x of this.reversePresenceKeys)y[x]=this.previousPresence[x];return y}issueTimeTicket(){return this.delimiter+=1,this.id.createTimeTicket(this.delimiter)}getLastTimeTicket(){return this.id.createTimeTicket(this.delimiter)}}class hn{constructor(y){a(this,"rootObject"),a(this,"elementPairMapByCreatedAt"),a(this,"gcElementSetByCreatedAt"),a(this,"gcPairMap"),this.rootObject=y,this.elementPairMapByCreatedAt=new Map,this.gcElementSetByCreatedAt=new Set,this.gcPairMap=new Map,this.registerElement(y,void 0),y.getDescendants(x=>{if(x.getRemovedAt()&&this.registerRemovedElement(x),x instanceof tc||x instanceof ic)for(const j of x.getGCPairs())this.registerGCPair(j);return!1})}static create(){return new hn(mo.create(qs))}findByCreatedAt(y){const x=this.elementPairMapByCreatedAt.get(y.toIDString());if(x)return x.element}findElementPairByCreatedAt(y){return this.elementPairMapByCreatedAt.get(y.toIDString())}createSubPaths(y){let x=this.elementPairMapByCreatedAt.get(y.toIDString());if(!x)return[];const j=[];for(;x.parent;){const K=x.element.getCreatedAt(),ke=x.parent.subPathOf(K);if(ke===void 0)throw new Xt(Vt.ErrInvalidArgument,`cant find the given element: ${K.toIDString()}`);j.unshift(ke),x=this.elementPairMapByCreatedAt.get(x.parent.getCreatedAt().toIDString())}return j.unshift("$"),j}createPath(y){return this.createSubPaths(y).join(".")}registerElement(y,x){this.elementPairMapByCreatedAt.set(y.getCreatedAt().toIDString(),{parent:x,element:y}),y instanceof Kh&&y.getDescendants((j,K)=>(this.registerElement(j,K),!1))}deregisterElement(y){let x=0;const j=K=>{const ke=K.getCreatedAt().toIDString();this.elementPairMapByCreatedAt.delete(ke),this.gcElementSetByCreatedAt.delete(ke),x++};return j(y),y instanceof Kh&&y.getDescendants(K=>(j(K),!1)),x}registerRemovedElement(y){this.gcElementSetByCreatedAt.add(y.getCreatedAt().toIDString())}registerGCPair(y){if(this.gcPairMap.get(y.child.toIDString())){this.gcPairMap.delete(y.child.toIDString());return}this.gcPairMap.set(y.child.toIDString(),y)}getElementMapSize(){return this.elementPairMapByCreatedAt.size}getGarbageElementSetSize(){const y=new Set;for(const x of this.gcElementSetByCreatedAt){y.add(x);const j=this.elementPairMapByCreatedAt.get(x);j.element instanceof Kh&&j.element.getDescendants(K=>(y.add(K.getCreatedAt().toIDString()),!1))}return y.size}getObject(){return this.rootObject}getGarbageLen(){return this.getGarbageElementSetSize()+this.gcPairMap.size}deepcopy(){return new hn(this.rootObject.deepcopy())}garbageCollect(y){let x=0;for(const j of this.gcElementSetByCreatedAt){const K=this.elementPairMapByCreatedAt.get(j),ke=K.element.getRemovedAt();ke&&y?.afterOrEqual(ke)&&(K.parent.purge(K.element),x+=this.deregisterElement(K.element))}for(const[,j]of this.gcPairMap){const K=j.child.getRemovedAt();K&&y?.afterOrEqual(K)&&(j.parent.purge(j.child),this.gcPairMap.delete(j.child.toIDString()),x+=1)}return x}toJSON(){return this.rootObject.toJSON()}toSortedJSON(){return this.rootObject.toSortedJSON()}getStats(){return{elements:this.getElementMapSize(),gcPairs:this.gcPairMap.size,gcElements:this.getGarbageElementSetSize()}}}function Tn($,y){const x=new Fn($);return new Proxy(y,x.getHandlers())}class Fn{constructor(y){a(this,"context"),a(this,"handlers"),this.context=y,this.handlers={set:(x,j,K)=>(Pe.isEnabled(se.Trivial)&&Pe.trivial(`obj[${j}]=${JSON.stringify(K)}`),Fn.setInternal(y,x,j,K),!0),get:(x,j)=>(Pe.isEnabled(se.Trivial)&&Pe.trivial(`obj[${j}]`),j==="getID"?()=>x.getCreatedAt():j==="toJSON"||j==="toString"?()=>x.toJSON():j==="toJS"?()=>x.toJS():j==="toJSForTest"?()=>x.toJSForTest():yo(y,x.get(j))),ownKeys:x=>x.getKeys(),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),deleteProperty:(x,j)=>(Pe.isEnabled(se.Trivial)&&Pe.trivial(`obj[${j}]`),Fn.deleteInternal(y,x,j),!0)}}static setInternal(y,x,j,K){if(j.includes("."))throw new Xt(Vt.ErrInvalidObjectKey,"key must not contain the '.'.");const ke=y.issueTimeTicket(),Fe=Do(y,K,ke),Ve=x.set(j,Fe,ke);y.registerElement(Fe,x),Ve&&y.registerRemovedElement(Ve),y.push(rp.create(j,Fe.deepcopy(),x.getCreatedAt(),ke))}static buildObjectMembers(y,x){const j={};for(const[K,ke]of Object.entries(x)){if(K.includes("."))throw new Xt(Vt.ErrInvalidObjectKey,"key must not contain the '.'.");const Fe=y.issueTimeTicket(),Ve=Do(y,ke,Fe);j[K]=Ve}return j}static deleteInternal(y,x,j){const K=y.issueTimeTicket(),ke=x.deleteByKey(j,K);ke&&(y.push(Xh.create(x.getCreatedAt(),ke.getCreatedAt(),K)),y.registerRemovedElement(ke))}getHandlers(){return this.handlers}}function Qn($,y){const x=new er($,y);return new Proxy(y,x.getHandlers())}function jn($){return typeof $=="string"||$ instanceof String?!isNaN($):!1}function rr($){return["concat","entries","every","filter","find","findIndex","forEach","join","keys","map","reduce","reduceRight","slice","some","toLocaleString","toString","values"].includes($)}class er{constructor(y,x){a(this,"context"),a(this,"handlers"),a(this,"array"),this.context=y,this.array=x,this.handlers={get:(j,K,ke)=>K==="getID"?()=>j.getCreatedAt():K==="getElementByID"?Fe=>{const Ve=j.getByID(Fe);if(!(!Ve||Ve.isRemoved()))return Ko(y,Ve)}:K==="getElementByIndex"?Fe=>{const Ve=j.get(Fe);return Ko(y,Ve)}:K==="getLast"?()=>Ko(y,j.getLast()):K==="deleteByID"?Fe=>{const Ve=er.deleteInternalByID(y,j,Fe);return Ko(y,Ve)}:K==="insertAfter"?(Fe,Ve)=>{const it=er.insertAfterInternal(y,j,Fe,Ve);return Ko(y,it)}:K==="insertBefore"?(Fe,Ve)=>{const it=er.insertBeforeInternal(y,j,Fe,Ve);return Ko(y,it)}:K==="moveBefore"?(Fe,Ve)=>{er.moveBeforeInternal(y,j,Fe,Ve)}:K==="moveAfter"?(Fe,Ve)=>{er.moveAfterInternal(y,j,Fe,Ve)}:K==="moveFront"?Fe=>{er.moveFrontInternal(y,j,Fe)}:K==="moveLast"?Fe=>{er.moveLastInternal(y,j,Fe)}:jn(K)?yo(y,j.get(Number(K))):K==="push"?Fe=>er.pushInternal(y,j,Fe):K==="splice"?(Fe,Ve,...it)=>er.splice(y,j,Fe,Ve,...it):K==="length"?j.length:typeof K=="symbol"&&K===Symbol.iterator?er.iteratorInternal.bind(this,y,j):K==="includes"?(Fe,Ve)=>er.includes(y,j,Fe,Ve):K==="indexOf"?(Fe,Ve)=>er.indexOf(y,j,Fe,Ve):K==="lastIndexOf"?(Fe,Ve)=>er.lastIndexOf(y,j,Fe,Ve):K==="toJSForTest"?()=>j.toJSForTest():K==="toTestString"?()=>er.toTestString(j):typeof K=="string"&&rr(K)?(...Fe)=>{const Ve=Array.from(j).map(it=>yo(y,it));return Array.prototype[K].apply(Ve,Fe)}:Reflect.get(j,K,ke),deleteProperty:(j,K)=>(Pe.isEnabled(se.Trivial)&&Pe.trivial(`array[${K}]`),er.deleteInternalByIndex(y,j,Number.parseInt(K)),!0)}}static*iteratorInternal(y,x){for(const j of x)yield Ko(y,j)}static buildArrayElements(y,x){const j=[];for(const K of x){const ke=y.issueTimeTicket(),Fe=Do(y,K,ke);j.push(Fe)}return j}static pushInternal(y,x,j){return er.insertAfterInternal(y,x,x.getLastCreatedAt(),j),x.length}static moveBeforeInternal(y,x,j,K){const ke=y.issueTimeTicket(),Fe=x.getPrevCreatedAt(j);x.moveAfter(Fe,K,ke),y.push(ec.create(x.getCreatedAt(),Fe,K,ke))}static moveAfterInternal(y,x,j,K){const ke=y.issueTimeTicket();x.moveAfter(j,K,ke),y.push(ec.create(x.getCreatedAt(),j,K,ke))}static moveFrontInternal(y,x,j){const K=y.issueTimeTicket(),ke=x.getHead();x.moveAfter(ke.getCreatedAt(),j,K),y.push(ec.create(x.getCreatedAt(),ke.getCreatedAt(),j,K))}static moveLastInternal(y,x,j){const K=y.issueTimeTicket(),ke=x.getLastCreatedAt();x.moveAfter(ke,j,K),y.push(ec.create(x.getCreatedAt(),ke,j,K))}static insertAfterInternal(y,x,j,K){const ke=y.issueTimeTicket(),Fe=Do(y,K,ke);return x.insertAfter(j,Fe),y.registerElement(Fe,x),y.push(Rm.create(x.getCreatedAt(),j,Fe.deepcopy(),ke)),Fe}static insertBeforeInternal(y,x,j,K){return er.insertAfterInternal(y,x,x.getPrevCreatedAt(j),K)}static deleteInternalByIndex(y,x,j){const K=y.issueTimeTicket(),ke=x.deleteByIndex(j,K);if(ke)return y.push(Xh.create(x.getCreatedAt(),ke.getCreatedAt(),K)),y.registerRemovedElement(ke),ke}static deleteInternalByID(y,x,j){const K=y.issueTimeTicket(),ke=x.delete(j,K);return y.push(Xh.create(x.getCreatedAt(),ke.getCreatedAt(),K)),y.registerRemovedElement(ke),ke}static splice(y,x,j,K,...ke){const Fe=x.length,Ve=j>=0?Math.min(j,Fe):Math.max(Fe+j,0),it=K===void 0?Fe:K<0?Ve:Math.min(Ve+K,Fe),ct=[];for(let It=Ve;It=Fe)return!1;if(vo.isSupport(j))return Array.from(x).map(ct=>yo(y,ct)).includes(j,Ve);for(let it=Ve;it=Fe)return-1;if(vo.isSupport(j))return Array.from(x).map(ct=>yo(y,ct)).indexOf(j,Ve);for(let it=Ve;it=Fe?Fe-1:K<0?K+Fe:K;if(Ve<0)return-1;if(vo.isSupport(j))return Array.from(x).map(ct=>yo(y,ct)).lastIndexOf(j,Ve);for(let it=Ve;it>0;it--)if(((ke=x.get(it))==null?void 0:ke.getID())===j.getID())return it;return-1}static toTestString(y){return y.toTestString()}getHandlers(){return this.handlers}}class wr{constructor(y,x){a(this,"context"),a(this,"text"),this.context=y,this.text=x}initialize(y,x){this.context=y,this.text=x}getID(){return this.text.getID()}edit(y,x,j,K){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const ke=this.text.indexRangeToPosRange(y,x);Pe.isEnabled(se.Debug)&&Pe.debug(`EDIT: f:${y}->${ke[0].toTestString()}, t:${x}->${ke[1].toTestString()} c:${j}`);const Fe=K?ep(K):void 0,Ve=this.context.issueTimeTicket(),[it,,ct,It]=this.text.edit(ke,j,Ve,Fe);for(const fn of ct)this.context.registerGCPair(fn);return this.context.push(new Ld(this.text.getCreatedAt(),ke[0],ke[1],it,j,Fe?new Map(Object.entries(Fe)):new Map,Ve)),this.text.findIndexesFromRange(It)}delete(y,x){return this.edit(y,x,"")}empty(){return this.edit(0,this.length,"")}setStyle(y,x,j){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const K=this.text.indexRangeToPosRange(y,x);Pe.isEnabled(se.Debug)&&Pe.debug(`STYL: f:${y}->${K[0].toTestString()}, t:${x}->${K[1].toTestString()} a:${JSON.stringify(j)}`);const ke=ep(j),Fe=this.context.issueTimeTicket(),[Ve,it]=this.text.setStyle(K,ke,Fe);for(const ct of it)this.context.registerGCPair(ct);return this.context.push(new Om(this.text.getCreatedAt(),K[0],K[1],Ve,new Map(Object.entries(ke)),Fe)),!0}indexRangeToPosRange(y){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");const x=this.text.indexRangeToPosRange(y[0],y[1]);return[x[0].toStruct(),x[1].toStruct()]}posRangeToIndexRange(y){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");const x=this.text.findIndexesFromRange([Cu.fromStruct(y[0]),Cu.fromStruct(y[1])]);return[x[0],x[1]]}toTestString(){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.toTestString()}values(){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.values()}get length(){return this.text.length}getTreeByIndex(){return this.text.getTreeByIndex()}getTreeByID(){return this.text.getTreeByID()}toString(){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.toString()}toJSON(){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSON()}toJSForTest(){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSForTest()}createRangeForTest(y,x){if(!this.context||!this.text)throw new Xt(Vt.ErrNotInitialized,"Text is not initialized yet");return this.text.indexRangeToPosRange(y,x)}}class fi{constructor(y,x){a(this,"valueType"),a(this,"value"),a(this,"context"),a(this,"counter"),this.valueType=y,this.value=x}initialize(y,x){this.valueType=x.getValueType(),this.context=y,this.counter=x,this.value=x.getValue()}getID(){return this.counter.getID()}getValue(){return this.value}getValueType(){return this.valueType}increase(y){if(!this.context||!this.counter)throw new Xt(Vt.ErrNotInitialized,"Counter is not initialized yet");const x=this.context.issueTimeTicket(),j=vo.of(y,x);if(!j.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof j.getValue()}`);return this.counter.increase(j),this.context.push(V1.create(this.counter.getCreatedAt(),j,x)),this}toJSForTest(){if(!this.context||!this.counter)throw new Xt(Vt.ErrNotInitialized,"Counter is not initialized yet");return this.counter.toJSForTest()}}function ga($,y,x){const{type:j}=$,K=x.issueTimeTicket();if(j===nc){ro($);const{value:ke}=$,Fe=rc.create(el.of(K,0),j,ke);y.append(Fe)}else{const{children:ke=[]}=$,{attributes:Fe}=$;let Ve;if(typeof Fe=="object"&&!Ew(Fe)){const ct=ep(Fe);Ve=new Od;for(const[It,fn]of Object.entries(ct))Ve.set(It,fn,K)}const it=rc.create(el.of(K,0),j,void 0,Ve);y.append(it);for(const ct of ke)ga(ct,it,x)}}function Ws($,y){const{type:x}=y,j=$.issueTimeTicket();let K;if(y.type===nc){const{value:ke}=y;K=rc.create(el.of(j,0),x,ke)}else if(y){const{children:ke=[]}=y,{attributes:Fe}=y;let Ve;if(typeof Fe=="object"&&!Ew(Fe)){const it=ep(Fe);Ve=new Od;for(const[ct,It]of Object.entries(it))Ve.set(ct,It,j)}K=rc.create(el.of($.issueTimeTicket(),0),x,void 0,Ve);for(const it of ke)ga(it,K,$)}return K}function ro($){if(!$.value.length)throw new Xt(Vt.ErrInvalidArgument,"text node cannot have empty value");return!0}function au($){if(!$.length)return!0;if($[0].type===nc)for(const x of $){const{type:j}=x;if(j!==nc)throw new Xt(Vt.ErrInvalidArgument,"element node and text node cannot be passed together");ro(x)}else for(const x of $){const{type:j}=x;if(j===nc)throw new Xt(Vt.ErrInvalidArgument,"element node and text node cannot be passed together")}return!0}class Gs{constructor(y){a(this,"initialRoot"),a(this,"context"),a(this,"tree"),this.initialRoot=y}initialize(y,x){this.context=y,this.tree=x}getID(){return this.tree.getID()}buildRoot(y){if(!this.initialRoot)return rc.create(el.of(y.issueTimeTicket(),0),JT);const x=rc.create(el.of(y.issueTimeTicket(),0),this.initialRoot.type);for(const j of this.initialRoot.children)ga(j,x,y);return x}getSize(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getSize()}getNodeSize(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getNodeSize()}getIndexTree(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getIndexTree()}styleByPath(y,x){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(!y.length)throw new Xt(Vt.ErrInvalidArgument,"path should not be empty");const[j,K]=this.tree.pathToPosRange(y),ke=this.context.issueTimeTicket(),Fe=x?ep(x):void 0,[Ve]=this.tree.style([j,K],Fe,ke);this.context.push(Fd.create(this.tree.getCreatedAt(),j,K,Ve,Fe?new Map(Object.entries(Fe)):new Map,ke))}style(y,x,j){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const K=this.tree.findPos(y),ke=this.tree.findPos(x),Fe=this.context.issueTimeTicket(),Ve=j?ep(j):void 0,[it,ct]=this.tree.style([K,ke],Ve,Fe);for(const It of ct)this.context.registerGCPair(It);this.context.push(Fd.create(this.tree.getCreatedAt(),K,ke,it,Ve?new Map(Object.entries(Ve)):new Map,Fe))}removeStyle(y,x,j){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const K=this.tree.findPos(y),ke=this.tree.findPos(x),Fe=this.context.issueTimeTicket(),[Ve,it]=this.tree.removeStyle([K,ke],j,Fe);for(const ct of it)this.context.registerGCPair(ct);this.context.push(Fd.createTreeRemoveStyleOperation(this.tree.getCreatedAt(),K,ke,Ve,j,Fe))}editInternal(y,x,j,K=0){var ke;if(j.length!==0&&j[0]&&(au(j),j[0].type!==nc))for(const It of j){const{children:fn=[]}=It;au(fn)}const Fe=this.context.getLastTimeTicket();let Ve=new Array;if(((ke=j[0])==null?void 0:ke.type)===nc){let It="";for(const fn of j){const{value:Cn}=fn;It+=Cn}Ve.push(rc.create(el.of(this.context.issueTimeTicket(),0),nc,It))}else Ve=j.map(It=>It&&Ws(this.context,It)).filter(It=>It);const[,it,ct]=this.tree.edit([y,x],Ve.length?Ve.map(It=>It?.deepcopy()):void 0,K,Fe,()=>this.context.issueTimeTicket());for(const It of it)this.context.registerGCPair(It);return this.context.push(zy.create(this.tree.getCreatedAt(),y,x,Ve.length?Ve:void 0,K,ct,Fe)),!0}editByPath(y,x,j,K=0){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y.length!==x.length)throw new Xt(Vt.ErrInvalidArgument,"path length should be equal");if(!y.length||!x.length)throw new Xt(Vt.ErrInvalidArgument,"path should not be empty");const ke=this.tree.pathToPos(y),Fe=this.tree.pathToPos(x);return this.editInternal(ke,Fe,j?[j]:[],K)}editBulkByPath(y,x,j,K=0){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y.length!==x.length)throw new Xt(Vt.ErrInvalidArgument,"path length should be equal");if(!y.length||!x.length)throw new Xt(Vt.ErrInvalidArgument,"path should not be empty");const ke=this.tree.pathToPos(y),Fe=this.tree.pathToPos(x);return this.editInternal(ke,Fe,j,K)}edit(y,x,j,K=0){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const ke=this.tree.findPos(y),Fe=this.tree.findPos(x);return this.editInternal(ke,Fe,j?[j]:[],K)}editBulk(y,x,j,K=0){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");if(y>x)throw new Xt(Vt.ErrInvalidArgument,"from should be less than or equal to to");const ke=this.tree.findPos(y),Fe=this.tree.findPos(x);return this.editInternal(ke,Fe,j,K)}toXML(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toXML()}toJSON(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSON()}toJSForTest(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSForTest()}toJSInfoForTest(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSInfoForTest()}getRootTreeNode(){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getRootTreeNode()}indexToPath(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexToPath(y)}pathToIndex(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.pathToIndex(y)}pathRangeToPosRange(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");const x=[this.tree.pathToIndex(y[0]),this.tree.pathToIndex(y[1])],j=this.tree.indexRangeToPosRange(x);return[j[0].toStruct(),j[1].toStruct()]}indexRangeToPosRange(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexRangeToPosStructRange(y)}posRangeToIndexRange(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");const x=[$f.fromStruct(y[0]),$f.fromStruct(y[1])];return this.tree.posRangeToIndexRange(x)}posRangeToPathRange(y){if(!this.context||!this.tree)throw new Xt(Vt.ErrNotInitialized,"Tree is not initialized yet");const x=[$f.fromStruct(y[0]),$f.fromStruct(y[1])];return this.tree.posRangeToPathRange(x)}}function Vo($,y){return Tn($,y)}function Ko($,y){if(y){if(y instanceof vo)return y;if(y instanceof mo)return Tn($,y);if(y instanceof zl)return Qn($,y);if(y instanceof tc)return new wr($,y);if(y instanceof tl){const x=new fi(Pd.IntegerCnt,0);return x.initialize($,y),x}else if(y instanceof ic){const x=new Gs;return x.initialize($,y),x}}else return;throw new TypeError(`Unsupported type of element: ${typeof y}`)}function yo($,y){const x=Ko($,y);return x instanceof vo?x.getValue():x}function Do($,y,x){let j;if(vo.isSupport(y))j=vo.of(y,x);else if(Array.isArray(y))j=zl.create(x,er.buildArrayElements($,y));else if(typeof y=="object")y instanceof wr?(j=tc.create(Eu.create(),x),y.initialize($,j)):y instanceof fi?(j=tl.create(y.getValueType(),y.getValue(),x),y.initialize($,j)):y instanceof Gs?(j=ic.create(y.buildRoot($),x),y.initialize($,j)):j=mo.create(x,Fn.buildObjectMembers($,y));else throw new TypeError(`Unsupported type of value: ${typeof y}`);return j}const Yo=50;class Io{constructor(){a(this,"undoStack",[]),a(this,"redoStack",[])}hasUndo(){return this.undoStack.length>0}hasRedo(){return this.redoStack.length>0}pushUndo(y){this.undoStack.length>=Yo&&this.undoStack.shift(),this.undoStack.push(y)}popUndo(){return this.undoStack.pop()}pushRedo(y){this.redoStack.length>=Yo&&this.redoStack.shift(),this.redoStack.push(y)}popRedo(){return this.redoStack.pop()}clearRedo(){this.redoStack=[]}getUndoStackForTest(){return this.undoStack}getRedoStackForTest(){return this.redoStack}}const jl="yorkie-devtools-panel",Y1="yorkie-devtools-sdk";let ac="disconnected";const nl=new Map,oc=new Map;typeof window<"u"&&(window.transactionEventsByDocKey=oc);function Xo($,y){(y?.force||ac!=="disconnected")&&window.postMessage({source:Y1,...$},"*")}function v5($){if(!$.isEnableDevtools()||typeof window>"u"||nl.has($.getKey()))return;oc.set($.getKey(),[]);const y=$.subscribe("all",x=>{x.some(j=>j.type!==bo.StatusChanged&&j.type!==bo.Snapshot&&j.type!==bo.LocalChange&&j.type!==bo.RemoteChange&&j.type!==bo.Initialized&&j.type!==bo.Watched&&j.type!==bo.Unwatched&&j.type!==bo.PresenceChanged)||(oc.get($.getKey()).push(x),ac==="synced"&&Xo({msg:"doc::sync::partial",docKey:$.getKey(),event:x}))});nl.set($.getKey(),[y]),Xo({msg:"refresh-devtools"},{force:!0}),window.addEventListener("message",x=>{var j;if(((j=x.data)==null?void 0:j.source)!==jl)return;switch(x.data.msg){case"devtools::connect":if(ac!=="disconnected")break;ac="connected",Xo({msg:"doc::available",docKey:$.getKey()}),Pe.info(`[YD] Devtools connected. Doc: ${$.getKey()}`);break;case"devtools::disconnect":ac="disconnected",Pe.info(`[YD] Devtools disconnected. Doc: ${$.getKey()}`);break;case"devtools::subscribe":ac="synced",Xo({msg:"doc::sync::full",docKey:$.getKey(),events:oc.get($.getKey())}),Pe.info(`[YD] Devtools subscribed. Doc: ${$.getKey()}`);break}})}var _l=($=>($.Detached="detached",$.Attached="attached",$.Removed="removed",$))(_l||{}),bo=($=>($.StatusChanged="status-changed",$.ConnectionChanged="connection-changed",$.SyncStatusChanged="sync-status-changed",$.Snapshot="snapshot",$.LocalChange="local-change",$.RemoteChange="remote-change",$.Initialized="initialized",$.Watched="watched",$.Unwatched="unwatched",$.PresenceChanged="presence-changed",$.Broadcast="broadcast",$.LocalBroadcast="local-broadcast",$.AuthError="auth-error",$))(bo||{}),Nd=($=>($.Connected="connected",$.Disconnected="disconnected",$))(Nd||{}),Vs=($=>($.Synced="synced",$.SyncFailed="sync-failed",$))(Vs||{});class lp{constructor(y,x){a(this,"key"),a(this,"status"),a(this,"opts"),a(this,"changeID"),a(this,"checkpoint"),a(this,"localChanges"),a(this,"root"),a(this,"clone"),a(this,"eventStream"),a(this,"eventStreamObserver"),a(this,"onlineClients"),a(this,"presences"),a(this,"history"),a(this,"internalHistory"),a(this,"isUpdating"),this.opts=x||{},this.key=y,this.status="detached",this.root=hn.create(),this.changeID=tD,this.checkpoint=hH,this.localChanges=[],this.eventStream=Mt(j=>{this.eventStreamObserver=j}),this.onlineClients=new Set,this.presences=new Map,this.isUpdating=!1,this.internalHistory=new Io,this.history={canUndo:this.canUndo.bind(this),canRedo:this.canRedo.bind(this),undo:this.undo.bind(this),redo:this.redo.bind(this)},v5(this)}update(y,x){if(this.getStatus()==="removed")throw new Xt(Vt.ErrDocumentRemoved,`${this.key} is removed`);this.ensureClone();const j=this.changeID.getActorID(),K=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(j)||{},x);try{const ke=Vo(K,this.clone.root.getObject());this.presences.has(j)||this.clone.presences.set(j,{}),this.isUpdating=!0,y(ke,new Oy(K,this.clone.presences.get(j)))}catch(ke){throw this.clone=void 0,ke}finally{this.isUpdating=!1}if(K.hasChange()){Pe.isEnabled(se.Trivial)&&Pe.trivial(`trying to update a local change: ${this.toJSON()}`);const ke=K.getChange(),{opInfos:Fe,reverseOps:Ve}=ke.execute(this.root,this.presences,qi.Local),it=K.getReversePresence();it&&Ve.push({type:"presence",value:it}),this.localChanges.push(ke),Ve.length>0&&this.internalHistory.pushUndo(Ve),Fe.length>0&&this.internalHistory.clearRedo(),this.changeID=ke.getID();const ct=[];Fe.length>0&&ct.push({type:"local-change",source:qi.Local,value:{message:ke.getMessage()||"",operations:Fe,actor:j,clientSeq:ke.getID().getClientSeq(),serverSeq:ke.getID().getServerSeq()},rawChange:this.isEnableDevtools()?ke.toStruct():void 0}),ke.hasPresenceChange()&&ct.push({type:"presence-changed",source:qi.Local,value:{clientID:j,presence:this.getPresence(j)}}),this.publish(ct),Pe.isEnabled(se.Trivial)&&Pe.trivial(`after update a local change: ${this.toJSON()}`)}}subscribe(y,x,j,K){if(typeof y=="string"){if(typeof x!="function")throw new Xt(Vt.ErrInvalidArgument,"Second argument must be a callback function");if(y==="presence"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type!=="initialized"&&ct.type!=="watched"&&ct.type!=="unwatched"&&ct.type!=="presence-changed"||Ve(ct)},j,K)}if(y==="my-presence"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type!=="initialized"&&ct.type!=="presence-changed"||ct.type==="presence-changed"&&ct.value.clientID!==this.changeID.getActorID()||Ve(ct)},j,K)}if(y==="others"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type!=="watched"&&ct.type!=="unwatched"&&ct.type!=="presence-changed"||ct.value.clientID!==this.changeID.getActorID()&&Ve(ct)},j,K)}if(y==="connection"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="connection-changed"&&Ve(ct)},j,K)}if(y==="status"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="status-changed"&&Ve(ct)},j,K)}if(y==="sync"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="sync-status-changed"&&Ve(ct)},j,K)}if(y==="local-broadcast"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="local-broadcast"&&Ve(ct)},j)}if(y==="broadcast"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="broadcast"&&Ve(ct)},j)}if(y==="auth-error"){const Ve=x;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type==="auth-error"&&Ve(ct)},j)}if(y==="all"){const Ve=x;return this.eventStream.subscribe(Ve,j,K)}const ke=y,Fe=x;return this.eventStream.subscribe(Ve=>{for(const it of Ve){if(it.type!=="local-change"&&it.type!=="remote-change")continue;const ct=[];for(const It of it.value.operations)this.isSameElementOrChildOf(It.path,ke)&&ct.push(It);ct.length&&Fe({...it,value:{...it.value,operations:ct}})}},j,K)}if(typeof y=="function"){const ke=y,Fe=x,Ve=j;return this.eventStream.subscribe(it=>{for(const ct of it)ct.type!=="snapshot"&&ct.type!=="local-change"&&ct.type!=="remote-change"||ke(ct)},Fe,Ve)}throw new Xt(Vt.ErrInvalidArgument,`"${y}" is not a valid`)}publish(y){this.eventStreamObserver&&this.eventStreamObserver.next(y)}isSameElementOrChildOf(y,x){if(x===y)return!0;const j=y.split(".");return x.split(".").every((ke,Fe)=>ke===j[Fe])}removePushedLocalChanges(y){for(;this.localChanges.length&&!(this.localChanges[0].getID().getClientSeq()>y);)this.localChanges.shift()}applyChangePack(y){const x=y.hasSnapshot();x?this.applySnapshot(y.getCheckpoint().getServerSeq(),y.getVersionVector(),y.getSnapshot(),y.getCheckpoint().getClientSeq()):(this.applyChanges(y.getChanges(),qi.Remote),this.removePushedLocalChanges(y.getCheckpoint().getClientSeq())),this.checkpoint=this.checkpoint.forward(y.getCheckpoint()),x||this.garbageCollect(y.getVersionVector()),y.getIsRemoved()&&this.applyStatus("removed"),Pe.isEnabled(se.Trivial)&&Pe.trivial(`${this.root.toJSON()}`)}getCheckpoint(){return this.checkpoint}getChangeID(){return this.changeID}hasLocalChanges(){return this.localChanges.length>0}ensureClone(){this.clone||(this.clone={root:this.root.deepcopy(),presences:Ff(this.presences)})}createChangePack(){const y=Array.from(this.localChanges),x=this.checkpoint.increaseClientSeq(y.length);return Dw.create(this.key,x,!1,y,this.getVersionVector())}setActor(y){for(const x of this.localChanges)x.setActor(y);this.changeID=this.changeID.setActor(y)}isEnableDevtools(){return!!this.opts.enableDevtools}getKey(){return this.key}getStatus(){return this.status}getCloneRoot(){if(this.clone)return this.clone.root.getObject()}getRoot(){this.ensureClone();const y=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});return Vo(y,this.clone.root.getObject())}garbageCollect(y){return this.opts.disableGC?0:(this.clone&&this.clone.root.garbageCollect(y),this.root.garbageCollect(y))}getRootObject(){return this.root.getObject()}getGarbageLen(){return this.root.getGarbageLen()}getGarbageLenFromClone(){return this.clone.root.getGarbageLen()}toJSON(){return this.root.toJSON()}toSortedJSON(){return this.root.toSortedJSON()}getStats(){return this.root.getStats()}toJSForTest(){return{...this.getRoot().toJSForTest(),key:"root"}}applySnapshot(y,x,j,K=-1){const{root:ke,presences:Fe}=W.bytesToSnapshot(j);this.root=new hn(ke),this.presences=Fe,this.changeID=this.changeID.setClocks(x.maxLamport(),x),this.clone=void 0,this.removePushedLocalChanges(K),this.applyChanges(this.localChanges,qi.Local),this.publish([{type:"snapshot",source:qi.Remote,value:{serverSeq:y.toString(),snapshot:this.isEnableDevtools()?W.bytesToHex(j):void 0,snapshotVector:W.versionVectorToHex(x)}}])}applyChanges(y,x){Pe.isEnabled(se.Debug)&&Pe.debug(`trying to apply ${y.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`),Pe.isEnabled(se.Trivial)&&Pe.trivial(y.map(j=>`${j.getID().toTestString()} ${j.toTestString()}`).join(` -`));for(const j of y)this.applyChange(j,x);Pe.isEnabled(se.Debug)&&Pe.debug(`after appling ${y.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`)}applyChange(y,x){this.ensureClone(),y.execute(this.clone.root,this.clone.presences,x);const j=[],K=y.getID().getActorID();if(y.hasPresenceChange()&&this.onlineClients.has(K)){const Fe=y.getPresenceChange();switch(Fe.type){case Vh.Put:j.push(this.presences.has(K)?{type:"presence-changed",source:x,value:{clientID:K,presence:Fe.presence}}:{type:"watched",source:qi.Remote,value:{clientID:K,presence:Fe.presence}});break;case Vh.Clear:j.push({type:"unwatched",source:qi.Remote,value:{clientID:K,presence:this.getPresence(K)}}),this.removeOnlineClient(K);break}}const{opInfos:ke}=y.execute(this.root,this.presences,x);if(this.changeID=this.changeID.syncClocks(y.getID()),ke.length>0){const Fe=this.isEnableDevtools()?y.toStruct():void 0;j.push(x===qi.Remote?{type:"remote-change",source:x,value:{actor:K,clientSeq:y.getID().getClientSeq(),serverSeq:y.getID().getServerSeq(),message:y.getMessage()||"",operations:ke},rawChange:Fe}:{type:"local-change",source:x,value:{actor:K,clientSeq:y.getID().getClientSeq(),serverSeq:y.getID().getServerSeq(),message:y.getMessage()||"",operations:ke},rawChange:Fe})}j.length>0&&this.publish(j)}applyWatchStream(y){if(y.body.case==="initialization"){const x=y.body.value.clientIds,j=new Set;for(const K of x)K!==this.changeID.getActorID()&&j.add(K);this.setOnlineClients(j),this.publish([{type:"initialized",source:qi.Local,value:this.getPresences()}]);return}if(y.body.case==="event"){const{type:x,publisher:j}=y.body.value,K=[];if(x===Z.DOCUMENT_WATCHED){if(this.onlineClients.has(j)&&this.hasPresence(j))return;this.addOnlineClient(j),this.hasPresence(j)&&K.push({type:"watched",source:qi.Remote,value:{clientID:j,presence:this.getPresence(j)}})}else if(x===Z.DOCUMENT_UNWATCHED){const ke=this.getPresence(j);this.removeOnlineClient(j),ke&&K.push({type:"unwatched",source:qi.Remote,value:{clientID:j,presence:ke}})}else if(x===Z.DOCUMENT_BROADCAST&&y.body.value.body){const{topic:ke,payload:Fe}=y.body.value.body,Ve=new TextDecoder;K.push({type:"broadcast",value:{clientID:j,topic:ke,payload:JSON.parse(Ve.decode(Fe))}})}K.length>0&&this.publish(K)}}applyStatus(y){this.status=y,y==="detached"&&this.setActor(Ly),this.publish([{source:y==="removed"?qi.Remote:qi.Local,type:"status-changed",value:y==="attached"?{status:y,actorID:this.changeID.getActorID()}:{status:y}}])}applyDocEvent(y){if(y.type==="status-changed"){this.applyStatus(y.value.status),y.value.status==="attached"&&this.setActor(y.value.actorID);return}if(y.type==="snapshot"){const{snapshot:x,serverSeq:j,snapshotVector:K}=y.value;if(!x)return;this.applySnapshot(BigInt(j),W.hexToVersionVector(K),W.hexToBytes(x));return}if(y.type==="local-change"||y.type==="remote-change"){if(!y.rawChange)return;const x=op.fromStruct(y.rawChange);this.applyChange(x,y.source)}if(y.type==="initialized"){const x=new Set;for(const{clientID:j,presence:K}of y.value)x.add(j),this.presences.set(j,K);this.setOnlineClients(x);return}if(y.type==="watched"){const{clientID:x,presence:j}=y.value;this.addOnlineClient(x),this.presences.set(x,j);return}if(y.type==="unwatched"){const{clientID:x}=y.value;this.removeOnlineClient(x),this.presences.delete(x)}if(y.type==="presence-changed"){const{clientID:x,presence:j}=y.value;this.presences.set(x,j)}}applyTransactionEvent(y){for(const x of y)this.applyDocEvent(x)}getValueByPath(y){if(!y.startsWith("$"))throw new Xt(Vt.ErrInvalidArgument,'path must start with "$"');const x=y.split(".");x.shift();let j=this.getRoot();for(const K of x)if(j=j[K],j===void 0)return;return j}setOnlineClients(y){this.onlineClients=y}resetOnlineClients(){this.onlineClients=new Set}addOnlineClient(y){this.onlineClients.add(y)}removeOnlineClient(y){this.onlineClients.delete(y)}hasPresence(y){return this.presences.has(y)}getMyPresence(){if(this.status!=="attached")return{};const y=this.presences.get(this.changeID.getActorID());return y?Ff(y):{}}getPresence(y){if(y===this.changeID.getActorID())return this.getMyPresence();if(!this.onlineClients.has(y))return;const x=this.presences.get(y);return x?Ff(x):void 0}getPresenceForTest(y){const x=this.presences.get(y);return x?Ff(x):void 0}getPresences(){const y=[];y.push({clientID:this.changeID.getActorID(),presence:Ff(this.getMyPresence())});for(const x of this.onlineClients)this.presences.has(x)&&y.push({clientID:x,presence:Ff(this.presences.get(x))});return y}getSelfForTest(){return{clientID:this.getChangeID().getActorID(),presence:this.getMyPresence()}}getOthersForTest(){const y=this.getChangeID().getActorID();return this.getPresences().filter(x=>x.clientID!==y).sort((x,j)=>x.clientID>j.clientID?1:-1)}canUndo(){return this.internalHistory.hasUndo()&&!this.isUpdating}filterVersionVector(y){const j=this.changeID.getVersionVector().filter(y);this.changeID=this.changeID.setVersionVector(j)}canRedo(){return this.internalHistory.hasRedo()&&!this.isUpdating}undo(){if(this.isUpdating)throw new Xt(Vt.ErrRefused,"Undo is not allowed during an update");const y=this.internalHistory.popUndo();if(y===void 0)throw new Xt(Vt.ErrRefused,"There is no operation to be undone");this.ensureClone();const x=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const ct of y){if(!(ct instanceof Zs)){new Oy(x,Ff(this.clone.presences.get(this.changeID.getActorID()))).set(ct.value,{addToHistory:!0});continue}const It=x.issueTimeTicket();ct.setExecutedAt(It),x.push(ct)}const j=x.getChange();j.execute(this.clone.root,this.clone.presences,qi.UndoRedo);const{opInfos:K,reverseOps:ke}=j.execute(this.root,this.presences,qi.UndoRedo),Fe=x.getReversePresence();if(Fe&&ke.push({type:"presence",value:Fe}),ke.length>0&&this.internalHistory.pushRedo(ke),!j.hasPresenceChange()&&K.length===0)return;this.localChanges.push(j),this.changeID=j.getID();const Ve=this.changeID.getActorID(),it=[];K.length>0&&it.push({type:"local-change",source:qi.UndoRedo,value:{message:j.getMessage()||"",operations:K,actor:Ve,clientSeq:j.getID().getClientSeq(),serverSeq:j.getID().getServerSeq()},rawChange:this.isEnableDevtools()?j.toStruct():void 0}),j.hasPresenceChange()&&it.push({type:"presence-changed",source:qi.UndoRedo,value:{clientID:Ve,presence:this.getPresence(Ve)}}),this.publish(it)}redo(){if(this.isUpdating)throw new Xt(Vt.ErrRefused,"Redo is not allowed during an update");const y=this.internalHistory.popRedo();if(y===void 0)throw new Xt(Vt.ErrRefused,"There is no operation to be redone");this.ensureClone();const x=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const ct of y){if(!(ct instanceof Zs)){new Oy(x,Ff(this.clone.presences.get(this.changeID.getActorID()))).set(ct.value,{addToHistory:!0});continue}const It=x.issueTimeTicket();ct.setExecutedAt(It),x.push(ct)}const j=x.getChange();j.execute(this.clone.root,this.clone.presences,qi.UndoRedo);const{opInfos:K,reverseOps:ke}=j.execute(this.root,this.presences,qi.UndoRedo),Fe=x.getReversePresence();if(Fe&&ke.push({type:"presence",value:Fe}),ke.length>0&&this.internalHistory.pushUndo(ke),!j.hasPresenceChange()&&K.length===0)return;this.localChanges.push(j),this.changeID=j.getID();const Ve=this.changeID.getActorID(),it=[];K.length>0&&it.push({type:"local-change",source:qi.UndoRedo,value:{message:j.getMessage()||"",operations:K,actor:Ve,clientSeq:j.getID().getClientSeq(),serverSeq:j.getID().getServerSeq()},rawChange:this.isEnableDevtools()?j.toStruct():void 0}),j.hasPresenceChange()&&it.push({type:"presence-changed",source:qi.UndoRedo,value:{clientID:Ve,presence:this.getPresence(Ve)}}),this.publish(it)}getUndoStackForTest(){return this.internalHistory.getUndoStackForTest()}getRedoStackForTest(){return this.internalHistory.getRedoStackForTest()}broadcast(y,x,j){const K={type:"local-broadcast",value:{topic:y,payload:x},options:j};this.publish([K])}getVersionVector(){return this.changeID.getVersionVector()}}function y5($,y){let x=y;return{authInterceptor:ke=>async Fe=>($&&Fe.header.set("x-api-key",$),x&&Fe.header.set("authorization",x),await ke(Fe)),setToken:ke=>{x=ke}}}const u2e={name:"yorkie-js-sdk",version:"0.5.7",description:"Yorkie JS SDK",main:"./src/yorkie.ts",publishConfig:{access:"public",main:"./dist/yorkie-js-sdk.js",typings:"./dist/yorkie-js-sdk.d.ts"},files:["dist"],scripts:{build:"tsc && vite build","build:proto":"npx buf generate","build:docs":"typedoc","build:ghpages":"mkdir -p ghpages/examples && cp -r docs ghpages/api-reference && find ../../examples -name 'dist' -type d -exec sh -c 'cp -r {} ghpages/examples/$(basename $(dirname {}))' \\;",dev:"vite build -c vite.preview.ts && vite preview",test:"vitest run","test:watch":"vitest","test:bench":"vitest bench","test:ci":"vitest run --coverage","test:yorkie.dev":"TEST_RPC_ADDR=https://api.yorkie.dev vitest run --coverage",prepare:"pnpm build"},engines:{node:">=18.0.0",npm:">=7.1.0"},repository:{type:"git",url:"git+https://github.com/yorkie-team/yorkie-js-sdk.git"},author:{name:"hackerwins",email:"susukang98@gmail.com"},license:"Apache-2.0",bugs:{url:"https://github.com/yorkie-team/yorkie-js-sdk/issues"},homepage:"https://github.com/yorkie-team/yorkie-js-sdk#readme",devDependencies:{"@buf/googleapis_googleapis.bufbuild_es":"^1.4.0-20240524201209-f0e53af8f2fc.3","@bufbuild/buf":"^1.28.1","@bufbuild/protoc-gen-es":"^1.6.0","@connectrpc/protoc-gen-connect-es":"^1.4.0","@types/express":"^4.17.21","@types/google-protobuf":"^3.15.5","@types/long":"^4.0.1","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitest/coverage-istanbul":"^0.34.5","@vitest/coverage-v8":"^0.34.5",axios:"^1.7.7","eslint-plugin-tsdoc":"^0.2.16",express:"^4.21.1",prettier:"^2.7.1","ts-node":"^10.9.1",typedoc:"^0.25.13",typescript:"^5.3.3","typescript-transform-paths":"^3.3.1",vite:"^5.0.12","vite-plugin-commonjs":"^0.10.1","vite-plugin-dts":"^3.9.1","vite-tsconfig-paths":"^4.3.1",vitest:"^0.34.5"},dependencies:{"@bufbuild/protobuf":"^1.6.0","@connectrpc/connect":"^1.4.0","@connectrpc/connect-web":"^1.4.0",long:"^5.2.0"}};function O0t(){return $=>async y=>(y.header.set("x-yorkie-user-agent",u2e.name+"/"+u2e.version),await $(y))}const L0t=$=>{try{if(JSON.stringify($)===void 0)return!1}catch{return!1}return!0};var b5=($=>($.Manual="manual",$.Realtime="realtime",$.RealtimePushOnly="realtime-pushonly",$.RealtimeSyncOff="realtime-syncoff",$))(b5||{}),c2e=($=>($.Deactivated="deactivated",$.Activated="activated",$))(c2e||{}),f2e=($=>($.SyncLoop="SyncLoop",$.WatchLoop="WatchLoop",$))(f2e||{});const vD={syncLoopDuration:50,retrySyncLoopDelay:1e3,reconnectStreamDelay:1e3},SH={maxRetries:1/0,initialRetryInterval:1e3,maxBackoff:2e4};class AH{constructor(y,x){a(this,"id"),a(this,"key"),a(this,"status"),a(this,"attachmentMap"),a(this,"apiKey"),a(this,"authTokenInjector"),a(this,"conditions"),a(this,"syncLoopDuration"),a(this,"reconnectStreamDelay"),a(this,"retrySyncLoopDelay"),a(this,"rpcClient"),a(this,"setAuthToken"),a(this,"taskQueue"),a(this,"processing",!1),a(this,"keepalive",!1),x=x||vD,this.key=x.key?x.key:Ge(),this.status="deactivated",this.attachmentMap=new Map,this.apiKey=x.apiKey||"",this.authTokenInjector=x.authTokenInjector,this.conditions={SyncLoop:!1,WatchLoop:!1},this.syncLoopDuration=x.syncLoopDuration??vD.syncLoopDuration,this.reconnectStreamDelay=x.reconnectStreamDelay??vD.reconnectStreamDelay,this.retrySyncLoopDelay=x.retrySyncLoopDelay??vD.retrySyncLoopDelay;const{authInterceptor:j,setToken:K}=y5(this.apiKey);this.setAuthToken=K,this.rpcClient=sr(oH,wd({baseUrl:y,interceptors:[j,O0t()],fetch:(ke,Fe)=>{const Ve={...Fe,keepalive:this.keepalive};return fetch(ke,Ve)}})),this.taskQueue=[]}async activate(){if(this.isActive())return Promise.resolve();if(this.authTokenInjector){const y=await this.authTokenInjector();this.setAuthToken(y)}return this.enqueueTask(async()=>this.rpcClient.activateClient({clientKey:this.key},{headers:{"x-shard-key":this.apiKey}}).then(y=>{this.id=y.clientId,this.status="activated",this.runSyncLoop(),Pe.info(`[AC] c:"${this.getKey()}" activated, id:"${this.id}"`)}).catch(async y=>{throw Pe.error(`[AC] c:"${this.getKey()}" err :`,y),await this.handleConnectError(y),y}))}deactivate(y={keepalive:!1}){if(this.status==="deactivated")return Promise.resolve();const x=async()=>{try{await this.rpcClient.deactivateClient({clientId:this.id},{headers:{"x-shard-key":this.apiKey}}),this.deactivateInternal(),Pe.info(`[DC] c"${this.getKey()}" deactivated`)}catch(j){throw Pe.error(`[DC] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j}};if(y.keepalive){this.keepalive=!0;const j=x();return this.keepalive=!1,j}return this.enqueueTask(x)}attach(y,x={}){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);if(y.getStatus()!==_l.Detached)throw new Xt(Vt.ErrDocumentNotDetached,`${y.getKey()} is not detached`);y.setActor(this.id),y.update((ke,Fe)=>Fe.set(x.initialPresence||{}));const j=y.subscribe("local-broadcast",async ke=>{var Fe;const{topic:Ve,payload:it}=ke.value,ct=(Fe=ke.options)==null?void 0:Fe.error,It=ke.options;try{await this.broadcast(y.getKey(),Ve,it,It)}catch(fn){fn instanceof Error&&ct?.(fn)}}),K=x.syncMode??"realtime";return this.enqueueTask(async()=>this.rpcClient.attachDocument({clientId:this.id,changePack:W.toChangePack(y.createChangePack())},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(async ke=>{const Fe=W.fromChangePack(ke.changePack);if(y.applyChangePack(Fe),y.getStatus()===_l.Removed)return y;y.applyStatus(_l.Attached),this.attachmentMap.set(y.getKey(),new lt(this.reconnectStreamDelay,y,ke.documentId,K,j)),K!=="manual"&&await this.runWatchLoop(y.getKey()),Pe.info(`[AD] c:"${this.getKey()}" attaches d:"${y.getKey()}"`);const Ve=y.getRootObject();if(x.initialRoot){const it=x.initialRoot;y.update(ct=>{for(const[It,fn]of Object.entries(it))if(!Ve.has(It)){const Cn=It;ct[Cn]=fn}})}return y}).catch(async ke=>{throw Pe.error(`[AD] c:"${this.getKey()}" err :`,ke),await this.handleConnectError(ke),ke}))}detach(y,x={}){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const j=this.attachmentMap.get(y.getKey());if(!j)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);return y.update((K,ke)=>ke.clear()),this.enqueueTask(async()=>this.rpcClient.detachDocument({clientId:this.id,documentId:j.docID,changePack:W.toChangePack(y.createChangePack()),removeIfNotAttached:x.removeIfNotAttached??!1},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(K=>{const ke=W.fromChangePack(K.changePack);return y.applyChangePack(ke),y.getStatus()!==_l.Removed&&y.applyStatus(_l.Detached),this.detachInternal(y.getKey()),Pe.info(`[DD] c:"${this.getKey()}" detaches d:"${y.getKey()}"`),y}).catch(async K=>{throw Pe.error(`[DD] c:"${this.getKey()}" err :`,K),await this.handleConnectError(K),K}))}async changeSyncMode(y,x){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const j=this.attachmentMap.get(y.getKey());if(!j)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);const K=j.syncMode;return K===x?y:(j.changeSyncMode(x),x==="manual"?(j.cancelWatchStream(),y):(x==="realtime"&&(j.remoteChangeEventReceived=!0),K==="manual"&&await this.runWatchLoop(y.getKey()),y))}sync(y){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);if(y){const x=this.attachmentMap.get(y.getKey());if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);return this.enqueueTask(async()=>this.syncInternal(x,"realtime").catch(async j=>{throw Pe.error(`[SY] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j}))}return this.enqueueTask(async()=>{const x=[];for(const[,j]of this.attachmentMap)x.push(this.syncInternal(j,j.syncMode));return Promise.all(x).catch(async j=>{throw Pe.error(`[SY] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j})})}remove(y){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const x=this.attachmentMap.get(y.getKey());if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);y.setActor(this.id);const j=W.toChangePack(y.createChangePack());return j.isRemoved=!0,this.enqueueTask(async()=>this.rpcClient.removeDocument({clientId:this.id,documentId:x.docID,changePack:j},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(K=>{const ke=W.fromChangePack(K.changePack);y.applyChangePack(ke),this.detachInternal(y.getKey()),Pe.info(`[RD] c:"${this.getKey()}" removes d:"${y.getKey()}"`)}).catch(async K=>{throw Pe.error(`[RD] c:"${this.getKey()}" err :`,K),await this.handleConnectError(K),K}))}getID(){return this.id}getKey(){return this.key}isActive(){return this.status==="activated"}getStatus(){return this.status}getCondition(y){return this.conditions[y]}broadcast(y,x,j,K){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const ke=this.attachmentMap.get(y);if(!ke)throw new Xt(Vt.ErrDocumentNotAttached,`${y} is not attached`);if(!L0t(j))throw new Xt(Vt.ErrInvalidArgument,"payload is not serializable");const Fe=K?.maxRetries??SH.maxRetries,Ve=SH.maxBackoff;let it=0;const ct=fn=>Math.min(SH.initialRetryInterval*2**fn,Ve),It=async()=>this.enqueueTask(async()=>this.rpcClient.broadcast({clientId:this.id,documentId:ke.docID,topic:x,payload:new TextEncoder().encode(JSON.stringify(j))},{headers:{"x-shard-key":`${this.apiKey}/${y}`}}).then(()=>{Pe.info(`[BC] c:"${this.getKey()}" broadcasts d:"${y}" t:"${x}"`)}).catch(async fn=>{if(Pe.error(`[BC] c:"${this.getKey()}" err:`,fn),await this.handleConnectError(fn))if(fn instanceof m&&jm(fn)===Vt.ErrUnauthenticated&&ke.doc.publish([{type:bo.AuthError,value:{reason:Ky(fn).reason,method:"Broadcast"}}]),itIt(),ct(it-1)),Pe.info(`[BC] c:"${this.getKey()}" retry attempt ${it}/${Fe}`);else throw Pe.error(`[BC] c:"${this.getKey()}" exceeded maximum retry attempts`),fn;else throw fn}));return It()}runSyncLoop(){const y=()=>{if(!this.isActive()){Pe.debug(`[SL] c:"${this.getKey()}" exit sync loop`),this.conditions.SyncLoop=!1;return}const x=[];for(const[,j]of this.attachmentMap)j.needRealtimeSync()&&(j.remoteChangeEventReceived=!1,x.push(this.syncInternal(j,j.syncMode).catch(async K=>{throw K instanceof m&&jm(K)===Vt.ErrUnauthenticated&&j.doc.publish([{type:bo.AuthError,value:{reason:Ky(K).reason,method:"PushPull"}}]),K})));Promise.all(x).then(()=>setTimeout(y,this.syncLoopDuration)).catch(async j=>{Pe.error(`[SL] c:"${this.getKey()}" sync failed:`,j),await this.handleConnectError(j)?setTimeout(y,this.retrySyncLoopDelay):this.conditions.SyncLoop=!1})};Pe.debug(`[SL] c:"${this.getKey()}" run sync loop`),this.conditions.SyncLoop=!0,y()}async runWatchLoop(y){const x=this.attachmentMap.get(y);if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y} is not attached`);return this.conditions.WatchLoop=!0,x.runWatchLoop(j=>{if(!this.isActive())return this.conditions.WatchLoop=!1,Promise.reject(new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`));const K=new AbortController,ke=this.rpcClient.watchDocument({clientId:this.id,documentId:x.docID},{headers:{"x-shard-key":`${this.apiKey}/${y}`},signal:K.signal});return x.doc.publish([{type:bo.ConnectionChanged,value:Nd.Connected}]),Pe.info(`[WD] c:"${this.getKey()}" watches d:"${y}"`),new Promise((Fe,Ve)=>{(async()=>{try{for await(const ct of ke)this.handleWatchDocumentsResponse(x,ct),ct.body.case==="initialization"&&Fe([ke,K])}catch(ct){x.doc.resetOnlineClients(),x.doc.publish([{type:bo.Initialized,source:qi.Local,value:x.doc.getPresences()}]),x.doc.publish([{type:bo.ConnectionChanged,value:Nd.Disconnected}]),Pe.debug(`[WD] c:"${this.getKey()}" unwatches`),await this.handleConnectError(ct)?(ct instanceof m&&jm(ct)===Vt.ErrUnauthenticated&&x.doc.publish([{type:bo.AuthError,value:{reason:Ky(ct).reason,method:"WatchDocuments"}}]),j()):this.conditions.WatchLoop=!1,Ve(ct)}})()})})}handleWatchDocumentsResponse(y,x){if(x.body.case==="event"&&x.body.value.type===Z.DOCUMENT_CHANGED){y.remoteChangeEventReceived=!0;return}y.doc.applyWatchStream(x)}deactivateInternal(){this.status="deactivated";for(const[y,x]of this.attachmentMap)this.detachInternal(y),x.doc.applyStatus(_l.Detached)}detachInternal(y){const x=this.attachmentMap.get(y);x&&(x.cancelWatchStream(),x.unsubscribeBroadcastEvent(),this.attachmentMap.delete(y))}syncInternal(y,x){const{doc:j,docID:K}=y,ke=j.createChangePack();return this.rpcClient.pushPullChanges({clientId:this.id,documentId:K,changePack:W.toChangePack(ke),pushOnly:x==="realtime-pushonly"},{headers:{"x-shard-key":`${this.apiKey}/${j.getKey()}`}}).then(Fe=>{const Ve=W.fromChangePack(Fe.changePack);if(Ve.hasChanges()&&(y.syncMode==="realtime-pushonly"||y.syncMode==="realtime-syncoff"))return j;j.applyChangePack(Ve),y.doc.publish([{type:bo.SyncStatusChanged,value:Vs.Synced}]),j.getStatus()===_l.Removed&&this.detachInternal(j.getKey());const it=j.getKey(),ct=Ve.getChangeSize();return Pe.info(`[PP] c:"${this.getKey()}" sync d:"${it}", push:${ke.getChangeSize()} pull:${ct} cp:${Ve.getCheckpoint().toTestString()}`),j}).catch(async Fe=>{throw j.publish([{type:bo.SyncStatusChanged,value:Vs.SyncFailed}]),Pe.error(`[PP] c:"${this.getKey()}" err :`,Fe),Fe})}async handleConnectError(y){if(!(y instanceof m))return!1;if(y.code===g.Canceled||y.code===g.Unknown||y.code===g.ResourceExhausted||y.code===g.Unavailable)return!0;if(jm(y)===Vt.ErrUnauthenticated){if(this.authTokenInjector){const x=await this.authTokenInjector(Ky(y).reason);this.setAuthToken(x)}return!0}return(jm(y)===Vt.ErrClientNotActivated||jm(y)===Vt.ErrClientNotFound)&&this.deactivateInternal(),!1}enqueueTask(y){return new Promise((x,j)=>{this.taskQueue.push(()=>y().then(x).catch(j)),this.processing||this.processNext()})}async processNext(){if(this.taskQueue.length===0){this.processing=!1;return}try{this.processing=!0,await this.taskQueue.shift()()}catch{Pe.error(`[TQ] c:"${this.getKey()}" process failed, id:"${this.id}"`)}this.processNext()}}const B0t=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),P0t={Client:AH,Document:lp,Primitive:vo,Text:wr,Counter:fi,Tree:Gs,LogLevel:se,setLogLevel:Le,IntType:Pd.IntegerCnt,LongType:Pd.LongCnt};typeof globalThis<"u"&&(globalThis.yorkie={Client:AH,Document:lp,Primitive:vo,Text:wr,Counter:fi,Tree:Gs,LogLevel:se,setLogLevel:Le,IntType:Pd.IntegerCnt,LongType:Pd.LongCnt}),n.Change=op,n.Client=AH,n.ClientCondition=f2e,n.ClientStatus=c2e,n.Counter=fi,n.Devtools=B0t,n.DocEventType=bo,n.DocStatus=_l,n.DocSyncStatus=Vs,n.Document=lp,n.EventSourceDevPanel=jl,n.EventSourceSDK=Y1,n.LogLevel=se,n.OpSource=qi,n.Primitive=vo,n.StreamConnectionStatus=Nd,n.SyncMode=b5,n.Text=wr,n.TimeTicket=wl,n.Tree=Gs,n.VersionVector=G1,n.converter=W,n.default=P0t,n.setLogLevel=Le,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(zae,zae.exports);var GL=zae.exports;const x7=ls(GL);var uHe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(self,function(){return(()=>{var n={598:(a,o,s)=>{s.r(o),s.d(o,{default:()=>Ht});var l={};s.r(l),s.d(l,{alligator:()=>f,anteater:()=>d,armadillo:()=>h,auroch:()=>p,axolotl:()=>g,badger:()=>b,bat:()=>m,beaver:()=>v,buffalo:()=>w,camel:()=>k,capybara:()=>E,chameleon:()=>S,cheetah:()=>T,chinchilla:()=>L,chipmunk:()=>M,chupacabra:()=>D,cormorant:()=>I,coyote:()=>B,crow:()=>N,dingo:()=>O,dinosaur:()=>R,dolphin:()=>P,duck:()=>H,elephant:()=>F,ferret:()=>q,fox:()=>V,frog:()=>X,giraffe:()=>G,gopher:()=>J,grizzly:()=>te,hedgehog:()=>re,hippo:()=>Q,hyena:()=>ae,ibex:()=>le,ifrit:()=>oe,iguana:()=>ee,jackal:()=>ne,kangaroo:()=>ue,koala:()=>Ae,kraken:()=>ce,lemur:()=>be,leopard:()=>ge,liger:()=>ve,llama:()=>ie,manatee:()=>he,mink:()=>$e,monkey:()=>De,moose:()=>Ie,narwhal:()=>Be,orangutan:()=>we,otter:()=>je,panda:()=>Oe,penguin:()=>Re,platypus:()=>ye,pumpkin:()=>fe,python:()=>de,quagga:()=>xe,rabbit:()=>Ye,raccoon:()=>Ze,rhino:()=>st,sheep:()=>at,shrew:()=>rt,skunk:()=>et,squirrel:()=>Ot,tiger:()=>jt,turtle:()=>xt,walrus:()=>pt,wolf:()=>_t,wolverine:()=>ht,wombat:()=>yt});const u=["abandoned","able","absolute","adorable","adventurous","academic","acceptable","acclaimed","accomplished","accurate","aching","acidic","acrobatic","active","actual","adept","admirable","admired","adolescent","adorable","adored","advanced","afraid","affectionate","aged","aggravating","aggressive","agile","agitated","agonizing","agreeable","ajar","alarmed","alarming","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","amusing","anchored","ancient","angelic","angry","anguished","animated","annual","another","antique","anxious","any","apprehensive","appropriate","apt","arctic","arid","aromatic","artistic","ashamed","assured","astonishing","athletic","attached","attentive","attractive","austere","authentic","authorized","automatic","avaricious","average","aware","awesome","awful","awkward","babyish","bad","back","baggy","bare","barren","basic","beautiful","belated","beloved","beneficial","better","best","bewitched","big","big-hearted","biodegradable","bite-sized","bitter","black","black-and-white","bland","blank","blaring","bleak","blind","blissful","blond","blue","blushing","bogus","boiling","bold","bony","boring","bossy","both","bouncy","bountiful","bowed","brave","breakable","brief","bright","brilliant","brisk","broken","bronze","brown","bruised","bubbly","bulky","bumpy","buoyant","burdensome","burly","bustling","busy","buttery","buzzing","calculating","calm","candid","canine","capital","carefree","careful","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","cheery","chief","chilly","chubby","circular","classic","clean","clear","clear-cut","clever","close","closed","cloudy","clueless","clumsy","cluttered","coarse","cold","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complex","complicated","composed","concerned","concrete","confused","conscious","considerate","constant","content","conventional","cooked","cool","cooperative","coordinated","corny","corrupt","costly","courageous","courteous","crafty","crazy","creamy","creative","creepy","criminal","crisp","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cultured","cumbersome","curly","curvy","cute","cylindrical","damaged","damp","dangerous","dapper","daring","darling","dark","dazzling","dead","deadly","deafening","dear","dearest","decent","decimal","decisive","deep","defenseless","defensive","defiant","deficient","definite","definitive","delayed","delectable","delicious","delightful","delirious","demanding","dense","dental","dependable","dependent","descriptive","deserted","detailed","determined","devoted","different","difficult","digital","diligent","dim","dimpled","dimwitted","direct","disastrous","discrete","disfigured","disgusting","disloyal","dismal","distant","downright","dreary","dirty","disguised","dishonest","dismal","distant","distinct","distorted","dizzy","dopey","doting","double","downright","drab","drafty","dramatic","dreary","droopy","dry","dual","dull","dutiful","each","eager","earnest","early","easy","easy-going","ecstatic","edible","educated","elaborate","elastic","elated","elderly","electric","elegant","elementary","elliptical","embarrassed","embellished","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enormous","enraged","entire","envious","equal","equatorial","essential","esteemed","ethical","euphoric","even","evergreen","everlasting","every","evil","exalted","excellent","exemplary","exhausted","excitable","excited","exciting","exotic","expensive","experienced","expert","extraneous","extroverted","extra-large","extra-small","fabulous","failing","faint","fair","faithful","fake","false","familiar","famous","fancy","fantastic","far","faraway","far-flung","far-off","fast","fat","fatal","fatherly","favorable","favorite","fearful","fearless","feisty","feline","female","feminine","few","fickle","filthy","fine","finished","firm","first","firsthand","fitting","fixed","flaky","flamboyant","flashy","flat","flawed","flawless","flickering","flimsy","flippant","flowery","fluffy","fluid","flustered","focused","fond","foolhardy","foolish","forceful","forked","formal","forsaken","forthright","fortunate","fragrant","frail","frank","frayed","free","French","fresh","frequent","friendly","frightened","frightening","frigid","frilly","frizzy","frivolous","front","frosty","frozen","frugal","fruitful","full","fumbling","functional","funny","fussy","fuzzy","gargantuan","gaseous","general","generous","gentle","genuine","giant","giddy","gigantic","gifted","giving","glamorous","glaring","glass","gleaming","gleeful","glistening","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grand","grandiose","granular","grateful","grave","gray","great","greedy","green","gregarious","grim","grimy","gripping","grizzled","gross","grotesque","grouchy","grounded","growing","growling","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","half","handmade","handsome","handy","happy","happy-go-lucky","hard","hard-to-find","harmful","harmless","harmonious","harsh","hasty","hateful","haunting","healthy","heartfelt","hearty","heavenly","heavy","hefty","helpful","helpless","hidden","hideous","high","high-level","hilarious","hoarse","hollow","homely","honest","honorable","honored","hopeful","horrible","hospitable","hot","huge","humble","humiliating","humming","humongous","hungry","hurtful","husky","icky","icy","ideal","idealistic","identical","idle","idiotic","idolized","ignorant","ill","illegal","ill-fated","ill-informed","illiterate","illustrious","imaginary","imaginative","immaculate","immaterial","immediate","immense","impassioned","impeccable","impartial","imperfect","imperturbable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incompatible","incomplete","inconsequential","incredible","indelible","inexperienced","indolent","infamous","infantile","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","insubstantial","intelligent","intent","intentional","interesting","internal","international","intrepid","ironclad","irresponsible","irritating","itchy","jaded","jagged","jam-packed","jaunty","jealous","jittery","joint","jolly","jovial","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","jumpy","juvenile","kaleidoscopic","keen","key","kind","kindhearted","kindly","klutzy","knobby","knotty","knowledgeable","knowing","known","kooky","kosher","lame","lanky","large","last","lasting","late","lavish","lawful","lazy","leading","lean","leafy","left","legal","legitimate","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","loathsome","lone","lonely","long","long-term","loose","lopsided","lost","loud","lovable","lovely","loving","low","loyal","lucky","lumbering","luminous","lumpy","lustrous","luxurious","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","masculine","massive","mature","meager","mealy","mean","measly","meaty","medical","mediocre","medium","meek","mellow","melodic","memorable","menacing","merry","messy","metallic","mild","milky","mindless","miniature","minor","minty","miserable","miserly","misguided","misty","mixed","modern","modest","moist","monstrous","monthly","monumental","moral","mortified","motherly","motionless","mountainous","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","naive","narrow","nasty","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","noisy","nonstop","normal","notable","noted","noteworthy","novel","noxious","numb","nutritious","nutty","obedient","obese","oblong","oily","oblong","obvious","occasional","odd","oddball","offbeat","offensive","official","old","old-fashioned","only","open","optimal","optimistic","opulent","orange","orderly","organic","ornate","ornery","ordinary","original","other","our","outlying","outgoing","outlandish","outrageous","outstanding","oval","overcooked","overdue","overjoyed","overlooked","palatable","pale","paltry","parallel","parched","partial","passionate","past","pastel","peaceful","peppery","perfect","perfumed","periodic","perky","personal","pertinent","pesky","pessimistic","petty","phony","physical","piercing","pink","pitiful","plain","plaintive","plastic","playful","pleasant","pleased","pleasing","plump","plush","polished","polite","political","pointed","pointless","poised","poor","popular","portly","posh","positive","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","precious","previous","pricey","prickly","primary","prime","pristine","private","prize","probable","productive","profitable","profuse","proper","proud","prudent","punctual","pungent","puny","pure","purple","pushy","putrid","puzzled","puzzling","quaint","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quirky","quixotic","quizzical","radiant","ragged","rapid","rare","rash","raw","recent","reckless","rectangular","ready","real","realistic","reasonable","red","reflecting","regal","regular","reliable","relieved","remarkable","remorseful","remote","repentant","required","respectful","responsible","repulsive","revolving","rewarding","rich","rigid","right","ringed","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","rundown","ruddy","rude","runny","rural","rusty","sad","safe","salty","same","sandy","sane","sarcastic","sardonic","satisfied","scaly","scarce","scared","scary","scented","scholarly","scientific","scornful","scratchy","scrawny","second","secondary","second-hand","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serious","serpentine","several","severe","shabby","shadowy","shady","shallow","shameful","shameless","sharp","shimmering","shiny","shocked","shocking","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silly","silver","similar","simple","simplistic","sinful","single","sizzling","skeletal","skinny","sleepy","slight","slim","slimy","slippery","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","solid","somber","some","spherical","sophisticated","sore","sorrowful","soulful","soupy","sour","Spanish","sparkling","sparse","specific","spectacular","speedy","spicy","spiffy","spirited","spiteful","splendid","spotless","spotted","spry","square","squeaky","squiggly","stable","staid","stained","stale","standard","starchy","stark","starry","steep","sticky","stiff","stimulating","stingy","stormy","straight","strange","steel","strict","strident","striking","striped","strong","studious","stunning","stupendous","stupid","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","suspicious","svelte","sweaty","sweet","sweltering","swift","sympathetic","tall","talkative","tame","tan","tangible","tart","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","terrific","testy","thankful","that","these","thick","thin","third","thirsty","this","thorough","thorny","those","thoughtful","threadbare","thrifty","thunderous","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","traumatic","treasured","tremendous","tragic","trained","tremendous","triangular","tricky","trifling","trim","trivial","troubled","true","trusting","trustworthy","trusty","truthful","tubby","turbulent","twin","ugly","ultimate","unacceptable","unaware","uncomfortable","uncommon","unconscious","understated","unequaled","uneven","unfinished","unfit","unfolded","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","united","unkempt","unknown","unlawful","unlined","unlucky","unnatural","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwitting","unwritten","upbeat","upright","upset","urban","usable","used","useful","useless","utilized","utter","vacant","vague","vain","valid","valuable","vapid","variable","vast","velvety","venerated","vengeful","verifiable","vibrant","vicious","victorious","vigilant","vigorous","villainous","violet","violent","virtual","virtuous","visible","vital","vivacious","vivid","voluminous","wan","warlike","warm","warmhearted","warped","wary","wasteful","watchful","waterlogged","watery","wavy","wealthy","weak","weary","webbed","wee","weekly","weepy","weighty","weird","welcome","well-documented","well-groomed","well-informed","well-lit","well-made","well-off","well-to-do","well-worn","wet","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","wild","willing","wilted","winding","windy","winged","wiry","wise","witty","wobbly","woeful","wonderful","wooden","woozy","wordy","worldly","worn","worried","worrisome","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yawning","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty","zigzag"],c=["alligator","anteater","armadillo","auroch","axolotl","badger","bat","beaver","buffalo","camel","capybara","chameleon","cheetah","chinchilla","chipmunk","chupacabra","cormorant","coyote","crow","dingo","dinosaur","dolphin","duck","elephant","ferret","fox","frog","giraffe","gopher","grizzly","hedgehog","hippo","hyena","ibex","ifrit","iguana","jackal","kangaroo","koala","kraken","lemur","leopard","liger","llama","manatee","mink","monkey","moose","narwhal","orangutan","otter","panda","penguin","platypus","pumpkin","python","quagga","rabbit","raccoon","rhino","sheep","shrew","skunk","squirrel","tiger","turtle","walrus","wolf","wolverine","wombat"],f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAABBgn88g74Bwv6/fj0BQMPzvtkoAAAL/SURBVHja7ZrLkqwgDIYH5C6ief+XPQsRvKBIDzk9i3wrqqkivwRDEvvnhyAIgiAIgiAIgiCIPwVrgA9CAgBIMfC3M5EeApSAjBY7Q1zo3ZRQOAIMHNF2m7H6NGUQBHAHF9ZN4OI643hvAVxCAcmfZroKKFoBEIyJ8ozrK8DADdbezZieAtSdFdD6dkp1FCDgA0Q/AQo+QnUTYD8TYLsJcJ8JGLsJ2B80b+7k+Gk8HdBuAk6vd9kjkjM2HH/CEBDOO5KYGWPM374H/0nAKWCOvLuA8dYFjl1csL8SegkAZ+6iki/NjN98DQ/n4BuBaGX4XiiO0UC1CAjGeeiMey1ATRowmN8J4BMg4V8JCB7QGF4IGAARXxcgAJWlJmDAtQ+iIiAg2wf/LIBrbAGwPAoQ6PbBPglQ/ezIyThdPgQPArptQCzLrS6F4wcBnU6AnlNILxSSDwLmjuFui+q6RUCnK+BQBAwtAly3YHdTSQAAAL8X0OkEVKpZdS9AhI1pSkNh0nC0aeiGNPRzHhb6EabBBXrLnLn3aahlTsfS2kuuNAJMR3//QkBayuSuxpRL2zFmNGtyHOLQp+J7O/FHAWOLgHh+lE4J5AIAcWPCltGsjypzmuyOzzofWlq6IRBtS4mcxTsAiBsjU7uH+/S2r+uHQ8LsHvP4p1AsV/Uh135zbnCsK2meHlXz1UPbxoyldsSiWy4jsS4Vw6fMJa7LWylWD8XdWHIfLJRC4dX+43U8AIDJsWvIJziwKQ9F7vxsoUvzYzXsVqeYxoSEA4DOondDr3Zr55ibLw9x9rV3rtjRnFjtOt5t2ofDXySl6BkhuEpa7rAF1AoThZyU1ksz5LIg1GtD1Lx4fFOeIyqIl0qtOMVTML9s0Vgk++Z1k0qhvI2ipU0XHJ79l00qZUeNY7+lTRfeYFv83+vT7YGl2lPSgWEKqHbVBGe4AhhbHg6tCwhfz68E8dI8lgDGlL2kQNIifb6/PQyzcdEZ0pm5/P8FRv8UIQiCIAiCIAiCIIg/xT8d3S33YbUCQgAAAABJRU5ErkJggg==",d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAFlSURBVGje7dhBboMwEIVhjlAbsw+0HCCR2DdtOQCEd/+rdEELjvyCZ+Ruos5/gE9jYRLjqrIsy7IsRW7LA7PL9nIgDADOJUINALcSYQQAXAuEHgDQmvBHwqVLe1MJvLkVCB6HXbLCJzLNGaFGtuVQCBB0PhIGibC+M1yoRcC6Di7IRliHoIJwhHUIKkhHAK5c8GIACxdGuXDjgnwRQMsExSKAiQmNRpiZ0GsEMEEFoE2FoBOmVPA6YUmFRifMB0In21Op0G8bVrY3HwuTcGOUC6dE2Bb4NRQK0kwwwYT/JfycN/1QKrgQE9PvGbRTCHfE5OhxNyPER6rJUSInRMeRSIj/SrJCTYWgEPYhYiEaIi+MVAgKwVNhHy0vOC40CqGnglcIIxWcQmi4MMiFmgu9XPBcGIuFRir47pUJXSddRUDpm9VwAc8l8N+o+Avi9Pj2YO1ju3WIH3HYLyPeK8uyLMuynrJvpv50Hre/CZ4AAAAASUVORK5CYII=",h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAKHSURBVGje7ZjNbqswEIVbXXXf8LMv5PIAjmBfp/K+gOf9X6UUg2OPx8Ymq0o+m0Si/Tg+M5iJX16ysrKysv6IXi8etS3zXXqPIJQdADRPEHqA5wgdPEnYAOcJ/QaAccmj/VUioQCDINS3O0shCJOgv1/jCQOQBPiKJZTgIZiIIMGwAJORySIeRTAtYAKwGEIdIkwxBBEi6HUECPietU2Qx4TB/g9M2JMIEESYMB96QMt2COyQgE3rp9S2ECB0eNldaj8gADQd2Q5+QukQRGJXVw6BaoYQoQ4SFgvdfEDAQQK3LQz71hlPmC0LvV6KQ1i20ytVCphMC/0jTkxYL0kWJvDeyBMRqv1SGSDIwqypTfinF12AX9Iqqk1409duECXm9WDcJ6jRyWGANEmHUCYSlmXgaqaaGB1CqonJ7clUE0RXJxIa98lKNMFdQqKJmXi600xMBCHNhKR2GJGEIAhFWhAfz+ZAEdZF3LvzhEK9FaPz/KY7ihObdTRBbFN0fZZQ7nP4aQ/VPh2Is4Stls1/z8bqzGoOQYR3xWNCsIg8hlAkWFB//IkIoRrOmFBRPUnWcCBz3FoGE6gg5w4NXxYBP91kgHSOW9MhAhWkLOkcVeWnIEG5Hys6R1V5vNM+SiHbvT9ZTeeoisl9hLte57x/OFpvwDxv/6/HYNxcPDmuMUj81uvM3imMkYrIcdvMSII0Wo6rj9GzCI4JwnSs1qn6htGVAGeGsSp/a9fpdPsgLcw0gV8ipHdDisBiCIKeJ1/pJ8h7tsJpwhgNoObq4ImL1k0YGwZBiLu/blyXcBRDgX7uIQJdevJMQbK40yRXVcL5Q6iVrpfzhN8uv3rPgrKysrKysrIi9AOTm3lzorBBtQAAAABJRU5ErkJggg==",p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAJsSURBVGje7dhRcqQgEAbgXKERDmBlOYCpeAC3hgOg/Pe/yj7oKFGgG82kKlv2Y2rmC9JNN+Pb2x133HHHbwh6RyBJqB4dpQQFoJMIFpiSQgPIFtEDGFKCkQoA0OUESAWfEuxlwQkF/WphEArhNUJ/WYBQMN8jTFnBCwVcEWxZEBwMVxYmWVEX9gGtKJmFeuB7jEG5JvmN6DmBe4xm/pTPdhhglCwhLSx6uSzXD6UEDZ748/xMm5wXkEe62y/FJoqQFoxcSM8s0nKhTQtUsQ0ZwUoFnxOU/CEywrPguBgpKzTiJeQEWUmMVBCUdAlZgd4l1VQU+Of4IEbgiAUoCdsJTsVfEgil0txaYElQXCJZwbKZZATFVxMjWEE5FQWuKkdWYHtEywj8wRgZQdCmWrp6NsfyGhwAhFyDjUZaficfmB650+W1QxgE5yJ7PuNr2suFzPwbflKYJ+jn+jCPeZBQpTCtozgsg6RCoPl7tAp6+UOdsK1hmtdQJbiv+/DZ75MpE0rlwAqGS+YPCNGVartT0DnBN+eE7VI2rE0nnBOmLS+VgttamkklUy50255UCiZqzH0imWIhRBOgUmiilTeJZPKCjv6vOiWoZy63IVIpUFwC5pTQR2uwx2QKBLfOqWQ5CAS7F4ZawVwWmr1AtYK+LKidMFULtBNCvdADCBpeo7M4vhIQCA7AqOA1BnMsB4lgAQSC12gtjm9XBIIBMJHzeiJ3LAeJ0ABAq73u6OsvC7Gg17tjkygHiaCefVL1iXKQCMu7r0Gn+otMcNnJLxXs8WdqpRDf0o8v/CRCvIjunLDtxAeJhDvuuOP/in/ityNMHXEf0AAAAABJRU5ErkJggg==",g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACC/cDDvEN+Az0BQn2CPr8pKUQEAAAV+SURBVHja7VrbloQoDFzuBCRS//+z++C1pxVB6bMPax5nbClzrST8888rr7zyyiuvvLIX0UOkAnTh/78GYCwA+d8BcB4Aif8OgAIQHNn4KwBmoKQCZgkqUXS7f2sAIIvwCw1IHteTP8SnYQYh7fQX63oDcEPyKEkeFgMAsKavD0idcS1eu7ieL2U3AI4VKsXOBlAK8J0AOLK4I8H0AXD3eO7kA+nW8fCkTRcAEffF9QDgMgCrRh1nn45V4QAgy15h+KVKSTU2cD+oBS5ZAEFRjWMG1x9AbosD1x1AY0SmHxQjFy/qwYfo7gBiatLBaUG6DSA3ZgL1E0JiwmMjPAKwJYEKc5ywkhoAw/n5ngIAH2WFCj646dAC4KyYy2gEzW+uMcIuIbvQAqBQSoSFj6ISwC4ZDGgCMJwD4OmzJNpUMLYBSJfuOFQBGNfnvWoCULLB8kVV2citeBsB0BUA35YLVBuAUCC1c0KqZWcrt0otABTAZQDVbDEuL6QWAIQLFci2shwBNCUiRnnGIKi+KLq5YzPVAIwR5qK/lA1FkaeQtUJwrQaCEbY8ZWjpF+QUMVmwqgVA1iSU5iwt/QLN9mJGtQYk7AAA+QxAAyfwbpoZeF7dusIJE2zYQuiBBwJxZlJ5M2kJwPip4uP+wjScn7eisTj1WAKwmEkdMYq1sKMlBp39fJdGCYCdYa5eZp5FwLAVrfnNztoSgLw43qKC72EXtxkg/qFnGbkEQC8ZM54xW2PbDOA/FaABLgGQ65OLCuxnMnD2ngFmBRgLuGIYqqWfMMftRcpEsSBEOezK0PBZlV0AcjkP8AqWLnu88x5ummfKnb7i6r/DRSKy69PLl9gDcn4ibjfG8OrrI3hSRRkArQ6zxvuwn9WqCyrmFc1jW7nRtnGzKpcBkHF2Dr5hjfg5Ms1Y3ZsHLffEOQoXZ//1whQzofTMs/+kPO4HXtyQ/wBAbR8ATyHOJo3sZdEEhDFPmtoFnBbs0SyePzr1BABjgr7wgQA/5+Dt9z7gmVg37RFygLpyQrP9JqGXxMkdvIWVl3yAtjFXLwS8JXBdQUjClsjGHsf7uFUEVcOI9mglPT4/7DLKlGAuKZneEer8XANpM2Ws5IR5HbRRDxuoP5TgGsBWxNFTVD0rNn1P/sNwa3vDzmJN05yQf3d+DQCSxwgsxVguC55jPBqrWyMM1wPQCKM6eovJusjLc8z6sHMYk195ReWA4jCle8BsQXJQdDxgjnsnOzz2AS+EAmQhQ4/zAwfda5sPCCGMP4pjp03JQ2l+4Btids3TckcHWf2iOx73txhOVwfV4/qTgVdhRLjkGokuANTJJixdDae/o6ATAFiWblBlLurcQaagWwCoXx7kWwCKoyj79zND5eKiZWdki7XtI+P6qMus6BaAsbybdXr56sxle/FNAOV5aJBCuMjE0U17/trtWcParsyKLS0vZtuyP2y5wHDRkdmkY+SrpjU8WFzGvlTkxua0AzManq1uU9ccdGd3TL3Pb15e8wOOfnirsHl7bm6PB5TstL6/d6HL8tP7A5JTQDLrFZ6248kJERUUxXsAzHp7UkUhhNNNY6LA0/FLrXCNAORndlODEEIYqnQGpaXYHb/Uq3oAUR10PMtlMsqqIJl40vj3WM/XdkaHlc2TabvdfGQxb2oAHG5kkmueWLt0VhYqp2Q1N4Kurzh/r1AuASgAQX9EvnW3AMj9O7LOlVMyVnpuztf703zzlveizGwnCseZKsOQAfghzlzXi7vipzcEN+4v+F0DGKaYUUDQDxQwDfwGC7CQaescrwFwihMbspKeKEA4AJEnUiZ1bqwFCd4IKl8TvxIGouA/+89aAGNyQtCj84WINgoRczWAV1555ZVXXvk/yr8vE3pHmVRFsAAAAABJRU5ErkJggg==",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAALDSURBVGje7ZhdlpwgEIUnyQou4gLMNAtwHBZg57CAVmr/W8mDrRSKUJjHWI8e/eRWXYqfj4877rjjjjv+s/iBOD4tEdH8tXsMKaGx9A7fXyI0xOJ5gaCJThEiQkO7GMWEYRgAwOwJMwA0w9AVCMuv+4MIohFQlojoT5awjh2A2xE6wK6jOSf8XKt3lDEDaNesnhN+vV+ZjrUYWXbnLMH3aNwIAAcRAA1Q3yVCB0B1wKY66AK6pUp5Qih6ywlTeF4i9GlPMT9ZemWqGb16SMP6OE+Y+M92aViH1mcIlr9rdpbennYZQstlMEe8AsGRL7jap1IZ8vsgmrIzy/FMJBLZEFGfJWiuOUwurswX+oNjmm2iFERjgaBZ6U2iFNYXe9Rj0TtwX78ADEs2dSfsk45GVs4XoLkUCYHoxcrZAy2fdHnC70BQCcJnmWCfmwowO7xVPKhMcPRcMwluh6Ff7FAmcAe6naEUCQl+byluEBFhm582NpQmMcGnCU5OWAdhIoKmCoKP2vXM8yqpZhhERFAkJFi2PkQEU0dYPNHyLslaRZ5g2FecoNl48oSW/YsTbC2BupigeN/PExr2KiNovoDmCeq4aXmxntkLepQLMhgh6vsFgg3jDa5uor5fILRh0xH6g4l2IgXC1l+/vrf1Yoh3IqVeTZnoRARzDvCy9UKfE0bhiuMKIsqEUxmzdNVrCiIE6+aZDPnK26YBk5yg8iIkq7/LmEFG0FkREoLKmEG4hzE5ESKCDtPSHnfGEgLYj93hgCAimFBAvd9TVp2aw3jGWsIy9jlsI+rP/m1MmOoJKpjI7kRIbzAcH4O/cgeieSanKwTFq9lduskxwVH+2l2QXq6SbOzoGgKSR94qQuqUVEdoUvdAVQS+lbhIMIfLh1qCSouoICwyPP6BoI+3epUEPI6lrCS873/EhDvuuOOOO+44ib9ci0H+lvoC1QAAAABJRU5ErkJggg==",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAJ2SURBVGje7dfNbpwwEAfwpGruHT7uJSs/AKl8Lwk8AIb/+79KDxjsscesLbU9eaRI2bX3x9hYMPPyUqNGjRo1atQojVdiMVAcwXc/boXHKgjLlC88MAqCwpQrtOBzbfTAkCc04FM9eMsTNAABoA6AyREeuBG85SWFBpfQ8BvZAf46ksLihP7cjXa6BHw8E1p4wspOwiFcm5wStC9s58J8wdwLNgUr2IOlmHAmkRC0P6s/9q2xd+DUzZ3Q2EnHT+whbN1HeLdDFlQomCMvJti1icKVAtbzJwO1J7iAJSEK7SUYdtFD0NfHISlcV8EuCOAZSoJbxHE7udC5wS0ltJ4wRULvjQ4JYQFPtAdmAPMhhKOS4E3BTkQ9DCkYeybDUUHwFwEQUY/V/k1sG45lCIJic8bjVGtspDEJo4Kg2RwT7GQ0GgsNECTqC3yJ2CShC4SRCSoYlYQe4WU8IUwQkyAs4aTRE8IUsAqCDidtTvgMx2AEIZoEDez0ixYg0rHHQgcx3jHJA7HQyhM1dnlgiIQeZTFFgioUxkhYCoU1EnShYCKhEMD+94VvpcIWCt9LBVThXwlvxcLv58L2df43z4Lw8+kqPq/31EREX+X74Iqv0RXLJcLHVdttrNjNFnbXU5zNSqOLhMHV6QPxgjlPcG2E35ToW4E/H1ybtex+o5X/hCFR6PIFIwtsGfvts3pMCOr2WW2Ffe5mv9NjQrvN77NOCeo8ykGbaqKO7ZF44/RB+ueBGKTmV3zrBd3kbWjx3Z3qdCnV/UoVSG4KRFqqQGjJToGoFesotWUD1GCUqsH8RRDpQapIxwJBxRVpjRo1atSoUaPG/4s/rlXskknqYaUAAAAASUVORK5CYII=",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACCAr78Qn89gMFCPQO/fcCsi9/cAAAMASURBVHja7ZrZcuQgDEUjVhuzmP//2TykEy8NSGA7M1XRfexSzAnmSgLz8cFisVgsFovFYrH+Q0FBQiqtpABUrcBxAGPzl6xpD98OHAYwU/7W1CRAAocBdN6kWwBI4CjAnPea6+NjgaMA0+G5Ux0ACxwFyEe9fnWL9FprraQMphX4BICZVTz8lvzyiwBB5YKSFL8EoDNRTwFkBmAABmAABvjbAEk2a1H09lkABQCyPn4yAOFRANd+JeuhM30CQPwLALcbwQLA2n4F7jhd1wHcofvT0rYWYZJ+C4/uDgCTCuMoWZB/i4ziOoCZCuPLysYsngNP+7MRgOKEB8LOrEQwAOCLb5o8A6cdYj/AXMl35e1/kdZeAQi1xW6LRxNobC+Ai1W7BdIK2GWnEYCiAeub/+p0bfv0PoCiARub/4QH9wE0M15O5xOYtVWk3QCAR7oNiVvwjaAHYMbanZMVPSW6A8DhDZclWPCUEukALhJavkCw4JGADNA2QMGKgRZOBiCegcwUC+7fGRUg0MbfrLjS4h0VwBEBvq1o4s0A4PaNTkStWLdg3D/IjbVkFrWiIKerEYAVt6Ik14wBACwhKgzg0Jv3A1QTUtrlghdAbBeiIQARqzP/QtsAbC197frSXoBqQtQA4NIBQNbz4UbQC6CbGcjYDSAFaCwGOwhgsUoo/KQBYFUzsmD9EMCKVtfW95qiGbsAEAPG5dQRKULp7gHAOwK9d7hEwr/M2AEgIrkUAQAYWuWkA5A6komeMHs7ImJHYmgVa8vaZADf2xGRGgIPdzcktnSK1JC4vSX78QAtPpBfwarPii0fFC2r1PkZ64X7A7X/0QsAmEvjx1vvD7x9l8a1wM0AInaN7+FuAFh6xq984r8EQMl22D2PawDU/U/1EO0yAHUO6vdcrgKUDfdWpuv3bC4DgJt6ivQDAGCQOpUCPAsA4BqlOsr2PatbAKByhSTnJJF7XncBAIj1bS1Eu+AX3W4DAAAx+58SOSkZKH9DBmCxWCwWi8VisVisv6VPfRMX4lwxKWMAAAAASUVORK5CYII=",w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIzSURBVGje7dhNjqMwFATgPkKXwfuBiAOw4ABE8n74qftfZRYBgoEXP2Op1dK4VpFQPtmvDCL5+srJycnJycn54WBJ3QKmgjbfJ8Fwbg3n1+e6buMFS84kWwCGJOtooSFJsgfgSJLzI1J4AZyAcvnIsdILRe22r9UNtzzVwu5LfuStaAV5K3qBfLapwnWzccLVOHaCYRsUyLmSBcu+oCJjKwtTSVWeokBHZR6SoM97K3cFskoWVsJr8xaxE4pYYW6PZ9LFEuNR6GIF9gchehucj3fWrUV4wq1F+Hf36yGgnejgyP5iDRO0R2soyckXSpIcoD1aIxzpCzZuDSMsWXlCEzeHEQXZe0JkERPgOKScqAFoOO6FMl6wvmDvCPNeaOKFkky5uwfAeEL0XXESTLJgk4UmWXDJAn/BGtLnsN4WY13pnrknAY5k/Vhfje+c6uL9omWUQkf+Of862L8bhwRH/hUETTE9QFnQFFN9FGyyUCYLRid8mCR0woc2NaOsgNJ/0nrpVAJcLwpWJ1z9UtOPMiAU3um9vBIQdue6F66EhOaw2vOQQ8J7lBCuhITtXM9HwSiFrYzx9ONMKUCo4j2ioOCEKrZBBIVOqGLbYBsSrFDFdqYQEoxQxbbBoFBIVawbDAqQqljPSlhohCrWDYaFTqhiXV5YKIUq1uWFBSNVsTQdFiBVseAKwQlVLE0rhEaoYsEVgpWqePWkEAppkIDZJvRRQCNtAnDrpe/8z25OTs5/kH9FLOvnZmeyrQAAAABJRU5ErkJggg==",k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAKLSURBVGje7dlLcpwwEAZgO+UDBAH7qFIcgGTYW/boACD6/lcJ4ikGdautXsSL6ZVrCn0l+m80Nfjl5VnP+pb1WuzVuIJZPxHBglSA/y9U2YK6L/UJY6bQwVaZQglSwa6ru2xhWn2bFFPmCm+ToBupME2j4C7e/EJRJyehrUTCj2ldI0tTF0o4D/6pFgpWOpPFb7HgS8WFu//0xhKqqGCxrUWEMnbpFjIMDKGOCNXeHzBpoYkIx8kDLi3YqxBs4bKJiBBpWRMKQ44Ap0oJ1VWozoL5iqA+p790fRb6hFAHgpozcN1ZGBNCE1zWQKxcQgjGt4R4JYTuEBpEMLRw3KxCAGhJIThpsZs4h0EJ2E2cw7gI9XGVxQTHFTpMAFKwh4ACpzAuQscRWkoATvWEoFjCSAgVSwCNCyVPcLhQ84Sgl4+CZQpOLBybeBS4ADgdF3hhzjXEBWaYc+mowAwz3MSDUHOX/903kSsMdpvtXGH0PW8lAvgz0IkEvW0iO81220S20M/HmWSq5+8TJ3my/GL7J/+EgeOYyjsnfRlEwL/qIq2MC+xNDJjA7oRDBfZM4ALXMITAm6tWLPRiYRQLIBe0WDBioRcLo1hwYgHkgkkJtztWYSujggo2Ga1muWBIPZu4UAZhEALxjnM7yBIC9QaiO1qZKayNaGmhJ4TqCCNTCH5a5wp2bzYhGEpY89T5gtrDIARNCWuePSmQwJrnIBD2ucWF1Iv7ba5xIfVaza6tzBfqda5xoU8Iam1lvrDkORJCmxKWPAnBpIRlsLVAWPJscUEnhTnPHheSwJLnKBHmPB0qcN70znn+kghznu+YMDCEEhUUZ6C2RkT7UFT3DwZQ+H89nSfqWc/6NvUPwbor78tEf3oAAAAASUVORK5CYII=",E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIiSURBVGje7ZjZbcMwEETTgkS6AAtgATbCAoSABeiY/lvJR2Tz3uWBAEHA+Taexd3hHvz4GBoaGvr7mjzN2CdWJEEDWxdhBnB0EQQAdBFug2AJzw7CDABgTZUnSFw6Wwn6RcCjjWBgtbYQhAPAsdYTJDzt9QTtE/BZSzAIda8jiAhAhCJFkEhoryHoFCFrrARBIa1HKeEnCM9liUhrGUHaTw4RRxnB5AnpUESE68epU6RDERIESN15gqEJCWOFBDDaOYLkCPEdCwiCJUShCAg3nhCGop4QGisgqAJCYKwWgm+sJoJ3xyLCsVSGIiKcU8l37EQutiKCY6yIcEhdFIp7uydDY1XfiygUtXczDkVlfUgYq7JGJUKRq5MoviCZWo1yd2f6RcVH5HpWodJ9832Ooygdqd79BQBYVllkq/QMsyz39CiTOAa545iSY5AEVZINklB0v3oJYDc13pbspsbWKnZD4bRRBNNNUN2EsnL5q4S5myC6CVcyd91MuFLxuPUSmEJDZfM9KphGwvXXG5MUgjDbLq/bbpaw845oI9xsY5NtFUY5/dk0VTkF+wQimyqtN6johmovvelV5Lt3ljD7w2t+NM0ShD+7mqrOa5O5TZkHCWcEyRJUsM+Y8gnEif7rEFLVTEFu6E6m7J/US450c6mpNSNHmN1cVk2kbip22gznxBI2krAzL1rKNaShVhSCYA0ZLS3HsuZ2nKGhoaGh/6xvk0DROAm1K88AAAAASUVORK5CYII=",S="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAL7SURBVGje7ZlbltsgDIanPe0CsJ0F0NQLYJwsIMxhAQa0/610YjtcbEDInL5Fj7l8+SV0w/n4eNvb3vaf7AdL2R9WNozQK9NE6G4AtoVwhaedJ/QK2gg3gCbCFaCJ0N+hjXADaCJcAdoIf6GR0O0B5Iwa9wRyVn//6KRCgiYSegAee/IgEi6L6jAdOJEwwvzdES71YTgQ7t8EYEO9E0lCqAGVsCcMa+zdkVpOJHRbBqlqH/YEtQqPEnuaPusJh5Jw9jVNooLwE4pmBUr4BYhJjPD7+aEiQlcQBFnF3guEAAKNJEaw2GnaAYumxqsbM4522jtRRKLbK5qIBGGgiUjNLEwETsBEPPC5eafkRJLQUWKZnv5jmTDjhI7gRmaHGevdOEd44AQkJUxrHKKkShPQChUYAavP8DzTBKwywkCcyskoEElCjxNEmTDghLlMwJslGN5K8JvFaYI7jvOEV79sIGzncabLxW2ihbAWeRPBNhOWSLQRdDMBioRn5l+nxVQplnmCr76+6EaewFP95msnyJYILFHr8vVAIJgcWYJJSHjtgp0KApElzEcJfpn0CJ0mRGNJpbbRztd4liD2EuR2o18XdDcW84T9j0l/oZbh6zxHsLsRLEM5j+ANkSOYWIKMT4B73JwjzJEEudsI9OZqiSBCCfIwyLgrvyyBBxJk0DwndlVrJDZJJkcIJMggL8QWD+MCkSMY/yUZxFS7FHEVmyNol0wyzCzu5PAyYVqPQoWpPAY7+WVxp0RImQpqpT9FiJrOki9EQh+tsmcJpokw7AjilaNzLeEStq3uSehbCMsjp+EEQfvcsG7JEBSC8bmhXW2SCNY78XAdmFEI4AjWtQvLKPng+reSLgyaRtDscIeZGakuLDvMc8FItRncr8by7E7ZPVqFe2R/yB6GGyMK2WGyodwQfvYwAsHN8Gm64btc0kbKPpm0jrLTFk6jcq8uxrJqt6+MhCATOlV9x6nyw7AThPABbvmuV6HCVP+ndrBp+X7m6cHb3rbZP1AqE63tpeG6AAAAAElFTkSuQmCC",T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAMFSURBVGje7ZhRspwgEEXfFhplAZDnAkiNC3ASFiBy97+VfKhjg6CIlUo+7I9Xb4qZY9N9+4p+fT3xxBNP/N0gIiLSFIYwdBh7AqDYemODj0WEDp5dtUcNAeOWAgCqIPjPsqwhSACfbQS4KwT10wLwPwiAu0xoAXjM8a4iCIQx/gMCRYThNkH9BwS6TugAYGgBDPIGQYn1Ty1hajFh6M8FlSUAMBaoI8gZ4Km/SZhmdY71BGf0TQIUagntnIJV+F0gyRRhHs6xUxDcri4TXKtcWyCoFKFZ5EBkz10ySaC1F98lcjggLJwqgr0y3ElCd8VgzgnTbYKvIcjA5cxtwnCbMFUQxCWzPiY4jYozDCcY6k8dIkVoWCflqbBTBGJDIU/7eUgAUX/az2PCL3HezyShC9vpbxOOC1FEGC8TZERwtwmoIgyi0KiShBaAosL5TBIEgKEp7GeW4NeGeJvop9banBE2MTQ7Yc/r7wMChZ2MT1MiaHIJIToTNqFOCnPg/exDF04TbFyH6NHLK2q+lx6lCXwwvA372a8fXnMS54R4Prf/X4C/QBi2RkxssypDkHvCtC0Zpv6pPAf/WfK84j5JeCEVav3RFDTWZM+Ty7PizqgChQtAJQgWwcE6MqrQLIDx4GnRRPVYV/mcdpj2hJ5dU+76KULL6+GSz/5pwhQSWgxEMkWwOYJfpkKtVxozBL7vfi/skNACB4RhcQLX8X5+2tphJBKHBGjLDGLdxkeTmHeBfB1Y7g3bRr/sRgAqU4fUjbvbhN0u2ppJJQTHNLIUAu/VG471wAmSKaLng5LUpMzn4AKrNrm5kIk6WD5cry2hBhhOCRi2yzrmH24xApN+mxQl0UUnEaG1Xqew4F3Q0VkGcHmC684JLTBmCZ4am/Vr5vYmQWjWL/c7wrhLIb7jCK211uuXZc6uWQrRXa8JLyfzd75PU01IkGHRuuNCvpbCcEL4pCqyt04iIvoG5he6WUIi3nqLDXmFkN7VDYLbn+XaGkCoB3vh9yp1pn3iiSeeeCIXfwB4uELis2OycQAAAABJRU5ErkJggg==",L="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAJXSURBVGje7dhRcqQgEAbg7N4AhANorQdwKx6ApDyA6H//q+yDOuBINy1WbeWBfkqlKl9+oBlgPj5q1apVq9Z/qV8qKj3Cq1xxghkBrE+ECQDgHggjAGAuFzQAIDsTjNBsAsoF+wOE56N4PpNqE9YHwuN+6LcMbbEw4eEojpUAhkJhfAlLmRAi5EJQwhgJS4kwAdIQacGcAD5EWjhH4EMkBX38a0lPJIV9GuewIu6ecPxdJKz3hBHvo+BCJIT3acyEuAhdh2Q5qfAbRKVCfHXuhpAI8Q0s7oZwCWG2317mYRSH2I/Vi6DFIfaGv64mKSAxCGC9CvQwzvvrOE6uwkQKi1AwyIfQfzhBfWdDGGDgBPUFwFsmhAU8K5zO/lQIC+AQZsGJcw1hAbRZQTMzYQEMWcEwy2EAzJrsyXPTpkOMgN+F9q6whZiAxeaEhuuJBsAuOFLoqbZq92neBfLkNfwmjyJRQmZ/vTawF53+iWG8xjhTQkMDmOOIAyVYYKEEH++alhJ6YOY+7Wz4mb7DOG4ibJhWch5WuiOGIKz0TUwzPTUHYWZvxRPTUzYMSPBCSS1G9HoRvFAYwYteKEmhD831THCiN06ypaJNViaYaKNzQk+Oogm7tFDoo0/d/Ns/IZiwErxAtZSf4mtRibCGdsoIGmwNecGwwCJ48ypJBF7oBRF4YRJE4IVGEIEXlCBCRujZw1MikFcAJxVUdgxZIb0an0ouGOrgFAq668YcwArpefROLvT5IRQIn+qZ4Ft1S3hfyr+t/BuM61J2XSt8NdeqVatWrR9c/wCVkDxzGnSY8AAAAABJRU5ErkJggg==",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAL9AgBGoc7kAAAKESURBVGje7djbsaQgEAbgs1WbAF4CsGYIgKkxAFwIQPTPP5V9GHG8AN3C027Zb2c89RVC0y38/Nxxxx13/CPxS6wh0Yl4MIQKcGVCD0AVCRaALh5DkfAuHYMFyoQeAJKLQQgVluhyBekFlynUADmItNB/hSlLqAHguRBZQg/AifYjqBxBAphEg2RKpIQKW2HMED5LqfpsocIuMgR5FswafxhCjaPw3v45K1Loj8Jw+EFTwuH/4Y4/LBkSFX6DDEcKA0VMhDALchSKGMMLwFxRg6BmcmyoQcQFexJmY4yxxzSLC5/h6/a0fM2wW45EVr8AuG2ZglvysLYblOwXu0HPaxv6lk9KqAIZIITwRQMTKRyX4uGJl58I8i1keD/5dghFCn14P629RJPCKSf9gix2Rwr1KQ/n3ZOR/n6QUcIyhf68G5YFaQFgpoXQ5uy+r8EQglVCr084gg0VOOWfOIbQRmtkCwAMQQZry8wXYmXusWyanHxYF4QnJCqt5gky0XHeLAHAJFPlmiOovkiQmERVJDRPFdjhm8lgZFQksX1m8YS2WKiLhURWjEyhKhYSu4MrRAehuUJ0EIItNMWCb7WnUsUXwsR0RRCNDBWqK4IQ7+XL3m4axzXBJ/l3MCJPsNuanxZqA2dMYkpHQlhzwJjNWXHY98+UsN/TT6PPC8I66+3yZzi3voRQkYcDdGnB0oK6dNaL9G/y2558iQunxdDOTguSBKaL583wPBadN50oFbpSwYlSoSsVZlEqqFLhwbgDYU1jdk46xRFS+0Kz7oIqHpBVHzT3PsrScyBy6qS5fi+3S0Rz7WZvPxO7rsO9n/Q9K9D52De9Bm5ziXdNuOOOO/6j+AsX0lTQhRg5hgAAAABJRU5ErkJggg==",D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIhSURBVGje7dhRkqMgEAbguUKDOYDOeABTwwGsXQ8g+N//KvsQBTRoNzK1tbXF/5aU+WxoICYfHzU1NTU1NdlRLTFR7bXQIyZUZwDX7d6C5QQXLu6xxgbD8AKW9dpfiPK9vjlBIGAgIqIeu1giItIQCRh3gGs80UAouN0QLPmBGKmAReFdQDtBLMCkBIcMASkBmcJiSoX2AcBpwCkAy3RTsM36atB3Bd8HlSUsOi38FguzSgpOvqJmBcCao2BfS10s7Ds5P0oFZ0qF14s7gioV0BcL+FEBhFIhc1UXCbsj6p6A/0V4Hr+zPjMFR4eOtmTyBEuHEzp8D/61Gvw82P7mPPjMj9Jujk2h4IhMmbAQTWVC+3ryKRCIjguDE6bE89dBna+FQ++G7QHutvDsuq77zBI0v7uZ52pVLDS8QNcClQvsMWc5YeKEhRPYZgycwDZj5ATar6YtfbRTOGGKt0RIH7Y7J+hrYeCFJgyY1GsIbbTFR16I7zb5cuLKWEGHI7L3H4tYXoiGsR2yu6Hxgu/G4gdPj9AJibDd0Pk7tyYcvBLBF/HchC5MjUzwRbzvCaFwtkHXH/USoTnb2GLhpIgxQ9AXJcgEMsmzJUfQp/MoFRJFDJmCPptHsfBWxEK5gj4rQSwcigh/MskFnZ7HDGFXRFRChqCT85gjxEWM94QpWUKO0CRLyBH8THzTXWH9c+1J9wVSPewX5Qg1NTU1Nf9g/gCB2vn74kClTQAAAABJRU5ErkJggg==",I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAJ/SURBVGje7ZjdsaMwDIVvC8ZQgJOlAJi4ACbrAiCc/lvZh+SCY0tCxo+L3pLJfJH1cyT75+eyyy677P8wI9ttiD+dIDR4VRMw1RFMAIY6QgusdQQTgKcxPfA8S2gBuAAAy0mCCfi16SSh3QgrQ7hRdk+deFoAjiTsf/Flr8SJwfTATBJ6mhAXUgBgTA+8SAIDiKugBTAZAEsRIXFi7VlC4AhRJLrPVzTBK45hRYJhnYg66vM3dC6M5RAuc4IhmOY4lB8nJq6qmaKaM4Jj++JBEpYvqQIAobPowtwA4y9S6M3AJcPe4mMJBDIhLjnfIOpDQ4ayT+IiKgyRkNcjza6sUXlC1qzKD1Suh2hOodVBAjw188KGA8CxVjcs4K6dWWSHrDdXMPUeYnuoJk4vCY1uZgVeLpWEhlcq7eSt9iE7RnEcslguxYQuqwdXSGi5klYTLCW6Q9EmVtNZkk5MBQTPD2IloeOHoJLAqMSizwWnl+rOCoLUagijKNYKgqT4s0ZpRb1XEEZ55My1M+uQIJ9AQRiBOsKf9Od/ywjEwHT5qSSCJ0u4L/GB7uWxIA6eXuy/TycSLLPPNvpceGbW6QmWWWe9vqI8fTtp9QRLTzpb0BceAO7ZxaDXEyywujZbGrqC7vbrsEVjoGbgIcHuPq/kOqFROUOsDL5MJ4kbVlNE6IhbnikieGJ12o9RQqB3Gg3B5oGM8qnKhc8CGZWlimDzQO7xVRHeTjh6NdMRbBbIvSx1BOPTQEavDzqCTXbxqCyVBOPTQG5lqSXYNJBxknWbmOee5uazb4NbPmsI77KsInTVBFtNMKGa4KsJjeYNRLa39tUQHvzt4LLLLrvs2/4BYcIX9FEtOToAAAAASUVORK5CYII=",B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBCAYAAADnoNlQAAADfklEQVR42u3dUXKdMAyFYZbmpXlnWpqbTEmGNLeJAdtIR79nzuSpdwh8tWwBN1trbSO5w0kgICAgICAgICAgICAgICAgICAgICAgIEMQvI+3n+Uttf0ddWMsG15mgtJeDC5PLgS1vR7MCCBoBgQQHEfhcgkj2A/EOiAYGIQRHHYIYMiM4AChd4BBEcGJ0vDfXcSh5/AZLnUwBBchtM5/A4goCPaDmzkoI0EQlMkQDALOEewHWIGQHMGN9cG3zuMPn1NA4G+L+HGxPlf2NyBYDygQ+EIwevqvnQvOCgJdBNb7+SCI2TE8NRt0Akt359Jrx3D21vDsgrKAIE7HcPaQBOG9WeQRghyICM0itxCYCdY2izwOA8FaBMUhggKChQgcQpBaHIZBsOhmUspb0NEQrJgNyoubTdINJGYCbi2HQ8CUn3xhuHQ9AAKfCOgDJO8TVHYCIPj2HsE/McpCkoXhQ+XCQAAC+bIggWBFEwkE/hHQRLr+n6eAIFlZeHGuKgiSlIUfzhEIMpSFX7bQIFAvCx09FBAol4XOJhoIVMvCiS4qCBTLwsm+CQgUIVx4fwIESmXhws00EAwaNWAZkEPAY+jb5be1QKBUFq7OYiAQKQs3SiIIVMrCHbggECgLN5+nAIFCWbi5OwKBQlm4CxYEAmUBBH4RLCkLAxplIIheFkAQA4E5LgUaCJrPr7JZVhZAsLn59pJHysKg3z0lAlMpCyC4fiKqSlkAwT0EEk8ijYKZDoGDxaSBwAECB9vKCoLnEFRHu4riZGucF4GD2cCcbI3TISgDnslzURZAcPFkOG00FRCsQ2BO7zsYCO4juDX1Nh9/VKOC4FkEXu49lAe2h7kQqL23AAJNBKdmAxCcPxk1yK1oA8EzCFwNEMxDUAI9lVRBMAFBsKeSQDABgUV7NA0E4xGEWQ+AAAQgmHVPPeL7CiAY3D9XQzBhHSOPoKogmLidTY/AvCPYL/7M49RGEPTtJVt8fAUEDptFbfHfb1BGYItX2SGHOoLe9qslNlDVEZRRvQbhUaQRnPycjLPBcQEKgqSzQQmHYMF+OeUsEAZB8ro9FUAkBMwAkwBEQsCYBAAEAABBhovf0y+JgqByPcdf/IhbRBaHHW3gduFV91DNon2rWMnXDPjuo+cREJ1wEggICAgICAgICAgICAgICAgICAgICAgICAgIyNf8Af2TGzAC1d25AAAAAElFTkSuQmCC",N="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADCAn7+PcBDf72BAIM+vUAXZf8wAAAJ/SURBVHja7ZpZdusgDECLQTaDwbD/zfYjTZvEwlgM9jvn6a7gBoQm5+uLYRiGYRiGYf4tRIZJKgCYl0l0gCygpUlPjNSXC8j0hnXXCqwmfaL0dQIeEkLQFwlomXDgGgFnUw55gcAK6QA/WkCr3bG/RaMaLLB8nr6dhFCdjqAsgDy9WQihO0VBScBvyJ3vBKweJJB5ersraIiCQ4HJ5OIeTK+HcChg02nUCAGdCKxDrkC+ciwA44tR4Qjc3QJG3yxQmY06CtQ9RYJA8VHCYAEoHsFyt0BNSSAIzOVstA0VkCfyYRwpEE8I0C+BILCeKQkwUOBcbVrGCZysztM4Adg1Rvt2mTwpUQRm5LSbexOKgEOqD7QWZorAhPzUuTUMSOP5RxSaXHKgZAOSwIbUX/RphEECCxKFqrFJJgl8BoERQvjG9oi2orFIL67aelSagEIyv7dNBjSBiI0jS8oOkP3XdBYLd2gxIAooLNh0aDAgCkQ067UYUDelBs16WYO1u4DEy69WtRMjVcDnGoBo6jok8rYca0EeVy1xhcIymSyApV77043HDUtKwXcVwFPv9vyZk5MKfjFvfp0E8Opj8W8XPwV81h0FchOSlchRP2cJs3YU0NnlXZBrtoXJxWLNR6vDESnA9rfXCuVLqhE4MyejW6RFdxIQoc4g2dn3EciHQXl6dbqDgJhsqifM0bcKtBk8ghVAuXoBMYXUAVUvIPTWw8DVCyDfkiqQLQL5NoRwB00CQnhlb7yCxyk4Ze4JwtdzWF++azx0QJ6h5RlmgZHDKQuwAAuwAAuwwAHSXrEpzROvWdXm2f57gVj7l5J+QVj5R0v+6y7DMAzDMAzDvPENFbLLU98o0AIAAAAASUVORK5CYII=",O="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIOSURBVGje7dhLTsMwFAVQlsCLwwIS6BxXzbyh8pzYvvvfCgM3HycO8jUz5DdqkTi69ffJLy+1av3/kqaXk+q71xxBAS4NDMBnjvAG+LRggHumAJ0CFIDvHOECYEwJLSO4k2HIF/zJMOQLqYFQoITuKDScMB2FN06wR+HCCTgKIIUuOQyMMCWHgRFcchgYwafWEyU819S179/X9cQJo4j6CB+/dNhWpODkiqXeZeAFf8OmHoYX0lWFKlThT4Jr4n/tBlbQEmWxz0OKui92QsF9EQmez2Cv8Tg8LnVFVeEPwg2Ibr3JYOL6SQOYpTluAAvYkl/h1na4dBy27UuZ0G3aF/qMMktHF9qXlu7E1n4s/KF0d+u5mS1eUePczBYIXkyYz2H5Qgo2LIMwl7akl7Ohkw7D4OZzlxPaMBkGwFQiQNQ6DlpK5qKTG7wWUQaPZUIoIWwrpaPNxa0HLSIyuGhrcIIPR8MomzuUXJO+/wCAr97U074K5UL7m3DPEbYXzL78a5bwS4gxTzgP4SVTOA0x5gqnIXS2cBLCSbagziJkC9ueI+5HsgV1EiFfSIVwQgkqHYEQjiHC9UEIKhmBEfYhno0hI6hUBEqIQ8yPbJQQhehKhG2I5ZWOE5qopSsR1k2+PhSSQnuIwApziM1bJSu0+wi0EEJsn0tpod1F4AUxuxdbXlAXq2mhVq1atUL9AI8l9lXf4BgxAAAAAElFTkSuQmCC",R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACABAMAAAAxEHz4AAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJ4SURBVGje7dhBcqQwDAXQHGGMYR8q4QDE+ABMFfsJtu5/lVlAjDES6NObLNAq1VW8tmTJpvP29sQTT/yeMFlUzjmjjD8MYCciiu1toJqIiCjcBpbnicabgF+fVy7hAHxSivYOUG/P63IogGpZ/EBERDMOrBvQL4WMOLAWsF//aFHgp4DrClRFyAGbNnDQb2QGVHQIDJiOQI8A3fF5zUYmgElAtZEJ4Bag2cgEeBb4RoC+CqZr7Q4ICPBdk5nGBswhA2JHjkKRyvhiEa9zSEDNA6QGDL8NlzlkreyWGLBmPB6qFsvhCFRYDsy9gA0UA3goBwUwokAD5cAANdRLDGChXuLeD6B50ACnM80BHslBBUQM+ITO1uthumiFA2DB+6EELHqssG8oyNFYAI0AyGVkgNB3wBVVADXFL3YdUVvED6mSI9CJbCkDAhigjDww6buRB7x+CTzAtsP8KhABwOoHggf4kYh6wOhnUgAm9RIEQP+2IQDCWEc1IL0xjVpAONmY37MCIB1tx3YUAEPas00CvHYJEtCJSxh1gHg8l3WUgFoEiiQkwMrAPgkJMCfALgkRmE6EoAH8CZCXQQSaM4D+vgpsgghY0gkicBynMHGVFIG0jzE9UZixPwd+tmH06SvLtILTAKmrw/pPsn28XwFzSiYYY4wrgX9XNWjTaK9VcxMEzNuObg2c/TaM7xfbOG5zEYDLNX1tzLoSBOps9Ks7wPKt+Y6AQJePbX0D8LtL4CYw79YDAvtbyN4C4v6IxABbHN8NBFjnhnwBlXMDAtTl/YG28jp95fGoB3xx9sNAU7xJVChQOefcV/bBhys/YYAnnnjiid8R/wF1Z1N9IIj7LQAAAABJRU5ErkJggg==",P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAI6SURBVGje7dhBdoQgDADQtq8HqBr3HaYcYOaVfbWPA6iT+1+lCx0RRUjI646sOn3tHwxBAi8vJUqUKFEiGa9VNGp1HZU6/v6DKIDGOb4yhRrXGLOEDYB4IwmgDI5KqW7+tAVwoAi9+/v7pao0W/j1/mO6eh8pT+ED+yBkEqLA1KUFExVu6Xpo4kMg1KTmDeEoAHMIRyH+EANBsFHhQhDiaagIgkHE8XRGKcKc8JY8FVxhIgqP87p80ASMFHZHEzgVwRYmYT0EpoMvTGJhn8ut0CullEkKj1PhHWkxnQpvRGG3QHOEQfoUu8fYZvKXSnSUnReU0rSiiu7dljKfUQEoiYj3D5aQiLgwD2I0sUQkehg7z38fSURCgKWCanPaAaT6KLvUIOizt35KgLWK9cnSSPZydl0HOpzKpADuC3VwcaX7yX7thMGEUvlB7qu9xjRX2HR5uYLbDbtcAY7TyRTWtXbLFuAwnVzhOQiBAPvpZAvLICRCs3vR8YWlJiSCFQuNX5QZQuUXZY6gxUIrFmqxAF5Z5wiVEQtaLFix0IqFRizUiDh2AqGfLwPuuYLbuUbRW84RbMHsu6Hc/cI1dbl7lhsEU7DHK5Xcndft4TyhDpw1eEIbOGvwBB24W+IJJtCk84TQjURuJ+bafJbgbnmGNSMXluCmoluxgSVolz8QCjf388gStqekJkdYR/69rQ2OUHtHvaf3wxBa/45zAT85YzC4fc1XcEXE+w9vdT/vn8PnrBIlSpT4l/gDmbgOZCJFnFYAAAAASUVORK5CYII=",H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAGuSURBVGje7dhtbgIhEAZgjyC7eABi+V9i9wCbhgO4C/e/Stda3S/mAyY2bcL73yfDDBjHw6Gmpqam5p9EzTn7GGNwisoREt7iPa5UeAA0AQjNE4jBFAl2FuJQIixKmGIKBLsSrgXCCoghX9BrAT9GUrAboc8W/EYYsoUNgDciJbRbIWYI3fypseO1EhTC8lq5EmHqXlci2OVFtCXCaW5DYQ2LMZi2qA+7q5AvWLGgxUK6iCxBfYiFxMtChNYIhSYGoTB17V0k3B6fTLBiIUoFLRa8VLi/AIngpcLPIxQIXio8vgfKBZ8lYKkCInS/KxxfI1ixcMoAxhcJbYYwiIUr53c1mj4teL7g0kLGhQC2A/4wAiBo/ihYWxI6CmhTY7fScXY9vJGQwG3EyNlYiTaAWzOzEQYWeI0IChZ4j2tABN4xDCZY5iFggTONHhU479Pggmb1ERPoXhpK0KwSMIEqwtCC5pSACvg4DEdoqLtACsg5RsUTwLu9+JuLEKB5OMUWGk8ApJAknMoR9jPd/GfJENR5BXxydt7dSS7z550qEW51XL5D7901NTU1NX84X2MIkYtmHKAWAAAAAElFTkSuQmCC",F="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADBAIIC/73CP369gz1CfEGiXxkoAAAMWSURBVHja7ZrZkuMgDEVbYMAsNuj/f3Ye3HHhhdWme2pG9zVFdCKEkES+vkgkEolEIpFIJBKJRCIdBWcxPkGvEmurAZiQChERlZxbKZiWiIiIxl7WVgK4BWNJ3mDemcNay9sB+NE8IqJklea5ua6dGgEE3slV2dd3S9XaBODxXj6yM3EhhJRaiDV2TVgSa+cGgJT9nSA4qw6/b4+0pH1EUQ2Qtr/9jtXefSIdAIDNrHWVACvmxJ1JfWQczLmlilUBBIXdMvmPZRWAxnFyFQBhoH00FQDzSABkZYBlKIAuAgzdAcSlCMDHAmARQAwG4ATw1wPI3wbwFAP/OkAxEc2/DVBMxerRx7IIwAqXSQCmskVXyF6nvnwd5wFCvmZ0APmKZn5YDxgAAJ6PcTCFQ1AA0MWKJnNQBACwUgwWAFw+xlaePSeCr7kwtBUA08hDWFMVDy0KQw3AwFRkqxqTgXuw1vWGdmxbUgbgY0Owoj2XYx1QBmDjSoHKCcmQBlm3zIgG5IIltABM6m37KrSN6djLBIq1DiqZKTt16fF/9ag22PJv4pV+0qFrWL2aYlapqqEvU+b6cb2ThYutImn63TwXm1zLe8HktFTp2iYPYKRYI+d/3CXbHixShiaA7M05X77kCcDNDbl5Nj8MOso/AbiOTzcAVXPu4ZhedQ/AdRO22bcs3LxxOO2b0wVwqdR87tryd884u+/6AM5D/G2T11ztd78DCjoBzgQBUn3YMfGe99B2A5wIXOJ43Po/ihbXD3DsmnxiD0R+qQoPAA535PcNb9KvY/ERUFFh9AAAgj7vwbGX9OF+2RJn0CcAAJM8JTtTfl2N7At4CgDA/SEZ8lL4xfZVeAEAIDgbvUHZxAvtDqxOzdlzgO1299+PySGOTHEOgslfTs47APHZiK8kJWIvMH+ToV4HOCeDRTvOOeezN7cZ8n2AwlznY3+CYQCwqobSfARAuY+wTa1Zh/J9hJq7yvI28bQT7AQ/AHD578punvc2Jh1e8OdoNHrq/h9RJ4OQH0dIP7PWPzKRSCQSiUQikUik/09/AHC6S49BDWCyAAAAAElFTkSuQmCC",q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAGiSURBVGje7ddBboMwEAXQHKEYsy9K2RcRHwAhDgD43/8qXdAmGFyw51eFhWcZlCczMx7j2y1FihTHkW3i3g/uD2+RQg6QgmEFBVbQtFDIBQNbz2kQChoAupIQDAAAjVzo8QqZgAsIhhYKWtAAgFbJBQUAmGsi7EleMOxbLFMpFDQtKFpY7AypYGihoIWcFhQtvFJ5ooAk/E01+Y7S5+8LRe/u/vQzy7DnZgVS0GCFihbMBYQKgGUzaXOumveuzOlTjxeKJCTBL4y0MNECriDUtNDKv+295QwUlrfFVTHCBHfeCwTlDmvEC8VKKKOF1YHhljNIWAFuMf5HyNfCRAuWFhArqI1Qs5mMF/q9Yog6yhmVQUK1V07RvnCKIRTqSGHbEAMtTOSEcRIRNuW2QksLI3M7WE06sTAw096dEWHCtqVeuZQLNlD4wK8xBgkKO1GHCIX/v/PIsWWAYPzr/7672fJY8C+hfZa3kQl22WOdRGidm/x7fB7mRlA/jz73BU87P/fUI2gNem8yqMYc52F72LgfkwFdrRo3sixSSJEixRXiC/2eeWomnVpsAAAAAElFTkSuQmCC",V="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAABBAYO9QMN8ggHCfv8+vj4uptuEAAAN4SURBVHja7dvNmqsgDAbgAQwIgpr7v9mzsK12RuBDm3oWZuWiffI2QkL/fn7uuOOOO+74z0JVQxv9ut5cNsQ5QEdMdrl0xNx9G6CJmfvlumdm9l8GBGZmXmrBzMzmuwBNK6C/ArAUgNcCfBnwKACvBSgB3BDTnzCnAI8C8FqALECHh/BXkD4BeBaA1wJkADoQZ8KcADwLwGsB9gGu52z444BXAXgtwC6gy6en7sQaeBWANylMS/7ozuyCtQC8FmAHYHPpR39uG64F4I7zAJ9bfhHrA3oIwVcKwH0BkHKvH2tEemRmcuUCvO8q8AZ4DDAwM/NULkAJkNuAM9iKl9dJf1tozxDA1AuAVKAUVATE6gqorQHaSbJN75QeC4C+tgWqu8DHNBmXFXRKKZ0H6NzzQuM4zgqMUkpRFpBdArb1PJATBKWUy720wiY0zQeSXEMPxtKfm1JrFkcApZHGWUFAHoTOAljgAEA4AIAFm86dBcyHDqWxWZAFpGOn4ri7mHb6nK4B6BjAgYCXIPDZWfCen1DAs9fnAfYAYO9skwM8mn0eENoB70NnraQrjJs8IDUDdvP3hX4figBqBqRckrnQ7fIA9Ei2dqH1MPSrzL9WRr8+0JcA9vi741eqYe82J2gYbVfhIYDJtwYQMH0GsNMaLAboPwHQoTJnCgDWJwHa2JkKTbAKMKcXIdDmS4AgBugwwCQGiBhgFAMQBmAxADsMYMQAAwYYxAATBohiAMYASQ5gIADLAWYM4MQAIwboxACsIUCQA3QQIMkBIgQgOUAPAR53SgLwHMkB2a4igAECBDnABAGiHIAgwCgHeNzegAwNGUCAAE4OMEKATg6w7PGA1KkVYDGARQCpGeAjYfmXkVwDUCsgoOkf3TggNwoH6IkbwiMA0wLY/ZCmvMKrgKEFEJvy84QAYgPAtuVnQgCp4VMyagSwAwCsPv99wbbL1AEeBozNgIQALArw3B4IIKAAcwBgAcCEAsIBwAw8a5QEjMizUEA8AGAPABwISEcAHQCwkoAIAIIkgADAJAlgYH73ogBkfogCkDA34AZcDfAXA+jqbZiuBgxXA/zFgKQuBpiLAfV3Rn5evgknkfzkawBHLBn1z4gm+fxlwBfyXwZ4/jWlDBjF8k8e+ubUCqWPmx8Ulreh7T+efIzd2/+Rfu6444477rhjG/8AXKbkRmjdYtMAAAAASUVORK5CYII=",X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADCPv9+vYBCA73BQz59AIO0gd0oAAAL1SURBVHja7ZnbeqwgDIXLSQERyPu/7L6YsbUtJFGh377Ius0M+cWAYfHxIRKJRCKRSCQSiUQikej/kqKkjQUAALes/kckvCJx2Tw+xgOAtMOXYj4lKvYUgVynAPhvSQAgrkdk+RnZJgDoCL+UXxHXiPjRAK38L4J2ZB8MUJtZAIzyrh3JYwEsdFSWXiSNBFh7WSD2I34QQAq2nwXTUgYApAUeKObyCMAHB0/l1vsAW4QRcukegN57A4bcjZgms603ALbeA1mlVGnn90rpdi2kqwA+A7q8m7OzIRtGuAbgdxgMcNoYGQBYfth9b19yXqnU/V/mA6D5AZzp7Q3RZOR/mQ2QYY42JsAGs1RYAHpafnCeA7DPAwDDAFhhpjQN4KYCWBJg7gQAFAqAmICdrhCLDpEJgIJ/2r1SKlmsCdJKqRqQ77jHAbA9aDl6vND9ydF81B3ZjVAABP3U6Gciv1I+9ssQA9DECjqGd90Sp9toFGBjTYBShj4IdKegYABICxzOo5dOfZ3UHSpgAPYRwLfWs1upGQOAcQDdGbA3ARZFdqzfasCNBoBKjs5bBXAXwNLvN1EL9RHAV1fZfbpYOF3tbQDYE7HE33uhX7EzXbwPcJxw+t+CWNEFQBcheRp9FcKOrtUK9wEs+bVPfcPqWKqEo2AwAMNsbDvGmO9vUqcywQAYDZnpmnavfsFTTaXGACqjq1vbtumxV1NvMeINCacnfi/2srfsYfJYl3EAwwD4dBsO6/xkkGdGFaMAnHfwecqk7ezWGyDacssiWJoeZGG8wEABFBYAxPALobIcxUoezXhTABCNvmFoGvpsyJwCAACXt1JKKSksTEcxesbx3MA8bRx/wM87H1ueRTPNInn797RJNeuIrtk+4RybbL3glOaJ+XlesZmXn+mWD66DqC/b9XqkXWf9jQsLH4Y9/nbzyqaOqUXj79+aPUeIoT67tvPrg3u7mNOQm9OyGXvx7tJZG1Z9/eZUJBKJRCKRSCQSiUQi0d/rH8TPTqVq8oN/AAAAAElFTkSuQmCC",G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAL9SURBVGje7ZjZceMwDIazs9kCoKMA2lEB9EQFyDMsgDLRfyv7IFMnAILkWyZ4zPGJBH7i+vj4tZ9mfwAAAG53yDCC0CHaOsKIaOoIA6IH6OaqM0wAA1b54QWAFQR4YICmigAObV9HGNEPdYQOZ6wjtIhVhMcNawiPL4xWRGgdbmZKCBEQbIM4FRD+xs+/ABy+CgifkeABBgwFhH87gtNmCZoQoFW7kibg7JaTFPvhjamIRY6mjnoYjwSTT4DhQJgKCIv1m7CK80MMaimhidewpYQ2x5UkAXbqLiS4DE3RhCFDUzRhzHAETegzNEUTOtRriiY0qNcUTVgFodAUTYCM58kQnF5TDGHQ5ymGMOrzFEPo9Y5gCJ0+TzGEVRBpTTGETRChkLAJIqkpjuDUruQIW9r3hYRRXfs4Qq+ufRyhU9c+jtCoax9H2ASR0hRHAHUfwRL2nWUwJYRjH3AvIJyakWc+oT91ROGeS+jwbLPNIzR4tWcWoSUIZFBYAiBp6zFuNklwNOJ9jG599TxhQBSO4RSEkSNgMNChgtAvw84Xxbg7NcGu/ojP63HOfjIhrOIMF6npPDmv0pouQdIRfCSEq969Sg9z/Ad/VetLpckQo2quWgs6VU/vL1pCa8q3eXPXmtEfqoDydVOEKSvDAKF3n5XlKD/MWZmWiEUMhjLbeyp7ZREC5SGjrnr0u4g/0xK2Q3yfrqao3cdq8X2uyIr+gbd6glX2UbwZDeF5o2zvylQ3SFfbYZdkUh0pXfH7XTASBKaFanb8RGfumbZjd8cEgWvB3PbrxHxhGcIuycgzDjuedFswZALbzrbbF+RZz7M9oFuDIRMMSxjXP5BnXhawy/giQWjJm/Wa4uTOuyEKZk5sDyaBMMRgiAQLSUfIWxRx3G1iMCSCPNvEi0q7IC8SorOlfZQRCeP7nBJBBMTHJe3lEnuD9+OyAiG1u1gcYYTt4pQgLI7wwobTJAiLs14CIQGIouE3veld1uJKnuCThIEngFPt9LrrLX7tZ9h/7BkrxdEaHVQAAAAASUVORK5CYII=",J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAI7SURBVGje7ZhtkoMgDIb3CqIeANQD0CkHwI4HUOH+V1lFqwRUPuxsZ3Z4/zUDTwkJCfjzk5SUlJT0J8qgKvnILNPADdMFoZFSCmjqJtPgTcjlLPCPhTJRX0KnhguH6YrA1PDR9GuSL0Fqw1timdwEtA1vl9WQjYADCevSJ4dwHIFJS4EEmQiJ8M8IotCn0jycgPejqU76Nwj3vfhILJ6bhUUSzGIfTuBmsQ8mULP+BxOEZQkljOY2hEcTgzYYQ+j1xh1AyLcJg2nwJJR7DnIQyxgCBbGMIQjjnIQTRhDLGIKawm4Rej2WUYTBXlIgYYpnc5NAM3mT0H+ZQLuFMBZhBLKf5YIpAt1TYqidBAJ2Ec2EJ0iJsb4kIHCHHHlW4AyDvJ7Xwc8JldFgrPqwqj4jNFaPesISBe02wQYsiyjlCcIkHACW060RHgBhEN7ODrgEXR+g8fvBoFIDEoo9Vo76QLblQUJ37DcGZXLJyYKt2QIJ2hbrBAFjibVGPEBCrt0XSniW2MHJUggOCPqDtHTfYZQjFBAa7brgQVCu9YCg93ofwuzbYBJoEKH7PIFFeCE+vJOldunxiab6AQhIKyhuwpLXRlazvX45CUstFAYhX5/oHoT23Q+N+rCm/4M7CKjZzpxB2G4qpLsgoGqv41aVe0m3GPDHqrQ+CLAhdrV/hQGOOg7ymz/y865XVB6Ax3XnRY1rPnd2f3S1DsL9vuy15NB9gr2/DaqLBNHXQkhtD0kfZZOSkpKSkkL1C2qDVr4Dgnq4AAAAAElFTkSuQmCC",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAALySURBVGje7ZhblpwgEIYnOckCSukF6MQFdJ9xAaTjAgT//W8lDyCtUsVlPP1mvXnUj5+iLsDHx2WXXXbZu+0HERF9ArAdyaYGAEYTERFHGAAAkBFqBABYLRCe8KYlwug/sDxBrQAs6x/9AMD262MbvrizhCm89yKadUj82UtwIiKCAgDT90HE80WECRIe/acXERFa/6caARwADjF4LzfuOSIM3kHUAug2c3b2RRQ8NAFgCN4/brqzwtG6JjhIAegiQuO0exFmiAj29lqkCZg5wvo+Hh8AMAaR1AJLRLgB8zFw4pn4DxrAcIQQzYNECMGZI0ynCbfTBNEPupDQSoBXygmEOSchiFAcoQ0jyBK2nyxcRNmshFUEG5MhL1ISvAg+L0JuJiU4EUJu3lwKpyUAi1wfFAA8uowE4F8v1Sg5loXoTNXqvH3x/aJchM30rDxA6lmlCCv3TRrLNMiEtnAWi0gYSz0p+aHdDMKsiz60ZoYwblpzw63gsCt3MaHZVfWIYLb1M9v9sxrY7k+78Rg/dGrvS7b7l9vMEKpSE5YhjFUE6Iig6gC4c9W+yuJqP1US4o4zVBIQEWoB0AfCr2pCdyD8rCbMJQQTdk0FhN+JPQu/pVmKCPdE/TVFhCWxvSwj2ET9LSOEXv99wixX8DzhMbr1bMJDLcEtol9LZkWzBOs82NEAwHyHACf/DEHTaxYzsyBLNi/uNAGLCyjNLEg+sxaiviciavqOi8s5Xx80EZFapBNHl69Ri/tVC6mhC+rkg+gTsN3m+Jyqk+drdW2/mN/Qs873zcreze3tm9P7h7pp6LOnA3P6dHB/1+lAVUlg99VTjQSWoGok8OeLsuTwR2eWUHTI8YdrgVCAsDpNyCICQCQcbtOEbU2SQH8zJ9U8IZGlW0CKICJ2gCSBL87H+9skYb3STQEyBAYR3SBnCMfAsPH9cZawQzCAAsIGYbgb7AJCCE/DXn+XEDyCB5QR6Ola+AkCNYdAlAmXXXbZZUf7DxU3x/QTm2QRAAAAAElFTkSuQmCC",re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADAgEFDv37+Pn2DPQIBwryT1ARkAAAMMSURBVHja7ZrLYoMgFEQbQMJD0Pn/n+1Co4BUES/NhlmVhjAnvLxc+fnp6urq6urq6urq6lr1uieWlLmIy4Kff/4QYJB4hy0yBQxhBQ2Y0F4BlhDAApEBkwDewc8fAcDFn0s6AAtEhkICAPZRMQAAH/MEQA8BGBZt/1ja3w2mpaw+5XkpT0QATCYAGrGBQwzg17KnARAff0QDshtsFVaAAaQA63juAFuHfAy2CgsAl6QAgf8CIN6IDQwigOALJAB78yvAjNjAIgYwIAUI/RFOsI/BPiALwARSgLA5IJxgq0EwIIDaVywRgEUCwGVioBABCEkK4JAAhDMSgI8GBFCv9PNnAEymACYu+yEuKw1KgIM/pqQ8JzXSLzwDSLq7Ro8ACPyfAcz4LoDBdwE8vgtg8V0AIv9qgOMGUKk3qwIg8wckqwCInm+EBKUAFBtQlqAUgNY/ICgEMKDWKO4A0PtvJ7oiAIsWGooB2vhDikIAhkbSZQCEG1AqXgLA2/nDFACIEQ3FLwHa+kNfApim/pBXAI39geEcYGrtD30KYJv7430GMOAfxHMAdlaat9yAwklwBFhXng/95eB8GwB/BNCZaozsTJBqPgJken7MZQVopI4AuWqi2ZoYywCUeLmgZ0bvnCXapI4AKr9pBn+uuWA+twFYl5+8iiaJdurMPsAUIPWfz8HwXKWaAJwfhUwUrbSYhBexGKM9r6jbDyPijMV8+jjONK+IAfzdgEQSAwznAJmlwGmTZvwiJjwG5VF+RTQNSPLHIini15ItQ7L8UlCUMdtQcDQ7/MqRk8WssuhwephoUrvXi1uCpJEuAmh4OuJl+YFm4akpzZC4dh1QmCNqE47pr2bJbqRomuQJbyWpyDO1y4P4Zq6YeincS1TST8S7qVpqgvvJalqCinQ9KUHVC4uFgGQmVr6yWdYCwX4wi0evbp8GQXJ6epfMPeqEObnbVnWBoT4UUe7QWN0dElt1KjUu01TtNR4+3RyJ2YpsQw/ukonBqyIKNXv3Zyv9BmlXV1dXV1dXV1dX16Zf7/ee+IBRKVMAAAAASUVORK5CYII=",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAHsSURBVGje7ZjNbcMwDIWzgmR7AKPxAKqjAdJAA1jW23+VHuI2cUiqJHwqoncKEuCz+SjxJ6dTU1NTU9O/kVPJX0rYPtoIfp7n4JxzEcBoJ3QJAFA+nQeAbCZc8KN1AIBiJUS8ykiYCGAzQkvoKQDBQvCJIZiiYGKwOekZgC2b3CvYThSOEnocjSKyBIOTrI+m89ALhKwmPDIxJxqGhpAeD/X0UFYIft70HHgiRogEH1nrdt8uNUInmJ+IlQKhE8zf+7DKBOkE7HNxTwZPSNBJJPQ4SPBaAIJAmA4Tkpqw8AS1C/dkMISoJyBwBG8AIHOE3kIoHGGyEBAYQjIRFkrwQEkWIwihA0JnMYIQBkDoMMLVIIQJCJaEBkKIwBoPEWypAK6EYARgeSfCTfY3qwihUvlUhFxrAKooRuecGw4Q1kof5AhJmrjUhMiWdNmIoCdELWEwvgOtD73Nh8LWSXbyFHKxMrVaOA+TulYzjuXqXKvqWcKOc/9J1Tflbsz2TZq2Vb5XV938sMj9nJ8fPHWrNt0r5qgi15dRN8tl0QZ5Kp5eHuQrr8ATdtkvYn36quwX3T5hSbgStQ3l/Bwrf6nKH/vm+SnWqQaQd5ztL5MgXKrb7zJV2bM+5oTA1vkyj04mNDU1NTU1NTW9lb4BGUyCMqGLcs0AAAAASUVORK5CYII=",ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAHLSURBVGje7dZBkoMgEAVQryCYA1iGA2QsDuCCA8T473+VWYwxOgP8xp5MzYK/YNFFXgLBlqapqampyaaNZ1j6dFEiXAH0yaJAsACwJIsCIQAA5lSRCx2+0ieKXAjr5DlRpMLz2w47YXdFKrjnZNxixYkLYZs8x4tMMNvc3TIORSZ0r8mIF5lw2U2+RYtM8LvJU7RYItyjRSYgJuBXhblEeESLfyvM6lWc20n9v6k/UQ4kt5LnIpqeCZYA/OluiTCXdLlopoJOG09Jt08sQiBklyF54xjyE3ivDuQntCWn+ud5FLy7rzngIbiB5E+kQDDQCkEreCiFdReX4fAsDnLBbs+OOzxJTipsR+n27e17kQrh1V/dodt6ofD61DIe9mEU7sMVguQEC6VgglaQARnBQSl0UAoWWmG994fTwrqGyZ0W1u9m3SUtdFsbDyeFsHXh7pxgXtd4c0647G5M/pTgUZCoAK1g1IJVC5d/IPgqNE3TNMM4+nGkQ74/+IkPeQEzH0iHWfiQFRzQ84H0qDsfSI968IH1KMHwzh7l1EKnFlq94NSCVQvSG1BGsGqhYCeS96igFkzQCq3xWqFtzSjJR0Soqampqal5cz4BN8AwiHqfkQMAAAAASUVORK5CYII=",le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAALtSURBVGje7ZhdkqMgEIAne4IB5H11x/fNVDyAM8UBYvT+V1m1AYnS3UAepmrLfrIS+6P/aBrf3k455ZRTTuHkIptF/ohk+QSFd0+YrAx1irr8cO//dYRfk5fhyumrj+3t3xHCNDG+yPBdT7iY8OdvCnAL39y8uMx/NY3HDAmAsWlmf99DwmJgy1lx20V8T5gZhkTIfaiOBKGsGdGsKuvAlq4IQQhAjDGC2QPiBIt4YEEIAQhBmbgf1oeniosTbLwOfnTrz71IIFhz+5gJO+cwAoRsZ0R7CAJFkEcjVMwunAA+j/QvNOGwYtwEggBLPjgTKILa5d5ETaAIO5UKqXSK8KyzOnHPI4gnN471nEAIl8WcoAlV0O8wJ2hCaLlBnGAIrc+GRHsOTah8UWmk5XAE5Vdu4+XEEiAQZBg4QmubnULDwBG0zWGFhoEjSKupsWpgCc76Fj2COIILJR5IlmAX9zkpJUhiICD7w+hC6AimFpk9qrcEm4oqZgdBkMuysMEtwcSiSRAWNSiIAZqDyu20rY/huMXzXkaYgKCjCeEIUAmmnPDVbIPjV1tCOMgjh9DFCPfcbB6kz6yoo9QvE7JqUlilJ1zuztqWtYTM0z+crzV6aaAIczp7ZROo4fmRR9DQY+9gz/acM8MMC2YAwvqc2aMkrDtAXtbnTIIA3yd7btQq2q75OWpVw8uBJmzprPAbID+JrQRdSNB+R3fY3k6Z5dYyagsJ0ttu8AskSVB+O6F7O2menHOo8GSmzJPz0vjeTiTURDIZgtXsNdbq02baOYlEMhmCS2eLtfq0qXgmTMT3hJSpmGj1PAFqcTB4OSTN1VPfEV93UuZqV1HlBLcviuZqGe7u8sncdbnyyTwgFRCMDaB5ZTIfmqtsygl6293DTxHkRri/TOjLCMvp29V6rLBk8gQza17lVWEXNZ7QQQQ75MabQJDr19IbGkie4A48zIkEQkV0+jQCnPz41+cEgvg0UyN4wimnnPI/yj/HMZwWjDCORwAAAABJRU5ErkJggg==",oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMgSURBVGje7ZhRjqQgEIZndrIHGNQDmB0P4DAcwOlwAKX/+19lHxAF/EFpMskm25XwUG37UVQVVcjLy1Oe8pSUvL5nBMvxtyJCg3sloQPqCWMdQVUTNDDXEQASjBJCA8BUEVqABKOE0AFAX00Y/wFCdSzu1Rk11RGElJU7i8r/QBCftYRuTyAWhgsE5ZJYaLaxLxHWDBoAlk3nBFfVBEAz+pQgXFVrAbovTwmNW7yyhLmY0LndbAHcl1lCuxKalXAscVdX0TnCVBwLbd/RjrA8uC+EA9B4XiG0G4E54gph2AnzY4QdwOJJCF+mP5ToTcK3v0xPCEPssM4nBPH8AO6EoGOHKZ+wRNUf44HwK55J+IDAPAEA84HwFru8DQi+eU2GsPBYRua1GYKJFsvj2QGAORB+R0FrEEnk4hRh5LEMH+kcYeKxDLxsg5QiGJbSUTzbLAGJWPrxVHnCxGPpPVozzfBo7hmhj4QlsC5JWG0VIBKw5yRhSblhjad7MvOdtRmhGGH2l3ckvAZRYwAYWxpWg9IEfJOUdubtDwhBeYiBEyaP3OcIuGlOMH5gjoQOJWIIoS0iLIQgiggz6xdFhJERVAmB9qyuyJGM0BS5gXbeIAuklDqtjpwwRPtQ6JR6T3T/Nq5HIqFiSZ0ftD+H/NysilRrEiUM3pwD0LtZI9UWAEoQ+zYW1lbNVFtq+ClIb9FuYGBciwzVtYxxQrvN0WBUxjX6UF1LaeIkpncbbjqwYVfXcp4gtC7rhX1TEXXJnwaVc74GJi8WntrnCdtXTaNvfj7s6nR2Iv04yUmTPpHKVeysYd/x1Nv6tz7TL+w747tQSZX3C11U5fId55L01YTqjnOv7jjmZzpOUTBoxxlISW/cOLiBEQRpK50b1/rFcGxtahuhCT0nCH1Y7D7Cw0yy0kaIudmHL5+Z3W333ZdzRLcP1/uklP2lWxQryhuIvibzhIEnwVRwo5U6dlz/7h746auAQI3oi779hxMvnBMEqQiF9w9tfg1XbjA+smu4dAcSIL4fukX5Ex7MHiBsTeZWfCfmiZQyceP68pSnPOUn5S8curM1tlnXIAAAAABJRU5ErkJggg==",ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIrSURBVGje7ZhRkqMgFEV7Znr+BzH/CWkWYFdcgOlyAUHP/rcyHxobbYSnVk1XTXG+rRMu8HiQl5dMJpPJZDLfwA/lcVUJ/iQMNdUxQwmXQwbdQqUKt99QQ6M07DaU4JSy+w1DhhK6vQY7ZuirnYYpQ6P0W7XDoIHLmKHmscNgAe7QV6pkj6FkpFMa2J5Ct0xYaLbPZM2M62ZDwYLebDS0fOV+2WCoAT5uXwZylRo0AEoFBmIqkaFdN4C7pg0/h08rTZj5rIYMv4H+hLOs4s3qmsGdiDPNasjwCnQ1KcaiDxl+AU2LUBFcixvXEgF9rC6sxMBHxCAaA1SR86EVGbqIQctypDrOuzEJUZPsvEOZ9oUxxoSCubTBgnfOBmIkDcBn//aOrn4c0SVl0NPOWRjceBY/UoZiXDPP95yAYct0KcPJD+HPgxu3jEvfgrwQvuHx3Lcpg2XW/K23EcZMUYOePp6FelbEECNqqJ87d+S2KGwLcI4ZLLOV8KutmX7hnB5DE5jH/jPTOXET80N4hovQsKRetPJasppR7GFDe9SgRbs6RimqrGSIxwFDITthUkMQnHLxpaTbZdDewd1sMOhQ7+iV3PC2uesFU2/qvCs1tex5UsPKXcApsaFdF8gMwxCcMfMboZIbaubPNW2MMelX0rz7rr/3JIaC2OtbYjhF36wSw7531mIt1THDc+WPGB7fbdDxf1L+iUER/T9IYrjd1UZDJpPJZDL/PX8Bb0ETGmcF168AAAAASUVORK5CYII=",ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAHESURBVGje7ddbcoMwDAXQ9JEFiMcCmIQF0AkLcGIWEMjd/1b6QdPBxEgymulPfb+TM0aWZTgccnJycnJy/jJvpE0xEhFZhBaNUQA6m1ACD5vQA5NJKADAJLQA0BiEAgDgDEJpFnqrMC/BIrSzsGsvzt57N9dxl+CxTHpHFX0ApHf1GsA9UXgB4OJCMUyOq/8iG/OhnSu01QKrQkaEd2AeHfEuXBcyInw8SyQuYespjr+6tARg3BYm77333vFL2OjJIxLSxYRP4U/uFNYysps9C4xhXzQxoeSXEJaki3b1mROIqAqWFD0XCcKULjiiOmiqZGFc9ZaLCuxuXG7hiIgKbUJPxYUiQXjEZ1RrFsj3amJrTg5moTYLJeBtQoWJqt4iEEaiYrAIfUdEdDMIQzPf1PuF+mfCisWQ702hGJPm5h32dHWYk1ngOvSuErgN6TQC2xROsRf8dspvQRXfDZMonIR+GgVBPlodLyiON/82KJ8qjKxQKoZDxwqKCcW/V1eaC4sVNNOa/+ZV3Ftf/Hf3oKqCTXCCUKuegRNKHcAIwkvElUSB3YxLQwrh5bPMP3Ndnn/2bK5+G88hJycnJycnJ+ef5xsrVMzomf1AWAAAAABJRU5ErkJggg==",ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAECAcBDPvyBQ32DvMK+Pn6dddTsAAAKrSURBVHja7drJcsMgDAbgAGYxi7He/2V7aJqxJ14QFqgH/nvHX4ORBMnrNTIyMjIyMvK/Ikoi1aTFszwCSAAwnAALAOD4ADMAAEg+gGcGBOAFaM8MUMAL0LE1IC1W6fsPoBkgRQCwp3/noDUgAwBAkCdZmgNWKEwrQOAGiAzgDSdA6CRc5AQIIcS0f9iq3dIXIHaLYLYFqBMgbZ9lv0gdSrHaPCum3ymoK2D3H8ecY3eAZN0FQgiRuQF/kwcb4GYRegwkefswDsBu+uEAvE8AjADx7gBuOwp1BfwuQhQclXBzClFHVaHXWG7fB2HPBXBeHQwI3Q8mKfICDp7fFRAisAImtl5wNJt84pXrBkgnDdHOvV7C09nEhz6Ai9mkloCsA1eziU09bkguB0TVAXA9IFrXHPCZTY4TUyNAjqXXBaEJIEN5QgOABmgmKAJIaCcoAjgcANWfyt6BBQeIjhqgV5zANKwDZWuiGgN29yaHSY0BwlAtQi0gUe3F6u8L7hYh6sYA4WnewypAyvZ+K/pmgOApKzIakAxtNcIC5lheD10DQMAU5NzncPrwNUQBtMf1pEQNUMi5YCIG6IgEWGJAAGwcLWBBA2ZaAPr5JRsRAUh4gCUFSDwA2AGSGzBxA1bmXVDQDjAAUyHQlICpAjBTAlwFQJF2w6VBKUIBKvZBpJ2IPF6QSAH4hnw7nCOvaiN5KUJOxRkNMLQAR94QsQcT/E40khRQ05F80IRnw4qdCBBXSQYIUBefEw2gYid+DJOjuB/I8CDmy1DyI5bLW8oJ26TNfi0KAOamzoRH78M9YL7tNSnW7Iu5FKDujz56qdub7vEn8LkMDHV7Y9Ul74Av6bVa1e2KEkA6uxSMu2OHUzWfgiz7xuT4t8XfV2glF5iln8DIyMjIyEj//ACKXRgXTz5bQgAAAABJRU5ErkJggg==",Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAH2SURBVGje7ddLboMwEAbgHCHD4wAWYV/kcgCKfIBgz/2v0gWQ+DEGD1EXleZfpTJ8BWOP7dtNIpFIJBKJ5GJgS6cHyKfTavt1zwjfiIguZ/itGWHENTQRtNLCfglNhK2k0LwuQZcCUSspmPc1uAAAgP5GtGvnVV4jTrTQ+NegAuj23zMAtH6jowWD4b8ZvTtU0koIdXAJujH46xG2WkrokRNFCIYlTITAAnBJhZon2FRoeQL+hTAyha//JMxafyb8xLOSK7i4MrCFaS0u5rqwlaf+smDTAscUnptQfSzApVGt+kBY4u48nVkL1N6qgThAyxSe621Z4bw+OGgCYYo+qT2vUbMJBKcvVbkh/y2eZZX2QBjKqj1TGFkCtWa1HIFc9RqOsFBCxRGmgtX/eGYpUuiJZ83MbkvvQOryCjMV7KP2h6WrnMoIfa7SUm9HClWm2j+oR6N3pHRf1mQHZ3bFaU/YdNVz6kCoStbcw5051Obs/n3jf8+eL3TQkWYv23s0wJngd6iFBhGX17T19+uHQuN9zE7rN/ksFSAaUVU0RAuEPhxRI/ESJ8J7DFnlnW2mciGzxwaGQO57Fo5APYRTLKHO7qlKhXSaWmAK8XtE71AiVIYu/OVCSKRn4AJhO6jv4+qSALVGRJzJc3wqSCQSiUQikRTmFw6W8JpZ3lUtAAAAAElFTkSuQmCC",ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMpSURBVGje7ZltjuMgDIbnCgvJAVDLAWjKAdIRB0gC97/Kdpo0MWDz1dlKK9VSfrQpT7GxXxzy9fWxj32MsD+EMW0Fda+IwIxzTrxC0HeAo2ZRQujcw+ZmAnObqVaCfBJsI2GfgnNjG0EeBNtGcMBEC6GDhLmFoCHBNRCYB8BimSP0PmGuJxif4KoJgROYGxlCFxLmWoIMCbaW4CITdQQeE8Y6Qh8T5jqCjgm2juBcPhBJAsMIYw2hwwhzDUFihKWGoDGCqyGggFCyUwSGE8ZyAscJUzmhxwlLOUHiBFtOwJciXIwUgQAEed1CUKUEThGm9xF6irC8j0AtZpAQLQT3PgIJ8FOqiaD+HwL/JcLgjx3itM4QJl9mto8JQgcWiq/z7f3p9z6BmZtPkGBHKiJ0bvEJGuQ8X7c44+94xifIkNCDfEusxQRavZgw1azm/TdLGEngRgHhvjKTT+BwU8sTfrbFMcgHWHl5wk9YVUDQQIJMTh8eAhLm5GO5F1GkMHrVzICwLcCQ2DY3pT2ZrRUI64KeOiVXIaGvA8xxbbI6wohUt6wBWEwfqiahUIXpqqKAalSUB8swXH+uyAdBEJiJ/6qbkckpUidDxD1e0sYxVgmlDRHinmgiTDaV1mrf55GtF4yNyKk9h/Gcu/U6/LqU7BdsGJ4UK9dr/TAMqri334vEbFf184UpaEj/8dPBy505S5T0q91gYR/VZWoyS9h9AOm5GMQPirCXxtz7uRn1QQThqC3RQ5k3cShwwgG4wYBaEByVJJzg2hsvHY8cudEEpuEQFmjCAVwIjeJXf8Q670U+mxeoPsslJuhIhiRcBRsJmBVxB3LcVEd9KnbUpY+Yoj4q0DH+3O81SKUrTeBhmJ5OPOOx1SW7UoTtn74H4TdT457l+41tAwrjQJzLWW82dadq5uhAu6ZTNW+UaTkT8wZ1DSdaZ3+MqT6PYoGc8Gqt1qE0S0QmU4Rz5DfD/Mg+692Q78YypTXYLnmOHxczSmuJM09RqrTIuxsNKj9FIAE7ItfDoJ2C1yGpAsKNegd2KiGYXWLQVztXEEuCwBPjH/cvRCQ/9rFfsr/S0BXOO1hKugAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAI5SURBVGje7dbdceMgFAXgZBMXcEEqQDgUIG8oQJ6hAAGn/1b2wXZW/FkgMpk8cB5t6zNwL6CXl56enp6enuK8CkGbiDPtJhQA8/Ud10C18AfA8vhO4YDwBsDhFqMTApuIC3EmughBxERqFl6c/zyXWIkBhkgCRCNMJGhfMD6gEQpYQkH5wuIJErFgQ4H5wuytARKC2RmDJ5BOCNhZB38WvEB4AxwNj6c1rF8LFQsuEN6B5TJrOA3Hz0NQCyK9uw4nYMaqYBXsCLbtKLYQ0bBbzRPwF6vCMmBV4FthxExEKhTmWJj0IkEcZnDeGCQsEfFAmCgWLPHbL2ZSW0GHlUnvrBOAq8ZKNMJ9eDsr3iVZAcB0b8BACIv7RHg8sRFYokdTwnsg/B83F0IIMRWdMABGIyfkhr1zTt72xRm4JPZFkaAef61y894T7iW4fiSOqDKB/O1N1Sv5SixzPtw+XwsE+kyftBWCT8xHhEc7+o/UCTpx5dQJcjOIqbqaoWAPCSrdEhXCmL8yjgjmiDAkbr66WvidvTYL7oBA/vU7NQu2WXB150PUlHstUSTYeiF4F3p64KaFEeXTKBNc9UoOiKZRWU0WCrZZcLUCDwUslQJFgm0W7nd5uSAj4dos4MeF8RcIQ7PAfoHw2SrkilksKDQKA1oF3SpwtApjsyCbBbQKvFlgXfgmob0WT/thae5Jat0XpkxgVZOoPB/mQiF7RtniN7HMWrq5WOCyHMjdFyKRsvfJnp6enp5M/gEmYfhKXHc6HgAAAABJRU5ErkJggg==",ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAKhSURBVGje7ZhLcqMwFEXT3RvIE3jeJGEekL0AdYoFGOnufysZ6A8SEnFVUl2lO7KhfHi6eh/hp6empqampu/SLyrqxX16PiSwIQMYsVYRGJBGMPg7h4QR/lFEXRgCMNUQbu5RjAMA5OxCwL2WsBIRvcJKDiaEegIGojd4qUGHcIKgIgCghvEkAR+IpXCWkNG3E1bt/wOEifqHCd2Px7DuXf3qXiyPEu7dowTBHiXIt5/Lyf+YYH2XYUrPlrtWEEw5Kv9R/85k1VAmuB/xyaXBxDhdoiAOCLaWRA9pnwsaIeyaigT7o+kC2MUrWrDagESB4APfEmwMqkBw5oke0noSrUIHkScEvSHtpPEyS/A9KbOb/KY3NEtYgoKMM+pqUJ3m5QgMBd2J9IbmCGOZwLSXOYKx4JolKOq1RxlCb1M/H4s0G5ohLMbC/aDZcjIE5ltAyY8hTRgdwe2J4pzzhC1rmuBC9KuYwq4VHkr+pgh/XIjeyZCgwin6niL8drd9pxRBxd9De97z/WGz3qDiLUFyzufnWgKIyPe34EBYT5iC9j/cvDcHhNt+PiSgdYRh1CXQuy91hNEX0cVvrfItCqVefYnLEBPdAMgTBJ81OjN3BFki+LIcaHE+CO/PWjv1AEG9TsoFKrh8LxKWINxOz9k5XNxUO7vtmO7WzSaXZ3c8MmiBiC7K+hMIADm/LgD4y3VTa4VT0HLY36a6980D1ZzEko36H6s/R6WXYTufqCLYBA5nl7mqKt/99x0Xxp66d3/rpQzTQLAlOAsWCSw3/dbKfzBMEFEM0XG0gsDSMzz4W6JEMEHwzeFhOEFI5oSgM4TEiWqlU4R9bks6SdgiYkAVIUZ80BcIxFxdqIm+RCBi/AaAz/s7SUJTU1NTU1NTU50+AWGj5Ye8I1WFAAAAAElFTkSuQmCC",ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAMPSURBVGje7ZhBetwgDIXTNN1XYO9jUg7gtD6A03IAbN79r9KFgcEOmZHw1m81yWf/A0h6EvP0dOnSpUuP9Y2IiEiZQiMd9PMxwWKnDylBOxy0CAkWn/RXROhQ0SghuBohCAjVJewX8YDg6oSVTdD4QmxC/xVh4BIsAHyYnexhG/cJxz0TEelDVt0lfAeA+VgIdn8QdwnPhy0XhJFHePl6DQOP8GPbcvf5HEQELGX09bIl2Swh7MsgJoQXERai+J0Y2ggr0faGxpD8QkbwRNEezZgIsnPYxXOCJBYvxdMq5ncvIjwXT/cxlbujxzyui1gDXSwndTSI+7Xpbk/reP4Kktrc/GEhosmTw6BDSinPJXSJYFeaQAqJMIh8MhDRFMhhnBALK/C92sYe1eX8tjKvjm+OpB1ggTn+Y5b2rIVImUGbt9SHg7hvzoecLpvWw949AUCIb6hK02LOD/ENV2laj2eYYh9/0ETYvjhkj20g6DS42OokxCDEACyu3v45hMoU4akbJYSu0v0nLyHkRCoIOS95hE+zDKmcqDzCcR+BphwPJuEwmC7kcnFwCWR2s5y6hZRN2K3C97fEbCMM7uaWfEK5i99oIOwC2hc+wyaoMpgWDedQjrchxVSP5wgrTV5AqNx1PLkgIFTuCYMGZj6hNuD3wMImqNolwwEYhYTyNIIGAM8lbKFYcpX/S38sXMIUu4a7ZaXfFiTzhzGlxWoBv318ZRJSy46E2QK/Ggg+E+h2qkyCSrW4vbYWlfoqcNqQYzIoMaFPI2C/oXoxId/O+liUTYSQD2QoK5VJyOauN5QTEoy5zbEO8LtK5eRkngBVMlglJOSho0+ooo0GPmFIBL8zzYVPyOk07kxz5RDejTHmjYh0+rClQzCDwGHqUsBwjtADdI5gEc4RNLCeI3SijlPfBMZTBA0sdIowAfMpgt7y8wRh2iyjnaCjZbQTbPS9ZkKXLl+tBJXvrY0EBflkvtN78aNzC0HZ8ronJph4TQhjIyG5dAaICdGll5HOEQxRM0E7fBj+L/+XLl26VOo/UnlsF9augV0AAAAASUVORK5CYII=",ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIoSURBVGje7dhRkpswDAbgbbc9gGw4gN34AHTqA5AOB8Dw3/8qfSDewKyxbGvbzrToMZN8GCEJOy8vV1zxb8YnOobCQmxkhQkwIkEDmEWCuoSPEH4AEAkdpMIkFRSkghMKKt5Dq3ADRMJuAW3CDQBW01wPegKAOxGRbxL0tC2AaFp0k+DjAghhW0Sl8PpYwCZ0DcIXrMPjc/9zq8tK4Svm7jlc2wSjgf2gbRBoCiRbA/nxMCLq80Aq5rLpaX6Oz0KFOGTq6wHWEFEf4pxrqUng/s2HR4e09QUArLa1u7XDMVomjL1Jhf2c/YtC2V18t3YQCQ4ATFrQJcJjEg9JQRUI8SpLs9DHLwwpoS8Q3l5LY6PwTNXSKDxvdE0Jjhd2F/k9wv7lHez7MKwANu5eKuwjIag/LKxiISSEvkoYxUKqs3wNkOxuV7UEqZCecuW/t4aEgklPe13xJNNCRUHNYiGkha6iJ9JCTUlewiX8L4K8NyuEhaRT7mTCHLYPTXOy4o0znAjFQ2o925nrqjSQZA9jTgVXkwbidqRsGtidOVdP/AklE2PZOYtNZFooq6ncSa2opkJOKKqpOSfE5jLJff0xDSeCLxCGrNDxwpo988aayglLXiBeGBnBsYJhhJ4ViBEUJwROIE6YWWE6fu2dYFjBM8LACl1eWIkVdF5YeIGmrDAWCC4rmAKhzwpUIKicEEoEyglzkeAygikSlLXpqrbbf2FJ4YortvgF6mQ0tbW5Jc4AAAAASUVORK5CYII=",he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIcSURBVGje7dnBcoIwEMZxH6Eb4F5w8gA4k3vRcm9Jvvd/lR4cFGWT7Ca3Dnt15uffEIKOp9MxxxxzTGaIyFjgQsL5YIQWALBUCA4AgLFYaO4AfLHgAPizOGIvtPdP4KQRe6EBgImsNGIvdADQk5WuxF6wABAMACCUC+tM1UIoEi7wVhHBCL1djCKCa3D+rFiJzDoIIrJCNoITRofQiCM4obcYG3EEJyxA34lXIrIOZMUrwQuB5JeDF0bzcjl6nXAdhoHmF8FrT9r1tH7OqBbmN8GrBUAeIRR8tZCIkApeKThFBC9YRYRYiEbIBa8SOsgjFIKfaoXIXc4LhhX4o0YlBLnQQB4hv5qxCFZoAXkEKzRRIQgFC0UEK8QBJoITTELYR3BCA00EJ8zQRHCCTQqLQHBJ4f0u54Q08H7UFAhvEYzQQhXBCAaqiCLB167Da0RCmGURccG3soj4nvwlWUT8vuiTm3NMCt36Lo0kIvqrOVD6sBqTZ5Rbv0O2Ln+Xs8L8qDT5oyZ22q+v37IRsSfO44vwLRcReW5urvctE8EL9L3ZtiYdERFeprWpCIlAdHXxCJlAdLWxCKlARMOwljx+0QadwC3uVC2EagGlAm1u0VrBVwsYq4WlUNjsr3rhq1r4LBM2j5KfMqH7F4KpXsm2WqDqHfXcEKW7+vlY/y0VHh9jKhZu6zFXLNxXYqEKgc73vwf2wjHHHHPMv5w/eO4CLCiP+HIAAAAASUVORK5CYII=",$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAHmSURBVGje7dhBboMwEAXQtD1BDBwgKD5AInwAKvkAEP79r9JNIUT2zHwHqYvKf90+ZexhbDidampqampq/jIf52zc5SyFEwbgdkhoAYxHhCYCmI8IAYBchiVcgSUCShmG4LFleksYnoC4EKrgcFBo4l5Y3hA8XlIuDDgoNDgqxKNCWLdgk8YyoV3/77ZV8ygSto2cd+XcSoSw6yOv93VeaHd91Bg9lRX2G/m966uRFjzyebBCCyk3Tlj3oU+FkRPCugtpMQslOMhCroxU2Bqo59YyEeRlFB6vRIi6MJrCpw5kpmWpkK6lJMwewJhZlMkSvn7/8OIAvI57oSWSlbxfn0LuN+BCdtQsPV1JS8g9ybZEKjSWMJpPVixrCfnZZFsiNx/KysjNqMEQFntO3kvKEM6Le68JD/Ls7iNVhn6P6q/2Wpr3yc4qwxRaay1NobHKsG/F0VhLW/BGGbbQGS1hC85oCeLtwGgJQoh6GYQQ9GFHCK1eBiE4fdgx71n6lGAE4eiYeKFTpwQjOHXiUm+s6rCj3pqjtpaUELQyKKHTJi4lOO3g4L4/aAcHJ3ilDE4IyiHMCa1yl+CERjmEyW9B4hE6sYKXD2FS6OQy2C9aojCRwlm+ErGCfEVkhUALNTU1NTU1/z8/wuvL5gp0xtIAAAAASUVORK5CYII=",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAALpSURBVGje7Zg9muMgDIbnCCuD+zGJD0Ce+ABOHvq1Y93/KluQOEKIP1dbWKUz84KE+CT083PaaaedljeQzRhjjE38+KdI6Eb0tl2OEa74tW1oJyiHgV1aCRyA+GwjxADEuYkgABCHBsIkAXCrJ2iU7VVNcAkC8yNNSG2B+5EkKEzbXEXoM4StiuCjYGhePyzALdpEiqBJzO40HTt+HCnCSJea6H9pRERbJChExJW6tFmaaEuR0IcLaeq6CmOZIDgW8WDfY0CXCYoHfHqxXFsKBB4t0DNLtrVAmHjaKMtvTIHgglUim+j1EgkKd09Hqmv395n2NBAiQe8ETeOhPnml6RZFQr9n9EhX05/odDRMImHcCUFq9viOYIcklCLB1RCGHAFrCHOSoK5EiBy9yiHhrR4xYa8yy+fk5+gsdv1aJYILRF0FuTm+feup8nPCt8p491XQN5jhe1Yf5WcEqtDprA5ElxF0rsbuPQnVbcsIY7q6JerpEhLCMmPLTiCuIaHLldhEOQwJrFCJm+Dl8DcgTPlWgR+lQOC/rhYAtHfHoQUAxf8E/2YJOPhFLYD2eR6X4QLB+jwfAHpPcK0E4ITxCGFC9Ik4VxB497b6JH4CAIwbiITfXD4INaNE0EVC3Bzl7kUVYWN30zUTXowwNROGjEaJF6OPGsO0Tso61UfNKScUNqHi3jRSe51t5Fk6bFaqWV3mWXQXLn+qI+0kxA5YKnpaspPHW+yIuNQTVn80DwPK+ILsWgk8dGvfTAgRH2I9YQufzRdoJiBtSR4WDhIAQO3Dg2aClWtmA2GQ70UDYZFbhwbCKl/ulqyWpbqGAOIbWwlfCy9Wpg9aaCyShEnqQlzLq1kLIiV9q3j723giUff23y/lGktU6wTjyT+8mqcoKxuO2QOTHGPMkUlOapRj6wmdCHi2zMTuAmBtm+zFPc9mG6eLYxFQnHBe40LZOiO9kRMxx+a0cPOubKZm0nvaaaeddtpp/7v9AxWSGnNu0TMGAAAAAElFTkSuQmCC",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAM8SURBVGje7dlLcpwwEAZgu3IBN4J9VBP2IZgD4CkOINB//6tk0TyE1JKA1LiyoBeu8ozmQ8+ehnl7u+OOO+74v+OdHu0fOhmqbeljFUoA+hxQAOg3oQMwnhMqAHYTAMASUdG22a4Un09NRB0A/FyEHwAAIqoZSsbcBgDw2xcKAGjy40cTE0oAMGlhaSMJDVUAMOVnEJMvvM9CfVwoJKHn+Z2iS9JOzSooSTAsGKJB3B28CBXPWQkA2O8oTItQQtyi3E+++Ax5gl2Eitv658DtPjd19iSLutsPRlhGuwgAgMkX+vmjEIV5Aljgv2YT+IUpKfDcNdy05ktuAn8IAwAYhfg8oKm2ltCO0GGNaW4qrgVMtbWEk2F4N3LYcjmpXnAP3Wu5QunIVUTgWRq2hsYVyBG6yOnoAGB0Guqd4HQOKcE6w6WdUB4U4A5iJxTe28gLei+4qxERvAaWPEF5DRoxQTrR+wINwSiJiD4B2zi7etcFTyiFqSyY/aJwmGMo+J3QzuQ18tu+UAbjLJ0ul0IXfMG7inVf6MUuBILfCWf2x7CDkuBPlvvvEC6EJAQbMxY6JgSnIxJfFBWCvS3GduoEwZ9yKaxOCkWecE6MJORn0z1yokBqOAxEhORA7P7QR4QwG22r4H2jRwV6yN0I6t64QNSGRhu2SglB2hPLq1cLUl48J1SAnWejHcT0nxPqtSgbKXb3kBY6oOHJ4AKuOS0Ma+1nSElFTVYAMHG+sFRHKvakEJzR8aygkK8HXi1UyFcUrxa6dHb6FiHML+a7BSHpj+cElfqyOyQI38H2nFAJqfqcUCeqhmMCl+HtHJ+RDZESht3cRW6ckgIEwZwX1pHX54ViV/TNlc0pQe22YRHbUnnB7rbXFWFewO4fBOOe0/HCWvBly+jxPiBAOzv8mtA7VWp//lzw2It4ojx0Np2Drq/lh2bL2heznKGLWW79nFFXs30dCPqkUAJ4DrPwHORiLlvDNCULlroLNQzVQE81jAI0DVdquQKwmh5GTZp+RR4EpwWq1wVUsYfRGaEY5huKR6QWzAq8q57tEH9wmhO2jRl78poVSHWxe5OjApFq2zb+7sf9q8kdd9zx2vgLQbh6WVz//GkAAAAASUVORK5CYII=",Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAI9SURBVGje7dhLkqMwDAbgPsLYhgO4qrMfN+MDJF0+QID//leZRSABWw6WtOnqQpskmy+2JD/g4+OMM35r2CEYVvzJhR6zUoiAVwtXnXABRp3QAdAJDkBQCQbAXSckYNIJkZmIUujBq2cpdODVsxQswGrsUjAAq7EJIfISQQgXsOpJCD1Y9SQEB1ZjE4IFq7EJwSRWIighsupJCT049aSEDpzGpgQHAPOwxJdAMNjH9MUWUkZgDkwhoohvlmBBRHUYlHABGYHXk+1EbWVhjo1EZX8AvGkcBSE8JkFWZPbN+yTgyXRMLcIjDbh1ZDZv7UItfNuZ9SZmtVBsHFVhqg7CNwo+1oixUTCxMZkSYWwUUmNFa8JkWstRE+6utSdqgu9be6IijG8SmeWyInjbvDpIYQ61vZKYBrE2B78cfG9iOjgvjlb4bhqkcAxspkGPIR4K44HQQBwJxg3bSG82/pqQh/uXCXeuYIxLdD3bhTw5EmFPBImwI64iwaayI3jCtlsnmbBds0LBFouLK2zWfRAKr1PgKhW6rK/5gs3KyRee5ZjEgtufOwLhmUu50KsFpxbWaQS5cFELnVqwamFJhEaIaqFXC51acGrB6IWkFqJWeFwHvuVrM22fpAWC3T+tCIS0v0Uodvvl0OALMbvTsYX8wu0V5+YyDbaQX9lHtrBWYv2c2ML638P6RXwDMVLBPau4JuSvULg+iyIU5ldOhUJ4dYZMeLxL+RRl0mxfxnyKBDsMfvejEM4444yfFf8BRMTp39vlJI4AAAAASUVORK5CYII=",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADBwn7/vj2BQ3yCAEEDPr7t9UTcAAAPTSURBVHja7ZrbcuMgEEQjxJ0Bif//2X1IbIMlYAZwamuXfktVbI4QDD1tvr6WlpaWlpaWlv42bVixnQsZvyWF0gz3sUkAhj/Gfsly80sADq6j/zCA/zyA47Em7j8L4ItP/5CETwIEG9s62McAIOK0fwbAnxEr/gkAf0S8Dj8dgDR+maAbgDh+kaAbgDp+jOdUAB7pUhMBdOyRmQbgZBeA9LMAROwTnwRgYq/CHADbDSCmAOgY501BD4AdABATAEIcERsH4EMAagTAGxBCyCEAKYTSvgug7b7wFMrTAdi04WOMUTIqgImTpWkAc58/mQMsQLH6n2BCURoqtuGgAJiS5/cDfYsmANz738Nh+sYgaxYJCUD02m99c4kAD8BIThtNwNAAAVPVK9rLR2M/AN8IsoMAd6/guQBBylu/63m0ujoFbGQR2syeQMm5/xgQN7gIb7YhzwyquAGIKdnoNrwWIsgeVJTeO1QqqR4qxZDtMVOwjtKVAcTYYaSSjArCfQkEcOVtQDyMLi9BUHbh5ot9Wr8h8RQAPW5Its2rO0OBkyieogQAk0+BJUxBKDw+CQBQ7T4uTUkI0AC86Oraqn0WC8CJ8V8zzdM0gEIiKZ77nNnslSR/Glvt0XAA135YwB5CCM8KdGYHNJPPc8iHEEIAdXGnP0USBfCeyAh9v894VjLeyqPbbXcpznexCMVKw5PxbxybttfjBAOgMSvvRVAcf9s8v7wEBICXhRpyT1AZ//1hOA4AUOM/vvuUdces32wdAsDixk+/u+bY93wK2gAGX/s0qmM4s+SyDXC24uYLQaNjSdeURgDcOfH6/HrMPz0eqQkQSK1IeLhtZJsi2wBA6sVwAImzCU0AcW1FhgGSRmtvAlhSM4gD2F7LEJoANP+BBHhNqyAAhHkA8M8B6IdFfQEwWylI0wHkY40+AZgsNO2fAfiuwOEFADHOB9ibleU0JsYYGdjU9VV3wdkEOFB1QNXy6LE6cCZ1u3YOXpI44TGVUFPOAkOIZK3GdUqsCcDQkYBTz7J9aqQhQJyGyftqlyIXAEAHdBmKHAHA3wP2UbksJmkDhLtkakRJkyaprpgWi7R7dYUC0BHry8lZAa4vyCM2PXF8hewN84RH+YH1d1zuM6C64zzikL2T4OEmYEEB+LfO3qqOpWD4QFTLbn4CVkAQF6ULJciMaOTOQv23W2xKNp3AUHPCuQSSnBNekto5v52TsmJ2zBo//cWVdIMC5owP/XdIHB8fXrihSyyOjy2FMwzfovH67GU4wE26zMY0cEGU0q7rPuHS0tLS0tLS0n+nP5b8JKuOyxvUAAAAAElFTkSuQmCC",je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAG1BMVEX///8AAAD///////////9Xs0dXs0f///9Xs0dOEAi1AAAAB3RSTlMAAECAv0CAMw1xIgAAApZJREFUaN7tmM2KnTAYhmd6Bf0SIeswB7LOccB1poVsexXdHxXeW+hlz0L9Yvw7iballLwrDfiQfP/m5aWoqKio6KleaVviHQD6Ox3o6xHhDaO6k4QbkIA4IEjM1J4gCD8nwOUTTARAn00QWMjlEsyS0GcRRH3HSq62yYSFEY9Pskkw2JNOI4hdAB5phGqf0KUR1D4BaQRzmdD8A3u4bofrvrgeD9djcsqL2gPoPT8CH8m52QyFTQJoDYB2tA3lERwRAFsBsKNtdB7BEgEYMEQYlxIJY3kWQEfUAG4s3JkE6AZwRArodXOKMJ5cnKhRFJdXfxRQ2wQZf2KuEGycJycIi0O1+YS61rKuD1v4JmGe3lYdJ/c2Qf0+woeHVehu5wlawipoeZ7gSGppZwGR3zf1YhxKJYSG0dt4nsoh+MRiv0vo1lOQyiP060lMbReITYIHoMVyfPEZhCGJTLyFCpmExSbaoc5kEVqau0NXyCZMH0U4l9V555uYaImddwpCbYId/SmC42O0AqcID84IfvprhGqfkDmRbtghndADgFaxL3wO4VGt46EVWQSS93nTfpC8k8yyg456Nr+vf5V+/diZq3srovF6el8Rfv6Zyfz/IPgDgt4j+MnTEk/l+G5BB8IXnrr9c8LwYTVVzUDAk5+TxV2Ejwmv0+5StgBMp52d4vVtyDsB4HuIw/BNEy26YUC4R74QADSZqFeFcu94cz3dgI7Is0XZm2asI5bd0YZDaTaQIwHA3kKSMaEKg7TneVYxSwQ/mLhkhojyvK6YJUIENOyGKo6tQFC8LkLgGB7wq7DoowF5FtWe1w1fu4gQhA0X2ioK7xlBenwbV9/Ra47y8VZONOg037bZRV4UFRUVFRUVFWXoE3njDKPDQaB6AAAAAElFTkSuQmCC",Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAANkSURBVGje7ZhrdqUgDIA7rwWIuABPLwuwXhdg72EBKu5/K6M8AySo7Zz5ZX60esUvIYQk8vZ2yy233HLLGflR7cL6demrktTP9dWZS4xQr7ssLQ146hEvimAAG4IEPOyIT4IgVzhAS7+Lv2NuwNqhBO6fr3Yevb192XuvYlUoQT9f9N9JawwvaJ3WhN79kBF2E1Rr5qoSgEEI66Nh+z8jBOGsNxcxQCOkQbuLjCA12A6YtCIoqt0nMeoBXOtICSw4cDNifqypzNyZoHWMGaEOcbBdqjUXaT28SbNfpoQmPK9WSrqgY8EIoyMMFKEKOlBC9+8IzbcJ4rsERnpyPCCMRyb4eGAYgfvVpE3wStDVrL0GUSCoQkT5qC6Z4IxAo9rvLFEkKHpn6Tc7a8LSsT55s6/eB2cEsbv3PKs6DfpMU5ROPSZWVcWoDBOy4OwdnibOAf5AZ1rVZnExprE2F7P9lCV3VaXx3uIEFlkMxk+h6JUrjnkOKhZPEouz85Osm1ppUOiMUqDuiXCPEVii0HoG1tEmOBYjiNgNbvUmWP2DUZQn9dP6A7rSEvrWZ+GRIAgfTtJa0gBHcvNo8GpyAgt49xYkNMYfwo/KCWB4gcALMSlDMpUKJm1XLMcqCjt0b6YdkMjWwhW0ESE0yOgB7tXotwWv/jCfA32xXY0rHVieTOLJb864o3R7Bcn22eAm31megFb/jCDjpJVMLSUMOaFOk1zUXWQEmRNCqp0RbpsScqc9kOYFELqE8CsbWkf1os0S10gQQpoN3SFDk+2UEP6kff0QXuORK+QBwZn7AHMSMFp9/75QhDkOG7B8bbxAJEGnclczF+hSFdcxmrB9R/USzqkJ9fsd9IkFQtpwSPzRMWGxXmH+5iqhteWJ+5urBDP/zta55iuE2hAGvSZfIjCzGEK745jwG/mWkN4PI9LuT8TOAiO2uNIN0WMPsvWQ8JNqX7t4NwAbiQyTtq9cJemKJmBjbAuOf/RkeRJrhl9Psx0k2h4T2f60zNjXwSVBevuLBKS3Hy4BFHF6cMUNOYFdImAnGJemoY7OYc5MongWdGYlUAK/ZALaV8srJqAEfsUE/PtiOL0QFIGdmkfhbDBtO+g6RhNOIPyxH0E4mogKbRJFqKr3AgMeoL7dcsstt9xyy/+Uv0IU0D8W5O1uAAAAAElFTkSuQmCC",Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGCf38+PMBCA70CvUL8gcCWO3EkAAALDSURBVHja7dvbcqQgFAXQAHJXdP//z85DOmlFQCccMJViv6XTFVZxFBTIx8fIyMjIyK8Py4WLCQAglWbltAAY6/CO9L0BfsIxs+kK4Dhl0h0BifYBp7sBku0Dk+kEyLQPzH0A2fYB3wNwaH9e1P7H0AFg4z4/fLA2B4hDly+MMb//YGsNOLYPdSpJY4CIrzrruTvciW0BFpdpC8DTgPA04DURTw8DmH4aUBqMO03H4mmAkQ8D2OoeBrDlaQBTTwMyo1I/gE5fh7YXIDsviT63YWFWEB0A+WEAAHhzQLl9QLcGiIspWT73XpC7FUgB2VF495ZoWgJuPBadHo4pARx3sjQDGHcLEBWBEDDjXuZGgMQsLEMI7qIIZIBTAQL/7GutXKkIZICoANNuPcDMhSJQAaICSFO8PxZyQFQAacpD5K4IRIBjJ7vzYsScKwINYLl89llzRSABxHfAev3C8r1uRwKYr+bcxDChCAG5v12swde6HQHgNASlH38zi6cEAIEfAV4dVQ/w+CHgswjVgMSiyF3AZCgACj8GQBEAPCoA8NWA5KrUfcBkagEKVQCoSoBHJQC+DhCqAaEOIJ8GbNUAXnkR8koArx4H9PdloNRNwPuLQZPMBUICUq3vpZkLgGWrkIAUnvjN6D6g0avZAAzAAAzAAAzA7wEkjyr4joDkUYWtIyB5ZEf2BITiAkkHwPnEzP4Vrgcg3p06bCV1ARz7YJXoDkDw6QOW3QCAtN57z0V5Dash4N7G2QD8PcCU3ztzUw9AyO7ff/2mNYCxLdUJbvvaWW0POA09gLOGdQQwZvh+D2F+7eA1Amj7mRBNxZ5bG6zlPtrcDq/vayJAtFofCgfZQ+JISTUg3i75DwAWCoCtAFgKwHbnsFDmhMlGsmHhrs7JZM9bOpINC6bn8M5c/n8Of/iurr8IR0ZGRkZGRv56/gGnLNFoqsMJBgAAAABJRU5ErkJggg==",ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJSSURBVGje7dlNcuMgEAXgHCEgdABmov1ghQNgFweQ4N3/KrOQHAsLVfGgkmjhXtku11f6oVvd6O3tFa84fYhHyHEcR7P54Z0TpAUAIJpK4S++4lolfAB7ghE6IEMQgsRTGFawz0IkBYVdXDnB7wVoRsgcAjAzgs0JkRAksuHKhT4vzOWCzwsoFg5OAnClgjoS5lJhOBJiqXB0GYBS4RCAKRO6Y2EqE9SxMJcJ/bEQygT7nQJ+SvAAEP8kqyJ0jLDctzRB3Voy6gWzfv1XLsxpdrh1qRMCxjSnPkELzffil9dDuzA050X/ncL8UzWqXUgeOMFWVFqRth0fFYJPWoZtipU+L2zafqkWQSjACf6pd18Q8SI8EB/NbSCFoJe2VAvpSUGtf18vgRN3YioVOgCIWoi1MF3undVE9TDm69iBsB6NKe6jAMwbAAhLg0gJOu0pZyEB6GLBYkrHC8CJgejlhIWWuxaqY4Rh3ndjTvhA9LRGZvo4RQhdriF0cmqcL2ZhCCFb6KgJZTgYDsoF3zzjALj554IbSSGZEaLoAJBzVlKkdY3gNvPadbm27KynH0V6+RgYoQcQNoJEjbC5GzdbJzSth+yIMYnWvDiDYKj9h7MKunkXhduHsScQMoUycEJ/TmHihO6cguMEmU8LZn/ynELzLusZBHand5+cgRX6EwgqmxaM0DULMptY1LuD3NOCE2xuQVFCv28/SEHmLgP3FsZnToITVOYkyHdJfncnWEHtD4F9IzakmV0h3NdE1NXCMrrftKgXhOguydcy4RWvaIj/rDkUUBm9ebsAAAAASUVORK5CYII=",fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJbSURBVGje7dhhTvQgEAZgjyC0PUCj+//rIgeoGw6wlPf+V/l+uLR0dwamSzQmMgnRGH2WMlMYfHlp0aJFiz8RKg1tjFHZeC0IFgDONQIAAHO1gLFa8NVCZhJSwVcLqMsmAEzVwvVZYYjCopRSylgs0zGhTxeicwAQjgk6ETpyUUuCcmtFaPeccFqTcaJLoyisj2Hi14O5SCbB1EVZ0DtgVseFJKEPmRQK6j03BZGgug9+CjJhrW5fIVh2v5QK/CsuFDS/zeSEN7fW4C0dl1GpzgLARSLEBCyjXvcZnGNqw1gUtr8KDkREghXeUYqQFzTK4bOCFQhfxxAj9BLgaxKM4EQCRlbQMgCeFU5CAazgpMLMCJ0UwMII4ocAGMHJhYkUtBzAlRToclosvRCUMNCfRv+YFOh3YqQzNFIC9y6TCzyLBc8k+UoIu9le7Hbi9vfHOAD4krBrXNbpJIu6EMKwr9qkEbOxBpIPCQUhxPKak8ZuNwcQwm7BPm2yocViPbu8YPl9mcqnUPBkRwQA+CcTpsd25qDw0OofFfxDo35UWMwtnhZy8RuEUk0+JQw/LFDvZlp4F2M+qJHfH7rdcaAGauQFvd9hLDXy+6TavxD0yO/VaUFMHT22X6CE091JRY38mdXfnZbU2DYvSugOlIOn+4cDwlzdw4y00IuBwHRB8ibmynWDVv4QjCB9jKW6r55re/uQu1846RRYoZdOgb9nWVEicoJ2omfI3RY3It0Ptvfys3xjvd1Tw6SUjlvrOV5kwyS6d3fGmPgfVrN+r5Of0kKLFi1atGjxrfEfyzS0C+vB5L0AAAAASUVORK5CYII=",de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAH4SURBVGje7dnRcYMwDAbgtBsYhwFMmwGcawdIex4AsPdfpYQCwWA7lv4kzfXQQx6/E7Isq9fdbot/FS9CiNIJenjCARbKTbiF4M6hAeG1F1o4B0YSXh2kc9bZN0AQn30e34AgHZ3whSEJUjUWwpCE5QtjEie+MCRB+I6lMCbR8oWi/waT/x2+cKz6BM53zCId1QvZSQQ7qhcsrw774SxN96t4lTRuipYnFBfBYv3wWw6WIC+C4glDMfMvx1q4FLPmCgUsTMVs2IKEhXNP/7lwuJXAP4uxIwAB7geJdvXUlIot7GGhxObD7F7wBVJDBQUDTVpyO4QEWjukZpSCBQ0Lgi0sG0pW3eE0ii6M7fDu0iviNaEw1x6guGDnCSRKm6iDFkczByJNmnqzVqFhoYUFS7xZgVC02x2Imjij8gqRmrTraIjvRSCI7yYgrD6jMvGeCgqL06iScysszCvR6FmPZAviYwK+vC7LF0ai0X5SBKGbbV3ojOkbFfwoiKe5jvIJhAPtXtxFIN7uuFCzhSLx6NAExRZS292jhNR292Ch5gsGFlI7CElQTyDglVwvFIp4msGNAhVsphDfKJym3azQWkObD6G1hjblQmsNbVYDwh4WJCzEz7POFWSssVWuEKtEbk/6i9E8TgRh+ffKOHu3f+RtscUW944f4vbZ6VOGM18AAAAASUVORK5CYII=",xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAL+AQEE2ZkcAAANqSURBVGje7ddNmpwsEMDxHCHlxwGYxH14HPYvk9cDCP7vf5UsAFuwW7SzjLWa9pn+CVVQ0N++3XHHHXfc8c+EpPiQ0/H9qdBi/1JomEX+/xuhx0kD7vNdwQBaDPDjPaEBWKQD8PYdYQDAygTg3xBa2AyiSjwR+iBg5QuAn5eFgTSI+Ke6KHSwhBTYkFOcvSb0MIeZrINYrgnDKqBSVtUVoQNcfLeTMB3cFSFVIr67ozaPnTBshXUQB3u1FDooBlFLZin0ueDjLjkYRCkMubBItaKFUEwCLdVBFEIPy3YYa7t4PYhCGECvqfjAi7Q2DcyeETo2gp+YRYZF5Pc4juOozwgNoOMKcBa0TNTadi4YQAzOAKoF6Wr7qhQAxPyQFhbp8SGJFwUvVkRwIgbVpG3VjZ8i0o3jp4i043g0i5Avo0XADqmME15EpnWJOf1CaMdH2lrcV2oODaiwZ1RaYfb4zAq9ygMDiHQD2LBN96v8tWAAFvAiE7jw7sdOQ1cFAH6nVhd75py18mMhHH09WBkAFR7odQhrkV8Kod8bXDh3wrvddvvrimCARWAOB3A6jh9DYK4IPWBb0EP47wFAdUPefY6EFn5Kjwsv1XERTHkHrNTCiRh87NkDgOu4IkwqVhRYwhDm6ZLQxpuEB1SY/ieXhHR+fQGhUzKVQgfqUDDAkr5mcLuzZAJ3KEDa4UULTwLArwOhBZaYfleeJDDXhZ5wMQViuyqEriYYUOsFYnoitPUxuMflcnhH6NYbyCL7NKCD8N9RLT5im3BWmmdCD3BYzdQmlDxJQxRcTYh95UkasNIDviJ0qbHvAeKarQhNcRXcC3NFmPLLfbsXdEUY8rO73W+L490d0jAX2z0TXEVoq8JSEfrt8ZZOwiYJ4SQ+FkwhDICX7bawFYHiChO+OT0EJ9eEbnt0ztLAfEYol0Na4kp6sBeFPn6c0sZyckYoijk/ZtOjrgomVYb4w1xOCSov5vpcxCznBJ199KkmTsTYc4LNijmvB4mIlXNCXkydMqrqt8EouLzdrF3Dnhby5eBTTZycFpasmPP+cVXIl4NOj9VbQkpDm1WoKuhtMX3KqJN3hDYNqM+yUxWyYurHreAdoU8fTPb7ryb4bSl8ero9xi4Jc3q6XBBmqcWx8PKn8kvhjjvuuOOOOw7jD4ser2yVhz8iAAAAAElFTkSuQmCC",Ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJCSURBVGje7djbjZwwFAbgbQFfCiCJC9isXMBs5AKA+ftvJQ8GbDMLc/wfRYpW45fhhU/m3Azz9vZa33EN58uUS1Lwo1aI71oBk1KwmJWCx6IUoloAsF3+pARbBLdQgi9C4oQIIBeEAydgEww4we5CIAW/CQbAxAhxExIrYBUcANwIwW5CAoB3QvAAgGEI+ZcQYr7TAADujLDembewEEIOw+IAAJgIIYdhTlgD2i/kMNwzAGY+oF4LIdhGuBGCb4SREGINzMycPG6hW7DHLXQL/riFbiG2iSCE4zN0C1UY/nBnVgnDb/LUi6WaOcG0aSAEV7cUJYQSyE9OyGPlI5Vq6BTWAZe3cmcEvwq+Ksk+Yc3lj0TXZNPZ22P0CK65e3uN6RFC3dhme43pEVLd2Y4Q9pL+SMASCWHvyy0n3XHYx9MYSKHEwMSqueSCq1Lp87HdKdR96asRIRdSW5F7e4sFcwCW7vngTgC5EL/qqi7hbAtioX3xqD7UxEJohalfSFrhmMt+wamFQxjW0dAjQCtYteDVQtQKx1yWr26p4NRCUAtJKzyGoVd4yGU9HkRCVAvQCBH4tBohAkBSCI+V9DgeroWkFQxO1ygT3LkgPC/8ubC/E18L8UKY1UKJBC3c1MKsjWQ5/8lsViOCrKhqXHNVLRacWrjchEww/4Hg1EL4p5EUTTmjrcnBQjClLoWr1ppEQtBOmCEKmpsWSjSUAm58HPZhR+difwy6HmTC9ZASCe6p8PT/6l9PgPt4KbzWa32X9RdFHhYmFcY4SQAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAKVSURBVGje7ddbkqIwGIbhnq7qBfwQFgA2C4A2C4hdLIDDu/+tzAUHI0aSmJupGv4bldJHyOFL8vFx1llnneWrP3KvGmitz3IBRmNfORYyAAaRG8C3SAdAHy4UADD9zq/XfPkcLWylWW8qVOhg1DuljhJqmFtzq1GkjhMGkdwWmkihYBDRKfdQwOMtQBMtmF1LjhLVmxmM0KrL/OtW1fATNaLUOn7q9Y0GKMMF0YBZh7eRpWMkQihgXKm5/faD2ieo9fv1+vQ1NDFCDo10V5ECepHuKkWkoMEI4yowSrY+V5iQAyIg0s0CouL6Yp6HehCpYZrf6ZgRpeY8yoyoeUpkZh4aJlTotkTrlnm5DK4pUNhG5JKX81/XuzF1JHTLdBZlpxv32/EJysoUhqq6wHXNmzFIWIJhrC7zT3Kgre5Z5ResYGg1Rjra+6UpQLCzqexoRGOs0DV+wY7osqAXsK/1fuEhHJUupb7aDzbECZO9jAYLDwlbSrbL/ckvZA8R/QODDYwmfHY7qonM6ueK2IEsO45dDZE56XkIn/C49LtuwSsoTyv4hV2nAkNVVVUZITztpRanTBXgO1lYuyRBWBaeFGFMFub5mSRgkoUpWRiTBZpkYUoWSBfKZKFPFoZkgXTBJAtlstAkC/0/IEzJwvBfCDWM77akatbj1e97val0vx3Qbm8JmrvwvH4HCB22IJmOnVmKR8G1lTme3V244E4YRbDwIuVylzDV7gXDKWiX0MvFuWi5BIVbcA0M4xTyV8Jzrw7uNat7KTy16IuVV4cLxi1wKEzauwP5PBZ6pX27IJ+wHaJf7sS+fMJGmLeFhWjkfUFq4CqJQiuJwvfB6eCzqrZDyG153Qu3wxPKWWedddZZZ72uv12GQx5T4X0IAAAAAElFTkSuQmCC",st="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACAQn1DvYEBwgL+vzzDfj9X7HdoAAAM8SURBVHja7ZrReoMgDIWnICAgyvu/7GpXW0VACKHugnO7Af9HA54k/Pw0NTU1Nf0/da76DqjdQDgAodZaSvJXPw4EAwzMrmJD7vrOQCgAt5t43vruQCDAZ5pMgtNAGMBg98r4Fc4DQQA9O8zD3NPQi1Gu4sL5i2cgCEDZo/R+jVHvV2F63EFoZ6CCAQjrSmwnbJzsWROPDIQA6NM8f1tAJLN+MUlCAwEAvWeFdZvH0PJPBB4YCAAYPfOMnZlsXKr3DgQAaM88mjN7JeZD1ACA2SJqBgBYVDWABnD3KWBI9wBYGukmBGtE+haABfkWnOxAgRSSHwBL4Diigg1A8YTwMwj1hAdzXSAOzwskxvqyJDOSSOvDc0NeGAeMl2bHfdFZUH1xev7Ks+HhVw5QEAiyATSABtAAGgAUgGtFzY0A9Pgl+ToAd+qCXwdQ74rQTQBbWkrvAngXdu4GsOYMcJW0z6gAiwvATEdihcKJdIYVA3zSYkac4vtaeCcRAOKU6kt3YJuAHqrV4V9hdnPaYoDXFry3fZ3QRHbAOBFTDLC1CD4EYojWqgchEYKQnZ090XfchK+4f5WM2PcAFusjCPcpan2MXILHCaPr5jAlB/GQVLUAjBtZwe7s1aZA/cAcnOeEsFQ0JPsr1lz1iHEBhvNUNNjDN6yCJ5y9/aJAD19UAAg4ALXIZ/jT9WKc37ZV4gOQtCO/kIvKPjwvSDRBE4nXE+EAiVuwfaxm/Mwo1Qf+XVJLhdRsSvwRogehBMCktiK6iE0rSk4TWzYi1mIry4713QBkuhkgjcBUBOjMdfOSRSNWlFZIrvdARgO2GKAjF7brlTiE/gvjNd2SEIJ99JYqLVJFLM/mFkMNhQUFINyw2FySiH8oyst0vhXYMmwGiczRE4IB4LkUdy41GKcUD0AEfEA8azR4AOFMIfKySnWIANxXilhTo8sjigRwfltIOjLQBLeGBZDqTw4tc0yA7GLh2CEDpJpE7w+AAkCy6hMDPkA0Cz2HgMEHyCQg+AB5BBPBB7h+UVrtJgS9JaAVAB7+JOOVnawBkFUv5DUAshBEFYBnyZLlXQfYAOuJGKlKeOYMAGhqampqamr6rn4B+pGIWV4OTWAAAAAASUVORK5CYII=",at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAICSURBVGje7dfBccMgEAVQJ6lgkShASVQAwRSgZChAgt9/KzkIHGMhsTjJwTP8iw6eeV6hhVlOp5aWlpaWlpaWR80TZSPOcOrnYeBU/IknCAsAKj4AAKpKGAEA3iaPGmH909tMHOHNYj+OIbzjMENREMdAWMsjYSwIc0kolVAW+pLgSoJEkVAHQmfBidoVevDi9wRhmQKmHYFbAuB2BAt4rbU2AAZz3JhZQcSdJwFXKEhlhS5uPAnMRMdtlRHEGQCRGIgkoIhMrWABeBLwRBIYCoLbCuO6xB2gSAKl5twKInwkGYRSDctGkAC0/rjUUL8OJp4c1t/5LYAl2Z6+th+eL2dw3ODqeI9suvolHqDMI2Lb1S9AOOIWnjDtCT0cT5gzglrrv1d4CitpuILLCH7dncu9ggEmEnYthSFsu7oH4ADgK5xR1esgUJdpZ3fzkzsnTQ3gs2e1rhCW4wmE8xK/FT4LU5BhAL8S5vIkJv9bKE9i1P23wJlp/04Is3gY0Cum4svnfL2+HQw1wnipV1s9EAkNPUR35ggSyVUirYwl9Em9N67iCF3cwncLIqn3pjLeLSkrdDWCTa51SWWOJ5icQDXCeF1vKsw8QWYFUyH0mXYIAvPO22UFWSGITEMFgXtzt9t2WCvzXGFEMpr9uBNXEJmXIBL6g/aElpaWlpaWlkfJN20RytUF/gYEAAAAAElFTkSuQmCC",rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAH2SURBVGje7dfRkYMgEAbgawEIBUhCAdwNBZgZC1D5+2/lHpIo6C6S+JSZ/d/imC+wEF1+fiQSiUQikUgk3xzFRTunajkSfgEA0zW75K7vCB6vLAOJQN8urACAe6eUUgZAahYiyiSnlAWA0Cho7HP3ANA1CgO4NAoXnBU8L6TQIhhUkloEWxMwNwi+KqwLygt1YB0EK+gDAYeCPRL6I8GjcRqfC+lIwGHCCWHyWSE4obojg8kKwQm6vpBZIU4Iz0J8JPSXbEd8JBQ74oyQTguPQnCCbRH608JcEzxaC3FKQKgITQB6XjBtwswLuk1IvGDbBARWOH5CLYVghPUe7rXnX4WgBQ2grwnds9aJEyKAwM9kCkt7EhhhANKugym+r5QZHoUgBQ1gZPuHMe8vZlqIADpqT7g/AFPe4yRSeLVrRB+mhkwwABAo4fIc6rDvBVXM3rkqAugJwQzPf10sf37RQ37nTAjx9eywADA657pyhl0+2rQX9PIE1Hnls/KNxaedYIb1hUYJtrik98Jjn4R1ucb9Q3zKF347Cz3kzUUkBLVpzDf74VY2i5YSfLacpeDcbduwakqwZVO8Cp5omg0laO6Esmyejl26pRBjTbiHzZxH4twyk0IEANfVFn/ZiFP7OUtTwlunReO2o6oIEolEIpFIJN+WfyxbbKJz9FUwAAAAAElFTkSuQmCC",et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIwSURBVGje7ZjRkaMwEEQ3hZFwAGitALg6AsAuBWBM55/Kfnh9xwI9M8DXVqn/9ZBa0vSIj4+qqqoqU7JQEomfQuQhZIgE3I8TGkAkAN1hQv4mPA4T8E0YjxLCmzCdIqQrgDOEl34zoTlLiOUsof8HIIfSIvxfAzAcIpTpCgC3AuB5hPAXrRRgkgbsUOqECIhkYJRIjdAJPd5zCNQIlRABjA0AtBnMCJUw20l+IjRCXALQ7iSsprBZphTCegqbZUohXIBJLqYRCqEA6LJpBCdEABhsIzghAMBkG6GsAlvaRei3CO3eu9nYJ8IgRPtEmBXGNMIi9KYRe+rkthEWwTbCrPYrI1JKKR3Mix9Tad2EBkR3d+rBQNjJWyhicBJ6Snjlx570X+m5twPZXoevG2Sa3B2p5oSDcIHqhIMQ9GV4enuFgNb5OuB6uAiaEaOLoBkBF0E3wkXQjBhcBM2Ih4ugGTG6CHKewIzIwOQjECOeGYCPEMilsAkxXdU7YRK04cBdTEK2AFJ0gg5o37vMCb02/ta904jvZjDHv4KAnygaVbf045g8GaGZf4spazerzNKZKWr1oaFPu2UedoTQ0wfqItUnVuU8U4harW48U+i1vOjpX5eFCzSzCv3zs+htBkKI5Fm3LlssuwP92bAAPFn/cKG/jhaFs2MEy8hQZs3cJiGrhD951gNxwvZWxDQvnB0nwKVWThIGOUnQe3t7/Njp74tkqbVeKFVVVVVVVVWGvgDEAKn7LjQjAQAAAABJRU5ErkJggg==",Ot="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAIzSURBVGje7dhRcqQgEAbgZPcE7TgHoCoegCQewNRyAIT//lfZBydVYHcrHTJv/o9M+ck0tFK+vFy5cuXKYV5pn4GIiHw9+BEAAMjvRHQijFiJKMCV6ON6APg6FQIy0QBEGQDciTAAIJoqYS4BrCfCBIAGlMKIOu5QGACApkoIO2E5FEYAGFAK+ykgHQoBAKZKmPdCPhKK+30LA1iOhIkLo0ko7xc52iBMghBMAgQBFmEEgPVWCYNJCNu2n0vhxgF9Nbeq06mwqsJ2pXvULqqLqe7qxz9On1Ud7lxQO2u38EkT1O7eF10V1CfMvVFY1KdcaBD+IXnShBuQqg0oCY/qysIdyPXS/UCAn06E9UyI4URIZ0KdnwnfG1IR8pGwdVAsGskJczsStv2wFKvhrcIbgI+yOSTBHwn0+Xjd1YtvEW5A9XaRhOVMqJIEIZqE3C1AEJJNcN2C50K2CYvQLzYhdgtJEFy34E0CniJEm+C7hYULq02IXEg2Ye0WEheyTchcgE1Av+C44G2C7xbiM4RoE9IzhNUmQD6gacKbIDiLIAHwTMiqIAJY+NlGEwYRQGwXJllYueBlQZkCUrMwKgKahbldiLIQNME3CloZ2oWbKkQmJFEYu4W7KqRuIfOfjAL6hYmNOKMwsxFvFEK3wLN0C/ESLqFI/57sF6zdzZK7hbVbWJhQf85uKcNemG2AcI6yAXBM+GufQp/guPDHBHyRcLYPZmAvjM3X53eShCtXrvxq/gPpmvU6il377QAAAABJRU5ErkJggg==",jt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGDvvxBQz99AcIAgn4+vMHRevv4AAARBSURBVHja7ZrJoqsgDEBfGQQERP7/Z1/HW4YAgaorsrMqOTUQMvDv35QpU6ZMmTJlSiy3Y4RQ7xmH7owAlEcryeIfIg4CqIxWEvl8xatjANhrNILXv77e8OuhABRtBE7fAPpQAHA4ULQ/B8AbnH7jzwKwOAB7GkA4qw3Z2MfUwungzu7PA2Af7avwiVC3ZI8fD/Baisp6UKh+rBPlzwSQ/GacLwrVfz7oJACvdXAh2aa1tuF9uflzAb7iyHdV7psEnzkRwKY+QbErARjkkhZ6FQB97zF80Y4xZj9OgLuLAF7b4hKoo2+LsGsAHn9YpZ7I8nAXOhfA8dsG+AB1M/KiSUgpuOjElcvw7f81Uasu3j8ZgC1/EdAqrweQCg6CrgIQaYC4XwzwHNo8YhLhCK8+dQ6Au1vehq6Ry4vngNPhWmRanGcCQqN9QBFajki8VYuozJQRABIpWJOgK7fMNy2BCXoBYv3+OWAZgKQmywk6AVKnv0SJRyZbkJm+/cX+E0AW/97HM6IyB5bsHbr/AADF37UpCN5OCHoArD9EYoIOgIP0JwR4gLZ+6bQmi9ZOtghUPwAXjUHFasJUldWfJr0ALf1uz6oCFkeAA2joF1D1KQ9UQQIUQEO/LVWLNgQBBqChv1IuI+33EAD7sP4GwYYD2Ou+bm3UaKu2wwA09LsgEJXQorANghaAqesPqpVRGMq+VUpZJ2gBWKxDieMShjSC31sAS935QgXZNPqrfQJqUH6AJXHen5hCMhLVkc33eZv4L4V0RKwZ2ybWXltV46+dUADOF+xbWHKy9IQbBNBVAPK3D7KkhEtWU0sp9CCAzxz+x+QqJtyypgIdBEiWQrz1hn/ZRmX8rEtj8pAaB7DXvC8NftnDKj7PAAjwR3DxQNH9vu3KwuZQdGEqUW1HQMKAfCjqSG2vD0CDRsbzQlamgOgA2Co78Gu3YAtX+lut+VyQvN8X78ZIgORVhijHAM1FB8xBbEwI1CZh01IXefrKGngbEhkVu9o0DL4B4/FFZQqyrrCcVD/BPQanr55BdlH+AKQvL6ga9/lEuDVyZZqVHd6XGdm+ULDU8s6tiAVQ9SS73T6lBSOik1PWKk3WRZRiKTQAqcTDPe3bsdwQ+g/Y1jFc2hmoDyg/TJCH1mqkQpKn/I4P6mdDJRogRxGIIwQcqFWYsSLVCsT1zZMkQPswiqu7ynRQ3YVVPwLY2mbDdUI4UbRFBK4pmA2NV0oLdWkLusXd0lL1dLxWvJaSxC3ZH9UmcQWF3mp5JVtmVpNHAkjiIwQN59HdLxisl9KVws6rv2MyRCD2e5wiPSNH9IzeBETj9VcOXQ0d57vvS+4+6XaGU89qscNvBxoX2VYv687y1xOVpFFEFi1f/fuRzpK/eZ6kaAduh5wpXTbgO4htwbx71KHWezJo2RvjeZAFGzLOc8NTpkyZMmXKlClTpkyZksp/8EESW03DelwAAAAASUVORK5CYII=",xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAECAr78gcFBg388Q758wj20ggR8AAALKSURBVHja7ZnZdoMgFEUbZgRU/v9nGwcSwYsMMV19uPupXUllywEu0J8fBEEQBEEQBEEQBEEQBEEQ5N/w6IRQxn2AM0pKf3CngJDvtt9wKf5GQDGfg6nvC+jBXzHo7woQ40sY0itgyRNb6H5XFPBjl4CV+7sZeukgSl3gVFcE9PBmjmbefns0vQ5gnQlCtQnY5LXMBI2+Z+eunUMuYqAhKN0iYE/d6iao/WBmc/PQrePPjsvPukEAiPVkoPcP5PqbBDuBrR007Y/T1QJgqImBSlrJI1/fVJUCNryNk4pnDIRL+znDKx3DeaKaFXgpLy1yeD4ZYKSB61QUjakTCA/ncVcfU0xCcmHVilj8Z583zQnYyFd6wEC481I3n6vAMgATU1EhQI7NTUlTm8GYNKXgmbN0gcuvymWB58A5PXQxEP6cgAAmzgy4iiaBzNI2AsVGQpU4HUNxF3QKPJdfV5cAmIGz9YMwW14qE4Az0OVpOPg2WCaBbR4p4NsFAXoqqNNlzde5BLYhlwZWFhDnp6grAZtLYKtUaQaktRjxx7VAPgE4A1oWiLcDizHrSwDMgFXsB45L7fzI93BIID9x5Nne1GzJ3jvNdeHghQR0fsoCn1ZtSu18CEyX5sBFQuLcP5XbcjEPflxX7sl3JwBm0Hwy0r47gW0OJZ+HzUL90UxDO/1uaBhcDWfD+Pw1Pe4Q8FPL4TTal5B7BETT6fhoYNSfR1A8ADZhlkEoGu8HRn8j+/mgReDW9kM5aBDQ/mbmNoHJ345qEoiK7UBLtzbwGU2adG/atRTn77wa77PmBoHhuCX/aAmYozJZK6CL110Nd4rHnVmtAIsq24eMh2NTpYCFj7ad2HeetcVIVVxDdIVAKwUodLD9gFdVY5UCDL5f+XwUmEoBHi2fd2bQKkDvESCtAprukHsERHgexf+OIQiCIAiCIAiCIAjyz/gF0u64To/v8lwAAAAASUVORK5CYII=",pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMGSURBVGje7dhBupsgEADgd4SKui9f4r7Esq8vZV9F7n+VGhAEZZgxb9c6K2OS32HEQf34uOKKK6644n+Jah83ZWw8Kyi+lYW78THzt4QNgImiwEwc0xuCSgQjTgtNChh9Wuh2grGVYH1ckLovCGwPuErIpah+PLdl5y9YaA7CvAq+JDbJP7BwGIQbhgxb7hAFQR2FIQhTGCUsHMvgCiF9Oh0m1BlBb8Lkc/wBCm1GmLfyzP4I5wQT7feF/g4KHSDsRwfPKJkTxKHC+rywO8vjG0JaII4ID3/AdUPsJ8pUlQXtD+g3xL7G/C0hqsRnhQhzmD/rhhOYJ57FDqOgSr6if32rRblH5QB7cYYUsS7n//Q7Ofvx15wmzMtwBpUVBDEH3szb+Rvja58qTJVgx1E04UNZsOm7buRGMsbXPkXg0v7QnkeZCB0u2MxFG4QqFVRYw0DBNpKhsXNAvU6JTBY+QxWWP8+2bIM7Hzr+liKIZV3klahuj7Ut6LiJUgQ76+7ztgjquHlQhHV11TxNfJ0sRCH0hViozwidvyZjoaUIbbLIjckJXHvHKWHyY48XZaKw/XgT2i8L6qtCY74qKLpgYoF5oUnbDV2ovaCIgswLPFrzKAKPBJe8uO+Xn7IgIqE9rB4UYTgIh9tsRBh93abcHUlFEKboylLZu2xM0NHVnb09LQlqTdR3mOMt7ogIvtzNWrQWupdAhNFN5jlXSE4SdFidDFBITDB+hazzj0wEwRUiV4YBEVg4ErMJK6gMoFBvE08tTA2WAReGZQAi86gwYUKzHasxnMF3lqCwVW7ozHCHBwEK2Sec7IsASJCIwFFBlQGNPvszJIUBFeoyMOPvH1pyCpAgySlAQjkFgQsNcS7AQnEQuxdTWYGdSCEvdNT5CAnIZNi9l8oI69PkDBOfZeHmF5TCWDQHhWgAubaiJdqjunjeHZJ4xhMF6LQy8/IqxCPZJRDBFetnPJFE8tCOCQ/fJ3r/njbskRThyatC3FRJuPV9/6iwYMuveqCSV1xxxRX/avwF3HyWGo6xlhQAAAAASUVORK5CYII=",_t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGDvvxBQz0BwgK8wIJ+P3+rdXCMAAAOdSURBVHja7ZvbdqUgDIYnHAQR1Lz/y86FtRsQIirYrhlyx+qifEKA5Cf7z59u3bp169atW7ejQWSMIwoJVyzd5SbAgIiI6sr4mS43AQQiIiK7AKC2LroqgCgfX289cKwKcPievO09TF2AqXR8i20A0BUCzK0A5rLxHbYCwLKzYGkHYErGl7wdAC+ZAoPtAIoOo7UlwFpwC2BLgIIpWNsCqNJTuBXA6XksWgPsV5Jji9j3m5qMTk1AEwB0AOBGhZHxaQhO4XYAM+gZk7Ya6bA9AE6YNa7eALhgHaADdIAO0AH+RQA+asaJIWc9qKYA4yHoCG/KxnnBV26UB2B0IlMBYAhyv4MtYVzcAGC14BThA0MQlTXZBZx2fN7Pgf8NQAgh1E8BTGwXjeyoXgfgJhQr7PwuwHTUSrR6D4AnZQI5vwXA7bk81BIgO36cHLcCGAh9YnoBYCkUCZtdRrRWODYHOFNLeX2AcH+fiaULsVr3AEZMiVTnjwUJWfEWAMNLKxBGjNGOvQNgowjI0wnHT/A32YzLcPcQwMURmE7P9ZrzWSUfAcjDBaPToizPnUWB01wHOEpyOn3mzPkLYX4AkLjjdXJ7+Ett8nfiVQCGJEAmAzHpfOkGwIAnAN9esEoSAO0tAMszAMy4yOH3T2TGJQH24+ASgEynQBqWz5K70NG3vyQA9s14BUBmgm0NwvvkJVgWhYgsCfBFcAUgp4lvALvTyWCfbX83aeXiIsCMWYDJO/gYxg2bAcDlEgDDPAD7fPWXn3oNDjkAZBcABiQANu8Ug7Rm99NPw+QBUBcDSE4BENODqyQAuCwFIFQo1JGD8Cne7ybft3gGFA3g3QLKhQ0KQMibMWEQ5mx73i3rlh8fGh7AMXiqBwAAoP1gx2u8BnBaP/BTAHM+hXoHQPwagKpLwMvzAt4EQGBpOZUj0vgHAHNxbjgeArEqACx4MSiqIeFQE8BhMgClSKeqAF6OTrqhXKmCmycADIm1TflKYgUeAXgxAiHSMFpKegLg37JKFlRRudoAfpiUUQqXMyHjEUAYiSX+v1VRbFYbIFQe1sjJ3YznBVcPAaJYlS/fZ61jZWLmQ4BEuqqEEELw1ANqCwDq0TarC1UFyKTspeNXAAC7no5PFP9WAAB58ojHqZrLGgDbTwfyz3hk9XUdAJAmh7AOdM9KAADSpFxhGs76VQMAALuosKByLCh9rwkAAKCZ2WywZR36z3e6devW7VfaX1RWEFui2iCPAAAAAElFTkSuQmCC",ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAALZSURBVGje7ZhtcqQgEIaTzQlAPACV8QAu4QDOFAcYwftfZf1WELsb/LG7Vb4/kpo4PNJN0x/5+Lh169at/0SfjHFlrJJslhq1flwEER7dqHr4Hv/pZtl6WlmoziqYIJY1/ZLvbqfnAJiITkKEclnh5KPzZBnTyzOIoNcVrgtk1/11EiB0JDUIwRqM8D4nfE0+LM4Xv4YfLUwYnF6drLdyfGZRAj91QP+wpBDOttCfI43AgVOgEapzgqMQag6GAkL4NXynhAgWOYsholo4oKSGCRqN6Dcck5/V5XshSATobnIKAMwPTBMILUigmNGABDZkZq5+QCNgwiweMceqeoA3NEKQqncZH6sXO/mZ6kmtOHuJMwCZsLvmT5ZHYGYrN5mExQ6ZTZg30bB8gljyazaBjSnhEkFHvJBOYFcJ9q8QuOr3rlZPphOKLRDFGk/ffWisTR1CKLbqUsxZbe2hflMIkWRbs4d/xWACkmtrlCDQVI8RDJ6pYQIn1BuYUFLKBaVmvWL+fOrlcHGCi7WUbjGRYoWNEewU48NvvG662KG6LUQhwvzuV+xQZ+e8kXjAz6JGCHgDgcUkGhAWIxRoM4feTYIbEm63mhW4ASGI4B4Gf2rTclQbdgEzFMmTOkgnfs6gZNr9nmXYDrWkbG/8o/NCRJIIlR8+EbMwAvffyY+Hg1Y94y05+IVAEJ7nqsPpEmq3Z7gOyg2JUO3PX4d+pBB4fA9NQgdidpaXoR9JBLF7LQ/9SCLwLaLk6pUmqY8aV7m+ExL9m5UOGlMKoVjsNt3il3diL2emm/yYgiBoTEmEclzzmM0PJgQSYQuJVhwafFpHusbl9N8ll97TinDQTe+K/eIrMwhlWOuSCbw7JqfE3l6HSf7KxNpmzhcm7secmdflzjg87secqVlenZrbC5Oan+RzCNXlqZlHB/ekedNcnppFxI9pBB4zIonAqqMfEwm8TiLcunXrn9EfdCAUTiCcYbAAAAAASUVORK5CYII=",yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAG8SURBVGje7dhNbsMgEAXgHCGAs6+VZl+SeF9XYl/bvPtfpQs3iQ0MzJRVJd7KipRPw7OMfw6HlpaWlpaWln8Ylc15AAAs1+2PR76g1/8DgLdl4YRrOAC2sQwBIzHAmi+G4MkBdlNkhNcQ0QAAgL4sLL/HBsksZQHr4R1ExrJglVLaUQB8zxEMMpmLwkSv4FVmVpiHPICxJBTjqwXYamGuFkALA7jLIIR3JoCZEAwXgCcExxaQFjo+AJsUBoEwpQQtALCkBMki4FOCZBFAShABeIsFIxM+YqGrFi4y4TsWHADPd2JBrztk93ehqxYuqF2FQ2WTGrWCqRZO1cJQLaBWENeAz0AQ1xBdWUO1IAbCPUpeQ7hPymsI9+qLWAjvF04s2GqhDwTxyYzu3Z24yFAQ7w5TdPeXDpF4CjoLi0w9gejbXVAk9SRmbo5ZZO5djzPKlH9b1Jwis4LhFJkVnheqpxbkFVOYlFLqlih3KQjPi2R8naJ7WCRP6Hc/b4axBWG7WprmCEso7OiMYHZFkjRHsAGwpzPCKV1kSDOEqMgnXfqK8mh8pgRfEhxV5J4WfMkh6OOhpaWlpaWlRZofI0qwfBNtipMAAAAASUVORK5CYII=";var Lt=c.length,on=u.length;const Ht={generate:function(){var vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$t=vn.prefix,Tt=u[Math.floor(Math.random()*on)],Wt=c[Math.floor(Math.random()*Lt)],Ut=l[Wt],en="".concat(Tt," ").concat(Wt);return{name:$t?"".concat($t," ").concat(en):en,image:Ut,animal:Wt}},getImage:function(vn){return l[vn]}}}},r={};function i(a){if(r[a])return r[a].exports;var o=r[a]={exports:{}};return n[a](o,o.exports,i),o.exports}return i.d=(a,o)=>{for(var s in o)i.o(o,s)&&!i.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:o[s]})},i.o=(a,o)=>Object.prototype.hasOwnProperty.call(a,o),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i(598)})()})})(uHe);var x7t=uHe.exports;const Dde=ls(x7t);var f_=(e=>(e.HTML="html",e.Slide="slide",e))(f_||{}),cHe=(e=>(e.Markdown="gfm",e.Go="go",e.JavaScript="javascript",e.Clojure="clojure",e.Dart="dart",e.Python="python",e.Ruby="ruby",e.Rust="rust",e))(cHe||{}),Yk=(e=>(e.Disconnect="disconnect",e.Connect="connect",e))(Yk||{});const S7t={mode:"gfm",preview:"html",loading:!0,errorMessage:"",status:"connect",headings:[]},A7t=/(?:(?:(?:ftp|http|https):\/\/)|(?:www\.))[^\s]+|(?:\[[^\]]+\]\([^)]+\))/gi;function T7t(e,t=Number.MAX_SAFE_INTEGER){const n=e.getDoc(),r=n.lineCount(),i=[];let a=0;for(let o=0;o=t)break}const u=s.matchAll(A7t);for(const c of u){const f=c[0];if(f.includes("(")||f.includes("[")){const d=f.match(/\[(.*?)\]/),h=f.match(/\((.*?)\)/);if(d&&h){const p=d[1],[g,b]=h[1].split(" "),m=b?.replaceAll('"',"");i.push({type:"markdown-link",level:a,text:p,url:g,originalText:f,alt:m})}}else{const d=f,h=f;i.push({type:"markdown-link",level:a,text:d,url:h,originalText:f})}}}return i}function Ide(e=Number.MAX_SAFE_INTEGER){const t=document.querySelector(".CodeMirror");if(t){const{CodeMirror:n}=t;return T7t(n,e)}return[]}const Uae=f$("doc/activate",async(e,t)=>{try{const n={apiKey:""};n.apiKey="cbovg64qfu96agb5i0fg";const r=new x7.Client("https://api.yorkie.dev",n);return await r.activate(),{client:r}}catch(n){return t.rejectWithValue(n.message)}}),fHe=f$("doc/attach",async({client:e,doc:t},n)=>{try{const{name:r,animal:i}=Dde.generate(),a=n.getState().settingState,{userName:o,userColor:s}=a.menu;return await e.attach(t,{initialPresence:{username:o||r,image:i,color:s||c_(),board:"",selection:null}}),t.update(l=>{l.content||(l.content=new x7.Text),l.shapes||(l.shapes=[])}),await e.sync(),t.attached=!0,{doc:t,client:e}}catch(r){return n.rejectWithValue(r.message)}}),jae=f$("doc/create",async({client:e,docKey:t,init:n},r)=>{try{const{name:i,animal:a}=Dde.generate(),o=r.getState().settingState,{userName:s,userColor:l}=o.menu,u=new x7.Document(t);return await e.attach(u,{initialPresence:{username:s||i,image:a,color:l||c_(),board:"",selection:null}}),n&&await u.update(n),await e.detach(u),!0}catch(i){return r.rejectWithValue(i.message)}}),dHe=y1({name:"doc",initialState:S7t,reducers:{deactivateClient(e){const{client:t}=e;e.client=void 0,t?.deactivate()},createDocument(e,t){const{doc:n}=e;n&&e.client?.detach(n),e.doc=new x7.Document(`codepairs-${t.payload}`)},detachDocument(e){const{doc:t,client:n}=e;n?.detach(t),e.doc=void 0},attachDocLoading(e,t){e.loading=t.payload},setCodeMode(e,t){e.mode=t.payload},setPreview(e,t){e.preview=t.payload},setStatus(e,t){e.status=t.payload},updateHeadings(e){e.headings=Ide().map((t,n)=>t.type==="markdown-link"?{type:"link",id:`markdown-link-#${encodeURIComponent(t.url||"")}-${n}`,name:t.text,level:t.level,fileLink:t.url,linkType:"markdown-link",alt:t.alt,originalText:t.originalText}:{type:"link",id:`heading-#${encodeURIComponent(t.originalText||"")}-${n}`,name:t.text,level:t.level-1,fileLink:`${window.location.pathname}#${encodeURIComponent(t.originalText||"")}`,linkType:"heading"})},setErrorMessage(e,t){e.errorMessage=t.payload}},extraReducers:e=>{e.addCase(Uae.fulfilled,(t,{payload:n})=>{t.client=n.client}),e.addCase(Uae.rejected,(t,{payload:n})=>{t.errorMessage=n}),e.addCase(fHe.fulfilled,(t,{payload:n})=>{t.doc=n.doc,t.client=n.client})}}),{deactivateClient:D7t,createDocument:I7t,detachDocument:R7t,attachDocLoading:Mq,setPreview:VL,setCodeMode:M7t,setStatus:X4e,updateHeadings:J4e,setErrorMessage:O7t}=dHe.actions,L7t=dHe.reducer,B7t=Object.fromEntries?Object.fromEntries:e=>{if(!e||!e[Symbol.iterator])throw new Error("Object.fromEntries() requires a single iterable argument");const t={};return Object.keys(e).forEach(n=>{const[r,i]=e[n];t[r]=i}),t};function KL(e){return Object.keys(e)}function hHe(e,t){if(!e)throw new Error(t)}function pHe(e,t){return t}const Rde=e=>{const t=e.length;let n=0,r="";for(;nr===t[i]).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}function F7t(e){return e instanceof Object&&!("styles"in e)&&!("length"in e)&&!("__emotion_styles"in e)}const{createCssAndCx:N7t}=(()=>{function e(n,r,i){const a=[],o=Xze(n,a,i);return a.length<2?i:o+r(a)}function t(n){const{cache:r}=n,i=(...o)=>{const s=BN(o,r.registered);kfe(r,s,!1);const l=`${r.key}-${s.name}`;e:{const u=o[0];if(!F7t(u))break e;Z4e.saveClassNameCSSObjectMapping(r,l,u)}return l};return{css:i,cx:(...o)=>{const s=Rde(o),l=Z4e.fixClassName(r,s,i);return e(r.registered,i,l)}}}return{createCssAndCx:t}})();function $7t(e){const{useCache:t}=e;function n(){const r=t(),{css:i,cx:a}=P7t(()=>N7t({cache:r}),[r]);return{css:i,cx:a}}return{useCssAndCx:n}}const Z4e=(()=>{const e=new WeakMap;return{saveClassNameCSSObjectMapping:(t,n,r)=>{let i=e.get(t);i===void 0&&(i=new Map,e.set(t,i)),i.set(n,r)},fixClassName:(()=>{function t(n){let r=!1;return n.map(([i,a])=>{if(a===void 0)return i;let o;if(r)o={"&&":a};else{o=i;for(const s in a)if(s.startsWith("@media")){r=!0;break}}return o})}return(n,r,i)=>{const a=e.get(n);return Rde(t(r.split(" ").map(o=>[o,a?.get(o)])).map(o=>typeof o=="string"?o:i(o)))}})()}})();function JD(e){if(!(e instanceof Object)||typeof e=="function")return e;const t=[];for(const n in e){const r=e[n],i=typeof r;if(!(i==="string"||i==="number"&&!isNaN(r)||i==="boolean"||r===void 0||r===null))return e;t.push(`${n}:${i}_${r}`)}return"xSqLiJdLMd9s"+t.join("|")}function Q4e(e,t,n){if(!(t instanceof Object))return e;const r={};return KL(e).forEach(i=>r[i]=n(e[i],t[i])),KL(t).forEach(i=>{if(i in e)return;const a=t[i];typeof a=="string"&&(r[i]=a)}),r}let z7t=0;function gHe(e){const{useTheme:t,cache:n}=e;function r(){var s;const l=Jvt(),u=j7t(),c=(s=n??u)!==null&&s!==void 0?s:l;if(c===null)throw new Error(["In order to get SSR working with tss-react you need to explicitly provide an Emotion cache.","MUI users be aware: This is not an error strictly related to tss-react, with or without tss-react,","MUI needs an Emotion cache to be provided for SSR to work.","Here is the MUI documentation related to SSR setup: https://mui.com/material-ui/guides/server-rendering/","TSS provides helper that makes the process of setting up SSR easier: https://docs.tss-react.dev/ssr"].join(` -`));return c}const{useCssAndCx:i}=$7t({useCache:r});function a(s){const{name:l,uniqId:u=z7t++}=s??{},c=typeof l!="object"?l:Object.keys(l)[0];return function(f){const d=typeof f=="function"?f:()=>f;return function(p,g){var b,m;const v=g?.props,w=t(),{css:k,cx:E}=i(),S=r();let T=C.useMemo(()=>{const M={},D=typeof Proxy<"u"&&new Proxy({},{get:(N,O)=>(typeof O=="symbol"&&hHe(!1),M[O]=`${S.key}-${u}${c!==void 0?`-${c}`:""}-${O}-ref`)}),I=d(w,p,D||{}),B=B7t(KL(I).map(N=>{const O=I[N];return O.label||(O.label=`${c!==void 0?`${c}-`:""}${N}`),[N,`${k(O)}${pHe(N,N in M)?` ${M[N]}`:""}`]}));return KL(M).forEach(N=>{N in B||(B[N]=M[N])}),B},[S,k,E,w,JD(p)]);const L=v?.classes;T=C.useMemo(()=>Q4e(T,L,E),[T,JD(L),E]);{let M;try{M=c!==void 0?(m=(b=w.components)===null||b===void 0?void 0:b[c])===null||m===void 0?void 0:m.styleOverrides:void 0}catch{}const D=C.useMemo(()=>{if(!M)return;const I={};for(const B in M){const N=M[B];N instanceof Object&&(I[B]=k(typeof N=="function"?N(Object.assign({theme:w,ownerState:g?.ownerState},v)):N))}return I},[M===void 0?void 0:typeof M=="function"?M:JSON.stringify(M),JD(v),JD(g?.ownerState),k]);T=C.useMemo(()=>Q4e(T,D,E),[T,D,E])}return{classes:T,theme:w,css:k,cx:E}}}}function o(){const s=t(),{css:l,cx:u}=i();return{theme:s,css:l,cx:u}}return{makeStyles:a,useStyles:o}}const U7t=C.createContext(void 0);function j7t(){return C.useContext(U7t)}function e3e(e){return e.charAt(0).toUpperCase()+e.slice(1)}var t3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const h=a,p=function(g){var{children:b}=g,m=t3e(g,["children"]);return C.createElement(h,m,b)};return Object.defineProperty(p,"name",{value:e3e(h)}),p})():a,u=(()=>{{const{name:h}=s??{};if(h!==void 0)return typeof h!="object"?h:Object.keys(h)[0]}{const h=l.displayName;if(typeof h=="string"&&h!=="")return h}{const{name:h}=l;if(h)return h}})(),c=r(Object.assign(Object.assign({},s),{name:u}))(typeof o=="function"?(h,p,g)=>r3e(o(h,p,g)):r3e(o));function f(h){for(const p in h)if(p!=="root")return!0;return!1}const d=C.forwardRef(function(h,p){const{className:g,classes:b}=h,m=t3e(h,["className","classes"]),{classes:v,cx:w}=c(h,{props:h}),k=w(v.root,g);return mHe.set(v,Object.assign(Object.assign({},v),{root:k})),gr.createElement(l,Object.assign({ref:p,className:f(v)?g:k},typeof a=="string"?{}:{classes:v},m))});return u!==void 0&&(d.displayName=`${e3e(u)}WithStyles`,Object.defineProperty(d,"name",{value:d.displayName})),d}return i.getClasses=q7t,{withStyles:i}}const mHe=new WeakMap,n3e="getClasses should only be used in conjunction with withStyles";function q7t(e){const t=e.classes;if(t===void 0)throw new Error(n3e);const n=mHe.get(t);if(n===void 0)throw new Error(n3e);return n}function r3e(e){const t={},n={};return Object.keys(e).forEach(r=>(r.startsWith("@media")?n:t)[r]=e[r]),Object.keys(n).forEach(r=>{const i=n[r];Object.keys(i).forEach(a=>{var o;return t[a]=Object.assign(Object.assign({},(o=t[a])!==null&&o!==void 0?o:{}),{[r]:i[a]})})}),t}function W7t(e){return Object.assign(Object.assign({},gHe(e)),H7t(e))}const{makeStyles:da,withStyles:N0a}=W7t({useTheme:Df});var YL=(e=>(e.Connected="connected",e.Disconnected="disconnected",e))(YL||{});const G7t={me:null,peers:{}},vHe=y1({name:"peer",initialState:G7t,reducers:{syncPeer(e,t){const{myClientID:n,changedPeers:r}=t.payload,{peers:i}=e;for(const a of Object.keys(i))r[a]||(i[a].status="disconnected");for(const[a,o]of Object.entries(r))if(!i[a]||i[a].status==="disconnected"){const s={id:a,status:"connected",presence:o,isMine:n===a};e.peers[a]=s,s.isMine&&(e.me=s)}}}}),V7t=f$("presence/update",(e,t)=>{try{const n=t.getState(),{docState:r}=n,{doc:i}=r,a=e;i?.update((o,s)=>{s.set({color:a})});return}catch(n){return t.rejectWithValue(n.message)}}),{syncPeer:K7t}=vHe.actions,Y7t=vHe.reducer;var X7t=Object.defineProperty,J7t=(e,t,n)=>t in e?X7t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ui=(e,t,n)=>(J7t(e,typeof t!="symbol"?t+"":t,n),n),ni=class{static clamp(t,n,r){return Math.max(n,typeof r<"u"?Math.min(t,r):t)}static clampV(t,n,r){return t.map(i=>r?ni.clamp(i,n,r):ni.clamp(i,n))}static cross(t,n,r){return(n[0]-t[0])*(r[1]-t[1])-(r[0]-t[0])*(n[1]-t[1])}static snap(t,n=1){return[Math.round(t[0]/n)*n,Math.round(t[1]/n)*n]}},We=ni;ui(We,"neg",e=>[-e[0],-e[1]]),ui(We,"add",(e,t)=>[e[0]+t[0],e[1]+t[1]]),ui(We,"addScalar",(e,t)=>[e[0]+t,e[1]+t]),ui(We,"sub",(e,t)=>[e[0]-t[0],e[1]-t[1]]),ui(We,"subScalar",(e,t)=>[e[0]-t,e[1]-t]),ui(We,"vec",(e,t)=>[t[0]-e[0],t[1]-e[1]]),ui(We,"mul",(e,t)=>[e[0]*t,e[1]*t]),ui(We,"mulV",(e,t)=>[e[0]*t[0],e[1]*t[1]]),ui(We,"div",(e,t)=>[e[0]/t,e[1]/t]),ui(We,"divV",(e,t)=>[e[0]/t[0],e[1]/t[1]]),ui(We,"per",e=>[e[1],-e[0]]),ui(We,"dpr",(e,t)=>e[0]*t[0]+e[1]*t[1]),ui(We,"cpr",(e,t)=>e[0]*t[1]-t[0]*e[1]),ui(We,"len2",e=>e[0]*e[0]+e[1]*e[1]),ui(We,"len",e=>Math.hypot(e[0],e[1])),ui(We,"pry",(e,t)=>ni.dpr(e,t)/ni.len(t)),ui(We,"uni",e=>ni.div(e,ni.len(e))),ui(We,"normalize",e=>ni.uni(e)),ui(We,"tangent",(e,t)=>ni.uni(ni.sub(e,t))),ui(We,"dist2",(e,t)=>ni.len2(ni.sub(e,t))),ui(We,"dist",(e,t)=>Math.hypot(e[1]-t[1],e[0]-t[0])),ui(We,"fastDist",(e,t)=>{let n=[t[0]-e[0],t[1]-e[1]],r=[Math.abs(n[0]),Math.abs(n[1])],i=1/Math.max(r[0],r[1]);return i=i*(1.29289-(r[0]+r[1])*i*.29289),[n[0]*i,n[1]*i]}),ui(We,"ang",(e,t)=>Math.atan2(ni.cpr(e,t),ni.dpr(e,t))),ui(We,"angle",(e,t)=>Math.atan2(t[1]-e[1],t[0]-e[0])),ui(We,"med",(e,t)=>ni.mul(ni.add(e,t),.5)),ui(We,"rot",(e,t=0)=>[e[0]*Math.cos(t)-e[1]*Math.sin(t),e[0]*Math.sin(t)+e[1]*Math.cos(t)]),ui(We,"rotWith",(e,t,n=0)=>{if(n===0)return e;let r=Math.sin(n),i=Math.cos(n),a=e[0]-t[0],o=e[1]-t[1],s=a*i-o*r,l=a*r+o*i;return[s+t[0],l+t[1]]}),ui(We,"isEqual",(e,t)=>e[0]===t[0]&&e[1]===t[1]),ui(We,"lrp",(e,t,n)=>ni.add(e,ni.mul(ni.sub(t,e),n))),ui(We,"int",(e,t,n,r,i=1)=>{let a=(ni.clamp(n,r)-n)/(r-n);return ni.add(ni.mul(e,1-a),ni.mul(t,i))}),ui(We,"ang3",(e,t,n)=>{let r=ni.vec(t,e),i=ni.vec(t,n);return ni.ang(r,i)}),ui(We,"abs",e=>[Math.abs(e[0]),Math.abs(e[1])]),ui(We,"rescale",(e,t)=>{let n=ni.len(e);return[t*e[0]/n,t*e[1]/n]}),ui(We,"isLeft",(e,t,n)=>(t[0]-e[0])*(n[1]-e[1])-(n[0]-e[0])*(t[1]-e[1])),ui(We,"clockwise",(e,t,n)=>ni.isLeft(e,t,n)>0),ui(We,"toFixed",e=>e.map(t=>Math.round(t*100)/100)),ui(We,"nearestPointOnLineThroughPoint",(e,t,n)=>ni.add(e,ni.mul(t,ni.pry(ni.sub(n,e),t)))),ui(We,"distanceToLineThroughPoint",(e,t,n)=>ni.dist(n,ni.nearestPointOnLineThroughPoint(e,t,n))),ui(We,"nearestPointOnLineSegment",(e,t,n,r=!0)=>{let i=ni.uni(ni.sub(t,e)),a=ni.add(e,ni.mul(i,ni.pry(ni.sub(n,e),i)));if(r){if(a[0]Math.max(e[0],t[0]))return e[0]>t[0]?e:t;if(a[1]Math.max(e[1],t[1]))return e[1]>t[1]?e:t}return a}),ui(We,"distanceToLineSegment",(e,t,n,r=!0)=>ni.dist(n,ni.nearestPointOnLineSegment(e,t,n,r))),ui(We,"nearestPointOnBounds",(e,t)=>[ni.clamp(t[0],e.minX,e.maxX),ni.clamp(t[1],e.minY,e.maxY)]),ui(We,"distanceToBounds",(e,t)=>ni.dist(t,ni.nearestPointOnBounds(e,t))),ui(We,"nudge",(e,t,n)=>ni.isEqual(e,t)?e:ni.add(e,ni.mul(ni.uni(ni.sub(t,e)),n))),ui(We,"nudgeAtAngle",(e,t,n)=>[Math.cos(t)*n+e[0],Math.sin(t)*n+e[1]]),ui(We,"toPrecision",(e,t=4)=>[+e[0].toPrecision(t),+e[1].toPrecision(t)]),ui(We,"pointsBetween",(e,t,n=6)=>Array.from(Array(n)).map((r,i)=>{let a=i/(n-1),o=Math.min(1,.5+Math.abs(.5-a));return[...ni.lrp(e,t,a),o]})),ui(We,"slope",(e,t)=>e[0]===t[0]?NaN:(e[1]-t[1])/(e[0]-t[0])),ui(We,"max",(...e)=>[Math.max(...e.map(t=>t[0])),Math.max(...e.map(t=>t[1]))]),ui(We,"min",(...e)=>[Math.min(...e.map(t=>t[0])),Math.min(...e.map(t=>t[1]))]);var bn=We;function Z7t(e,t,n){return Math.max(t,Math.min(e,n))}const Uo={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function i3e(e,t,n){return t===0||Math.abs(t)===1/0?Math.pow(e,n*5):e*t*n/(t+n*e)}function a3e(e,t,n,r=.15){return r===0?Z7t(e,t,n):en?+i3e(e-n,n-t,r)+n:e}function Q7t(e,[t,n],[r,i]){const[[a,o],[s,l]]=e;return[a3e(t,a,o,r),a3e(n,s,l,i)]}function eTt(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tTt(e){var t=eTt(e,"string");return typeof t=="symbol"?t:String(t)}function sl(e,t,n){return t=tTt(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o3e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t{var n,r;return t.target===e.currentTarget||((n=e.currentTarget)===null||n===void 0||(r=n.contains)===null||r===void 0?void 0:r.call(n,t.target))})}function uTt(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function wHe(e){return d$(e)?uTt(e)[0]:e}function Hae(e,t){const n=t.clientX-e.clientX,r=t.clientY-e.clientY,i=(t.clientX+e.clientX)/2,a=(t.clientY+e.clientY)/2,o=Math.hypot(n,r);return{angle:-(Math.atan2(n,r)*180)/Math.PI,distance:o,origin:[i,a]}}function cTt(e){return lTt(e).map(t=>t.identifier)}function l3e(e,t){const[n,r]=Array.from(e.touches).filter(i=>t.includes(i.identifier));return Hae(n,r)}function Oq(e){const t=wHe(e);return d$(e)?t.identifier:t.pointerId}function d_(e){const t=wHe(e);return[t.clientX,t.clientY]}const u3e=40,c3e=800;function kHe(e){let{deltaX:t,deltaY:n,deltaMode:r}=e;return r===1?(t*=u3e,n*=u3e):r===2&&(t*=c3e,n*=c3e),[t,n]}function fTt(e){var t,n;const{scrollX:r,scrollY:i,scrollLeft:a,scrollTop:o}=e.currentTarget;return[(t=r??a)!==null&&t!==void 0?t:0,(n=i??o)!==null&&n!==void 0?n:0]}function dTt(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:i,ctrlKey:a}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:i,ctrlKey:a})}return t}function XL(e,...t){return typeof e=="function"?e(...t):e}function hTt(){}function pTt(...e){return e.length===0?hTt:e.length===1?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function f3e(e,t){return Object.assign({},t,e||{})}const gTt=32;class _He{constructor(t,n,r){this.ctrl=t,this.args=n,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:n,ingKey:r,args:i}=this;n[r]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=i,t.axis=void 0,t.memo=void 0,t.elapsedTime=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const n=this.state,r=this.config;n._active||(this.reset(),this.computeInitial(),n._active=!0,n.target=t.target,n.currentTarget=t.currentTarget,n.lastOffset=r.from?XL(r.from,n):n.offset,n.offset=n.lastOffset,n.startTime=n.timeStamp=t.timeStamp)}computeValues(t){const n=this.state;n._values=t,n.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:n,config:r,shared:i}=this;n.args=this.args;let a=0;if(t&&(n.event=t,r.preventDefault&&t.cancelable&&n.event.preventDefault(),n.type=t.type,i.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,i.locked=!!document.pointerLockElement,Object.assign(i,dTt(t)),i.down=i.pressed=i.buttons%2===1||i.touches>0,a=t.timeStamp-n.timeStamp,n.timeStamp=t.timeStamp,n.elapsedTime=n.timeStamp-n.startTime),n._active){const S=n._delta.map(Math.abs);Uo.addTo(n._distance,S)}this.axisIntent&&this.axisIntent(t);const[o,s]=n._movement,[l,u]=r.threshold,{_step:c,values:f}=n;if(r.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(o)>=l&&f[0]),c[1]===!1&&(c[1]=Math.abs(s)>=u&&f[1])):(c[0]===!1&&(c[0]=Math.abs(o)>=l&&Math.sign(o)*l),c[1]===!1&&(c[1]=Math.abs(s)>=u&&Math.sign(s)*u)),n.intentional=c[0]!==!1||c[1]!==!1,!n.intentional)return;const d=[0,0];if(r.hasCustomTransform){const[S,T]=f;d[0]=c[0]!==!1?S-c[0]:0,d[1]=c[1]!==!1?T-c[1]:0}else d[0]=c[0]!==!1?o-c[0]:0,d[1]=c[1]!==!1?s-c[1]:0;this.restrictToAxis&&!n._blocked&&this.restrictToAxis(d);const h=n.offset,p=n._active&&!n._blocked||n.active;p&&(n.first=n._active&&!n.active,n.last=!n._active&&n.active,n.active=i[this.ingKey]=n._active,t&&(n.first&&("bounds"in r&&(n._bounds=XL(r.bounds,n)),this.setup&&this.setup()),n.movement=d,this.computeOffset()));const[g,b]=n.offset,[[m,v],[w,k]]=n._bounds;n.overflow=[gv?1:0,bk?1:0],n._movementBound[0]=n.overflow[0]?n._movementBound[0]===!1?n._movement[0]:n._movementBound[0]:!1,n._movementBound[1]=n.overflow[1]?n._movementBound[1]===!1?n._movement[1]:n._movementBound[1]:!1;const E=n._active?r.rubberband||[0,0]:[0,0];if(n.offset=Q7t(n._bounds,n.offset,E),n.delta=Uo.sub(n.offset,h),this.computeMovement(),p&&(!n.last||a>gTt)){n.delta=Uo.sub(n.offset,h);const S=n.delta.map(Math.abs);Uo.addTo(n.distance,S),n.direction=n.delta.map(Math.sign),n._direction=n._delta.map(Math.sign),!n.first&&a>0&&(n.velocity=[S[0]/a,S[1]/a])}}emit(){const t=this.state,n=this.shared,r=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!r.triggerAllEvents)return;const i=this.handler(Cs(Cs(Cs({},n),t),{},{[this.aliasKey]:t.values}));i!==void 0&&(t.memo=i)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function mTt([e,t],n){const r=Math.abs(e),i=Math.abs(t);if(r>i&&r>n)return"x";if(i>r&&i>n)return"y"}class S7 extends _He{constructor(...t){super(...t),sl(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=Uo.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=Uo.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const n=this.state,r=this.config;if(!n.axis&&t){const i=typeof r.axisThreshold=="object"?r.axisThreshold[bHe(t)]:r.axisThreshold;n.axis=mTt(n._movement,i)}n._blocked=(r.lockDirection||!!r.axis)&&!n.axis||!!r.axis&&r.axis!==n.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const vTt=e=>e,d3e=.15,CHe={enabled(e=!0){return e},eventOptions(e,t,n){return Cs(Cs({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[d3e,d3e];case!1:return[0,0];default:return Uo.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return Uo.toVector(e)},transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||vTt},threshold(e){return Uo.toVector(e,0)}},yTt=0,m3=Cs(Cs({},CHe),{},{axis(e,t,{axis:n}){if(this.lockDirection=n==="lock",!this.lockDirection)return n},axisThreshold(e=yTt){return e},bounds(e={}){if(typeof e=="function")return a=>m3.bounds(e(a));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:i=1/0}=e;return[[t,n],[r,i]]}}),h3e={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};class bTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const n=t._bounds.getBoundingClientRect(),r=t.currentTarget.getBoundingClientRect(),i={left:n.left-r.left+t.offset[0],right:n.right-r.right+t.offset[0],top:n.top-r.top+t.offset[1],bottom:n.bottom-r.bottom+t.offset[1]};t._bounds=m3.bounds(i)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const n=this.config,r=this.state;if(t.buttons!=null&&(Array.isArray(n.pointerButtons)?!n.pointerButtons.includes(t.buttons):n.pointerButtons!==-1&&n.pointerButtons!==t.buttons))return;const i=this.ctrl.setEventIds(t);n.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(i&&i.size>1&&r._pointerActive)&&(this.start(t),this.setupPointer(t),r._pointerId=Oq(t),r._pointerActive=!0,this.computeValues(d_(t)),this.computeInitial(),n.preventScrollAxis&&bHe(t)!=="mouse"?(r._active=!1,this.setupScrollPrevention(t)):n.delay>0?(this.setupDelayTrigger(t),n.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const n=this.state;n._active=!0,n._preventScroll=!0,n._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const n=this.state,r=this.config;if(!n._pointerActive||n.type===t.type&&t.timeStamp===n.timeStamp)return;const i=Oq(t);if(n._pointerId!==void 0&&i!==n._pointerId)return;const a=d_(t);if(document.pointerLockElement===t.target?n._delta=[t.movementX,t.movementY]:(n._delta=Uo.sub(a,n._values),this.computeValues(a)),Uo.addTo(n._movement,n._delta),this.compute(t),n._delayed&&n.intentional){this.timeoutStore.remove("dragDelay"),n.active=!1,this.startPointerDrag(t);return}if(r.preventScrollAxis&&!n._preventScroll)if(n.axis)if(n.axis===r.preventScrollAxis||r.preventScrollAxis==="xy"){n._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}const n=this.state,r=this.config;if(!n._active||!n._pointerActive)return;const i=Oq(t);if(n._pointerId!==void 0&&i!==n._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[a,o]=n._distance;if(n.tap=a<=r.tapsThreshold&&o<=r.tapsThreshold,n.tap&&r.filterTaps)n._force=!0;else{const[s,l]=n.direction,[u,c]=n.velocity,[f,d]=n.movement,[h,p]=r.swipe.velocity,[g,b]=r.swipe.distance,m=r.swipe.duration;n.elapsedTimeh&&Math.abs(f)>g&&(n.swipe[0]=s),Math.abs(c)>p&&Math.abs(d)>b&&(n.swipe[1]=l))}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const n=this.config,r=n.device;n.pointerLock&&t.currentTarget.requestPointerLock(),n.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,wTt(t);const n=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",n),this.eventStore.add(this.sharedConfig.window,"touch","cancel",n),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const n=h3e[t.key];if(n){const r=this.state,i=t.shiftKey?10:t.altKey?.1:1;this.start(t),r._delta=n(this.config.keyboardDisplacement,i),r._keyboardActive=!0,Uo.addTo(r._movement,r._delta),this.compute(t),this.emit()}}keyUp(t){t.key in h3e&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const n=this.config.device;t(n,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(n,"change",this.pointerMove.bind(this)),t(n,"end",this.pointerUp.bind(this)),t(n,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function wTt(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}const A7=typeof window<"u"&&window.document&&window.document.createElement;function kTt(){return A7&&"ontouchstart"in window}function p3e(){return kTt()||A7&&window.navigator.maxTouchPoints>1}function _Tt(){return A7&&"onpointerdown"in window}function CTt(){return A7&&"exitPointerLock"in window.document}function ETt(){try{return"constructor"in GestureEvent}catch{return!1}}const th={isBrowser:A7,gesture:ETt(),touch:p3e(),touchscreen:p3e(),pointer:_Tt(),pointerLock:CTt()},xTt=250,STt=180,ATt=.5,TTt=50,DTt=250,ITt=10,g3e={mouse:0,touch:0,pen:8},RTt=Cs(Cs({},m3),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:i=!1}={}}){return this.pointerLock=r&&th.pointerLock,th.touch&&n?"touch":this.pointerLock?"mouse":th.pointer&&!i?"pointer":th.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay=typeof n=="number"?n:n||n===void 0&&e?xTt:void 0,!(!th.touchscreen||n===!1))return e||(n!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:i=!0}={}}){return this.pointerButtons=r,this.keys=i,!this.pointerLock&&this.device==="pointer"&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:i=void 0}){const a=Uo.toVector(e,n?r:i?1:0);return this.filterTaps=n,this.tapsThreshold=r,a},swipe({velocity:e=ATt,distance:t=TTt,duration:n=DTt}={}){return{velocity:this.transform(Uo.toVector(e)),distance:this.transform(Uo.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return STt;case!1:return 0;default:return e}},axisThreshold(e){return e?Cs(Cs({},g3e),e):g3e},keyboardDisplacement(e=ITt){return e}});function EHe(e){const[t,n]=e.overflow,[r,i]=e._delta,[a,o]=e._direction;(t<0&&r>0&&a<0||t>0&&r<0&&a>0)&&(e._movement[0]=e._movementBound[0]),(n<0&&i>0&&o<0||n>0&&i<0&&o>0)&&(e._movement[1]=e._movementBound[1])}const MTt=30,OTt=100;class LTt extends _He{constructor(...t){super(...t),sl(this,"ingKey","pinching"),sl(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:n,lastOffset:r}=this.state;t==="wheel"?this.state.offset=Uo.add(n,r):this.state.offset=[(1+n[0])*r[0],n[1]+r[1]]}computeMovement(){const{offset:t,lastOffset:n}=this.state;this.state.movement=[t[0]/n[0],t[1]-n[1]]}axisIntent(){const t=this.state,[n,r]=t._movement;if(!t.axis){const i=Math.abs(n)*MTt-Math.abs(r);i<0?t.axis="angle":i>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const n=this.state,r=this.ctrl.touchIds;if(n._active&&n._touchIds.every(a=>r.has(a))||r.size<2)return;this.start(t),n._touchIds=Array.from(r).slice(0,2);const i=l3e(t,n._touchIds);this.pinchStart(t,i)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const n=this.state,r=n._pointerEvents,i=this.ctrl.pointerIds;if(n._active&&Array.from(r.keys()).every(o=>i.has(o))||(r.size<2&&r.set(t.pointerId,t),n._pointerEvents.size<2))return;this.start(t);const a=Hae(...Array.from(r.values()));this.pinchStart(t,a)}pinchStart(t,n){const r=this.state;r.origin=n.origin,this.computeValues([n.distance,n.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const n=l3e(t,this.state._touchIds);this.pinchMove(t,n)}pointerMove(t){const n=this.state._pointerEvents;if(n.has(t.pointerId)&&n.set(t.pointerId,t),!this.state._active)return;const r=Hae(...Array.from(n.values()));this.pinchMove(t,r)}pinchMove(t,n){const r=this.state,i=r._values[1],a=n.angle-i;let o=0;Math.abs(a)>270&&(o+=Math.sign(a)),this.computeValues([n.distance,n.angle-360*o]),r.origin=n.origin,r.turns=o,r._movement=[r._values[0]/r._initial[0]-1,r._values[1]-r._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(n=>!this.ctrl.touchIds.has(n))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const n=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}n._pointerEvents.has(t.pointerId)&&n._pointerEvents.delete(t.pointerId),n._active&&n._pointerEvents.size<2&&(n._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const n=this.state;n._active||(this.start(t),this.computeValues([t.scale,t.rotation]),n.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const n=this.state;this.computeValues([t.scale,t.rotation]),n.origin=[t.clientX,t.clientY];const r=n._movement;n._movement=[t.scale-1,t.rotation],n._delta=Uo.sub(n._movement,r),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const n=this.config.modifierKey;n&&!t[n]||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||t.cancelable&&t.preventDefault();const r=this.state;r._delta=[-kHe(t)[1]/OTt*r.offset[0],0],Uo.addTo(r._movement,r._delta),EHe(r),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const n=this.config.device;n&&(t(n,"start",this[n+"Start"].bind(this)),t(n,"change",this[n+"Move"].bind(this)),t(n,"end",this[n+"End"].bind(this)),t(n,"cancel",this[n+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const BTt=Cs(Cs({},CHe),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!th.touch&&th.gesture)return"gesture";if(th.touch&&r)return"touch";if(th.touchscreen){if(th.pointer)return"pointer";if(th.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const i=o=>{const s=f3e(XL(n,o),{min:-1/0,max:1/0});return[s.min,s.max]},a=o=>{const s=f3e(XL(r,o),{min:-1/0,max:1/0});return[s.min,s.max]};return typeof n!="function"&&typeof r!="function"?[i(),a()]:o=>[i(o),a(o)]},threshold(e,t,n){return this.lockDirection=n.axis==="lock",Uo.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});class PTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(d_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const n=d_(t),r=this.state;r._delta=Uo.sub(n,r._values),Uo.addTo(r._movement,r._delta),this.computeValues(n),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const FTt=Cs(Cs({},m3),{},{mouseOnly:(e=!0)=>e});class NTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const n=this.state,r=fTt(t);n._delta=Uo.sub(r,n._values),Uo.addTo(n._movement,n._delta),this.computeValues(r),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const $Tt=m3;class zTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const n=this.state;n._delta=kHe(t),Uo.addTo(n._movement,n._delta),EHe(n),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const UTt=m3;class jTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(d_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const n=this.state;if(!n._active)return;n._active=!1;const r=d_(t);n._movement=n._delta=Uo.sub(r,n._values),this.computeValues(r),this.compute(t),n.delta=n.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const HTt=Cs(Cs({},m3),{},{mouseOnly:(e=!0)=>e}),Mde=new Map,qae=new Map;function qTt(e){Mde.set(e.key,e.engine),qae.set(e.key,e.resolver)}const WTt={key:"drag",engine:bTt,resolver:RTt},GTt={key:"hover",engine:jTt,resolver:HTt},VTt={key:"move",engine:PTt,resolver:FTt},KTt={key:"pinch",engine:LTt,resolver:BTt},YTt={key:"scroll",engine:NTt,resolver:$Tt},XTt={key:"wheel",engine:zTt,resolver:UTt};function JTt(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function ZTt(e,t){if(e==null)return{};var n=JTt(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const QTt={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=th.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},eDt=["target","eventOptions","window","enabled","transform"];function oO(e={},t){const n={};for(const[r,i]of Object.entries(t))switch(typeof i){case"function":n[r]=i.call(n,e[r],r,e);break;case"object":n[r]=oO(e[r],i);break;case"boolean":i&&(n[r]=e[r]);break}return n}function tDt(e,t,n={}){const r=e,{target:i,eventOptions:a,window:o,enabled:s,transform:l}=r,u=ZTt(r,eDt);if(n.shared=oO({target:i,eventOptions:a,window:o,enabled:s,transform:l},QTt),t){const c=qae.get(t);n[t]=oO(Cs({shared:n.shared},u),c)}else for(const c in u){const f=qae.get(c);f&&(n[c]=oO(Cs({shared:n.shared},u[c]),f))}return n}class xHe{constructor(t,n){sl(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=n}add(t,n,r,i,a){const o=this._listeners,s=sTt(n,r),l=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},u=Cs(Cs({},l),a);t.addEventListener(s,i,u);const c=()=>{t.removeEventListener(s,i,u),o.delete(c)};return o.add(c),c}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}}class nDt{constructor(){sl(this,"_timeouts",new Map)}add(t,n,r=140,...i){this.remove(t),this._timeouts.set(t,window.setTimeout(n,r,...i))}remove(t){const n=this._timeouts.get(t);n&&window.clearTimeout(n)}clean(){this._timeouts.forEach(t=>void window.clearTimeout(t)),this._timeouts.clear()}}class rDt{constructor(t){sl(this,"gestures",new Set),sl(this,"_targetEventStore",new xHe(this)),sl(this,"gestureEventStores",{}),sl(this,"gestureTimeoutStores",{}),sl(this,"handlers",{}),sl(this,"config",{}),sl(this,"pointerIds",new Set),sl(this,"touchIds",new Set),sl(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),iDt(this,t)}setEventIds(t){if(d$(t))return this.touchIds=new Set(cTt(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,n){this.handlers=t,this.nativeHandlers=n}applyConfig(t,n){this.config=tDt(t,n,this.config)}clean(){this._targetEventStore.clean();for(const t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){const n=this.config.shared,r={};let i;if(!(n.target&&(i=n.target(),!i))){if(n.enabled){for(const o of this.gestures){const s=this.config[o],l=m3e(r,s.eventOptions,!!i);if(s.enabled){const u=Mde.get(o);new u(this,t,o).bind(l)}}const a=m3e(r,n.eventOptions,!!i);for(const o in this.nativeHandlers)a(o,"",s=>this.nativeHandlers[o](Cs(Cs({},this.state.shared),{},{event:s,args:t})),void 0,!0)}for(const a in r)r[a]=pTt(...r[a]);if(!i)return r;for(const a in r){const{device:o,capture:s,passive:l}=oTt(a);this._targetEventStore.add(i,o,"",r[a],{capture:s,passive:l})}}}}function Hw(e,t){e.gestures.add(t),e.gestureEventStores[t]=new xHe(e,t),e.gestureTimeoutStores[t]=new nDt}function iDt(e,t){t.drag&&Hw(e,"drag"),t.wheel&&Hw(e,"wheel"),t.scroll&&Hw(e,"scroll"),t.move&&Hw(e,"move"),t.pinch&&Hw(e,"pinch"),t.hover&&Hw(e,"hover")}const m3e=(e,t,n)=>(r,i,a,o={},s=!1)=>{var l,u;const c=(l=o.capture)!==null&&l!==void 0?l:t.capture,f=(u=o.passive)!==null&&u!==void 0?u:t.passive;let d=s?r:iTt(r,i,c);n&&f&&(d+="Passive"),e[d]=e[d]||[],e[d].push(a)},aDt=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function oDt(e){const t={},n={},r=new Set;for(let i in e)aDt.test(i)?(r.add(RegExp.lastMatch),n[i]=e[i]):t[i]=e[i];return[n,t,r]}function qw(e,t,n,r,i,a){if(!e.has(n)||!Mde.has(r))return;const o=n+"Start",s=n+"End",l=u=>{let c;return u.first&&o in t&&t[o](u),n in t&&(c=t[n](u)),u.last&&s in t&&t[s](u),c};i[r]=l,a[r]=a[r]||{}}function sDt(e,t){const[n,r,i]=oDt(e),a={};return qw(i,n,"onDrag","drag",a,t),qw(i,n,"onWheel","wheel",a,t),qw(i,n,"onScroll","scroll",a,t),qw(i,n,"onPinch","pinch",a,t),qw(i,n,"onMove","move",a,t),qw(i,n,"onHover","hover",a,t),{handlers:a,config:t,nativeHandlers:r}}function lDt(e,t={},n,r){const i=gr.useMemo(()=>new rDt(e),[]);if(i.applyHandlers(e,r),i.applyConfig(t,n),gr.useEffect(i.effect.bind(i)),gr.useEffect(()=>i.clean.bind(i),[]),t.target===void 0)return i.bind.bind(i)}function uDt(e){return e.forEach(qTt),function(n,r){const{handlers:i,nativeHandlers:a,config:o}=sDt(n,r||{});return lDt(i,o,void 0,a)}}function cDt(e,t){return uDt([WTt,KTt,YTt,XTt,VTt,GTt])(e,t||{})}function v3e(e,t,n,r=i=>i){return e*r(.5-t*(.5-n))}function fDt(e){return[-e[0],-e[1]]}function i0(e,t){return[e[0]+t[0],e[1]+t[1]]}function Jd(e,t){return[e[0]-t[0],e[1]-t[1]]}function n0(e,t){return[e[0]*t,e[1]*t]}function dDt(e,t){return[e[0]/t,e[1]/t]}function P5(e){return[e[1],-e[0]]}function y3e(e,t){return e[0]*t[0]+e[1]*t[1]}function hDt(e,t){return e[0]===t[0]&&e[1]===t[1]}function pDt(e){return Math.hypot(e[0],e[1])}function gDt(e){return e[0]*e[0]+e[1]*e[1]}function b3e(e,t){return gDt(Jd(e,t))}function SHe(e){return dDt(e,pDt(e))}function mDt(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function F5(e,t,n){let r=Math.sin(n),i=Math.cos(n),a=e[0]-t[0],o=e[1]-t[1],s=a*i-o*r,l=a*r+o*i;return[s+t[0],l+t[1]]}function Wae(e,t,n){return i0(e,n0(Jd(t,e),n))}function w3e(e,t,n){return i0(e,n0(t,n))}var{min:Ww,PI:vDt}=Math,k3e=.275,N5=vDt+1e-4;function Ode(e,t={}){let{size:n=16,smoothing:r=.5,thinning:i=.5,simulatePressure:a=!0,easing:o=H=>H,start:s={},end:l={},last:u=!1}=t,{cap:c=!0,easing:f=H=>H*(2-H)}=s,{cap:d=!0,easing:h=H=>--H*H*H+1}=l;if(e.length===0||n<=0)return[];let p=e[e.length-1].runningLength,g=s.taper===!1?0:s.taper===!0?Math.max(n,p):s.taper,b=l.taper===!1?0:l.taper===!0?Math.max(n,p):l.taper,m=Math.pow(n*r,2),v=[],w=[],k=e.slice(0,10).reduce((H,F)=>{let q=F.pressure;if(a){let V=Ww(1,F.distance/n),X=Ww(1,1-V);q=Ww(1,H+(X-H)*(V*k3e))}return(H+q)/2},e[0].pressure),E=v3e(n,i,e[e.length-1].pressure,o),S,T=e[0].vector,L=e[0].point,M=L,D=L,I=M,B=!1;for(let H=0;Hm)&&(v.push(D),L=D),I=i0(q,oe),(H<=1||b3e(M,I)>m)&&(w.push(I),M=I),k=F,T=V}let N=e[0].point.slice(0,2),O=e.length>1?e[e.length-1].point.slice(0,2):i0(e[0].point,[1,1]),R=[],P=[];if(e.length===1){if(!(g||b)||u){let H=w3e(N,SHe(P5(Jd(N,O))),-(S||E)),F=[];for(let q=1/13,V=q;V<=1;V+=q)F.push(F5(H,N,N5*2*V));return F}}else{if(!(g||b&&e.length===1))if(c)for(let F=1/13,q=F;q<=1;q+=F){let V=F5(w[0],N,N5*q);R.push(V)}else{let F=Jd(v[0],w[0]),q=n0(F,.5),V=n0(F,.51);R.push(Jd(N,q),Jd(N,V),i0(N,V),i0(N,q))}let H=P5(fDt(e[e.length-1].vector));if(b||g&&e.length===1)P.push(O);else if(d){let F=w3e(O,H,E);for(let q=1/29,V=q;V<1;V+=q)P.push(F5(F,O,N5*3*V))}else P.push(i0(O,n0(H,E)),i0(O,n0(H,E*.99)),Jd(O,n0(H,E*.99)),Jd(O,n0(H,E)))}return v.concat(P,w.reverse(),R)}function QC(e,t={}){var n;let{streamline:r=.5,size:i=16,last:a=!1}=t;if(e.length===0)return[];let o=.15+(1-r)*.85,s=Array.isArray(e[0])?e:e.map(({x:h,y:p,pressure:g=.5})=>[h,p,g]);if(s.length===2){let h=s[1];s=s.slice(0,-1);for(let p=1;p<5;p++)s.push(Wae(s[0],h,p/4))}s.length===1&&(s=[...s,[...i0(s[0],[1,1]),...s[0].slice(2)]]);let l=[{point:[s[0][0],s[0][1]],pressure:s[0][2]>=0?s[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],u=!1,c=0,f=l[0],d=s.length-1;for(let h=1;h=0?s[h][2]:.5,vector:SHe(Jd(f.point,p)),distance:g,runningLength:c},l.push(f)}return l[0].vector=((n=l[1])==null?void 0:n.vector)||[0,0],l}function yDt(e,t={}){return Ode(QC(e,t),t)}var T7=yDt,bDt=Object.defineProperty,wDt=Object.defineProperties,kDt=Object.getOwnPropertyDescriptors,_3e=Object.getOwnPropertySymbols,_Dt=Object.prototype.hasOwnProperty,CDt=Object.prototype.propertyIsEnumerable,C3e=(e,t,n)=>t in e?bDt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lde=(e,t)=>{for(var n in t||(t={}))_Dt.call(t,n)&&C3e(e,n,t[n]);if(_3e)for(var n of _3e(t))CDt.call(t,n)&&C3e(e,n,t[n]);return e},Bde=(e,t)=>wDt(e,kDt(t));function Co(e,...t){return{didIntersect:t.length>0,message:e,points:t}}function q2(e,t,n=0){let r=[e[0]+t[0]/2,e[1]+t[1]/2],i=We.rotWith(e,r,n),a=We.rotWith(We.add(e,[t[0],0]),r,n),o=We.rotWith(We.add(e,t),r,n),s=We.rotWith(We.add(e,[0,t[1]]),r,n);return[["top",[i,a]],["right",[a,o]],["bottom",[o,s]],["left",[s,i]]]}function EDt(e,t,n){if(n===e||n===t)return!0;let r=Math.PI*2,i=(t-e+r)%r,a=(n-e+r)%r;return i<=Math.PI!=a>i}function xDt(e,t){let n=We.slope(e[0],e[1]),r=We.slope(t[0],t[1]);if(n===r)return;if(Number.isNaN(n)&&!Number.isNaN(r))return[e[0][0],(e[0][0]-t[0][0])*r+t[0][1]];if(Number.isNaN(r)&&!Number.isNaN(n))return[t[0][0],(t[0][0]-e[0][0])*n+e[0][1]];let i=(n*e[0][0]-r*t[0][0]+t[0][1]-e[0][1])/(n-r),a=r*(i-t[0][0])+t[0][1];return[i,a]}function Pde(e,t,n,r){let[i,a]=e,[o,s]=t,[l,u]=n,[c,f]=r;if(s/o!==(f-u)/(c-l)){let d=o*(f-u)-s*(c-l);if(d!==0){let h=((a-u)*(c-l)-(i-l)*(f-u))/d,p=((a-u)*o-(i-l)*s)/d;if(h>=0&&p>=0&&p<=1)return Co("intersection",[i+h*o,a+h*s])}}return Co("no intersection")}function SDt(e,t,n,r,i=0){return IDt(n,r,i,e,t)}function AHe(e,t,n,r,i,a){let o=e,s=We.mul(t,999999999);return E6(o,s,n,r,i,a)}function sO(e,t,n,r=0){let{minX:i,minY:a,width:o,height:s}=n;return SDt(e,t,[i,a],[o,s],r)}function D7(e,t,n,r){let i=We.sub(e,n),a=We.sub(r,n),o=We.sub(t,e),s=a[0]*i[1]-a[1]*i[0],l=o[0]*i[1]-o[1]*i[0],u=a[1]*o[0]-a[0]*o[1];if(s===0||l===0)return Co("coincident");if(u===0)return Co("parallel");if(u!==0){let c=s/u,f=l/u;if(0<=c&&c<=1&&0<=f&&f<=1)return Co("intersection",We.add(e,We.mul(o,c)))}return Co("no intersection")}function ADt(e,t,n,r){return THe(n,r,e,t)}function TDt(e,t,n,r,i,a){let o=We.angle(n,i),s=We.angle(n,a),l=jDt(n,r,r,0,e,t);if(!l.didIntersect)return Co("no intersection");let u=l.points.filter(c=>EDt(o,s,We.angle(n,c)));return u.length===0?Co("no intersection"):Co("intersection",...u)}function Fde(e,t,n,r){let i=(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]),a=2*((t[0]-e[0])*(e[0]-n[0])+(t[1]-e[1])*(e[1]-n[1])),o=n[0]*n[0]+n[1]*n[1]+e[0]*e[0]+e[1]*e[1]-2*(n[0]*e[0]+n[1]*e[1])-r*r,s=a*a-4*i*o;if(s<0)return Co("outside");if(s===0)return Co("tangent");let l=Math.sqrt(s),u=(-a+l)/(2*i),c=(-a-l)/(2*i);if((u<0||u>1)&&(c<0||c>1))return u<0&&c<0||u>1&&c>1?Co("outside"):Co("inside");let f=[];return 0<=u&&u<=1&&f.push(We.lrp(e,t,u)),0<=c&&c<=1&&f.push(We.lrp(e,t,c)),Co("intersection",...f)}function E6(e,t,n,r,i,a=0){if(r===0||i===0||We.isEqual(e,t))return Co("no intersection");r=r<0?r:-r,i=i<0?i:-i,e=We.sub(We.rotWith(e,n,-a),n),t=We.sub(We.rotWith(t,n,-a),n);let o=We.sub(t,e),s=o[0]*o[0]/r/r+o[1]*o[1]/i/i,l=2*e[0]*o[0]/r/r+2*e[1]*o[1]/i/i,u=e[0]*e[0]/r/r+e[1]*e[1]/i/i-1,c=[],f=l*l-4*s*u;if(f===0)c.push(-l/2/s);else if(f>0){let h=Math.sqrt(f);c.push((-l+h)/2/s),c.push((-l-h)/2/s)}let d=c.filter(h=>h>=0&&h<=1).map(h=>We.add(n,We.add(e,We.mul(We.sub(t,e),h)))).map(h=>We.rotWith(h,n,a));return Co("intersection",...d)}function Nde(e,t,n){return WDt(n,e,t)}function $de(e,t,n){let r=[];for(let i=1;i{let u=Pde(r,i,s,l);return u&&a.push(Co(o,...u.points)),a},[]).filter(a=>a.didIntersect)}function THe(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=D7(n,r,o,s);return l&&i.push(Co(a,...l.points)),i},[]).filter(i=>i.didIntersect)}function RDt(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=THe(n,r,o,s);return i.push(...l.map(u=>Co(`${a} ${u.message}`,...u.points))),i},[]).filter(i=>i.didIntersect)}function MDt(e,t,n,r,i,a){return q2(e,t).reduce((o,[s,[l,u]])=>{let c=FDt(n,r,i,a,l,u);return c&&o.push(Bde(Lde({},c),{message:s})),o},[]).filter(o=>o.didIntersect)}function ODt(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=Fde(o,s,n,r);return l&&i.push(Bde(Lde({},l),{message:a})),i},[]).filter(i=>i.didIntersect)}function LDt(e,t,n,r,i,a=0){return q2(e,t).reduce((o,[s,[l,u]])=>{let c=E6(l,u,n,r,i,a);return c&&o.push(Bde(Lde({},c),{message:s})),o},[]).filter(o=>o.didIntersect)}function BDt(e,t,n){return q2(e,t).reduce((r,[i,[a,o]])=>{let s=$de(a,o,n);return s.didIntersect&&r.push(Co(i,...s.points)),r},[]).filter(r=>r.didIntersect)}function PDt(e,t,n){return q2(e,t).reduce((r,[i,[a,o]])=>{let s=DDt(a,o,n);return s.didIntersect&&r.push(Co(i,...s.points)),r},[]).filter(r=>r.didIntersect)}function FDt(e,t,n,r,i,a){return TDt(i,a,e,t,n,r)}function NDt(e,t,n,r,i,a){return MDt(i,a,e,t,n,r)}function $Dt(e,t,n,r,i){let{minX:a,minY:o,width:s,height:l}=i;return NDt(e,t,n,r,[a,o],[s,l])}function zDt(e,t,n,r){return Fde(n,r,e,t)}function UDt(e,t,n,r){let i=n[0]-e[0],a=n[1]-e[1],o=Math.sqrt(i*i+a*a),s=(o*o-r*r+t*t)/(2*o),l=Math.sqrt(t*t-s*s);return i/=o,a/=o,Co("intersection",[e[0]+i*s-a*l,e[1]+a*s+i*l],[e[0]+i*s+a*l,e[1]+a*s-i*l])}function jDt(e,t,n,r=0,i,a){return t===n?Fde(i,a,e,t):E6(i,a,e,t,n,r)}function HDt(e,t,n,r=0,i,a){return t===n?ODt(i,a,e,t):LDt(i,a,e,t,n,r)}function qDt(e,t,n,r,i){let{minX:a,minY:o,width:s,height:l}=i;return HDt(e,t,n,r,[a,o],[s,l])}function WDt(e,t,n){let{minX:r,minY:i,width:a,height:o}=e;return ADt(t,n,[r,i],[a,o])}function GDt(e,t){return RDt([e.minX,e.minY],[e.width,e.height],[t.minX,t.minY],[t.width,t.height])}function E3e(e,t){return KDt(t,e)}function VDt(e,t){return DHe(t,e)}function KDt(e,t){return BDt([t.minX,t.minY],[t.width,t.height],e)}function DHe(e,t){return PDt([t.minX,t.minY],[t.width,t.height],e)}var YDt=Object.defineProperty,XDt=Object.defineProperties,JDt=Object.getOwnPropertyDescriptors,JL=Object.getOwnPropertySymbols,IHe=Object.prototype.hasOwnProperty,RHe=Object.prototype.propertyIsEnumerable,Gae=(e,t,n)=>t in e?YDt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ba=(e,t)=>{for(var n in t||(t={}))IHe.call(t,n)&&Gae(e,n,t[n]);if(JL)for(var n of JL(t))RHe.call(t,n)&&Gae(e,n,t[n]);return e},Pp=(e,t)=>XDt(e,JDt(t)),eE=(e,t)=>{var n={};for(var r in e)IHe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&JL)for(var r of JL(e))t.indexOf(r)<0&&RHe.call(e,r)&&(n[r]=e[r]);return n},es=(e,t,n)=>(Gae(e,typeof t!="symbol"?t+"":t,n),n),zde=C.createContext({});function Gu(){return C.useContext(zde)}var ZDt=(e=>(e.TransformSelected="transform_selected",e.TranslateSelected="translate_selected",e.TransformAll="transform_all",e.TranslateAll="translate_all",e))(ZDt||{}),QDt=(e=>(e.Top="top_edge",e.Right="right_edge",e.Bottom="bottom_edge",e.Left="left_edge",e))(QDt||{}),b0=(e=>(e.TopLeft="top_left_corner",e.TopRight="top_right_corner",e.BottomRight="bottom_right_corner",e.BottomLeft="bottom_left_corner",e))(b0||{}),eIt=(e=>(e.minX="minX",e.midX="midX",e.maxX="maxX",e.minY="minY",e.midY="midY",e.maxY="maxY",e))(eIt||{});String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object regexp]"?this.replace(e,t):this.replace(new RegExp(e,"g"),t)});var ZD=Math.PI*2,Cl=class{static lerp(t,n,r){return r=Cl.clamp(r,0,1),t*(1-r)+n*r}static lerpColor(t,n,r=.5){function i(u){let c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(u);return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}function a(u){return"#"+((1<<24)+(u[0]<<16)+(u[1]<<8)+u[2]).toString(16).slice(1)}let o=i(t)||[0,0,0],s=i(n)||[0,0,0],l=o.slice();for(let u=0;u<3;u++)l[u]=Math.round(l[u]+r*(s[u]-o[u]));return a(l)}static modulate(t,n,r,i=!1){let[a,o]=n,[s,l]=r,u=s+(t-a)/(o-a)*(l-s);return i?sn[r]=typeof t[r]=="object"?Cl.deepClone(t[r]):t[r]),n}return t}static rng(t=""){let n=0,r=0,i=0,a=0;function o(){let s=n^n<<11;return n=r,r=i,i=a,a^=(a>>>19^s^s>>>8)>>>0,a/4294967296}for(let s=0;si}static degreesToRadians(t){return t*Math.PI/180}static radiansToDegrees(t){return t*180/Math.PI}static getArcLength(t,n,r,i){let a=Cl.getSweep(t,r,i);return n*(2*Math.PI)*(a/(2*Math.PI))}static getSweepFlag(t,n,r){let i=We.angle(t,r);return(We.angle(t,n)-i+3*Math.PI)%(2*Math.PI)-Math.PI>0?0:1}static getLargeArcFlag(t,n,r){let i=We.angle(r,t),a=(We.angle(r,n)-i+3*Math.PI)%(2*Math.PI)-Math.PI;return Math.abs(a)>Math.PI/2?0:1}static getArcDashOffset(t,n,r,i,a){let o=Cl.getSweepFlag(t,r,i),s=Cl.getArcLength(t,n,r,i);return-(o<0?s:2*Math.PI*t[2]-s)/2+a}static getEllipseDashOffset(t,n){return-(2*Math.PI*t[2])/2+-n}static pointInCircle(t,n,r){return We.dist(t,n)<=r}static pointInEllipse(t,n,r,i,a=0){a=a||0;let o=Math.cos(a),s=Math.sin(a),l=We.sub(t,n),u=o*l[0]+s*l[1],c=s*l[0]-o*l[1];return u*u/(r*r)+c*c/(i*i)<=1}static pointInRect(t,n){return!(t[0]t[0]+n[0]||t[1]t[1]+n[1])}static pointInPolygon(t,n){let r=0;return n.forEach((i,a)=>{let o=n[(a+1)%n.length];i[1]<=t[1]?o[1]>t[1]&&We.cross(i,o,t)>0&&(r+=1):o[1]<=t[1]&&We.cross(i,o,t)<0&&(r-=1)}),r!==0}static pointInBounds(t,n){return!(t[0]n.maxX||t[1]n.maxY)}static pointInPolyline(t,n,r=3){for(let i=1;in.maxX||t.maxYn.maxY)}static boundsContain(t,n){return t.minXn.maxY&&t.maxX>n.maxX}static boundsContained(t,n){return Cl.boundsContain(n,t)}static boundsAreEqual(t,n){return!(n.maxX!==t.maxX||n.minX!==t.minX||n.maxY!==t.maxY||n.minY!==t.minY)}static getBoundsFromPoints(t,n=0){let r=1/0,i=1/0,a=-1/0,o=-1/0;if(t.length<2)r=0,i=0,a=1,o=1;else for(let[s,l]of t)r=Math.min(s,r),i=Math.min(l,i),a=Math.max(s,a),o=Math.max(l,o);return n!==0?Cl.getBoundsFromPoints(t.map(s=>We.rotWith(s,[(r+a)/2,(i+o)/2],n))):{minX:r,minY:i,maxX:a,maxY:o,width:Math.max(1,a-r),height:Math.max(1,o-i)}}static centerBounds(t,n){let r=this.getBoundsCenter(t),i=n[0]-r[0],a=n[1]-r[1];return this.translateBounds(t,[i,a])}static snapBoundsToGrid(t,n){let r=Math.round(t.minX/n)*n,i=Math.round(t.minY/n)*n,a=Math.round(t.maxX/n)*n,o=Math.round(t.maxY/n)*n;return{minX:r,minY:i,maxX:a,maxY:o,width:Math.max(1,a-r),height:Math.max(1,o-i)}}static translateBounds(t,n){return{minX:t.minX+n[0],minY:t.minY+n[1],maxX:t.maxX+n[0],maxY:t.maxY+n[1],width:t.width,height:t.height}}static rotateBounds(t,n,r){let[i,a]=We.rotWith([t.minX,t.minY],n,r),[o,s]=We.rotWith([t.maxX,t.maxY],n,r);return{minX:i,minY:a,maxX:o,maxY:s,width:t.width,height:t.height}}static getRotatedEllipseBounds(t,n,r,i,a=0){let o=Math.cos(a),s=Math.sin(a),l=Math.hypot(r*o,i*s),u=Math.hypot(r*s,i*o);return{minX:t+r-l,minY:n+i-u,maxX:t+r+l,maxY:n+i+u,width:l*2,height:u*2}}static getExpandedBounds(t,n){let r=Math.min(t.minX,n.minX),i=Math.min(t.minY,n.minY),a=Math.max(t.maxX,n.maxX),o=Math.max(t.maxY,n.maxY),s=Math.abs(a-r),l=Math.abs(o-i);return{minX:r,minY:i,maxX:a,maxY:o,width:s,height:l}}static getCommonBounds(t){if(t.length<2)return t[0];let n=t[0];for(let r=1;rWe.rotWith(i,r,n))}static getTransformedBoundingBox(t,n,r,i=0,a=!1){let[o,s]=[t.minX,t.minY],[l,u]=[t.maxX,t.maxY],[c,f]=[t.minX,t.minY],[d,h]=[t.maxX,t.maxY];if(n==="center")return{minX:c+r[0],minY:f+r[1],maxX:d+r[0],maxY:h+r[1],width:d-c,height:h-f,scaleX:1,scaleY:1};let[p,g]=We.rot(r,-i);switch(n){case"top_edge":case"top_left_corner":case"top_right_corner":{f+=g;break}case"bottom_edge":case"bottom_left_corner":case"bottom_right_corner":{h+=g;break}}switch(n){case"left_edge":case"top_left_corner":case"bottom_left_corner":{c+=p;break}case"right_edge":case"top_right_corner":case"bottom_right_corner":{d+=p;break}}let b=l-o,m=u-s,v=(d-c)/b,w=(h-f)/m,k=v<0,E=w<0,S=Math.abs(d-c),T=Math.abs(h-f);if(a){let L=b/m,M=LWe.rotWith(o,r,n)),a=Cl.getBoundsFromPoints(i);return[a.width,a.height]}static getBoundsCenter(t){return[t.minX+t.width/2,t.minY+t.height/2]}static getBoundsWithCenter(t){let n=Cl.getBoundsCenter(t);return Pp(ba({},t),{midX:n[0],midY:n[1]})}static getCommonTopLeft(t){let n=[1/0,1/0];return t.forEach(r=>{n[0]=Math.min(n[0],r[0]),n[1]=Math.min(n[1],r[1])}),n}static getFromCache(t,n,r){let i=t.get(n);if(i===void 0&&(t.set(n,r()),i=t.get(n),i===void 0))throw Error("Cache did not include item!");return i}static uniqueId(t=""){return t?((Number(t)^Math.random()*16)>>Number(t)/4).toString(16):`10000000-1000-4000-8000-${1e11}`.replace(/[018]/g,Cl.uniqueId)}static rotateArray(t,n){return t.map((r,i)=>t[(i+n)%t.length])}static debounce(t,n=0){let r;return function(...i){clearTimeout(r),r=setTimeout(()=>t.apply(i),n)}}static getSvgPathFromStroke(t,n=!0){let r=t.length;if(r<4)return"";let i=t[0],a=t[1],o=t[2],s=`M${i[0].toFixed(2)},${i[1].toFixed(2)} Q${a[0].toFixed(2)},${a[1].toFixed(2)} ${Xm(a[0],o[0]).toFixed(2)},${Xm(a[1],o[1]).toFixed(2)} T`;for(let l=2,u=r-1;l"u")return!1;let t=window.navigator.userAgent,n=!!t.match(/iPad/i)||!!t.match(/iPhone/i),r=!!t.match(/WebKit/i);return n&&r&&!t.match(/CriOS/i)}static throttle(t,n){let r,i;return function(...a){return r||(r=!0,setTimeout(()=>r=!1,n),i=t(...a)),i}}static isDarwin(){return/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}static metaKey(t){return Cl.isDarwin()?t.metaKey:t.ctrlKey}static lns(t){let n=t.split("");return n.push(...n.splice(0,Math.round(n.length/5))),n.push(...n.splice(0,Math.round(n.length/4))),n.push(...n.splice(0,Math.round(n.length/3))),n.push(...n.splice(0,Math.round(n.length/2))),n.reverse().map(r=>+r?+r<5?5+ +r:+r>5?+r-5:r:r).join("")}},bt=Cl;es(bt,"getSnapPoints",(e,t,n)=>{let r=ba({},e),i=[0,0],a=[],o={minX:{id:"minX",isSnapped:!1},midX:{id:"midX",isSnapped:!1},maxX:{id:"maxX",isSnapped:!1},minY:{id:"minY",isSnapped:!1},midY:{id:"midY",isSnapped:!1},maxY:{id:"maxY",isSnapped:!1}},s=["midX","minX","maxX"],l=["midY","minY","maxY"],u=t.map(p=>{let g=s.flatMap((m,v)=>s.map((w,k)=>{let E=r[m]-p[w],S=Math.abs(E);return{f:m,t:w,gap:E,distance:S,isCareful:v===0||v+k===3}})),b=l.flatMap((m,v)=>l.map((w,k)=>{let E=r[m]-p[w],S=Math.abs(E);return{f:m,t:w,gap:E,distance:S,isCareful:v===0||v+k===3}}));return[p,g,b]}),c=1/0,f=1/0,d=1/0,h=1/0;return u.forEach(([p,g,b])=>{g.forEach(m=>{m.distance{m.distance{c!==1/0&&g.forEach(m=>{Math.abs(m.gap-c)<2&&(o[m.f]=Pp(ba({},o[m.f]),{isSnapped:!0,to:p[m.t],B:p,distance:m.distance}))}),f!==1/0&&b.forEach(m=>{Math.abs(m.gap-f)<2&&(o[m.f]=Pp(ba({},o[m.f]),{isSnapped:!0,to:p[m.t],B:p,distance:m.distance}))})}),i[0]=c===1/0?0:c,i[1]=f===1/0?0:f,r.minX-=i[0],r.midX-=i[0],r.maxX-=i[0],r.minY-=i[1],r.midY-=i[1],r.maxY-=i[1],s.forEach(p=>{let g=o[p];if(!g.isSnapped)return;let{id:b,B:m}=g,v=r[b];a.push(b==="minX"?[[v,r.midY],[v,m.minY],[v,m.maxY]]:[[v,r.minY],[v,r.maxY],[v,m.minY],[v,m.maxY]])}),l.forEach(p=>{let g=o[p];if(!g.isSnapped)return;let{id:b,B:m}=g,v=r[b];a.push(b==="midY"?[[r.midX,v],[m.minX,v],[m.maxX,v]]:[[r.minX,v],[r.maxX,v],[m.minX,v],[m.maxX,v]])}),{offset:i,snapLines:a}}),es(bt,"deepMerge",(e,t)=>{let n=ba({},e),r=Object.entries(t);for(let[i,a]of r)n[i]=a===Object(a)&&!Array.isArray(a)?Cl.deepMerge(n[i],a):a;return n});function Xm(e,t){return(e+t)/2}var td=bt;function tIt(e,t){let n=C.useRef(void 0),r=C.useRef(void 0),i=C.useRef([0,0]),a=C.useRef(0),{inputs:o,bounds:s,callbacks:l}=Gu();C.useEffect(()=>{let h=p=>p.preventDefault();return document.addEventListener("gesturestart",h),document.addEventListener("gesturechange",h),()=>{document.removeEventListener("gesturestart",h),document.removeEventListener("gesturechange",h)}},[]);let u=C.useCallback(({event:h})=>{var p,g,b,m;if(h.preventDefault(),o.isPinching||h.timeStamp<=a.current)return;a.current=h.timeStamp;let[v,w,k]=nIt(h);if((h.altKey||h.ctrlKey||h.metaKey)&&h.buttons===0){let T=[...(g=(p=o.pointer)==null?void 0:p.point)!=null?g:[s.width/2,s.height/2],k*.618],L=o.pan(T,h);(b=l.onZoom)==null||b.call(l,Pp(ba({},L),{delta:T}),h);return}let E=We.mul(h.shiftKey&&!td.isDarwin()?[w,0]:[v,w],.5);if(We.isEqual(E,[0,0]))return;let S=o.pan(E,h);(m=l.onPan)==null||m.call(l,S,h)},[l,o,s]),c=C.useCallback(({origin:h,event:p})=>{var g;if(p instanceof WheelEvent)return;let b=t.current;if(!b||!(p.target===b||b.contains(p.target)))return;let m=o.pinch(h,h);o.isPinching=!0,(g=l.onPinchStart)==null||g.call(l,m,p),r.current=m.point,n.current=m.origin,i.current=[0,0]},[l,o,s]),f=C.useCallback(({origin:h,offset:p,event:g})=>{var b;if(g instanceof WheelEvent)return;let m=t.current;if(!(g.target===m||m?.contains(g.target))||!n.current)return;let v=o.pinch(h,n.current),w=We.sub(v.delta,i.current);i.current=v.delta,(b=l.onPinch)==null||b.call(l,Pp(ba({},v),{point:v.point,origin:n.current,delta:[...w,p[0]]}),g),r.current=h},[l,o,s]),d=C.useCallback(({origin:h,event:p})=>{var g;let b=t.current;if(!(p.target===b||b?.contains(p.target)))return;let m=o.pinch(h,h);o.isPinching=!1,(g=l.onPinchEnd)==null||g.call(l,m,p),r.current=void 0,n.current=void 0,i.current=[0,0]},[]);cDt({onWheel:u,onPinchStart:c,onPinch:f,onPinchEnd:d},{target:t,eventOptions:{passive:!1},pinch:{from:[e.current,0],scaleBounds:()=>({from:e.current,max:5,min:.1})}})}var x3e=10;function nIt(e){let{deltaY:t,deltaX:n}=e,r=0;if(e.ctrlKey||e.metaKey){let i=Math.sign(e.deltaY),a=Math.abs(e.deltaY),o=t;a>x3e&&(o=x3e*i),r=o}return[n,t,r]}function rIt(){let{callbacks:e}=Gu();C.useEffect(()=>{function t(){var n;(n=e.onShapeBlur)==null||n.call(e)}return td.isMobileSafari()?(document.addEventListener("focusout",t),()=>document.removeEventListener("focusout",t)):()=>null},[e])}function iIt(){let{callbacks:e,inputs:t}=Gu();return C.useMemo(()=>({onPointerDown:n=>{var r,i,a;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;if(n.currentTarget.setPointerCapture(n.pointerId),n.button===2){(r=e.onRightPointCanvas)==null||r.call(e,t.pointerDown(n,"canvas"),n);return}let o=t.pointerDown(n,"canvas");n.button===0&&((i=e.onPointCanvas)==null||i.call(e,o,n)),(a=e.onPointerDown)==null||a.call(e,o,n)},onPointerMove:n=>{var r,i;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;let a=t.pointerMove(n,"canvas");n.buttons===1&&n.currentTarget.hasPointerCapture(n.pointerId)&&((r=e.onDragCanvas)==null||r.call(e,a,n)),(i=e.onPointerMove)==null||i.call(e,a,n)},onPointerUp:n=>{var r,i,a,o,s;if(n.dead||(n.dead=!0,t.activePointer=void 0,!t.pointerIsValid(n)))return;let l=t.isDoubleClick(),u=t.pointerUp(n,"canvas");if(n.button===2){(r=e.onPointerUp)==null||r.call(e,u,n);return}n.currentTarget.hasPointerCapture(n.pointerId)&&((i=n.currentTarget)==null||i.releasePointerCapture(n.pointerId)),n.button===0&&(l&&!(u.altKey||u.metaKey)&&((a=e.onDoubleClickCanvas)==null||a.call(e,u,n)),(o=e.onReleaseCanvas)==null||o.call(e,u,n)),(s=e.onPointerUp)==null||s.call(e,u,n)},onDrop:e.onDrop,onDragOver:e.onDragOver}),[e,t])}function aIt(e){let{rPageState:t,rSelectionBounds:n,callbacks:r,inputs:i}=C.useContext(zde);return C.useMemo(()=>({onPointerDown:a=>{var o,s,l,u,c,f,d;if(a.dead||(a.dead=!0,!i.pointerIsValid(a)))return;if(a.button===2){(o=r.onRightPointShape)==null||o.call(r,i.pointerDown(a,e),a);return}let h=i.pointerDown(a,e);if((s=a.currentTarget)==null||s.setPointerCapture(a.pointerId),n.current&&bt.pointInBounds(h.point,n.current)&&!t.current.selectedIds.includes(e)){a.button===0&&((l=r.onPointBounds)==null||l.call(r,i.pointerDown(a,"bounds"),a),(u=r.onPointShape)==null||u.call(r,h,a)),(c=r.onPointerDown)==null||c.call(r,h,a);return}a.button===0&&((f=r.onPointShape)==null||f.call(r,h,a)),(d=r.onPointerDown)==null||d.call(r,h,a)},onPointerUp:a=>{var o,s,l,u;if(a.dead||(a.dead=!0,!i.pointerIsValid(a))||a.button===2)return;i.activePointer=void 0;let c=i.isDoubleClick(),f=i.pointerUp(a,e);a.pointerId&&a.currentTarget.hasPointerCapture(a.pointerId)&&((o=a.currentTarget)==null||o.releasePointerCapture(a.pointerId)),a.button===0&&(c&&!(f.altKey||f.metaKey)&&((s=r.onDoubleClickShape)==null||s.call(r,f,a)),(l=r.onReleaseShape)==null||l.call(r,f,a)),(u=r.onPointerUp)==null||u.call(r,f,a)},onPointerMove:a=>{var o,s;if(a.dead||(a.dead=!0,a.buttons===2||!i.pointerIsValid(a)||i.pointer&&a.pointerId!==i.pointer.pointerId))return;let l=i.pointerMove(a,e);a.buttons===1&&a.currentTarget.hasPointerCapture(a.pointerId)&&((o=r.onDragShape)==null||o.call(r,l,a)),(s=r.onPointerMove)==null||s.call(r,l,a)},onPointerEnter:a=>{var o;if(!i.pointerIsValid(a))return;let s=i.pointerEnter(a,e);(o=r.onHoverShape)==null||o.call(r,s,a)},onPointerLeave:a=>{var o;if(!i.pointerIsValid(a))return;let s=i.pointerEnter(a,e);(o=r.onUnhoverShape)==null||o.call(r,s,a)}}),[i,r,e])}function MHe(e,t,n,r,i,a=!1,o=!1,s,l){let u={shape:e,asset:e.assetId?i[e.assetId]:void 0,meta:s,isChildOfSelected:o,isGhost:e.isGhost||a,isEditing:r.editingId===e.id,isBinding:l===e.id,isSelected:r.selectedIds.includes(e.id),isHovered:r.hoveredId===e.id||e.children!==void 0&&(r.hoveredId&&e.children.includes(r.hoveredId)||e.children.some(c=>r.selectedIds.includes(c)))};t.push(u),e.children&&(u.children=[],e.children.map(c=>n[c]).filter(c=>n[c.id]).sort((c,f)=>c.childIndex-f.childIndex).forEach(c=>MHe(c,u.children,n,r,i,u.isGhost,u.isSelected||u.isChildOfSelected,s)))}function oIt(e,t){return bt.boundsContain(t,e)||bt.boundsCollide(t,e)}function sIt(e,t,n,r){let{callbacks:i,shapeUtils:a,bounds:o}=Gu(),s=C.useRef(),l=C.useRef(-1),u=C.useRef(new Set),c=C.useRef(new Set),{selectedIds:f,camera:d}=t,[h,p]=We.sub(We.div([0,0],d.zoom),d.point),[g,b]=We.sub(We.div([o.width,o.height],d.zoom),d.point),m={minX:h,minY:p,maxX:g,maxY:b,height:g-h,width:b-p},v=c.current,w=u.current;v.clear(),w.clear(),Object.values(e.shapes).filter(S=>a[S.type].isStateful||f.includes(S.id)||oIt(a[S.type].getBounds(S),m)).forEach(S=>{if(S.parentId===e.id){w.add(S.id),v.add(S);return}let T=e.shapes[S.parentId];if(T===void 0)throw Error(`A shape (${S.id}) has a parent (${S.parentId}) that does not exist!`);w.add(T.id),v.add(T)}),v.size!==l.current&&(s.current&&clearTimeout(s.current),s.current=requestAnimationFrame(()=>{var S;(S=i.onRenderCountChange)==null||S.call(i,Array.from(w.values()))}),l.current=v.size);let k=t.bindingId?e.bindings[t.bindingId].toId:void 0,E=[];return v.forEach(S=>{if(S===void 0)throw Error("Rendered shapes included a missing shape");MHe(S,E,e.shapes,t,n,S.isGhost,!1,r,k)}),E.sort((S,T)=>S.shape.childIndex-T.shape.childIndex),E}var Lq=new Map;function lIt(e,t){return Object.keys(t).reduce((n,r)=>{let i=t[r];return i?n+`${`--${e}-${r}`}: ${i}; -`:n},"")}function uIt(e,t,n=":root"){C.useLayoutEffect(()=>{let r=document.createElement("style"),i=lIt(e,t);return r.setAttribute("id",`${e}-theme`),r.setAttribute("data-selector",n),r.innerHTML=` +`));for(const j of y)this.applyChange(j,x);Pe.isEnabled(se.Debug)&&Pe.debug(`after appling ${y.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`)}applyChange(y,x){this.ensureClone(),y.execute(this.clone.root,this.clone.presences,x);const j=[],K=y.getID().getActorID();if(y.hasPresenceChange()&&this.onlineClients.has(K)){const Fe=y.getPresenceChange();switch(Fe.type){case Vh.Put:j.push(this.presences.has(K)?{type:"presence-changed",source:x,value:{clientID:K,presence:Fe.presence}}:{type:"watched",source:qi.Remote,value:{clientID:K,presence:Fe.presence}});break;case Vh.Clear:j.push({type:"unwatched",source:qi.Remote,value:{clientID:K,presence:this.getPresence(K)}}),this.removeOnlineClient(K);break}}const{opInfos:ke}=y.execute(this.root,this.presences,x);if(this.changeID=this.changeID.syncClocks(y.getID()),ke.length>0){const Fe=this.isEnableDevtools()?y.toStruct():void 0;j.push(x===qi.Remote?{type:"remote-change",source:x,value:{actor:K,clientSeq:y.getID().getClientSeq(),serverSeq:y.getID().getServerSeq(),message:y.getMessage()||"",operations:ke},rawChange:Fe}:{type:"local-change",source:x,value:{actor:K,clientSeq:y.getID().getClientSeq(),serverSeq:y.getID().getServerSeq(),message:y.getMessage()||"",operations:ke},rawChange:Fe})}j.length>0&&this.publish(j)}applyWatchStream(y){if(y.body.case==="initialization"){const x=y.body.value.clientIds,j=new Set;for(const K of x)K!==this.changeID.getActorID()&&j.add(K);this.setOnlineClients(j),this.publish([{type:"initialized",source:qi.Local,value:this.getPresences()}]);return}if(y.body.case==="event"){const{type:x,publisher:j}=y.body.value,K=[];if(x===Z.DOCUMENT_WATCHED){if(this.onlineClients.has(j)&&this.hasPresence(j))return;this.addOnlineClient(j),this.hasPresence(j)&&K.push({type:"watched",source:qi.Remote,value:{clientID:j,presence:this.getPresence(j)}})}else if(x===Z.DOCUMENT_UNWATCHED){const ke=this.getPresence(j);this.removeOnlineClient(j),ke&&K.push({type:"unwatched",source:qi.Remote,value:{clientID:j,presence:ke}})}else if(x===Z.DOCUMENT_BROADCAST&&y.body.value.body){const{topic:ke,payload:Fe}=y.body.value.body,Ve=new TextDecoder;K.push({type:"broadcast",value:{clientID:j,topic:ke,payload:JSON.parse(Ve.decode(Fe))}})}K.length>0&&this.publish(K)}}applyStatus(y){this.status=y,y==="detached"&&this.setActor(Ly),this.publish([{source:y==="removed"?qi.Remote:qi.Local,type:"status-changed",value:y==="attached"?{status:y,actorID:this.changeID.getActorID()}:{status:y}}])}applyDocEvent(y){if(y.type==="status-changed"){this.applyStatus(y.value.status),y.value.status==="attached"&&this.setActor(y.value.actorID);return}if(y.type==="snapshot"){const{snapshot:x,serverSeq:j,snapshotVector:K}=y.value;if(!x)return;this.applySnapshot(BigInt(j),W.hexToVersionVector(K),W.hexToBytes(x));return}if(y.type==="local-change"||y.type==="remote-change"){if(!y.rawChange)return;const x=op.fromStruct(y.rawChange);this.applyChange(x,y.source)}if(y.type==="initialized"){const x=new Set;for(const{clientID:j,presence:K}of y.value)x.add(j),this.presences.set(j,K);this.setOnlineClients(x);return}if(y.type==="watched"){const{clientID:x,presence:j}=y.value;this.addOnlineClient(x),this.presences.set(x,j);return}if(y.type==="unwatched"){const{clientID:x}=y.value;this.removeOnlineClient(x),this.presences.delete(x)}if(y.type==="presence-changed"){const{clientID:x,presence:j}=y.value;this.presences.set(x,j)}}applyTransactionEvent(y){for(const x of y)this.applyDocEvent(x)}getValueByPath(y){if(!y.startsWith("$"))throw new Xt(Vt.ErrInvalidArgument,'path must start with "$"');const x=y.split(".");x.shift();let j=this.getRoot();for(const K of x)if(j=j[K],j===void 0)return;return j}setOnlineClients(y){this.onlineClients=y}resetOnlineClients(){this.onlineClients=new Set}addOnlineClient(y){this.onlineClients.add(y)}removeOnlineClient(y){this.onlineClients.delete(y)}hasPresence(y){return this.presences.has(y)}getMyPresence(){if(this.status!=="attached")return{};const y=this.presences.get(this.changeID.getActorID());return y?Ff(y):{}}getPresence(y){if(y===this.changeID.getActorID())return this.getMyPresence();if(!this.onlineClients.has(y))return;const x=this.presences.get(y);return x?Ff(x):void 0}getPresenceForTest(y){const x=this.presences.get(y);return x?Ff(x):void 0}getPresences(){const y=[];y.push({clientID:this.changeID.getActorID(),presence:Ff(this.getMyPresence())});for(const x of this.onlineClients)this.presences.has(x)&&y.push({clientID:x,presence:Ff(this.presences.get(x))});return y}getSelfForTest(){return{clientID:this.getChangeID().getActorID(),presence:this.getMyPresence()}}getOthersForTest(){const y=this.getChangeID().getActorID();return this.getPresences().filter(x=>x.clientID!==y).sort((x,j)=>x.clientID>j.clientID?1:-1)}canUndo(){return this.internalHistory.hasUndo()&&!this.isUpdating}filterVersionVector(y){const j=this.changeID.getVersionVector().filter(y);this.changeID=this.changeID.setVersionVector(j)}canRedo(){return this.internalHistory.hasRedo()&&!this.isUpdating}undo(){if(this.isUpdating)throw new Xt(Vt.ErrRefused,"Undo is not allowed during an update");const y=this.internalHistory.popUndo();if(y===void 0)throw new Xt(Vt.ErrRefused,"There is no operation to be undone");this.ensureClone();const x=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const ct of y){if(!(ct instanceof Zs)){new Oy(x,Ff(this.clone.presences.get(this.changeID.getActorID()))).set(ct.value,{addToHistory:!0});continue}const It=x.issueTimeTicket();ct.setExecutedAt(It),x.push(ct)}const j=x.getChange();j.execute(this.clone.root,this.clone.presences,qi.UndoRedo);const{opInfos:K,reverseOps:ke}=j.execute(this.root,this.presences,qi.UndoRedo),Fe=x.getReversePresence();if(Fe&&ke.push({type:"presence",value:Fe}),ke.length>0&&this.internalHistory.pushRedo(ke),!j.hasPresenceChange()&&K.length===0)return;this.localChanges.push(j),this.changeID=j.getID();const Ve=this.changeID.getActorID(),it=[];K.length>0&&it.push({type:"local-change",source:qi.UndoRedo,value:{message:j.getMessage()||"",operations:K,actor:Ve,clientSeq:j.getID().getClientSeq(),serverSeq:j.getID().getServerSeq()},rawChange:this.isEnableDevtools()?j.toStruct():void 0}),j.hasPresenceChange()&&it.push({type:"presence-changed",source:qi.UndoRedo,value:{clientID:Ve,presence:this.getPresence(Ve)}}),this.publish(it)}redo(){if(this.isUpdating)throw new Xt(Vt.ErrRefused,"Redo is not allowed during an update");const y=this.internalHistory.popRedo();if(y===void 0)throw new Xt(Vt.ErrRefused,"There is no operation to be redone");this.ensureClone();const x=tn.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const ct of y){if(!(ct instanceof Zs)){new Oy(x,Ff(this.clone.presences.get(this.changeID.getActorID()))).set(ct.value,{addToHistory:!0});continue}const It=x.issueTimeTicket();ct.setExecutedAt(It),x.push(ct)}const j=x.getChange();j.execute(this.clone.root,this.clone.presences,qi.UndoRedo);const{opInfos:K,reverseOps:ke}=j.execute(this.root,this.presences,qi.UndoRedo),Fe=x.getReversePresence();if(Fe&&ke.push({type:"presence",value:Fe}),ke.length>0&&this.internalHistory.pushUndo(ke),!j.hasPresenceChange()&&K.length===0)return;this.localChanges.push(j),this.changeID=j.getID();const Ve=this.changeID.getActorID(),it=[];K.length>0&&it.push({type:"local-change",source:qi.UndoRedo,value:{message:j.getMessage()||"",operations:K,actor:Ve,clientSeq:j.getID().getClientSeq(),serverSeq:j.getID().getServerSeq()},rawChange:this.isEnableDevtools()?j.toStruct():void 0}),j.hasPresenceChange()&&it.push({type:"presence-changed",source:qi.UndoRedo,value:{clientID:Ve,presence:this.getPresence(Ve)}}),this.publish(it)}getUndoStackForTest(){return this.internalHistory.getUndoStackForTest()}getRedoStackForTest(){return this.internalHistory.getRedoStackForTest()}broadcast(y,x,j){const K={type:"local-broadcast",value:{topic:y,payload:x},options:j};this.publish([K])}getVersionVector(){return this.changeID.getVersionVector()}}function y5($,y){let x=y;return{authInterceptor:ke=>async Fe=>($&&Fe.header.set("x-api-key",$),x&&Fe.header.set("authorization",x),await ke(Fe)),setToken:ke=>{x=ke}}}const u2e={name:"yorkie-js-sdk",version:"0.5.7",description:"Yorkie JS SDK",main:"./src/yorkie.ts",publishConfig:{access:"public",main:"./dist/yorkie-js-sdk.js",typings:"./dist/yorkie-js-sdk.d.ts"},files:["dist"],scripts:{build:"tsc && vite build","build:proto":"npx buf generate","build:docs":"typedoc","build:ghpages":"mkdir -p ghpages/examples && cp -r docs ghpages/api-reference && find ../../examples -name 'dist' -type d -exec sh -c 'cp -r {} ghpages/examples/$(basename $(dirname {}))' \\;",dev:"vite build -c vite.preview.ts && vite preview",test:"vitest run","test:watch":"vitest","test:bench":"vitest bench","test:ci":"vitest run --coverage","test:yorkie.dev":"TEST_RPC_ADDR=https://api.yorkie.dev vitest run --coverage",prepare:"pnpm build"},engines:{node:">=18.0.0",npm:">=7.1.0"},repository:{type:"git",url:"git+https://github.com/yorkie-team/yorkie-js-sdk.git"},author:{name:"hackerwins",email:"susukang98@gmail.com"},license:"Apache-2.0",bugs:{url:"https://github.com/yorkie-team/yorkie-js-sdk/issues"},homepage:"https://github.com/yorkie-team/yorkie-js-sdk#readme",devDependencies:{"@buf/googleapis_googleapis.bufbuild_es":"^1.4.0-20240524201209-f0e53af8f2fc.3","@bufbuild/buf":"^1.28.1","@bufbuild/protoc-gen-es":"^1.6.0","@connectrpc/protoc-gen-connect-es":"^1.4.0","@types/express":"^4.17.21","@types/google-protobuf":"^3.15.5","@types/long":"^4.0.1","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitest/coverage-istanbul":"^0.34.5","@vitest/coverage-v8":"^0.34.5",axios:"^1.7.7","eslint-plugin-tsdoc":"^0.2.16",express:"^4.21.1",prettier:"^2.7.1","ts-node":"^10.9.1",typedoc:"^0.25.13",typescript:"^5.3.3","typescript-transform-paths":"^3.3.1",vite:"^5.0.12","vite-plugin-commonjs":"^0.10.1","vite-plugin-dts":"^3.9.1","vite-tsconfig-paths":"^4.3.1",vitest:"^0.34.5"},dependencies:{"@bufbuild/protobuf":"^1.6.0","@connectrpc/connect":"^1.4.0","@connectrpc/connect-web":"^1.4.0",long:"^5.2.0"}};function L0t(){return $=>async y=>(y.header.set("x-yorkie-user-agent",u2e.name+"/"+u2e.version),await $(y))}const B0t=$=>{try{if(JSON.stringify($)===void 0)return!1}catch{return!1}return!0};var b5=($=>($.Manual="manual",$.Realtime="realtime",$.RealtimePushOnly="realtime-pushonly",$.RealtimeSyncOff="realtime-syncoff",$))(b5||{}),c2e=($=>($.Deactivated="deactivated",$.Activated="activated",$))(c2e||{}),f2e=($=>($.SyncLoop="SyncLoop",$.WatchLoop="WatchLoop",$))(f2e||{});const vD={syncLoopDuration:50,retrySyncLoopDelay:1e3,reconnectStreamDelay:1e3},SH={maxRetries:1/0,initialRetryInterval:1e3,maxBackoff:2e4};class AH{constructor(y,x){a(this,"id"),a(this,"key"),a(this,"status"),a(this,"attachmentMap"),a(this,"apiKey"),a(this,"authTokenInjector"),a(this,"conditions"),a(this,"syncLoopDuration"),a(this,"reconnectStreamDelay"),a(this,"retrySyncLoopDelay"),a(this,"rpcClient"),a(this,"setAuthToken"),a(this,"taskQueue"),a(this,"processing",!1),a(this,"keepalive",!1),x=x||vD,this.key=x.key?x.key:Ge(),this.status="deactivated",this.attachmentMap=new Map,this.apiKey=x.apiKey||"",this.authTokenInjector=x.authTokenInjector,this.conditions={SyncLoop:!1,WatchLoop:!1},this.syncLoopDuration=x.syncLoopDuration??vD.syncLoopDuration,this.reconnectStreamDelay=x.reconnectStreamDelay??vD.reconnectStreamDelay,this.retrySyncLoopDelay=x.retrySyncLoopDelay??vD.retrySyncLoopDelay;const{authInterceptor:j,setToken:K}=y5(this.apiKey);this.setAuthToken=K,this.rpcClient=sr(oH,wd({baseUrl:y,interceptors:[j,L0t()],fetch:(ke,Fe)=>{const Ve={...Fe,keepalive:this.keepalive};return fetch(ke,Ve)}})),this.taskQueue=[]}async activate(){if(this.isActive())return Promise.resolve();if(this.authTokenInjector){const y=await this.authTokenInjector();this.setAuthToken(y)}return this.enqueueTask(async()=>this.rpcClient.activateClient({clientKey:this.key},{headers:{"x-shard-key":this.apiKey}}).then(y=>{this.id=y.clientId,this.status="activated",this.runSyncLoop(),Pe.info(`[AC] c:"${this.getKey()}" activated, id:"${this.id}"`)}).catch(async y=>{throw Pe.error(`[AC] c:"${this.getKey()}" err :`,y),await this.handleConnectError(y),y}))}deactivate(y={keepalive:!1}){if(this.status==="deactivated")return Promise.resolve();const x=async()=>{try{await this.rpcClient.deactivateClient({clientId:this.id},{headers:{"x-shard-key":this.apiKey}}),this.deactivateInternal(),Pe.info(`[DC] c"${this.getKey()}" deactivated`)}catch(j){throw Pe.error(`[DC] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j}};if(y.keepalive){this.keepalive=!0;const j=x();return this.keepalive=!1,j}return this.enqueueTask(x)}attach(y,x={}){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);if(y.getStatus()!==_l.Detached)throw new Xt(Vt.ErrDocumentNotDetached,`${y.getKey()} is not detached`);y.setActor(this.id),y.update((ke,Fe)=>Fe.set(x.initialPresence||{}));const j=y.subscribe("local-broadcast",async ke=>{var Fe;const{topic:Ve,payload:it}=ke.value,ct=(Fe=ke.options)==null?void 0:Fe.error,It=ke.options;try{await this.broadcast(y.getKey(),Ve,it,It)}catch(fn){fn instanceof Error&&ct?.(fn)}}),K=x.syncMode??"realtime";return this.enqueueTask(async()=>this.rpcClient.attachDocument({clientId:this.id,changePack:W.toChangePack(y.createChangePack())},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(async ke=>{const Fe=W.fromChangePack(ke.changePack);if(y.applyChangePack(Fe),y.getStatus()===_l.Removed)return y;y.applyStatus(_l.Attached),this.attachmentMap.set(y.getKey(),new lt(this.reconnectStreamDelay,y,ke.documentId,K,j)),K!=="manual"&&await this.runWatchLoop(y.getKey()),Pe.info(`[AD] c:"${this.getKey()}" attaches d:"${y.getKey()}"`);const Ve=y.getRootObject();if(x.initialRoot){const it=x.initialRoot;y.update(ct=>{for(const[It,fn]of Object.entries(it))if(!Ve.has(It)){const Cn=It;ct[Cn]=fn}})}return y}).catch(async ke=>{throw Pe.error(`[AD] c:"${this.getKey()}" err :`,ke),await this.handleConnectError(ke),ke}))}detach(y,x={}){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const j=this.attachmentMap.get(y.getKey());if(!j)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);return y.update((K,ke)=>ke.clear()),this.enqueueTask(async()=>this.rpcClient.detachDocument({clientId:this.id,documentId:j.docID,changePack:W.toChangePack(y.createChangePack()),removeIfNotAttached:x.removeIfNotAttached??!1},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(K=>{const ke=W.fromChangePack(K.changePack);return y.applyChangePack(ke),y.getStatus()!==_l.Removed&&y.applyStatus(_l.Detached),this.detachInternal(y.getKey()),Pe.info(`[DD] c:"${this.getKey()}" detaches d:"${y.getKey()}"`),y}).catch(async K=>{throw Pe.error(`[DD] c:"${this.getKey()}" err :`,K),await this.handleConnectError(K),K}))}async changeSyncMode(y,x){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const j=this.attachmentMap.get(y.getKey());if(!j)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);const K=j.syncMode;return K===x?y:(j.changeSyncMode(x),x==="manual"?(j.cancelWatchStream(),y):(x==="realtime"&&(j.remoteChangeEventReceived=!0),K==="manual"&&await this.runWatchLoop(y.getKey()),y))}sync(y){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);if(y){const x=this.attachmentMap.get(y.getKey());if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);return this.enqueueTask(async()=>this.syncInternal(x,"realtime").catch(async j=>{throw Pe.error(`[SY] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j}))}return this.enqueueTask(async()=>{const x=[];for(const[,j]of this.attachmentMap)x.push(this.syncInternal(j,j.syncMode));return Promise.all(x).catch(async j=>{throw Pe.error(`[SY] c:"${this.getKey()}" err :`,j),await this.handleConnectError(j),j})})}remove(y){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const x=this.attachmentMap.get(y.getKey());if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y.getKey()} is not attached`);y.setActor(this.id);const j=W.toChangePack(y.createChangePack());return j.isRemoved=!0,this.enqueueTask(async()=>this.rpcClient.removeDocument({clientId:this.id,documentId:x.docID,changePack:j},{headers:{"x-shard-key":`${this.apiKey}/${y.getKey()}`}}).then(K=>{const ke=W.fromChangePack(K.changePack);y.applyChangePack(ke),this.detachInternal(y.getKey()),Pe.info(`[RD] c:"${this.getKey()}" removes d:"${y.getKey()}"`)}).catch(async K=>{throw Pe.error(`[RD] c:"${this.getKey()}" err :`,K),await this.handleConnectError(K),K}))}getID(){return this.id}getKey(){return this.key}isActive(){return this.status==="activated"}getStatus(){return this.status}getCondition(y){return this.conditions[y]}broadcast(y,x,j,K){if(!this.isActive())throw new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`);const ke=this.attachmentMap.get(y);if(!ke)throw new Xt(Vt.ErrDocumentNotAttached,`${y} is not attached`);if(!B0t(j))throw new Xt(Vt.ErrInvalidArgument,"payload is not serializable");const Fe=K?.maxRetries??SH.maxRetries,Ve=SH.maxBackoff;let it=0;const ct=fn=>Math.min(SH.initialRetryInterval*2**fn,Ve),It=async()=>this.enqueueTask(async()=>this.rpcClient.broadcast({clientId:this.id,documentId:ke.docID,topic:x,payload:new TextEncoder().encode(JSON.stringify(j))},{headers:{"x-shard-key":`${this.apiKey}/${y}`}}).then(()=>{Pe.info(`[BC] c:"${this.getKey()}" broadcasts d:"${y}" t:"${x}"`)}).catch(async fn=>{if(Pe.error(`[BC] c:"${this.getKey()}" err:`,fn),await this.handleConnectError(fn))if(fn instanceof m&&jm(fn)===Vt.ErrUnauthenticated&&ke.doc.publish([{type:bo.AuthError,value:{reason:Ky(fn).reason,method:"Broadcast"}}]),itIt(),ct(it-1)),Pe.info(`[BC] c:"${this.getKey()}" retry attempt ${it}/${Fe}`);else throw Pe.error(`[BC] c:"${this.getKey()}" exceeded maximum retry attempts`),fn;else throw fn}));return It()}runSyncLoop(){const y=()=>{if(!this.isActive()){Pe.debug(`[SL] c:"${this.getKey()}" exit sync loop`),this.conditions.SyncLoop=!1;return}const x=[];for(const[,j]of this.attachmentMap)j.needRealtimeSync()&&(j.remoteChangeEventReceived=!1,x.push(this.syncInternal(j,j.syncMode).catch(async K=>{throw K instanceof m&&jm(K)===Vt.ErrUnauthenticated&&j.doc.publish([{type:bo.AuthError,value:{reason:Ky(K).reason,method:"PushPull"}}]),K})));Promise.all(x).then(()=>setTimeout(y,this.syncLoopDuration)).catch(async j=>{Pe.error(`[SL] c:"${this.getKey()}" sync failed:`,j),await this.handleConnectError(j)?setTimeout(y,this.retrySyncLoopDelay):this.conditions.SyncLoop=!1})};Pe.debug(`[SL] c:"${this.getKey()}" run sync loop`),this.conditions.SyncLoop=!0,y()}async runWatchLoop(y){const x=this.attachmentMap.get(y);if(!x)throw new Xt(Vt.ErrDocumentNotAttached,`${y} is not attached`);return this.conditions.WatchLoop=!0,x.runWatchLoop(j=>{if(!this.isActive())return this.conditions.WatchLoop=!1,Promise.reject(new Xt(Vt.ErrClientNotActivated,`${this.key} is not active`));const K=new AbortController,ke=this.rpcClient.watchDocument({clientId:this.id,documentId:x.docID},{headers:{"x-shard-key":`${this.apiKey}/${y}`},signal:K.signal});return x.doc.publish([{type:bo.ConnectionChanged,value:Nd.Connected}]),Pe.info(`[WD] c:"${this.getKey()}" watches d:"${y}"`),new Promise((Fe,Ve)=>{(async()=>{try{for await(const ct of ke)this.handleWatchDocumentsResponse(x,ct),ct.body.case==="initialization"&&Fe([ke,K])}catch(ct){x.doc.resetOnlineClients(),x.doc.publish([{type:bo.Initialized,source:qi.Local,value:x.doc.getPresences()}]),x.doc.publish([{type:bo.ConnectionChanged,value:Nd.Disconnected}]),Pe.debug(`[WD] c:"${this.getKey()}" unwatches`),await this.handleConnectError(ct)?(ct instanceof m&&jm(ct)===Vt.ErrUnauthenticated&&x.doc.publish([{type:bo.AuthError,value:{reason:Ky(ct).reason,method:"WatchDocuments"}}]),j()):this.conditions.WatchLoop=!1,Ve(ct)}})()})})}handleWatchDocumentsResponse(y,x){if(x.body.case==="event"&&x.body.value.type===Z.DOCUMENT_CHANGED){y.remoteChangeEventReceived=!0;return}y.doc.applyWatchStream(x)}deactivateInternal(){this.status="deactivated";for(const[y,x]of this.attachmentMap)this.detachInternal(y),x.doc.applyStatus(_l.Detached)}detachInternal(y){const x=this.attachmentMap.get(y);x&&(x.cancelWatchStream(),x.unsubscribeBroadcastEvent(),this.attachmentMap.delete(y))}syncInternal(y,x){const{doc:j,docID:K}=y,ke=j.createChangePack();return this.rpcClient.pushPullChanges({clientId:this.id,documentId:K,changePack:W.toChangePack(ke),pushOnly:x==="realtime-pushonly"},{headers:{"x-shard-key":`${this.apiKey}/${j.getKey()}`}}).then(Fe=>{const Ve=W.fromChangePack(Fe.changePack);if(Ve.hasChanges()&&(y.syncMode==="realtime-pushonly"||y.syncMode==="realtime-syncoff"))return j;j.applyChangePack(Ve),y.doc.publish([{type:bo.SyncStatusChanged,value:Vs.Synced}]),j.getStatus()===_l.Removed&&this.detachInternal(j.getKey());const it=j.getKey(),ct=Ve.getChangeSize();return Pe.info(`[PP] c:"${this.getKey()}" sync d:"${it}", push:${ke.getChangeSize()} pull:${ct} cp:${Ve.getCheckpoint().toTestString()}`),j}).catch(async Fe=>{throw j.publish([{type:bo.SyncStatusChanged,value:Vs.SyncFailed}]),Pe.error(`[PP] c:"${this.getKey()}" err :`,Fe),Fe})}async handleConnectError(y){if(!(y instanceof m))return!1;if(y.code===g.Canceled||y.code===g.Unknown||y.code===g.ResourceExhausted||y.code===g.Unavailable)return!0;if(jm(y)===Vt.ErrUnauthenticated){if(this.authTokenInjector){const x=await this.authTokenInjector(Ky(y).reason);this.setAuthToken(x)}return!0}return(jm(y)===Vt.ErrClientNotActivated||jm(y)===Vt.ErrClientNotFound)&&this.deactivateInternal(),!1}enqueueTask(y){return new Promise((x,j)=>{this.taskQueue.push(()=>y().then(x).catch(j)),this.processing||this.processNext()})}async processNext(){if(this.taskQueue.length===0){this.processing=!1;return}try{this.processing=!0,await this.taskQueue.shift()()}catch{Pe.error(`[TQ] c:"${this.getKey()}" process failed, id:"${this.id}"`)}this.processNext()}}const P0t=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),F0t={Client:AH,Document:lp,Primitive:vo,Text:wr,Counter:fi,Tree:Gs,LogLevel:se,setLogLevel:Le,IntType:Pd.IntegerCnt,LongType:Pd.LongCnt};typeof globalThis<"u"&&(globalThis.yorkie={Client:AH,Document:lp,Primitive:vo,Text:wr,Counter:fi,Tree:Gs,LogLevel:se,setLogLevel:Le,IntType:Pd.IntegerCnt,LongType:Pd.LongCnt}),n.Change=op,n.Client=AH,n.ClientCondition=f2e,n.ClientStatus=c2e,n.Counter=fi,n.Devtools=P0t,n.DocEventType=bo,n.DocStatus=_l,n.DocSyncStatus=Vs,n.Document=lp,n.EventSourceDevPanel=jl,n.EventSourceSDK=Y1,n.LogLevel=se,n.OpSource=qi,n.Primitive=vo,n.StreamConnectionStatus=Nd,n.SyncMode=b5,n.Text=wr,n.TimeTicket=wl,n.Tree=Gs,n.VersionVector=G1,n.converter=W,n.default=F0t,n.setLogLevel=Le,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(zae,zae.exports);var GL=zae.exports;const x7=ls(GL);var uHe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(self,function(){return(()=>{var n={598:(a,o,s)=>{s.r(o),s.d(o,{default:()=>Ht});var l={};s.r(l),s.d(l,{alligator:()=>f,anteater:()=>d,armadillo:()=>h,auroch:()=>p,axolotl:()=>g,badger:()=>b,bat:()=>m,beaver:()=>v,buffalo:()=>w,camel:()=>k,capybara:()=>E,chameleon:()=>S,cheetah:()=>T,chinchilla:()=>L,chipmunk:()=>M,chupacabra:()=>D,cormorant:()=>I,coyote:()=>B,crow:()=>N,dingo:()=>O,dinosaur:()=>R,dolphin:()=>P,duck:()=>H,elephant:()=>F,ferret:()=>q,fox:()=>V,frog:()=>X,giraffe:()=>G,gopher:()=>J,grizzly:()=>te,hedgehog:()=>re,hippo:()=>Q,hyena:()=>ae,ibex:()=>le,ifrit:()=>oe,iguana:()=>ee,jackal:()=>ne,kangaroo:()=>ue,koala:()=>Ae,kraken:()=>ce,lemur:()=>be,leopard:()=>ge,liger:()=>ve,llama:()=>ie,manatee:()=>he,mink:()=>$e,monkey:()=>De,moose:()=>Ie,narwhal:()=>Be,orangutan:()=>we,otter:()=>je,panda:()=>Oe,penguin:()=>Re,platypus:()=>ye,pumpkin:()=>fe,python:()=>de,quagga:()=>xe,rabbit:()=>Ye,raccoon:()=>Ze,rhino:()=>st,sheep:()=>at,shrew:()=>rt,skunk:()=>et,squirrel:()=>Ot,tiger:()=>jt,turtle:()=>xt,walrus:()=>pt,wolf:()=>_t,wolverine:()=>ht,wombat:()=>yt});const u=["abandoned","able","absolute","adorable","adventurous","academic","acceptable","acclaimed","accomplished","accurate","aching","acidic","acrobatic","active","actual","adept","admirable","admired","adolescent","adorable","adored","advanced","afraid","affectionate","aged","aggravating","aggressive","agile","agitated","agonizing","agreeable","ajar","alarmed","alarming","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","amusing","anchored","ancient","angelic","angry","anguished","animated","annual","another","antique","anxious","any","apprehensive","appropriate","apt","arctic","arid","aromatic","artistic","ashamed","assured","astonishing","athletic","attached","attentive","attractive","austere","authentic","authorized","automatic","avaricious","average","aware","awesome","awful","awkward","babyish","bad","back","baggy","bare","barren","basic","beautiful","belated","beloved","beneficial","better","best","bewitched","big","big-hearted","biodegradable","bite-sized","bitter","black","black-and-white","bland","blank","blaring","bleak","blind","blissful","blond","blue","blushing","bogus","boiling","bold","bony","boring","bossy","both","bouncy","bountiful","bowed","brave","breakable","brief","bright","brilliant","brisk","broken","bronze","brown","bruised","bubbly","bulky","bumpy","buoyant","burdensome","burly","bustling","busy","buttery","buzzing","calculating","calm","candid","canine","capital","carefree","careful","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","cheery","chief","chilly","chubby","circular","classic","clean","clear","clear-cut","clever","close","closed","cloudy","clueless","clumsy","cluttered","coarse","cold","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complex","complicated","composed","concerned","concrete","confused","conscious","considerate","constant","content","conventional","cooked","cool","cooperative","coordinated","corny","corrupt","costly","courageous","courteous","crafty","crazy","creamy","creative","creepy","criminal","crisp","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cultured","cumbersome","curly","curvy","cute","cylindrical","damaged","damp","dangerous","dapper","daring","darling","dark","dazzling","dead","deadly","deafening","dear","dearest","decent","decimal","decisive","deep","defenseless","defensive","defiant","deficient","definite","definitive","delayed","delectable","delicious","delightful","delirious","demanding","dense","dental","dependable","dependent","descriptive","deserted","detailed","determined","devoted","different","difficult","digital","diligent","dim","dimpled","dimwitted","direct","disastrous","discrete","disfigured","disgusting","disloyal","dismal","distant","downright","dreary","dirty","disguised","dishonest","dismal","distant","distinct","distorted","dizzy","dopey","doting","double","downright","drab","drafty","dramatic","dreary","droopy","dry","dual","dull","dutiful","each","eager","earnest","early","easy","easy-going","ecstatic","edible","educated","elaborate","elastic","elated","elderly","electric","elegant","elementary","elliptical","embarrassed","embellished","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enormous","enraged","entire","envious","equal","equatorial","essential","esteemed","ethical","euphoric","even","evergreen","everlasting","every","evil","exalted","excellent","exemplary","exhausted","excitable","excited","exciting","exotic","expensive","experienced","expert","extraneous","extroverted","extra-large","extra-small","fabulous","failing","faint","fair","faithful","fake","false","familiar","famous","fancy","fantastic","far","faraway","far-flung","far-off","fast","fat","fatal","fatherly","favorable","favorite","fearful","fearless","feisty","feline","female","feminine","few","fickle","filthy","fine","finished","firm","first","firsthand","fitting","fixed","flaky","flamboyant","flashy","flat","flawed","flawless","flickering","flimsy","flippant","flowery","fluffy","fluid","flustered","focused","fond","foolhardy","foolish","forceful","forked","formal","forsaken","forthright","fortunate","fragrant","frail","frank","frayed","free","French","fresh","frequent","friendly","frightened","frightening","frigid","frilly","frizzy","frivolous","front","frosty","frozen","frugal","fruitful","full","fumbling","functional","funny","fussy","fuzzy","gargantuan","gaseous","general","generous","gentle","genuine","giant","giddy","gigantic","gifted","giving","glamorous","glaring","glass","gleaming","gleeful","glistening","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grand","grandiose","granular","grateful","grave","gray","great","greedy","green","gregarious","grim","grimy","gripping","grizzled","gross","grotesque","grouchy","grounded","growing","growling","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","half","handmade","handsome","handy","happy","happy-go-lucky","hard","hard-to-find","harmful","harmless","harmonious","harsh","hasty","hateful","haunting","healthy","heartfelt","hearty","heavenly","heavy","hefty","helpful","helpless","hidden","hideous","high","high-level","hilarious","hoarse","hollow","homely","honest","honorable","honored","hopeful","horrible","hospitable","hot","huge","humble","humiliating","humming","humongous","hungry","hurtful","husky","icky","icy","ideal","idealistic","identical","idle","idiotic","idolized","ignorant","ill","illegal","ill-fated","ill-informed","illiterate","illustrious","imaginary","imaginative","immaculate","immaterial","immediate","immense","impassioned","impeccable","impartial","imperfect","imperturbable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incompatible","incomplete","inconsequential","incredible","indelible","inexperienced","indolent","infamous","infantile","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","insubstantial","intelligent","intent","intentional","interesting","internal","international","intrepid","ironclad","irresponsible","irritating","itchy","jaded","jagged","jam-packed","jaunty","jealous","jittery","joint","jolly","jovial","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","jumpy","juvenile","kaleidoscopic","keen","key","kind","kindhearted","kindly","klutzy","knobby","knotty","knowledgeable","knowing","known","kooky","kosher","lame","lanky","large","last","lasting","late","lavish","lawful","lazy","leading","lean","leafy","left","legal","legitimate","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","loathsome","lone","lonely","long","long-term","loose","lopsided","lost","loud","lovable","lovely","loving","low","loyal","lucky","lumbering","luminous","lumpy","lustrous","luxurious","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","masculine","massive","mature","meager","mealy","mean","measly","meaty","medical","mediocre","medium","meek","mellow","melodic","memorable","menacing","merry","messy","metallic","mild","milky","mindless","miniature","minor","minty","miserable","miserly","misguided","misty","mixed","modern","modest","moist","monstrous","monthly","monumental","moral","mortified","motherly","motionless","mountainous","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","naive","narrow","nasty","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","noisy","nonstop","normal","notable","noted","noteworthy","novel","noxious","numb","nutritious","nutty","obedient","obese","oblong","oily","oblong","obvious","occasional","odd","oddball","offbeat","offensive","official","old","old-fashioned","only","open","optimal","optimistic","opulent","orange","orderly","organic","ornate","ornery","ordinary","original","other","our","outlying","outgoing","outlandish","outrageous","outstanding","oval","overcooked","overdue","overjoyed","overlooked","palatable","pale","paltry","parallel","parched","partial","passionate","past","pastel","peaceful","peppery","perfect","perfumed","periodic","perky","personal","pertinent","pesky","pessimistic","petty","phony","physical","piercing","pink","pitiful","plain","plaintive","plastic","playful","pleasant","pleased","pleasing","plump","plush","polished","polite","political","pointed","pointless","poised","poor","popular","portly","posh","positive","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","precious","previous","pricey","prickly","primary","prime","pristine","private","prize","probable","productive","profitable","profuse","proper","proud","prudent","punctual","pungent","puny","pure","purple","pushy","putrid","puzzled","puzzling","quaint","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quirky","quixotic","quizzical","radiant","ragged","rapid","rare","rash","raw","recent","reckless","rectangular","ready","real","realistic","reasonable","red","reflecting","regal","regular","reliable","relieved","remarkable","remorseful","remote","repentant","required","respectful","responsible","repulsive","revolving","rewarding","rich","rigid","right","ringed","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","rundown","ruddy","rude","runny","rural","rusty","sad","safe","salty","same","sandy","sane","sarcastic","sardonic","satisfied","scaly","scarce","scared","scary","scented","scholarly","scientific","scornful","scratchy","scrawny","second","secondary","second-hand","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serious","serpentine","several","severe","shabby","shadowy","shady","shallow","shameful","shameless","sharp","shimmering","shiny","shocked","shocking","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silly","silver","similar","simple","simplistic","sinful","single","sizzling","skeletal","skinny","sleepy","slight","slim","slimy","slippery","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","solid","somber","some","spherical","sophisticated","sore","sorrowful","soulful","soupy","sour","Spanish","sparkling","sparse","specific","spectacular","speedy","spicy","spiffy","spirited","spiteful","splendid","spotless","spotted","spry","square","squeaky","squiggly","stable","staid","stained","stale","standard","starchy","stark","starry","steep","sticky","stiff","stimulating","stingy","stormy","straight","strange","steel","strict","strident","striking","striped","strong","studious","stunning","stupendous","stupid","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","suspicious","svelte","sweaty","sweet","sweltering","swift","sympathetic","tall","talkative","tame","tan","tangible","tart","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","terrific","testy","thankful","that","these","thick","thin","third","thirsty","this","thorough","thorny","those","thoughtful","threadbare","thrifty","thunderous","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","traumatic","treasured","tremendous","tragic","trained","tremendous","triangular","tricky","trifling","trim","trivial","troubled","true","trusting","trustworthy","trusty","truthful","tubby","turbulent","twin","ugly","ultimate","unacceptable","unaware","uncomfortable","uncommon","unconscious","understated","unequaled","uneven","unfinished","unfit","unfolded","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","united","unkempt","unknown","unlawful","unlined","unlucky","unnatural","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwitting","unwritten","upbeat","upright","upset","urban","usable","used","useful","useless","utilized","utter","vacant","vague","vain","valid","valuable","vapid","variable","vast","velvety","venerated","vengeful","verifiable","vibrant","vicious","victorious","vigilant","vigorous","villainous","violet","violent","virtual","virtuous","visible","vital","vivacious","vivid","voluminous","wan","warlike","warm","warmhearted","warped","wary","wasteful","watchful","waterlogged","watery","wavy","wealthy","weak","weary","webbed","wee","weekly","weepy","weighty","weird","welcome","well-documented","well-groomed","well-informed","well-lit","well-made","well-off","well-to-do","well-worn","wet","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","wild","willing","wilted","winding","windy","winged","wiry","wise","witty","wobbly","woeful","wonderful","wooden","woozy","wordy","worldly","worn","worried","worrisome","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yawning","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty","zigzag"],c=["alligator","anteater","armadillo","auroch","axolotl","badger","bat","beaver","buffalo","camel","capybara","chameleon","cheetah","chinchilla","chipmunk","chupacabra","cormorant","coyote","crow","dingo","dinosaur","dolphin","duck","elephant","ferret","fox","frog","giraffe","gopher","grizzly","hedgehog","hippo","hyena","ibex","ifrit","iguana","jackal","kangaroo","koala","kraken","lemur","leopard","liger","llama","manatee","mink","monkey","moose","narwhal","orangutan","otter","panda","penguin","platypus","pumpkin","python","quagga","rabbit","raccoon","rhino","sheep","shrew","skunk","squirrel","tiger","turtle","walrus","wolf","wolverine","wombat"],f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAABBgn88g74Bwv6/fj0BQMPzvtkoAAAL/SURBVHja7ZrLkqwgDIYH5C6ief+XPQsRvKBIDzk9i3wrqqkivwRDEvvnhyAIgiAIgiAIgiCIPwVrgA9CAgBIMfC3M5EeApSAjBY7Q1zo3ZRQOAIMHNF2m7H6NGUQBHAHF9ZN4OI643hvAVxCAcmfZroKKFoBEIyJ8ozrK8DADdbezZieAtSdFdD6dkp1FCDgA0Q/AQo+QnUTYD8TYLsJcJ8JGLsJ2B80b+7k+Gk8HdBuAk6vd9kjkjM2HH/CEBDOO5KYGWPM374H/0nAKWCOvLuA8dYFjl1csL8SegkAZ+6iki/NjN98DQ/n4BuBaGX4XiiO0UC1CAjGeeiMey1ATRowmN8J4BMg4V8JCB7QGF4IGAARXxcgAJWlJmDAtQ+iIiAg2wf/LIBrbAGwPAoQ6PbBPglQ/ezIyThdPgQPArptQCzLrS6F4wcBnU6AnlNILxSSDwLmjuFui+q6RUCnK+BQBAwtAly3YHdTSQAAAL8X0OkEVKpZdS9AhI1pSkNh0nC0aeiGNPRzHhb6EabBBXrLnLn3aahlTsfS2kuuNAJMR3//QkBayuSuxpRL2zFmNGtyHOLQp+J7O/FHAWOLgHh+lE4J5AIAcWPCltGsjypzmuyOzzofWlq6IRBtS4mcxTsAiBsjU7uH+/S2r+uHQ8LsHvP4p1AsV/Uh135zbnCsK2meHlXz1UPbxoyldsSiWy4jsS4Vw6fMJa7LWylWD8XdWHIfLJRC4dX+43U8AIDJsWvIJziwKQ9F7vxsoUvzYzXsVqeYxoSEA4DOondDr3Zr55ibLw9x9rV3rtjRnFjtOt5t2ofDXySl6BkhuEpa7rAF1AoThZyU1ksz5LIg1GtD1Lx4fFOeIyqIl0qtOMVTML9s0Vgk++Z1k0qhvI2ipU0XHJ79l00qZUeNY7+lTRfeYFv83+vT7YGl2lPSgWEKqHbVBGe4AhhbHg6tCwhfz68E8dI8lgDGlL2kQNIifb6/PQyzcdEZ0pm5/P8FRv8UIQiCIAiCIAiCIIg/xT8d3S33YbUCQgAAAABJRU5ErkJggg==",d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAFlSURBVGje7dhBboMwEIVhjlAbsw+0HCCR2DdtOQCEd/+rdEELjvyCZ+Ruos5/gE9jYRLjqrIsy7IsRW7LA7PL9nIgDADOJUINALcSYQQAXAuEHgDQmvBHwqVLe1MJvLkVCB6HXbLCJzLNGaFGtuVQCBB0PhIGibC+M1yoRcC6Di7IRliHoIJwhHUIKkhHAK5c8GIACxdGuXDjgnwRQMsExSKAiQmNRpiZ0GsEMEEFoE2FoBOmVPA6YUmFRifMB0In21Op0G8bVrY3HwuTcGOUC6dE2Bb4NRQK0kwwwYT/JfycN/1QKrgQE9PvGbRTCHfE5OhxNyPER6rJUSInRMeRSIj/SrJCTYWgEPYhYiEaIi+MVAgKwVNhHy0vOC40CqGnglcIIxWcQmi4MMiFmgu9XPBcGIuFRir47pUJXSddRUDpm9VwAc8l8N+o+Avi9Pj2YO1ju3WIH3HYLyPeK8uyLMuynrJvpv50Hre/CZ4AAAAASUVORK5CYII=",h="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAKHSURBVGje7ZjNbqswEIVbXXXf8LMv5PIAjmBfp/K+gOf9X6UUg2OPx8Ymq0o+m0Si/Tg+M5iJX16ysrKysv6IXi8etS3zXXqPIJQdADRPEHqA5wgdPEnYAOcJ/QaAccmj/VUioQCDINS3O0shCJOgv1/jCQOQBPiKJZTgIZiIIMGwAJORySIeRTAtYAKwGEIdIkwxBBEi6HUECPietU2Qx4TB/g9M2JMIEESYMB96QMt2COyQgE3rp9S2ECB0eNldaj8gADQd2Q5+QukQRGJXVw6BaoYQoQ4SFgvdfEDAQQK3LQz71hlPmC0LvV6KQ1i20ytVCphMC/0jTkxYL0kWJvDeyBMRqv1SGSDIwqypTfinF12AX9Iqqk1409duECXm9WDcJ6jRyWGANEmHUCYSlmXgaqaaGB1CqonJ7clUE0RXJxIa98lKNMFdQqKJmXi600xMBCHNhKR2GJGEIAhFWhAfz+ZAEdZF3LvzhEK9FaPz/KY7ihObdTRBbFN0fZZQ7nP4aQ/VPh2Is4Stls1/z8bqzGoOQYR3xWNCsIg8hlAkWFB//IkIoRrOmFBRPUnWcCBz3FoGE6gg5w4NXxYBP91kgHSOW9MhAhWkLOkcVeWnIEG5Hys6R1V5vNM+SiHbvT9ZTeeoisl9hLte57x/OFpvwDxv/6/HYNxcPDmuMUj81uvM3imMkYrIcdvMSII0Wo6rj9GzCI4JwnSs1qn6htGVAGeGsSp/a9fpdPsgLcw0gV8ipHdDisBiCIKeJ1/pJ8h7tsJpwhgNoObq4ImL1k0YGwZBiLu/blyXcBRDgX7uIQJdevJMQbK40yRXVcL5Q6iVrpfzhN8uv3rPgrKysrKysrIi9AOTm3lzorBBtQAAAABJRU5ErkJggg==",p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAJsSURBVGje7dhRcqQgEAbgXKERDmBlOYCpeAC3hgOg/Pe/yj7oKFGgG82kKlv2Y2rmC9JNN+Pb2x133HHHbwh6RyBJqB4dpQQFoJMIFpiSQgPIFtEDGFKCkQoA0OUESAWfEuxlwQkF/WphEArhNUJ/WYBQMN8jTFnBCwVcEWxZEBwMVxYmWVEX9gGtKJmFeuB7jEG5JvmN6DmBe4xm/pTPdhhglCwhLSx6uSzXD6UEDZ748/xMm5wXkEe62y/FJoqQFoxcSM8s0nKhTQtUsQ0ZwUoFnxOU/CEywrPguBgpKzTiJeQEWUmMVBCUdAlZgd4l1VQU+Of4IEbgiAUoCdsJTsVfEgil0txaYElQXCJZwbKZZATFVxMjWEE5FQWuKkdWYHtEywj8wRgZQdCmWrp6NsfyGhwAhFyDjUZaficfmB650+W1QxgE5yJ7PuNr2suFzPwbflKYJ+jn+jCPeZBQpTCtozgsg6RCoPl7tAp6+UOdsK1hmtdQJbiv+/DZ75MpE0rlwAqGS+YPCNGVartT0DnBN+eE7VI2rE0nnBOmLS+VgttamkklUy50255UCiZqzH0imWIhRBOgUmiilTeJZPKCjv6vOiWoZy63IVIpUFwC5pTQR2uwx2QKBLfOqWQ5CAS7F4ZawVwWmr1AtYK+LKidMFULtBNCvdADCBpeo7M4vhIQCA7AqOA1BnMsB4lgAQSC12gtjm9XBIIBMJHzeiJ3LAeJ0ABAq73u6OsvC7Gg17tjkygHiaCefVL1iXKQCMu7r0Gn+otMcNnJLxXs8WdqpRDf0o8v/CRCvIjunLDtxAeJhDvuuOP/in/ityNMHXEf0AAAAABJRU5ErkJggg==",g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACC/cDDvEN+Az0BQn2CPr8pKUQEAAAV+SURBVHja7VrbloQoDFzuBCRS//+z++C1pxVB6bMPax5nbClzrST8888rr7zyyiuvvLIX0UOkAnTh/78GYCwA+d8BcB4Aif8OgAIQHNn4KwBmoKQCZgkqUXS7f2sAIIvwCw1IHteTP8SnYQYh7fQX63oDcEPyKEkeFgMAsKavD0idcS1eu7ieL2U3AI4VKsXOBlAK8J0AOLK4I8H0AXD3eO7kA+nW8fCkTRcAEffF9QDgMgCrRh1nn45V4QAgy15h+KVKSTU2cD+oBS5ZAEFRjWMG1x9AbosD1x1AY0SmHxQjFy/qwYfo7gBiatLBaUG6DSA3ZgL1E0JiwmMjPAKwJYEKc5ywkhoAw/n5ngIAH2WFCj646dAC4KyYy2gEzW+uMcIuIbvQAqBQSoSFj6ISwC4ZDGgCMJwD4OmzJNpUMLYBSJfuOFQBGNfnvWoCULLB8kVV2citeBsB0BUA35YLVBuAUCC1c0KqZWcrt0otABTAZQDVbDEuL6QWAIQLFci2shwBNCUiRnnGIKi+KLq5YzPVAIwR5qK/lA1FkaeQtUJwrQaCEbY8ZWjpF+QUMVmwqgVA1iSU5iwt/QLN9mJGtQYk7AAA+QxAAyfwbpoZeF7dusIJE2zYQuiBBwJxZlJ5M2kJwPip4uP+wjScn7eisTj1WAKwmEkdMYq1sKMlBp39fJdGCYCdYa5eZp5FwLAVrfnNztoSgLw43qKC72EXtxkg/qFnGbkEQC8ZM54xW2PbDOA/FaABLgGQ65OLCuxnMnD2ngFmBRgLuGIYqqWfMMftRcpEsSBEOezK0PBZlV0AcjkP8AqWLnu88x5ummfKnb7i6r/DRSKy69PLl9gDcn4ibjfG8OrrI3hSRRkArQ6zxvuwn9WqCyrmFc1jW7nRtnGzKpcBkHF2Dr5hjfg5Ms1Y3ZsHLffEOQoXZ//1whQzofTMs/+kPO4HXtyQ/wBAbR8ATyHOJo3sZdEEhDFPmtoFnBbs0SyePzr1BABjgr7wgQA/5+Dt9z7gmVg37RFygLpyQrP9JqGXxMkdvIWVl3yAtjFXLwS8JXBdQUjClsjGHsf7uFUEVcOI9mglPT4/7DLKlGAuKZneEer8XANpM2Ws5IR5HbRRDxuoP5TgGsBWxNFTVD0rNn1P/sNwa3vDzmJN05yQf3d+DQCSxwgsxVguC55jPBqrWyMM1wPQCKM6eovJusjLc8z6sHMYk195ReWA4jCle8BsQXJQdDxgjnsnOzz2AS+EAmQhQ4/zAwfda5sPCCGMP4pjp03JQ2l+4Btids3TckcHWf2iOx73txhOVwfV4/qTgVdhRLjkGokuANTJJixdDae/o6ATAFiWblBlLurcQaagWwCoXx7kWwCKoyj79zND5eKiZWdki7XtI+P6qMus6BaAsbybdXr56sxle/FNAOV5aJBCuMjE0U17/trtWcParsyKLS0vZtuyP2y5wHDRkdmkY+SrpjU8WFzGvlTkxua0AzManq1uU9ccdGd3TL3Pb15e8wOOfnirsHl7bm6PB5TstL6/d6HL8tP7A5JTQDLrFZ6248kJERUUxXsAzHp7UkUhhNNNY6LA0/FLrXCNAORndlODEEIYqnQGpaXYHb/Uq3oAUR10PMtlMsqqIJl40vj3WM/XdkaHlc2TabvdfGQxb2oAHG5kkmueWLt0VhYqp2Q1N4Kurzh/r1AuASgAQX9EvnW3AMj9O7LOlVMyVnpuztf703zzlveizGwnCseZKsOQAfghzlzXi7vipzcEN+4v+F0DGKaYUUDQDxQwDfwGC7CQaescrwFwihMbspKeKEA4AJEnUiZ1bqwFCd4IKl8TvxIGouA/+89aAGNyQtCj84WINgoRczWAV1555ZVXXvk/yr8vE3pHmVRFsAAAAABJRU5ErkJggg==",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAALDSURBVGje7ZhdlpwgEIUnyQou4gLMNAtwHBZg57CAVmr/W8mDrRSKUJjHWI8e/eRWXYqfj4877rjjjjv+s/iBOD4tEdH8tXsMKaGx9A7fXyI0xOJ5gaCJThEiQkO7GMWEYRgAwOwJMwA0w9AVCMuv+4MIohFQlojoT5awjh2A2xE6wK6jOSf8XKt3lDEDaNesnhN+vV+ZjrUYWXbnLMH3aNwIAAcRAA1Q3yVCB0B1wKY66AK6pUp5Qih6ywlTeF4i9GlPMT9ZemWqGb16SMP6OE+Y+M92aViH1mcIlr9rdpbennYZQstlMEe8AsGRL7jap1IZ8vsgmrIzy/FMJBLZEFGfJWiuOUwurswX+oNjmm2iFERjgaBZ6U2iFNYXe9Rj0TtwX78ADEs2dSfsk45GVs4XoLkUCYHoxcrZAy2fdHnC70BQCcJnmWCfmwowO7xVPKhMcPRcMwluh6Ff7FAmcAe6naEUCQl+byluEBFhm582NpQmMcGnCU5OWAdhIoKmCoKP2vXM8yqpZhhERFAkJFi2PkQEU0dYPNHyLslaRZ5g2FecoNl48oSW/YsTbC2BupigeN/PExr2KiNovoDmCeq4aXmxntkLepQLMhgh6vsFgg3jDa5uor5fILRh0xH6g4l2IgXC1l+/vrf1Yoh3IqVeTZnoRARzDvCy9UKfE0bhiuMKIsqEUxmzdNVrCiIE6+aZDPnK26YBk5yg8iIkq7/LmEFG0FkREoLKmEG4hzE5ESKCDtPSHnfGEgLYj93hgCAimFBAvd9TVp2aw3jGWsIy9jlsI+rP/m1MmOoJKpjI7kRIbzAcH4O/cgeieSanKwTFq9lduskxwVH+2l2QXq6SbOzoGgKSR94qQuqUVEdoUvdAVQS+lbhIMIfLh1qCSouoICwyPP6BoI+3epUEPI6lrCS873/EhDvuuOOOO+44ib9ci0H+lvoC1QAAAABJRU5ErkJggg==",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAJ2SURBVGje7dfNbpwwEAfwpGruHT7uJSs/AKl8Lwk8AIb/+79KDxjsscesLbU9eaRI2bX3x9hYMPPyUqNGjRo1atQojVdiMVAcwXc/boXHKgjLlC88MAqCwpQrtOBzbfTAkCc04FM9eMsTNAABoA6AyREeuBG85SWFBpfQ8BvZAf46ksLihP7cjXa6BHw8E1p4wspOwiFcm5wStC9s58J8wdwLNgUr2IOlmHAmkRC0P6s/9q2xd+DUzZ3Q2EnHT+whbN1HeLdDFlQomCMvJti1icKVAtbzJwO1J7iAJSEK7SUYdtFD0NfHISlcV8EuCOAZSoJbxHE7udC5wS0ltJ4wRULvjQ4JYQFPtAdmAPMhhKOS4E3BTkQ9DCkYeybDUUHwFwEQUY/V/k1sG45lCIJic8bjVGtspDEJo4Kg2RwT7GQ0GgsNECTqC3yJ2CShC4SRCSoYlYQe4WU8IUwQkyAs4aTRE8IUsAqCDidtTvgMx2AEIZoEDez0ixYg0rHHQgcx3jHJA7HQyhM1dnlgiIQeZTFFgioUxkhYCoU1EnShYCKhEMD+94VvpcIWCt9LBVThXwlvxcLv58L2df43z4Lw8+kqPq/31EREX+X74Iqv0RXLJcLHVdttrNjNFnbXU5zNSqOLhMHV6QPxgjlPcG2E35ToW4E/H1ybtex+o5X/hCFR6PIFIwtsGfvts3pMCOr2WW2Ffe5mv9NjQrvN77NOCeo8ykGbaqKO7ZF44/RB+ueBGKTmV3zrBd3kbWjx3Z3qdCnV/UoVSG4KRFqqQGjJToGoFesotWUD1GCUqsH8RRDpQapIxwJBxRVpjRo1atSoUaPG/4s/rlXskknqYaUAAAAASUVORK5CYII=",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACCAr78Qn89gMFCPQO/fcCsi9/cAAAMASURBVHja7ZrZcuQgDEUjVhuzmP//2TykEy8NSGA7M1XRfexSzAnmSgLz8cFisVgsFovFYrH+Q0FBQiqtpABUrcBxAGPzl6xpD98OHAYwU/7W1CRAAocBdN6kWwBI4CjAnPea6+NjgaMA0+G5Ux0ACxwFyEe9fnWL9FprraQMphX4BICZVTz8lvzyiwBB5YKSFL8EoDNRTwFkBmAABmAABvjbAEk2a1H09lkABQCyPn4yAOFRANd+JeuhM30CQPwLALcbwQLA2n4F7jhd1wHcofvT0rYWYZJ+C4/uDgCTCuMoWZB/i4ziOoCZCuPLysYsngNP+7MRgOKEB8LOrEQwAOCLb5o8A6cdYj/AXMl35e1/kdZeAQi1xW6LRxNobC+Ai1W7BdIK2GWnEYCiAeub/+p0bfv0PoCiARub/4QH9wE0M15O5xOYtVWk3QCAR7oNiVvwjaAHYMbanZMVPSW6A8DhDZclWPCUEukALhJavkCw4JGADNA2QMGKgRZOBiCegcwUC+7fGRUg0MbfrLjS4h0VwBEBvq1o4s0A4PaNTkStWLdg3D/IjbVkFrWiIKerEYAVt6Ik14wBACwhKgzg0Jv3A1QTUtrlghdAbBeiIQARqzP/QtsAbC197frSXoBqQtQA4NIBQNbz4UbQC6CbGcjYDSAFaCwGOwhgsUoo/KQBYFUzsmD9EMCKVtfW95qiGbsAEAPG5dQRKULp7gHAOwK9d7hEwr/M2AEgIrkUAQAYWuWkA5A6komeMHs7ImJHYmgVa8vaZADf2xGRGgIPdzcktnSK1JC4vSX78QAtPpBfwarPii0fFC2r1PkZ64X7A7X/0QsAmEvjx1vvD7x9l8a1wM0AInaN7+FuAFh6xq984r8EQMl22D2PawDU/U/1EO0yAHUO6vdcrgKUDfdWpuv3bC4DgJt6ivQDAGCQOpUCPAsA4BqlOsr2PatbAKByhSTnJJF7XncBAIj1bS1Eu+AX3W4DAAAx+58SOSkZKH9DBmCxWCwWi8VisVisv6VPfRMX4lwxKWMAAAAASUVORK5CYII=",w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIzSURBVGje7dhNjqMwFATgPkKXwfuBiAOw4ABE8n74qftfZRYBgoEXP2Op1dK4VpFQPtmvDCL5+srJycnJycn54WBJ3QKmgjbfJ8Fwbg3n1+e6buMFS84kWwCGJOtooSFJsgfgSJLzI1J4AZyAcvnIsdILRe22r9UNtzzVwu5LfuStaAV5K3qBfLapwnWzccLVOHaCYRsUyLmSBcu+oCJjKwtTSVWeokBHZR6SoM97K3cFskoWVsJr8xaxE4pYYW6PZ9LFEuNR6GIF9gchehucj3fWrUV4wq1F+Hf36yGgnejgyP5iDRO0R2soyckXSpIcoD1aIxzpCzZuDSMsWXlCEzeHEQXZe0JkERPgOKScqAFoOO6FMl6wvmDvCPNeaOKFkky5uwfAeEL0XXESTLJgk4UmWXDJAn/BGtLnsN4WY13pnrknAY5k/Vhfje+c6uL9omWUQkf+Of862L8bhwRH/hUETTE9QFnQFFN9FGyyUCYLRid8mCR0woc2NaOsgNJ/0nrpVAJcLwpWJ1z9UtOPMiAU3um9vBIQdue6F66EhOaw2vOQQ8J7lBCuhITtXM9HwSiFrYzx9ONMKUCo4j2ioOCEKrZBBIVOqGLbYBsSrFDFdqYQEoxQxbbBoFBIVawbDAqQqljPSlhohCrWDYaFTqhiXV5YKIUq1uWFBSNVsTQdFiBVseAKwQlVLE0rhEaoYsEVgpWqePWkEAppkIDZJvRRQCNtAnDrpe/8z25OTs5/kH9FLOvnZmeyrQAAAABJRU5ErkJggg==",k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAKLSURBVGje7dlLcpwwEAZgO+UDBAH7qFIcgGTYW/boACD6/lcJ4ikGdautXsSL6ZVrCn0l+m80Nfjl5VnP+pb1WuzVuIJZPxHBglSA/y9U2YK6L/UJY6bQwVaZQglSwa6ru2xhWn2bFFPmCm+ToBupME2j4C7e/EJRJyehrUTCj2ldI0tTF0o4D/6pFgpWOpPFb7HgS8WFu//0xhKqqGCxrUWEMnbpFjIMDKGOCNXeHzBpoYkIx8kDLi3YqxBs4bKJiBBpWRMKQ44Ap0oJ1VWozoL5iqA+p790fRb6hFAHgpozcN1ZGBNCE1zWQKxcQgjGt4R4JYTuEBpEMLRw3KxCAGhJIThpsZs4h0EJ2E2cw7gI9XGVxQTHFTpMAFKwh4ACpzAuQscRWkoATvWEoFjCSAgVSwCNCyVPcLhQ84Sgl4+CZQpOLBybeBS4ADgdF3hhzjXEBWaYc+mowAwz3MSDUHOX/903kSsMdpvtXGH0PW8lAvgz0IkEvW0iO81220S20M/HmWSq5+8TJ3my/GL7J/+EgeOYyjsnfRlEwL/qIq2MC+xNDJjA7oRDBfZM4ALXMITAm6tWLPRiYRQLIBe0WDBioRcLo1hwYgHkgkkJtztWYSujggo2Ga1muWBIPZu4UAZhEALxjnM7yBIC9QaiO1qZKayNaGmhJ4TqCCNTCH5a5wp2bzYhGEpY89T5gtrDIARNCWuePSmQwJrnIBD2ucWF1Iv7ba5xIfVaza6tzBfqda5xoU8Iam1lvrDkORJCmxKWPAnBpIRlsLVAWPJscUEnhTnPHheSwJLnKBHmPB0qcN70znn+kghznu+YMDCEEhUUZ6C2RkT7UFT3DwZQ+H89nSfqWc/6NvUPwbor78tEf3oAAAAASUVORK5CYII=",E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIiSURBVGje7ZjZbcMwEETTgkS6AAtgATbCAoSABeiY/lvJR2Tz3uWBAEHA+Taexd3hHvz4GBoaGvr7mjzN2CdWJEEDWxdhBnB0EQQAdBFug2AJzw7CDABgTZUnSFw6Wwn6RcCjjWBgtbYQhAPAsdYTJDzt9QTtE/BZSzAIda8jiAhAhCJFkEhoryHoFCFrrARBIa1HKeEnCM9liUhrGUHaTw4RRxnB5AnpUESE68epU6RDERIESN15gqEJCWOFBDDaOYLkCPEdCwiCJUShCAg3nhCGop4QGisgqAJCYKwWgm+sJoJ3xyLCsVSGIiKcU8l37EQutiKCY6yIcEhdFIp7uydDY1XfiygUtXczDkVlfUgYq7JGJUKRq5MoviCZWo1yd2f6RcVH5HpWodJ9832Ooygdqd79BQBYVllkq/QMsyz39CiTOAa545iSY5AEVZINklB0v3oJYDc13pbspsbWKnZD4bRRBNNNUN2EsnL5q4S5myC6CVcyd91MuFLxuPUSmEJDZfM9KphGwvXXG5MUgjDbLq/bbpaw845oI9xsY5NtFUY5/dk0VTkF+wQimyqtN6johmovvelV5Lt3ljD7w2t+NM0ShD+7mqrOa5O5TZkHCWcEyRJUsM+Y8gnEif7rEFLVTEFu6E6m7J/US450c6mpNSNHmN1cVk2kbip22gznxBI2krAzL1rKNaShVhSCYA0ZLS3HsuZ2nKGhoaGh/6xvk0DROAm1K88AAAAASUVORK5CYII=",S="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAL7SURBVGje7ZlbltsgDIanPe0CsJ0F0NQLYJwsIMxhAQa0/610YjtcbEDInL5Fj7l8+SV0w/n4eNvb3vaf7AdL2R9WNozQK9NE6G4AtoVwhaedJ/QK2gg3gCbCFaCJ0N+hjXADaCJcAdoIf6GR0O0B5Iwa9wRyVn//6KRCgiYSegAee/IgEi6L6jAdOJEwwvzdES71YTgQ7t8EYEO9E0lCqAGVsCcMa+zdkVpOJHRbBqlqH/YEtQqPEnuaPusJh5Jw9jVNooLwE4pmBUr4BYhJjPD7+aEiQlcQBFnF3guEAAKNJEaw2GnaAYumxqsbM4522jtRRKLbK5qIBGGgiUjNLEwETsBEPPC5eafkRJLQUWKZnv5jmTDjhI7gRmaHGevdOEd44AQkJUxrHKKkShPQChUYAavP8DzTBKwywkCcyskoEElCjxNEmTDghLlMwJslGN5K8JvFaYI7jvOEV79sIGzncabLxW2ihbAWeRPBNhOWSLQRdDMBioRn5l+nxVQplnmCr76+6EaewFP95msnyJYILFHr8vVAIJgcWYJJSHjtgp0KApElzEcJfpn0CJ0mRGNJpbbRztd4liD2EuR2o18XdDcW84T9j0l/oZbh6zxHsLsRLEM5j+ANkSOYWIKMT4B73JwjzJEEudsI9OZqiSBCCfIwyLgrvyyBBxJk0DwndlVrJDZJJkcIJMggL8QWD+MCkSMY/yUZxFS7FHEVmyNol0wyzCzu5PAyYVqPQoWpPAY7+WVxp0RImQpqpT9FiJrOki9EQh+tsmcJpokw7AjilaNzLeEStq3uSehbCMsjp+EEQfvcsG7JEBSC8bmhXW2SCNY78XAdmFEI4AjWtQvLKPng+reSLgyaRtDscIeZGakuLDvMc8FItRncr8by7E7ZPVqFe2R/yB6GGyMK2WGyodwQfvYwAsHN8Gm64btc0kbKPpm0jrLTFk6jcq8uxrJqt6+MhCATOlV9x6nyw7AThPABbvmuV6HCVP+ndrBp+X7m6cHb3rbZP1AqE63tpeG6AAAAAElFTkSuQmCC",T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAMFSURBVGje7ZhRspwgEEXfFhplAZDnAkiNC3ASFiBy97+VfKhjg6CIlUo+7I9Xb4qZY9N9+4p+fT3xxBNP/N0gIiLSFIYwdBh7AqDYemODj0WEDp5dtUcNAeOWAgCqIPjPsqwhSACfbQS4KwT10wLwPwiAu0xoAXjM8a4iCIQx/gMCRYThNkH9BwS6TugAYGgBDPIGQYn1Ty1hajFh6M8FlSUAMBaoI8gZ4Km/SZhmdY71BGf0TQIUagntnIJV+F0gyRRhHs6xUxDcri4TXKtcWyCoFKFZ5EBkz10ySaC1F98lcjggLJwqgr0y3ElCd8VgzgnTbYKvIcjA5cxtwnCbMFUQxCWzPiY4jYozDCcY6k8dIkVoWCflqbBTBGJDIU/7eUgAUX/az2PCL3HezyShC9vpbxOOC1FEGC8TZERwtwmoIgyi0KiShBaAosL5TBIEgKEp7GeW4NeGeJvop9banBE2MTQ7Yc/r7wMChZ2MT1MiaHIJIToTNqFOCnPg/exDF04TbFyH6NHLK2q+lx6lCXwwvA372a8fXnMS54R4Prf/X4C/QBi2RkxssypDkHvCtC0Zpv6pPAf/WfK84j5JeCEVav3RFDTWZM+Ty7PizqgChQtAJQgWwcE6MqrQLIDx4GnRRPVYV/mcdpj2hJ5dU+76KULL6+GSz/5pwhQSWgxEMkWwOYJfpkKtVxozBL7vfi/skNACB4RhcQLX8X5+2tphJBKHBGjLDGLdxkeTmHeBfB1Y7g3bRr/sRgAqU4fUjbvbhN0u2ppJJQTHNLIUAu/VG471wAmSKaLng5LUpMzn4AKrNrm5kIk6WD5cry2hBhhOCRi2yzrmH24xApN+mxQl0UUnEaG1Xqew4F3Q0VkGcHmC684JLTBmCZ4am/Vr5vYmQWjWL/c7wrhLIb7jCK211uuXZc6uWQrRXa8JLyfzd75PU01IkGHRuuNCvpbCcEL4pCqyt04iIvoG5he6WUIi3nqLDXmFkN7VDYLbn+XaGkCoB3vh9yp1pn3iiSeeeCIXfwB4uELis2OycQAAAABJRU5ErkJggg==",L="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAJXSURBVGje7dhRcqQgEAbg7N4AhANorQdwKx6ApDyA6H//q+yDOuBINy1WbeWBfkqlKl9+oBlgPj5q1apVq9Z/qV8qKj3Cq1xxghkBrE+ECQDgHggjAGAuFzQAIDsTjNBsAsoF+wOE56N4PpNqE9YHwuN+6LcMbbEw4eEojpUAhkJhfAlLmRAi5EJQwhgJS4kwAdIQacGcAD5EWjhH4EMkBX38a0lPJIV9GuewIu6ecPxdJKz3hBHvo+BCJIT3acyEuAhdh2Q5qfAbRKVCfHXuhpAI8Q0s7oZwCWG2317mYRSH2I/Vi6DFIfaGv64mKSAxCGC9CvQwzvvrOE6uwkQKi1AwyIfQfzhBfWdDGGDgBPUFwFsmhAU8K5zO/lQIC+AQZsGJcw1hAbRZQTMzYQEMWcEwy2EAzJrsyXPTpkOMgN+F9q6whZiAxeaEhuuJBsAuOFLoqbZq92neBfLkNfwmjyJRQmZ/vTawF53+iWG8xjhTQkMDmOOIAyVYYKEEH++alhJ6YOY+7Wz4mb7DOG4ibJhWch5WuiOGIKz0TUwzPTUHYWZvxRPTUzYMSPBCSS1G9HoRvFAYwYteKEmhD831THCiN06ypaJNViaYaKNzQk+Oogm7tFDoo0/d/Ns/IZiwErxAtZSf4mtRibCGdsoIGmwNecGwwCJ48ypJBF7oBRF4YRJE4IVGEIEXlCBCRujZw1MikFcAJxVUdgxZIb0an0ouGOrgFAq668YcwArpefROLvT5IRQIn+qZ4Ft1S3hfyr+t/BuM61J2XSt8NdeqVatWrR9c/wCVkDxzGnSY8AAAAABJRU5ErkJggg==",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAL9AgBGoc7kAAAKESURBVGje7djbsaQgEAbgs1WbAF4CsGYIgKkxAFwIQPTPP5V9GHG8AN3C027Zb2c89RVC0y38/Nxxxx13/CPxS6wh0Yl4MIQKcGVCD0AVCRaALh5DkfAuHYMFyoQeAJKLQQgVluhyBekFlynUADmItNB/hSlLqAHguRBZQg/AifYjqBxBAphEg2RKpIQKW2HMED5LqfpsocIuMgR5FswafxhCjaPw3v45K1Loj8Jw+EFTwuH/4Y4/LBkSFX6DDEcKA0VMhDALchSKGMMLwFxRg6BmcmyoQcQFexJmY4yxxzSLC5/h6/a0fM2wW45EVr8AuG2ZglvysLYblOwXu0HPaxv6lk9KqAIZIITwRQMTKRyX4uGJl58I8i1keD/5dghFCn14P629RJPCKSf9gix2Rwr1KQ/n3ZOR/n6QUcIyhf68G5YFaQFgpoXQ5uy+r8EQglVCr084gg0VOOWfOIbQRmtkCwAMQQZry8wXYmXusWyanHxYF4QnJCqt5gky0XHeLAHAJFPlmiOovkiQmERVJDRPFdjhm8lgZFQksX1m8YS2WKiLhURWjEyhKhYSu4MrRAehuUJ0EIItNMWCb7WnUsUXwsR0RRCNDBWqK4IQ7+XL3m4axzXBJ/l3MCJPsNuanxZqA2dMYkpHQlhzwJjNWXHY98+UsN/TT6PPC8I66+3yZzi3voRQkYcDdGnB0oK6dNaL9G/y2558iQunxdDOTguSBKaL583wPBadN50oFbpSwYlSoSsVZlEqqFLhwbgDYU1jdk46xRFS+0Kz7oIqHpBVHzT3PsrScyBy6qS5fi+3S0Rz7WZvPxO7rsO9n/Q9K9D52De9Bm5ziXdNuOOOO/6j+AsX0lTQhRg5hgAAAABJRU5ErkJggg==",D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIhSURBVGje7dhRkqMgEAbguUKDOYDOeABTwwGsXQ8g+N//KvsQBTRoNzK1tbXF/5aU+WxoICYfHzU1NTU1NdlRLTFR7bXQIyZUZwDX7d6C5QQXLu6xxgbD8AKW9dpfiPK9vjlBIGAgIqIeu1giItIQCRh3gGs80UAouN0QLPmBGKmAReFdQDtBLMCkBIcMASkBmcJiSoX2AcBpwCkAy3RTsM36atB3Bd8HlSUsOi38FguzSgpOvqJmBcCao2BfS10s7Ds5P0oFZ0qF14s7gioV0BcL+FEBhFIhc1UXCbsj6p6A/0V4Hr+zPjMFR4eOtmTyBEuHEzp8D/61Gvw82P7mPPjMj9Jujk2h4IhMmbAQTWVC+3ryKRCIjguDE6bE89dBna+FQ++G7QHutvDsuq77zBI0v7uZ52pVLDS8QNcClQvsMWc5YeKEhRPYZgycwDZj5ATar6YtfbRTOGGKt0RIH7Y7J+hrYeCFJgyY1GsIbbTFR16I7zb5cuLKWEGHI7L3H4tYXoiGsR2yu6Hxgu/G4gdPj9AJibDd0Pk7tyYcvBLBF/HchC5MjUzwRbzvCaFwtkHXH/USoTnb2GLhpIgxQ9AXJcgEMsmzJUfQp/MoFRJFDJmCPptHsfBWxEK5gj4rQSwcigh/MskFnZ7HDGFXRFRChqCT85gjxEWM94QpWUKO0CRLyBH8THzTXWH9c+1J9wVSPewX5Qg1NTU1Nf9g/gCB2vn74kClTQAAAABJRU5ErkJggg==",I="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAJ/SURBVGje7ZjdsaMwDIVvC8ZQgJOlAJi4ACbrAiCc/lvZh+SCY0tCxo+L3pLJfJH1cyT75+eyyy677P8wI9ttiD+dIDR4VRMw1RFMAIY6QgusdQQTgKcxPfA8S2gBuAAAy0mCCfi16SSh3QgrQ7hRdk+deFoAjiTsf/Flr8SJwfTATBJ6mhAXUgBgTA+8SAIDiKugBTAZAEsRIXFi7VlC4AhRJLrPVzTBK45hRYJhnYg66vM3dC6M5RAuc4IhmOY4lB8nJq6qmaKaM4Jj++JBEpYvqQIAobPowtwA4y9S6M3AJcPe4mMJBDIhLjnfIOpDQ4ayT+IiKgyRkNcjza6sUXlC1qzKD1Suh2hOodVBAjw188KGA8CxVjcs4K6dWWSHrDdXMPUeYnuoJk4vCY1uZgVeLpWEhlcq7eSt9iE7RnEcslguxYQuqwdXSGi5klYTLCW6Q9EmVtNZkk5MBQTPD2IloeOHoJLAqMSizwWnl+rOCoLUagijKNYKgqT4s0ZpRb1XEEZ55My1M+uQIJ9AQRiBOsKf9Od/ywjEwHT5qSSCJ0u4L/GB7uWxIA6eXuy/TycSLLPPNvpceGbW6QmWWWe9vqI8fTtp9QRLTzpb0BceAO7ZxaDXEyywujZbGrqC7vbrsEVjoGbgIcHuPq/kOqFROUOsDL5MJ4kbVlNE6IhbnikieGJ12o9RQqB3Gg3B5oGM8qnKhc8CGZWlimDzQO7xVRHeTjh6NdMRbBbIvSx1BOPTQEavDzqCTXbxqCyVBOPTQG5lqSXYNJBxknWbmOee5uazb4NbPmsI77KsInTVBFtNMKGa4KsJjeYNRLa39tUQHvzt4LLLLrvs2/4BYcIX9FEtOToAAAAASUVORK5CYII=",B="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBCAYAAADnoNlQAAADfklEQVR42u3dUXKdMAyFYZbmpXlnWpqbTEmGNLeJAdtIR79nzuSpdwh8tWwBN1trbSO5w0kgICAgICAgICAgICAgICAgICAgICAgIEMQvI+3n+Uttf0ddWMsG15mgtJeDC5PLgS1vR7MCCBoBgQQHEfhcgkj2A/EOiAYGIQRHHYIYMiM4AChd4BBEcGJ0vDfXcSh5/AZLnUwBBchtM5/A4goCPaDmzkoI0EQlMkQDALOEewHWIGQHMGN9cG3zuMPn1NA4G+L+HGxPlf2NyBYDygQ+EIwevqvnQvOCgJdBNb7+SCI2TE8NRt0Akt359Jrx3D21vDsgrKAIE7HcPaQBOG9WeQRghyICM0itxCYCdY2izwOA8FaBMUhggKChQgcQpBaHIZBsOhmUspb0NEQrJgNyoubTdINJGYCbi2HQ8CUn3xhuHQ9AAKfCOgDJO8TVHYCIPj2HsE/McpCkoXhQ+XCQAAC+bIggWBFEwkE/hHQRLr+n6eAIFlZeHGuKgiSlIUfzhEIMpSFX7bQIFAvCx09FBAol4XOJhoIVMvCiS4qCBTLwsm+CQgUIVx4fwIESmXhws00EAwaNWAZkEPAY+jb5be1QKBUFq7OYiAQKQs3SiIIVMrCHbggECgLN5+nAIFCWbi5OwKBQlm4CxYEAmUBBH4RLCkLAxplIIheFkAQA4E5LgUaCJrPr7JZVhZAsLn59pJHysKg3z0lAlMpCyC4fiKqSlkAwT0EEk8ijYKZDoGDxaSBwAECB9vKCoLnEFRHu4riZGucF4GD2cCcbI3TISgDnslzURZAcPFkOG00FRCsQ2BO7zsYCO4juDX1Nh9/VKOC4FkEXu49lAe2h7kQqL23AAJNBKdmAxCcPxk1yK1oA8EzCFwNEMxDUAI9lVRBMAFBsKeSQDABgUV7NA0E4xGEWQ+AAAQgmHVPPeL7CiAY3D9XQzBhHSOPoKogmLidTY/AvCPYL/7M49RGEPTtJVt8fAUEDptFbfHfb1BGYItX2SGHOoLe9qslNlDVEZRRvQbhUaQRnPycjLPBcQEKgqSzQQmHYMF+OeUsEAZB8ro9FUAkBMwAkwBEQsCYBAAEAABBhovf0y+JgqByPcdf/IhbRBaHHW3gduFV91DNon2rWMnXDPjuo+cREJ1wEggICAgICAgICAgICAgICAgICAgICAgICAgIyNf8Af2TGzAC1d25AAAAAElFTkSuQmCC",N="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADCAn7+PcBDf72BAIM+vUAXZf8wAAAJ/SURBVHja7ZpZdusgDECLQTaDwbD/zfYjTZvEwlgM9jvn6a7gBoQm5+uLYRiGYRiGYf4tRIZJKgCYl0l0gCygpUlPjNSXC8j0hnXXCqwmfaL0dQIeEkLQFwlomXDgGgFnUw55gcAK6QA/WkCr3bG/RaMaLLB8nr6dhFCdjqAsgDy9WQihO0VBScBvyJ3vBKweJJB5ersraIiCQ4HJ5OIeTK+HcChg02nUCAGdCKxDrkC+ciwA44tR4Qjc3QJG3yxQmY06CtQ9RYJA8VHCYAEoHsFyt0BNSSAIzOVstA0VkCfyYRwpEE8I0C+BILCeKQkwUOBcbVrGCZysztM4Adg1Rvt2mTwpUQRm5LSbexOKgEOqD7QWZorAhPzUuTUMSOP5RxSaXHKgZAOSwIbUX/RphEECCxKFqrFJJgl8BoERQvjG9oi2orFIL67aelSagEIyv7dNBjSBiI0jS8oOkP3XdBYLd2gxIAooLNh0aDAgCkQ067UYUDelBs16WYO1u4DEy69WtRMjVcDnGoBo6jok8rYca0EeVy1xhcIymSyApV77043HDUtKwXcVwFPv9vyZk5MKfjFvfp0E8Opj8W8XPwV81h0FchOSlchRP2cJs3YU0NnlXZBrtoXJxWLNR6vDESnA9rfXCuVLqhE4MyejW6RFdxIQoc4g2dn3EciHQXl6dbqDgJhsqifM0bcKtBk8ghVAuXoBMYXUAVUvIPTWw8DVCyDfkiqQLQL5NoRwB00CQnhlb7yCxyk4Ze4JwtdzWF++azx0QJ6h5RlmgZHDKQuwAAuwAAuwwAHSXrEpzROvWdXm2f57gVj7l5J+QVj5R0v+6y7DMAzDMAzDvPENFbLLU98o0AIAAAAASUVORK5CYII=",O="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIOSURBVGje7dhLTsMwFAVQlsCLwwIS6BxXzbyh8pzYvvvfCgM3HycO8jUz5DdqkTi69ffJLy+1av3/kqaXk+q71xxBAS4NDMBnjvAG+LRggHumAJ0CFIDvHOECYEwJLSO4k2HIF/zJMOQLqYFQoITuKDScMB2FN06wR+HCCTgKIIUuOQyMMCWHgRFcchgYwafWEyU819S179/X9cQJo4j6CB+/dNhWpODkiqXeZeAFf8OmHoYX0lWFKlThT4Jr4n/tBlbQEmWxz0OKui92QsF9EQmez2Cv8Tg8LnVFVeEPwg2Ibr3JYOL6SQOYpTluAAvYkl/h1na4dBy27UuZ0G3aF/qMMktHF9qXlu7E1n4s/KF0d+u5mS1eUePczBYIXkyYz2H5Qgo2LIMwl7akl7Ohkw7D4OZzlxPaMBkGwFQiQNQ6DlpK5qKTG7wWUQaPZUIoIWwrpaPNxa0HLSIyuGhrcIIPR8MomzuUXJO+/wCAr97U074K5UL7m3DPEbYXzL78a5bwS4gxTzgP4SVTOA0x5gqnIXS2cBLCSbagziJkC9ueI+5HsgV1EiFfSIVwQgkqHYEQjiHC9UEIKhmBEfYhno0hI6hUBEqIQ8yPbJQQhehKhG2I5ZWOE5qopSsR1k2+PhSSQnuIwApziM1bJSu0+wi0EEJsn0tpod1F4AUxuxdbXlAXq2mhVq1atUL9AI8l9lXf4BgxAAAAAElFTkSuQmCC",R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACABAMAAAAxEHz4AAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJ4SURBVGje7dhBcqQwDAXQHGGMYR8q4QDE+ABMFfsJtu5/lVlAjDES6NObLNAq1VW8tmTJpvP29sQTT/yeMFlUzjmjjD8MYCciiu1toJqIiCjcBpbnicabgF+fVy7hAHxSivYOUG/P63IogGpZ/EBERDMOrBvQL4WMOLAWsF//aFHgp4DrClRFyAGbNnDQb2QGVHQIDJiOQI8A3fF5zUYmgElAtZEJ4Bag2cgEeBb4RoC+CqZr7Q4ICPBdk5nGBswhA2JHjkKRyvhiEa9zSEDNA6QGDL8NlzlkreyWGLBmPB6qFsvhCFRYDsy9gA0UA3goBwUwokAD5cAANdRLDGChXuLeD6B50ACnM80BHslBBUQM+ITO1uthumiFA2DB+6EELHqssG8oyNFYAI0AyGVkgNB3wBVVADXFL3YdUVvED6mSI9CJbCkDAhigjDww6buRB7x+CTzAtsP8KhABwOoHggf4kYh6wOhnUgAm9RIEQP+2IQDCWEc1IL0xjVpAONmY37MCIB1tx3YUAEPas00CvHYJEtCJSxh1gHg8l3WUgFoEiiQkwMrAPgkJMCfALgkRmE6EoAH8CZCXQQSaM4D+vgpsgghY0gkicBynMHGVFIG0jzE9UZixPwd+tmH06SvLtILTAKmrw/pPsn28XwFzSiYYY4wrgX9XNWjTaK9VcxMEzNuObg2c/TaM7xfbOG5zEYDLNX1tzLoSBOps9Ks7wPKt+Y6AQJePbX0D8LtL4CYw79YDAvtbyN4C4v6IxABbHN8NBFjnhnwBlXMDAtTl/YG28jp95fGoB3xx9sNAU7xJVChQOefcV/bBhys/YYAnnnjiid8R/wF1Z1N9IIj7LQAAAABJRU5ErkJggg==",P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAI6SURBVGje7dhBdoQgDADQtq8HqBr3HaYcYOaVfbWPA6iT+1+lCx0RRUjI646sOn3tHwxBAi8vJUqUKFEiGa9VNGp1HZU6/v6DKIDGOb4yhRrXGLOEDYB4IwmgDI5KqW7+tAVwoAi9+/v7pao0W/j1/mO6eh8pT+ED+yBkEqLA1KUFExVu6Xpo4kMg1KTmDeEoAHMIRyH+EANBsFHhQhDiaagIgkHE8XRGKcKc8JY8FVxhIgqP87p80ASMFHZHEzgVwRYmYT0EpoMvTGJhn8ut0CullEkKj1PhHWkxnQpvRGG3QHOEQfoUu8fYZvKXSnSUnReU0rSiiu7dljKfUQEoiYj3D5aQiLgwD2I0sUQkehg7z38fSURCgKWCanPaAaT6KLvUIOizt35KgLWK9cnSSPZydl0HOpzKpADuC3VwcaX7yX7thMGEUvlB7qu9xjRX2HR5uYLbDbtcAY7TyRTWtXbLFuAwnVzhOQiBAPvpZAvLICRCs3vR8YWlJiSCFQuNX5QZQuUXZY6gxUIrFmqxAF5Z5wiVEQtaLFix0IqFRizUiDh2AqGfLwPuuYLbuUbRW84RbMHsu6Hc/cI1dbl7lhsEU7DHK5Xcndft4TyhDpw1eEIbOGvwBB24W+IJJtCk84TQjURuJ+bafJbgbnmGNSMXluCmoluxgSVolz8QCjf388gStqekJkdYR/69rQ2OUHtHvaf3wxBa/45zAT85YzC4fc1XcEXE+w9vdT/vn8PnrBIlSpT4l/gDmbgOZCJFnFYAAAAASUVORK5CYII=",H="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAGuSURBVGje7dhtbgIhEAZgjyC7eABi+V9i9wCbhgO4C/e/Stda3S/mAyY2bcL73yfDDBjHw6Gmpqam5p9EzTn7GGNwisoREt7iPa5UeAA0AQjNE4jBFAl2FuJQIixKmGIKBLsSrgXCCoghX9BrAT9GUrAboc8W/EYYsoUNgDciJbRbIWYI3fypseO1EhTC8lq5EmHqXlci2OVFtCXCaW5DYQ2LMZi2qA+7q5AvWLGgxUK6iCxBfYiFxMtChNYIhSYGoTB17V0k3B6fTLBiIUoFLRa8VLi/AIngpcLPIxQIXio8vgfKBZ8lYKkCInS/KxxfI1ixcMoAxhcJbYYwiIUr53c1mj4teL7g0kLGhQC2A/4wAiBo/ihYWxI6CmhTY7fScXY9vJGQwG3EyNlYiTaAWzOzEQYWeI0IChZ4j2tABN4xDCZY5iFggTONHhU479Pggmb1ERPoXhpK0KwSMIEqwtCC5pSACvg4DEdoqLtACsg5RsUTwLu9+JuLEKB5OMUWGk8ApJAknMoR9jPd/GfJENR5BXxydt7dSS7z550qEW51XL5D7901NTU1NX84X2MIkYtmHKAWAAAAAElFTkSuQmCC",F="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADBAIIC/73CP369gz1CfEGiXxkoAAAMWSURBVHja7ZrZkuMgDEVbYMAsNuj/f3Ye3HHhhdWme2pG9zVFdCKEkES+vkgkEolEIpFIJBKJRCIdBWcxPkGvEmurAZiQChERlZxbKZiWiIiIxl7WVgK4BWNJ3mDemcNay9sB+NE8IqJklea5ua6dGgEE3slV2dd3S9XaBODxXj6yM3EhhJRaiDV2TVgSa+cGgJT9nSA4qw6/b4+0pH1EUQ2Qtr/9jtXefSIdAIDNrHWVACvmxJ1JfWQczLmlilUBBIXdMvmPZRWAxnFyFQBhoH00FQDzSABkZYBlKIAuAgzdAcSlCMDHAmARQAwG4ATw1wPI3wbwFAP/OkAxEc2/DVBMxerRx7IIwAqXSQCmskVXyF6nvnwd5wFCvmZ0APmKZn5YDxgAAJ6PcTCFQ1AA0MWKJnNQBACwUgwWAFw+xlaePSeCr7kwtBUA08hDWFMVDy0KQw3AwFRkqxqTgXuw1vWGdmxbUgbgY0Owoj2XYx1QBmDjSoHKCcmQBlm3zIgG5IIltABM6m37KrSN6djLBIq1DiqZKTt16fF/9ag22PJv4pV+0qFrWL2aYlapqqEvU+b6cb2ThYutImn63TwXm1zLe8HktFTp2iYPYKRYI+d/3CXbHixShiaA7M05X77kCcDNDbl5Nj8MOso/AbiOTzcAVXPu4ZhedQ/AdRO22bcs3LxxOO2b0wVwqdR87tryd884u+/6AM5D/G2T11ztd78DCjoBzgQBUn3YMfGe99B2A5wIXOJ43Po/ihbXD3DsmnxiD0R+qQoPAA535PcNb9KvY/ERUFFh9AAAgj7vwbGX9OF+2RJn0CcAAJM8JTtTfl2N7At4CgDA/SEZ8lL4xfZVeAEAIDgbvUHZxAvtDqxOzdlzgO1299+PySGOTHEOgslfTs47APHZiK8kJWIvMH+ToV4HOCeDRTvOOeezN7cZ8n2AwlznY3+CYQCwqobSfARAuY+wTa1Zh/J9hJq7yvI28bQT7AQ/AHD578punvc2Jh1e8OdoNHrq/h9RJ4OQH0dIP7PWPzKRSCQSiUQikUik/09/AHC6S49BDWCyAAAAAElFTkSuQmCC",q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAGiSURBVGje7ddBboMwEAXQHKEYsy9K2RcRHwAhDgD43/8qXdAmGFyw51eFhWcZlCczMx7j2y1FihTHkW3i3g/uD2+RQg6QgmEFBVbQtFDIBQNbz2kQChoAupIQDAAAjVzo8QqZgAsIhhYKWtAAgFbJBQUAmGsi7EleMOxbLFMpFDQtKFpY7AypYGihoIWcFhQtvFJ5ooAk/E01+Y7S5+8LRe/u/vQzy7DnZgVS0GCFihbMBYQKgGUzaXOumveuzOlTjxeKJCTBL4y0MNECriDUtNDKv+295QwUlrfFVTHCBHfeCwTlDmvEC8VKKKOF1YHhljNIWAFuMf5HyNfCRAuWFhArqI1Qs5mMF/q9Yog6yhmVQUK1V07RvnCKIRTqSGHbEAMtTOSEcRIRNuW2QksLI3M7WE06sTAw096dEWHCtqVeuZQLNlD4wK8xBgkKO1GHCIX/v/PIsWWAYPzr/7672fJY8C+hfZa3kQl22WOdRGidm/x7fB7mRlA/jz73BU87P/fUI2gNem8yqMYc52F72LgfkwFdrRo3sixSSJEixRXiC/2eeWomnVpsAAAAAElFTkSuQmCC",V="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAABBAYO9QMN8ggHCfv8+vj4uptuEAAAN4SURBVHja7dvNmqsgDAbgAQwIgpr7v9mzsK12RuBDm3oWZuWiffI2QkL/fn7uuOOOO+74z0JVQxv9ut5cNsQ5QEdMdrl0xNx9G6CJmfvlumdm9l8GBGZmXmrBzMzmuwBNK6C/ArAUgNcCfBnwKACvBSgB3BDTnzCnAI8C8FqALECHh/BXkD4BeBaA1wJkADoQZ8KcADwLwGsB9gGu52z444BXAXgtwC6gy6en7sQaeBWANylMS/7ozuyCtQC8FmAHYHPpR39uG64F4I7zAJ9bfhHrA3oIwVcKwH0BkHKvH2tEemRmcuUCvO8q8AZ4DDAwM/NULkAJkNuAM9iKl9dJf1tozxDA1AuAVKAUVATE6gqorQHaSbJN75QeC4C+tgWqu8DHNBmXFXRKKZ0H6NzzQuM4zgqMUkpRFpBdArb1PJATBKWUy720wiY0zQeSXEMPxtKfm1JrFkcApZHGWUFAHoTOAljgAEA4AIAFm86dBcyHDqWxWZAFpGOn4ri7mHb6nK4B6BjAgYCXIPDZWfCen1DAs9fnAfYAYO9skwM8mn0eENoB70NnraQrjJs8IDUDdvP3hX4figBqBqRckrnQ7fIA9Ei2dqH1MPSrzL9WRr8+0JcA9vi741eqYe82J2gYbVfhIYDJtwYQMH0GsNMaLAboPwHQoTJnCgDWJwHa2JkKTbAKMKcXIdDmS4AgBugwwCQGiBhgFAMQBmAxADsMYMQAAwYYxAATBohiAMYASQ5gIADLAWYM4MQAIwboxACsIUCQA3QQIMkBIgQgOUAPAR53SgLwHMkB2a4igAECBDnABAGiHIAgwCgHeNzegAwNGUCAAE4OMEKATg6w7PGA1KkVYDGARQCpGeAjYfmXkVwDUCsgoOkf3TggNwoH6IkbwiMA0wLY/ZCmvMKrgKEFEJvy84QAYgPAtuVnQgCp4VMyagSwAwCsPv99wbbL1AEeBozNgIQALArw3B4IIKAAcwBgAcCEAsIBwAw8a5QEjMizUEA8AGAPABwISEcAHQCwkoAIAIIkgADAJAlgYH73ogBkfogCkDA34AZcDfAXA+jqbZiuBgxXA/zFgKQuBpiLAfV3Rn5evgknkfzkawBHLBn1z4gm+fxlwBfyXwZ4/jWlDBjF8k8e+ubUCqWPmx8Ulreh7T+efIzd2/+Rfu6444477rhjG/8AXKbkRmjdYtMAAAAASUVORK5CYII=",X="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADCPv9+vYBCA73BQz59AIO0gd0oAAAL1SURBVHja7ZnbeqwgDIXLSQERyPu/7L6YsbUtJFGh377Ius0M+cWAYfHxIRKJRCKRSCQSiUQikej/kqKkjQUAALes/kckvCJx2Tw+xgOAtMOXYj4lKvYUgVynAPhvSQAgrkdk+RnZJgDoCL+UXxHXiPjRAK38L4J2ZB8MUJtZAIzyrh3JYwEsdFSWXiSNBFh7WSD2I34QQAq2nwXTUgYApAUeKObyCMAHB0/l1vsAW4QRcukegN57A4bcjZgms603ALbeA1mlVGnn90rpdi2kqwA+A7q8m7OzIRtGuAbgdxgMcNoYGQBYfth9b19yXqnU/V/mA6D5AZzp7Q3RZOR/mQ2QYY42JsAGs1RYAHpafnCeA7DPAwDDAFhhpjQN4KYCWBJg7gQAFAqAmICdrhCLDpEJgIJ/2r1SKlmsCdJKqRqQ77jHAbA9aDl6vND9ydF81B3ZjVAABP3U6Gciv1I+9ssQA9DECjqGd90Sp9toFGBjTYBShj4IdKegYABICxzOo5dOfZ3UHSpgAPYRwLfWs1upGQOAcQDdGbA3ARZFdqzfasCNBoBKjs5bBXAXwNLvN1EL9RHAV1fZfbpYOF3tbQDYE7HE33uhX7EzXbwPcJxw+t+CWNEFQBcheRp9FcKOrtUK9wEs+bVPfcPqWKqEo2AwAMNsbDvGmO9vUqcywQAYDZnpmnavfsFTTaXGACqjq1vbtumxV1NvMeINCacnfi/2srfsYfJYl3EAwwD4dBsO6/xkkGdGFaMAnHfwecqk7ezWGyDacssiWJoeZGG8wEABFBYAxPALobIcxUoezXhTABCNvmFoGvpsyJwCAACXt1JKKSksTEcxesbx3MA8bRx/wM87H1ueRTPNInn797RJNeuIrtk+4RybbL3glOaJ+XlesZmXn+mWD66DqC/b9XqkXWf9jQsLH4Y9/nbzyqaOqUXj79+aPUeIoT67tvPrg3u7mNOQm9OyGXvx7tJZG1Z9/eZUJBKJRCKRSCQSiUQi0d/rH8TPTqVq8oN/AAAAAElFTkSuQmCC",G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAL9SURBVGje7ZjZceMwDIazs9kCoKMA2lEB9EQFyDMsgDLRfyv7IFMnAILkWyZ4zPGJBH7i+vj4tZ9mfwAAAG53yDCC0CHaOsKIaOoIA6IH6OaqM0wAA1b54QWAFQR4YICmigAObV9HGNEPdYQOZ6wjtIhVhMcNawiPL4xWRGgdbmZKCBEQbIM4FRD+xs+/ABy+CgifkeABBgwFhH87gtNmCZoQoFW7kibg7JaTFPvhjamIRY6mjnoYjwSTT4DhQJgKCIv1m7CK80MMaimhidewpYQ2x5UkAXbqLiS4DE3RhCFDUzRhzHAETegzNEUTOtRriiY0qNcUTVgFodAUTYCM58kQnF5TDGHQ5ymGMOrzFEPo9Y5gCJ0+TzGEVRBpTTGETRChkLAJIqkpjuDUruQIW9r3hYRRXfs4Qq+ufRyhU9c+jtCoax9H2ASR0hRHAHUfwRL2nWUwJYRjH3AvIJyakWc+oT91ROGeS+jwbLPNIzR4tWcWoSUIZFBYAiBp6zFuNklwNOJ9jG599TxhQBSO4RSEkSNgMNChgtAvw84Xxbg7NcGu/ojP63HOfjIhrOIMF6npPDmv0pouQdIRfCSEq969Sg9z/Ad/VetLpckQo2quWgs6VU/vL1pCa8q3eXPXmtEfqoDydVOEKSvDAKF3n5XlKD/MWZmWiEUMhjLbeyp7ZREC5SGjrnr0u4g/0xK2Q3yfrqao3cdq8X2uyIr+gbd6glX2UbwZDeF5o2zvylQ3SFfbYZdkUh0pXfH7XTASBKaFanb8RGfumbZjd8cEgWvB3PbrxHxhGcIuycgzDjuedFswZALbzrbbF+RZz7M9oFuDIRMMSxjXP5BnXhawy/giQWjJm/Wa4uTOuyEKZk5sDyaBMMRgiAQLSUfIWxRx3G1iMCSCPNvEi0q7IC8SorOlfZQRCeP7nBJBBMTHJe3lEnuD9+OyAiG1u1gcYYTt4pQgLI7wwobTJAiLs14CIQGIouE3veld1uJKnuCThIEngFPt9LrrLX7tZ9h/7BkrxdEaHVQAAAAASUVORK5CYII=",J="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAI7SURBVGje7ZhtkoMgDIb3CqIeANQD0CkHwI4HUOH+V1lFqwRUPuxsZ3Z4/zUDTwkJCfjzk5SUlJT0J8qgKvnILNPADdMFoZFSCmjqJtPgTcjlLPCPhTJRX0KnhguH6YrA1PDR9GuSL0Fqw1timdwEtA1vl9WQjYADCevSJ4dwHIFJS4EEmQiJ8M8IotCn0jycgPejqU76Nwj3vfhILJ6bhUUSzGIfTuBmsQ8mULP+BxOEZQkljOY2hEcTgzYYQ+j1xh1AyLcJg2nwJJR7DnIQyxgCBbGMIQjjnIQTRhDLGIKawm4Rej2WUYTBXlIgYYpnc5NAM3mT0H+ZQLuFMBZhBLKf5YIpAt1TYqidBAJ2Ec2EJ0iJsb4kIHCHHHlW4AyDvJ7Xwc8JldFgrPqwqj4jNFaPesISBe02wQYsiyjlCcIkHACW060RHgBhEN7ODrgEXR+g8fvBoFIDEoo9Vo76QLblQUJ37DcGZXLJyYKt2QIJ2hbrBAFjibVGPEBCrt0XSniW2MHJUggOCPqDtHTfYZQjFBAa7brgQVCu9YCg93ofwuzbYBJoEKH7PIFFeCE+vJOldunxiab6AQhIKyhuwpLXRlazvX45CUstFAYhX5/oHoT23Q+N+rCm/4M7CKjZzpxB2G4qpLsgoGqv41aVe0m3GPDHqrQ+CLAhdrV/hQGOOg7ymz/y865XVB6Ax3XnRY1rPnd2f3S1DsL9vuy15NB9gr2/DaqLBNHXQkhtD0kfZZOSkpKSkkL1C2qDVr4Dgnq4AAAAAElFTkSuQmCC",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAALySURBVGje7ZhblpwgEIYnOckCSukF6MQFdJ9xAaTjAgT//W8lDyCtUsVlPP1mvXnUj5+iLsDHx2WXXXbZu+0HERF9ArAdyaYGAEYTERFHGAAAkBFqBABYLRCe8KYlwug/sDxBrQAs6x/9AMD262MbvrizhCm89yKadUj82UtwIiKCAgDT90HE80WECRIe/acXERFa/6caARwADjF4LzfuOSIM3kHUAug2c3b2RRQ8NAFgCN4/brqzwtG6JjhIAegiQuO0exFmiAj29lqkCZg5wvo+Hh8AMAaR1AJLRLgB8zFw4pn4DxrAcIQQzYNECMGZI0ynCbfTBNEPupDQSoBXygmEOSchiFAcoQ0jyBK2nyxcRNmshFUEG5MhL1ISvAg+L0JuJiU4EUJu3lwKpyUAi1wfFAA8uowE4F8v1Sg5loXoTNXqvH3x/aJchM30rDxA6lmlCCv3TRrLNMiEtnAWi0gYSz0p+aHdDMKsiz60ZoYwblpzw63gsCt3MaHZVfWIYLb1M9v9sxrY7k+78Rg/dGrvS7b7l9vMEKpSE5YhjFUE6Iig6gC4c9W+yuJqP1US4o4zVBIQEWoB0AfCr2pCdyD8rCbMJQQTdk0FhN+JPQu/pVmKCPdE/TVFhCWxvSwj2ET9LSOEXv99wixX8DzhMbr1bMJDLcEtol9LZkWzBOs82NEAwHyHACf/DEHTaxYzsyBLNi/uNAGLCyjNLEg+sxaiviciavqOi8s5Xx80EZFapBNHl69Ri/tVC6mhC+rkg+gTsN3m+Jyqk+drdW2/mN/Qs873zcreze3tm9P7h7pp6LOnA3P6dHB/1+lAVUlg99VTjQSWoGok8OeLsuTwR2eWUHTI8YdrgVCAsDpNyCICQCQcbtOEbU2SQH8zJ9U8IZGlW0CKICJ2gCSBL87H+9skYb3STQEyBAYR3SBnCMfAsPH9cZawQzCAAsIGYbgb7AJCCE/DXn+XEDyCB5QR6Ola+AkCNYdAlAmXXXbZZUf7DxU3x/QTm2QRAAAAAElFTkSuQmCC",re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADAgEFDv37+Pn2DPQIBwryT1ARkAAAMMSURBVHja7ZrLYoMgFEQbQMJD0Pn/n+1Co4BUES/NhlmVhjAnvLxc+fnp6urq6urq6urq6lr1uieWlLmIy4Kff/4QYJB4hy0yBQxhBQ2Y0F4BlhDAApEBkwDewc8fAcDFn0s6AAtEhkICAPZRMQAAH/MEQA8BGBZt/1ja3w2mpaw+5XkpT0QATCYAGrGBQwzg17KnARAff0QDshtsFVaAAaQA63juAFuHfAy2CgsAl6QAgf8CIN6IDQwigOALJAB78yvAjNjAIgYwIAUI/RFOsI/BPiALwARSgLA5IJxgq0EwIIDaVywRgEUCwGVioBABCEkK4JAAhDMSgI8GBFCv9PNnAEymACYu+yEuKw1KgIM/pqQ8JzXSLzwDSLq7Ro8ACPyfAcz4LoDBdwE8vgtg8V0AIv9qgOMGUKk3qwIg8wckqwCInm+EBKUAFBtQlqAUgNY/ICgEMKDWKO4A0PtvJ7oiAIsWGooB2vhDikIAhkbSZQCEG1AqXgLA2/nDFACIEQ3FLwHa+kNfApim/pBXAI39geEcYGrtD30KYJv7430GMOAfxHMAdlaat9yAwklwBFhXng/95eB8GwB/BNCZaozsTJBqPgJken7MZQVopI4AuWqi2ZoYywCUeLmgZ0bvnCXapI4AKr9pBn+uuWA+twFYl5+8iiaJdurMPsAUIPWfz8HwXKWaAJwfhUwUrbSYhBexGKM9r6jbDyPijMV8+jjONK+IAfzdgEQSAwznAJmlwGmTZvwiJjwG5VF+RTQNSPLHIini15ItQ7L8UlCUMdtQcDQ7/MqRk8WssuhwephoUrvXi1uCpJEuAmh4OuJl+YFm4akpzZC4dh1QmCNqE47pr2bJbqRomuQJbyWpyDO1y4P4Zq6YeincS1TST8S7qVpqgvvJalqCinQ9KUHVC4uFgGQmVr6yWdYCwX4wi0evbp8GQXJ6epfMPeqEObnbVnWBoT4UUe7QWN0dElt1KjUu01TtNR4+3RyJ2YpsQw/ukonBqyIKNXv3Zyv9BmlXV1dXV1dXV1dX16Zf7/ee+IBRKVMAAAAASUVORK5CYII=",Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAHsSURBVGje7ZjNbcMwDIWzgmR7AKPxAKqjAdJAA1jW23+VHuI2cUiqJHwqoncKEuCz+SjxJ6dTU1NTU9O/kVPJX0rYPtoIfp7n4JxzEcBoJ3QJAFA+nQeAbCZc8KN1AIBiJUS8ykiYCGAzQkvoKQDBQvCJIZiiYGKwOekZgC2b3CvYThSOEnocjSKyBIOTrI+m89ALhKwmPDIxJxqGhpAeD/X0UFYIft70HHgiRogEH1nrdt8uNUInmJ+IlQKhE8zf+7DKBOkE7HNxTwZPSNBJJPQ4SPBaAIJAmA4Tkpqw8AS1C/dkMISoJyBwBG8AIHOE3kIoHGGyEBAYQjIRFkrwQEkWIwihA0JnMYIQBkDoMMLVIIQJCJaEBkKIwBoPEWypAK6EYARgeSfCTfY3qwihUvlUhFxrAKooRuecGw4Q1kof5AhJmrjUhMiWdNmIoCdELWEwvgOtD73Nh8LWSXbyFHKxMrVaOA+TulYzjuXqXKvqWcKOc/9J1Tflbsz2TZq2Vb5XV938sMj9nJ8fPHWrNt0r5qgi15dRN8tl0QZ5Kp5eHuQrr8ATdtkvYn36quwX3T5hSbgStQ3l/Bwrf6nKH/vm+SnWqQaQd5ztL5MgXKrb7zJV2bM+5oTA1vkyj04mNDU1NTU1NTW9lb4BGUyCMqGLcs0AAAAASUVORK5CYII=",ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAHLSURBVGje7dZBkoMgEAVQryCYA1iGA2QsDuCCA8T473+VWYwxOgP8xp5MzYK/YNFFXgLBlqapqampyaaNZ1j6dFEiXAH0yaJAsACwJIsCIQAA5lSRCx2+0ieKXAjr5DlRpMLz2w47YXdFKrjnZNxixYkLYZs8x4tMMNvc3TIORSZ0r8mIF5lw2U2+RYtM8LvJU7RYItyjRSYgJuBXhblEeESLfyvM6lWc20n9v6k/UQ4kt5LnIpqeCZYA/OluiTCXdLlopoJOG09Jt08sQiBklyF54xjyE3ivDuQntCWn+ud5FLy7rzngIbiB5E+kQDDQCkEreCiFdReX4fAsDnLBbs+OOzxJTipsR+n27e17kQrh1V/dodt6ofD61DIe9mEU7sMVguQEC6VgglaQARnBQSl0UAoWWmG994fTwrqGyZ0W1u9m3SUtdFsbDyeFsHXh7pxgXtd4c0647G5M/pTgUZCoAK1g1IJVC5d/IPgqNE3TNMM4+nGkQ74/+IkPeQEzH0iHWfiQFRzQ84H0qDsfSI968IH1KMHwzh7l1EKnFlq94NSCVQvSG1BGsGqhYCeS96igFkzQCq3xWqFtzSjJR0Soqampqal5cz4BN8AwiHqfkQMAAAAASUVORK5CYII=",le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAALtSURBVGje7ZhdkqMgEIAne4IB5H11x/fNVDyAM8UBYvT+V1m1AYnS3UAepmrLfrIS+6P/aBrf3k455ZRTTuHkIptF/ohk+QSFd0+YrAx1irr8cO//dYRfk5fhyumrj+3t3xHCNDG+yPBdT7iY8OdvCnAL39y8uMx/NY3HDAmAsWlmf99DwmJgy1lx20V8T5gZhkTIfaiOBKGsGdGsKuvAlq4IQQhAjDGC2QPiBIt4YEEIAQhBmbgf1oeniosTbLwOfnTrz71IIFhz+5gJO+cwAoRsZ0R7CAJFkEcjVMwunAA+j/QvNOGwYtwEggBLPjgTKILa5d5ETaAIO5UKqXSK8KyzOnHPI4gnN471nEAIl8WcoAlV0O8wJ2hCaLlBnGAIrc+GRHsOTah8UWmk5XAE5Vdu4+XEEiAQZBg4QmubnULDwBG0zWGFhoEjSKupsWpgCc76Fj2COIILJR5IlmAX9zkpJUhiICD7w+hC6AimFpk9qrcEm4oqZgdBkMuysMEtwcSiSRAWNSiIAZqDyu20rY/huMXzXkaYgKCjCeEIUAmmnPDVbIPjV1tCOMgjh9DFCPfcbB6kz6yoo9QvE7JqUlilJ1zuztqWtYTM0z+crzV6aaAIczp7ZROo4fmRR9DQY+9gz/acM8MMC2YAwvqc2aMkrDtAXtbnTIIA3yd7btQq2q75OWpVw8uBJmzprPAbID+JrQRdSNB+R3fY3k6Z5dYyagsJ0ttu8AskSVB+O6F7O2menHOo8GSmzJPz0vjeTiTURDIZgtXsNdbq02baOYlEMhmCS2eLtfq0qXgmTMT3hJSpmGj1PAFqcTB4OSTN1VPfEV93UuZqV1HlBLcviuZqGe7u8sncdbnyyTwgFRCMDaB5ZTIfmqtsygl6293DTxHkRri/TOjLCMvp29V6rLBk8gQza17lVWEXNZ7QQQQ75MabQJDr19IbGkie4A48zIkEQkV0+jQCnPz41+cEgvg0UyN4wimnnPI/yj/HMZwWjDCORwAAAABJRU5ErkJggg==",oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMgSURBVGje7ZhRjqQgEIZndrIHGNQDmB0P4DAcwOlwAKX/+19lHxAF/EFpMskm25XwUG37UVQVVcjLy1Oe8pSUvL5nBMvxtyJCg3sloQPqCWMdQVUTNDDXEQASjBJCA8BUEVqABKOE0AFAX00Y/wFCdSzu1Rk11RGElJU7i8r/QBCftYRuTyAWhgsE5ZJYaLaxLxHWDBoAlk3nBFfVBEAz+pQgXFVrAbovTwmNW7yyhLmY0LndbAHcl1lCuxKalXAscVdX0TnCVBwLbd/RjrA8uC+EA9B4XiG0G4E54gph2AnzY4QdwOJJCF+mP5ToTcK3v0xPCEPssM4nBPH8AO6EoGOHKZ+wRNUf44HwK55J+IDAPAEA84HwFru8DQi+eU2GsPBYRua1GYKJFsvj2QGAORB+R0FrEEnk4hRh5LEMH+kcYeKxDLxsg5QiGJbSUTzbLAGJWPrxVHnCxGPpPVozzfBo7hmhj4QlsC5JWG0VIBKw5yRhSblhjad7MvOdtRmhGGH2l3ckvAZRYwAYWxpWg9IEfJOUdubtDwhBeYiBEyaP3OcIuGlOMH5gjoQOJWIIoS0iLIQgiggz6xdFhJERVAmB9qyuyJGM0BS5gXbeIAuklDqtjpwwRPtQ6JR6T3T/Nq5HIqFiSZ0ftD+H/NysilRrEiUM3pwD0LtZI9UWAEoQ+zYW1lbNVFtq+ClIb9FuYGBciwzVtYxxQrvN0WBUxjX6UF1LaeIkpncbbjqwYVfXcp4gtC7rhX1TEXXJnwaVc74GJi8WntrnCdtXTaNvfj7s6nR2Iv04yUmTPpHKVeysYd/x1Nv6tz7TL+w747tQSZX3C11U5fId55L01YTqjnOv7jjmZzpOUTBoxxlISW/cOLiBEQRpK50b1/rFcGxtahuhCT0nCH1Y7D7Cw0yy0kaIudmHL5+Z3W333ZdzRLcP1/uklP2lWxQryhuIvibzhIEnwVRwo5U6dlz/7h746auAQI3oi779hxMvnBMEqQiF9w9tfg1XbjA+smu4dAcSIL4fukX5Ex7MHiBsTeZWfCfmiZQyceP68pSnPOUn5S8curM1tlnXIAAAAABJRU5ErkJggg==",ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIrSURBVGje7ZhRkqMgFEV7Znr+BzH/CWkWYFdcgOlyAUHP/rcyHxobbYSnVk1XTXG+rRMu8HiQl5dMJpPJZDLfwA/lcVUJ/iQMNdUxQwmXQwbdQqUKt99QQ6M07DaU4JSy+w1DhhK6vQY7ZuirnYYpQ6P0W7XDoIHLmKHmscNgAe7QV6pkj6FkpFMa2J5Ct0xYaLbPZM2M62ZDwYLebDS0fOV+2WCoAT5uXwZylRo0AEoFBmIqkaFdN4C7pg0/h08rTZj5rIYMv4H+hLOs4s3qmsGdiDPNasjwCnQ1KcaiDxl+AU2LUBFcixvXEgF9rC6sxMBHxCAaA1SR86EVGbqIQctypDrOuzEJUZPsvEOZ9oUxxoSCubTBgnfOBmIkDcBn//aOrn4c0SVl0NPOWRjceBY/UoZiXDPP95yAYct0KcPJD+HPgxu3jEvfgrwQvuHx3Lcpg2XW/K23EcZMUYOePp6FelbEECNqqJ87d+S2KGwLcI4ZLLOV8KutmX7hnB5DE5jH/jPTOXET80N4hovQsKRetPJasppR7GFDe9SgRbs6RimqrGSIxwFDITthUkMQnHLxpaTbZdDewd1sMOhQ7+iV3PC2uesFU2/qvCs1tex5UsPKXcApsaFdF8gMwxCcMfMboZIbaubPNW2MMelX0rz7rr/3JIaC2OtbYjhF36wSw7531mIt1THDc+WPGB7fbdDxf1L+iUER/T9IYrjd1UZDJpPJZDL/PX8Bb0ETGmcF168AAAAASUVORK5CYII=",ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAEC/gDwUuiYAAAHESURBVGje7ddbcoMwDAXQ9JEFiMcCmIQF0AkLcGIWEMjd/1b6QdPBxEgymulPfb+TM0aWZTgccnJycnJy/jJvpE0xEhFZhBaNUQA6m1ACD5vQA5NJKADAJLQA0BiEAgDgDEJpFnqrMC/BIrSzsGsvzt57N9dxl+CxTHpHFX0ApHf1GsA9UXgB4OJCMUyOq/8iG/OhnSu01QKrQkaEd2AeHfEuXBcyInw8SyQuYespjr+6tARg3BYm77333vFL2OjJIxLSxYRP4U/uFNYysps9C4xhXzQxoeSXEJaki3b1mROIqAqWFD0XCcKULjiiOmiqZGFc9ZaLCuxuXG7hiIgKbUJPxYUiQXjEZ1RrFsj3amJrTg5moTYLJeBtQoWJqt4iEEaiYrAIfUdEdDMIQzPf1PuF+mfCisWQ702hGJPm5h32dHWYk1ngOvSuErgN6TQC2xROsRf8dspvQRXfDZMonIR+GgVBPlodLyiON/82KJ8qjKxQKoZDxwqKCcW/V1eaC4sVNNOa/+ZV3Ftf/Hf3oKqCTXCCUKuegRNKHcAIwkvElUSB3YxLQwrh5bPMP3Ndnn/2bK5+G88hJycnJycnJ+ef5xsrVMzomf1AWAAAAABJRU5ErkJggg==",ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAECAcBDPvyBQ32DvMK+Pn6dddTsAAAKrSURBVHja7drJcsMgDAbgAGYxi7He/2V7aJqxJ14QFqgH/nvHX4ORBMnrNTIyMjIyMvK/Ikoi1aTFszwCSAAwnAALAOD4ADMAAEg+gGcGBOAFaM8MUMAL0LE1IC1W6fsPoBkgRQCwp3/noDUgAwBAkCdZmgNWKEwrQOAGiAzgDSdA6CRc5AQIIcS0f9iq3dIXIHaLYLYFqBMgbZ9lv0gdSrHaPCum3ymoK2D3H8ecY3eAZN0FQgiRuQF/kwcb4GYRegwkefswDsBu+uEAvE8AjADx7gBuOwp1BfwuQhQclXBzClFHVaHXWG7fB2HPBXBeHQwI3Q8mKfICDp7fFRAisAImtl5wNJt84pXrBkgnDdHOvV7C09nEhz6Ai9mkloCsA1eziU09bkguB0TVAXA9IFrXHPCZTY4TUyNAjqXXBaEJIEN5QgOABmgmKAJIaCcoAjgcANWfyt6BBQeIjhqgV5zANKwDZWuiGgN29yaHSY0BwlAtQi0gUe3F6u8L7hYh6sYA4WnewypAyvZ+K/pmgOApKzIakAxtNcIC5lheD10DQMAU5NzncPrwNUQBtMf1pEQNUMi5YCIG6IgEWGJAAGwcLWBBA2ZaAPr5JRsRAUh4gCUFSDwA2AGSGzBxA1bmXVDQDjAAUyHQlICpAjBTAlwFQJF2w6VBKUIBKvZBpJ2IPF6QSAH4hnw7nCOvaiN5KUJOxRkNMLQAR94QsQcT/E40khRQ05F80IRnw4qdCBBXSQYIUBefEw2gYid+DJOjuB/I8CDmy1DyI5bLW8oJ26TNfi0KAOamzoRH78M9YL7tNSnW7Iu5FKDujz56qdub7vEn8LkMDHV7Y9Ul74Av6bVa1e2KEkA6uxSMu2OHUzWfgiz7xuT4t8XfV2glF5iln8DIyMjIyEj//ACKXRgXTz5bQgAAAABJRU5ErkJggg==",Ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAH2SURBVGje7ddLboMwEAbgHCHD4wAWYV/kcgCKfIBgz/2v0gWQ+DEGD1EXleZfpTJ8BWOP7dtNIpFIJBKJ5GJgS6cHyKfTavt1zwjfiIguZ/itGWHENTQRtNLCfglNhK2k0LwuQZcCUSspmPc1uAAAgP5GtGvnVV4jTrTQ+NegAuj23zMAtH6jowWD4b8ZvTtU0koIdXAJujH46xG2WkrokRNFCIYlTITAAnBJhZon2FRoeQL+hTAyha//JMxafyb8xLOSK7i4MrCFaS0u5rqwlaf+smDTAscUnptQfSzApVGt+kBY4u48nVkL1N6qgThAyxSe621Z4bw+OGgCYYo+qT2vUbMJBKcvVbkh/y2eZZX2QBjKqj1TGFkCtWa1HIFc9RqOsFBCxRGmgtX/eGYpUuiJZ83MbkvvQOryCjMV7KP2h6WrnMoIfa7SUm9HClWm2j+oR6N3pHRf1mQHZ3bFaU/YdNVz6kCoStbcw5051Obs/n3jf8+eL3TQkWYv23s0wJngd6iFBhGX17T19+uHQuN9zE7rN/ksFSAaUVU0RAuEPhxRI/ESJ8J7DFnlnW2mciGzxwaGQO57Fo5APYRTLKHO7qlKhXSaWmAK8XtE71AiVIYu/OVCSKRn4AJhO6jv4+qSALVGRJzJc3wqSCQSiUQikRTmFw6W8JpZ3lUtAAAAAElFTkSuQmCC",ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMpSURBVGje7ZltjuMgDIbnCgvJAVDLAWjKAdIRB0gC97/Kdpo0MWDz1dlKK9VSfrQpT7GxXxzy9fWxj32MsD+EMW0Fda+IwIxzTrxC0HeAo2ZRQujcw+ZmAnObqVaCfBJsI2GfgnNjG0EeBNtGcMBEC6GDhLmFoCHBNRCYB8BimSP0PmGuJxif4KoJgROYGxlCFxLmWoIMCbaW4CITdQQeE8Y6Qh8T5jqCjgm2juBcPhBJAsMIYw2hwwhzDUFihKWGoDGCqyGggFCyUwSGE8ZyAscJUzmhxwlLOUHiBFtOwJciXIwUgQAEed1CUKUEThGm9xF6irC8j0AtZpAQLQT3PgIJ8FOqiaD+HwL/JcLgjx3itM4QJl9mto8JQgcWiq/z7f3p9z6BmZtPkGBHKiJ0bvEJGuQ8X7c44+94xifIkNCDfEusxQRavZgw1azm/TdLGEngRgHhvjKTT+BwU8sTfrbFMcgHWHl5wk9YVUDQQIJMTh8eAhLm5GO5F1GkMHrVzICwLcCQ2DY3pT2ZrRUI64KeOiVXIaGvA8xxbbI6wohUt6wBWEwfqiahUIXpqqKAalSUB8swXH+uyAdBEJiJ/6qbkckpUidDxD1e0sYxVgmlDRHinmgiTDaV1mrf55GtF4yNyKk9h/Gcu/U6/LqU7BdsGJ4UK9dr/TAMqri334vEbFf184UpaEj/8dPBy505S5T0q91gYR/VZWoyS9h9AOm5GMQPirCXxtz7uRn1QQThqC3RQ5k3cShwwgG4wYBaEByVJJzg2hsvHY8cudEEpuEQFmjCAVwIjeJXf8Q670U+mxeoPsslJuhIhiRcBRsJmBVxB3LcVEd9KnbUpY+Yoj4q0DH+3O81SKUrTeBhmJ5OPOOx1SW7UoTtn74H4TdT457l+41tAwrjQJzLWW82dadq5uhAu6ZTNW+UaTkT8wZ1DSdaZ3+MqT6PYoGc8Gqt1qE0S0QmU4Rz5DfD/Mg+692Q78YypTXYLnmOHxczSmuJM09RqrTIuxsNKj9FIAE7ItfDoJ2C1yGpAsKNegd2KiGYXWLQVztXEEuCwBPjH/cvRCQ/9rFfsr/S0BXOO1hKugAAAABJRU5ErkJggg==",be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAI5SURBVGje7dbdceMgFAXgZBMXcEEqQDgUIG8oQJ6hAAGn/1b2wXZW/FkgMpk8cB5t6zNwL6CXl56enp6enuK8CkGbiDPtJhQA8/Ud10C18AfA8vhO4YDwBsDhFqMTApuIC3EmughBxERqFl6c/zyXWIkBhkgCRCNMJGhfMD6gEQpYQkH5wuIJErFgQ4H5wuytARKC2RmDJ5BOCNhZB38WvEB4AxwNj6c1rF8LFQsuEN6B5TJrOA3Hz0NQCyK9uw4nYMaqYBXsCLbtKLYQ0bBbzRPwF6vCMmBV4FthxExEKhTmWJj0IkEcZnDeGCQsEfFAmCgWLPHbL2ZSW0GHlUnvrBOAq8ZKNMJ9eDsr3iVZAcB0b8BACIv7RHg8sRFYokdTwnsg/B83F0IIMRWdMABGIyfkhr1zTt72xRm4JPZFkaAef61y894T7iW4fiSOqDKB/O1N1Sv5SixzPtw+XwsE+kyftBWCT8xHhEc7+o/UCTpx5dQJcjOIqbqaoWAPCSrdEhXCmL8yjgjmiDAkbr66WvidvTYL7oBA/vU7NQu2WXB150PUlHstUSTYeiF4F3p64KaFEeXTKBNc9UoOiKZRWU0WCrZZcLUCDwUslQJFgm0W7nd5uSAj4dos4MeF8RcIQ7PAfoHw2SrkilksKDQKA1oF3SpwtApjsyCbBbQKvFlgXfgmob0WT/thae5Jat0XpkxgVZOoPB/mQiF7RtniN7HMWrq5WOCyHMjdFyKRsvfJnp6enp5M/gEmYfhKXHc6HgAAAABJRU5ErkJggg==",ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAKhSURBVGje7ZhLcqMwFEXT3RvIE3jeJGEekL0AdYoFGOnufysZ6A8SEnFVUl2lO7KhfHi6eh/hp6empqampu/SLyrqxX16PiSwIQMYsVYRGJBGMPg7h4QR/lFEXRgCMNUQbu5RjAMA5OxCwL2WsBIRvcJKDiaEegIGojd4qUGHcIKgIgCghvEkAR+IpXCWkNG3E1bt/wOEifqHCd2Px7DuXf3qXiyPEu7dowTBHiXIt5/Lyf+YYH2XYUrPlrtWEEw5Kv9R/85k1VAmuB/xyaXBxDhdoiAOCLaWRA9pnwsaIeyaigT7o+kC2MUrWrDagESB4APfEmwMqkBw5oke0noSrUIHkScEvSHtpPEyS/A9KbOb/KY3NEtYgoKMM+pqUJ3m5QgMBd2J9IbmCGOZwLSXOYKx4JolKOq1RxlCb1M/H4s0G5ohLMbC/aDZcjIE5ltAyY8hTRgdwe2J4pzzhC1rmuBC9KuYwq4VHkr+pgh/XIjeyZCgwin6niL8drd9pxRBxd9De97z/WGz3qDiLUFyzufnWgKIyPe34EBYT5iC9j/cvDcHhNt+PiSgdYRh1CXQuy91hNEX0cVvrfItCqVefYnLEBPdAMgTBJ81OjN3BFki+LIcaHE+CO/PWjv1AEG9TsoFKrh8LxKWINxOz9k5XNxUO7vtmO7WzSaXZ3c8MmiBiC7K+hMIADm/LgD4y3VTa4VT0HLY36a6980D1ZzEko36H6s/R6WXYTufqCLYBA5nl7mqKt/99x0Xxp66d3/rpQzTQLAlOAsWCSw3/dbKfzBMEFEM0XG0gsDSMzz4W6JEMEHwzeFhOEFI5oSgM4TEiWqlU4R9bks6SdgiYkAVIUZ80BcIxFxdqIm+RCBi/AaAz/s7SUJTU1NTU1NTU50+AWGj5Ye8I1WFAAAAAElFTkSuQmCC",ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAMPSURBVGje7ZhBetwgDIXTNN1XYO9jUg7gtD6A03IAbN79r9KFgcEOmZHw1m81yWf/A0h6EvP0dOnSpUuP9Y2IiEiZQiMd9PMxwWKnDylBOxy0CAkWn/RXROhQ0SghuBohCAjVJewX8YDg6oSVTdD4QmxC/xVh4BIsAHyYnexhG/cJxz0TEelDVt0lfAeA+VgIdn8QdwnPhy0XhJFHePl6DQOP8GPbcvf5HEQELGX09bIl2Swh7MsgJoQXERai+J0Y2ggr0faGxpD8QkbwRNEezZgIsnPYxXOCJBYvxdMq5ncvIjwXT/cxlbujxzyui1gDXSwndTSI+7Xpbk/reP4Kktrc/GEhosmTw6BDSinPJXSJYFeaQAqJMIh8MhDRFMhhnBALK/C92sYe1eX8tjKvjm+OpB1ggTn+Y5b2rIVImUGbt9SHg7hvzoecLpvWw949AUCIb6hK02LOD/ENV2laj2eYYh9/0ETYvjhkj20g6DS42OokxCDEACyu3v45hMoU4akbJYSu0v0nLyHkRCoIOS95hE+zDKmcqDzCcR+BphwPJuEwmC7kcnFwCWR2s5y6hZRN2K3C97fEbCMM7uaWfEK5i99oIOwC2hc+wyaoMpgWDedQjrchxVSP5wgrTV5AqNx1PLkgIFTuCYMGZj6hNuD3wMImqNolwwEYhYTyNIIGAM8lbKFYcpX/S38sXMIUu4a7ZaXfFiTzhzGlxWoBv318ZRJSy46E2QK/Ggg+E+h2qkyCSrW4vbYWlfoqcNqQYzIoMaFPI2C/oXoxId/O+liUTYSQD2QoK5VJyOauN5QTEoy5zbEO8LtK5eRkngBVMlglJOSho0+ooo0GPmFIBL8zzYVPyOk07kxz5RDejTHmjYh0+rClQzCDwGHqUsBwjtADdI5gEc4RNLCeI3SijlPfBMZTBA0sdIowAfMpgt7y8wRh2iyjnaCjZbQTbPS9ZkKXLl+tBJXvrY0EBflkvtN78aNzC0HZ8ronJph4TQhjIyG5dAaICdGll5HOEQxRM0E7fBj+L/+XLl26VOo/UnlsF9augV0AAAAASUVORK5CYII=",ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIoSURBVGje7dhRkpswDAbgbbc9gGw4gN34AHTqA5AOB8Dw3/8qfSDewKyxbGvbzrToMZN8GCEJOy8vV1zxb8YnOobCQmxkhQkwIkEDmEWCuoSPEH4AEAkdpMIkFRSkghMKKt5Dq3ADRMJuAW3CDQBW01wPegKAOxGRbxL0tC2AaFp0k+DjAghhW0Sl8PpYwCZ0DcIXrMPjc/9zq8tK4Svm7jlc2wSjgf2gbRBoCiRbA/nxMCLq80Aq5rLpaX6Oz0KFOGTq6wHWEFEf4pxrqUng/s2HR4e09QUArLa1u7XDMVomjL1Jhf2c/YtC2V18t3YQCQ4ATFrQJcJjEg9JQRUI8SpLs9DHLwwpoS8Q3l5LY6PwTNXSKDxvdE0Jjhd2F/k9wv7lHez7MKwANu5eKuwjIag/LKxiISSEvkoYxUKqs3wNkOxuV7UEqZCecuW/t4aEgklPe13xJNNCRUHNYiGkha6iJ9JCTUlewiX8L4K8NyuEhaRT7mTCHLYPTXOy4o0znAjFQ2o925nrqjSQZA9jTgVXkwbidqRsGtidOVdP/AklE2PZOYtNZFooq6ncSa2opkJOKKqpOSfE5jLJff0xDSeCLxCGrNDxwpo988aayglLXiBeGBnBsYJhhJ4ViBEUJwROIE6YWWE6fu2dYFjBM8LACl1eWIkVdF5YeIGmrDAWCC4rmAKhzwpUIKicEEoEyglzkeAygikSlLXpqrbbf2FJ4YortvgF6mQ0tbW5Jc4AAAAASUVORK5CYII=",he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAIcSURBVGje7dnBcoIwEMZxH6Eb4F5w8gA4k3vRcm9Jvvd/lR4cFGWT7Ca3Dnt15uffEIKOp9MxxxxzTGaIyFjgQsL5YIQWALBUCA4AgLFYaO4AfLHgAPizOGIvtPdP4KQRe6EBgImsNGIvdADQk5WuxF6wABAMACCUC+tM1UIoEi7wVhHBCL1djCKCa3D+rFiJzDoIIrJCNoITRofQiCM4obcYG3EEJyxA34lXIrIOZMUrwQuB5JeDF0bzcjl6nXAdhoHmF8FrT9r1tH7OqBbmN8GrBUAeIRR8tZCIkApeKThFBC9YRYRYiEbIBa8SOsgjFIKfaoXIXc4LhhX4o0YlBLnQQB4hv5qxCFZoAXkEKzRRIQgFC0UEK8QBJoITTELYR3BCA00EJ8zQRHCCTQqLQHBJ4f0u54Q08H7UFAhvEYzQQhXBCAaqiCLB167Da0RCmGURccG3soj4nvwlWUT8vuiTm3NMCt36Lo0kIvqrOVD6sBqTZ5Rbv0O2Ln+Xs8L8qDT5oyZ22q+v37IRsSfO44vwLRcReW5urvctE8EL9L3ZtiYdERFeprWpCIlAdHXxCJlAdLWxCKlARMOwljx+0QadwC3uVC2EagGlAm1u0VrBVwsYq4WlUNjsr3rhq1r4LBM2j5KfMqH7F4KpXsm2WqDqHfXcEKW7+vlY/y0VHh9jKhZu6zFXLNxXYqEKgc73vwf2wjHHHHPMv5w/eO4CLCiP+HIAAAAASUVORK5CYII=",$e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAHmSURBVGje7dhBboMwEAXQtD1BDBwgKD5AInwAKvkAEP79r9JNIUT2zHwHqYvKf90+ZexhbDidampqampq/jIf52zc5SyFEwbgdkhoAYxHhCYCmI8IAYBchiVcgSUCShmG4LFleksYnoC4EKrgcFBo4l5Y3hA8XlIuDDgoNDgqxKNCWLdgk8YyoV3/77ZV8ygSto2cd+XcSoSw6yOv93VeaHd91Bg9lRX2G/m966uRFjzyebBCCyk3Tlj3oU+FkRPCugtpMQslOMhCroxU2Bqo59YyEeRlFB6vRIi6MJrCpw5kpmWpkK6lJMwewJhZlMkSvn7/8OIAvI57oSWSlbxfn0LuN+BCdtQsPV1JS8g9ybZEKjSWMJpPVixrCfnZZFsiNx/KysjNqMEQFntO3kvKEM6Le68JD/Ls7iNVhn6P6q/2Wpr3yc4qwxRaay1NobHKsG/F0VhLW/BGGbbQGS1hC85oCeLtwGgJQoh6GYQQ9GFHCK1eBiE4fdgx71n6lGAE4eiYeKFTpwQjOHXiUm+s6rCj3pqjtpaUELQyKKHTJi4lOO3g4L4/aAcHJ3ilDE4IyiHMCa1yl+CERjmEyW9B4hE6sYKXD2FS6OQy2C9aojCRwlm+ErGCfEVkhUALNTU1NTU1/z8/wuvL5gp0xtIAAAAASUVORK5CYII=",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAALpSURBVGje7Zg9muMgDIbnCCuD+zGJD0Ce+ABOHvq1Y93/KluQOEKIP1dbWKUz84KE+CT083PaaaedljeQzRhjjE38+KdI6Eb0tl2OEa74tW1oJyiHgV1aCRyA+GwjxADEuYkgABCHBsIkAXCrJ2iU7VVNcAkC8yNNSG2B+5EkKEzbXEXoM4StiuCjYGhePyzALdpEiqBJzO40HTt+HCnCSJea6H9pRERbJChExJW6tFmaaEuR0IcLaeq6CmOZIDgW8WDfY0CXCYoHfHqxXFsKBB4t0DNLtrVAmHjaKMtvTIHgglUim+j1EgkKd09Hqmv395n2NBAiQe8ETeOhPnml6RZFQr9n9EhX05/odDRMImHcCUFq9viOYIcklCLB1RCGHAFrCHOSoK5EiBy9yiHhrR4xYa8yy+fk5+gsdv1aJYILRF0FuTm+feup8nPCt8p491XQN5jhe1Yf5WcEqtDprA5ElxF0rsbuPQnVbcsIY7q6JerpEhLCMmPLTiCuIaHLldhEOQwJrFCJm+Dl8DcgTPlWgR+lQOC/rhYAtHfHoQUAxf8E/2YJOPhFLYD2eR6X4QLB+jwfAHpPcK0E4ITxCGFC9Ik4VxB497b6JH4CAIwbiITfXD4INaNE0EVC3Bzl7kUVYWN30zUTXowwNROGjEaJF6OPGsO0Tso61UfNKScUNqHi3jRSe51t5Fk6bFaqWV3mWXQXLn+qI+0kxA5YKnpaspPHW+yIuNQTVn80DwPK+ILsWgk8dGvfTAgRH2I9YQufzRdoJiBtSR4WDhIAQO3Dg2aClWtmA2GQ70UDYZFbhwbCKl/ulqyWpbqGAOIbWwlfCy9Wpg9aaCyShEnqQlzLq1kLIiV9q3j723giUff23y/lGktU6wTjyT+8mqcoKxuO2QOTHGPMkUlOapRj6wmdCHi2zMTuAmBtm+zFPc9mG6eLYxFQnHBe40LZOiO9kRMxx+a0cPOubKZm0nvaaaeddtpp/7v9AxWSGnNu0TMGAAAAAElFTkSuQmCC",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAM8SURBVGje7dlLcpwwEAZgu3IBN4J9VBP2IZgD4CkOINB//6tk0TyE1JKA1LiyoBeu8ozmQ8+ehnl7u+OOO+74v+OdHu0fOhmqbeljFUoA+hxQAOg3oQMwnhMqAHYTAMASUdG22a4Un09NRB0A/FyEHwAAIqoZSsbcBgDw2xcKAGjy40cTE0oAMGlhaSMJDVUAMOVnEJMvvM9CfVwoJKHn+Z2iS9JOzSooSTAsGKJB3B28CBXPWQkA2O8oTItQQtyi3E+++Ax5gl2Eitv658DtPjd19iSLutsPRlhGuwgAgMkX+vmjEIV5Aljgv2YT+IUpKfDcNdy05ktuAn8IAwAYhfg8oKm2ltCO0GGNaW4qrgVMtbWEk2F4N3LYcjmpXnAP3Wu5QunIVUTgWRq2hsYVyBG6yOnoAGB0Guqd4HQOKcE6w6WdUB4U4A5iJxTe28gLei+4qxERvAaWPEF5DRoxQTrR+wINwSiJiD4B2zi7etcFTyiFqSyY/aJwmGMo+J3QzuQ18tu+UAbjLJ0ul0IXfMG7inVf6MUuBILfCWf2x7CDkuBPlvvvEC6EJAQbMxY6JgSnIxJfFBWCvS3GduoEwZ9yKaxOCkWecE6MJORn0z1yokBqOAxEhORA7P7QR4QwG22r4H2jRwV6yN0I6t64QNSGRhu2SglB2hPLq1cLUl48J1SAnWejHcT0nxPqtSgbKXb3kBY6oOHJ4AKuOS0Ma+1nSElFTVYAMHG+sFRHKvakEJzR8aygkK8HXi1UyFcUrxa6dHb6FiHML+a7BSHpj+cElfqyOyQI38H2nFAJqfqcUCeqhmMCl+HtHJ+RDZESht3cRW6ckgIEwZwX1pHX54ViV/TNlc0pQe22YRHbUnnB7rbXFWFewO4fBOOe0/HCWvBly+jxPiBAOzv8mtA7VWp//lzw2It4ojx0Np2Drq/lh2bL2heznKGLWW79nFFXs30dCPqkUAJ4DrPwHORiLlvDNCULlroLNQzVQE81jAI0DVdquQKwmh5GTZp+RR4EpwWq1wVUsYfRGaEY5huKR6QWzAq8q57tEH9wmhO2jRl78poVSHWxe5OjApFq2zb+7sf9q8kdd9zx2vgLQbh6WVz//GkAAAAASUVORK5CYII=",Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAI9SURBVGje7dhLkqMwDAbgPsLYhgO4qrMfN+MDJF0+QID//leZRSABWw6WtOnqQpskmy+2JD/g4+OMM35r2CEYVvzJhR6zUoiAVwtXnXABRp3QAdAJDkBQCQbAXSckYNIJkZmIUujBq2cpdODVsxQswGrsUjAAq7EJIfISQQgXsOpJCD1Y9SQEB1ZjE4IFq7EJwSRWIighsupJCT049aSEDpzGpgQHAPOwxJdAMNjH9MUWUkZgDkwhoohvlmBBRHUYlHABGYHXk+1EbWVhjo1EZX8AvGkcBSE8JkFWZPbN+yTgyXRMLcIjDbh1ZDZv7UItfNuZ9SZmtVBsHFVhqg7CNwo+1oixUTCxMZkSYWwUUmNFa8JkWstRE+6utSdqgu9be6IijG8SmeWyInjbvDpIYQ61vZKYBrE2B78cfG9iOjgvjlb4bhqkcAxspkGPIR4K44HQQBwJxg3bSG82/pqQh/uXCXeuYIxLdD3bhTw5EmFPBImwI64iwaayI3jCtlsnmbBds0LBFouLK2zWfRAKr1PgKhW6rK/5gs3KyRee5ZjEgtufOwLhmUu50KsFpxbWaQS5cFELnVqwamFJhEaIaqFXC51acGrB6IWkFqJWeFwHvuVrM22fpAWC3T+tCIS0v0Uodvvl0OALMbvTsYX8wu0V5+YyDbaQX9lHtrBWYv2c2ML638P6RXwDMVLBPau4JuSvULg+iyIU5ldOhUJ4dYZMeLxL+RRl0mxfxnyKBDsMfvejEM4444yfFf8BRMTp39vlJI4AAAAASUVORK5CYII=",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAADBwn7/vj2BQ3yCAEEDPr7t9UTcAAAPTSURBVHja7ZrbcuMgEEQjxJ0Bif//2X1IbIMlYAZwamuXfktVbI4QDD1tvr6WlpaWlpaWlv42bVixnQsZvyWF0gz3sUkAhj/Gfsly80sADq6j/zCA/zyA47Em7j8L4ItP/5CETwIEG9s62McAIOK0fwbAnxEr/gkAf0S8Dj8dgDR+maAbgDh+kaAbgDp+jOdUAB7pUhMBdOyRmQbgZBeA9LMAROwTnwRgYq/CHADbDSCmAOgY501BD4AdABATAEIcERsH4EMAagTAGxBCyCEAKYTSvgug7b7wFMrTAdi04WOMUTIqgImTpWkAc58/mQMsQLH6n2BCURoqtuGgAJiS5/cDfYsmANz738Nh+sYgaxYJCUD02m99c4kAD8BIThtNwNAAAVPVK9rLR2M/AN8IsoMAd6/guQBBylu/63m0ujoFbGQR2syeQMm5/xgQN7gIb7YhzwyquAGIKdnoNrwWIsgeVJTeO1QqqR4qxZDtMVOwjtKVAcTYYaSSjArCfQkEcOVtQDyMLi9BUHbh5ot9Wr8h8RQAPW5Its2rO0OBkyieogQAk0+BJUxBKDw+CQBQ7T4uTUkI0AC86Oraqn0WC8CJ8V8zzdM0gEIiKZ77nNnslSR/Glvt0XAA135YwB5CCM8KdGYHNJPPc8iHEEIAdXGnP0USBfCeyAh9v894VjLeyqPbbXcpznexCMVKw5PxbxybttfjBAOgMSvvRVAcf9s8v7wEBICXhRpyT1AZ//1hOA4AUOM/vvuUdces32wdAsDixk+/u+bY93wK2gAGX/s0qmM4s+SyDXC24uYLQaNjSdeURgDcOfH6/HrMPz0eqQkQSK1IeLhtZJsi2wBA6sVwAImzCU0AcW1FhgGSRmtvAlhSM4gD2F7LEJoANP+BBHhNqyAAhHkA8M8B6IdFfQEwWylI0wHkY40+AZgsNO2fAfiuwOEFADHOB9ibleU0JsYYGdjU9VV3wdkEOFB1QNXy6LE6cCZ1u3YOXpI44TGVUFPOAkOIZK3GdUqsCcDQkYBTz7J9aqQhQJyGyftqlyIXAEAHdBmKHAHA3wP2UbksJmkDhLtkakRJkyaprpgWi7R7dYUC0BHry8lZAa4vyCM2PXF8hewN84RH+YH1d1zuM6C64zzikL2T4OEmYEEB+LfO3qqOpWD4QFTLbn4CVkAQF6ULJciMaOTOQv23W2xKNp3AUHPCuQSSnBNekto5v52TsmJ2zBo//cWVdIMC5owP/XdIHB8fXrihSyyOjy2FMwzfovH67GU4wE26zMY0cEGU0q7rPuHS0tLS0tLS0n+nP5b8JKuOyxvUAAAAAElFTkSuQmCC",je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAG1BMVEX///8AAAD///////////9Xs0dXs0f///9Xs0dOEAi1AAAAB3RSTlMAAECAv0CAMw1xIgAAApZJREFUaN7tmM2KnTAYhmd6Bf0SIeswB7LOccB1poVsexXdHxXeW+hlz0L9Yvw7iballLwrDfiQfP/m5aWoqKio6KleaVviHQD6Ox3o6xHhDaO6k4QbkIA4IEjM1J4gCD8nwOUTTARAn00QWMjlEsyS0GcRRH3HSq62yYSFEY9Pskkw2JNOI4hdAB5phGqf0KUR1D4BaQRzmdD8A3u4bofrvrgeD9djcsqL2gPoPT8CH8m52QyFTQJoDYB2tA3lERwRAFsBsKNtdB7BEgEYMEQYlxIJY3kWQEfUAG4s3JkE6AZwRArodXOKMJ5cnKhRFJdXfxRQ2wQZf2KuEGycJycIi0O1+YS61rKuD1v4JmGe3lYdJ/c2Qf0+woeHVehu5wlawipoeZ7gSGppZwGR3zf1YhxKJYSG0dt4nsoh+MRiv0vo1lOQyiP060lMbReITYIHoMVyfPEZhCGJTLyFCpmExSbaoc5kEVqau0NXyCZMH0U4l9V555uYaImddwpCbYId/SmC42O0AqcID84IfvprhGqfkDmRbtghndADgFaxL3wO4VGt46EVWQSS93nTfpC8k8yyg456Nr+vf5V+/diZq3srovF6el8Rfv6Zyfz/IPgDgt4j+MnTEk/l+G5BB8IXnrr9c8LwYTVVzUDAk5+TxV2Ejwmv0+5StgBMp52d4vVtyDsB4HuIw/BNEy26YUC4R74QADSZqFeFcu94cz3dgI7Is0XZm2asI5bd0YZDaTaQIwHA3kKSMaEKg7TneVYxSwQ/mLhkhojyvK6YJUIENOyGKo6tQFC8LkLgGB7wq7DoowF5FtWe1w1fu4gQhA0X2ioK7xlBenwbV9/Ra47y8VZONOg037bZRV4UFRUVFRUVFWXoE3njDKPDQaB6AAAAAElFTkSuQmCC",Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAANkSURBVGje7ZhrdqUgDIA7rwWIuABPLwuwXhdg72EBKu5/K6M8AySo7Zz5ZX60esUvIYQk8vZ2yy233HLLGflR7cL6demrktTP9dWZS4xQr7ssLQ146hEvimAAG4IEPOyIT4IgVzhAS7+Lv2NuwNqhBO6fr3Yevb192XuvYlUoQT9f9N9JawwvaJ3WhN79kBF2E1Rr5qoSgEEI66Nh+z8jBOGsNxcxQCOkQbuLjCA12A6YtCIoqt0nMeoBXOtICSw4cDNifqypzNyZoHWMGaEOcbBdqjUXaT28SbNfpoQmPK9WSrqgY8EIoyMMFKEKOlBC9+8IzbcJ4rsERnpyPCCMRyb4eGAYgfvVpE3wStDVrL0GUSCoQkT5qC6Z4IxAo9rvLFEkKHpn6Tc7a8LSsT55s6/eB2cEsbv3PKs6DfpMU5ROPSZWVcWoDBOy4OwdnibOAf5AZ1rVZnExprE2F7P9lCV3VaXx3uIEFlkMxk+h6JUrjnkOKhZPEouz85Osm1ppUOiMUqDuiXCPEVii0HoG1tEmOBYjiNgNbvUmWP2DUZQn9dP6A7rSEvrWZ+GRIAgfTtJa0gBHcvNo8GpyAgt49xYkNMYfwo/KCWB4gcALMSlDMpUKJm1XLMcqCjt0b6YdkMjWwhW0ESE0yOgB7tXotwWv/jCfA32xXY0rHVieTOLJb864o3R7Bcn22eAm31megFb/jCDjpJVMLSUMOaFOk1zUXWQEmRNCqp0RbpsScqc9kOYFELqE8CsbWkf1os0S10gQQpoN3SFDk+2UEP6kff0QXuORK+QBwZn7AHMSMFp9/75QhDkOG7B8bbxAJEGnclczF+hSFdcxmrB9R/USzqkJ9fsd9IkFQtpwSPzRMWGxXmH+5iqhteWJ+5urBDP/zta55iuE2hAGvSZfIjCzGEK745jwG/mWkN4PI9LuT8TOAiO2uNIN0WMPsvWQ8JNqX7t4NwAbiQyTtq9cJemKJmBjbAuOf/RkeRJrhl9Psx0k2h4T2f60zNjXwSVBevuLBKS3Hy4BFHF6cMUNOYFdImAnGJemoY7OYc5MongWdGYlUAK/ZALaV8srJqAEfsUE/PtiOL0QFIGdmkfhbDBtO+g6RhNOIPyxH0E4mogKbRJFqKr3AgMeoL7dcsstt9xyy/+Uv0IU0D8W5O1uAAAAAElFTkSuQmCC",Re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGCf38+PMBCA70CvUL8gcCWO3EkAAALDSURBVHja7dvbcqQgFAXQAHJXdP//z85DOmlFQCccMJViv6XTFVZxFBTIx8fIyMjIyK8Py4WLCQAglWbltAAY6/CO9L0BfsIxs+kK4Dhl0h0BifYBp7sBku0Dk+kEyLQPzH0A2fYB3wNwaH9e1P7H0AFg4z4/fLA2B4hDly+MMb//YGsNOLYPdSpJY4CIrzrruTvciW0BFpdpC8DTgPA04DURTw8DmH4aUBqMO03H4mmAkQ8D2OoeBrDlaQBTTwMyo1I/gE5fh7YXIDsviT63YWFWEB0A+WEAAHhzQLl9QLcGiIspWT73XpC7FUgB2VF495ZoWgJuPBadHo4pARx3sjQDGHcLEBWBEDDjXuZGgMQsLEMI7qIIZIBTAQL/7GutXKkIZICoANNuPcDMhSJQAaICSFO8PxZyQFQAacpD5K4IRIBjJ7vzYsScKwINYLl89llzRSABxHfAev3C8r1uRwKYr+bcxDChCAG5v12swde6HQHgNASlH38zi6cEAIEfAV4dVQ/w+CHgswjVgMSiyF3AZCgACj8GQBEAPCoA8NWA5KrUfcBkagEKVQCoSoBHJQC+DhCqAaEOIJ8GbNUAXnkR8koArx4H9PdloNRNwPuLQZPMBUICUq3vpZkLgGWrkIAUnvjN6D6g0avZAAzAAAzAAAzA7wEkjyr4joDkUYWtIyB5ZEf2BITiAkkHwPnEzP4Vrgcg3p06bCV1ARz7YJXoDkDw6QOW3QCAtN57z0V5Dash4N7G2QD8PcCU3ztzUw9AyO7ff/2mNYCxLdUJbvvaWW0POA09gLOGdQQwZvh+D2F+7eA1Amj7mRBNxZ5bG6zlPtrcDq/vayJAtFofCgfZQ+JISTUg3i75DwAWCoCtAFgKwHbnsFDmhMlGsmHhrs7JZM9bOpINC6bn8M5c/n8Of/iurr8IR0ZGRkZGRv56/gGnLNFoqsMJBgAAAABJRU5ErkJggg==",ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJSSURBVGje7dlNcuMgEAXgHCEgdABmov1ghQNgFweQ4N3/KrOQHAsLVfGgkmjhXtku11f6oVvd6O3tFa84fYhHyHEcR7P54Z0TpAUAIJpK4S++4lolfAB7ghE6IEMQgsRTGFawz0IkBYVdXDnB7wVoRsgcAjAzgs0JkRAksuHKhT4vzOWCzwsoFg5OAnClgjoS5lJhOBJiqXB0GYBS4RCAKRO6Y2EqE9SxMJcJ/bEQygT7nQJ+SvAAEP8kqyJ0jLDctzRB3Voy6gWzfv1XLsxpdrh1qRMCxjSnPkELzffil9dDuzA050X/ncL8UzWqXUgeOMFWVFqRth0fFYJPWoZtipU+L2zafqkWQSjACf6pd18Q8SI8EB/NbSCFoJe2VAvpSUGtf18vgRN3YioVOgCIWoi1MF3undVE9TDm69iBsB6NKe6jAMwbAAhLg0gJOu0pZyEB6GLBYkrHC8CJgejlhIWWuxaqY4Rh3ndjTvhA9LRGZvo4RQhdriF0cmqcL2ZhCCFb6KgJZTgYDsoF3zzjALj554IbSSGZEaLoAJBzVlKkdY3gNvPadbm27KynH0V6+RgYoQcQNoJEjbC5GzdbJzSth+yIMYnWvDiDYKj9h7MKunkXhduHsScQMoUycEJ/TmHihO6cguMEmU8LZn/ynELzLusZBHand5+cgRX6EwgqmxaM0DULMptY1LuD3NOCE2xuQVFCv28/SEHmLgP3FsZnToITVOYkyHdJfncnWEHtD4F9IzakmV0h3NdE1NXCMrrftKgXhOguydcy4RWvaIj/rDkUUBm9ebsAAAAASUVORK5CYII=",fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJbSURBVGje7dhhTvQgEAZgjyC0PUCj+//rIgeoGw6wlPf+V/l+uLR0dwamSzQmMgnRGH2WMlMYfHlp0aJFiz8RKg1tjFHZeC0IFgDONQIAAHO1gLFa8NVCZhJSwVcLqMsmAEzVwvVZYYjCopRSylgs0zGhTxeicwAQjgk6ETpyUUuCcmtFaPeccFqTcaJLoyisj2Hi14O5SCbB1EVZ0DtgVseFJKEPmRQK6j03BZGgug9+CjJhrW5fIVh2v5QK/CsuFDS/zeSEN7fW4C0dl1GpzgLARSLEBCyjXvcZnGNqw1gUtr8KDkREghXeUYqQFzTK4bOCFQhfxxAj9BLgaxKM4EQCRlbQMgCeFU5CAazgpMLMCJ0UwMII4ocAGMHJhYkUtBzAlRToclosvRCUMNCfRv+YFOh3YqQzNFIC9y6TCzyLBc8k+UoIu9le7Hbi9vfHOAD4krBrXNbpJIu6EMKwr9qkEbOxBpIPCQUhxPKak8ZuNwcQwm7BPm2yocViPbu8YPl9mcqnUPBkRwQA+CcTpsd25qDw0OofFfxDo35UWMwtnhZy8RuEUk0+JQw/LFDvZlp4F2M+qJHfH7rdcaAGauQFvd9hLDXy+6TavxD0yO/VaUFMHT22X6CE091JRY38mdXfnZbU2DYvSugOlIOn+4cDwlzdw4y00IuBwHRB8ibmynWDVv4QjCB9jKW6r55re/uQu1846RRYoZdOgb9nWVEicoJ2omfI3RY3It0Ptvfys3xjvd1Tw6SUjlvrOV5kwyS6d3fGmPgfVrN+r5Of0kKLFi1atGjxrfEfyzS0C+vB5L0AAAAASUVORK5CYII=",de="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAH4SURBVGje7dnRcYMwDAbgtBsYhwFMmwGcawdIex4AsPdfpYQCwWA7lv4kzfXQQx6/E7Isq9fdbot/FS9CiNIJenjCARbKTbiF4M6hAeG1F1o4B0YSXh2kc9bZN0AQn30e34AgHZ3whSEJUjUWwpCE5QtjEie+MCRB+I6lMCbR8oWi/waT/x2+cKz6BM53zCId1QvZSQQ7qhcsrw774SxN96t4lTRuipYnFBfBYv3wWw6WIC+C4glDMfMvx1q4FLPmCgUsTMVs2IKEhXNP/7lwuJXAP4uxIwAB7geJdvXUlIot7GGhxObD7F7wBVJDBQUDTVpyO4QEWjukZpSCBQ0Lgi0sG0pW3eE0ii6M7fDu0iviNaEw1x6guGDnCSRKm6iDFkczByJNmnqzVqFhoYUFS7xZgVC02x2Imjij8gqRmrTraIjvRSCI7yYgrD6jMvGeCgqL06iScysszCvR6FmPZAviYwK+vC7LF0ai0X5SBKGbbV3ojOkbFfwoiKe5jvIJhAPtXtxFIN7uuFCzhSLx6NAExRZS292jhNR292Ch5gsGFlI7CElQTyDglVwvFIp4msGNAhVsphDfKJym3azQWkObD6G1hjblQmsNbVYDwh4WJCzEz7POFWSssVWuEKtEbk/6i9E8TgRh+ffKOHu3f+RtscUW944f4vbZ6VOGM18AAAAASUVORK5CYII=",xe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAL+AQEE2ZkcAAANqSURBVGje7ddNmpwsEMDxHCHlxwGYxH14HPYvk9cDCP7vf5UsAFuwW7SzjLWa9pn+CVVQ0N++3XHHHXfc8c+EpPiQ0/H9qdBi/1JomEX+/xuhx0kD7vNdwQBaDPDjPaEBWKQD8PYdYQDAygTg3xBa2AyiSjwR+iBg5QuAn5eFgTSI+Ke6KHSwhBTYkFOcvSb0MIeZrINYrgnDKqBSVtUVoQNcfLeTMB3cFSFVIr67ozaPnTBshXUQB3u1FDooBlFLZin0ueDjLjkYRCkMubBItaKFUEwCLdVBFEIPy3YYa7t4PYhCGECvqfjAi7Q2DcyeETo2gp+YRYZF5Pc4juOozwgNoOMKcBa0TNTadi4YQAzOAKoF6Wr7qhQAxPyQFhbp8SGJFwUvVkRwIgbVpG3VjZ8i0o3jp4i043g0i5Avo0XADqmME15EpnWJOf1CaMdH2lrcV2oODaiwZ1RaYfb4zAq9ygMDiHQD2LBN96v8tWAAFvAiE7jw7sdOQ1cFAH6nVhd75py18mMhHH09WBkAFR7odQhrkV8Kod8bXDh3wrvddvvrimCARWAOB3A6jh9DYK4IPWBb0EP47wFAdUPefY6EFn5Kjwsv1XERTHkHrNTCiRh87NkDgOu4IkwqVhRYwhDm6ZLQxpuEB1SY/ieXhHR+fQGhUzKVQgfqUDDAkr5mcLuzZAJ3KEDa4UULTwLArwOhBZaYfleeJDDXhZ5wMQViuyqEriYYUOsFYnoitPUxuMflcnhH6NYbyCL7NKCD8N9RLT5im3BWmmdCD3BYzdQmlDxJQxRcTYh95UkasNIDviJ0qbHvAeKarQhNcRXcC3NFmPLLfbsXdEUY8rO73W+L490d0jAX2z0TXEVoq8JSEfrt8ZZOwiYJ4SQ+FkwhDICX7bawFYHiChO+OT0EJ9eEbnt0ztLAfEYol0Na4kp6sBeFPn6c0sZyckYoijk/ZtOjrgomVYb4w1xOCSov5vpcxCznBJ199KkmTsTYc4LNijmvB4mIlXNCXkydMqrqt8EouLzdrF3Dnhby5eBTTZycFpasmPP+cVXIl4NOj9VbQkpDm1WoKuhtMX3KqJN3hDYNqM+yUxWyYurHreAdoU8fTPb7ryb4bSl8ero9xi4Jc3q6XBBmqcWx8PKn8kvhjjvuuOOOOw7jD4ser2yVhz8iAAAAAElFTkSuQmCC",Ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAJCSURBVGje7djbjZwwFAbgbQFfCiCJC9isXMBs5AKA+ftvJQ8GbDMLc/wfRYpW45fhhU/m3Azz9vZa33EN58uUS1Lwo1aI71oBk1KwmJWCx6IUoloAsF3+pARbBLdQgi9C4oQIIBeEAydgEww4we5CIAW/CQbAxAhxExIrYBUcANwIwW5CAoB3QvAAgGEI+ZcQYr7TAADujLDembewEEIOw+IAAJgIIYdhTlgD2i/kMNwzAGY+oF4LIdhGuBGCb4SREGINzMycPG6hW7DHLXQL/riFbiG2iSCE4zN0C1UY/nBnVgnDb/LUi6WaOcG0aSAEV7cUJYQSyE9OyGPlI5Vq6BTWAZe3cmcEvwq+Ksk+Yc3lj0TXZNPZ22P0CK65e3uN6RFC3dhme43pEVLd2Y4Q9pL+SMASCWHvyy0n3XHYx9MYSKHEwMSqueSCq1Lp87HdKdR96asRIRdSW5F7e4sFcwCW7vngTgC5EL/qqi7hbAtioX3xqD7UxEJohalfSFrhmMt+wamFQxjW0dAjQCtYteDVQtQKx1yWr26p4NRCUAtJKzyGoVd4yGU9HkRCVAvQCBH4tBohAkBSCI+V9DgeroWkFQxO1ygT3LkgPC/8ubC/E18L8UKY1UKJBC3c1MKsjWQ5/8lsViOCrKhqXHNVLRacWrjchEww/4Hg1EL4p5EUTTmjrcnBQjClLoWr1ppEQtBOmCEKmpsWSjSUAm58HPZhR+difwy6HmTC9ZASCe6p8PT/6l9PgPt4KbzWa32X9RdFHhYmFcY4SQAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIC/QDbf7tYAAAKVSURBVGje7ddbkqIwGIbhnq7qBfwQFgA2C4A2C4hdLIDDu/+tzAUHI0aSmJupGv4bldJHyOFL8vFx1llnneWrP3KvGmitz3IBRmNfORYyAAaRG8C3SAdAHy4UADD9zq/XfPkcLWylWW8qVOhg1DuljhJqmFtzq1GkjhMGkdwWmkihYBDRKfdQwOMtQBMtmF1LjhLVmxmM0KrL/OtW1fATNaLUOn7q9Y0GKMMF0YBZh7eRpWMkQihgXKm5/faD2ieo9fv1+vQ1NDFCDo10V5ECepHuKkWkoMEI4yowSrY+V5iQAyIg0s0CouL6Yp6HehCpYZrf6ZgRpeY8yoyoeUpkZh4aJlTotkTrlnm5DK4pUNhG5JKX81/XuzF1JHTLdBZlpxv32/EJysoUhqq6wHXNmzFIWIJhrC7zT3Kgre5Z5ResYGg1Rjra+6UpQLCzqexoRGOs0DV+wY7osqAXsK/1fuEhHJUupb7aDzbECZO9jAYLDwlbSrbL/ckvZA8R/QODDYwmfHY7qonM6ueK2IEsO45dDZE56XkIn/C49LtuwSsoTyv4hV2nAkNVVVUZITztpRanTBXgO1lYuyRBWBaeFGFMFub5mSRgkoUpWRiTBZpkYUoWSBfKZKFPFoZkgXTBJAtlstAkC/0/IEzJwvBfCDWM77akatbj1e97val0vx3Qbm8JmrvwvH4HCB22IJmOnVmKR8G1lTme3V244E4YRbDwIuVylzDV7gXDKWiX0MvFuWi5BIVbcA0M4xTyV8Jzrw7uNat7KTy16IuVV4cLxi1wKEzauwP5PBZ6pX27IJ+wHaJf7sS+fMJGmLeFhWjkfUFq4CqJQiuJwvfB6eCzqrZDyG153Qu3wxPKWWedddZZZ72uv12GQx5T4X0IAAAAAElFTkSuQmCC",st="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAACAQn1DvYEBwgL+vzzDfj9X7HdoAAAM8SURBVHja7ZrReoMgDIWnICAgyvu/7GpXW0VACKHugnO7Af9HA54k/Pw0NTU1Nf0/da76DqjdQDgAodZaSvJXPw4EAwzMrmJD7vrOQCgAt5t43vruQCDAZ5pMgtNAGMBg98r4Fc4DQQA9O8zD3NPQi1Gu4sL5i2cgCEDZo/R+jVHvV2F63EFoZ6CCAQjrSmwnbJzsWROPDIQA6NM8f1tAJLN+MUlCAwEAvWeFdZvH0PJPBB4YCAAYPfOMnZlsXKr3DgQAaM88mjN7JeZD1ACA2SJqBgBYVDWABnD3KWBI9wBYGukmBGtE+haABfkWnOxAgRSSHwBL4Diigg1A8YTwMwj1hAdzXSAOzwskxvqyJDOSSOvDc0NeGAeMl2bHfdFZUH1xev7Ks+HhVw5QEAiyATSABtAAGgAUgGtFzY0A9Pgl+ToAd+qCXwdQ74rQTQBbWkrvAngXdu4GsOYMcJW0z6gAiwvATEdihcKJdIYVA3zSYkac4vtaeCcRAOKU6kt3YJuAHqrV4V9hdnPaYoDXFry3fZ3QRHbAOBFTDLC1CD4EYojWqgchEYKQnZ090XfchK+4f5WM2PcAFusjCPcpan2MXILHCaPr5jAlB/GQVLUAjBtZwe7s1aZA/cAcnOeEsFQ0JPsr1lz1iHEBhvNUNNjDN6yCJ5y9/aJAD19UAAg4ALXIZ/jT9WKc37ZV4gOQtCO/kIvKPjwvSDRBE4nXE+EAiVuwfaxm/Mwo1Qf+XVJLhdRsSvwRogehBMCktiK6iE0rSk4TWzYi1mIry4713QBkuhkgjcBUBOjMdfOSRSNWlFZIrvdARgO2GKAjF7brlTiE/gvjNd2SEIJ99JYqLVJFLM/mFkMNhQUFINyw2FySiH8oyst0vhXYMmwGiczRE4IB4LkUdy41GKcUD0AEfEA8azR4AOFMIfKySnWIANxXilhTo8sjigRwfltIOjLQBLeGBZDqTw4tc0yA7GLh2CEDpJpE7w+AAkCy6hMDPkA0Cz2HgMEHyCQg+AB5BBPBB7h+UVrtJgS9JaAVAB7+JOOVnawBkFUv5DUAshBEFYBnyZLlXQfYAOuJGKlKeOYMAGhqampqamr6rn4B+pGIWV4OTWAAAAAASUVORK5CYII=",at="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAICSURBVGje7dfBccMgEAVQJ6lgkShASVQAwRSgZChAgt9/KzkIHGMhsTjJwTP8iw6eeV6hhVlOp5aWlpaWlpaWR80TZSPOcOrnYeBU/IknCAsAKj4AAKpKGAEA3iaPGmH909tMHOHNYj+OIbzjMENREMdAWMsjYSwIc0kolVAW+pLgSoJEkVAHQmfBidoVevDi9wRhmQKmHYFbAuB2BAt4rbU2AAZz3JhZQcSdJwFXKEhlhS5uPAnMRMdtlRHEGQCRGIgkoIhMrWABeBLwRBIYCoLbCuO6xB2gSAKl5twKInwkGYRSDctGkAC0/rjUUL8OJp4c1t/5LYAl2Z6+th+eL2dw3ODqeI9suvolHqDMI2Lb1S9AOOIWnjDtCT0cT5gzglrrv1d4CitpuILLCH7dncu9ggEmEnYthSFsu7oH4ADgK5xR1esgUJdpZ3fzkzsnTQ3gs2e1rhCW4wmE8xK/FT4LU5BhAL8S5vIkJv9bKE9i1P23wJlp/04Is3gY0Cum4svnfL2+HQw1wnipV1s9EAkNPUR35ggSyVUirYwl9Em9N67iCF3cwncLIqn3pjLeLSkrdDWCTa51SWWOJ5icQDXCeF1vKsw8QWYFUyH0mXYIAvPO22UFWSGITEMFgXtzt9t2WCvzXGFEMpr9uBNXEJmXIBL6g/aElpaWlpaWlkfJN20RytUF/gYEAAAAAElFTkSuQmCC",rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAH2SURBVGje7dfRkYMgEAbgawEIBUhCAdwNBZgZC1D5+2/lHpIo6C6S+JSZ/d/imC+wEF1+fiQSiUQikUgk3xzFRTunajkSfgEA0zW75K7vCB6vLAOJQN8urACAe6eUUgZAahYiyiSnlAWA0Cho7HP3ANA1CgO4NAoXnBU8L6TQIhhUkloEWxMwNwi+KqwLygt1YB0EK+gDAYeCPRL6I8GjcRqfC+lIwGHCCWHyWSE4obojg8kKwQm6vpBZIU4Iz0J8JPSXbEd8JBQ74oyQTguPQnCCbRH608JcEzxaC3FKQKgITQB6XjBtwswLuk1IvGDbBARWOH5CLYVghPUe7rXnX4WgBQ2grwnds9aJEyKAwM9kCkt7EhhhANKugym+r5QZHoUgBQ1gZPuHMe8vZlqIADpqT7g/AFPe4yRSeLVrRB+mhkwwABAo4fIc6rDvBVXM3rkqAugJwQzPf10sf37RQ37nTAjx9eywADA657pyhl0+2rQX9PIE1Hnls/KNxaedYIb1hUYJtrik98Jjn4R1ucb9Q3zKF347Cz3kzUUkBLVpzDf74VY2i5YSfLacpeDcbduwakqwZVO8Cp5omg0laO6Esmyejl26pRBjTbiHzZxH4twyk0IEANfVFn/ZiFP7OUtTwlunReO2o6oIEolEIpFIJN+WfyxbbKJz9FUwAAAAAElFTkSuQmCC",et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAIBAv4j5/CkAAAIwSURBVGje7ZjRkaMwEEQ3hZFwAGitALg6AsAuBWBM55/Kfnh9xwI9M8DXVqn/9ZBa0vSIj4+qqqoqU7JQEomfQuQhZIgE3I8TGkAkAN1hQv4mPA4T8E0YjxLCmzCdIqQrgDOEl34zoTlLiOUsof8HIIfSIvxfAzAcIpTpCgC3AuB5hPAXrRRgkgbsUOqECIhkYJRIjdAJPd5zCNQIlRABjA0AtBnMCJUw20l+IjRCXALQ7iSsprBZphTCegqbZUohXIBJLqYRCqEA6LJpBCdEABhsIzghAMBkG6GsAlvaRei3CO3eu9nYJ8IgRPtEmBXGNMIi9KYRe+rkthEWwTbCrPYrI1JKKR3Mix9Tad2EBkR3d+rBQNjJWyhicBJ6Snjlx570X+m5twPZXoevG2Sa3B2p5oSDcIHqhIMQ9GV4enuFgNb5OuB6uAiaEaOLoBkBF0E3wkXQjBhcBM2Ih4ugGTG6CHKewIzIwOQjECOeGYCPEMilsAkxXdU7YRK04cBdTEK2AFJ0gg5o37vMCb02/ta904jvZjDHv4KAnygaVbf045g8GaGZf4spazerzNKZKWr1oaFPu2UedoTQ0wfqItUnVuU8U4harW48U+i1vOjpX5eFCzSzCv3zs+htBkKI5Fm3LlssuwP92bAAPFn/cKG/jhaFs2MEy8hQZs3cJiGrhD951gNxwvZWxDQvnB0nwKVWThIGOUnQe3t7/Njp74tkqbVeKFVVVVVVVVWGvgDEAKn7LjQjAQAAAABJRU5ErkJggg==",Ot="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACABAMAAADe0hfGAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAIzSURBVGje7dhRcqQgEAbgZPcE7TgHoCoegCQewNRyAIT//lfZBydVYHcrHTJv/o9M+ck0tFK+vFy5cuXKYV5pn4GIiHw9+BEAAMjvRHQijFiJKMCV6ON6APg6FQIy0QBEGQDciTAAIJoqYS4BrCfCBIAGlMKIOu5QGACApkoIO2E5FEYAGFAK+ykgHQoBAKZKmPdCPhKK+30LA1iOhIkLo0ko7xc52iBMghBMAgQBFmEEgPVWCYNJCNu2n0vhxgF9Nbeq06mwqsJ2pXvULqqLqe7qxz9On1Ud7lxQO2u38EkT1O7eF10V1CfMvVFY1KdcaBD+IXnShBuQqg0oCY/qysIdyPXS/UCAn06E9UyI4URIZ0KdnwnfG1IR8pGwdVAsGskJczsStv2wFKvhrcIbgI+yOSTBHwn0+Xjd1YtvEW5A9XaRhOVMqJIEIZqE3C1AEJJNcN2C50K2CYvQLzYhdgtJEFy34E0CniJEm+C7hYULq02IXEg2Ye0WEheyTchcgE1Av+C44G2C7xbiM4RoE9IzhNUmQD6gacKbIDiLIAHwTMiqIAJY+NlGEwYRQGwXJllYueBlQZkCUrMwKgKahbldiLIQNME3CloZ2oWbKkQmJFEYu4W7KqRuIfOfjAL6hYmNOKMwsxFvFEK3wLN0C/ESLqFI/57sF6zdzZK7hbVbWJhQf85uKcNemG2AcI6yAXBM+GufQp/guPDHBHyRcLYPZmAvjM3X53eShCtXrvxq/gPpmvU6il377QAAAABJRU5ErkJggg==",jt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGDvvxBQz99AcIAgn4+vMHRevv4AAARBSURBVHja7ZrJoqsgDEBfGQQERP7/Z1/HW4YAgaorsrMqOTUQMvDv35QpU6ZMmTJlSiy3Y4RQ7xmH7owAlEcryeIfIg4CqIxWEvl8xatjANhrNILXv77e8OuhABRtBE7fAPpQAHA4ULQ/B8AbnH7jzwKwOAB7GkA4qw3Z2MfUwungzu7PA2Af7avwiVC3ZI8fD/Baisp6UKh+rBPlzwSQ/GacLwrVfz7oJACvdXAh2aa1tuF9uflzAb7iyHdV7psEnzkRwKY+QbErARjkkhZ6FQB97zF80Y4xZj9OgLuLAF7b4hKoo2+LsGsAHn9YpZ7I8nAXOhfA8dsG+AB1M/KiSUgpuOjElcvw7f81Uasu3j8ZgC1/EdAqrweQCg6CrgIQaYC4XwzwHNo8YhLhCK8+dQ6Au1vehq6Ry4vngNPhWmRanGcCQqN9QBFajki8VYuozJQRABIpWJOgK7fMNy2BCXoBYv3+OWAZgKQmywk6AVKnv0SJRyZbkJm+/cX+E0AW/97HM6IyB5bsHbr/AADF37UpCN5OCHoArD9EYoIOgIP0JwR4gLZ+6bQmi9ZOtghUPwAXjUHFasJUldWfJr0ALf1uz6oCFkeAA2joF1D1KQ9UQQIUQEO/LVWLNgQBBqChv1IuI+33EAD7sP4GwYYD2Ou+bm3UaKu2wwA09LsgEJXQorANghaAqesPqpVRGMq+VUpZJ2gBWKxDieMShjSC31sAS935QgXZNPqrfQJqUH6AJXHen5hCMhLVkc33eZv4L4V0RKwZ2ybWXltV46+dUADOF+xbWHKy9IQbBNBVAPK3D7KkhEtWU0sp9CCAzxz+x+QqJtyypgIdBEiWQrz1hn/ZRmX8rEtj8pAaB7DXvC8NftnDKj7PAAjwR3DxQNH9vu3KwuZQdGEqUW1HQMKAfCjqSG2vD0CDRsbzQlamgOgA2Co78Gu3YAtX+lut+VyQvN8X78ZIgORVhijHAM1FB8xBbEwI1CZh01IXefrKGngbEhkVu9o0DL4B4/FFZQqyrrCcVD/BPQanr55BdlH+AKQvL6ga9/lEuDVyZZqVHd6XGdm+ULDU8s6tiAVQ9SS73T6lBSOik1PWKk3WRZRiKTQAqcTDPe3bsdwQ+g/Y1jFc2hmoDyg/TJCH1mqkQpKn/I4P6mdDJRogRxGIIwQcqFWYsSLVCsT1zZMkQPswiqu7ynRQ3YVVPwLY2mbDdUI4UbRFBK4pmA2NV0oLdWkLusXd0lL1dLxWvJaSxC3ZH9UmcQWF3mp5JVtmVpNHAkjiIwQN59HdLxisl9KVws6rv2MyRCD2e5wiPSNH9IzeBETj9VcOXQ0d57vvS+4+6XaGU89qscNvBxoX2VYv687y1xOVpFFEFi1f/fuRzpK/eZ6kaAduh5wpXTbgO4htwbx71KHWezJo2RvjeZAFGzLOc8NTpkyZMmXKlClTpkyZksp/8EESW03DelwAAAAASUVORK5CYII=",xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAECAr78gcFBg388Q758wj20ggR8AAALKSURBVHja7ZnZdoMgFEUbZgRU/v9nGwcSwYsMMV19uPupXUllywEu0J8fBEEQBEEQBEEQBEEQBEEQ5N/w6IRQxn2AM0pKf3CngJDvtt9wKf5GQDGfg6nvC+jBXzHo7woQ40sY0itgyRNb6H5XFPBjl4CV+7sZeukgSl3gVFcE9PBmjmbefns0vQ5gnQlCtQnY5LXMBI2+Z+eunUMuYqAhKN0iYE/d6iao/WBmc/PQrePPjsvPukEAiPVkoPcP5PqbBDuBrR007Y/T1QJgqImBSlrJI1/fVJUCNryNk4pnDIRL+znDKx3DeaKaFXgpLy1yeD4ZYKSB61QUjakTCA/ncVcfU0xCcmHVilj8Z583zQnYyFd6wEC481I3n6vAMgATU1EhQI7NTUlTm8GYNKXgmbN0gcuvymWB58A5PXQxEP6cgAAmzgy4iiaBzNI2AsVGQpU4HUNxF3QKPJdfV5cAmIGz9YMwW14qE4Az0OVpOPg2WCaBbR4p4NsFAXoqqNNlzde5BLYhlwZWFhDnp6grAZtLYKtUaQaktRjxx7VAPgE4A1oWiLcDizHrSwDMgFXsB45L7fzI93BIID9x5Nne1GzJ3jvNdeHghQR0fsoCn1ZtSu18CEyX5sBFQuLcP5XbcjEPflxX7sl3JwBm0Hwy0r47gW0OJZ+HzUL90UxDO/1uaBhcDWfD+Pw1Pe4Q8FPL4TTal5B7BETT6fhoYNSfR1A8ADZhlkEoGu8HRn8j+/mgReDW9kM5aBDQ/mbmNoHJ345qEoiK7UBLtzbwGU2adG/atRTn77wa77PmBoHhuCX/aAmYozJZK6CL110Nd4rHnVmtAIsq24eMh2NTpYCFj7ad2HeetcVIVVxDdIVAKwUodLD9gFdVY5UCDL5f+XwUmEoBHi2fd2bQKkDvESCtAprukHsERHgexf+OIQiCIAiCIAiCIAjyz/gF0u64To/v8lwAAAAASUVORK5CYII=",pt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAMGSURBVGje7dhBupsgEADgd4SKui9f4r7Esq8vZV9F7n+VGhAEZZgxb9c6K2OS32HEQf34uOKKK6644n+Jah83ZWw8Kyi+lYW78THzt4QNgImiwEwc0xuCSgQjTgtNChh9Wuh2grGVYH1ckLovCGwPuErIpah+PLdl5y9YaA7CvAq+JDbJP7BwGIQbhgxb7hAFQR2FIQhTGCUsHMvgCiF9Oh0m1BlBb8Lkc/wBCm1GmLfyzP4I5wQT7feF/g4KHSDsRwfPKJkTxKHC+rywO8vjG0JaII4ID3/AdUPsJ8pUlQXtD+g3xL7G/C0hqsRnhQhzmD/rhhOYJ57FDqOgSr6if32rRblH5QB7cYYUsS7n//Q7Ofvx15wmzMtwBpUVBDEH3szb+Rvja58qTJVgx1E04UNZsOm7buRGMsbXPkXg0v7QnkeZCB0u2MxFG4QqFVRYw0DBNpKhsXNAvU6JTBY+QxWWP8+2bIM7Hzr+liKIZV3klahuj7Ut6LiJUgQ76+7ztgjquHlQhHV11TxNfJ0sRCH0hViozwidvyZjoaUIbbLIjckJXHvHKWHyY48XZaKw/XgT2i8L6qtCY74qKLpgYoF5oUnbDV2ovaCIgswLPFrzKAKPBJe8uO+Xn7IgIqE9rB4UYTgIh9tsRBh93abcHUlFEKboylLZu2xM0NHVnb09LQlqTdR3mOMt7ogIvtzNWrQWupdAhNFN5jlXSE4SdFidDFBITDB+hazzj0wEwRUiV4YBEVg4ErMJK6gMoFBvE08tTA2WAReGZQAi86gwYUKzHasxnMF3lqCwVW7ozHCHBwEK2Sec7IsASJCIwFFBlQGNPvszJIUBFeoyMOPvH1pyCpAgySlAQjkFgQsNcS7AQnEQuxdTWYGdSCEvdNT5CAnIZNi9l8oI69PkDBOfZeHmF5TCWDQHhWgAubaiJdqjunjeHZJ4xhMF6LQy8/IqxCPZJRDBFetnPJFE8tCOCQ/fJ3r/njbskRThyatC3FRJuPV9/6iwYMuveqCSV1xxxRX/avwF3HyWGo6xlhQAAAAASUVORK5CYII=",_t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAANlBMVEX///8AAAD///////////////////////////////////////////////////////////////9TvwflAAAAEXRSTlMAAGDvvxBQz0BwgK8wIJ+P3+rdXCMAAAOdSURBVHja7ZvbdqUgDIYnHAQR1Lz/y86FtRsQIirYrhlyx+qifEKA5Cf7z59u3bp169atW7ejQWSMIwoJVyzd5SbAgIiI6sr4mS43AQQiIiK7AKC2LroqgCgfX289cKwKcPievO09TF2AqXR8i20A0BUCzK0A5rLxHbYCwLKzYGkHYErGl7wdAC+ZAoPtAIoOo7UlwFpwC2BLgIIpWNsCqNJTuBXA6XksWgPsV5Jji9j3m5qMTk1AEwB0AOBGhZHxaQhO4XYAM+gZk7Ya6bA9AE6YNa7eALhgHaADdIAO0AH+RQA+asaJIWc9qKYA4yHoCG/KxnnBV26UB2B0IlMBYAhyv4MtYVzcAGC14BThA0MQlTXZBZx2fN7Pgf8NQAgh1E8BTGwXjeyoXgfgJhQr7PwuwHTUSrR6D4AnZQI5vwXA7bk81BIgO36cHLcCGAh9YnoBYCkUCZtdRrRWODYHOFNLeX2AcH+fiaULsVr3AEZMiVTnjwUJWfEWAMNLKxBGjNGOvQNgowjI0wnHT/A32YzLcPcQwMURmE7P9ZrzWSUfAcjDBaPToizPnUWB01wHOEpyOn3mzPkLYX4AkLjjdXJ7+Ett8nfiVQCGJEAmAzHpfOkGwIAnAN9esEoSAO0tAMszAMy4yOH3T2TGJQH24+ASgEynQBqWz5K70NG3vyQA9s14BUBmgm0NwvvkJVgWhYgsCfBFcAUgp4lvALvTyWCfbX83aeXiIsCMWYDJO/gYxg2bAcDlEgDDPAD7fPWXn3oNDjkAZBcABiQANu8Ug7Rm99NPw+QBUBcDSE4BENODqyQAuCwFIFQo1JGD8Cne7ybft3gGFA3g3QLKhQ0KQMibMWEQ5mx73i3rlh8fGh7AMXiqBwAAoP1gx2u8BnBaP/BTAHM+hXoHQPwagKpLwMvzAt4EQGBpOZUj0vgHAHNxbjgeArEqACx4MSiqIeFQE8BhMgClSKeqAF6OTrqhXKmCmycADIm1TflKYgUeAXgxAiHSMFpKegLg37JKFlRRudoAfpiUUQqXMyHjEUAYiSX+v1VRbFYbIFQe1sjJ3YznBVcPAaJYlS/fZ61jZWLmQ4BEuqqEEELw1ANqCwDq0TarC1UFyKTspeNXAAC7no5PFP9WAAB58ojHqZrLGgDbTwfyz3hk9XUdAJAmh7AOdM9KAADSpFxhGs76VQMAALuosKByLCh9rwkAAKCZ2WywZR36z3e6devW7VfaX1RWEFui2iCPAAAAAElFTkSuQmCC",ht="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAALZSURBVGje7ZhtcqQgEIaTzQlAPACV8QAu4QDOFAcYwftfZf1WELsb/LG7Vb4/kpo4PNJN0x/5+Lh169at/0SfjHFlrJJslhq1flwEER7dqHr4Hv/pZtl6WlmoziqYIJY1/ZLvbqfnAJiITkKEclnh5KPzZBnTyzOIoNcVrgtk1/11EiB0JDUIwRqM8D4nfE0+LM4Xv4YfLUwYnF6drLdyfGZRAj91QP+wpBDOttCfI43AgVOgEapzgqMQag6GAkL4NXynhAgWOYsholo4oKSGCRqN6Dcck5/V5XshSATobnIKAMwPTBMILUigmNGABDZkZq5+QCNgwiweMceqeoA3NEKQqncZH6sXO/mZ6kmtOHuJMwCZsLvmT5ZHYGYrN5mExQ6ZTZg30bB8gljyazaBjSnhEkFHvJBOYFcJ9q8QuOr3rlZPphOKLRDFGk/ffWisTR1CKLbqUsxZbe2hflMIkWRbs4d/xWACkmtrlCDQVI8RDJ6pYQIn1BuYUFLKBaVmvWL+fOrlcHGCi7WUbjGRYoWNEewU48NvvG662KG6LUQhwvzuV+xQZ+e8kXjAz6JGCHgDgcUkGhAWIxRoM4feTYIbEm63mhW4ASGI4B4Gf2rTclQbdgEzFMmTOkgnfs6gZNr9nmXYDrWkbG/8o/NCRJIIlR8+EbMwAvffyY+Hg1Y94y05+IVAEJ7nqsPpEmq3Z7gOyg2JUO3PX4d+pBB4fA9NQgdidpaXoR9JBLF7LQ/9SCLwLaLk6pUmqY8aV7m+ExL9m5UOGlMKoVjsNt3il3diL2emm/yYgiBoTEmEclzzmM0PJgQSYQuJVhwafFpHusbl9N8ll97TinDQTe+K/eIrMwhlWOuSCbw7JqfE3l6HSf7KxNpmzhcm7secmdflzjg87secqVlenZrbC5Oan+RzCNXlqZlHB/ekedNcnppFxI9pBB4zIonAqqMfEwm8TiLcunXrn9EfdCAUTiCcYbAAAAAASUVORK5CYII=",yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAACBBAMAAAAVjsRjAAAAElBMVEX///8AAAD///////////////+k0Pl/AAAABXRSTlMAAECAv9KsvScAAAG8SURBVGje7dhNbsMgEAXgHCGAs6+VZl+SeF9XYl/bvPtfpQs3iQ0MzJRVJd7KipRPw7OMfw6HlpaWlpaWln8Ylc15AAAs1+2PR76g1/8DgLdl4YRrOAC2sQwBIzHAmi+G4MkBdlNkhNcQ0QAAgL4sLL/HBsksZQHr4R1ExrJglVLaUQB8zxEMMpmLwkSv4FVmVpiHPICxJBTjqwXYamGuFkALA7jLIIR3JoCZEAwXgCcExxaQFjo+AJsUBoEwpQQtALCkBMki4FOCZBFAShABeIsFIxM+YqGrFi4y4TsWHADPd2JBrztk93ehqxYuqF2FQ2WTGrWCqRZO1cJQLaBWENeAz0AQ1xBdWUO1IAbCPUpeQ7hPymsI9+qLWAjvF04s2GqhDwTxyYzu3Z24yFAQ7w5TdPeXDpF4CjoLi0w9gejbXVAk9SRmbo5ZZO5djzPKlH9b1Jwis4LhFJkVnheqpxbkFVOYlFLqlih3KQjPi2R8naJ7WCRP6Hc/b4axBWG7WprmCEso7OiMYHZFkjRHsAGwpzPCKV1kSDOEqMgnXfqK8mh8pgRfEhxV5J4WfMkh6OOhpaWlpaWlRZofI0qwfBNtipMAAAAASUVORK5CYII=";var Lt=c.length,on=u.length;const Ht={generate:function(){var vn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$t=vn.prefix,Tt=u[Math.floor(Math.random()*on)],Wt=c[Math.floor(Math.random()*Lt)],Ut=l[Wt],en="".concat(Tt," ").concat(Wt);return{name:$t?"".concat($t," ").concat(en):en,image:Ut,animal:Wt}},getImage:function(vn){return l[vn]}}}},r={};function i(a){if(r[a])return r[a].exports;var o=r[a]={exports:{}};return n[a](o,o.exports,i),o.exports}return i.d=(a,o)=>{for(var s in o)i.o(o,s)&&!i.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:o[s]})},i.o=(a,o)=>Object.prototype.hasOwnProperty.call(a,o),i.r=a=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i(598)})()})})(uHe);var S7t=uHe.exports;const Dde=ls(S7t);var f_=(e=>(e.HTML="html",e.Slide="slide",e))(f_||{}),cHe=(e=>(e.Markdown="gfm",e.Go="go",e.JavaScript="javascript",e.Clojure="clojure",e.Dart="dart",e.Python="python",e.Ruby="ruby",e.Rust="rust",e))(cHe||{}),Yk=(e=>(e.Disconnect="disconnect",e.Connect="connect",e))(Yk||{});const A7t={mode:"gfm",preview:"html",loading:!0,errorMessage:"",status:"connect",headings:[]},T7t=/(?:(?:(?:ftp|http|https):\/\/)|(?:www\.))[^\s]+|(?:\[[^\]]+\]\([^)]+\))/gi;function D7t(e,t=Number.MAX_SAFE_INTEGER){const n=e.getDoc(),r=n.lineCount(),i=[];let a=0;for(let o=0;o=t)break}const u=s.matchAll(T7t);for(const c of u){const f=c[0];if(f.includes("(")||f.includes("[")){const d=f.match(/\[(.*?)\]/),h=f.match(/\((.*?)\)/);if(d&&h){const p=d[1],[g,b]=h[1].split(" "),m=b?.replaceAll('"',"");i.push({type:"markdown-link",level:a,text:p,url:g,originalText:f,alt:m})}}else{const d=f,h=f;i.push({type:"markdown-link",level:a,text:d,url:h,originalText:f})}}}return i}function Ide(e=Number.MAX_SAFE_INTEGER){const t=document.querySelector(".CodeMirror");if(t){const{CodeMirror:n}=t;return D7t(n,e)}return[]}const Uae=f$("doc/activate",async(e,t)=>{try{const n={apiKey:""};n.apiKey="cbovg64qfu96agb5i0fg";const r=new x7.Client("https://api.yorkie.dev",n);return await r.activate(),{client:r}}catch(n){return t.rejectWithValue(n.message)}}),fHe=f$("doc/attach",async({client:e,doc:t},n)=>{try{const{name:r,animal:i}=Dde.generate(),a=n.getState().settingState,{userName:o,userColor:s}=a.menu;return await e.attach(t,{initialPresence:{username:o||r,image:i,color:s||c_(),board:"",selection:null}}),t.update(l=>{l.content||(l.content=new x7.Text),l.shapes||(l.shapes=[])}),await e.sync(),t.attached=!0,{doc:t,client:e}}catch(r){return n.rejectWithValue(r.message)}}),jae=f$("doc/create",async({client:e,docKey:t,init:n},r)=>{try{const{name:i,animal:a}=Dde.generate(),o=r.getState().settingState,{userName:s,userColor:l}=o.menu,u=new x7.Document(t);return await e.attach(u,{initialPresence:{username:s||i,image:a,color:l||c_(),board:"",selection:null}}),n&&await u.update(n),await e.detach(u),!0}catch(i){return r.rejectWithValue(i.message)}}),dHe=y1({name:"doc",initialState:A7t,reducers:{deactivateClient(e){const{client:t}=e;e.client=void 0,t?.deactivate()},createDocument(e,t){const{doc:n}=e;n&&e.client?.detach(n),e.doc=new x7.Document(`codepairs-${t.payload}`)},detachDocument(e){const{doc:t,client:n}=e;n?.detach(t),e.doc=void 0},attachDocLoading(e,t){e.loading=t.payload},setCodeMode(e,t){e.mode=t.payload},setPreview(e,t){e.preview=t.payload},setStatus(e,t){e.status=t.payload},updateHeadings(e){e.headings=Ide().map((t,n)=>t.type==="markdown-link"?{type:"link",id:`markdown-link-#${encodeURIComponent(t.url||"")}-${n}`,name:t.text,level:t.level,fileLink:t.url,linkType:"markdown-link",alt:t.alt,originalText:t.originalText}:{type:"link",id:`heading-#${encodeURIComponent(t.originalText||"")}-${n}`,name:t.text,level:t.level-1,fileLink:`${window.location.pathname}#${encodeURIComponent(t.originalText||"")}`,linkType:"heading"})},setErrorMessage(e,t){e.errorMessage=t.payload}},extraReducers:e=>{e.addCase(Uae.fulfilled,(t,{payload:n})=>{t.client=n.client}),e.addCase(Uae.rejected,(t,{payload:n})=>{t.errorMessage=n}),e.addCase(fHe.fulfilled,(t,{payload:n})=>{t.doc=n.doc,t.client=n.client})}}),{deactivateClient:I7t,createDocument:R7t,detachDocument:M7t,attachDocLoading:Mq,setPreview:VL,setCodeMode:O7t,setStatus:X4e,updateHeadings:J4e,setErrorMessage:L7t}=dHe.actions,B7t=dHe.reducer,P7t=Object.fromEntries?Object.fromEntries:e=>{if(!e||!e[Symbol.iterator])throw new Error("Object.fromEntries() requires a single iterable argument");const t={};return Object.keys(e).forEach(n=>{const[r,i]=e[n];t[r]=i}),t};function KL(e){return Object.keys(e)}function hHe(e,t){if(!e)throw new Error(t)}function pHe(e,t){return t}const Rde=e=>{const t=e.length;let n=0,r="";for(;nr===t[i]).indexOf(!1)>=0)&&(n.current={v:e(),prevDeps:[...t]}),n.current.v}function N7t(e){return e instanceof Object&&!("styles"in e)&&!("length"in e)&&!("__emotion_styles"in e)}const{createCssAndCx:$7t}=(()=>{function e(n,r,i){const a=[],o=Xze(n,a,i);return a.length<2?i:o+r(a)}function t(n){const{cache:r}=n,i=(...o)=>{const s=BN(o,r.registered);kfe(r,s,!1);const l=`${r.key}-${s.name}`;e:{const u=o[0];if(!N7t(u))break e;Z4e.saveClassNameCSSObjectMapping(r,l,u)}return l};return{css:i,cx:(...o)=>{const s=Rde(o),l=Z4e.fixClassName(r,s,i);return e(r.registered,i,l)}}}return{createCssAndCx:t}})();function z7t(e){const{useCache:t}=e;function n(){const r=t(),{css:i,cx:a}=F7t(()=>$7t({cache:r}),[r]);return{css:i,cx:a}}return{useCssAndCx:n}}const Z4e=(()=>{const e=new WeakMap;return{saveClassNameCSSObjectMapping:(t,n,r)=>{let i=e.get(t);i===void 0&&(i=new Map,e.set(t,i)),i.set(n,r)},fixClassName:(()=>{function t(n){let r=!1;return n.map(([i,a])=>{if(a===void 0)return i;let o;if(r)o={"&&":a};else{o=i;for(const s in a)if(s.startsWith("@media")){r=!0;break}}return o})}return(n,r,i)=>{const a=e.get(n);return Rde(t(r.split(" ").map(o=>[o,a?.get(o)])).map(o=>typeof o=="string"?o:i(o)))}})()}})();function JD(e){if(!(e instanceof Object)||typeof e=="function")return e;const t=[];for(const n in e){const r=e[n],i=typeof r;if(!(i==="string"||i==="number"&&!isNaN(r)||i==="boolean"||r===void 0||r===null))return e;t.push(`${n}:${i}_${r}`)}return"xSqLiJdLMd9s"+t.join("|")}function Q4e(e,t,n){if(!(t instanceof Object))return e;const r={};return KL(e).forEach(i=>r[i]=n(e[i],t[i])),KL(t).forEach(i=>{if(i in e)return;const a=t[i];typeof a=="string"&&(r[i]=a)}),r}let U7t=0;function gHe(e){const{useTheme:t,cache:n}=e;function r(){var s;const l=Zvt(),u=H7t(),c=(s=n??u)!==null&&s!==void 0?s:l;if(c===null)throw new Error(["In order to get SSR working with tss-react you need to explicitly provide an Emotion cache.","MUI users be aware: This is not an error strictly related to tss-react, with or without tss-react,","MUI needs an Emotion cache to be provided for SSR to work.","Here is the MUI documentation related to SSR setup: https://mui.com/material-ui/guides/server-rendering/","TSS provides helper that makes the process of setting up SSR easier: https://docs.tss-react.dev/ssr"].join(` +`));return c}const{useCssAndCx:i}=z7t({useCache:r});function a(s){const{name:l,uniqId:u=U7t++}=s??{},c=typeof l!="object"?l:Object.keys(l)[0];return function(f){const d=typeof f=="function"?f:()=>f;return function(p,g){var b,m;const v=g?.props,w=t(),{css:k,cx:E}=i(),S=r();let T=C.useMemo(()=>{const M={},D=typeof Proxy<"u"&&new Proxy({},{get:(N,O)=>(typeof O=="symbol"&&hHe(!1),M[O]=`${S.key}-${u}${c!==void 0?`-${c}`:""}-${O}-ref`)}),I=d(w,p,D||{}),B=P7t(KL(I).map(N=>{const O=I[N];return O.label||(O.label=`${c!==void 0?`${c}-`:""}${N}`),[N,`${k(O)}${pHe(N,N in M)?` ${M[N]}`:""}`]}));return KL(M).forEach(N=>{N in B||(B[N]=M[N])}),B},[S,k,E,w,JD(p)]);const L=v?.classes;T=C.useMemo(()=>Q4e(T,L,E),[T,JD(L),E]);{let M;try{M=c!==void 0?(m=(b=w.components)===null||b===void 0?void 0:b[c])===null||m===void 0?void 0:m.styleOverrides:void 0}catch{}const D=C.useMemo(()=>{if(!M)return;const I={};for(const B in M){const N=M[B];N instanceof Object&&(I[B]=k(typeof N=="function"?N(Object.assign({theme:w,ownerState:g?.ownerState},v)):N))}return I},[M===void 0?void 0:typeof M=="function"?M:JSON.stringify(M),JD(v),JD(g?.ownerState),k]);T=C.useMemo(()=>Q4e(T,D,E),[T,D,E])}return{classes:T,theme:w,css:k,cx:E}}}}function o(){const s=t(),{css:l,cx:u}=i();return{theme:s,css:l,cx:u}}return{makeStyles:a,useStyles:o}}const j7t=C.createContext(void 0);function H7t(){return C.useContext(j7t)}function e3e(e){return e.charAt(0).toUpperCase()+e.slice(1)}var t3e=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const h=a,p=function(g){var{children:b}=g,m=t3e(g,["children"]);return C.createElement(h,m,b)};return Object.defineProperty(p,"name",{value:e3e(h)}),p})():a,u=(()=>{{const{name:h}=s??{};if(h!==void 0)return typeof h!="object"?h:Object.keys(h)[0]}{const h=l.displayName;if(typeof h=="string"&&h!=="")return h}{const{name:h}=l;if(h)return h}})(),c=r(Object.assign(Object.assign({},s),{name:u}))(typeof o=="function"?(h,p,g)=>r3e(o(h,p,g)):r3e(o));function f(h){for(const p in h)if(p!=="root")return!0;return!1}const d=C.forwardRef(function(h,p){const{className:g,classes:b}=h,m=t3e(h,["className","classes"]),{classes:v,cx:w}=c(h,{props:h}),k=w(v.root,g);return mHe.set(v,Object.assign(Object.assign({},v),{root:k})),gr.createElement(l,Object.assign({ref:p,className:f(v)?g:k},typeof a=="string"?{}:{classes:v},m))});return u!==void 0&&(d.displayName=`${e3e(u)}WithStyles`,Object.defineProperty(d,"name",{value:d.displayName})),d}return i.getClasses=W7t,{withStyles:i}}const mHe=new WeakMap,n3e="getClasses should only be used in conjunction with withStyles";function W7t(e){const t=e.classes;if(t===void 0)throw new Error(n3e);const n=mHe.get(t);if(n===void 0)throw new Error(n3e);return n}function r3e(e){const t={},n={};return Object.keys(e).forEach(r=>(r.startsWith("@media")?n:t)[r]=e[r]),Object.keys(n).forEach(r=>{const i=n[r];Object.keys(i).forEach(a=>{var o;return t[a]=Object.assign(Object.assign({},(o=t[a])!==null&&o!==void 0?o:{}),{[r]:i[a]})})}),t}function G7t(e){return Object.assign(Object.assign({},gHe(e)),q7t(e))}const{makeStyles:da,withStyles:N0a}=G7t({useTheme:Df});var YL=(e=>(e.Connected="connected",e.Disconnected="disconnected",e))(YL||{});const V7t={me:null,peers:{}},vHe=y1({name:"peer",initialState:V7t,reducers:{syncPeer(e,t){const{myClientID:n,changedPeers:r}=t.payload,{peers:i}=e;for(const a of Object.keys(i))r[a]||(i[a].status="disconnected");for(const[a,o]of Object.entries(r))if(!i[a]||i[a].status==="disconnected"){const s={id:a,status:"connected",presence:o,isMine:n===a};e.peers[a]=s,s.isMine&&(e.me=s)}}}}),K7t=f$("presence/update",(e,t)=>{try{const n=t.getState(),{docState:r}=n,{doc:i}=r,a=e;i?.update((o,s)=>{s.set({color:a})});return}catch(n){return t.rejectWithValue(n.message)}}),{syncPeer:Y7t}=vHe.actions,X7t=vHe.reducer;var J7t=Object.defineProperty,Z7t=(e,t,n)=>t in e?J7t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ui=(e,t,n)=>(Z7t(e,typeof t!="symbol"?t+"":t,n),n),ni=class{static clamp(t,n,r){return Math.max(n,typeof r<"u"?Math.min(t,r):t)}static clampV(t,n,r){return t.map(i=>r?ni.clamp(i,n,r):ni.clamp(i,n))}static cross(t,n,r){return(n[0]-t[0])*(r[1]-t[1])-(r[0]-t[0])*(n[1]-t[1])}static snap(t,n=1){return[Math.round(t[0]/n)*n,Math.round(t[1]/n)*n]}},We=ni;ui(We,"neg",e=>[-e[0],-e[1]]),ui(We,"add",(e,t)=>[e[0]+t[0],e[1]+t[1]]),ui(We,"addScalar",(e,t)=>[e[0]+t,e[1]+t]),ui(We,"sub",(e,t)=>[e[0]-t[0],e[1]-t[1]]),ui(We,"subScalar",(e,t)=>[e[0]-t,e[1]-t]),ui(We,"vec",(e,t)=>[t[0]-e[0],t[1]-e[1]]),ui(We,"mul",(e,t)=>[e[0]*t,e[1]*t]),ui(We,"mulV",(e,t)=>[e[0]*t[0],e[1]*t[1]]),ui(We,"div",(e,t)=>[e[0]/t,e[1]/t]),ui(We,"divV",(e,t)=>[e[0]/t[0],e[1]/t[1]]),ui(We,"per",e=>[e[1],-e[0]]),ui(We,"dpr",(e,t)=>e[0]*t[0]+e[1]*t[1]),ui(We,"cpr",(e,t)=>e[0]*t[1]-t[0]*e[1]),ui(We,"len2",e=>e[0]*e[0]+e[1]*e[1]),ui(We,"len",e=>Math.hypot(e[0],e[1])),ui(We,"pry",(e,t)=>ni.dpr(e,t)/ni.len(t)),ui(We,"uni",e=>ni.div(e,ni.len(e))),ui(We,"normalize",e=>ni.uni(e)),ui(We,"tangent",(e,t)=>ni.uni(ni.sub(e,t))),ui(We,"dist2",(e,t)=>ni.len2(ni.sub(e,t))),ui(We,"dist",(e,t)=>Math.hypot(e[1]-t[1],e[0]-t[0])),ui(We,"fastDist",(e,t)=>{let n=[t[0]-e[0],t[1]-e[1]],r=[Math.abs(n[0]),Math.abs(n[1])],i=1/Math.max(r[0],r[1]);return i=i*(1.29289-(r[0]+r[1])*i*.29289),[n[0]*i,n[1]*i]}),ui(We,"ang",(e,t)=>Math.atan2(ni.cpr(e,t),ni.dpr(e,t))),ui(We,"angle",(e,t)=>Math.atan2(t[1]-e[1],t[0]-e[0])),ui(We,"med",(e,t)=>ni.mul(ni.add(e,t),.5)),ui(We,"rot",(e,t=0)=>[e[0]*Math.cos(t)-e[1]*Math.sin(t),e[0]*Math.sin(t)+e[1]*Math.cos(t)]),ui(We,"rotWith",(e,t,n=0)=>{if(n===0)return e;let r=Math.sin(n),i=Math.cos(n),a=e[0]-t[0],o=e[1]-t[1],s=a*i-o*r,l=a*r+o*i;return[s+t[0],l+t[1]]}),ui(We,"isEqual",(e,t)=>e[0]===t[0]&&e[1]===t[1]),ui(We,"lrp",(e,t,n)=>ni.add(e,ni.mul(ni.sub(t,e),n))),ui(We,"int",(e,t,n,r,i=1)=>{let a=(ni.clamp(n,r)-n)/(r-n);return ni.add(ni.mul(e,1-a),ni.mul(t,i))}),ui(We,"ang3",(e,t,n)=>{let r=ni.vec(t,e),i=ni.vec(t,n);return ni.ang(r,i)}),ui(We,"abs",e=>[Math.abs(e[0]),Math.abs(e[1])]),ui(We,"rescale",(e,t)=>{let n=ni.len(e);return[t*e[0]/n,t*e[1]/n]}),ui(We,"isLeft",(e,t,n)=>(t[0]-e[0])*(n[1]-e[1])-(n[0]-e[0])*(t[1]-e[1])),ui(We,"clockwise",(e,t,n)=>ni.isLeft(e,t,n)>0),ui(We,"toFixed",e=>e.map(t=>Math.round(t*100)/100)),ui(We,"nearestPointOnLineThroughPoint",(e,t,n)=>ni.add(e,ni.mul(t,ni.pry(ni.sub(n,e),t)))),ui(We,"distanceToLineThroughPoint",(e,t,n)=>ni.dist(n,ni.nearestPointOnLineThroughPoint(e,t,n))),ui(We,"nearestPointOnLineSegment",(e,t,n,r=!0)=>{let i=ni.uni(ni.sub(t,e)),a=ni.add(e,ni.mul(i,ni.pry(ni.sub(n,e),i)));if(r){if(a[0]Math.max(e[0],t[0]))return e[0]>t[0]?e:t;if(a[1]Math.max(e[1],t[1]))return e[1]>t[1]?e:t}return a}),ui(We,"distanceToLineSegment",(e,t,n,r=!0)=>ni.dist(n,ni.nearestPointOnLineSegment(e,t,n,r))),ui(We,"nearestPointOnBounds",(e,t)=>[ni.clamp(t[0],e.minX,e.maxX),ni.clamp(t[1],e.minY,e.maxY)]),ui(We,"distanceToBounds",(e,t)=>ni.dist(t,ni.nearestPointOnBounds(e,t))),ui(We,"nudge",(e,t,n)=>ni.isEqual(e,t)?e:ni.add(e,ni.mul(ni.uni(ni.sub(t,e)),n))),ui(We,"nudgeAtAngle",(e,t,n)=>[Math.cos(t)*n+e[0],Math.sin(t)*n+e[1]]),ui(We,"toPrecision",(e,t=4)=>[+e[0].toPrecision(t),+e[1].toPrecision(t)]),ui(We,"pointsBetween",(e,t,n=6)=>Array.from(Array(n)).map((r,i)=>{let a=i/(n-1),o=Math.min(1,.5+Math.abs(.5-a));return[...ni.lrp(e,t,a),o]})),ui(We,"slope",(e,t)=>e[0]===t[0]?NaN:(e[1]-t[1])/(e[0]-t[0])),ui(We,"max",(...e)=>[Math.max(...e.map(t=>t[0])),Math.max(...e.map(t=>t[1]))]),ui(We,"min",(...e)=>[Math.min(...e.map(t=>t[0])),Math.min(...e.map(t=>t[1]))]);var bn=We;function Q7t(e,t,n){return Math.max(t,Math.min(e,n))}const Uo={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function i3e(e,t,n){return t===0||Math.abs(t)===1/0?Math.pow(e,n*5):e*t*n/(t+n*e)}function a3e(e,t,n,r=.15){return r===0?Q7t(e,t,n):en?+i3e(e-n,n-t,r)+n:e}function eTt(e,[t,n],[r,i]){const[[a,o],[s,l]]=e;return[a3e(t,a,o,r),a3e(n,s,l,i)]}function tTt(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nTt(e){var t=tTt(e,"string");return typeof t=="symbol"?t:String(t)}function sl(e,t,n){return t=nTt(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o3e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t{var n,r;return t.target===e.currentTarget||((n=e.currentTarget)===null||n===void 0||(r=n.contains)===null||r===void 0?void 0:r.call(n,t.target))})}function cTt(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function wHe(e){return d$(e)?cTt(e)[0]:e}function Hae(e,t){const n=t.clientX-e.clientX,r=t.clientY-e.clientY,i=(t.clientX+e.clientX)/2,a=(t.clientY+e.clientY)/2,o=Math.hypot(n,r);return{angle:-(Math.atan2(n,r)*180)/Math.PI,distance:o,origin:[i,a]}}function fTt(e){return uTt(e).map(t=>t.identifier)}function l3e(e,t){const[n,r]=Array.from(e.touches).filter(i=>t.includes(i.identifier));return Hae(n,r)}function Oq(e){const t=wHe(e);return d$(e)?t.identifier:t.pointerId}function d_(e){const t=wHe(e);return[t.clientX,t.clientY]}const u3e=40,c3e=800;function kHe(e){let{deltaX:t,deltaY:n,deltaMode:r}=e;return r===1?(t*=u3e,n*=u3e):r===2&&(t*=c3e,n*=c3e),[t,n]}function dTt(e){var t,n;const{scrollX:r,scrollY:i,scrollLeft:a,scrollTop:o}=e.currentTarget;return[(t=r??a)!==null&&t!==void 0?t:0,(n=i??o)!==null&&n!==void 0?n:0]}function hTt(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:i,ctrlKey:a}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:i,ctrlKey:a})}return t}function XL(e,...t){return typeof e=="function"?e(...t):e}function pTt(){}function gTt(...e){return e.length===0?pTt:e.length===1?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function f3e(e,t){return Object.assign({},t,e||{})}const mTt=32;class _He{constructor(t,n,r){this.ctrl=t,this.args=n,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:n,ingKey:r,args:i}=this;n[r]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=i,t.axis=void 0,t.memo=void 0,t.elapsedTime=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const n=this.state,r=this.config;n._active||(this.reset(),this.computeInitial(),n._active=!0,n.target=t.target,n.currentTarget=t.currentTarget,n.lastOffset=r.from?XL(r.from,n):n.offset,n.offset=n.lastOffset,n.startTime=n.timeStamp=t.timeStamp)}computeValues(t){const n=this.state;n._values=t,n.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:n,config:r,shared:i}=this;n.args=this.args;let a=0;if(t&&(n.event=t,r.preventDefault&&t.cancelable&&n.event.preventDefault(),n.type=t.type,i.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,i.locked=!!document.pointerLockElement,Object.assign(i,hTt(t)),i.down=i.pressed=i.buttons%2===1||i.touches>0,a=t.timeStamp-n.timeStamp,n.timeStamp=t.timeStamp,n.elapsedTime=n.timeStamp-n.startTime),n._active){const S=n._delta.map(Math.abs);Uo.addTo(n._distance,S)}this.axisIntent&&this.axisIntent(t);const[o,s]=n._movement,[l,u]=r.threshold,{_step:c,values:f}=n;if(r.hasCustomTransform?(c[0]===!1&&(c[0]=Math.abs(o)>=l&&f[0]),c[1]===!1&&(c[1]=Math.abs(s)>=u&&f[1])):(c[0]===!1&&(c[0]=Math.abs(o)>=l&&Math.sign(o)*l),c[1]===!1&&(c[1]=Math.abs(s)>=u&&Math.sign(s)*u)),n.intentional=c[0]!==!1||c[1]!==!1,!n.intentional)return;const d=[0,0];if(r.hasCustomTransform){const[S,T]=f;d[0]=c[0]!==!1?S-c[0]:0,d[1]=c[1]!==!1?T-c[1]:0}else d[0]=c[0]!==!1?o-c[0]:0,d[1]=c[1]!==!1?s-c[1]:0;this.restrictToAxis&&!n._blocked&&this.restrictToAxis(d);const h=n.offset,p=n._active&&!n._blocked||n.active;p&&(n.first=n._active&&!n.active,n.last=!n._active&&n.active,n.active=i[this.ingKey]=n._active,t&&(n.first&&("bounds"in r&&(n._bounds=XL(r.bounds,n)),this.setup&&this.setup()),n.movement=d,this.computeOffset()));const[g,b]=n.offset,[[m,v],[w,k]]=n._bounds;n.overflow=[gv?1:0,bk?1:0],n._movementBound[0]=n.overflow[0]?n._movementBound[0]===!1?n._movement[0]:n._movementBound[0]:!1,n._movementBound[1]=n.overflow[1]?n._movementBound[1]===!1?n._movement[1]:n._movementBound[1]:!1;const E=n._active?r.rubberband||[0,0]:[0,0];if(n.offset=eTt(n._bounds,n.offset,E),n.delta=Uo.sub(n.offset,h),this.computeMovement(),p&&(!n.last||a>mTt)){n.delta=Uo.sub(n.offset,h);const S=n.delta.map(Math.abs);Uo.addTo(n.distance,S),n.direction=n.delta.map(Math.sign),n._direction=n._delta.map(Math.sign),!n.first&&a>0&&(n.velocity=[S[0]/a,S[1]/a])}}emit(){const t=this.state,n=this.shared,r=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!r.triggerAllEvents)return;const i=this.handler(Cs(Cs(Cs({},n),t),{},{[this.aliasKey]:t.values}));i!==void 0&&(t.memo=i)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function vTt([e,t],n){const r=Math.abs(e),i=Math.abs(t);if(r>i&&r>n)return"x";if(i>r&&i>n)return"y"}class S7 extends _He{constructor(...t){super(...t),sl(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=Uo.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=Uo.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const n=this.state,r=this.config;if(!n.axis&&t){const i=typeof r.axisThreshold=="object"?r.axisThreshold[bHe(t)]:r.axisThreshold;n.axis=vTt(n._movement,i)}n._blocked=(r.lockDirection||!!r.axis)&&!n.axis||!!r.axis&&r.axis!==n.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const yTt=e=>e,d3e=.15,CHe={enabled(e=!0){return e},eventOptions(e,t,n){return Cs(Cs({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[d3e,d3e];case!1:return[0,0];default:return Uo.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return Uo.toVector(e)},transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||yTt},threshold(e){return Uo.toVector(e,0)}},bTt=0,m3=Cs(Cs({},CHe),{},{axis(e,t,{axis:n}){if(this.lockDirection=n==="lock",!this.lockDirection)return n},axisThreshold(e=bTt){return e},bounds(e={}){if(typeof e=="function")return a=>m3.bounds(e(a));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:i=1/0}=e;return[[t,n],[r,i]]}}),h3e={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};class wTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const n=t._bounds.getBoundingClientRect(),r=t.currentTarget.getBoundingClientRect(),i={left:n.left-r.left+t.offset[0],right:n.right-r.right+t.offset[0],top:n.top-r.top+t.offset[1],bottom:n.bottom-r.bottom+t.offset[1]};t._bounds=m3.bounds(i)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const n=this.config,r=this.state;if(t.buttons!=null&&(Array.isArray(n.pointerButtons)?!n.pointerButtons.includes(t.buttons):n.pointerButtons!==-1&&n.pointerButtons!==t.buttons))return;const i=this.ctrl.setEventIds(t);n.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(i&&i.size>1&&r._pointerActive)&&(this.start(t),this.setupPointer(t),r._pointerId=Oq(t),r._pointerActive=!0,this.computeValues(d_(t)),this.computeInitial(),n.preventScrollAxis&&bHe(t)!=="mouse"?(r._active=!1,this.setupScrollPrevention(t)):n.delay>0?(this.setupDelayTrigger(t),n.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const n=this.state;n._active=!0,n._preventScroll=!0,n._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const n=this.state,r=this.config;if(!n._pointerActive||n.type===t.type&&t.timeStamp===n.timeStamp)return;const i=Oq(t);if(n._pointerId!==void 0&&i!==n._pointerId)return;const a=d_(t);if(document.pointerLockElement===t.target?n._delta=[t.movementX,t.movementY]:(n._delta=Uo.sub(a,n._values),this.computeValues(a)),Uo.addTo(n._movement,n._delta),this.compute(t),n._delayed&&n.intentional){this.timeoutStore.remove("dragDelay"),n.active=!1,this.startPointerDrag(t);return}if(r.preventScrollAxis&&!n._preventScroll)if(n.axis)if(n.axis===r.preventScrollAxis||r.preventScrollAxis==="xy"){n._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}const n=this.state,r=this.config;if(!n._active||!n._pointerActive)return;const i=Oq(t);if(n._pointerId!==void 0&&i!==n._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[a,o]=n._distance;if(n.tap=a<=r.tapsThreshold&&o<=r.tapsThreshold,n.tap&&r.filterTaps)n._force=!0;else{const[s,l]=n.direction,[u,c]=n.velocity,[f,d]=n.movement,[h,p]=r.swipe.velocity,[g,b]=r.swipe.distance,m=r.swipe.duration;n.elapsedTimeh&&Math.abs(f)>g&&(n.swipe[0]=s),Math.abs(c)>p&&Math.abs(d)>b&&(n.swipe[1]=l))}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const n=this.config,r=n.device;n.pointerLock&&t.currentTarget.requestPointerLock(),n.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,kTt(t);const n=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",n),this.eventStore.add(this.sharedConfig.window,"touch","cancel",n),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const n=h3e[t.key];if(n){const r=this.state,i=t.shiftKey?10:t.altKey?.1:1;this.start(t),r._delta=n(this.config.keyboardDisplacement,i),r._keyboardActive=!0,Uo.addTo(r._movement,r._delta),this.compute(t),this.emit()}}keyUp(t){t.key in h3e&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const n=this.config.device;t(n,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(n,"change",this.pointerMove.bind(this)),t(n,"end",this.pointerUp.bind(this)),t(n,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function kTt(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}const A7=typeof window<"u"&&window.document&&window.document.createElement;function _Tt(){return A7&&"ontouchstart"in window}function p3e(){return _Tt()||A7&&window.navigator.maxTouchPoints>1}function CTt(){return A7&&"onpointerdown"in window}function ETt(){return A7&&"exitPointerLock"in window.document}function xTt(){try{return"constructor"in GestureEvent}catch{return!1}}const th={isBrowser:A7,gesture:xTt(),touch:p3e(),touchscreen:p3e(),pointer:CTt(),pointerLock:ETt()},STt=250,ATt=180,TTt=.5,DTt=50,ITt=250,RTt=10,g3e={mouse:0,touch:0,pen:8},MTt=Cs(Cs({},m3),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:i=!1}={}}){return this.pointerLock=r&&th.pointerLock,th.touch&&n?"touch":this.pointerLock?"mouse":th.pointer&&!i?"pointer":th.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay=typeof n=="number"?n:n||n===void 0&&e?STt:void 0,!(!th.touchscreen||n===!1))return e||(n!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:i=!0}={}}){return this.pointerButtons=r,this.keys=i,!this.pointerLock&&this.device==="pointer"&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:i=void 0}){const a=Uo.toVector(e,n?r:i?1:0);return this.filterTaps=n,this.tapsThreshold=r,a},swipe({velocity:e=TTt,distance:t=DTt,duration:n=ITt}={}){return{velocity:this.transform(Uo.toVector(e)),distance:this.transform(Uo.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return ATt;case!1:return 0;default:return e}},axisThreshold(e){return e?Cs(Cs({},g3e),e):g3e},keyboardDisplacement(e=RTt){return e}});function EHe(e){const[t,n]=e.overflow,[r,i]=e._delta,[a,o]=e._direction;(t<0&&r>0&&a<0||t>0&&r<0&&a>0)&&(e._movement[0]=e._movementBound[0]),(n<0&&i>0&&o<0||n>0&&i<0&&o>0)&&(e._movement[1]=e._movementBound[1])}const OTt=30,LTt=100;class BTt extends _He{constructor(...t){super(...t),sl(this,"ingKey","pinching"),sl(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const t=this.state;t._touchIds=[],t.canceled=!1,t.cancel=this.cancel.bind(this),t.turns=0}computeOffset(){const{type:t,movement:n,lastOffset:r}=this.state;t==="wheel"?this.state.offset=Uo.add(n,r):this.state.offset=[(1+n[0])*r[0],n[1]+r[1]]}computeMovement(){const{offset:t,lastOffset:n}=this.state;this.state.movement=[t[0]/n[0],t[1]-n[1]]}axisIntent(){const t=this.state,[n,r]=t._movement;if(!t.axis){const i=Math.abs(n)*OTt-Math.abs(r);i<0?t.axis="angle":i>0&&(t.axis="scale")}}restrictToAxis(t){this.config.lockDirection&&(this.state.axis==="scale"?t[1]=0:this.state.axis==="angle"&&(t[0]=0))}cancel(){const t=this.state;t.canceled||setTimeout(()=>{t.canceled=!0,t._active=!1,this.compute(),this.emit()},0)}touchStart(t){this.ctrl.setEventIds(t);const n=this.state,r=this.ctrl.touchIds;if(n._active&&n._touchIds.every(a=>r.has(a))||r.size<2)return;this.start(t),n._touchIds=Array.from(r).slice(0,2);const i=l3e(t,n._touchIds);this.pinchStart(t,i)}pointerStart(t){if(t.buttons!=null&&t.buttons%2!==1)return;this.ctrl.setEventIds(t),t.target.setPointerCapture(t.pointerId);const n=this.state,r=n._pointerEvents,i=this.ctrl.pointerIds;if(n._active&&Array.from(r.keys()).every(o=>i.has(o))||(r.size<2&&r.set(t.pointerId,t),n._pointerEvents.size<2))return;this.start(t);const a=Hae(...Array.from(r.values()));this.pinchStart(t,a)}pinchStart(t,n){const r=this.state;r.origin=n.origin,this.computeValues([n.distance,n.angle]),this.computeInitial(),this.compute(t),this.emit()}touchMove(t){if(!this.state._active)return;const n=l3e(t,this.state._touchIds);this.pinchMove(t,n)}pointerMove(t){const n=this.state._pointerEvents;if(n.has(t.pointerId)&&n.set(t.pointerId,t),!this.state._active)return;const r=Hae(...Array.from(n.values()));this.pinchMove(t,r)}pinchMove(t,n){const r=this.state,i=r._values[1],a=n.angle-i;let o=0;Math.abs(a)>270&&(o+=Math.sign(a)),this.computeValues([n.distance,n.angle-360*o]),r.origin=n.origin,r.turns=o,r._movement=[r._values[0]/r._initial[0]-1,r._values[1]-r._initial[1]],this.compute(t),this.emit()}touchEnd(t){this.ctrl.setEventIds(t),this.state._active&&this.state._touchIds.some(n=>!this.ctrl.touchIds.has(n))&&(this.state._active=!1,this.compute(t),this.emit())}pointerEnd(t){const n=this.state;this.ctrl.setEventIds(t);try{t.target.releasePointerCapture(t.pointerId)}catch{}n._pointerEvents.has(t.pointerId)&&n._pointerEvents.delete(t.pointerId),n._active&&n._pointerEvents.size<2&&(n._active=!1,this.compute(t),this.emit())}gestureStart(t){t.cancelable&&t.preventDefault();const n=this.state;n._active||(this.start(t),this.computeValues([t.scale,t.rotation]),n.origin=[t.clientX,t.clientY],this.compute(t),this.emit())}gestureMove(t){if(t.cancelable&&t.preventDefault(),!this.state._active)return;const n=this.state;this.computeValues([t.scale,t.rotation]),n.origin=[t.clientX,t.clientY];const r=n._movement;n._movement=[t.scale-1,t.rotation],n._delta=Uo.sub(n._movement,r),this.compute(t),this.emit()}gestureEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}wheel(t){const n=this.config.modifierKey;n&&!t[n]||(this.state._active?this.wheelChange(t):this.wheelStart(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(t){this.start(t),this.wheelChange(t)}wheelChange(t){"uv"in t||t.cancelable&&t.preventDefault();const r=this.state;r._delta=[-kHe(t)[1]/LTt*r.offset[0],0],Uo.addTo(r._movement,r._delta),EHe(r),this.state.origin=[t.clientX,t.clientY],this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){const n=this.config.device;n&&(t(n,"start",this[n+"Start"].bind(this)),t(n,"change",this[n+"Move"].bind(this)),t(n,"end",this[n+"End"].bind(this)),t(n,"cancel",this[n+"End"].bind(this))),this.config.pinchOnWheel&&t("wheel","",this.wheel.bind(this),{passive:!1})}}const PTt=Cs(Cs({},CHe),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!th.touch&&th.gesture)return"gesture";if(th.touch&&r)return"touch";if(th.touchscreen){if(th.pointer)return"pointer";if(th.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const i=o=>{const s=f3e(XL(n,o),{min:-1/0,max:1/0});return[s.min,s.max]},a=o=>{const s=f3e(XL(r,o),{min:-1/0,max:1/0});return[s.min,s.max]};return typeof n!="function"&&typeof r!="function"?[i(),a()]:o=>[i(o),a(o)]},threshold(e,t,n){return this.lockDirection=n.axis==="lock",Uo.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});class FTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","moving")}move(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.state._active?this.moveChange(t):this.moveStart(t),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(t){this.start(t),this.computeValues(d_(t)),this.compute(t),this.computeInitial(),this.emit()}moveChange(t){if(!this.state._active)return;const n=d_(t),r=this.state;r._delta=Uo.sub(n,r._values),Uo.addTo(r._movement,r._delta),this.computeValues(n),this.compute(t),this.emit()}moveEnd(t){this.state._active&&(this.state._active=!1,this.compute(t),this.emit())}bind(t){t("pointer","change",this.move.bind(this)),t("pointer","leave",this.moveEnd.bind(this))}}const NTt=Cs(Cs({},m3),{},{mouseOnly:(e=!0)=>e});class $Tt extends S7{constructor(...t){super(...t),sl(this,"ingKey","scrolling")}scroll(t){this.state._active||this.start(t),this.scrollChange(t),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(t){t.cancelable&&t.preventDefault();const n=this.state,r=dTt(t);n._delta=Uo.sub(r,n._values),Uo.addTo(n._movement,n._delta),this.computeValues(r),this.compute(t),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("scroll","",this.scroll.bind(this))}}const zTt=m3;class UTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","wheeling")}wheel(t){this.state._active||this.start(t),this.wheelChange(t),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(t){const n=this.state;n._delta=kHe(t),Uo.addTo(n._movement,n._delta),EHe(n),this.compute(t),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(t){t("wheel","",this.wheel.bind(this))}}const jTt=m3;class HTt extends S7{constructor(...t){super(...t),sl(this,"ingKey","hovering")}enter(t){this.config.mouseOnly&&t.pointerType!=="mouse"||(this.start(t),this.computeValues(d_(t)),this.compute(t),this.emit())}leave(t){if(this.config.mouseOnly&&t.pointerType!=="mouse")return;const n=this.state;if(!n._active)return;n._active=!1;const r=d_(t);n._movement=n._delta=Uo.sub(r,n._values),this.computeValues(r),this.compute(t),n.delta=n.movement,this.emit()}bind(t){t("pointer","enter",this.enter.bind(this)),t("pointer","leave",this.leave.bind(this))}}const qTt=Cs(Cs({},m3),{},{mouseOnly:(e=!0)=>e}),Mde=new Map,qae=new Map;function WTt(e){Mde.set(e.key,e.engine),qae.set(e.key,e.resolver)}const GTt={key:"drag",engine:wTt,resolver:MTt},VTt={key:"hover",engine:HTt,resolver:qTt},KTt={key:"move",engine:FTt,resolver:NTt},YTt={key:"pinch",engine:BTt,resolver:PTt},XTt={key:"scroll",engine:$Tt,resolver:zTt},JTt={key:"wheel",engine:UTt,resolver:jTt};function ZTt(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}function QTt(e,t){if(e==null)return{};var n=ZTt(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const eDt={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=th.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},tDt=["target","eventOptions","window","enabled","transform"];function oO(e={},t){const n={};for(const[r,i]of Object.entries(t))switch(typeof i){case"function":n[r]=i.call(n,e[r],r,e);break;case"object":n[r]=oO(e[r],i);break;case"boolean":i&&(n[r]=e[r]);break}return n}function nDt(e,t,n={}){const r=e,{target:i,eventOptions:a,window:o,enabled:s,transform:l}=r,u=QTt(r,tDt);if(n.shared=oO({target:i,eventOptions:a,window:o,enabled:s,transform:l},eDt),t){const c=qae.get(t);n[t]=oO(Cs({shared:n.shared},u),c)}else for(const c in u){const f=qae.get(c);f&&(n[c]=oO(Cs({shared:n.shared},u[c]),f))}return n}class xHe{constructor(t,n){sl(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=n}add(t,n,r,i,a){const o=this._listeners,s=lTt(n,r),l=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},u=Cs(Cs({},l),a);t.addEventListener(s,i,u);const c=()=>{t.removeEventListener(s,i,u),o.delete(c)};return o.add(c),c}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}}class rDt{constructor(){sl(this,"_timeouts",new Map)}add(t,n,r=140,...i){this.remove(t),this._timeouts.set(t,window.setTimeout(n,r,...i))}remove(t){const n=this._timeouts.get(t);n&&window.clearTimeout(n)}clean(){this._timeouts.forEach(t=>void window.clearTimeout(t)),this._timeouts.clear()}}class iDt{constructor(t){sl(this,"gestures",new Set),sl(this,"_targetEventStore",new xHe(this)),sl(this,"gestureEventStores",{}),sl(this,"gestureTimeoutStores",{}),sl(this,"handlers",{}),sl(this,"config",{}),sl(this,"pointerIds",new Set),sl(this,"touchIds",new Set),sl(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),aDt(this,t)}setEventIds(t){if(d$(t))return this.touchIds=new Set(fTt(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,n){this.handlers=t,this.nativeHandlers=n}applyConfig(t,n){this.config=nDt(t,n,this.config)}clean(){this._targetEventStore.clean();for(const t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){const n=this.config.shared,r={};let i;if(!(n.target&&(i=n.target(),!i))){if(n.enabled){for(const o of this.gestures){const s=this.config[o],l=m3e(r,s.eventOptions,!!i);if(s.enabled){const u=Mde.get(o);new u(this,t,o).bind(l)}}const a=m3e(r,n.eventOptions,!!i);for(const o in this.nativeHandlers)a(o,"",s=>this.nativeHandlers[o](Cs(Cs({},this.state.shared),{},{event:s,args:t})),void 0,!0)}for(const a in r)r[a]=gTt(...r[a]);if(!i)return r;for(const a in r){const{device:o,capture:s,passive:l}=sTt(a);this._targetEventStore.add(i,o,"",r[a],{capture:s,passive:l})}}}}function Hw(e,t){e.gestures.add(t),e.gestureEventStores[t]=new xHe(e,t),e.gestureTimeoutStores[t]=new rDt}function aDt(e,t){t.drag&&Hw(e,"drag"),t.wheel&&Hw(e,"wheel"),t.scroll&&Hw(e,"scroll"),t.move&&Hw(e,"move"),t.pinch&&Hw(e,"pinch"),t.hover&&Hw(e,"hover")}const m3e=(e,t,n)=>(r,i,a,o={},s=!1)=>{var l,u;const c=(l=o.capture)!==null&&l!==void 0?l:t.capture,f=(u=o.passive)!==null&&u!==void 0?u:t.passive;let d=s?r:aTt(r,i,c);n&&f&&(d+="Passive"),e[d]=e[d]||[],e[d].push(a)},oDt=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function sDt(e){const t={},n={},r=new Set;for(let i in e)oDt.test(i)?(r.add(RegExp.lastMatch),n[i]=e[i]):t[i]=e[i];return[n,t,r]}function qw(e,t,n,r,i,a){if(!e.has(n)||!Mde.has(r))return;const o=n+"Start",s=n+"End",l=u=>{let c;return u.first&&o in t&&t[o](u),n in t&&(c=t[n](u)),u.last&&s in t&&t[s](u),c};i[r]=l,a[r]=a[r]||{}}function lDt(e,t){const[n,r,i]=sDt(e),a={};return qw(i,n,"onDrag","drag",a,t),qw(i,n,"onWheel","wheel",a,t),qw(i,n,"onScroll","scroll",a,t),qw(i,n,"onPinch","pinch",a,t),qw(i,n,"onMove","move",a,t),qw(i,n,"onHover","hover",a,t),{handlers:a,config:t,nativeHandlers:r}}function uDt(e,t={},n,r){const i=gr.useMemo(()=>new iDt(e),[]);if(i.applyHandlers(e,r),i.applyConfig(t,n),gr.useEffect(i.effect.bind(i)),gr.useEffect(()=>i.clean.bind(i),[]),t.target===void 0)return i.bind.bind(i)}function cDt(e){return e.forEach(WTt),function(n,r){const{handlers:i,nativeHandlers:a,config:o}=lDt(n,r||{});return uDt(i,o,void 0,a)}}function fDt(e,t){return cDt([GTt,YTt,XTt,JTt,KTt,VTt])(e,t||{})}function v3e(e,t,n,r=i=>i){return e*r(.5-t*(.5-n))}function dDt(e){return[-e[0],-e[1]]}function i0(e,t){return[e[0]+t[0],e[1]+t[1]]}function Jd(e,t){return[e[0]-t[0],e[1]-t[1]]}function n0(e,t){return[e[0]*t,e[1]*t]}function hDt(e,t){return[e[0]/t,e[1]/t]}function P5(e){return[e[1],-e[0]]}function y3e(e,t){return e[0]*t[0]+e[1]*t[1]}function pDt(e,t){return e[0]===t[0]&&e[1]===t[1]}function gDt(e){return Math.hypot(e[0],e[1])}function mDt(e){return e[0]*e[0]+e[1]*e[1]}function b3e(e,t){return mDt(Jd(e,t))}function SHe(e){return hDt(e,gDt(e))}function vDt(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function F5(e,t,n){let r=Math.sin(n),i=Math.cos(n),a=e[0]-t[0],o=e[1]-t[1],s=a*i-o*r,l=a*r+o*i;return[s+t[0],l+t[1]]}function Wae(e,t,n){return i0(e,n0(Jd(t,e),n))}function w3e(e,t,n){return i0(e,n0(t,n))}var{min:Ww,PI:yDt}=Math,k3e=.275,N5=yDt+1e-4;function Ode(e,t={}){let{size:n=16,smoothing:r=.5,thinning:i=.5,simulatePressure:a=!0,easing:o=H=>H,start:s={},end:l={},last:u=!1}=t,{cap:c=!0,easing:f=H=>H*(2-H)}=s,{cap:d=!0,easing:h=H=>--H*H*H+1}=l;if(e.length===0||n<=0)return[];let p=e[e.length-1].runningLength,g=s.taper===!1?0:s.taper===!0?Math.max(n,p):s.taper,b=l.taper===!1?0:l.taper===!0?Math.max(n,p):l.taper,m=Math.pow(n*r,2),v=[],w=[],k=e.slice(0,10).reduce((H,F)=>{let q=F.pressure;if(a){let V=Ww(1,F.distance/n),X=Ww(1,1-V);q=Ww(1,H+(X-H)*(V*k3e))}return(H+q)/2},e[0].pressure),E=v3e(n,i,e[e.length-1].pressure,o),S,T=e[0].vector,L=e[0].point,M=L,D=L,I=M,B=!1;for(let H=0;Hm)&&(v.push(D),L=D),I=i0(q,oe),(H<=1||b3e(M,I)>m)&&(w.push(I),M=I),k=F,T=V}let N=e[0].point.slice(0,2),O=e.length>1?e[e.length-1].point.slice(0,2):i0(e[0].point,[1,1]),R=[],P=[];if(e.length===1){if(!(g||b)||u){let H=w3e(N,SHe(P5(Jd(N,O))),-(S||E)),F=[];for(let q=1/13,V=q;V<=1;V+=q)F.push(F5(H,N,N5*2*V));return F}}else{if(!(g||b&&e.length===1))if(c)for(let F=1/13,q=F;q<=1;q+=F){let V=F5(w[0],N,N5*q);R.push(V)}else{let F=Jd(v[0],w[0]),q=n0(F,.5),V=n0(F,.51);R.push(Jd(N,q),Jd(N,V),i0(N,V),i0(N,q))}let H=P5(dDt(e[e.length-1].vector));if(b||g&&e.length===1)P.push(O);else if(d){let F=w3e(O,H,E);for(let q=1/29,V=q;V<1;V+=q)P.push(F5(F,O,N5*3*V))}else P.push(i0(O,n0(H,E)),i0(O,n0(H,E*.99)),Jd(O,n0(H,E*.99)),Jd(O,n0(H,E)))}return v.concat(P,w.reverse(),R)}function QC(e,t={}){var n;let{streamline:r=.5,size:i=16,last:a=!1}=t;if(e.length===0)return[];let o=.15+(1-r)*.85,s=Array.isArray(e[0])?e:e.map(({x:h,y:p,pressure:g=.5})=>[h,p,g]);if(s.length===2){let h=s[1];s=s.slice(0,-1);for(let p=1;p<5;p++)s.push(Wae(s[0],h,p/4))}s.length===1&&(s=[...s,[...i0(s[0],[1,1]),...s[0].slice(2)]]);let l=[{point:[s[0][0],s[0][1]],pressure:s[0][2]>=0?s[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],u=!1,c=0,f=l[0],d=s.length-1;for(let h=1;h=0?s[h][2]:.5,vector:SHe(Jd(f.point,p)),distance:g,runningLength:c},l.push(f)}return l[0].vector=((n=l[1])==null?void 0:n.vector)||[0,0],l}function bDt(e,t={}){return Ode(QC(e,t),t)}var T7=bDt,wDt=Object.defineProperty,kDt=Object.defineProperties,_Dt=Object.getOwnPropertyDescriptors,_3e=Object.getOwnPropertySymbols,CDt=Object.prototype.hasOwnProperty,EDt=Object.prototype.propertyIsEnumerable,C3e=(e,t,n)=>t in e?wDt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lde=(e,t)=>{for(var n in t||(t={}))CDt.call(t,n)&&C3e(e,n,t[n]);if(_3e)for(var n of _3e(t))EDt.call(t,n)&&C3e(e,n,t[n]);return e},Bde=(e,t)=>kDt(e,_Dt(t));function Co(e,...t){return{didIntersect:t.length>0,message:e,points:t}}function q2(e,t,n=0){let r=[e[0]+t[0]/2,e[1]+t[1]/2],i=We.rotWith(e,r,n),a=We.rotWith(We.add(e,[t[0],0]),r,n),o=We.rotWith(We.add(e,t),r,n),s=We.rotWith(We.add(e,[0,t[1]]),r,n);return[["top",[i,a]],["right",[a,o]],["bottom",[o,s]],["left",[s,i]]]}function xDt(e,t,n){if(n===e||n===t)return!0;let r=Math.PI*2,i=(t-e+r)%r,a=(n-e+r)%r;return i<=Math.PI!=a>i}function SDt(e,t){let n=We.slope(e[0],e[1]),r=We.slope(t[0],t[1]);if(n===r)return;if(Number.isNaN(n)&&!Number.isNaN(r))return[e[0][0],(e[0][0]-t[0][0])*r+t[0][1]];if(Number.isNaN(r)&&!Number.isNaN(n))return[t[0][0],(t[0][0]-e[0][0])*n+e[0][1]];let i=(n*e[0][0]-r*t[0][0]+t[0][1]-e[0][1])/(n-r),a=r*(i-t[0][0])+t[0][1];return[i,a]}function Pde(e,t,n,r){let[i,a]=e,[o,s]=t,[l,u]=n,[c,f]=r;if(s/o!==(f-u)/(c-l)){let d=o*(f-u)-s*(c-l);if(d!==0){let h=((a-u)*(c-l)-(i-l)*(f-u))/d,p=((a-u)*o-(i-l)*s)/d;if(h>=0&&p>=0&&p<=1)return Co("intersection",[i+h*o,a+h*s])}}return Co("no intersection")}function ADt(e,t,n,r,i=0){return RDt(n,r,i,e,t)}function AHe(e,t,n,r,i,a){let o=e,s=We.mul(t,999999999);return E6(o,s,n,r,i,a)}function sO(e,t,n,r=0){let{minX:i,minY:a,width:o,height:s}=n;return ADt(e,t,[i,a],[o,s],r)}function D7(e,t,n,r){let i=We.sub(e,n),a=We.sub(r,n),o=We.sub(t,e),s=a[0]*i[1]-a[1]*i[0],l=o[0]*i[1]-o[1]*i[0],u=a[1]*o[0]-a[0]*o[1];if(s===0||l===0)return Co("coincident");if(u===0)return Co("parallel");if(u!==0){let c=s/u,f=l/u;if(0<=c&&c<=1&&0<=f&&f<=1)return Co("intersection",We.add(e,We.mul(o,c)))}return Co("no intersection")}function TDt(e,t,n,r){return THe(n,r,e,t)}function DDt(e,t,n,r,i,a){let o=We.angle(n,i),s=We.angle(n,a),l=HDt(n,r,r,0,e,t);if(!l.didIntersect)return Co("no intersection");let u=l.points.filter(c=>xDt(o,s,We.angle(n,c)));return u.length===0?Co("no intersection"):Co("intersection",...u)}function Fde(e,t,n,r){let i=(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]),a=2*((t[0]-e[0])*(e[0]-n[0])+(t[1]-e[1])*(e[1]-n[1])),o=n[0]*n[0]+n[1]*n[1]+e[0]*e[0]+e[1]*e[1]-2*(n[0]*e[0]+n[1]*e[1])-r*r,s=a*a-4*i*o;if(s<0)return Co("outside");if(s===0)return Co("tangent");let l=Math.sqrt(s),u=(-a+l)/(2*i),c=(-a-l)/(2*i);if((u<0||u>1)&&(c<0||c>1))return u<0&&c<0||u>1&&c>1?Co("outside"):Co("inside");let f=[];return 0<=u&&u<=1&&f.push(We.lrp(e,t,u)),0<=c&&c<=1&&f.push(We.lrp(e,t,c)),Co("intersection",...f)}function E6(e,t,n,r,i,a=0){if(r===0||i===0||We.isEqual(e,t))return Co("no intersection");r=r<0?r:-r,i=i<0?i:-i,e=We.sub(We.rotWith(e,n,-a),n),t=We.sub(We.rotWith(t,n,-a),n);let o=We.sub(t,e),s=o[0]*o[0]/r/r+o[1]*o[1]/i/i,l=2*e[0]*o[0]/r/r+2*e[1]*o[1]/i/i,u=e[0]*e[0]/r/r+e[1]*e[1]/i/i-1,c=[],f=l*l-4*s*u;if(f===0)c.push(-l/2/s);else if(f>0){let h=Math.sqrt(f);c.push((-l+h)/2/s),c.push((-l-h)/2/s)}let d=c.filter(h=>h>=0&&h<=1).map(h=>We.add(n,We.add(e,We.mul(We.sub(t,e),h)))).map(h=>We.rotWith(h,n,a));return Co("intersection",...d)}function Nde(e,t,n){return GDt(n,e,t)}function $de(e,t,n){let r=[];for(let i=1;i{let u=Pde(r,i,s,l);return u&&a.push(Co(o,...u.points)),a},[]).filter(a=>a.didIntersect)}function THe(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=D7(n,r,o,s);return l&&i.push(Co(a,...l.points)),i},[]).filter(i=>i.didIntersect)}function MDt(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=THe(n,r,o,s);return i.push(...l.map(u=>Co(`${a} ${u.message}`,...u.points))),i},[]).filter(i=>i.didIntersect)}function ODt(e,t,n,r,i,a){return q2(e,t).reduce((o,[s,[l,u]])=>{let c=NDt(n,r,i,a,l,u);return c&&o.push(Bde(Lde({},c),{message:s})),o},[]).filter(o=>o.didIntersect)}function LDt(e,t,n,r){return q2(e,t).reduce((i,[a,[o,s]])=>{let l=Fde(o,s,n,r);return l&&i.push(Bde(Lde({},l),{message:a})),i},[]).filter(i=>i.didIntersect)}function BDt(e,t,n,r,i,a=0){return q2(e,t).reduce((o,[s,[l,u]])=>{let c=E6(l,u,n,r,i,a);return c&&o.push(Bde(Lde({},c),{message:s})),o},[]).filter(o=>o.didIntersect)}function PDt(e,t,n){return q2(e,t).reduce((r,[i,[a,o]])=>{let s=$de(a,o,n);return s.didIntersect&&r.push(Co(i,...s.points)),r},[]).filter(r=>r.didIntersect)}function FDt(e,t,n){return q2(e,t).reduce((r,[i,[a,o]])=>{let s=IDt(a,o,n);return s.didIntersect&&r.push(Co(i,...s.points)),r},[]).filter(r=>r.didIntersect)}function NDt(e,t,n,r,i,a){return DDt(i,a,e,t,n,r)}function $Dt(e,t,n,r,i,a){return ODt(i,a,e,t,n,r)}function zDt(e,t,n,r,i){let{minX:a,minY:o,width:s,height:l}=i;return $Dt(e,t,n,r,[a,o],[s,l])}function UDt(e,t,n,r){return Fde(n,r,e,t)}function jDt(e,t,n,r){let i=n[0]-e[0],a=n[1]-e[1],o=Math.sqrt(i*i+a*a),s=(o*o-r*r+t*t)/(2*o),l=Math.sqrt(t*t-s*s);return i/=o,a/=o,Co("intersection",[e[0]+i*s-a*l,e[1]+a*s+i*l],[e[0]+i*s+a*l,e[1]+a*s-i*l])}function HDt(e,t,n,r=0,i,a){return t===n?Fde(i,a,e,t):E6(i,a,e,t,n,r)}function qDt(e,t,n,r=0,i,a){return t===n?LDt(i,a,e,t):BDt(i,a,e,t,n,r)}function WDt(e,t,n,r,i){let{minX:a,minY:o,width:s,height:l}=i;return qDt(e,t,n,r,[a,o],[s,l])}function GDt(e,t,n){let{minX:r,minY:i,width:a,height:o}=e;return TDt(t,n,[r,i],[a,o])}function VDt(e,t){return MDt([e.minX,e.minY],[e.width,e.height],[t.minX,t.minY],[t.width,t.height])}function E3e(e,t){return YDt(t,e)}function KDt(e,t){return DHe(t,e)}function YDt(e,t){return PDt([t.minX,t.minY],[t.width,t.height],e)}function DHe(e,t){return FDt([t.minX,t.minY],[t.width,t.height],e)}var XDt=Object.defineProperty,JDt=Object.defineProperties,ZDt=Object.getOwnPropertyDescriptors,JL=Object.getOwnPropertySymbols,IHe=Object.prototype.hasOwnProperty,RHe=Object.prototype.propertyIsEnumerable,Gae=(e,t,n)=>t in e?XDt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ba=(e,t)=>{for(var n in t||(t={}))IHe.call(t,n)&&Gae(e,n,t[n]);if(JL)for(var n of JL(t))RHe.call(t,n)&&Gae(e,n,t[n]);return e},Pp=(e,t)=>JDt(e,ZDt(t)),eE=(e,t)=>{var n={};for(var r in e)IHe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&JL)for(var r of JL(e))t.indexOf(r)<0&&RHe.call(e,r)&&(n[r]=e[r]);return n},es=(e,t,n)=>(Gae(e,typeof t!="symbol"?t+"":t,n),n),zde=C.createContext({});function Gu(){return C.useContext(zde)}var QDt=(e=>(e.TransformSelected="transform_selected",e.TranslateSelected="translate_selected",e.TransformAll="transform_all",e.TranslateAll="translate_all",e))(QDt||{}),eIt=(e=>(e.Top="top_edge",e.Right="right_edge",e.Bottom="bottom_edge",e.Left="left_edge",e))(eIt||{}),b0=(e=>(e.TopLeft="top_left_corner",e.TopRight="top_right_corner",e.BottomRight="bottom_right_corner",e.BottomLeft="bottom_left_corner",e))(b0||{}),tIt=(e=>(e.minX="minX",e.midX="midX",e.maxX="maxX",e.minY="minY",e.midY="midY",e.maxY="maxY",e))(tIt||{});String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object regexp]"?this.replace(e,t):this.replace(new RegExp(e,"g"),t)});var ZD=Math.PI*2,Cl=class{static lerp(t,n,r){return r=Cl.clamp(r,0,1),t*(1-r)+n*r}static lerpColor(t,n,r=.5){function i(u){let c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(u);return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}function a(u){return"#"+((1<<24)+(u[0]<<16)+(u[1]<<8)+u[2]).toString(16).slice(1)}let o=i(t)||[0,0,0],s=i(n)||[0,0,0],l=o.slice();for(let u=0;u<3;u++)l[u]=Math.round(l[u]+r*(s[u]-o[u]));return a(l)}static modulate(t,n,r,i=!1){let[a,o]=n,[s,l]=r,u=s+(t-a)/(o-a)*(l-s);return i?sn[r]=typeof t[r]=="object"?Cl.deepClone(t[r]):t[r]),n}return t}static rng(t=""){let n=0,r=0,i=0,a=0;function o(){let s=n^n<<11;return n=r,r=i,i=a,a^=(a>>>19^s^s>>>8)>>>0,a/4294967296}for(let s=0;si}static degreesToRadians(t){return t*Math.PI/180}static radiansToDegrees(t){return t*180/Math.PI}static getArcLength(t,n,r,i){let a=Cl.getSweep(t,r,i);return n*(2*Math.PI)*(a/(2*Math.PI))}static getSweepFlag(t,n,r){let i=We.angle(t,r);return(We.angle(t,n)-i+3*Math.PI)%(2*Math.PI)-Math.PI>0?0:1}static getLargeArcFlag(t,n,r){let i=We.angle(r,t),a=(We.angle(r,n)-i+3*Math.PI)%(2*Math.PI)-Math.PI;return Math.abs(a)>Math.PI/2?0:1}static getArcDashOffset(t,n,r,i,a){let o=Cl.getSweepFlag(t,r,i),s=Cl.getArcLength(t,n,r,i);return-(o<0?s:2*Math.PI*t[2]-s)/2+a}static getEllipseDashOffset(t,n){return-(2*Math.PI*t[2])/2+-n}static pointInCircle(t,n,r){return We.dist(t,n)<=r}static pointInEllipse(t,n,r,i,a=0){a=a||0;let o=Math.cos(a),s=Math.sin(a),l=We.sub(t,n),u=o*l[0]+s*l[1],c=s*l[0]-o*l[1];return u*u/(r*r)+c*c/(i*i)<=1}static pointInRect(t,n){return!(t[0]t[0]+n[0]||t[1]t[1]+n[1])}static pointInPolygon(t,n){let r=0;return n.forEach((i,a)=>{let o=n[(a+1)%n.length];i[1]<=t[1]?o[1]>t[1]&&We.cross(i,o,t)>0&&(r+=1):o[1]<=t[1]&&We.cross(i,o,t)<0&&(r-=1)}),r!==0}static pointInBounds(t,n){return!(t[0]n.maxX||t[1]n.maxY)}static pointInPolyline(t,n,r=3){for(let i=1;in.maxX||t.maxYn.maxY)}static boundsContain(t,n){return t.minXn.maxY&&t.maxX>n.maxX}static boundsContained(t,n){return Cl.boundsContain(n,t)}static boundsAreEqual(t,n){return!(n.maxX!==t.maxX||n.minX!==t.minX||n.maxY!==t.maxY||n.minY!==t.minY)}static getBoundsFromPoints(t,n=0){let r=1/0,i=1/0,a=-1/0,o=-1/0;if(t.length<2)r=0,i=0,a=1,o=1;else for(let[s,l]of t)r=Math.min(s,r),i=Math.min(l,i),a=Math.max(s,a),o=Math.max(l,o);return n!==0?Cl.getBoundsFromPoints(t.map(s=>We.rotWith(s,[(r+a)/2,(i+o)/2],n))):{minX:r,minY:i,maxX:a,maxY:o,width:Math.max(1,a-r),height:Math.max(1,o-i)}}static centerBounds(t,n){let r=this.getBoundsCenter(t),i=n[0]-r[0],a=n[1]-r[1];return this.translateBounds(t,[i,a])}static snapBoundsToGrid(t,n){let r=Math.round(t.minX/n)*n,i=Math.round(t.minY/n)*n,a=Math.round(t.maxX/n)*n,o=Math.round(t.maxY/n)*n;return{minX:r,minY:i,maxX:a,maxY:o,width:Math.max(1,a-r),height:Math.max(1,o-i)}}static translateBounds(t,n){return{minX:t.minX+n[0],minY:t.minY+n[1],maxX:t.maxX+n[0],maxY:t.maxY+n[1],width:t.width,height:t.height}}static rotateBounds(t,n,r){let[i,a]=We.rotWith([t.minX,t.minY],n,r),[o,s]=We.rotWith([t.maxX,t.maxY],n,r);return{minX:i,minY:a,maxX:o,maxY:s,width:t.width,height:t.height}}static getRotatedEllipseBounds(t,n,r,i,a=0){let o=Math.cos(a),s=Math.sin(a),l=Math.hypot(r*o,i*s),u=Math.hypot(r*s,i*o);return{minX:t+r-l,minY:n+i-u,maxX:t+r+l,maxY:n+i+u,width:l*2,height:u*2}}static getExpandedBounds(t,n){let r=Math.min(t.minX,n.minX),i=Math.min(t.minY,n.minY),a=Math.max(t.maxX,n.maxX),o=Math.max(t.maxY,n.maxY),s=Math.abs(a-r),l=Math.abs(o-i);return{minX:r,minY:i,maxX:a,maxY:o,width:s,height:l}}static getCommonBounds(t){if(t.length<2)return t[0];let n=t[0];for(let r=1;rWe.rotWith(i,r,n))}static getTransformedBoundingBox(t,n,r,i=0,a=!1){let[o,s]=[t.minX,t.minY],[l,u]=[t.maxX,t.maxY],[c,f]=[t.minX,t.minY],[d,h]=[t.maxX,t.maxY];if(n==="center")return{minX:c+r[0],minY:f+r[1],maxX:d+r[0],maxY:h+r[1],width:d-c,height:h-f,scaleX:1,scaleY:1};let[p,g]=We.rot(r,-i);switch(n){case"top_edge":case"top_left_corner":case"top_right_corner":{f+=g;break}case"bottom_edge":case"bottom_left_corner":case"bottom_right_corner":{h+=g;break}}switch(n){case"left_edge":case"top_left_corner":case"bottom_left_corner":{c+=p;break}case"right_edge":case"top_right_corner":case"bottom_right_corner":{d+=p;break}}let b=l-o,m=u-s,v=(d-c)/b,w=(h-f)/m,k=v<0,E=w<0,S=Math.abs(d-c),T=Math.abs(h-f);if(a){let L=b/m,M=LWe.rotWith(o,r,n)),a=Cl.getBoundsFromPoints(i);return[a.width,a.height]}static getBoundsCenter(t){return[t.minX+t.width/2,t.minY+t.height/2]}static getBoundsWithCenter(t){let n=Cl.getBoundsCenter(t);return Pp(ba({},t),{midX:n[0],midY:n[1]})}static getCommonTopLeft(t){let n=[1/0,1/0];return t.forEach(r=>{n[0]=Math.min(n[0],r[0]),n[1]=Math.min(n[1],r[1])}),n}static getFromCache(t,n,r){let i=t.get(n);if(i===void 0&&(t.set(n,r()),i=t.get(n),i===void 0))throw Error("Cache did not include item!");return i}static uniqueId(t=""){return t?((Number(t)^Math.random()*16)>>Number(t)/4).toString(16):`10000000-1000-4000-8000-${1e11}`.replace(/[018]/g,Cl.uniqueId)}static rotateArray(t,n){return t.map((r,i)=>t[(i+n)%t.length])}static debounce(t,n=0){let r;return function(...i){clearTimeout(r),r=setTimeout(()=>t.apply(i),n)}}static getSvgPathFromStroke(t,n=!0){let r=t.length;if(r<4)return"";let i=t[0],a=t[1],o=t[2],s=`M${i[0].toFixed(2)},${i[1].toFixed(2)} Q${a[0].toFixed(2)},${a[1].toFixed(2)} ${Xm(a[0],o[0]).toFixed(2)},${Xm(a[1],o[1]).toFixed(2)} T`;for(let l=2,u=r-1;l"u")return!1;let t=window.navigator.userAgent,n=!!t.match(/iPad/i)||!!t.match(/iPhone/i),r=!!t.match(/WebKit/i);return n&&r&&!t.match(/CriOS/i)}static throttle(t,n){let r,i;return function(...a){return r||(r=!0,setTimeout(()=>r=!1,n),i=t(...a)),i}}static isDarwin(){return/Mac|iPod|iPhone|iPad/.test(window.navigator.platform)}static metaKey(t){return Cl.isDarwin()?t.metaKey:t.ctrlKey}static lns(t){let n=t.split("");return n.push(...n.splice(0,Math.round(n.length/5))),n.push(...n.splice(0,Math.round(n.length/4))),n.push(...n.splice(0,Math.round(n.length/3))),n.push(...n.splice(0,Math.round(n.length/2))),n.reverse().map(r=>+r?+r<5?5+ +r:+r>5?+r-5:r:r).join("")}},bt=Cl;es(bt,"getSnapPoints",(e,t,n)=>{let r=ba({},e),i=[0,0],a=[],o={minX:{id:"minX",isSnapped:!1},midX:{id:"midX",isSnapped:!1},maxX:{id:"maxX",isSnapped:!1},minY:{id:"minY",isSnapped:!1},midY:{id:"midY",isSnapped:!1},maxY:{id:"maxY",isSnapped:!1}},s=["midX","minX","maxX"],l=["midY","minY","maxY"],u=t.map(p=>{let g=s.flatMap((m,v)=>s.map((w,k)=>{let E=r[m]-p[w],S=Math.abs(E);return{f:m,t:w,gap:E,distance:S,isCareful:v===0||v+k===3}})),b=l.flatMap((m,v)=>l.map((w,k)=>{let E=r[m]-p[w],S=Math.abs(E);return{f:m,t:w,gap:E,distance:S,isCareful:v===0||v+k===3}}));return[p,g,b]}),c=1/0,f=1/0,d=1/0,h=1/0;return u.forEach(([p,g,b])=>{g.forEach(m=>{m.distance{m.distance{c!==1/0&&g.forEach(m=>{Math.abs(m.gap-c)<2&&(o[m.f]=Pp(ba({},o[m.f]),{isSnapped:!0,to:p[m.t],B:p,distance:m.distance}))}),f!==1/0&&b.forEach(m=>{Math.abs(m.gap-f)<2&&(o[m.f]=Pp(ba({},o[m.f]),{isSnapped:!0,to:p[m.t],B:p,distance:m.distance}))})}),i[0]=c===1/0?0:c,i[1]=f===1/0?0:f,r.minX-=i[0],r.midX-=i[0],r.maxX-=i[0],r.minY-=i[1],r.midY-=i[1],r.maxY-=i[1],s.forEach(p=>{let g=o[p];if(!g.isSnapped)return;let{id:b,B:m}=g,v=r[b];a.push(b==="minX"?[[v,r.midY],[v,m.minY],[v,m.maxY]]:[[v,r.minY],[v,r.maxY],[v,m.minY],[v,m.maxY]])}),l.forEach(p=>{let g=o[p];if(!g.isSnapped)return;let{id:b,B:m}=g,v=r[b];a.push(b==="midY"?[[r.midX,v],[m.minX,v],[m.maxX,v]]:[[r.minX,v],[r.maxX,v],[m.minX,v],[m.maxX,v]])}),{offset:i,snapLines:a}}),es(bt,"deepMerge",(e,t)=>{let n=ba({},e),r=Object.entries(t);for(let[i,a]of r)n[i]=a===Object(a)&&!Array.isArray(a)?Cl.deepMerge(n[i],a):a;return n});function Xm(e,t){return(e+t)/2}var td=bt;function nIt(e,t){let n=C.useRef(void 0),r=C.useRef(void 0),i=C.useRef([0,0]),a=C.useRef(0),{inputs:o,bounds:s,callbacks:l}=Gu();C.useEffect(()=>{let h=p=>p.preventDefault();return document.addEventListener("gesturestart",h),document.addEventListener("gesturechange",h),()=>{document.removeEventListener("gesturestart",h),document.removeEventListener("gesturechange",h)}},[]);let u=C.useCallback(({event:h})=>{var p,g,b,m;if(h.preventDefault(),o.isPinching||h.timeStamp<=a.current)return;a.current=h.timeStamp;let[v,w,k]=rIt(h);if((h.altKey||h.ctrlKey||h.metaKey)&&h.buttons===0){let T=[...(g=(p=o.pointer)==null?void 0:p.point)!=null?g:[s.width/2,s.height/2],k*.618],L=o.pan(T,h);(b=l.onZoom)==null||b.call(l,Pp(ba({},L),{delta:T}),h);return}let E=We.mul(h.shiftKey&&!td.isDarwin()?[w,0]:[v,w],.5);if(We.isEqual(E,[0,0]))return;let S=o.pan(E,h);(m=l.onPan)==null||m.call(l,S,h)},[l,o,s]),c=C.useCallback(({origin:h,event:p})=>{var g;if(p instanceof WheelEvent)return;let b=t.current;if(!b||!(p.target===b||b.contains(p.target)))return;let m=o.pinch(h,h);o.isPinching=!0,(g=l.onPinchStart)==null||g.call(l,m,p),r.current=m.point,n.current=m.origin,i.current=[0,0]},[l,o,s]),f=C.useCallback(({origin:h,offset:p,event:g})=>{var b;if(g instanceof WheelEvent)return;let m=t.current;if(!(g.target===m||m?.contains(g.target))||!n.current)return;let v=o.pinch(h,n.current),w=We.sub(v.delta,i.current);i.current=v.delta,(b=l.onPinch)==null||b.call(l,Pp(ba({},v),{point:v.point,origin:n.current,delta:[...w,p[0]]}),g),r.current=h},[l,o,s]),d=C.useCallback(({origin:h,event:p})=>{var g;let b=t.current;if(!(p.target===b||b?.contains(p.target)))return;let m=o.pinch(h,h);o.isPinching=!1,(g=l.onPinchEnd)==null||g.call(l,m,p),r.current=void 0,n.current=void 0,i.current=[0,0]},[]);fDt({onWheel:u,onPinchStart:c,onPinch:f,onPinchEnd:d},{target:t,eventOptions:{passive:!1},pinch:{from:[e.current,0],scaleBounds:()=>({from:e.current,max:5,min:.1})}})}var x3e=10;function rIt(e){let{deltaY:t,deltaX:n}=e,r=0;if(e.ctrlKey||e.metaKey){let i=Math.sign(e.deltaY),a=Math.abs(e.deltaY),o=t;a>x3e&&(o=x3e*i),r=o}return[n,t,r]}function iIt(){let{callbacks:e}=Gu();C.useEffect(()=>{function t(){var n;(n=e.onShapeBlur)==null||n.call(e)}return td.isMobileSafari()?(document.addEventListener("focusout",t),()=>document.removeEventListener("focusout",t)):()=>null},[e])}function aIt(){let{callbacks:e,inputs:t}=Gu();return C.useMemo(()=>({onPointerDown:n=>{var r,i,a;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;if(n.currentTarget.setPointerCapture(n.pointerId),n.button===2){(r=e.onRightPointCanvas)==null||r.call(e,t.pointerDown(n,"canvas"),n);return}let o=t.pointerDown(n,"canvas");n.button===0&&((i=e.onPointCanvas)==null||i.call(e,o,n)),(a=e.onPointerDown)==null||a.call(e,o,n)},onPointerMove:n=>{var r,i;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;let a=t.pointerMove(n,"canvas");n.buttons===1&&n.currentTarget.hasPointerCapture(n.pointerId)&&((r=e.onDragCanvas)==null||r.call(e,a,n)),(i=e.onPointerMove)==null||i.call(e,a,n)},onPointerUp:n=>{var r,i,a,o,s;if(n.dead||(n.dead=!0,t.activePointer=void 0,!t.pointerIsValid(n)))return;let l=t.isDoubleClick(),u=t.pointerUp(n,"canvas");if(n.button===2){(r=e.onPointerUp)==null||r.call(e,u,n);return}n.currentTarget.hasPointerCapture(n.pointerId)&&((i=n.currentTarget)==null||i.releasePointerCapture(n.pointerId)),n.button===0&&(l&&!(u.altKey||u.metaKey)&&((a=e.onDoubleClickCanvas)==null||a.call(e,u,n)),(o=e.onReleaseCanvas)==null||o.call(e,u,n)),(s=e.onPointerUp)==null||s.call(e,u,n)},onDrop:e.onDrop,onDragOver:e.onDragOver}),[e,t])}function oIt(e){let{rPageState:t,rSelectionBounds:n,callbacks:r,inputs:i}=C.useContext(zde);return C.useMemo(()=>({onPointerDown:a=>{var o,s,l,u,c,f,d;if(a.dead||(a.dead=!0,!i.pointerIsValid(a)))return;if(a.button===2){(o=r.onRightPointShape)==null||o.call(r,i.pointerDown(a,e),a);return}let h=i.pointerDown(a,e);if((s=a.currentTarget)==null||s.setPointerCapture(a.pointerId),n.current&&bt.pointInBounds(h.point,n.current)&&!t.current.selectedIds.includes(e)){a.button===0&&((l=r.onPointBounds)==null||l.call(r,i.pointerDown(a,"bounds"),a),(u=r.onPointShape)==null||u.call(r,h,a)),(c=r.onPointerDown)==null||c.call(r,h,a);return}a.button===0&&((f=r.onPointShape)==null||f.call(r,h,a)),(d=r.onPointerDown)==null||d.call(r,h,a)},onPointerUp:a=>{var o,s,l,u;if(a.dead||(a.dead=!0,!i.pointerIsValid(a))||a.button===2)return;i.activePointer=void 0;let c=i.isDoubleClick(),f=i.pointerUp(a,e);a.pointerId&&a.currentTarget.hasPointerCapture(a.pointerId)&&((o=a.currentTarget)==null||o.releasePointerCapture(a.pointerId)),a.button===0&&(c&&!(f.altKey||f.metaKey)&&((s=r.onDoubleClickShape)==null||s.call(r,f,a)),(l=r.onReleaseShape)==null||l.call(r,f,a)),(u=r.onPointerUp)==null||u.call(r,f,a)},onPointerMove:a=>{var o,s;if(a.dead||(a.dead=!0,a.buttons===2||!i.pointerIsValid(a)||i.pointer&&a.pointerId!==i.pointer.pointerId))return;let l=i.pointerMove(a,e);a.buttons===1&&a.currentTarget.hasPointerCapture(a.pointerId)&&((o=r.onDragShape)==null||o.call(r,l,a)),(s=r.onPointerMove)==null||s.call(r,l,a)},onPointerEnter:a=>{var o;if(!i.pointerIsValid(a))return;let s=i.pointerEnter(a,e);(o=r.onHoverShape)==null||o.call(r,s,a)},onPointerLeave:a=>{var o;if(!i.pointerIsValid(a))return;let s=i.pointerEnter(a,e);(o=r.onUnhoverShape)==null||o.call(r,s,a)}}),[i,r,e])}function MHe(e,t,n,r,i,a=!1,o=!1,s,l){let u={shape:e,asset:e.assetId?i[e.assetId]:void 0,meta:s,isChildOfSelected:o,isGhost:e.isGhost||a,isEditing:r.editingId===e.id,isBinding:l===e.id,isSelected:r.selectedIds.includes(e.id),isHovered:r.hoveredId===e.id||e.children!==void 0&&(r.hoveredId&&e.children.includes(r.hoveredId)||e.children.some(c=>r.selectedIds.includes(c)))};t.push(u),e.children&&(u.children=[],e.children.map(c=>n[c]).filter(c=>n[c.id]).sort((c,f)=>c.childIndex-f.childIndex).forEach(c=>MHe(c,u.children,n,r,i,u.isGhost,u.isSelected||u.isChildOfSelected,s)))}function sIt(e,t){return bt.boundsContain(t,e)||bt.boundsCollide(t,e)}function lIt(e,t,n,r){let{callbacks:i,shapeUtils:a,bounds:o}=Gu(),s=C.useRef(),l=C.useRef(-1),u=C.useRef(new Set),c=C.useRef(new Set),{selectedIds:f,camera:d}=t,[h,p]=We.sub(We.div([0,0],d.zoom),d.point),[g,b]=We.sub(We.div([o.width,o.height],d.zoom),d.point),m={minX:h,minY:p,maxX:g,maxY:b,height:g-h,width:b-p},v=c.current,w=u.current;v.clear(),w.clear(),Object.values(e.shapes).filter(S=>a[S.type].isStateful||f.includes(S.id)||sIt(a[S.type].getBounds(S),m)).forEach(S=>{if(S.parentId===e.id){w.add(S.id),v.add(S);return}let T=e.shapes[S.parentId];if(T===void 0)throw Error(`A shape (${S.id}) has a parent (${S.parentId}) that does not exist!`);w.add(T.id),v.add(T)}),v.size!==l.current&&(s.current&&clearTimeout(s.current),s.current=requestAnimationFrame(()=>{var S;(S=i.onRenderCountChange)==null||S.call(i,Array.from(w.values()))}),l.current=v.size);let k=t.bindingId?e.bindings[t.bindingId].toId:void 0,E=[];return v.forEach(S=>{if(S===void 0)throw Error("Rendered shapes included a missing shape");MHe(S,E,e.shapes,t,n,S.isGhost,!1,r,k)}),E.sort((S,T)=>S.shape.childIndex-T.shape.childIndex),E}var Lq=new Map;function uIt(e,t){return Object.keys(t).reduce((n,r)=>{let i=t[r];return i?n+`${`--${e}-${r}`}: ${i}; +`:n},"")}function cIt(e,t,n=":root"){C.useLayoutEffect(()=>{let r=document.createElement("style"),i=uIt(e,t);return r.setAttribute("id",`${e}-theme`),r.setAttribute("data-selector",n),r.innerHTML=` ${n} { ${i} } - `,document.head.appendChild(r),()=>{r&&document.head.contains(r)&&document.head.removeChild(r)}},[e,t,n])}function cIt(e,t){C.useLayoutEffect(()=>{if(Lq.get(e))return()=>{};let n=document.createElement("style");return n.innerHTML=t,n.setAttribute("id",e),document.head.appendChild(n),Lq.set(e,n),()=>{n&&document.head.contains(n)&&(document.head.removeChild(n),Lq.delete(e))}},[e,t])}var fIt=(e,...t)=>e.reduce((n,r,i)=>n+r+(i{r&&document.head.contains(r)&&document.head.removeChild(r)}},[e,t,n])}function fIt(e,t){C.useLayoutEffect(()=>{if(Lq.get(e))return()=>{};let n=document.createElement("style");return n.innerHTML=t,n.setAttribute("id",e),document.head.appendChild(n),Lq.set(e,n),()=>{n&&document.head.contains(n)&&(document.head.removeChild(n),Lq.delete(e))}},[e,t])}var dIt=(e,...t)=>e.reduce((n,r,i)=>n+r+(iba(ba({},dIt),e),[e]);uIt("tl",n,t),cIt("tl-canvas",hIt)}function x6(e){let{callbacks:t,inputs:n}=Gu(),r=C.useCallback(l=>{var u,c,f,d;if(l.dead||(l.dead=!0,!n.pointerIsValid(l)))return;(u=l.currentTarget)==null||u.setPointerCapture(l.pointerId);let h=n.pointerDown(l,e);if(l.button===2){(c=t.onRightPointBoundsHandle)==null||c.call(t,h,l);return}l.button===0&&((f=t.onPointBoundsHandle)==null||f.call(t,h,l)),(d=t.onPointerDown)==null||d.call(t,h,l)},[n,t,e]),i=C.useCallback(l=>{var u,c,f;if(l.dead||(l.dead=!0,l.button===2||!n.pointerIsValid(l)))return;let d=n.pointerUp(l,e),h=n.isDoubleClick();l.button===0&&(h&&!(d.altKey||d.metaKey)&&((u=t.onDoubleClickBoundsHandle)==null||u.call(t,d,l)),(c=t.onReleaseBoundsHandle)==null||c.call(t,d,l)),(f=t.onPointerUp)==null||f.call(t,d,l)},[n,t,e]),a=C.useCallback(l=>{var u,c;if(l.dead||(l.dead=!0,!n.pointerIsValid(l))||l.buttons===2)return;let f=n.pointerMove(l,e);l.buttons===1&&l.currentTarget.hasPointerCapture(l.pointerId)&&((u=t.onDragBoundsHandle)==null||u.call(t,f,l)),(c=t.onPointerMove)==null||c.call(t,f,l)},[n,t,e]),o=C.useCallback(l=>{var u;!n.pointerIsValid(l)||(u=t.onHoverBoundsHandle)==null||u.call(t,n.pointerEnter(l,e),l)},[n,t,e]),s=C.useCallback(l=>{var u;!n.pointerIsValid(l)||(u=t.onUnhoverBoundsHandle)==null||u.call(t,n.pointerEnter(l,e),l)},[n,t,e]);return{onPointerDown:r,onPointerUp:i,onPointerEnter:o,onPointerMove:a,onPointerLeave:s}}function gIt(e,t,n){let r=C.useRef(),i=C.useRef();C.useLayoutEffect(()=>{let{zoom:a,point:o}=n.camera,s=a!==r.current,l=o!==i.current;if(r.current=a,i.current=o,s||l){let u=e.current;if(t&&"current"in t){let c=t.current;s&&c&&c.style.setProperty("--tl-zoom",a.toString()),u&&u.style.setProperty("transform",`scale(${a}) translateX(${o[0]}px) translateY(${o[1]}px)`)}}},[n.camera.zoom,n.camera.point])}function S3e(e,t){return[(e[0]+t.point[0])*t.zoom,(e[1]+t.point[1])*t.zoom]}function Bq(e,t){return e[t.type]}function mIt(e,t,n){let{rSelectionBounds:r}=Gu(),{selectedIds:i}=t,a=C.useRef(),o,s=0,l=!1,u=!1;if(i.length===1){let f=i[0],d=e.shapes[f];if(!d)throw Error(`selectedIds is set to the id of a shape that doesn't exist: ${f}`);s=d.rotation||0,l=d.isLocked||!1;let h=Bq(n,d);o=h.hideBounds?void 0:h.getBounds(d)}else if(i.length>1){let f=i.map(d=>e.shapes[d]);s=0,l=f.every(d=>d.isLocked),o=f.reduce((d,h,p)=>p===0?Bq(n,h).getRotatedBounds(h):td.getExpandedBounds(d,Bq(n,h).getRotatedBounds(h)),{})}if(o){let[f,d]=S3e([o.minX,o.minY],t.camera),[h,p]=S3e([o.maxX,o.maxY],t.camera);u=!!Object.values(e.bindings).find(g=>i.includes(g.toId)||i.includes(g.fromId)),r.current={minX:f,minY:d,maxX:h,maxY:p,width:h-f,height:p-d}}else r.current=null;let c=a.current;return!c||!o?a.current=o:o&&c.minX===o.minX&&c.minY===o.minY&&c.maxX===o.maxX&&c.maxY===o.maxY&&(o=a.current),{bounds:o,rotation:s,isLocked:l,isLinked:u}}function vIt(e){let{inputs:t,callbacks:n}=Gu();return C.useMemo(()=>({onPointerDown:r=>{var i,a,o;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.button===2)return;(i=r.currentTarget)==null||i.setPointerCapture(r.pointerId);let s=t.pointerDown(r,e);r.button===0&&((a=n.onPointHandle)==null||a.call(n,s,r)),(o=n.onPointerDown)==null||o.call(n,s,r)},onPointerUp:r=>{var i,a,o,s;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.button===2)return;let l=t.isDoubleClick(),u=t.pointerUp(r,e);r.currentTarget.hasPointerCapture(r.pointerId)&&((i=r.currentTarget)==null||i.releasePointerCapture(r.pointerId),r.button===0&&(l&&!(u.altKey||u.metaKey)&&((a=n.onDoubleClickHandle)==null||a.call(n,u,r)),(o=n.onReleaseHandle)==null||o.call(n,u,r))),(s=n.onPointerUp)==null||s.call(n,u,r)},onPointerMove:r=>{var i,a;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.buttons===2)return;let o=t.pointerMove(r,e);r.buttons===1&&r.currentTarget.hasPointerCapture(r.pointerId)&&((i=n.onDragHandle)==null||i.call(n,o,r)),(a=n.onPointerMove)==null||a.call(n,o,r)},onPointerEnter:r=>{var i;if(!t.pointerIsValid(r))return;let a=t.pointerEnter(r,e);(i=n.onHoverHandle)==null||i.call(n,a,r)},onPointerLeave:r=>{var i;if(!t.pointerIsValid(r))return;let a=t.pointerEnter(r,e);(i=n.onUnhoverHandle)==null||i.call(n,a,r)}}),[t,n,e])}function yIt(e){let{bounds:t}=Gu();C.useEffect(()=>{let n=a=>{a.preventDefault()},r=a=>{let o=a.touches[0].pageX,s=a.touches[0].radiusX||0;(o-s<10||o+s>t.width-10)&&a.preventDefault()},i=e.current;return i?(i.addEventListener("gestureend",n),i.addEventListener("gesturechange",n),i.addEventListener("gesturestart",n),i.addEventListener("touchstart",r),()=>{i&&(i.removeEventListener("gestureend",n),i.removeEventListener("gesturechange",n),i.removeEventListener("gesturestart",n),i.removeEventListener("touchstart",r))}):()=>{}},[e,t.width])}function bIt(){let{callbacks:e,inputs:t}=Gu();return C.useMemo(()=>({onPointerDown:n=>{var r,i,a,o;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;if(n.button===2){(r=e.onRightPointBounds)==null||r.call(e,t.pointerDown(n,"bounds"),n);return}let s=t.pointerDown(n,"bounds");(i=n.currentTarget)==null||i.setPointerCapture(n.pointerId),n.button===0&&((a=e.onPointBounds)==null||a.call(e,s,n)),(o=e.onPointerDown)==null||o.call(e,s,n)},onPointerUp:n=>{var r,i,a,o;if(n.dead||(n.dead=!0,n.button===2)||(t.activePointer=void 0,!t.pointerIsValid(n)))return;let s=t.isDoubleClick(),l=t.pointerUp(n,"bounds");n.currentTarget.hasPointerCapture(n.pointerId)&&((r=n.currentTarget)==null||r.releasePointerCapture(n.pointerId)),n.button===0&&(s&&!(l.altKey||l.metaKey)&&((i=e.onDoubleClickBounds)==null||i.call(e,l,n)),(a=e.onReleaseBounds)==null||a.call(e,l,n)),(o=e.onPointerUp)==null||o.call(e,l,n)},onPointerMove:n=>{var r,i;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;n.buttons===1&&n.currentTarget.hasPointerCapture(n.pointerId)&&((r=e.onDragBounds)==null||r.call(e,t.pointerMove(n,"bounds"),n));let a=t.pointerMove(n,"bounds");(i=e.onPointerMove)==null||i.call(e,a,n)},onPointerEnter:n=>{var r;!t.pointerIsValid(n)||(r=e.onHoverBounds)==null||r.call(e,t.pointerEnter(n,"bounds"),n)},onPointerLeave:n=>{var r;!t.pointerIsValid(n)||(r=e.onUnhoverBounds)==null||r.call(e,t.pointerEnter(n,"bounds"),n)}}),[t,e])}function OHe(e,t=0){let n=C.useRef(null);return C.useLayoutEffect(()=>{let r=n.current,i=` +`;function gIt(e,t){let n=C.useMemo(()=>ba(ba({},hIt),e),[e]);cIt("tl",n,t),fIt("tl-canvas",pIt)}function x6(e){let{callbacks:t,inputs:n}=Gu(),r=C.useCallback(l=>{var u,c,f,d;if(l.dead||(l.dead=!0,!n.pointerIsValid(l)))return;(u=l.currentTarget)==null||u.setPointerCapture(l.pointerId);let h=n.pointerDown(l,e);if(l.button===2){(c=t.onRightPointBoundsHandle)==null||c.call(t,h,l);return}l.button===0&&((f=t.onPointBoundsHandle)==null||f.call(t,h,l)),(d=t.onPointerDown)==null||d.call(t,h,l)},[n,t,e]),i=C.useCallback(l=>{var u,c,f;if(l.dead||(l.dead=!0,l.button===2||!n.pointerIsValid(l)))return;let d=n.pointerUp(l,e),h=n.isDoubleClick();l.button===0&&(h&&!(d.altKey||d.metaKey)&&((u=t.onDoubleClickBoundsHandle)==null||u.call(t,d,l)),(c=t.onReleaseBoundsHandle)==null||c.call(t,d,l)),(f=t.onPointerUp)==null||f.call(t,d,l)},[n,t,e]),a=C.useCallback(l=>{var u,c;if(l.dead||(l.dead=!0,!n.pointerIsValid(l))||l.buttons===2)return;let f=n.pointerMove(l,e);l.buttons===1&&l.currentTarget.hasPointerCapture(l.pointerId)&&((u=t.onDragBoundsHandle)==null||u.call(t,f,l)),(c=t.onPointerMove)==null||c.call(t,f,l)},[n,t,e]),o=C.useCallback(l=>{var u;!n.pointerIsValid(l)||(u=t.onHoverBoundsHandle)==null||u.call(t,n.pointerEnter(l,e),l)},[n,t,e]),s=C.useCallback(l=>{var u;!n.pointerIsValid(l)||(u=t.onUnhoverBoundsHandle)==null||u.call(t,n.pointerEnter(l,e),l)},[n,t,e]);return{onPointerDown:r,onPointerUp:i,onPointerEnter:o,onPointerMove:a,onPointerLeave:s}}function mIt(e,t,n){let r=C.useRef(),i=C.useRef();C.useLayoutEffect(()=>{let{zoom:a,point:o}=n.camera,s=a!==r.current,l=o!==i.current;if(r.current=a,i.current=o,s||l){let u=e.current;if(t&&"current"in t){let c=t.current;s&&c&&c.style.setProperty("--tl-zoom",a.toString()),u&&u.style.setProperty("transform",`scale(${a}) translateX(${o[0]}px) translateY(${o[1]}px)`)}}},[n.camera.zoom,n.camera.point])}function S3e(e,t){return[(e[0]+t.point[0])*t.zoom,(e[1]+t.point[1])*t.zoom]}function Bq(e,t){return e[t.type]}function vIt(e,t,n){let{rSelectionBounds:r}=Gu(),{selectedIds:i}=t,a=C.useRef(),o,s=0,l=!1,u=!1;if(i.length===1){let f=i[0],d=e.shapes[f];if(!d)throw Error(`selectedIds is set to the id of a shape that doesn't exist: ${f}`);s=d.rotation||0,l=d.isLocked||!1;let h=Bq(n,d);o=h.hideBounds?void 0:h.getBounds(d)}else if(i.length>1){let f=i.map(d=>e.shapes[d]);s=0,l=f.every(d=>d.isLocked),o=f.reduce((d,h,p)=>p===0?Bq(n,h).getRotatedBounds(h):td.getExpandedBounds(d,Bq(n,h).getRotatedBounds(h)),{})}if(o){let[f,d]=S3e([o.minX,o.minY],t.camera),[h,p]=S3e([o.maxX,o.maxY],t.camera);u=!!Object.values(e.bindings).find(g=>i.includes(g.toId)||i.includes(g.fromId)),r.current={minX:f,minY:d,maxX:h,maxY:p,width:h-f,height:p-d}}else r.current=null;let c=a.current;return!c||!o?a.current=o:o&&c.minX===o.minX&&c.minY===o.minY&&c.maxX===o.maxX&&c.maxY===o.maxY&&(o=a.current),{bounds:o,rotation:s,isLocked:l,isLinked:u}}function yIt(e){let{inputs:t,callbacks:n}=Gu();return C.useMemo(()=>({onPointerDown:r=>{var i,a,o;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.button===2)return;(i=r.currentTarget)==null||i.setPointerCapture(r.pointerId);let s=t.pointerDown(r,e);r.button===0&&((a=n.onPointHandle)==null||a.call(n,s,r)),(o=n.onPointerDown)==null||o.call(n,s,r)},onPointerUp:r=>{var i,a,o,s;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.button===2)return;let l=t.isDoubleClick(),u=t.pointerUp(r,e);r.currentTarget.hasPointerCapture(r.pointerId)&&((i=r.currentTarget)==null||i.releasePointerCapture(r.pointerId),r.button===0&&(l&&!(u.altKey||u.metaKey)&&((a=n.onDoubleClickHandle)==null||a.call(n,u,r)),(o=n.onReleaseHandle)==null||o.call(n,u,r))),(s=n.onPointerUp)==null||s.call(n,u,r)},onPointerMove:r=>{var i,a;if(r.dead||(r.dead=!0,!t.pointerIsValid(r))||r.buttons===2)return;let o=t.pointerMove(r,e);r.buttons===1&&r.currentTarget.hasPointerCapture(r.pointerId)&&((i=n.onDragHandle)==null||i.call(n,o,r)),(a=n.onPointerMove)==null||a.call(n,o,r)},onPointerEnter:r=>{var i;if(!t.pointerIsValid(r))return;let a=t.pointerEnter(r,e);(i=n.onHoverHandle)==null||i.call(n,a,r)},onPointerLeave:r=>{var i;if(!t.pointerIsValid(r))return;let a=t.pointerEnter(r,e);(i=n.onUnhoverHandle)==null||i.call(n,a,r)}}),[t,n,e])}function bIt(e){let{bounds:t}=Gu();C.useEffect(()=>{let n=a=>{a.preventDefault()},r=a=>{let o=a.touches[0].pageX,s=a.touches[0].radiusX||0;(o-s<10||o+s>t.width-10)&&a.preventDefault()},i=e.current;return i?(i.addEventListener("gestureend",n),i.addEventListener("gesturechange",n),i.addEventListener("gesturestart",n),i.addEventListener("touchstart",r),()=>{i&&(i.removeEventListener("gestureend",n),i.removeEventListener("gesturechange",n),i.removeEventListener("gesturestart",n),i.removeEventListener("touchstart",r))}):()=>{}},[e,t.width])}function wIt(){let{callbacks:e,inputs:t}=Gu();return C.useMemo(()=>({onPointerDown:n=>{var r,i,a,o;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;if(n.button===2){(r=e.onRightPointBounds)==null||r.call(e,t.pointerDown(n,"bounds"),n);return}let s=t.pointerDown(n,"bounds");(i=n.currentTarget)==null||i.setPointerCapture(n.pointerId),n.button===0&&((a=e.onPointBounds)==null||a.call(e,s,n)),(o=e.onPointerDown)==null||o.call(e,s,n)},onPointerUp:n=>{var r,i,a,o;if(n.dead||(n.dead=!0,n.button===2)||(t.activePointer=void 0,!t.pointerIsValid(n)))return;let s=t.isDoubleClick(),l=t.pointerUp(n,"bounds");n.currentTarget.hasPointerCapture(n.pointerId)&&((r=n.currentTarget)==null||r.releasePointerCapture(n.pointerId)),n.button===0&&(s&&!(l.altKey||l.metaKey)&&((i=e.onDoubleClickBounds)==null||i.call(e,l,n)),(a=e.onReleaseBounds)==null||a.call(e,l,n)),(o=e.onPointerUp)==null||o.call(e,l,n)},onPointerMove:n=>{var r,i;if(n.dead||(n.dead=!0,!t.pointerIsValid(n)))return;n.buttons===1&&n.currentTarget.hasPointerCapture(n.pointerId)&&((r=e.onDragBounds)==null||r.call(e,t.pointerMove(n,"bounds"),n));let a=t.pointerMove(n,"bounds");(i=e.onPointerMove)==null||i.call(e,a,n)},onPointerEnter:n=>{var r;!t.pointerIsValid(n)||(r=e.onHoverBounds)==null||r.call(e,t.pointerEnter(n,"bounds"),n)},onPointerLeave:n=>{var r;!t.pointerIsValid(n)||(r=e.onUnhoverBounds)==null||r.call(e,t.pointerEnter(n,"bounds"),n)}}),[t,e])}function OHe(e,t=0){let n=C.useRef(null);return C.useLayoutEffect(()=>{let r=n.current,i=` translate( calc(${e.minX}px - var(--tl-padding)), calc(${e.minY}px - var(--tl-padding)) ) - rotate(${t+(e.rotation||0)}rad)`;r.style.setProperty("transform",i),r.style.setProperty("width",`calc(${Math.floor(e.width)}px + (var(--tl-padding) * 2))`),r.style.setProperty("height",`calc(${Math.floor(e.height)}px + (var(--tl-padding) * 2))`)},[e,t]),n}function wIt(){let{inputs:e,callbacks:t}=Gu();C.useEffect(()=>{let n=i=>{var a;(a=t.onKeyDown)==null||a.call(t,i.key,e.keydown(i),i)},r=i=>{var a;e.keyup(i),(a=t.onKeyUp)==null||a.call(t,i.key,e.keyup(i),i)};return window.addEventListener("keydown",n),window.addEventListener("keyup",r),()=>{window.removeEventListener("keydown",n),window.removeEventListener("keyup",r)}},[e,t])}function kIt(e,t){C.useLayoutEffect(()=>{if(t&&"current"in t){let n=t?.current;if(!n)return;switch(e){case"transform_selected":{n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","transform, contents");break}case"transform_all":{n.style.setProperty("--tl-performance-all","transform, contents"),n.style.setProperty("--tl-performance-selected","transform, contents");break}case"translate_selected":{n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","transform");break}case"translate_all":{n.style.setProperty("--tl-performance-all","transform"),n.style.setProperty("--tl-performance-selected","transform");break}default:n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","auto")}}},[e])}function _It(e){var t=e,{id:n,bounds:r,rotation:i=0,isGhost:a=!1,isSelected:o=!1,children:s}=t,l=eE(t,["id","bounds","rotation","isGhost","isSelected","children"]);let u=OHe(r,i);return C.createElement("div",ba({id:n,ref:u,className:`tl-positioned${a?" tl-ghost":""}${o?" tl-positioned-selected":""}`,"aria-label":"container","data-testid":"container"},l),s)}var I7=C.memo(_It);function CIt({brush:e,zoom:t,dashed:n}){return C.createElement(I7,{bounds:e,rotation:0},C.createElement(gh,null,C.createElement("rect",{className:"tl-brush"+(n?" dashed":""),opacity:1,x:0,y:0,width:e.width,height:e.height,"aria-label":"brush"}),n&&C.createElement("g",{className:"tl-dashed-brush-line"},C.createElement(QD,{x1:0,y1:0,x2:e.width,y2:0,zoom:t}),C.createElement(QD,{x1:e.width,y1:0,x2:e.width,y2:e.height,zoom:t}),C.createElement(QD,{x1:0,y1:e.height,x2:e.width,y2:e.height,zoom:t}),C.createElement(QD,{x1:0,y1:0,x2:0,y2:e.height,zoom:t}))))}var EIt=C.memo(CIt);function QD({x1:e,y1:t,x2:n,y2:r,zoom:i}){let a=td.getPerfectDashProps(Math.hypot(n-e,r-t),1/i,"dashed",1,!0,3);return C.createElement("line",{x1:e,y1:t,x2:n,y2:r,strokeWidth:1/i,strokeDasharray:a.strokeDasharray,strokeDashoffset:a.strokeDashoffset})}var xIt=C.memo(({color:e})=>C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",fill:"none",fillRule:"evenodd"},C.createElement("g",{fill:"rgba(0,0,0,.2)",transform:"translate(1,1)"},C.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),C.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),C.createElement("g",{fill:"white"},C.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),C.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),C.createElement("g",{fill:e},C.createElement("path",{d:"m19.751 24.4155-1.844.774-3.1-7.374 1.841-.775z"}),C.createElement("path",{d:"m13 10.814v11.188l2.969-2.866.428-.139h4.768z"}))));function SIt({points:e,zoom:t}){if(e.length===0)return null;let n=td.getSvgPathFromStroke(T7(e,{size:16/t,start:{taper:!0}}));return C.createElement("path",{d:n,className:"tl-erase-line"})}var AIt=C.memo(SIt),A3e=[[-1,.15,64],[.05,.375,16],[.15,1,4],[.7,2.5,1]];function TIt({grid:e,camera:t}){return C.createElement("svg",{className:"tl-grid",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},C.createElement("defs",null,A3e.map(([n,r,i],a)=>{let o=i*e*t.zoom,s=t.point[0]*t.zoom,l=t.point[1]*t.zoom,u=s>0?s%o:o+s%o,c=l>0?l%o:o+l%o,f=t.zoomC.createElement("rect",{key:`grid-rect-${r}`,width:"100%",height:"100%",fill:`url(#grid-${r})`})))}function DIt({camera:{zoom:e,point:t},children:n}){let r=2.5/e;return C.createElement("svg",{className:"tl-overlay"},C.createElement("defs",null,C.createElement("g",{id:"tl-snap-point"},C.createElement("path",{className:"tl-snap-point",d:`M ${-r},${-r} L ${r},${r} M ${-r},${r} L ${r},${-r}`}))),C.createElement("g",{transform:`scale(${e}) translate(${t})`},n))}var IIt=C.memo(DIt),gh=C.memo(C.forwardRef(function(e,t){var n=e,{id:r,className:i="",children:a}=n,o=eE(n,["id","className","children"]);return C.createElement("svg",ba({ref:t,className:`tl-positioned-svg ${i}`},o),C.createElement("g",{id:r,className:"tl-centered-g"},a))}));function RIt({bounds:e,isLocked:t,isHidden:n}){return C.createElement("rect",{className:["tl-bounds-center",t?"tl-dashed":""].join(" "),x:-1,y:-1,width:e.width+2,height:e.height+2,opacity:n?0:1,pointerEvents:"none","aria-label":"center handle"})}var MIt=C.memo(RIt),OIt={right:0,bottomRight:45,bottom:90,bottomLeft:135,left:180,topLeft:225,top:270,topRight:315};function LIt({bounds:e,side:t,targetSize:n,size:r}){let i=n*2,a={left:-i,topLeft:-i,bottomLeft:-i,right:e.width,topRight:e.width,bottomRight:e.width,top:e.width/2-i/2,bottom:e.width/2-i/2}[t],o={left:e.height/2-i/2,right:e.height/2-i/2,top:-i*2,topLeft:-i,topRight:-i,bottom:e.height,bottomLeft:e.height,bottomRight:e.height}[t],{callbacks:s,inputs:l}=Gu(),u=C.useCallback(c=>{var f;c.stopPropagation();let d=l.pointerDown(c,t);(f=s.onShapeClone)==null||f.call(s,d,c)},[s.onShapeClone]);return C.createElement("g",{className:"tl-clone-target",transform:`translate(${a}, ${o})`,"aria-label":"clone button"},C.createElement("rect",{className:"tl-transparent",width:n*2,height:n*2}),C.createElement("g",{className:"tl-clone-button-target",onPointerDown:u,transform:`translate(${n}, ${n}) rotate(${OIt[t]})`},C.createElement("circle",{className:"tl-transparent ",r:n}),C.createElement("path",{className:"tl-clone-button",d:`M -${r/2},-${r/2} L ${r/2},0 -${r/2},${r/2} Z`,strokeLinejoin:"round"})))}var Jm=C.memo(LIt);function BIt({targetSize:e,size:t,bounds:n}){return C.createElement(C.Fragment,null,C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"top"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"right"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottom"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"left"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"topLeft"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"topRight"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottomLeft"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottomRight"}))}var PIt=C.memo(BIt),FIt={top_left_corner:"tl-cursor-nwse",top_right_corner:"tl-cursor-nesw",bottom_right_corner:"tl-cursor-nwse",bottom_left_corner:"tl-cursor-nesw"};function NIt({size:e,targetSize:t,isHidden:n,corner:r,bounds:i}){let a=x6(r),o=r==="top_left_corner"||r==="top_right_corner",s=r==="top_left_corner"||r==="bottom_left_corner";return C.createElement("g",{opacity:n?0:1},C.createElement("rect",ba({className:"tl-transparent "+(n?"":FIt[r]),"aria-label":"corner transparent",x:(s?-1:i.width+1)-t,y:(o?-1:i.height+1)-t,width:t*2,height:t*2,pointerEvents:n?"none":"all"},a)),C.createElement("rect",{className:"tl-corner-handle","aria-label":"corner handle",x:(s?-1:i.width+1)-e/2,y:(o?-1:i.height+1)-e/2,width:e,height:e,pointerEvents:"none"}))}var eI=C.memo(NIt),$It={top_edge:"tl-cursor-ns",right_edge:"tl-cursor-ew",bottom_edge:"tl-cursor-ns",left_edge:"tl-cursor-ew"};function zIt({size:e,isHidden:t,bounds:n,edge:r}){let i=x6(r),a=r==="top_edge"||r==="bottom_edge",o=r==="right_edge"||r==="bottom_edge",{height:s,width:l}=n;return C.createElement("rect",ba({pointerEvents:t?"none":"all",className:"tl-transparent tl-edge-handle "+(t?"":$It[r]),"aria-label":`${r} handle`,opacity:t?0:1,x:a?e/2:(o?l+1:-1)-e/2,y:a?(o?s+1:-1)-e/2:e/2,width:a?Math.max(0,l+1-e):e,height:a?e:Math.max(0,s+1-e)},i))}var tI=C.memo(zIt);function UIt({size:e,bounds:t,isHidden:n}){let r=x6("left"),i=x6("center"),a=x6("right");return C.createElement("g",{cursor:"grab",transform:`translate(${t.width/2-e*4}, ${t.height+e*2})`,"aria-label":"link handle"},C.createElement("g",{className:"tl-transparent",pointerEvents:n?"none":"all"},C.createElement("rect",ba({x:0,y:0,width:e*2,height:e*2},r)),C.createElement("rect",ba({x:e*3,y:0,width:e*2,height:e*2},i)),C.createElement("rect",ba({x:e*6,y:0,width:e*2,height:e*2},a))),C.createElement("g",{className:"tl-rotate-handle",transform:`translate(${e/2}, ${e/2})`,"aria-label":"link rotate handle"},C.createElement("path",{d:`M 0,${e/2} L ${e},${e} ${e},0 Z`,pointerEvents:"none",opacity:n?0:1}),C.createElement("path",{transform:`translate(${e*3}, 0)`,d:`M 0,0 L ${e},0 ${e/2},${e} Z`,pointerEvents:"none",opacity:n?0:1}),C.createElement("path",{transform:`translate(${e*6}, 0)`,d:`M ${e},${e/2} L 0,0 0,${e} Z`,pointerEvents:"none",opacity:n?0:1})))}var jIt=C.memo(UIt);function HIt({bounds:e,targetSize:t,size:n,isHidden:r}){let i=x6("rotate");return C.createElement("g",{cursor:"grab",opacity:r?0:1},C.createElement("circle",ba({className:"tl-transparent","aria-label":"rotate handle transparent",cx:e.width/2,cy:n*-2,r:t,pointerEvents:r?"none":"all"},i)),C.createElement("circle",{className:"tl-rotate-handle","aria-label":"rotate handle",cx:e.width/2,cy:n*-2,r:n/2,pointerEvents:"none"}))}var qIt=C.memo(HIt),WIt=function({zoom:e,bounds:t,viewportWidth:n,rotation:r,isHidden:i,isLocked:a,hideCloneHandles:o,hideResizeHandles:s,hideRotateHandle:l,hideBindingHandles:u}){let c=(n<768?16:8)/e,f=8/e,d=Math.min(t.width,t.height)*e,h=!l&&!i&&!a&&d>32,p=!i&&!a&&d>24,g=!i&&!a&&d>20,b=!o&&d>24;return C.createElement(I7,{bounds:t,rotation:r},C.createElement(gh,null,C.createElement(MIt,{bounds:t,isLocked:a,isHidden:i}),!s&&!a?C.createElement(C.Fragment,null,C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"top_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"right_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"bottom_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"left_edge",isHidden:!p}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"top_left_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"top_right_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"bottom_right_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"bottom_left_corner"})):null,h&&C.createElement(qIt,{targetSize:c,size:f,bounds:t,isHidden:!p}),b&&C.createElement(PIt,{bounds:t,targetSize:c,size:f}),!u&&C.createElement(jIt,{targetSize:c,size:f,bounds:t,isHidden:!p})))},GIt=C.memo(WIt);function VIt({bounds:e,rotation:t,isHidden:n}){let r=bIt();return C.createElement(I7,{bounds:e,rotation:t},C.createElement(gh,null,C.createElement("rect",ba({className:"tl-bounds-bg","aria-label":"bounds bg",width:e.width,height:e.height,opacity:n?0:1},r))))}var KIt=C.memo(VIt);function YIt({id:e,point:t}){let n=vIt(e);return C.createElement(I7,{bounds:td.translateBounds({minX:0,minY:0,maxX:0,maxY:0,width:0,height:0},t)},C.createElement(gh,null,C.createElement("g",ba({className:"tl-handle","aria-label":"handle"},n),C.createElement("circle",{className:"tl-handle-bg",pointerEvents:"all"}),C.createElement("circle",{className:"tl-counter-scaled tl-handle",pointerEvents:"none",r:4}))))}var XIt=C.memo(YIt);function JIt({shape:e,zoom:t}){if(e.handles===void 0)return null;let n=null,r=Object.values(e.handles).reduce((i,a)=>{let o=We.add(a.point,e.point);return(!n||We.dist(o,n)*t>=32)&&(i.push(a),n=o),i},[]);return r.length===1?null:C.createElement(C.Fragment,null,r.map(i=>C.createElement(XIt,{key:e.id+"_"+i.id,id:i.id,point:We.add(i.point,e.point)})))}var ZIt=C.memo(JIt);function QIt(e){let t=e.utils.getRef(e.shape);return C.createElement(e.utils.Component,ba({ref:t},e))}var eRt=C.memo(QIt,(e,t)=>e.isHovered!==t.isHovered||e.isSelected!==t.isSelected||e.isEditing!==t.isEditing||e.isBinding!==t.isBinding||e.isGhost!==t.isGhost||e.meta!==t.meta?!1:t.shape!==e.shape?!t.utils.shouldRender(t.shape,e.shape):!0);function tRt(e){var t=e,{shape:n,utils:r,meta:i}=t,a=eE(t,["shape","utils","meta"]);let{callbacks:o}=Gu(),s=r.getBounds(n),l=aIt(n.id);return C.createElement(I7,{id:n.id,bounds:s,rotation:n.rotation,"data-shape":n.type,isGhost:a.isGhost,isSelected:a.isSelected},C.createElement(eRt,ba({shape:n,utils:r,meta:i,events:l,bounds:s,onShapeChange:o.onShapeChange,onShapeBlur:o.onShapeBlur},a)))}var nRt=C.memo(tRt);function rRt(e){var t=e,{shape:n,utils:r,meta:i,children:a}=t,o=eE(t,["shape","utils","meta","children"]);return C.createElement(C.Fragment,null,C.createElement(nRt,ba({shape:n,utils:r[n.type],meta:i},o)),a&&a.map(s=>C.createElement(LHe,ba({key:s.shape.id,utils:r},s))))}var LHe=C.memo(rRt);function iRt({isHovered:e=!1,isSelected:t=!1,isEditing:n=!1,shape:r,user:i,meta:a}){let{shapeUtils:o}=Gu(),s=o[r.type],l=s.getBounds(r),u=OHe(l,r.rotation);return C.createElement("div",{ref:u,draggable:!1,className:["tl-indicator","tl-absolute",t&&!i?"tl-selected":"tl-hovered",n?"tl-editing":"",r.isLocked?"tl-locked":""].join(" ")},C.createElement("svg",{width:"100%",height:"100%"},C.createElement("g",{className:"tl-centered-g",stroke:i?.color},C.createElement(s.Indicator,{shape:r,meta:a,user:i,bounds:l,isSelected:t,isHovered:e}))))}var Vae=C.memo(iRt);function aRt({page:e,pageState:t,assets:n,hideBounds:r,hideHandles:i,hideIndicators:a,hideBindingHandles:o,hideCloneHandles:s,hideRotateHandle:l,hideResizeHandles:u,meta:c}){let{bounds:f,shapeUtils:d}=Gu(),h=sIt(e,t,n,c),{bounds:p,isLinked:g,isLocked:b,rotation:m}=mIt(e,t,d),{selectedIds:v,hoveredId:w,editingId:k,camera:{zoom:E}}=t,S=a,T=!0,L=!1,M,D=v.map(I=>e.shapes[I]);if(D.length===1){let I=D[0];L=k===I.id,L&&(S=!0);let B=d[I.type];T=s||!B.showCloneHandles,I.handles!==void 0&&!L&&(M=I)}return C.createElement(C.Fragment,null,p&&C.createElement(KIt,{bounds:p,rotation:m,isHidden:r}),h.map(I=>C.createElement(LHe,ba({key:I.shape.id,utils:d},I))),!S&&D.map(I=>C.createElement(Vae,{key:"selected_"+I.id,shape:I,meta:c,isSelected:!0,isEditing:L})),!S&&w&&w!==k&&C.createElement(Vae,{key:"hovered_"+w,shape:e.shapes[w],meta:c,isHovered:!0}),p&&C.createElement(GIt,{zoom:E,bounds:p,viewportWidth:f.width,isLocked:b,rotation:m,isHidden:r,hideRotateHandle:l,hideResizeHandles:u,hideBindingHandles:o||!g,hideCloneHandles:T}),!i&&M&&C.createElement(ZIt,{shape:M,zoom:E}))}var oRt=C.memo(aRt);function sRt({snapLines:e}){return C.createElement(C.Fragment,null,e.map((t,n)=>C.createElement(uRt,{key:n,snapLine:t})))}function lRt({snapLine:e}){let t=td.getBoundsFromPoints(e);return C.createElement(C.Fragment,null,C.createElement("line",{className:"tl-snap-line",x1:t.minX,y1:t.minY,x2:t.maxX,y2:t.maxY}),e.map(([n,r],i)=>C.createElement("use",{key:i,href:"#tl-snap-point",x:n,y:r})))}var uRt=C.memo(lRt),cRt=C.memo(sRt);function fRt({user:e,Cursor:t}){let n=C.useRef(null);return C.useLayoutEffect(()=>{n.current&&(n.current.style.transform=`translate(${e.point[0]}px, ${e.point[1]}px)`)},[e.point]),C.createElement("div",{ref:n,className:`tl-absolute tl-user tl-counter-scaled ${e.session?"":"tl-animated"}`},C.createElement(t,{id:e.id,color:e.color,metadata:e.metadata}))}function dRt({userId:e,users:t,Cursor:n}){return C.createElement(C.Fragment,null,Object.values(t).filter(r=>r&&r.id!==e).map(r=>C.createElement(fRt,{key:r.id,user:r,Cursor:n})))}function hRt({userId:e,users:t,meta:n,page:r}){let{shapeUtils:i}=Gu();return C.createElement(C.Fragment,null,Object.values(t).filter(Boolean).filter(a=>a.id!==e&&a.selectedIds.length>0).map(a=>{let o=a.selectedIds.map(l=>r.shapes[l]).filter(Boolean);if(o.length===0)return null;let s=td.getCommonBounds(o.map(l=>i[l.type].getBounds(l)));return C.createElement(C.Fragment,{key:a.id+"_shapes"},C.createElement("div",{className:"tl-absolute tl-user-indicator-bounds",style:{backgroundColor:a.color+"0d",borderColor:a.color+"78",transform:`translate(${s.minX}px, ${s.minY}px)`,width:s.width,height:s.height,pointerEvents:"none"}}),o.map(l=>C.createElement(Vae,{key:`${a.id}_${l.id}_indicator`,shape:l,user:a,meta:n,isHovered:!0})))}))}var pRt=e=>{let t=e.parentElement;for(;t;){if(t===document.body)return document;let{overflowY:n}=window.getComputedStyle(t);if(t.scrollHeight>t.clientHeight&&(n==="auto"||n==="scroll"||n==="overlay"))return t;t=t.parentElement}return document};function gRt(e,t){let{inputs:n,callbacks:r}=Gu(),i=C.useRef(!1),a=C.useCallback(()=>{var o,s;if(i.current){let l=(o=e.current)==null?void 0:o.getBoundingClientRect();if(l){let u={minX:l.left,maxX:l.left+l.width,minY:l.top,maxY:l.top+l.height,width:l.width,height:l.height};n.bounds=u,t(u),(s=r.onBoundsChange)==null||s.call(r,u)}}else i.current=!0},[e,n,r.onBoundsChange]);C.useEffect(()=>{let o=e.current?pRt(e.current):document,s=bt.debounce(a,100);return o.addEventListener("scroll",s),window.addEventListener("resize",s),()=>{o.removeEventListener("scroll",s),window.removeEventListener("resize",s)}},[]),C.useEffect(()=>{let o=new ResizeObserver(s=>{n.isPinching||s[0].contentRect&&a()});return e.current&&o.observe(e.current),()=>{o.disconnect()}},[e,n]),C.useEffect(()=>{a()},[e])}function mRt({id:e,page:t,pageState:n,assets:r,snapLines:i,eraseLine:a,grid:o,users:s,userId:l,components:u={},meta:c,performanceMode:f,showDashedBrush:d,hideHandles:h,hideBounds:p,hideIndicators:g,hideBindingHandles:b,hideCloneHandles:m,hideResizeHandles:v,hideRotateHandle:w,hideGrid:k,onBoundsChange:E,hideCursors:S}){var T;let L=C.useRef(null),M=C.useRef(n.camera.zoom);M.current=n.camera.zoom,tIt(M,L),gRt(L,E),rIt(),yIt(L);let D=C.useRef(null),I=C.useRef(null);gIt(I,D,n),kIt(f,D),wIt();let B=iIt();return C.createElement("div",{id:e,className:"tl-container",ref:D},C.createElement("div",ba({id:"canvas",className:"tl-absolute tl-canvas",ref:L},B),!k&&o&&C.createElement(TIt,{grid:o,camera:n.camera}),C.createElement("div",{ref:I,className:"tl-absolute tl-layer","data-testid":"layer"},C.createElement(oRt,{page:t,pageState:n,assets:r,hideBounds:p,hideIndicators:g,hideHandles:h,hideBindingHandles:b,hideCloneHandles:m,hideResizeHandles:v,hideRotateHandle:w,meta:c}),s&&l&&C.createElement(hRt,{userId:l,users:s,page:t,meta:c}),n.brush&&C.createElement(EIt,{brush:n.brush,dashed:d,zoom:n.camera.zoom}),s&&!S&&C.createElement(dRt,{userId:l,users:s,Cursor:(T=u?.Cursor)!=null?T:xIt})),C.createElement(IIt,{camera:n.camera},a&&C.createElement(AIt,{points:a,zoom:n.camera.zoom}),i&&C.createElement(cRt,{snapLines:i}))))}var vRt=C.memo(mRt),yRt=250,al=class{constructor(){es(this,"pointer"),es(this,"keyboard"),es(this,"keys",{}),es(this,"isPinching",!1),es(this,"bounds",{minX:0,maxX:640,minY:0,maxY:480,width:640,height:480}),es(this,"pointerUpTime",0),es(this,"activePointer"),es(this,"panStart",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t,l={target:"wheel",pointerId:((n=this.pointer)==null?void 0:n.pointerId)||0,origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],delta:[0,0],pressure:.5,point:al.getPoint(t,this.bounds),shiftKey:i,ctrlKey:a,metaKey:o,altKey:s,spaceKey:this.keys[" "]};return this.pointer=l,l}),es(this,"pan",(t,n)=>{if(!this.pointer||this.pointer.target!=="wheel")return this.panStart(n);let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=n,s=this.pointer,l=al.getPoint(n,this.bounds),u=Pp(ba({},s),{target:"wheel",delta:t,point:l,shiftKey:r,ctrlKey:i,metaKey:a,altKey:o,spaceKey:this.keys[" "]});return this.pointer=u,u}),es(this,"keydown",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t;return this.keys[t.key]=!0,{point:((n=this.pointer)==null?void 0:n.point)||[0,0],origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],key:t.key,keys:Object.keys(this.keys),shiftKey:i,ctrlKey:a,metaKey:bt.isDarwin()?o:a,altKey:s}}),es(this,"keyup",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t;return delete this.keys[t.key],{point:((n=this.pointer)==null?void 0:n.point)||[0,0],origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],key:t.key,keys:Object.keys(this.keys),shiftKey:i,ctrlKey:a,metaKey:bt.isDarwin()?o:a,altKey:s}})}pointerIsValid(t){if("pointerId"in t&&this.activePointer&&this.activePointer!==t.pointerId)return!1;if("touches"in t){let n=t.changedTouches[0];if(this.activePointer&&this.activePointer!==n.identifier)return!1}return!0}touchStart(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0];this.activePointer=s.identifier;let l={target:n,pointerId:s.identifier,origin:al.getPoint(s,this.bounds),delta:[0,0],point:al.getPoint(s,this.bounds),pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}touchEnd(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0],l={target:n,pointerId:s.identifier,origin:al.getPoint(s,this.bounds),delta:[0,0],point:al.getPoint(s,this.bounds),pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,this.activePointer=void 0,l}touchMove(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0],l=this.pointer,u=al.getPoint(s,this.bounds),c=l?.point?We.sub(u,l.point):[0,0],f=Pp(ba({origin:u},l),{target:n,pointerId:s.identifier,point:u,delta:c,pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=f,f}pointerDown(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=al.getPoint(t,this.bounds);this.activePointer=t.pointerId;let l={target:n,pointerId:t.pointerId,origin:s,point:s,delta:[0,0],pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}pointerEnter(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=al.getPoint(t,this.bounds),l={target:n,pointerId:t.pointerId,origin:s,delta:[0,0],point:s,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}pointerMove(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=this.pointer,l=al.getPoint(t,this.bounds),u=s?.point?We.sub(l,s.point):[0,0],c=Pp(ba({origin:l},s),{target:n,pointerId:t.pointerId,point:l,delta:u,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,c}pointerUp(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=this.pointer,l=al.getPoint(t,this.bounds),u=s?.point?We.sub(l,s.point):[0,0];this.activePointer=void 0;let c=Pp(ba({origin:l},s),{target:n,pointerId:t.pointerId,point:l,delta:u,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,this.pointerUpTime=performance.now(),c}isDoubleClick(){if(!this.pointer)return!1;let{origin:t,point:n}=this.pointer,r=performance.now()-this.pointerUpTime{N.current=a},[a]);let[O,R]=C.useState(()=>({callbacks:I,shapeUtils:r,rSelectionBounds:B,rPageState:N,bounds:{minX:0,minY:0,maxX:1/0,maxY:1/0,width:1/0,height:1/0},inputs:new al})),P=C.useCallback(H=>{R(F=>Pp(ba({},F),{bounds:H}))},[]);return C.createElement(zde.Provider,{value:O},C.createElement(vRt,{id:n,page:i,pageState:a,assets:o,snapLines:f,eraseLine:d,grid:h,users:s,userId:l,externalContainerRef:p,hideBounds:T,hideIndicators:v,hideHandles:m,hideCloneHandles:w,hideBindingHandles:k,hideRotateHandle:S,hideResizeHandles:E,hideGrid:L,showDashedBrush:M,onBoundsChange:P,performanceMode:g,components:b,meta:c,hideCursors:D}))}var kRt=C.memo(wRt),h$=C.memo(C.forwardRef(function(e,t){var n=e,{children:r,className:i=""}=n,a=eE(n,["children","className"]);return C.createElement("div",ba({ref:t,className:`tl-positioned-div ${i}`,draggable:!1},a),C.createElement("div",{className:"tl-inner-div"},r))})),Kae=class{constructor(){es(this,"refMap",new Map),es(this,"boundsCache",new WeakMap),es(this,"showCloneHandles",!1),es(this,"hideBounds",!1),es(this,"isStateful",!1),es(this,"shouldRender",(e,t)=>!0),es(this,"getRef",e=>(this.refMap.has(e.id)||this.refMap.set(e.id,C.createRef()),this.refMap.get(e.id))),es(this,"hitTestBounds",(e,t)=>{let n=this.getBounds(e),r=td.getRotatedCorners(n,e.rotation);return r.every(i=>td.pointInBounds(i,t))||DHe(r,t).length>0}),es(this,"getRotatedBounds",e=>td.getBoundsFromPoints(td.getRotatedCorners(this.getBounds(e),e.rotation)))}};es(Kae,"Component",e=>C.forwardRef(e)),es(Kae,"Indicator",e=>e);/** + rotate(${t+(e.rotation||0)}rad)`;r.style.setProperty("transform",i),r.style.setProperty("width",`calc(${Math.floor(e.width)}px + (var(--tl-padding) * 2))`),r.style.setProperty("height",`calc(${Math.floor(e.height)}px + (var(--tl-padding) * 2))`)},[e,t]),n}function kIt(){let{inputs:e,callbacks:t}=Gu();C.useEffect(()=>{let n=i=>{var a;(a=t.onKeyDown)==null||a.call(t,i.key,e.keydown(i),i)},r=i=>{var a;e.keyup(i),(a=t.onKeyUp)==null||a.call(t,i.key,e.keyup(i),i)};return window.addEventListener("keydown",n),window.addEventListener("keyup",r),()=>{window.removeEventListener("keydown",n),window.removeEventListener("keyup",r)}},[e,t])}function _It(e,t){C.useLayoutEffect(()=>{if(t&&"current"in t){let n=t?.current;if(!n)return;switch(e){case"transform_selected":{n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","transform, contents");break}case"transform_all":{n.style.setProperty("--tl-performance-all","transform, contents"),n.style.setProperty("--tl-performance-selected","transform, contents");break}case"translate_selected":{n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","transform");break}case"translate_all":{n.style.setProperty("--tl-performance-all","transform"),n.style.setProperty("--tl-performance-selected","transform");break}default:n.style.setProperty("--tl-performance-all","auto"),n.style.setProperty("--tl-performance-selected","auto")}}},[e])}function CIt(e){var t=e,{id:n,bounds:r,rotation:i=0,isGhost:a=!1,isSelected:o=!1,children:s}=t,l=eE(t,["id","bounds","rotation","isGhost","isSelected","children"]);let u=OHe(r,i);return C.createElement("div",ba({id:n,ref:u,className:`tl-positioned${a?" tl-ghost":""}${o?" tl-positioned-selected":""}`,"aria-label":"container","data-testid":"container"},l),s)}var I7=C.memo(CIt);function EIt({brush:e,zoom:t,dashed:n}){return C.createElement(I7,{bounds:e,rotation:0},C.createElement(gh,null,C.createElement("rect",{className:"tl-brush"+(n?" dashed":""),opacity:1,x:0,y:0,width:e.width,height:e.height,"aria-label":"brush"}),n&&C.createElement("g",{className:"tl-dashed-brush-line"},C.createElement(QD,{x1:0,y1:0,x2:e.width,y2:0,zoom:t}),C.createElement(QD,{x1:e.width,y1:0,x2:e.width,y2:e.height,zoom:t}),C.createElement(QD,{x1:0,y1:e.height,x2:e.width,y2:e.height,zoom:t}),C.createElement(QD,{x1:0,y1:0,x2:0,y2:e.height,zoom:t}))))}var xIt=C.memo(EIt);function QD({x1:e,y1:t,x2:n,y2:r,zoom:i}){let a=td.getPerfectDashProps(Math.hypot(n-e,r-t),1/i,"dashed",1,!0,3);return C.createElement("line",{x1:e,y1:t,x2:n,y2:r,strokeWidth:1/i,strokeDasharray:a.strokeDasharray,strokeDashoffset:a.strokeDashoffset})}var SIt=C.memo(({color:e})=>C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",fill:"none",fillRule:"evenodd"},C.createElement("g",{fill:"rgba(0,0,0,.2)",transform:"translate(1,1)"},C.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),C.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),C.createElement("g",{fill:"white"},C.createElement("path",{d:"m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z"}),C.createElement("path",{d:"m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z"})),C.createElement("g",{fill:e},C.createElement("path",{d:"m19.751 24.4155-1.844.774-3.1-7.374 1.841-.775z"}),C.createElement("path",{d:"m13 10.814v11.188l2.969-2.866.428-.139h4.768z"}))));function AIt({points:e,zoom:t}){if(e.length===0)return null;let n=td.getSvgPathFromStroke(T7(e,{size:16/t,start:{taper:!0}}));return C.createElement("path",{d:n,className:"tl-erase-line"})}var TIt=C.memo(AIt),A3e=[[-1,.15,64],[.05,.375,16],[.15,1,4],[.7,2.5,1]];function DIt({grid:e,camera:t}){return C.createElement("svg",{className:"tl-grid",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},C.createElement("defs",null,A3e.map(([n,r,i],a)=>{let o=i*e*t.zoom,s=t.point[0]*t.zoom,l=t.point[1]*t.zoom,u=s>0?s%o:o+s%o,c=l>0?l%o:o+l%o,f=t.zoomC.createElement("rect",{key:`grid-rect-${r}`,width:"100%",height:"100%",fill:`url(#grid-${r})`})))}function IIt({camera:{zoom:e,point:t},children:n}){let r=2.5/e;return C.createElement("svg",{className:"tl-overlay"},C.createElement("defs",null,C.createElement("g",{id:"tl-snap-point"},C.createElement("path",{className:"tl-snap-point",d:`M ${-r},${-r} L ${r},${r} M ${-r},${r} L ${r},${-r}`}))),C.createElement("g",{transform:`scale(${e}) translate(${t})`},n))}var RIt=C.memo(IIt),gh=C.memo(C.forwardRef(function(e,t){var n=e,{id:r,className:i="",children:a}=n,o=eE(n,["id","className","children"]);return C.createElement("svg",ba({ref:t,className:`tl-positioned-svg ${i}`},o),C.createElement("g",{id:r,className:"tl-centered-g"},a))}));function MIt({bounds:e,isLocked:t,isHidden:n}){return C.createElement("rect",{className:["tl-bounds-center",t?"tl-dashed":""].join(" "),x:-1,y:-1,width:e.width+2,height:e.height+2,opacity:n?0:1,pointerEvents:"none","aria-label":"center handle"})}var OIt=C.memo(MIt),LIt={right:0,bottomRight:45,bottom:90,bottomLeft:135,left:180,topLeft:225,top:270,topRight:315};function BIt({bounds:e,side:t,targetSize:n,size:r}){let i=n*2,a={left:-i,topLeft:-i,bottomLeft:-i,right:e.width,topRight:e.width,bottomRight:e.width,top:e.width/2-i/2,bottom:e.width/2-i/2}[t],o={left:e.height/2-i/2,right:e.height/2-i/2,top:-i*2,topLeft:-i,topRight:-i,bottom:e.height,bottomLeft:e.height,bottomRight:e.height}[t],{callbacks:s,inputs:l}=Gu(),u=C.useCallback(c=>{var f;c.stopPropagation();let d=l.pointerDown(c,t);(f=s.onShapeClone)==null||f.call(s,d,c)},[s.onShapeClone]);return C.createElement("g",{className:"tl-clone-target",transform:`translate(${a}, ${o})`,"aria-label":"clone button"},C.createElement("rect",{className:"tl-transparent",width:n*2,height:n*2}),C.createElement("g",{className:"tl-clone-button-target",onPointerDown:u,transform:`translate(${n}, ${n}) rotate(${LIt[t]})`},C.createElement("circle",{className:"tl-transparent ",r:n}),C.createElement("path",{className:"tl-clone-button",d:`M -${r/2},-${r/2} L ${r/2},0 -${r/2},${r/2} Z`,strokeLinejoin:"round"})))}var Jm=C.memo(BIt);function PIt({targetSize:e,size:t,bounds:n}){return C.createElement(C.Fragment,null,C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"top"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"right"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottom"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"left"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"topLeft"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"topRight"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottomLeft"}),C.createElement(Jm,{targetSize:e,size:t,bounds:n,side:"bottomRight"}))}var FIt=C.memo(PIt),NIt={top_left_corner:"tl-cursor-nwse",top_right_corner:"tl-cursor-nesw",bottom_right_corner:"tl-cursor-nwse",bottom_left_corner:"tl-cursor-nesw"};function $It({size:e,targetSize:t,isHidden:n,corner:r,bounds:i}){let a=x6(r),o=r==="top_left_corner"||r==="top_right_corner",s=r==="top_left_corner"||r==="bottom_left_corner";return C.createElement("g",{opacity:n?0:1},C.createElement("rect",ba({className:"tl-transparent "+(n?"":NIt[r]),"aria-label":"corner transparent",x:(s?-1:i.width+1)-t,y:(o?-1:i.height+1)-t,width:t*2,height:t*2,pointerEvents:n?"none":"all"},a)),C.createElement("rect",{className:"tl-corner-handle","aria-label":"corner handle",x:(s?-1:i.width+1)-e/2,y:(o?-1:i.height+1)-e/2,width:e,height:e,pointerEvents:"none"}))}var eI=C.memo($It),zIt={top_edge:"tl-cursor-ns",right_edge:"tl-cursor-ew",bottom_edge:"tl-cursor-ns",left_edge:"tl-cursor-ew"};function UIt({size:e,isHidden:t,bounds:n,edge:r}){let i=x6(r),a=r==="top_edge"||r==="bottom_edge",o=r==="right_edge"||r==="bottom_edge",{height:s,width:l}=n;return C.createElement("rect",ba({pointerEvents:t?"none":"all",className:"tl-transparent tl-edge-handle "+(t?"":zIt[r]),"aria-label":`${r} handle`,opacity:t?0:1,x:a?e/2:(o?l+1:-1)-e/2,y:a?(o?s+1:-1)-e/2:e/2,width:a?Math.max(0,l+1-e):e,height:a?e:Math.max(0,s+1-e)},i))}var tI=C.memo(UIt);function jIt({size:e,bounds:t,isHidden:n}){let r=x6("left"),i=x6("center"),a=x6("right");return C.createElement("g",{cursor:"grab",transform:`translate(${t.width/2-e*4}, ${t.height+e*2})`,"aria-label":"link handle"},C.createElement("g",{className:"tl-transparent",pointerEvents:n?"none":"all"},C.createElement("rect",ba({x:0,y:0,width:e*2,height:e*2},r)),C.createElement("rect",ba({x:e*3,y:0,width:e*2,height:e*2},i)),C.createElement("rect",ba({x:e*6,y:0,width:e*2,height:e*2},a))),C.createElement("g",{className:"tl-rotate-handle",transform:`translate(${e/2}, ${e/2})`,"aria-label":"link rotate handle"},C.createElement("path",{d:`M 0,${e/2} L ${e},${e} ${e},0 Z`,pointerEvents:"none",opacity:n?0:1}),C.createElement("path",{transform:`translate(${e*3}, 0)`,d:`M 0,0 L ${e},0 ${e/2},${e} Z`,pointerEvents:"none",opacity:n?0:1}),C.createElement("path",{transform:`translate(${e*6}, 0)`,d:`M ${e},${e/2} L 0,0 0,${e} Z`,pointerEvents:"none",opacity:n?0:1})))}var HIt=C.memo(jIt);function qIt({bounds:e,targetSize:t,size:n,isHidden:r}){let i=x6("rotate");return C.createElement("g",{cursor:"grab",opacity:r?0:1},C.createElement("circle",ba({className:"tl-transparent","aria-label":"rotate handle transparent",cx:e.width/2,cy:n*-2,r:t,pointerEvents:r?"none":"all"},i)),C.createElement("circle",{className:"tl-rotate-handle","aria-label":"rotate handle",cx:e.width/2,cy:n*-2,r:n/2,pointerEvents:"none"}))}var WIt=C.memo(qIt),GIt=function({zoom:e,bounds:t,viewportWidth:n,rotation:r,isHidden:i,isLocked:a,hideCloneHandles:o,hideResizeHandles:s,hideRotateHandle:l,hideBindingHandles:u}){let c=(n<768?16:8)/e,f=8/e,d=Math.min(t.width,t.height)*e,h=!l&&!i&&!a&&d>32,p=!i&&!a&&d>24,g=!i&&!a&&d>20,b=!o&&d>24;return C.createElement(I7,{bounds:t,rotation:r},C.createElement(gh,null,C.createElement(OIt,{bounds:t,isLocked:a,isHidden:i}),!s&&!a?C.createElement(C.Fragment,null,C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"top_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"right_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"bottom_edge",isHidden:!p}),C.createElement(tI,{targetSize:c,size:f,bounds:t,edge:"left_edge",isHidden:!p}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"top_left_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"top_right_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"bottom_right_corner"}),C.createElement(eI,{targetSize:c,size:f,bounds:t,isHidden:i||!g,corner:"bottom_left_corner"})):null,h&&C.createElement(WIt,{targetSize:c,size:f,bounds:t,isHidden:!p}),b&&C.createElement(FIt,{bounds:t,targetSize:c,size:f}),!u&&C.createElement(HIt,{targetSize:c,size:f,bounds:t,isHidden:!p})))},VIt=C.memo(GIt);function KIt({bounds:e,rotation:t,isHidden:n}){let r=wIt();return C.createElement(I7,{bounds:e,rotation:t},C.createElement(gh,null,C.createElement("rect",ba({className:"tl-bounds-bg","aria-label":"bounds bg",width:e.width,height:e.height,opacity:n?0:1},r))))}var YIt=C.memo(KIt);function XIt({id:e,point:t}){let n=yIt(e);return C.createElement(I7,{bounds:td.translateBounds({minX:0,minY:0,maxX:0,maxY:0,width:0,height:0},t)},C.createElement(gh,null,C.createElement("g",ba({className:"tl-handle","aria-label":"handle"},n),C.createElement("circle",{className:"tl-handle-bg",pointerEvents:"all"}),C.createElement("circle",{className:"tl-counter-scaled tl-handle",pointerEvents:"none",r:4}))))}var JIt=C.memo(XIt);function ZIt({shape:e,zoom:t}){if(e.handles===void 0)return null;let n=null,r=Object.values(e.handles).reduce((i,a)=>{let o=We.add(a.point,e.point);return(!n||We.dist(o,n)*t>=32)&&(i.push(a),n=o),i},[]);return r.length===1?null:C.createElement(C.Fragment,null,r.map(i=>C.createElement(JIt,{key:e.id+"_"+i.id,id:i.id,point:We.add(i.point,e.point)})))}var QIt=C.memo(ZIt);function eRt(e){let t=e.utils.getRef(e.shape);return C.createElement(e.utils.Component,ba({ref:t},e))}var tRt=C.memo(eRt,(e,t)=>e.isHovered!==t.isHovered||e.isSelected!==t.isSelected||e.isEditing!==t.isEditing||e.isBinding!==t.isBinding||e.isGhost!==t.isGhost||e.meta!==t.meta?!1:t.shape!==e.shape?!t.utils.shouldRender(t.shape,e.shape):!0);function nRt(e){var t=e,{shape:n,utils:r,meta:i}=t,a=eE(t,["shape","utils","meta"]);let{callbacks:o}=Gu(),s=r.getBounds(n),l=oIt(n.id);return C.createElement(I7,{id:n.id,bounds:s,rotation:n.rotation,"data-shape":n.type,isGhost:a.isGhost,isSelected:a.isSelected},C.createElement(tRt,ba({shape:n,utils:r,meta:i,events:l,bounds:s,onShapeChange:o.onShapeChange,onShapeBlur:o.onShapeBlur},a)))}var rRt=C.memo(nRt);function iRt(e){var t=e,{shape:n,utils:r,meta:i,children:a}=t,o=eE(t,["shape","utils","meta","children"]);return C.createElement(C.Fragment,null,C.createElement(rRt,ba({shape:n,utils:r[n.type],meta:i},o)),a&&a.map(s=>C.createElement(LHe,ba({key:s.shape.id,utils:r},s))))}var LHe=C.memo(iRt);function aRt({isHovered:e=!1,isSelected:t=!1,isEditing:n=!1,shape:r,user:i,meta:a}){let{shapeUtils:o}=Gu(),s=o[r.type],l=s.getBounds(r),u=OHe(l,r.rotation);return C.createElement("div",{ref:u,draggable:!1,className:["tl-indicator","tl-absolute",t&&!i?"tl-selected":"tl-hovered",n?"tl-editing":"",r.isLocked?"tl-locked":""].join(" ")},C.createElement("svg",{width:"100%",height:"100%"},C.createElement("g",{className:"tl-centered-g",stroke:i?.color},C.createElement(s.Indicator,{shape:r,meta:a,user:i,bounds:l,isSelected:t,isHovered:e}))))}var Vae=C.memo(aRt);function oRt({page:e,pageState:t,assets:n,hideBounds:r,hideHandles:i,hideIndicators:a,hideBindingHandles:o,hideCloneHandles:s,hideRotateHandle:l,hideResizeHandles:u,meta:c}){let{bounds:f,shapeUtils:d}=Gu(),h=lIt(e,t,n,c),{bounds:p,isLinked:g,isLocked:b,rotation:m}=vIt(e,t,d),{selectedIds:v,hoveredId:w,editingId:k,camera:{zoom:E}}=t,S=a,T=!0,L=!1,M,D=v.map(I=>e.shapes[I]);if(D.length===1){let I=D[0];L=k===I.id,L&&(S=!0);let B=d[I.type];T=s||!B.showCloneHandles,I.handles!==void 0&&!L&&(M=I)}return C.createElement(C.Fragment,null,p&&C.createElement(YIt,{bounds:p,rotation:m,isHidden:r}),h.map(I=>C.createElement(LHe,ba({key:I.shape.id,utils:d},I))),!S&&D.map(I=>C.createElement(Vae,{key:"selected_"+I.id,shape:I,meta:c,isSelected:!0,isEditing:L})),!S&&w&&w!==k&&C.createElement(Vae,{key:"hovered_"+w,shape:e.shapes[w],meta:c,isHovered:!0}),p&&C.createElement(VIt,{zoom:E,bounds:p,viewportWidth:f.width,isLocked:b,rotation:m,isHidden:r,hideRotateHandle:l,hideResizeHandles:u,hideBindingHandles:o||!g,hideCloneHandles:T}),!i&&M&&C.createElement(QIt,{shape:M,zoom:E}))}var sRt=C.memo(oRt);function lRt({snapLines:e}){return C.createElement(C.Fragment,null,e.map((t,n)=>C.createElement(cRt,{key:n,snapLine:t})))}function uRt({snapLine:e}){let t=td.getBoundsFromPoints(e);return C.createElement(C.Fragment,null,C.createElement("line",{className:"tl-snap-line",x1:t.minX,y1:t.minY,x2:t.maxX,y2:t.maxY}),e.map(([n,r],i)=>C.createElement("use",{key:i,href:"#tl-snap-point",x:n,y:r})))}var cRt=C.memo(uRt),fRt=C.memo(lRt);function dRt({user:e,Cursor:t}){let n=C.useRef(null);return C.useLayoutEffect(()=>{n.current&&(n.current.style.transform=`translate(${e.point[0]}px, ${e.point[1]}px)`)},[e.point]),C.createElement("div",{ref:n,className:`tl-absolute tl-user tl-counter-scaled ${e.session?"":"tl-animated"}`},C.createElement(t,{id:e.id,color:e.color,metadata:e.metadata}))}function hRt({userId:e,users:t,Cursor:n}){return C.createElement(C.Fragment,null,Object.values(t).filter(r=>r&&r.id!==e).map(r=>C.createElement(dRt,{key:r.id,user:r,Cursor:n})))}function pRt({userId:e,users:t,meta:n,page:r}){let{shapeUtils:i}=Gu();return C.createElement(C.Fragment,null,Object.values(t).filter(Boolean).filter(a=>a.id!==e&&a.selectedIds.length>0).map(a=>{let o=a.selectedIds.map(l=>r.shapes[l]).filter(Boolean);if(o.length===0)return null;let s=td.getCommonBounds(o.map(l=>i[l.type].getBounds(l)));return C.createElement(C.Fragment,{key:a.id+"_shapes"},C.createElement("div",{className:"tl-absolute tl-user-indicator-bounds",style:{backgroundColor:a.color+"0d",borderColor:a.color+"78",transform:`translate(${s.minX}px, ${s.minY}px)`,width:s.width,height:s.height,pointerEvents:"none"}}),o.map(l=>C.createElement(Vae,{key:`${a.id}_${l.id}_indicator`,shape:l,user:a,meta:n,isHovered:!0})))}))}var gRt=e=>{let t=e.parentElement;for(;t;){if(t===document.body)return document;let{overflowY:n}=window.getComputedStyle(t);if(t.scrollHeight>t.clientHeight&&(n==="auto"||n==="scroll"||n==="overlay"))return t;t=t.parentElement}return document};function mRt(e,t){let{inputs:n,callbacks:r}=Gu(),i=C.useRef(!1),a=C.useCallback(()=>{var o,s;if(i.current){let l=(o=e.current)==null?void 0:o.getBoundingClientRect();if(l){let u={minX:l.left,maxX:l.left+l.width,minY:l.top,maxY:l.top+l.height,width:l.width,height:l.height};n.bounds=u,t(u),(s=r.onBoundsChange)==null||s.call(r,u)}}else i.current=!0},[e,n,r.onBoundsChange]);C.useEffect(()=>{let o=e.current?gRt(e.current):document,s=bt.debounce(a,100);return o.addEventListener("scroll",s),window.addEventListener("resize",s),()=>{o.removeEventListener("scroll",s),window.removeEventListener("resize",s)}},[]),C.useEffect(()=>{let o=new ResizeObserver(s=>{n.isPinching||s[0].contentRect&&a()});return e.current&&o.observe(e.current),()=>{o.disconnect()}},[e,n]),C.useEffect(()=>{a()},[e])}function vRt({id:e,page:t,pageState:n,assets:r,snapLines:i,eraseLine:a,grid:o,users:s,userId:l,components:u={},meta:c,performanceMode:f,showDashedBrush:d,hideHandles:h,hideBounds:p,hideIndicators:g,hideBindingHandles:b,hideCloneHandles:m,hideResizeHandles:v,hideRotateHandle:w,hideGrid:k,onBoundsChange:E,hideCursors:S}){var T;let L=C.useRef(null),M=C.useRef(n.camera.zoom);M.current=n.camera.zoom,nIt(M,L),mRt(L,E),iIt(),bIt(L);let D=C.useRef(null),I=C.useRef(null);mIt(I,D,n),_It(f,D),kIt();let B=aIt();return C.createElement("div",{id:e,className:"tl-container",ref:D},C.createElement("div",ba({id:"canvas",className:"tl-absolute tl-canvas",ref:L},B),!k&&o&&C.createElement(DIt,{grid:o,camera:n.camera}),C.createElement("div",{ref:I,className:"tl-absolute tl-layer","data-testid":"layer"},C.createElement(sRt,{page:t,pageState:n,assets:r,hideBounds:p,hideIndicators:g,hideHandles:h,hideBindingHandles:b,hideCloneHandles:m,hideResizeHandles:v,hideRotateHandle:w,meta:c}),s&&l&&C.createElement(pRt,{userId:l,users:s,page:t,meta:c}),n.brush&&C.createElement(xIt,{brush:n.brush,dashed:d,zoom:n.camera.zoom}),s&&!S&&C.createElement(hRt,{userId:l,users:s,Cursor:(T=u?.Cursor)!=null?T:SIt})),C.createElement(RIt,{camera:n.camera},a&&C.createElement(TIt,{points:a,zoom:n.camera.zoom}),i&&C.createElement(fRt,{snapLines:i}))))}var yRt=C.memo(vRt),bRt=250,al=class{constructor(){es(this,"pointer"),es(this,"keyboard"),es(this,"keys",{}),es(this,"isPinching",!1),es(this,"bounds",{minX:0,maxX:640,minY:0,maxY:480,width:640,height:480}),es(this,"pointerUpTime",0),es(this,"activePointer"),es(this,"panStart",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t,l={target:"wheel",pointerId:((n=this.pointer)==null?void 0:n.pointerId)||0,origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],delta:[0,0],pressure:.5,point:al.getPoint(t,this.bounds),shiftKey:i,ctrlKey:a,metaKey:o,altKey:s,spaceKey:this.keys[" "]};return this.pointer=l,l}),es(this,"pan",(t,n)=>{if(!this.pointer||this.pointer.target!=="wheel")return this.panStart(n);let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=n,s=this.pointer,l=al.getPoint(n,this.bounds),u=Pp(ba({},s),{target:"wheel",delta:t,point:l,shiftKey:r,ctrlKey:i,metaKey:a,altKey:o,spaceKey:this.keys[" "]});return this.pointer=u,u}),es(this,"keydown",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t;return this.keys[t.key]=!0,{point:((n=this.pointer)==null?void 0:n.point)||[0,0],origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],key:t.key,keys:Object.keys(this.keys),shiftKey:i,ctrlKey:a,metaKey:bt.isDarwin()?o:a,altKey:s}}),es(this,"keyup",t=>{var n,r;let{shiftKey:i,ctrlKey:a,metaKey:o,altKey:s}=t;return delete this.keys[t.key],{point:((n=this.pointer)==null?void 0:n.point)||[0,0],origin:((r=this.pointer)==null?void 0:r.origin)||[0,0],key:t.key,keys:Object.keys(this.keys),shiftKey:i,ctrlKey:a,metaKey:bt.isDarwin()?o:a,altKey:s}})}pointerIsValid(t){if("pointerId"in t&&this.activePointer&&this.activePointer!==t.pointerId)return!1;if("touches"in t){let n=t.changedTouches[0];if(this.activePointer&&this.activePointer!==n.identifier)return!1}return!0}touchStart(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0];this.activePointer=s.identifier;let l={target:n,pointerId:s.identifier,origin:al.getPoint(s,this.bounds),delta:[0,0],point:al.getPoint(s,this.bounds),pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}touchEnd(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0],l={target:n,pointerId:s.identifier,origin:al.getPoint(s,this.bounds),delta:[0,0],point:al.getPoint(s,this.bounds),pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,this.activePointer=void 0,l}touchMove(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=t.changedTouches[0],l=this.pointer,u=al.getPoint(s,this.bounds),c=l?.point?We.sub(u,l.point):[0,0],f=Pp(ba({origin:u},l),{target:n,pointerId:s.identifier,point:u,delta:c,pressure:al.getPressure(s),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=f,f}pointerDown(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=al.getPoint(t,this.bounds);this.activePointer=t.pointerId;let l={target:n,pointerId:t.pointerId,origin:s,point:s,delta:[0,0],pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}pointerEnter(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=al.getPoint(t,this.bounds),l={target:n,pointerId:t.pointerId,origin:s,delta:[0,0],point:s,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]};return this.pointer=l,l}pointerMove(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=this.pointer,l=al.getPoint(t,this.bounds),u=s?.point?We.sub(l,s.point):[0,0],c=Pp(ba({origin:l},s),{target:n,pointerId:t.pointerId,point:l,delta:u,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,c}pointerUp(t,n){let{shiftKey:r,ctrlKey:i,metaKey:a,altKey:o}=t,s=this.pointer,l=al.getPoint(t,this.bounds),u=s?.point?We.sub(l,s.point):[0,0];this.activePointer=void 0;let c=Pp(ba({origin:l},s),{target:n,pointerId:t.pointerId,point:l,delta:u,pressure:al.getPressure(t),shiftKey:r,ctrlKey:i,metaKey:bt.isDarwin()?a:i,altKey:o,spaceKey:this.keys[" "]});return this.pointer=c,this.pointerUpTime=performance.now(),c}isDoubleClick(){if(!this.pointer)return!1;let{origin:t,point:n}=this.pointer,r=performance.now()-this.pointerUpTime{N.current=a},[a]);let[O,R]=C.useState(()=>({callbacks:I,shapeUtils:r,rSelectionBounds:B,rPageState:N,bounds:{minX:0,minY:0,maxX:1/0,maxY:1/0,width:1/0,height:1/0},inputs:new al})),P=C.useCallback(H=>{R(F=>Pp(ba({},F),{bounds:H}))},[]);return C.createElement(zde.Provider,{value:O},C.createElement(yRt,{id:n,page:i,pageState:a,assets:o,snapLines:f,eraseLine:d,grid:h,users:s,userId:l,externalContainerRef:p,hideBounds:T,hideIndicators:v,hideHandles:m,hideCloneHandles:w,hideBindingHandles:k,hideRotateHandle:S,hideResizeHandles:E,hideGrid:L,showDashedBrush:M,onBoundsChange:P,performanceMode:g,components:b,meta:c,hideCursors:D}))}var _Rt=C.memo(kRt),h$=C.memo(C.forwardRef(function(e,t){var n=e,{children:r,className:i=""}=n,a=eE(n,["children","className"]);return C.createElement("div",ba({ref:t,className:`tl-positioned-div ${i}`,draggable:!1},a),C.createElement("div",{className:"tl-inner-div"},r))})),Kae=class{constructor(){es(this,"refMap",new Map),es(this,"boundsCache",new WeakMap),es(this,"showCloneHandles",!1),es(this,"hideBounds",!1),es(this,"isStateful",!1),es(this,"shouldRender",(e,t)=>!0),es(this,"getRef",e=>(this.refMap.has(e.id)||this.refMap.set(e.id,C.createRef()),this.refMap.get(e.id))),es(this,"hitTestBounds",(e,t)=>{let n=this.getBounds(e),r=td.getRotatedCorners(n,e.rotation);return r.every(i=>td.pointInBounds(i,t))||DHe(r,t).length>0}),es(this,"getRotatedBounds",e=>td.getBoundsFromPoints(td.getRotatedCorners(this.getBounds(e),e.rotation)))}};es(Kae,"Component",e=>C.forwardRef(e)),es(Kae,"Indicator",e=>e);/** * String.prototype.replaceAll() polyfill * https://gomakethings.com/how-to-replace-a-section-of-a-string-with-another-one-with-vanilla-js/ * @author Chris Ferdinandi * @license MIT -*/var _Rt=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,i){return!Object.is(r,n[i])})},T3e={error:null},CRt=function(e){n$(t,e);function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o0}),n=[],r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(LRt,function(l,u,c,f,d,h){if(u)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(WHe.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(I3e.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(I3e,function(l,u,c,f,d,h){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&h?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+h.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=Rs(Rs({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Rs(Rs({},t),R3e(a)));continue}if(qHe.test(i.stem)){t=Rs(Rs({},t),R3e(i.stem));continue}var o=GHe(i.stem);o&&(t=Rs(Rs({},t),o));var s=BRt(i.stem);s&&(t=Rs(Rs({},t),s))}return t}var nI={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function FRt(e,t){for(var n="",r=0;r>1),l="a",u=NRt(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)n+=l;for(;o-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function NRt(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=nI[r||""]||nI[n||""]||nI["".concat(n,"-001")]||nI["001"];return i[0]}var Fq,$Rt=new RegExp("^".concat(HHe.source,"*")),zRt=new RegExp("".concat(HHe.source,"*$"));function oa(e,t){return{start:e,end:t}}var URt=!!String.prototype.startsWith,jRt=!!String.fromCodePoint,HRt=!!Object.fromEntries,qRt=!!String.prototype.codePointAt,WRt=!!String.prototype.trimStart,GRt=!!String.prototype.trimEnd,VRt=!!Number.isSafeInteger,KRt=VRt?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qae=!0;try{var YRt=KHe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qae=((Fq=YRt.exec("a"))===null||Fq===void 0?void 0:Fq[0])==="a"}catch{Qae=!1}var O3e=URt?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},eoe=jRt?String.fromCodePoint:function(){for(var t=[],n=0;na;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},L3e=HRt?Object.fromEntries:function(t){for(var n={},r=0,i=t;r=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},XRt=WRt?function(t){return t.trimStart()}:function(t){return t.replace($Rt,"")},JRt=GRt?function(t){return t.trimEnd()}:function(t){return t.replace(zRt,"")};function KHe(e,t){return new RegExp(e,t)}var toe;if(Qae){var B3e=KHe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");toe=function(t,n){var r;B3e.lastIndex=n;var i=B3e.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else toe=function(t,n){for(var r=[];;){var i=VHe(t,n);if(i===void 0||YHe(i)||tMt(i))break;r.push(i),n+=i>=65536?2:1}return eoe.apply(void 0,r)};var ZRt=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:$o.pound,location:oa(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(Qi.UNMATCHED_CLOSING_TAG,oa(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&noe(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$o.literal,value:"<".concat(i,"/>"),location:oa(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:$o.tag,value:i,children:o,location:oa(r,this.clonePosition())},err:null}:this.error(Qi.INVALID_TAG,oa(s,this.clonePosition())))}else return this.error(Qi.UNCLOSED_TAG,oa(r,this.clonePosition()))}else return this.error(Qi.INVALID_TAG,oa(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&eMt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=oa(r,this.clonePosition());return{val:{type:$o.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!QRt(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return eoe.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),eoe(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Qi.EMPTY_ARGUMENT,oa(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Qi.MALFORMED_ARGUMENT,oa(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$o.argument,value:i,location:oa(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(Qi.MALFORMED_ARGUMENT,oa(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=toe(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=oa(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(Qi.EXPECT_ARGUMENT_TYPE,oa(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=JRt(f.val);if(d.length===0)return this.error(Qi.EXPECT_ARGUMENT_STYLE,oa(this.clonePosition(),this.clonePosition()));var h=oa(c,this.clonePosition());u={style:d,styleLocation:h}}var p=this.tryParseArgumentClose(i);if(p.err)return p;var g=oa(i,this.clonePosition());if(u&&O3e(u?.style,"::",0)){var b=XRt(u.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(b,u.styleLocation);return f.err?f:{val:{type:$o.number,value:r,location:g,style:f.val},err:null}}else{if(b.length===0)return this.error(Qi.EXPECT_DATE_TIME_SKELETON,g);var m=b;this.locale&&(m=FRt(b,this.locale));var d={type:h_.dateTime,pattern:m,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?IRt(m):{}},v=s==="date"?$o.date:$o.time;return{val:{type:v,value:r,location:g,style:d},err:null}}}return{val:{type:s==="number"?$o.number:s==="date"?$o.date:$o.time,value:r,location:g,style:(a=u?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Qi.EXPECT_SELECT_ARGUMENT_OPTIONS,oa(w,ZL({},w)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),E=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(Qi.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,oa(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(Qi.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Qi.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),k=this.parseIdentifierIfPossible(),E=f.val}var S=this.tryParsePluralOrSelectOptions(t,s,n,k);if(S.err)return S;var p=this.tryParseArgumentClose(i);if(p.err)return p;var T=oa(i,this.clonePosition());return s==="select"?{val:{type:$o.select,value:r,options:L3e(S.val),location:T},err:null}:{val:{type:$o.plural,value:r,options:L3e(S.val),offset:E,pluralType:s==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(Qi.INVALID_ARGUMENT_TYPE,oa(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Qi.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,oa(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=MRt(t)}catch{return this.error(Qi.INVALID_NUMBER_SKELETON,n)}return{val:{type:h_.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?PRt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR,Qi.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=oa(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?Qi.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Qi.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?Qi.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,oa(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,n,r);if(p.err)return p;var g=this.tryParseArgumentClose(h);if(g.err)return g;s.push([u,{value:p.val,location:oa(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(n==="select"?Qi.EXPECT_SELECT_ARGUMENT_SELECTOR:Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR,oa(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Qi.MISSING_OTHER_CLAUSE,oa(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=oa(i,this.clonePosition());return a?(o*=r,KRt(o)?{val:o,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=VHe(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(O3e(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&YHe(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function noe(e){return e>=97&&e<=122||e>=65&&e<=90}function QRt(e){return noe(e)||e===47}function eMt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function YHe(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function tMt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function roe(e){e.forEach(function(t){if(delete t.location,$He(t)||zHe(t))for(var n in t.options)delete t.options[n].location,roe(t.options[n].value);else PHe(t)&&jHe(t.style)||(FHe(t)||NHe(t))&&Zae(t.style)?delete t.style.location:UHe(t)&&roe(t.children)})}function nMt(e,t){t===void 0&&(t={}),t=ZL({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ZRt(e,t).parse();if(n.err){var r=SyntaxError(Qi[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||roe(n.val),n.val}function kp(e,t){var n=t&&t.cache?t.cache:lMt,r=t&&t.serializer?t.serializer:sMt,i=t&&t.strategy?t.strategy:iMt;return i(e,{cache:n,serializer:r})}function rMt(e){return e==null||typeof e=="number"||typeof e=="boolean"}function XHe(e,t,n,r){var i=rMt(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function JHe(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function Ude(e,t,n,r,i){return n.bind(t,e,r,i)}function iMt(e,t){var n=e.length===1?XHe:JHe;return Ude(e,this,n,t.cache.create(),t.serializer)}function aMt(e,t){return Ude(e,this,JHe,t.cache.create(),t.serializer)}function oMt(e,t){return Ude(e,this,XHe,t.cache.create(),t.serializer)}var sMt=function(){return JSON.stringify(arguments)};function jde(){this.cache=Object.create(null)}jde.prototype.get=function(e){return this.cache[e]};jde.prototype.set=function(e,t){this.cache[e]=t};var lMt={create:function(){return new jde}},_p={variadic:aMt,monadic:oMt},u1;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(u1||(u1={}));var W2=function(e){p$(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),P3e=function(e){p$(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),u1.INVALID_VALUE,a)||this}return t}(W2),uMt=function(e){p$(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),u1.INVALID_VALUE,i)||this}return t}(W2),cMt=function(e){p$(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),u1.MISSING_VALUE,r)||this}return t}(W2),fc;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(fc||(fc={}));function fMt(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==fc.literal||n.type!==fc.literal?t.push(n):r.value+=n.value,t},[])}function ZHe(e){return typeof e=="function"}function lO(e,t,n,r,i,a,o){if(e.length===1&&D3e(e[0]))return[{type:fc.literal,value:e[0].value}];for(var s=[],l=0,u=e;l0}),n=[],r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(BRt,function(l,u,c,f,d,h){if(u)t.minimumIntegerDigits=c.length;else{if(f&&d)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(WHe.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(I3e.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(I3e,function(l,u,c,f,d,h){return c==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:d&&h?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+h.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=Rs(Rs({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=Rs(Rs({},t),R3e(a)));continue}if(qHe.test(i.stem)){t=Rs(Rs({},t),R3e(i.stem));continue}var o=GHe(i.stem);o&&(t=Rs(Rs({},t),o));var s=PRt(i.stem);s&&(t=Rs(Rs({},t),s))}return t}var nI={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function NRt(e,t){for(var n="",r=0;r>1),l="a",u=$Rt(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)n+=l;for(;o-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function $Rt(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=nI[r||""]||nI[n||""]||nI["".concat(n,"-001")]||nI["001"];return i[0]}var Fq,zRt=new RegExp("^".concat(HHe.source,"*")),URt=new RegExp("".concat(HHe.source,"*$"));function oa(e,t){return{start:e,end:t}}var jRt=!!String.prototype.startsWith,HRt=!!String.fromCodePoint,qRt=!!Object.fromEntries,WRt=!!String.prototype.codePointAt,GRt=!!String.prototype.trimStart,VRt=!!String.prototype.trimEnd,KRt=!!Number.isSafeInteger,YRt=KRt?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qae=!0;try{var XRt=KHe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qae=((Fq=XRt.exec("a"))===null||Fq===void 0?void 0:Fq[0])==="a"}catch{Qae=!1}var O3e=jRt?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},eoe=HRt?String.fromCodePoint:function(){for(var t=[],n=0;na;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},L3e=qRt?Object.fromEntries:function(t){for(var n={},r=0,i=t;r=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},JRt=GRt?function(t){return t.trimStart()}:function(t){return t.replace(zRt,"")},ZRt=VRt?function(t){return t.trimEnd()}:function(t){return t.replace(URt,"")};function KHe(e,t){return new RegExp(e,t)}var toe;if(Qae){var B3e=KHe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");toe=function(t,n){var r;B3e.lastIndex=n;var i=B3e.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else toe=function(t,n){for(var r=[];;){var i=VHe(t,n);if(i===void 0||YHe(i)||nMt(i))break;r.push(i),n+=i>=65536?2:1}return eoe.apply(void 0,r)};var QRt=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:$o.pound,location:oa(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(Qi.UNMATCHED_CLOSING_TAG,oa(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&noe(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$o.literal,value:"<".concat(i,"/>"),location:oa(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:$o.tag,value:i,children:o,location:oa(r,this.clonePosition())},err:null}:this.error(Qi.INVALID_TAG,oa(s,this.clonePosition())))}else return this.error(Qi.UNCLOSED_TAG,oa(r,this.clonePosition()))}else return this.error(Qi.INVALID_TAG,oa(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&tMt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=oa(r,this.clonePosition());return{val:{type:$o.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!eMt(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return eoe.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),eoe(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Qi.EMPTY_ARGUMENT,oa(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Qi.MALFORMED_ARGUMENT,oa(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$o.argument,value:i,location:oa(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(Qi.MALFORMED_ARGUMENT,oa(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=toe(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=oa(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(Qi.EXPECT_ARGUMENT_TYPE,oa(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var d=ZRt(f.val);if(d.length===0)return this.error(Qi.EXPECT_ARGUMENT_STYLE,oa(this.clonePosition(),this.clonePosition()));var h=oa(c,this.clonePosition());u={style:d,styleLocation:h}}var p=this.tryParseArgumentClose(i);if(p.err)return p;var g=oa(i,this.clonePosition());if(u&&O3e(u?.style,"::",0)){var b=JRt(u.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(b,u.styleLocation);return f.err?f:{val:{type:$o.number,value:r,location:g,style:f.val},err:null}}else{if(b.length===0)return this.error(Qi.EXPECT_DATE_TIME_SKELETON,g);var m=b;this.locale&&(m=NRt(b,this.locale));var d={type:h_.dateTime,pattern:m,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?RRt(m):{}},v=s==="date"?$o.date:$o.time;return{val:{type:v,value:r,location:g,style:d},err:null}}}return{val:{type:s==="number"?$o.number:s==="date"?$o.date:$o.time,value:r,location:g,style:(a=u?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Qi.EXPECT_SELECT_ARGUMENT_OPTIONS,oa(w,ZL({},w)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),E=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(Qi.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,oa(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(Qi.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Qi.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),k=this.parseIdentifierIfPossible(),E=f.val}var S=this.tryParsePluralOrSelectOptions(t,s,n,k);if(S.err)return S;var p=this.tryParseArgumentClose(i);if(p.err)return p;var T=oa(i,this.clonePosition());return s==="select"?{val:{type:$o.select,value:r,options:L3e(S.val),location:T},err:null}:{val:{type:$o.plural,value:r,options:L3e(S.val),offset:E,pluralType:s==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(Qi.INVALID_ARGUMENT_TYPE,oa(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(Qi.EXPECT_ARGUMENT_CLOSING_BRACE,oa(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Qi.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,oa(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=ORt(t)}catch{return this.error(Qi.INVALID_NUMBER_SKELETON,n)}return{val:{type:h_.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?FRt(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var f=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR,Qi.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=oa(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?Qi.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Qi.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?Qi.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,oa(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,n,r);if(p.err)return p;var g=this.tryParseArgumentClose(h);if(g.err)return g;s.push([u,{value:p.val,location:oa(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(n==="select"?Qi.EXPECT_SELECT_ARGUMENT_SELECTOR:Qi.EXPECT_PLURAL_ARGUMENT_SELECTOR,oa(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Qi.MISSING_OTHER_CLAUSE,oa(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=oa(i,this.clonePosition());return a?(o*=r,YRt(o)?{val:o,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=VHe(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(O3e(this.message,t,this.offset())){for(var n=0;n=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&YHe(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function noe(e){return e>=97&&e<=122||e>=65&&e<=90}function eMt(e){return noe(e)||e===47}function tMt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function YHe(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nMt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function roe(e){e.forEach(function(t){if(delete t.location,$He(t)||zHe(t))for(var n in t.options)delete t.options[n].location,roe(t.options[n].value);else PHe(t)&&jHe(t.style)||(FHe(t)||NHe(t))&&Zae(t.style)?delete t.style.location:UHe(t)&&roe(t.children)})}function rMt(e,t){t===void 0&&(t={}),t=ZL({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new QRt(e,t).parse();if(n.err){var r=SyntaxError(Qi[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||roe(n.val),n.val}function kp(e,t){var n=t&&t.cache?t.cache:uMt,r=t&&t.serializer?t.serializer:lMt,i=t&&t.strategy?t.strategy:aMt;return i(e,{cache:n,serializer:r})}function iMt(e){return e==null||typeof e=="number"||typeof e=="boolean"}function XHe(e,t,n,r){var i=iMt(r)?r:n(r),a=t.get(i);return typeof a>"u"&&(a=e.call(this,r),t.set(i,a)),a}function JHe(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,r),t.set(i,a)),a}function Ude(e,t,n,r,i){return n.bind(t,e,r,i)}function aMt(e,t){var n=e.length===1?XHe:JHe;return Ude(e,this,n,t.cache.create(),t.serializer)}function oMt(e,t){return Ude(e,this,JHe,t.cache.create(),t.serializer)}function sMt(e,t){return Ude(e,this,XHe,t.cache.create(),t.serializer)}var lMt=function(){return JSON.stringify(arguments)};function jde(){this.cache=Object.create(null)}jde.prototype.get=function(e){return this.cache[e]};jde.prototype.set=function(e,t){this.cache[e]=t};var uMt={create:function(){return new jde}},_p={variadic:oMt,monadic:sMt},u1;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(u1||(u1={}));var W2=function(e){p$(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),P3e=function(e){p$(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),u1.INVALID_VALUE,a)||this}return t}(W2),cMt=function(e){p$(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),u1.INVALID_VALUE,i)||this}return t}(W2),fMt=function(e){p$(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),u1.MISSING_VALUE,r)||this}return t}(W2),fc;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(fc||(fc={}));function dMt(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==fc.literal||n.type!==fc.literal?t.push(n):r.value+=n.value,t},[])}function ZHe(e){return typeof e=="function"}function lO(e,t,n,r,i,a,o){if(e.length===1&&D3e(e[0]))return[{type:fc.literal,value:e[0].value}];for(var s=[],l=0,u=e;l"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=nMt,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Wu;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Wu||(Wu={}));var If=function(e){v3(t,e);function t(n,r,i){var a=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` +`,u1.MISSING_INTL_API,o);var k=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));w=c.options[k]||c.options.other}if(!w)throw new P3e(c.value,d,Object.keys(c.options),o);s.push.apply(s,lO(w.value,t,n,r,i,d-(c.offset||0)));continue}}return dMt(s)}function hMt(e,t){return t?Dp(Dp(Dp({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=Dp(Dp({},e[r]),t[r]||{}),n},{})):e}function pMt(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=hMt(e[r],t[r]),n},Dp({},e)):e}function Nq(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function gMt(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:kp(function(){for(var t,n=[],r=0;r"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=rMt,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Wu;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(Wu||(Wu={}));var If=function(e){v3(t,e);function t(n,r,i){var a=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return a=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,` `).concat(o?` `.concat(o.message,` -`).concat(o.stack):""))||this,a.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a,t),a}return t}(Error),gMt=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.UNSUPPORTED_FORMATTER,n,r)||this}return t}(If),mMt=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.INVALID_CONFIG,n,r)||this}return t}(If),F3e=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.MISSING_DATA,n,r)||this}return t}(If),Hde=function(e){v3(t,e);function t(n,r,i){return e.call(this,Wu.FORMAT_ERROR,"".concat(n,` +`).concat(o.stack):""))||this,a.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a,t),a}return t}(Error),mMt=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.UNSUPPORTED_FORMATTER,n,r)||this}return t}(If),vMt=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.INVALID_CONFIG,n,r)||this}return t}(If),F3e=function(e){v3(t,e);function t(n,r){return e.call(this,Wu.MISSING_DATA,n,r)||this}return t}(If),Hde=function(e){v3(t,e);function t(n,r,i){return e.call(this,Wu.FORMAT_ERROR,"".concat(n,` Locale: `).concat(r,` `),i)||this}return t}(If),$q=function(e){v3(t,e);function t(n,r,i,a){var o=e.call(this,"".concat(n,` MessageID: `).concat(i?.id,` Default Message: `).concat(i?.defaultMessage,` Description: `).concat(i?.description,` -`),r,a)||this;return o.descriptor=i,o}return t}(Hde),vMt=function(e){v3(t,e);function t(n,r){var i=e.call(this,Wu.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(a){var o;return(o=a.value)!==null&&o!==void 0?o:JSON.stringify(a)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=n,i}return t}(If);function y3(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,i){return i in e?r[i]=e[i]:i in n&&(r[i]=n[i]),r},{})}var yMt=function(e){},bMt=function(e){},eqe={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:yMt,onWarn:bMt};function tqe(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function rb(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function wMt(e){e===void 0&&(e=tqe());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,i=kp(function(){for(var s,l=[],u=0;u needs to exist in the component ancestry.")}var oqe=yg(yg({},eqe),{textComponent:C.Fragment});function jMt(e){return function(t){return e(C.Children.toArray(t))}}function aoe(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;as,Object.values(s));return C.createElement(n.Provider,{value:l},o)}function i(a){const o=C.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,i]}function Ih(e,t=[]){let n=[];function r(a,o){const s=C.createContext(o),l=n.length;n=[...n,o];function u(f){const{scope:d,children:h,...p}=f,g=d?.[e][l]||s,b=C.useMemo(()=>p,Object.values(p));return C.createElement(g.Provider,{value:b},h)}function c(f,d){const h=d?.[e][l]||s,p=C.useContext(h);if(p)return p;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,c]}const i=()=>{const a=n.map(o=>C.createContext(o));return function(s){const l=s?.[e]||a;return C.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,XMt(i,...t)]}function XMt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(a)[`__scope${u}`];return{...s,...f}},{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function JMt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function z0(...e){return t=>e.forEach(n=>JMt(n,t))}function Ka(...e){return C.useCallback(z0(...e),e)}const fqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(QMt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(loe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(loe,Ne({},r,{ref:t}),n)});fqe.displayName="Slot";const loe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...eOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});loe.displayName="SlotClone";const ZMt=({children:e})=>C.createElement(C.Fragment,null,e);function QMt(e){return C.isValidElement(e)&&e.type===ZMt}function eOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const tOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],nOt=tOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?fqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),uoe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(iOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(coe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(coe,Ne({},r,{ref:t}),n)});uoe.displayName="Slot";const coe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...aOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});coe.displayName="SlotClone";const rOt=({children:e})=>C.createElement(C.Fragment,null,e);function iOt(e){return C.isValidElement(e)&&e.type===rOt}function aOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function dqe(e){const t=e+"CollectionProvider",[n,r]=Ih(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:p,children:g}=h,b=gr.useRef(null),m=gr.useRef(new Map).current;return gr.createElement(i,{scope:p,itemMap:m,collectionRef:b},g)},s=e+"CollectionSlot",l=gr.forwardRef((h,p)=>{const{scope:g,children:b}=h,m=a(s,g),v=Ka(p,m.collectionRef);return gr.createElement(uoe,{ref:v},b)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=gr.forwardRef((h,p)=>{const{scope:g,children:b,...m}=h,v=gr.useRef(null),w=Ka(p,v),k=a(u,g);return gr.useEffect(()=>(k.itemMap.set(v,{ref:v,...m}),()=>void k.itemMap.delete(v))),gr.createElement(uoe,{[c]:"",ref:w},b)});function d(h){const p=a(e+"CollectionConsumer",h);return gr.useCallback(()=>{const b=p.collectionRef.current;if(!b)return[];const m=Array.from(b.querySelectorAll(`[${c}]`));return Array.from(p.itemMap.values()).sort((k,E)=>m.indexOf(k.ref.current)-m.indexOf(E.ref.current))},[p.collectionRef,p.itemMap])}return[{Provider:o,Slot:l,ItemSlot:f},d,r]}const oOt=C.createContext(void 0);function hqe(e){const t=C.useContext(oOt);return e||t||"ltr"}const Gde=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(lOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(foe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(foe,Ne({},r,{ref:t}),n)});Gde.displayName="Slot";const foe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...uOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});foe.displayName="SlotClone";const sOt=({children:e})=>C.createElement(C.Fragment,null,e);function lOt(e){return C.isValidElement(e)&&e.type===sOt}function uOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const cOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],b3=cOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Gde:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function pqe(e,t){e&&am.flushSync(()=>e.dispatchEvent(t))}function Ol(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),C.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function fOt(e){const t=Ol(e);C.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const doe="dismissableLayer.update",dOt="dismissableLayer.pointerDownOutside",hOt="dismissableLayer.focusOutside";let H3e;const pOt=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gOt=C.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=e,u=C.useContext(pOt),[c,f]=C.useState(null),[,d]=C.useState({}),h=Ka(t,S=>f(S)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),m=c?p.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,w=m>=b,k=mOt(S=>{const T=S.target,L=[...u.branches].some(M=>M.contains(T));!w||L||(i?.(S),o?.(S),S.defaultPrevented||s?.())}),E=vOt(S=>{const T=S.target;[...u.branches].some(M=>M.contains(T))||(a?.(S),o?.(S),S.defaultPrevented||s?.())});return fOt(S=>{m===u.layers.size-1&&(r?.(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))}),C.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(H3e=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),q3e(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=H3e)}},[c,n,u]),C.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),q3e())},[c,u]),C.useEffect(()=>{const S=()=>d({});return document.addEventListener(doe,S),()=>document.removeEventListener(doe,S)},[]),C.createElement(b3.div,Ne({},l,{ref:h,style:{pointerEvents:v?w?"auto":"none":void 0,...e.style},onFocusCapture:qr(e.onFocusCapture,E.onFocusCapture),onBlurCapture:qr(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:qr(e.onPointerDownCapture,k.onPointerDownCapture)}))});function mOt(e){const t=Ol(e),n=C.useRef(!1),r=C.useRef(()=>{});return C.useEffect(()=>{const i=o=>{if(o.target&&!n.current){let l=function(){gqe(dOt,t,s,{discrete:!0})};const s={originalEvent:o};o.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=l,document.addEventListener("click",r.current,{once:!0})):l()}n.current=!1},a=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function vOt(e){const t=Ol(e),n=C.useRef(!1);return C.useEffect(()=>{const r=i=>{i.target&&!n.current&&gqe(hOt,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function q3e(){const e=new CustomEvent(doe);document.dispatchEvent(e)}function gqe(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?pqe(i,a):i.dispatchEvent(a)}let Uq=0;function Vde(){C.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:W3e()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:W3e()),Uq++,()=>{Uq===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Uq--}},[])}function W3e(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jq="focusScope.autoFocusOnMount",Hq="focusScope.autoFocusOnUnmount",G3e={bubbles:!1,cancelable:!0},yOt=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=C.useState(null),u=Ol(i),c=Ol(a),f=C.useRef(null),d=Ka(t,g=>l(g)),h=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(r){let g=function(m){if(h.paused||!s)return;const v=m.target;s.contains(v)?f.current=v:Sb(f.current,{select:!0})},b=function(m){h.paused||!s||s.contains(m.relatedTarget)||Sb(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b)}}},[r,s,h.paused]),C.useEffect(()=>{if(s){K3e.add(h);const g=document.activeElement;if(!s.contains(g)){const m=new CustomEvent(jq,G3e);s.addEventListener(jq,u),s.dispatchEvent(m),m.defaultPrevented||(bOt(EOt(mqe(s)),{select:!0}),document.activeElement===g&&Sb(s))}return()=>{s.removeEventListener(jq,u),setTimeout(()=>{const m=new CustomEvent(Hq,G3e);s.addEventListener(Hq,c),s.dispatchEvent(m),m.defaultPrevented||Sb(g??document.body,{select:!0}),s.removeEventListener(Hq,c),K3e.remove(h)},0)}}},[s,u,c,h]);const p=C.useCallback(g=>{if(!n&&!r||h.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,m=document.activeElement;if(b&&m){const v=g.currentTarget,[w,k]=wOt(v);w&&k?!g.shiftKey&&m===k?(g.preventDefault(),n&&Sb(w,{select:!0})):g.shiftKey&&m===w&&(g.preventDefault(),n&&Sb(k,{select:!0})):m===v&&g.preventDefault()}},[n,r,h.paused]);return C.createElement(b3.div,Ne({tabIndex:-1},o,{ref:d,onKeyDown:p}))});function bOt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Sb(r,{select:t}),document.activeElement!==n)return}function wOt(e){const t=mqe(e),n=V3e(t,e),r=V3e(t.reverse(),e);return[n,r]}function mqe(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function V3e(e,t){for(const n of e)if(!kOt(n,{upTo:t}))return n}function kOt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function _Ot(e){return e instanceof HTMLInputElement&&"select"in e}function Sb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&_Ot(e)&&t&&e.select()}}const K3e=COt();function COt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Y3e(e,t),e.unshift(t)},remove(t){var n;e=Y3e(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Y3e(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function EOt(e){return e.filter(t=>t.tagName!=="A")}const mf=globalThis?.document?C.useLayoutEffect:()=>{},xOt=v4["useId".toString()]||(()=>{});let SOt=0;function Xp(e){const[t,n]=C.useState(xOt());return mf(()=>{e||n(r=>r??String(SOt++))},[e]),e||(t?`radix-${t}`:"")}function w3(e){return e.split("-")[0]}function M7(e){return e.split("-")[1]}function tE(e){return["top","bottom"].includes(w3(e))?"x":"y"}function Kde(e){return e==="y"?"height":"width"}function X3e(e,t,n){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,o=r.y+r.height/2-i.height/2,s=tE(t),l=Kde(s),u=r[l]/2-i[l]/2,c=s==="x";let f;switch(w3(t)){case"top":f={x:a,y:r.y-i.height};break;case"bottom":f={x:a,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:o};break;case"left":f={x:r.x-i.width,y:o};break;default:f={x:r.x,y:r.y}}switch(M7(t)){case"start":f[s]-=u*(n&&c?-1:1);break;case"end":f[s]+=u*(n&&c?-1:1)}return f}const AOt=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=X3e(l,r,s),f=r,d={},h=0;for(let p=0;p({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:a,placement:o,rects:s,platform:l}=t;if(n==null)return{};const u=vqe(r),c={x:i,y:a},f=tE(o),d=M7(o),h=Kde(f),p=await l.getDimensions(n),g=f==="y"?"top":"left",b=f==="y"?"bottom":"right",m=s.reference[h]+s.reference[f]-c[f]-s.floating[h],v=c[f]-s.reference[f],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let k=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;k===0&&(k=s.floating[h]);const E=m/2-v/2,S=u[g],T=k-p[h]-u[b],L=k/2-p[h]/2+E,M=hoe(S,L,T),D=(d==="start"?u[g]:u[b])>0&&L!==M&&s.reference[h]<=s.floating[h];return{[f]:c[f]-(D?LDOt[t])}function IOt(e,t,n){n===void 0&&(n=!1);const r=M7(e),i=tE(e),a=Kde(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=eB(o)),{main:o,cross:eB(o)}}const ROt={start:"end",end:"start"};function Z3e(e){return e.replace(/start|end/g,t=>ROt[t])}const yqe=["top","right","bottom","left"];yqe.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Yde=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:h=!0,...p}=e,g=w3(r),b=f||(g===o||!h?[eB(o)]:function(L){const M=eB(L);return[Z3e(L),M,Z3e(M)]}(o)),m=[o,...b],v=await HA(t,p),w=[];let k=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&w.push(v[g]),c){const{main:L,cross:M}=IOt(r,a,await(s.isRTL==null?void 0:s.isRTL(l.floating)));w.push(v[L],v[M])}if(k=[...k,{placement:r,overflows:w}],!w.every(L=>L<=0)){var E,S;const L=((E=(S=i.flip)==null?void 0:S.index)!=null?E:0)+1,M=m[L];if(M)return{data:{index:L,overflows:k},reset:{placement:M}};let D="bottom";switch(d){case"bestFit":{var T;const I=(T=k.map(B=>[B,B.overflows.filter(N=>N>0).reduce((N,O)=>N+O,0)]).sort((B,N)=>B[1]-N[1])[0])==null?void 0:T[0].placement;I&&(D=I);break}case"initialPlacement":D=o}if(r!==D)return{reset:{placement:D}}}return{}}}};function Q3e(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ewe(e){return yqe.some(t=>e[t]>=0)}const Xde=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const a=Q3e(await HA(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ewe(a)}}}case"escaped":{const a=Q3e(await HA(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:a,escaped:ewe(a)}}}default:return{}}}}},Jde=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(a,o){const{placement:s,platform:l,elements:u}=a,c=await(l.isRTL==null?void 0:l.isRTL(u.floating)),f=w3(s),d=M7(s),h=tE(s)==="x",p=["left","top"].includes(f)?-1:1,g=c&&h?-1:1,b=typeof o=="function"?o(a):o;let{mainAxis:m,crossAxis:v,alignmentAxis:w}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return d&&typeof w=="number"&&(v=d==="end"?-1*w:w),h?{x:v*g,y:m*p}:{x:m*p,y:v*g}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function bqe(e){return e==="x"?"y":"x"}const Zde=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:b=>{let{x:m,y:v}=b;return{x:m,y:v}}},...l}=e,u={x:n,y:r},c=await HA(t,l),f=tE(w3(i)),d=bqe(f);let h=u[f],p=u[d];if(a){const b=f==="y"?"bottom":"right";h=hoe(h+c[f==="y"?"top":"left"],h,h-c[b])}if(o){const b=d==="y"?"bottom":"right";p=hoe(p+c[d==="y"?"top":"left"],p,p-c[b])}const g=s.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Qde=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=tE(i),d=bqe(f);let h=c[f],p=c[d];const g=typeof s=="function"?s({...a,placement:i}):s,b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const E=f==="y"?"height":"width",S=a.reference[f]-a.floating[E]+b.mainAxis,T=a.reference[f]+a.reference[E]-b.mainAxis;hT&&(h=T)}if(u){var m,v,w,k;const E=f==="y"?"width":"height",S=["top","left"].includes(w3(i)),T=a.reference[d]-a.floating[E]+(S&&(m=(v=o.offset)==null?void 0:v[d])!=null?m:0)+(S?0:b.crossAxis),L=a.reference[d]+a.reference[E]+(S?0:(w=(k=o.offset)==null?void 0:k[d])!=null?w:0)-(S?b.crossAxis:0);pL&&(p=L)}return{[f]:h,[d]:p}}}},wqe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:a}=t,{apply:o,...s}=e,l=await HA(t,s),u=w3(n),c=M7(n);let f,d;u==="top"||u==="bottom"?(f=u,d=c===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(d=u,f=c==="end"?"top":"bottom");const h=Ab(l.left,0),p=Ab(l.right,0),g=Ab(l.top,0),b=Ab(l.bottom,0),m={availableHeight:r.floating.height-(["left","right"].includes(n)?2*(g!==0||b!==0?g+b:Ab(l.top,l.bottom)):l[f]),availableWidth:r.floating.width-(["top","bottom"].includes(n)?2*(h!==0||p!==0?h+p:Ab(l.left,l.right)):l[d])},v=await i.getDimensions(a.floating);o?.({...t,...m});const w=await i.getDimensions(a.floating);return v.width!==w.width||v.height!==w.height?{reset:{rects:!0}}:{}}}};function kqe(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function cm(e){if(e==null)return window;if(!kqe(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function O7(e){return cm(e).getComputedStyle(e)}function Tg(e){return kqe(e)?"":e?(e.nodeName||"").toLowerCase():""}function _qe(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function c1(e){return e instanceof cm(e).HTMLElement}function v2(e){return e instanceof cm(e).Element}function ehe(e){return typeof ShadowRoot>"u"?!1:e instanceof cm(e).ShadowRoot||e instanceof ShadowRoot}function m$(e){const{overflow:t,overflowX:n,overflowY:r}=O7(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function MOt(e){return["table","td","th"].includes(Tg(e))}function twe(e){const t=/firefox/i.test(_qe()),n=O7(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Cqe(){return!/^((?!chrome|android).)*safari/i.test(_qe())}const nwe=Math.min,MS=Math.max,tB=Math.round;function Dg(e,t,n){var r,i,a,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&c1(e)&&(l=e.offsetWidth>0&&tB(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&tB(s.height)/e.offsetHeight||1);const c=v2(e)?cm(e):window,f=!Cqe()&&n,d=(s.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(a=(o=c.visualViewport)==null?void 0:o.offsetTop)!=null?a:0))/u,p=s.width/l,g=s.height/u;return{width:p,height:g,top:h,right:d+p,bottom:h+g,left:d,x:d,y:h}}function Xv(e){return(t=e,(t instanceof cm(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function v$(e){return v2(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Eqe(e){return Dg(Xv(e)).left+v$(e).scrollLeft}function OOt(e,t,n){const r=c1(t),i=Xv(t),a=Dg(e,r&&function(l){const u=Dg(l);return tB(u.width)!==l.offsetWidth||tB(u.height)!==l.offsetHeight}(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Tg(t)!=="body"||m$(i))&&(o=v$(t)),c1(t)){const l=Dg(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Eqe(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}function xqe(e){return Tg(e)==="html"?e:e.assignedSlot||e.parentNode||(ehe(e)?e.host:null)||Xv(e)}function rwe(e){return c1(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function poe(e){const t=cm(e);let n=rwe(e);for(;n&&MOt(n)&&getComputedStyle(n).position==="static";)n=rwe(n);return n&&(Tg(n)==="html"||Tg(n)==="body"&&getComputedStyle(n).position==="static"&&!twe(n))?t:n||function(r){let i=xqe(r);for(ehe(i)&&(i=i.host);c1(i)&&!["html","body"].includes(Tg(i));){if(twe(i))return i;i=i.parentNode}return null}(e)||t}function iwe(e){if(c1(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Dg(e);return{width:t.width,height:t.height}}function Sqe(e){const t=xqe(e);return["html","body","#document"].includes(Tg(t))?e.ownerDocument.body:c1(t)&&m$(t)?t:Sqe(t)}function nB(e,t){var n;t===void 0&&(t=[]);const r=Sqe(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=cm(r),o=i?[a].concat(a.visualViewport||[],m$(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(nB(o))}function awe(e,t,n){return t==="viewport"?QL(function(r,i){const a=cm(r),o=Xv(r),s=a.visualViewport;let l=o.clientWidth,u=o.clientHeight,c=0,f=0;if(s){l=s.width,u=s.height;const d=Cqe();(d||!d&&i==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:u,x:c,y:f}}(e,n)):v2(t)?function(r,i){const a=Dg(r,!1,i==="fixed"),o=a.top+r.clientTop,s=a.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):QL(function(r){var i;const a=Xv(r),o=v$(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=MS(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=MS(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let c=-o.scrollLeft+Eqe(r);const f=-o.scrollTop;return O7(s||a).direction==="rtl"&&(c+=MS(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:c,y:f}}(Xv(e)))}function LOt(e){const t=nB(e),n=["absolute","fixed"].includes(O7(e).position)&&c1(e)?poe(e):e;return v2(n)?t.filter(r=>v2(r)&&function(i,a){const o=a.getRootNode==null?void 0:a.getRootNode();if(i.contains(a))return!0;if(o&&ehe(o)){let s=a;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Tg(r)!=="body"):[]}const BOt={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?LOt(t):[].concat(n),r],o=a[0],s=a.reduce((l,u)=>{const c=awe(t,u,i);return l.top=MS(c.top,l.top),l.right=nwe(c.right,l.right),l.bottom=nwe(c.bottom,l.bottom),l.left=MS(c.left,l.left),l},awe(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=c1(n),a=Xv(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Tg(n)!=="body"||m$(a))&&(o=v$(n)),c1(n))){const l=Dg(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:v2,getDimensions:iwe,getOffsetParent:poe,getDocumentElement:Xv,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:OOt(t,poe(n),r),floating:{...iwe(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>O7(e).direction==="rtl"};function the(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=!0,animationFrame:s=!1}=r,l=i&&!s,u=a&&!s,c=l||u?[...v2(e)?nB(e):[],...nB(t)]:[];c.forEach(p=>{l&&p.addEventListener("scroll",n,{passive:!0}),u&&p.addEventListener("resize",n)});let f,d=null;if(o){let p=!0;d=new ResizeObserver(()=>{p||n(),p=!1}),v2(e)&&!s&&d.observe(e),d.observe(t)}let h=s?Dg(e):null;return s&&function p(){const g=Dg(e);!h||g.x===h.x&&g.y===h.y&&g.width===h.width&&g.height===h.height||n(),h=g,f=requestAnimationFrame(p)}(),n(),()=>{var p;c.forEach(g=>{l&&g.removeEventListener("scroll",n),u&&g.removeEventListener("resize",n)}),(p=d)==null||p.disconnect(),d=null,s&&cancelAnimationFrame(f)}}const POt=(e,t,n)=>AOt(e,t,{platform:BOt,...n});var goe=typeof document<"u"?C.useLayoutEffect:C.useEffect;function moe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!moe(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!moe(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function FOt(e){const t=C.useRef(e);return goe(()=>{t.current=e}),t}function nhe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const a=C.useRef(null),o=C.useRef(null),s=FOt(i),l=C.useRef(null),[u,c]=C.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=C.useState(t);moe(f?.map(w=>{let{options:k}=w;return k}),t?.map(w=>{let{options:k}=w;return k}))||d(t);const h=C.useCallback(()=>{!a.current||!o.current||POt(a.current,o.current,{middleware:f,placement:n,strategy:r}).then(w=>{p.current&&am.flushSync(()=>{c(w)})})},[f,n,r]);goe(()=>{p.current&&h()},[h]);const p=C.useRef(!1);goe(()=>(p.current=!0,()=>{p.current=!1}),[]);const g=C.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),a.current&&o.current)if(s.current){const w=s.current(a.current,o.current,h);l.current=w}else h()},[h,s]),b=C.useCallback(w=>{a.current=w,g()},[g]),m=C.useCallback(w=>{o.current=w,g()},[g]),v=C.useMemo(()=>({reference:a,floating:o}),[]);return C.useMemo(()=>({...u,update:h,refs:v,reference:b,floating:m}),[u,h,v,b,m])}const rhe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?J3e({element:t.current,padding:n}).fn(i):{}:t?J3e({element:t,padding:n}).fn(i):{}}}},Aqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find($Ot);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(voe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(voe,Ne({},r,{ref:t}),n)});Aqe.displayName="Slot";const voe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...zOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});voe.displayName="SlotClone";const NOt=({children:e})=>C.createElement(C.Fragment,null,e);function $Ot(e){return C.isValidElement(e)&&e.type===NOt}function zOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const UOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],jOt=UOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Aqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),HOt=C.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return C.createElement(jOt.svg,Ne({},a,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:C.createElement("polygon",{points:"0,0 30,0 15,10"}))}),qOt=HOt,Tqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(GOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(yoe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(yoe,Ne({},r,{ref:t}),n)});Tqe.displayName="Slot";const yoe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...VOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});yoe.displayName="SlotClone";const WOt=({children:e})=>C.createElement(C.Fragment,null,e);function GOt(e){return C.isValidElement(e)&&e.type===WOt}function VOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const KOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],boe=KOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Tqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ihe(e){const[t,n]=C.useState(void 0);return mf(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let o,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,s=u.blockSize}else o=e.offsetWidth,s=e.offsetHeight;n({width:o,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Dqe="Popper",[ahe,Iqe]=Ih(Dqe),[YOt,Rqe]=ahe(Dqe),XOt=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(YOt,{scope:t,anchor:r,onAnchorChange:i},n)},JOt="PopperAnchor",ZOt=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=Rqe(JOt,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(boe.div,Ne({},i,{ref:s}))}),rB="PopperContent",[QOt,eLt]=ahe(rB),[tLt,nLt]=ahe(rB,{hasParent:!1,positionUpdateFns:new Set}),rLt=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,...E}=e,S=Rqe(rB,c),[T,L]=C.useState(null),M=Ka(t,$e=>L($e)),[D,I]=C.useState(null),B=ihe(D),N=(n=B?.width)!==null&&n!==void 0?n:0,O=(r=B?.height)!==null&&r!==void 0?r:0,R=f+(h!=="center"?"-"+h:""),P=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},H=Array.isArray(b)?b:[b],F=H.length>0,q={padding:P,boundary:H.filter(lLt),altBoundary:F},{reference:V,floating:X,strategy:G,x:J,y:te,placement:re,middlewareData:Q,update:ae}=nhe({strategy:"fixed",placement:R,whileElementsMounted:the,middleware:[Jde({mainAxis:d+O,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...q}):void 0,D?rhe({element:D,padding:g}):void 0,k?Yde({...q}):void 0,uLt({arrowWidth:N,arrowHeight:O}),w?Xde({strategy:"referenceHidden"}):void 0].filter(sLt)});mf(()=>{V(S.anchor)},[V,S.anchor]);const le=J!==null&&te!==null,[oe,ee]=Mqe(re),ne=(i=Q.arrow)===null||i===void 0?void 0:i.x,ue=(a=Q.arrow)===null||a===void 0?void 0:a.y,Ae=((o=Q.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ce,be]=C.useState();mf(()=>{T&&be(window.getComputedStyle(T).zIndex)},[T]);const{hasParent:ge,positionUpdateFns:ve}=nLt(rB,c),ie=!ge;C.useLayoutEffect(()=>{if(!ie)return ve.add(ae),()=>{ve.delete(ae)}},[ie,ve,ae]),C.useLayoutEffect(()=>{ie&&le&&Array.from(ve).reverse().forEach($e=>requestAnimationFrame($e))},[ie,le,ve]);const he={"data-side":oe,"data-align":ee,...E,ref:M,style:{...E.style,animation:le?void 0:"none",opacity:(s=Q.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:X,"data-radix-popper-content-wrapper":"",style:{position:G,left:0,top:0,transform:le?`translate3d(${Math.round(J)}px, ${Math.round(te)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ce,["--radix-popper-transform-origin"]:[(l=Q.transformOrigin)===null||l===void 0?void 0:l.x,(u=Q.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},C.createElement(QOt,{scope:c,placedSide:oe,onArrowChange:I,arrowX:ne,arrowY:ue,shouldHideArrow:Ae},ie?C.createElement(tLt,{scope:c,hasParent:!0,positionUpdateFns:ve},C.createElement(boe.div,he)):C.createElement(boe.div,he)))}),iLt="PopperArrow",aLt={top:"bottom",right:"left",bottom:"top",left:"right"},oLt=C.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=eLt(iLt,r),o=aLt[a.placedSide];return C.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},C.createElement(qOt,Ne({},i,{ref:n,style:{...i.style,display:"block"}})))});function sLt(e){return e!==void 0}function lLt(e){return e!==null}const uLt=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=Mqe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function Mqe(e){const[t,n="center"]=e.split("-");return[t,n]}const Oqe=XOt,cLt=ZOt,fLt=rLt,dLt=oLt,hLt=C.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return r?Gk.createPortal(C.createElement(b3.div,Ne({},i,{ref:t})),r):null});function pLt(e,t){return C.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const b1=e=>{const{present:t,children:n}=e,r=gLt(t),i=typeof n=="function"?n({present:r.isPresent}):C.Children.only(n),a=Ka(r.ref,i.ref);return typeof n=="function"||r.isPresent?C.cloneElement(i,{ref:a}):null};b1.displayName="Presence";function gLt(e){const[t,n]=C.useState(),r=C.useRef({}),i=C.useRef(e),a=C.useRef("none"),o=e?"mounted":"unmounted",[s,l]=pLt(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const u=iI(r.current);a.current=s==="mounted"?u:"none"},[s]),mf(()=>{const u=r.current,c=i.current;if(c!==e){const d=a.current,h=iI(u);e?l("MOUNT"):h==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&d!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),mf(()=>{if(t){const u=f=>{const h=iI(r.current).includes(f.animationName);f.target===t&&h&&am.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(a.current=iI(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:C.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function iI(e){return e?.animationName||"none"}const Lqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(vLt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(woe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(woe,Ne({},r,{ref:t}),n)});Lqe.displayName="Slot";const woe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...yLt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});woe.displayName="SlotClone";const mLt=({children:e})=>C.createElement(C.Fragment,null,e);function vLt(e){return C.isValidElement(e)&&e.type===mLt}function yLt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const bLt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Bqe=bLt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Lqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function k3({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=wLt({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=Ol(n),l=C.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else i(u)},[a,e,i,s]);return[o,l]}function wLt({defaultProp:e,onChange:t}){const n=C.useState(e),[r]=n,i=C.useRef(r),a=Ol(t);return C.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}const qq="rovingFocusGroup.onEntryFocus",kLt={bubbles:!1,cancelable:!0},ohe="RovingFocusGroup",[koe,Pqe,_Lt]=dqe(ohe),[CLt,Fqe]=Ih(ohe,[_Lt]),[ELt,xLt]=CLt(ohe),SLt=C.forwardRef((e,t)=>C.createElement(koe.Provider,{scope:e.__scopeRovingFocusGroup},C.createElement(koe.Slot,{scope:e.__scopeRovingFocusGroup},C.createElement(ALt,Ne({},e,{ref:t}))))),ALt=C.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=C.useRef(null),d=Ka(t,f),h=hqe(a),[p=null,g]=k3({prop:o,defaultProp:s,onChange:l}),[b,m]=C.useState(!1),v=Ol(u),w=Pqe(n),k=C.useRef(!1);return C.useEffect(()=>{const E=f.current;if(E)return E.addEventListener(qq,v),()=>E.removeEventListener(qq,v)},[v]),C.createElement(ELt,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:p,onItemFocus:C.useCallback(E=>g(E),[g]),onItemShiftTab:C.useCallback(()=>m(!0),[])},C.createElement(Bqe.div,Ne({tabIndex:b?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:qr(e.onMouseDown,()=>{k.current=!0}),onFocus:qr(e.onFocus,E=>{const S=!k.current;if(E.target===E.currentTarget&&S&&!b){const T=new CustomEvent(qq,kLt);if(E.currentTarget.dispatchEvent(T),!T.defaultPrevented){const L=w().filter(N=>N.focusable),M=L.find(N=>N.active),D=L.find(N=>N.id===p),B=[M,D,...L].filter(Boolean).map(N=>N.ref.current);Nqe(B)}}k.current=!1}),onBlur:qr(e.onBlur,()=>m(!1))})))}),TLt="RovingFocusGroupItem",DLt=C.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...a}=e,o=Xp(),s=xLt(TLt,n),l=s.currentTabStopId===o,u=Pqe(n);return C.createElement(koe.ItemSlot,{scope:n,id:o,focusable:r,active:i},C.createElement(Bqe.span,Ne({tabIndex:l?0:-1,"data-orientation":s.orientation},a,{ref:t,onMouseDown:qr(e.onMouseDown,c=>{r?s.onItemFocus(o):c.preventDefault()}),onFocus:qr(e.onFocus,()=>s.onItemFocus(o)),onKeyDown:qr(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=MLt(c,s.orientation,s.dir);if(f!==void 0){c.preventDefault();let h=u().filter(p=>p.focusable).map(p=>p.ref.current);if(f==="last")h.reverse();else if(f==="prev"||f==="next"){f==="prev"&&h.reverse();const p=h.indexOf(c.currentTarget);h=s.loop?OLt(h,p+1):h.slice(p+1)}setTimeout(()=>Nqe(h))}})})))}),ILt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function RLt(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function MLt(e,t,n){const r=RLt(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ILt[r]}function Nqe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function OLt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const LLt=SLt,BLt=DLt;var PLt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vw=new WeakMap,aI=new WeakMap,oI={},Wq=0,$qe=function(e){return e&&(e.host||$qe(e.parentNode))},FLt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$qe(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},NLt=function(e,t,n,r){var i=FLt(t,Array.isArray(e)?e:[e]);oI[n]||(oI[n]=new WeakMap);var a=oI[n],o=[],s=new Set,l=new Set(i),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(s.has(d))c(d);else{var h=d.getAttribute(r),p=h!==null&&h!=="false",g=(Vw.get(d)||0)+1,b=(a.get(d)||0)+1;Vw.set(d,g),a.set(d,b),o.push(d),g===1&&p&&aI.set(d,!0),b===1&&d.setAttribute(n,"true"),p||d.setAttribute(r,"true")}})};return c(t),s.clear(),Wq++,function(){o.forEach(function(f){var d=Vw.get(f)-1,h=a.get(f)-1;Vw.set(f,d),a.set(f,h),d||(aI.has(f)||f.removeAttribute(r),aI.delete(f)),h||f.removeAttribute(n)}),Wq--,Wq||(Vw=new WeakMap,Vw=new WeakMap,aI=new WeakMap,oI={})}},she=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||PLt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),NLt(r,i,n,"aria-hidden")):function(){return null}},bv=function(){return bv=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u")return eBt;var t=tBt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},rBt=lhe(),iBt=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n="margin"),` - .`.concat(ULt,` { +For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function jMt(e,t){var n=kMt(t),r=os(os({},eqe),e),i=r.locale,a=r.defaultLocale,o=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&o?o(new F3e('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&o&&o(new F3e('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(o&&o(new vMt('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),UMt(r),os(os({},r),{formatters:n,formatNumber:NMt.bind(null,r,n.getNumberFormat),formatNumberToParts:$Mt.bind(null,r,n.getNumberFormat),formatRelativeTime:PMt.bind(null,r,n.getRelativeTimeFormat),formatDate:_Mt.bind(null,r,n.getDateTimeFormat),formatDateToParts:xMt.bind(null,r,n.getDateTimeFormat),formatTime:CMt.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:EMt.bind(null,r,n.getDateTimeFormat),formatTimeToParts:SMt.bind(null,r,n.getDateTimeFormat),formatPlural:OMt.bind(null,r,n.getPluralRules),formatMessage:ioe.bind(null,r,n),$t:ioe.bind(null,r,n),formatList:RMt.bind(null,r,n.getListFormat),formatListToParts:rqe.bind(null,r,n.getListFormat),formatDisplayName:TMt.bind(null,r,n.getDisplayNames)})}function aqe(e){BHe(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}var oqe=yg(yg({},eqe),{textComponent:C.Fragment});function HMt(e){return function(t){return e(C.Children.toArray(t))}}function aoe(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var a=0;as,Object.values(s));return C.createElement(n.Provider,{value:l},o)}function i(a){const o=C.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,i]}function Ih(e,t=[]){let n=[];function r(a,o){const s=C.createContext(o),l=n.length;n=[...n,o];function u(f){const{scope:d,children:h,...p}=f,g=d?.[e][l]||s,b=C.useMemo(()=>p,Object.values(p));return C.createElement(g.Provider,{value:b},h)}function c(f,d){const h=d?.[e][l]||s,p=C.useContext(h);if(p)return p;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,c]}const i=()=>{const a=n.map(o=>C.createContext(o));return function(s){const l=s?.[e]||a;return C.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,JMt(i,...t)]}function JMt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const o=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(a)[`__scope${u}`];return{...s,...f}},{});return C.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function ZMt(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function z0(...e){return t=>e.forEach(n=>ZMt(n,t))}function Ka(...e){return C.useCallback(z0(...e),e)}const fqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(eOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(loe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(loe,Ne({},r,{ref:t}),n)});fqe.displayName="Slot";const loe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...tOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});loe.displayName="SlotClone";const QMt=({children:e})=>C.createElement(C.Fragment,null,e);function eOt(e){return C.isValidElement(e)&&e.type===QMt}function tOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const nOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],rOt=nOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?fqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),uoe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(aOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(coe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(coe,Ne({},r,{ref:t}),n)});uoe.displayName="Slot";const coe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...oOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});coe.displayName="SlotClone";const iOt=({children:e})=>C.createElement(C.Fragment,null,e);function aOt(e){return C.isValidElement(e)&&e.type===iOt}function oOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}function dqe(e){const t=e+"CollectionProvider",[n,r]=Ih(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:p,children:g}=h,b=gr.useRef(null),m=gr.useRef(new Map).current;return gr.createElement(i,{scope:p,itemMap:m,collectionRef:b},g)},s=e+"CollectionSlot",l=gr.forwardRef((h,p)=>{const{scope:g,children:b}=h,m=a(s,g),v=Ka(p,m.collectionRef);return gr.createElement(uoe,{ref:v},b)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=gr.forwardRef((h,p)=>{const{scope:g,children:b,...m}=h,v=gr.useRef(null),w=Ka(p,v),k=a(u,g);return gr.useEffect(()=>(k.itemMap.set(v,{ref:v,...m}),()=>void k.itemMap.delete(v))),gr.createElement(uoe,{[c]:"",ref:w},b)});function d(h){const p=a(e+"CollectionConsumer",h);return gr.useCallback(()=>{const b=p.collectionRef.current;if(!b)return[];const m=Array.from(b.querySelectorAll(`[${c}]`));return Array.from(p.itemMap.values()).sort((k,E)=>m.indexOf(k.ref.current)-m.indexOf(E.ref.current))},[p.collectionRef,p.itemMap])}return[{Provider:o,Slot:l,ItemSlot:f},d,r]}const sOt=C.createContext(void 0);function hqe(e){const t=C.useContext(sOt);return e||t||"ltr"}const Gde=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(uOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(foe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(foe,Ne({},r,{ref:t}),n)});Gde.displayName="Slot";const foe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...cOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});foe.displayName="SlotClone";const lOt=({children:e})=>C.createElement(C.Fragment,null,e);function uOt(e){return C.isValidElement(e)&&e.type===lOt}function cOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const fOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],b3=fOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Gde:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function pqe(e,t){e&&am.flushSync(()=>e.dispatchEvent(t))}function Ol(e){const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),C.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function dOt(e){const t=Ol(e);C.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const doe="dismissableLayer.update",hOt="dismissableLayer.pointerDownOutside",pOt="dismissableLayer.focusOutside";let H3e;const gOt=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mOt=C.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=e,u=C.useContext(gOt),[c,f]=C.useState(null),[,d]=C.useState({}),h=Ka(t,S=>f(S)),p=Array.from(u.layers),[g]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=p.indexOf(g),m=c?p.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,w=m>=b,k=vOt(S=>{const T=S.target,L=[...u.branches].some(M=>M.contains(T));!w||L||(i?.(S),o?.(S),S.defaultPrevented||s?.())}),E=yOt(S=>{const T=S.target;[...u.branches].some(M=>M.contains(T))||(a?.(S),o?.(S),S.defaultPrevented||s?.())});return dOt(S=>{m===u.layers.size-1&&(r?.(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))}),C.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(H3e=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),q3e(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=H3e)}},[c,n,u]),C.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),q3e())},[c,u]),C.useEffect(()=>{const S=()=>d({});return document.addEventListener(doe,S),()=>document.removeEventListener(doe,S)},[]),C.createElement(b3.div,Ne({},l,{ref:h,style:{pointerEvents:v?w?"auto":"none":void 0,...e.style},onFocusCapture:qr(e.onFocusCapture,E.onFocusCapture),onBlurCapture:qr(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:qr(e.onPointerDownCapture,k.onPointerDownCapture)}))});function vOt(e){const t=Ol(e),n=C.useRef(!1),r=C.useRef(()=>{});return C.useEffect(()=>{const i=o=>{if(o.target&&!n.current){let l=function(){gqe(hOt,t,s,{discrete:!0})};const s={originalEvent:o};o.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=l,document.addEventListener("click",r.current,{once:!0})):l()}n.current=!1},a=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function yOt(e){const t=Ol(e),n=C.useRef(!1);return C.useEffect(()=>{const r=i=>{i.target&&!n.current&&gqe(pOt,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function q3e(){const e=new CustomEvent(doe);document.dispatchEvent(e)}function gqe(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?pqe(i,a):i.dispatchEvent(a)}let Uq=0;function Vde(){C.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:W3e()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:W3e()),Uq++,()=>{Uq===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Uq--}},[])}function W3e(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const jq="focusScope.autoFocusOnMount",Hq="focusScope.autoFocusOnUnmount",G3e={bubbles:!1,cancelable:!0},bOt=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=C.useState(null),u=Ol(i),c=Ol(a),f=C.useRef(null),d=Ka(t,g=>l(g)),h=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(r){let g=function(m){if(h.paused||!s)return;const v=m.target;s.contains(v)?f.current=v:Sb(f.current,{select:!0})},b=function(m){h.paused||!s||s.contains(m.relatedTarget)||Sb(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b)}}},[r,s,h.paused]),C.useEffect(()=>{if(s){K3e.add(h);const g=document.activeElement;if(!s.contains(g)){const m=new CustomEvent(jq,G3e);s.addEventListener(jq,u),s.dispatchEvent(m),m.defaultPrevented||(wOt(xOt(mqe(s)),{select:!0}),document.activeElement===g&&Sb(s))}return()=>{s.removeEventListener(jq,u),setTimeout(()=>{const m=new CustomEvent(Hq,G3e);s.addEventListener(Hq,c),s.dispatchEvent(m),m.defaultPrevented||Sb(g??document.body,{select:!0}),s.removeEventListener(Hq,c),K3e.remove(h)},0)}}},[s,u,c,h]);const p=C.useCallback(g=>{if(!n&&!r||h.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,m=document.activeElement;if(b&&m){const v=g.currentTarget,[w,k]=kOt(v);w&&k?!g.shiftKey&&m===k?(g.preventDefault(),n&&Sb(w,{select:!0})):g.shiftKey&&m===w&&(g.preventDefault(),n&&Sb(k,{select:!0})):m===v&&g.preventDefault()}},[n,r,h.paused]);return C.createElement(b3.div,Ne({tabIndex:-1},o,{ref:d,onKeyDown:p}))});function wOt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Sb(r,{select:t}),document.activeElement!==n)return}function kOt(e){const t=mqe(e),n=V3e(t,e),r=V3e(t.reverse(),e);return[n,r]}function mqe(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function V3e(e,t){for(const n of e)if(!_Ot(n,{upTo:t}))return n}function _Ot(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function COt(e){return e instanceof HTMLInputElement&&"select"in e}function Sb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&COt(e)&&t&&e.select()}}const K3e=EOt();function EOt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Y3e(e,t),e.unshift(t)},remove(t){var n;e=Y3e(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Y3e(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xOt(e){return e.filter(t=>t.tagName!=="A")}const mf=globalThis?.document?C.useLayoutEffect:()=>{},SOt=v4["useId".toString()]||(()=>{});let AOt=0;function Xp(e){const[t,n]=C.useState(SOt());return mf(()=>{e||n(r=>r??String(AOt++))},[e]),e||(t?`radix-${t}`:"")}function w3(e){return e.split("-")[0]}function M7(e){return e.split("-")[1]}function tE(e){return["top","bottom"].includes(w3(e))?"x":"y"}function Kde(e){return e==="y"?"height":"width"}function X3e(e,t,n){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,o=r.y+r.height/2-i.height/2,s=tE(t),l=Kde(s),u=r[l]/2-i[l]/2,c=s==="x";let f;switch(w3(t)){case"top":f={x:a,y:r.y-i.height};break;case"bottom":f={x:a,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:o};break;case"left":f={x:r.x-i.width,y:o};break;default:f={x:r.x,y:r.y}}switch(M7(t)){case"start":f[s]-=u*(n&&c?-1:1);break;case"end":f[s]+=u*(n&&c?-1:1)}return f}const TOt=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,s=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=X3e(l,r,s),f=r,d={},h=0;for(let p=0;p({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e??{},{x:i,y:a,placement:o,rects:s,platform:l}=t;if(n==null)return{};const u=vqe(r),c={x:i,y:a},f=tE(o),d=M7(o),h=Kde(f),p=await l.getDimensions(n),g=f==="y"?"top":"left",b=f==="y"?"bottom":"right",m=s.reference[h]+s.reference[f]-c[f]-s.floating[h],v=c[f]-s.reference[f],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let k=w?f==="y"?w.clientHeight||0:w.clientWidth||0:0;k===0&&(k=s.floating[h]);const E=m/2-v/2,S=u[g],T=k-p[h]-u[b],L=k/2-p[h]/2+E,M=hoe(S,L,T),D=(d==="start"?u[g]:u[b])>0&&L!==M&&s.reference[h]<=s.floating[h];return{[f]:c[f]-(D?LIOt[t])}function ROt(e,t,n){n===void 0&&(n=!1);const r=M7(e),i=tE(e),a=Kde(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=eB(o)),{main:o,cross:eB(o)}}const MOt={start:"end",end:"start"};function Z3e(e){return e.replace(/start|end/g,t=>MOt[t])}const yqe=["top","right","bottom","left"];yqe.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Yde=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:h=!0,...p}=e,g=w3(r),b=f||(g===o||!h?[eB(o)]:function(L){const M=eB(L);return[Z3e(L),M,Z3e(M)]}(o)),m=[o,...b],v=await HA(t,p),w=[];let k=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&w.push(v[g]),c){const{main:L,cross:M}=ROt(r,a,await(s.isRTL==null?void 0:s.isRTL(l.floating)));w.push(v[L],v[M])}if(k=[...k,{placement:r,overflows:w}],!w.every(L=>L<=0)){var E,S;const L=((E=(S=i.flip)==null?void 0:S.index)!=null?E:0)+1,M=m[L];if(M)return{data:{index:L,overflows:k},reset:{placement:M}};let D="bottom";switch(d){case"bestFit":{var T;const I=(T=k.map(B=>[B,B.overflows.filter(N=>N>0).reduce((N,O)=>N+O,0)]).sort((B,N)=>B[1]-N[1])[0])==null?void 0:T[0].placement;I&&(D=I);break}case"initialPlacement":D=o}if(r!==D)return{reset:{placement:D}}}return{}}}};function Q3e(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ewe(e){return yqe.some(t=>e[t]>=0)}const Xde=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const a=Q3e(await HA(r,{...n,elementContext:"reference"}),i.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ewe(a)}}}case"escaped":{const a=Q3e(await HA(r,{...n,altBoundary:!0}),i.floating);return{data:{escapedOffsets:a,escaped:ewe(a)}}}default:return{}}}}},Jde=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await async function(a,o){const{placement:s,platform:l,elements:u}=a,c=await(l.isRTL==null?void 0:l.isRTL(u.floating)),f=w3(s),d=M7(s),h=tE(s)==="x",p=["left","top"].includes(f)?-1:1,g=c&&h?-1:1,b=typeof o=="function"?o(a):o;let{mainAxis:m,crossAxis:v,alignmentAxis:w}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return d&&typeof w=="number"&&(v=d==="end"?-1*w:w),h?{x:v*g,y:m*p}:{x:m*p,y:v*g}}(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function bqe(e){return e==="x"?"y":"x"}const Zde=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:b=>{let{x:m,y:v}=b;return{x:m,y:v}}},...l}=e,u={x:n,y:r},c=await HA(t,l),f=tE(w3(i)),d=bqe(f);let h=u[f],p=u[d];if(a){const b=f==="y"?"bottom":"right";h=hoe(h+c[f==="y"?"top":"left"],h,h-c[b])}if(o){const b=d==="y"?"bottom":"right";p=hoe(p+c[d==="y"?"top":"left"],p,p-c[b])}const g=s.fn({...t,[f]:h,[d]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},Qde=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=tE(i),d=bqe(f);let h=c[f],p=c[d];const g=typeof s=="function"?s({...a,placement:i}):s,b=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const E=f==="y"?"height":"width",S=a.reference[f]-a.floating[E]+b.mainAxis,T=a.reference[f]+a.reference[E]-b.mainAxis;hT&&(h=T)}if(u){var m,v,w,k;const E=f==="y"?"width":"height",S=["top","left"].includes(w3(i)),T=a.reference[d]-a.floating[E]+(S&&(m=(v=o.offset)==null?void 0:v[d])!=null?m:0)+(S?0:b.crossAxis),L=a.reference[d]+a.reference[E]+(S?0:(w=(k=o.offset)==null?void 0:k[d])!=null?w:0)-(S?b.crossAxis:0);pL&&(p=L)}return{[f]:h,[d]:p}}}},wqe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:i,elements:a}=t,{apply:o,...s}=e,l=await HA(t,s),u=w3(n),c=M7(n);let f,d;u==="top"||u==="bottom"?(f=u,d=c===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(d=u,f=c==="end"?"top":"bottom");const h=Ab(l.left,0),p=Ab(l.right,0),g=Ab(l.top,0),b=Ab(l.bottom,0),m={availableHeight:r.floating.height-(["left","right"].includes(n)?2*(g!==0||b!==0?g+b:Ab(l.top,l.bottom)):l[f]),availableWidth:r.floating.width-(["top","bottom"].includes(n)?2*(h!==0||p!==0?h+p:Ab(l.left,l.right)):l[d])},v=await i.getDimensions(a.floating);o?.({...t,...m});const w=await i.getDimensions(a.floating);return v.width!==w.width||v.height!==w.height?{reset:{rects:!0}}:{}}}};function kqe(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function cm(e){if(e==null)return window;if(!kqe(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function O7(e){return cm(e).getComputedStyle(e)}function Tg(e){return kqe(e)?"":e?(e.nodeName||"").toLowerCase():""}function _qe(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function c1(e){return e instanceof cm(e).HTMLElement}function v2(e){return e instanceof cm(e).Element}function ehe(e){return typeof ShadowRoot>"u"?!1:e instanceof cm(e).ShadowRoot||e instanceof ShadowRoot}function m$(e){const{overflow:t,overflowX:n,overflowY:r}=O7(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function OOt(e){return["table","td","th"].includes(Tg(e))}function twe(e){const t=/firefox/i.test(_qe()),n=O7(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"}function Cqe(){return!/^((?!chrome|android).)*safari/i.test(_qe())}const nwe=Math.min,MS=Math.max,tB=Math.round;function Dg(e,t,n){var r,i,a,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&c1(e)&&(l=e.offsetWidth>0&&tB(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&tB(s.height)/e.offsetHeight||1);const c=v2(e)?cm(e):window,f=!Cqe()&&n,d=(s.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(a=(o=c.visualViewport)==null?void 0:o.offsetTop)!=null?a:0))/u,p=s.width/l,g=s.height/u;return{width:p,height:g,top:h,right:d+p,bottom:h+g,left:d,x:d,y:h}}function Xv(e){return(t=e,(t instanceof cm(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function v$(e){return v2(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Eqe(e){return Dg(Xv(e)).left+v$(e).scrollLeft}function LOt(e,t,n){const r=c1(t),i=Xv(t),a=Dg(e,r&&function(l){const u=Dg(l);return tB(u.width)!==l.offsetWidth||tB(u.height)!==l.offsetHeight}(t),n==="fixed");let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((Tg(t)!=="body"||m$(i))&&(o=v$(t)),c1(t)){const l=Dg(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else i&&(s.x=Eqe(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}function xqe(e){return Tg(e)==="html"?e:e.assignedSlot||e.parentNode||(ehe(e)?e.host:null)||Xv(e)}function rwe(e){return c1(e)&&getComputedStyle(e).position!=="fixed"?e.offsetParent:null}function poe(e){const t=cm(e);let n=rwe(e);for(;n&&OOt(n)&&getComputedStyle(n).position==="static";)n=rwe(n);return n&&(Tg(n)==="html"||Tg(n)==="body"&&getComputedStyle(n).position==="static"&&!twe(n))?t:n||function(r){let i=xqe(r);for(ehe(i)&&(i=i.host);c1(i)&&!["html","body"].includes(Tg(i));){if(twe(i))return i;i=i.parentNode}return null}(e)||t}function iwe(e){if(c1(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Dg(e);return{width:t.width,height:t.height}}function Sqe(e){const t=xqe(e);return["html","body","#document"].includes(Tg(t))?e.ownerDocument.body:c1(t)&&m$(t)?t:Sqe(t)}function nB(e,t){var n;t===void 0&&(t=[]);const r=Sqe(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=cm(r),o=i?[a].concat(a.visualViewport||[],m$(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(nB(o))}function awe(e,t,n){return t==="viewport"?QL(function(r,i){const a=cm(r),o=Xv(r),s=a.visualViewport;let l=o.clientWidth,u=o.clientHeight,c=0,f=0;if(s){l=s.width,u=s.height;const d=Cqe();(d||!d&&i==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:u,x:c,y:f}}(e,n)):v2(t)?function(r,i){const a=Dg(r,!1,i==="fixed"),o=a.top+r.clientTop,s=a.left+r.clientLeft;return{top:o,left:s,x:s,y:o,right:s+r.clientWidth,bottom:o+r.clientHeight,width:r.clientWidth,height:r.clientHeight}}(t,n):QL(function(r){var i;const a=Xv(r),o=v$(r),s=(i=r.ownerDocument)==null?void 0:i.body,l=MS(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=MS(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0);let c=-o.scrollLeft+Eqe(r);const f=-o.scrollTop;return O7(s||a).direction==="rtl"&&(c+=MS(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:u,x:c,y:f}}(Xv(e)))}function BOt(e){const t=nB(e),n=["absolute","fixed"].includes(O7(e).position)&&c1(e)?poe(e):e;return v2(n)?t.filter(r=>v2(r)&&function(i,a){const o=a.getRootNode==null?void 0:a.getRootNode();if(i.contains(a))return!0;if(o&&ehe(o)){let s=a;do{if(s&&i===s)return!0;s=s.parentNode||s.host}while(s)}return!1}(r,n)&&Tg(r)!=="body"):[]}const POt={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const a=[...n==="clippingAncestors"?BOt(t):[].concat(n),r],o=a[0],s=a.reduce((l,u)=>{const c=awe(t,u,i);return l.top=MS(c.top,l.top),l.right=nwe(c.right,l.right),l.bottom=nwe(c.bottom,l.bottom),l.left=MS(c.left,l.left),l},awe(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=c1(n),a=Xv(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((i||!i&&r!=="fixed")&&((Tg(n)!=="body"||m$(a))&&(o=v$(n)),c1(n))){const l=Dg(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-o.scrollLeft+s.x,y:t.y-o.scrollTop+s.y}},isElement:v2,getDimensions:iwe,getOffsetParent:poe,getDocumentElement:Xv,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:LOt(t,poe(n),r),floating:{...iwe(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>O7(e).direction==="rtl"};function the(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=!0,animationFrame:s=!1}=r,l=i&&!s,u=a&&!s,c=l||u?[...v2(e)?nB(e):[],...nB(t)]:[];c.forEach(p=>{l&&p.addEventListener("scroll",n,{passive:!0}),u&&p.addEventListener("resize",n)});let f,d=null;if(o){let p=!0;d=new ResizeObserver(()=>{p||n(),p=!1}),v2(e)&&!s&&d.observe(e),d.observe(t)}let h=s?Dg(e):null;return s&&function p(){const g=Dg(e);!h||g.x===h.x&&g.y===h.y&&g.width===h.width&&g.height===h.height||n(),h=g,f=requestAnimationFrame(p)}(),n(),()=>{var p;c.forEach(g=>{l&&g.removeEventListener("scroll",n),u&&g.removeEventListener("resize",n)}),(p=d)==null||p.disconnect(),d=null,s&&cancelAnimationFrame(f)}}const FOt=(e,t,n)=>TOt(e,t,{platform:POt,...n});var goe=typeof document<"u"?C.useLayoutEffect:C.useEffect;function moe(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!moe(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const a=i[r];if(!(a==="_owner"&&e.$$typeof)&&!moe(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function NOt(e){const t=C.useRef(e);return goe(()=>{t.current=e}),t}function nhe(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const a=C.useRef(null),o=C.useRef(null),s=NOt(i),l=C.useRef(null),[u,c]=C.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=C.useState(t);moe(f?.map(w=>{let{options:k}=w;return k}),t?.map(w=>{let{options:k}=w;return k}))||d(t);const h=C.useCallback(()=>{!a.current||!o.current||FOt(a.current,o.current,{middleware:f,placement:n,strategy:r}).then(w=>{p.current&&am.flushSync(()=>{c(w)})})},[f,n,r]);goe(()=>{p.current&&h()},[h]);const p=C.useRef(!1);goe(()=>(p.current=!0,()=>{p.current=!1}),[]);const g=C.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),a.current&&o.current)if(s.current){const w=s.current(a.current,o.current,h);l.current=w}else h()},[h,s]),b=C.useCallback(w=>{a.current=w,g()},[g]),m=C.useCallback(w=>{o.current=w,g()},[g]),v=C.useMemo(()=>({reference:a,floating:o}),[]);return C.useMemo(()=>({...u,update:h,refs:v,reference:b,floating:m}),[u,h,v,b,m])}const rhe=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?J3e({element:t.current,padding:n}).fn(i):{}:t?J3e({element:t,padding:n}).fn(i):{}}}},Aqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(zOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(voe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(voe,Ne({},r,{ref:t}),n)});Aqe.displayName="Slot";const voe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...UOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});voe.displayName="SlotClone";const $Ot=({children:e})=>C.createElement(C.Fragment,null,e);function zOt(e){return C.isValidElement(e)&&e.type===$Ot}function UOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const jOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],HOt=jOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Aqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),qOt=C.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return C.createElement(HOt.svg,Ne({},a,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:C.createElement("polygon",{points:"0,0 30,0 15,10"}))}),WOt=qOt,Tqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(VOt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(yoe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(yoe,Ne({},r,{ref:t}),n)});Tqe.displayName="Slot";const yoe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...KOt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});yoe.displayName="SlotClone";const GOt=({children:e})=>C.createElement(C.Fragment,null,e);function VOt(e){return C.isValidElement(e)&&e.type===GOt}function KOt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const YOt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],boe=YOt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Tqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ihe(e){const[t,n]=C.useState(void 0);return mf(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let o,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,s=u.blockSize}else o=e.offsetWidth,s=e.offsetHeight;n({width:o,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Dqe="Popper",[ahe,Iqe]=Ih(Dqe),[XOt,Rqe]=ahe(Dqe),JOt=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(XOt,{scope:t,anchor:r,onAnchorChange:i},n)},ZOt="PopperAnchor",QOt=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=Rqe(ZOt,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(boe.div,Ne({},i,{ref:s}))}),rB="PopperContent",[eLt,tLt]=ahe(rB),[nLt,rLt]=ahe(rB,{hasParent:!1,positionUpdateFns:new Set}),iLt=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,...E}=e,S=Rqe(rB,c),[T,L]=C.useState(null),M=Ka(t,$e=>L($e)),[D,I]=C.useState(null),B=ihe(D),N=(n=B?.width)!==null&&n!==void 0?n:0,O=(r=B?.height)!==null&&r!==void 0?r:0,R=f+(h!=="center"?"-"+h:""),P=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},H=Array.isArray(b)?b:[b],F=H.length>0,q={padding:P,boundary:H.filter(uLt),altBoundary:F},{reference:V,floating:X,strategy:G,x:J,y:te,placement:re,middlewareData:Q,update:ae}=nhe({strategy:"fixed",placement:R,whileElementsMounted:the,middleware:[Jde({mainAxis:d+O,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...q}):void 0,D?rhe({element:D,padding:g}):void 0,k?Yde({...q}):void 0,cLt({arrowWidth:N,arrowHeight:O}),w?Xde({strategy:"referenceHidden"}):void 0].filter(lLt)});mf(()=>{V(S.anchor)},[V,S.anchor]);const le=J!==null&&te!==null,[oe,ee]=Mqe(re),ne=(i=Q.arrow)===null||i===void 0?void 0:i.x,ue=(a=Q.arrow)===null||a===void 0?void 0:a.y,Ae=((o=Q.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ce,be]=C.useState();mf(()=>{T&&be(window.getComputedStyle(T).zIndex)},[T]);const{hasParent:ge,positionUpdateFns:ve}=rLt(rB,c),ie=!ge;C.useLayoutEffect(()=>{if(!ie)return ve.add(ae),()=>{ve.delete(ae)}},[ie,ve,ae]),C.useLayoutEffect(()=>{ie&&le&&Array.from(ve).reverse().forEach($e=>requestAnimationFrame($e))},[ie,le,ve]);const he={"data-side":oe,"data-align":ee,...E,ref:M,style:{...E.style,animation:le?void 0:"none",opacity:(s=Q.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:X,"data-radix-popper-content-wrapper":"",style:{position:G,left:0,top:0,transform:le?`translate3d(${Math.round(J)}px, ${Math.round(te)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ce,["--radix-popper-transform-origin"]:[(l=Q.transformOrigin)===null||l===void 0?void 0:l.x,(u=Q.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},C.createElement(eLt,{scope:c,placedSide:oe,onArrowChange:I,arrowX:ne,arrowY:ue,shouldHideArrow:Ae},ie?C.createElement(nLt,{scope:c,hasParent:!0,positionUpdateFns:ve},C.createElement(boe.div,he)):C.createElement(boe.div,he)))}),aLt="PopperArrow",oLt={top:"bottom",right:"left",bottom:"top",left:"right"},sLt=C.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=tLt(aLt,r),o=oLt[a.placedSide];return C.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},C.createElement(WOt,Ne({},i,{ref:n,style:{...i.style,display:"block"}})))});function lLt(e){return e!==void 0}function uLt(e){return e!==null}const cLt=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=Mqe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function Mqe(e){const[t,n="center"]=e.split("-");return[t,n]}const Oqe=JOt,fLt=QOt,dLt=iLt,hLt=sLt,pLt=C.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return r?Gk.createPortal(C.createElement(b3.div,Ne({},i,{ref:t})),r):null});function gLt(e,t){return C.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const b1=e=>{const{present:t,children:n}=e,r=mLt(t),i=typeof n=="function"?n({present:r.isPresent}):C.Children.only(n),a=Ka(r.ref,i.ref);return typeof n=="function"||r.isPresent?C.cloneElement(i,{ref:a}):null};b1.displayName="Presence";function mLt(e){const[t,n]=C.useState(),r=C.useRef({}),i=C.useRef(e),a=C.useRef("none"),o=e?"mounted":"unmounted",[s,l]=gLt(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return C.useEffect(()=>{const u=iI(r.current);a.current=s==="mounted"?u:"none"},[s]),mf(()=>{const u=r.current,c=i.current;if(c!==e){const d=a.current,h=iI(u);e?l("MOUNT"):h==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&d!==h?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),mf(()=>{if(t){const u=f=>{const h=iI(r.current).includes(f.animationName);f.target===t&&h&&am.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(a.current=iI(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:C.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function iI(e){return e?.animationName||"none"}const Lqe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(yLt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(woe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(woe,Ne({},r,{ref:t}),n)});Lqe.displayName="Slot";const woe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...bLt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});woe.displayName="SlotClone";const vLt=({children:e})=>C.createElement(C.Fragment,null,e);function yLt(e){return C.isValidElement(e)&&e.type===vLt}function bLt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const wLt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Bqe=wLt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?Lqe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function k3({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=kLt({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=Ol(n),l=C.useCallback(u=>{if(a){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else i(u)},[a,e,i,s]);return[o,l]}function kLt({defaultProp:e,onChange:t}){const n=C.useState(e),[r]=n,i=C.useRef(r),a=Ol(t);return C.useEffect(()=>{i.current!==r&&(a(r),i.current=r)},[r,i,a]),n}const qq="rovingFocusGroup.onEntryFocus",_Lt={bubbles:!1,cancelable:!0},ohe="RovingFocusGroup",[koe,Pqe,CLt]=dqe(ohe),[ELt,Fqe]=Ih(ohe,[CLt]),[xLt,SLt]=ELt(ohe),ALt=C.forwardRef((e,t)=>C.createElement(koe.Provider,{scope:e.__scopeRovingFocusGroup},C.createElement(koe.Slot,{scope:e.__scopeRovingFocusGroup},C.createElement(TLt,Ne({},e,{ref:t}))))),TLt=C.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=C.useRef(null),d=Ka(t,f),h=hqe(a),[p=null,g]=k3({prop:o,defaultProp:s,onChange:l}),[b,m]=C.useState(!1),v=Ol(u),w=Pqe(n),k=C.useRef(!1);return C.useEffect(()=>{const E=f.current;if(E)return E.addEventListener(qq,v),()=>E.removeEventListener(qq,v)},[v]),C.createElement(xLt,{scope:n,orientation:r,dir:h,loop:i,currentTabStopId:p,onItemFocus:C.useCallback(E=>g(E),[g]),onItemShiftTab:C.useCallback(()=>m(!0),[])},C.createElement(Bqe.div,Ne({tabIndex:b?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:qr(e.onMouseDown,()=>{k.current=!0}),onFocus:qr(e.onFocus,E=>{const S=!k.current;if(E.target===E.currentTarget&&S&&!b){const T=new CustomEvent(qq,_Lt);if(E.currentTarget.dispatchEvent(T),!T.defaultPrevented){const L=w().filter(N=>N.focusable),M=L.find(N=>N.active),D=L.find(N=>N.id===p),B=[M,D,...L].filter(Boolean).map(N=>N.ref.current);Nqe(B)}}k.current=!1}),onBlur:qr(e.onBlur,()=>m(!1))})))}),DLt="RovingFocusGroupItem",ILt=C.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...a}=e,o=Xp(),s=SLt(DLt,n),l=s.currentTabStopId===o,u=Pqe(n);return C.createElement(koe.ItemSlot,{scope:n,id:o,focusable:r,active:i},C.createElement(Bqe.span,Ne({tabIndex:l?0:-1,"data-orientation":s.orientation},a,{ref:t,onMouseDown:qr(e.onMouseDown,c=>{r?s.onItemFocus(o):c.preventDefault()}),onFocus:qr(e.onFocus,()=>s.onItemFocus(o)),onKeyDown:qr(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=OLt(c,s.orientation,s.dir);if(f!==void 0){c.preventDefault();let h=u().filter(p=>p.focusable).map(p=>p.ref.current);if(f==="last")h.reverse();else if(f==="prev"||f==="next"){f==="prev"&&h.reverse();const p=h.indexOf(c.currentTarget);h=s.loop?LLt(h,p+1):h.slice(p+1)}setTimeout(()=>Nqe(h))}})})))}),RLt={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function MLt(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function OLt(e,t,n){const r=MLt(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return RLt[r]}function Nqe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function LLt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const BLt=ALt,PLt=ILt;var FLt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vw=new WeakMap,aI=new WeakMap,oI={},Wq=0,$qe=function(e){return e&&(e.host||$qe(e.parentNode))},NLt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=$qe(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$Lt=function(e,t,n,r){var i=NLt(t,Array.isArray(e)?e:[e]);oI[n]||(oI[n]=new WeakMap);var a=oI[n],o=[],s=new Set,l=new Set(i),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(s.has(d))c(d);else{var h=d.getAttribute(r),p=h!==null&&h!=="false",g=(Vw.get(d)||0)+1,b=(a.get(d)||0)+1;Vw.set(d,g),a.set(d,b),o.push(d),g===1&&p&&aI.set(d,!0),b===1&&d.setAttribute(n,"true"),p||d.setAttribute(r,"true")}})};return c(t),s.clear(),Wq++,function(){o.forEach(function(f){var d=Vw.get(f)-1,h=a.get(f)-1;Vw.set(f,d),a.set(f,h),d||(aI.has(f)||f.removeAttribute(r),aI.delete(f)),h||f.removeAttribute(n)}),Wq--,Wq||(Vw=new WeakMap,Vw=new WeakMap,aI=new WeakMap,oI={})}},she=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||FLt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),$Lt(r,i,n,"aria-hidden")):function(){return null}},bv=function(){return bv=Object.assign||function(t){for(var n,r=1,i=arguments.length;r"u")return tBt;var t=nBt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},iBt=lhe(),aBt=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n="margin"),` + .`.concat(jLt,` { overflow: hidden `).concat(r,`; padding-right: `).concat(s,"px ").concat(r,`; } @@ -615,30 +615,30 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi } body { - `).concat(jLt,": ").concat(s,`px; + `).concat(HLt,": ").concat(s,`px; } -`)},Wqe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,a=C.useMemo(function(){return nBt(i)},[i]);return C.createElement(rBt,{styles:iBt(a,!t,i,n?"":"!important")})},_oe=!1;if(typeof window<"u")try{var sI=Object.defineProperty({},"passive",{get:function(){return _oe=!0,!0}});window.addEventListener("test",sI,sI),window.removeEventListener("test",sI,sI)}catch{_oe=!1}var Kw=_oe?{passive:!1}:!1,aBt=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},oBt=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},swe=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Gqe(e,n);if(r){var i=Vqe(e,n),a=i[1],o=i[2];if(a>o)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},sBt=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},lBt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Gqe=function(e,t){return e==="v"?aBt(t):oBt(t)},Vqe=function(e,t){return e==="v"?sBt(t):lBt(t)},uBt=function(e,t){return e==="h"&&t==="rtl"?-1:1},cBt=function(e,t,n,r,i){var a=uBt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),u=!1,c=o>0,f=0,d=0;do{var h=Vqe(e,s),p=h[0],g=h[1],b=h[2],m=g-b-a*p;(p||m)&&Gqe(e,s)&&(f+=m,d+=p),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(i&&f===0||!i&&o>f)||!c&&(i&&d===0||!i&&-o>d))&&(u=!0),u},lI=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},lwe=function(e){return[e.deltaX,e.deltaY]},uwe=function(e){return e&&"current"in e?e.current:e},fBt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},dBt=function(e){return` +`)},Wqe=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,a=C.useMemo(function(){return rBt(i)},[i]);return C.createElement(iBt,{styles:aBt(a,!t,i,n?"":"!important")})},_oe=!1;if(typeof window<"u")try{var sI=Object.defineProperty({},"passive",{get:function(){return _oe=!0,!0}});window.addEventListener("test",sI,sI),window.removeEventListener("test",sI,sI)}catch{_oe=!1}var Kw=_oe?{passive:!1}:!1,oBt=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},sBt=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},swe=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Gqe(e,n);if(r){var i=Vqe(e,n),a=i[1],o=i[2];if(a>o)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},lBt=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},uBt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Gqe=function(e,t){return e==="v"?oBt(t):sBt(t)},Vqe=function(e,t){return e==="v"?lBt(t):uBt(t)},cBt=function(e,t){return e==="h"&&t==="rtl"?-1:1},fBt=function(e,t,n,r,i){var a=cBt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),u=!1,c=o>0,f=0,d=0;do{var h=Vqe(e,s),p=h[0],g=h[1],b=h[2],m=g-b-a*p;(p||m)&&Gqe(e,s)&&(f+=m,d+=p),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(i&&f===0||!i&&o>f)||!c&&(i&&d===0||!i&&-o>d))&&(u=!0),u},lI=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},lwe=function(e){return[e.deltaX,e.deltaY]},uwe=function(e){return e&&"current"in e?e.current:e},dBt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},hBt=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},hBt=0,Yw=[];function pBt(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),i=C.useState(hBt++)[0],a=C.useState(function(){return lhe()})[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=zLt([e.lockRef.current],(e.shards||[]).map(uwe),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=C.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!o.current.allowPinchZoom;var m=lI(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-m[0],k="deltaY"in g?g.deltaY:v[1]-m[1],E,S=g.target,T=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&S.type==="range")return!1;var L=swe(T,S);if(!L)return!0;if(L?E=T:(E=T==="v"?"h":"v",L=swe(T,S)),!L)return!1;if(!r.current&&"changedTouches"in g&&(w||k)&&(r.current=E),!E)return!0;var M=r.current||E;return cBt(M,b,g,M==="h"?w:k,!0)},[]),l=C.useCallback(function(g){var b=g;if(!(!Yw.length||Yw[Yw.length-1]!==a)){var m="deltaY"in b?lwe(b):lI(b),v=t.current.filter(function(E){return E.name===b.type&&E.target===b.target&&fBt(E.delta,m)})[0];if(v&&v.should){b.preventDefault();return}if(!v){var w=(o.current.shards||[]).map(uwe).filter(Boolean).filter(function(E){return E.contains(b.target)}),k=w.length>0?s(b,w[0]):!o.current.noIsolation;k&&b.preventDefault()}}},[]),u=C.useCallback(function(g,b,m,v){var w={name:g,delta:b,target:m,should:v};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),c=C.useCallback(function(g){n.current=lI(g),r.current=void 0},[]),f=C.useCallback(function(g){u(g.type,lwe(g),g.target,s(g,e.lockRef.current))},[]),d=C.useCallback(function(g){u(g.type,lI(g),g.target,s(g,e.lockRef.current))},[]);C.useEffect(function(){return Yw.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Kw),document.addEventListener("touchmove",l,Kw),document.addEventListener("touchstart",c,Kw),function(){Yw=Yw.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Kw),document.removeEventListener("touchmove",l,Kw),document.removeEventListener("touchstart",c,Kw)}},[]);var h=e.removeScrollBar,p=e.inert;return C.createElement(C.Fragment,null,p?C.createElement(a,{styles:dBt(i)}):null,h?C.createElement(Wqe,{gapMode:"margin"}):null)}const gBt=Hqe(qqe,pBt);var Kqe=C.forwardRef(function(e,t){return C.createElement(y$,bv({},e,{ref:t,sideCar:gBt}))});Kqe.classNames=y$.classNames;const mBt=Kqe,Coe=["Enter"," "],vBt=["ArrowDown","PageUp","Home"],Yqe=["ArrowUp","PageDown","End"],yBt=[...vBt,...Yqe],bBt={ltr:[...Coe,"ArrowRight"],rtl:[...Coe,"ArrowLeft"]},wBt={ltr:["ArrowLeft"],rtl:["ArrowRight"]},b$="Menu",[qA,kBt,_Bt]=dqe(b$),[_3,w$]=Ih(b$,[_Bt,Iqe,Fqe]),L7=Iqe(),Xqe=Fqe(),[Jqe,G2]=_3(b$),[CBt,B7]=_3(b$),EBt=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=L7(t),[l,u]=C.useState(null),c=C.useRef(!1),f=Ol(a),d=hqe(i);return C.useEffect(()=>{const h=()=>{c.current=!0,document.addEventListener("pointerdown",p,{capture:!0,once:!0}),document.addEventListener("pointermove",p,{capture:!0,once:!0})},p=()=>c.current=!1;return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",p,{capture:!0}),document.removeEventListener("pointermove",p,{capture:!0})}},[]),C.createElement(Oqe,s,C.createElement(Jqe,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u},C.createElement(CBt,{scope:t,onClose:C.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:c,dir:d,modal:o},r)))},Zqe=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=L7(n);return C.createElement(cLt,Ne({},i,r,{ref:t}))}),Qqe="MenuPortal",[xBt,eWe]=_3(Qqe,{forceMount:void 0}),SBt=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=G2(Qqe,t);return C.createElement(xBt,{scope:t,forceMount:n},C.createElement(b1,{present:n||a.open},C.createElement(hLt,{asChild:!0,container:i},r)))},T0="MenuContent",[ABt,uhe]=_3(T0),TBt=C.forwardRef((e,t)=>{const n=eWe(T0,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=G2(T0,e.__scopeMenu),o=B7(T0,e.__scopeMenu);return C.createElement(qA.Provider,{scope:e.__scopeMenu},C.createElement(b1,{present:r||a.open},C.createElement(qA.Slot,{scope:e.__scopeMenu},o.modal?C.createElement(DBt,Ne({},i,{ref:t})):C.createElement(IBt,Ne({},i,{ref:t})))))}),DBt=C.forwardRef((e,t)=>{const n=G2(T0,e.__scopeMenu),r=C.useRef(null),i=Ka(t,r);return C.useEffect(()=>{const a=r.current;if(a)return she(a)},[]),C.createElement(che,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:qr(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),IBt=C.forwardRef((e,t)=>{const n=G2(T0,e.__scopeMenu);return C.createElement(che,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),che=C.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d,disableOutsideScroll:h,...p}=e,g=G2(T0,n),b=B7(T0,n),m=L7(n),v=Xqe(n),w=kBt(n),[k,E]=C.useState(null),S=C.useRef(null),T=Ka(t,S,g.onContentChange),L=C.useRef(0),M=C.useRef(""),D=C.useRef(0),I=C.useRef(null),B=C.useRef("right"),N=C.useRef(0),O=h?mBt:C.Fragment,R=h?{as:Gde,allowPinchZoom:!0}:void 0,P=F=>{var q,V;const X=M.current+F,G=w().filter(le=>!le.disabled),J=document.activeElement,te=(q=G.find(le=>le.ref.current===J))===null||q===void 0?void 0:q.textValue,re=G.map(le=>le.textValue),Q=XBt(re,X,te),ae=(V=G.find(le=>le.textValue===Q))===null||V===void 0?void 0:V.ref.current;(function le(oe){M.current=oe,window.clearTimeout(L.current),oe!==""&&(L.current=window.setTimeout(()=>le(""),1e3))})(X),ae&&setTimeout(()=>ae.focus())};C.useEffect(()=>()=>window.clearTimeout(L.current),[]),Vde();const H=C.useCallback(F=>{var q,V;return B.current===((q=I.current)===null||q===void 0?void 0:q.side)&&ZBt(F,(V=I.current)===null||V===void 0?void 0:V.area)},[]);return C.createElement(ABt,{scope:n,searchRef:M,onItemEnter:C.useCallback(F=>{H(F)&&F.preventDefault()},[H]),onItemLeave:C.useCallback(F=>{var q;H(F)||((q=S.current)===null||q===void 0||q.focus(),E(null))},[H]),onTriggerLeave:C.useCallback(F=>{H(F)&&F.preventDefault()},[H]),pointerGraceTimerRef:D,onPointerGraceIntentChange:C.useCallback(F=>{I.current=F},[])},C.createElement(O,R,C.createElement(yOt,{asChild:!0,trapped:i,onMountAutoFocus:qr(a,F=>{var q;F.preventDefault(),(q=S.current)===null||q===void 0||q.focus()}),onUnmountAutoFocus:o},C.createElement(gOt,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d},C.createElement(LLt,Ne({asChild:!0},v,{dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:k,onCurrentTabStopIdChange:E,onEntryFocus:F=>{b.isUsingKeyboardRef.current||F.preventDefault()}}),C.createElement(fLt,Ne({role:"menu","aria-orientation":"vertical","data-state":oWe(g.open),dir:b.dir},m,p,{ref:T,style:{outline:"none",...p.style},onKeyDown:qr(p.onKeyDown,F=>{const V=F.target.closest('[role="menu"]')===F.currentTarget,X=F.ctrlKey||F.altKey||F.metaKey,G=F.key.length===1;V&&(F.key==="Tab"&&F.preventDefault(),!X&&G&&P(F.key));const J=S.current;if(F.target!==J||!yBt.includes(F.key))return;F.preventDefault();const re=w().filter(Q=>!Q.disabled).map(Q=>Q.ref.current);Yqe.includes(F.key)&&re.reverse(),KBt(re)}),onBlur:qr(e.onBlur,F=>{F.currentTarget.contains(F.target)||(window.clearTimeout(L.current),M.current="")}),onPointerMove:qr(e.onPointerMove,WA(F=>{const q=F.target,V=N.current!==F.clientX;if(F.currentTarget.contains(q)&&V){const X=F.clientX>N.current?"right":"left";B.current=X,N.current=F.clientX}}))})))))))}),RBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.createElement(b3.div,Ne({role:"group"},r,{ref:t}))}),Eoe="MenuItem",cwe="menu.itemSelect",fhe=C.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=C.useRef(null),o=B7(Eoe,e.__scopeMenu),s=uhe(Eoe,e.__scopeMenu),l=Ka(t,a),u=C.useRef(!1),c=()=>{const f=a.current;if(!n&&f){const d=new CustomEvent(cwe,{bubbles:!0,cancelable:!0});f.addEventListener(cwe,h=>r?.(h),{once:!0}),pqe(f,d),d.defaultPrevented?u.current=!1:o.onClose()}};return C.createElement(tWe,Ne({},i,{ref:l,disabled:n,onClick:qr(e.onClick,c),onPointerDown:f=>{var d;(d=e.onPointerDown)===null||d===void 0||d.call(e,f),u.current=!0},onPointerUp:qr(e.onPointerUp,f=>{var d;u.current||(d=f.currentTarget)===null||d===void 0||d.click()}),onKeyDown:qr(e.onKeyDown,f=>{const d=s.searchRef.current!=="";n||d&&f.key===" "||Coe.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),tWe=C.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=uhe(Eoe,n),s=Xqe(n),l=C.useRef(null),u=Ka(t,l),[c,f]=C.useState(!1),[d,h]=C.useState("");return C.useEffect(()=>{const p=l.current;if(p){var g;h(((g=p.textContent)!==null&&g!==void 0?g:"").trim())}},[a.children]),C.createElement(qA.ItemSlot,{scope:n,disabled:r,textValue:i??d},C.createElement(BLt,Ne({asChild:!0},s,{focusable:!r}),C.createElement(b3.div,Ne({role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:u,onPointerMove:qr(e.onPointerMove,WA(p=>{r?o.onItemLeave(p):(o.onItemEnter(p),p.defaultPrevented||p.currentTarget.focus())})),onPointerLeave:qr(e.onPointerLeave,WA(p=>o.onItemLeave(p))),onFocus:qr(e.onFocus,()=>f(!0)),onBlur:qr(e.onBlur,()=>f(!1))}))))}),MBt=C.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return C.createElement(rWe,{scope:e.__scopeMenu,checked:n},C.createElement(fhe,Ne({role:"menuitemcheckbox","aria-checked":n},i,{ref:t,"data-state":dhe(n),onSelect:qr(i.onSelect,()=>r?.(!n),{checkForDefaultPrevented:!1})})))}),OBt="MenuRadioGroup",[LBt,BBt]=_3(OBt,{value:void 0,onValueChange:()=>{}}),PBt=C.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=Ol(r);return C.createElement(LBt,{scope:e.__scopeMenu,value:n,onValueChange:a},C.createElement(RBt,Ne({},i,{ref:t})))}),FBt="MenuRadioItem",NBt=C.forwardRef((e,t)=>{const{value:n,...r}=e,i=BBt(FBt,e.__scopeMenu),a=n===i.value;return C.createElement(rWe,{scope:e.__scopeMenu,checked:a},C.createElement(fhe,Ne({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":dhe(a),onSelect:qr(r.onSelect,()=>{var o;return(o=i.onValueChange)===null||o===void 0?void 0:o.call(i,n)},{checkForDefaultPrevented:!1})})))}),nWe="MenuItemIndicator",[rWe,$Bt]=_3(nWe,{checked:!1}),zBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=$Bt(nWe,n);return C.createElement(b1,{present:r||a.checked},C.createElement(b3.span,Ne({},i,{ref:t,"data-state":dhe(a.checked)})))}),UBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.createElement(b3.div,Ne({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),jBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=L7(n);return C.createElement(dLt,Ne({},i,r,{ref:t}))}),iWe="MenuSub",[HBt,aWe]=_3(iWe),qBt=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=G2(iWe,t),o=L7(t),[s,l]=C.useState(null),[u,c]=C.useState(null),f=Ol(i);return C.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),C.createElement(Oqe,o,C.createElement(Jqe,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:c},C.createElement(HBt,{scope:t,contentId:Xp(),triggerId:Xp(),trigger:s,onTriggerChange:l},n)))},uI="MenuSubTrigger",WBt=C.forwardRef((e,t)=>{const n=G2(uI,e.__scopeMenu),r=B7(uI,e.__scopeMenu),i=aWe(uI,e.__scopeMenu),a=uhe(uI,e.__scopeMenu),o=C.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,u={__scopeMenu:e.__scopeMenu},c=C.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return C.useEffect(()=>c,[c]),C.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),C.createElement(Zqe,Ne({asChild:!0},u),C.createElement(tWe,Ne({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":oWe(n.open)},e,{ref:z0(t,i.onTriggerChange),onClick:f=>{var d;(d=e.onClick)===null||d===void 0||d.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:qr(e.onPointerMove,WA(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:qr(e.onPointerLeave,WA(f=>{var d;c();const h=(d=n.content)===null||d===void 0?void 0:d.getBoundingClientRect();if(h){var p;const g=(p=n.content)===null||p===void 0?void 0:p.dataset.side,b=g==="right",m=b?-5:5,v=h[b?"left":"right"],w=h[b?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+m,y:f.clientY},{x:v,y:h.top},{x:w,y:h.top},{x:w,y:h.bottom},{x:v,y:h.bottom}],side:g}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:qr(e.onKeyDown,f=>{const d=a.searchRef.current!=="";if(!(e.disabled||d&&f.key===" ")&&bBt[r.dir].includes(f.key)){var h;n.onOpenChange(!0),(h=n.content)===null||h===void 0||h.focus(),f.preventDefault()}})})))}),GBt="MenuSubContent",VBt=C.forwardRef((e,t)=>{const n=eWe(T0,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=G2(T0,e.__scopeMenu),o=B7(T0,e.__scopeMenu),s=aWe(GBt,e.__scopeMenu),l=C.useRef(null),u=Ka(t,l);return C.createElement(qA.Provider,{scope:e.__scopeMenu},C.createElement(b1,{present:r||a.open},C.createElement(qA.Slot,{scope:e.__scopeMenu},C.createElement(che,Ne({id:s.contentId,"aria-labelledby":s.triggerId},i,{ref:u,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:c=>{var f;o.isUsingKeyboardRef.current&&((f=l.current)===null||f===void 0||f.focus()),c.preventDefault()},onCloseAutoFocus:c=>c.preventDefault(),onFocusOutside:qr(e.onFocusOutside,c=>{c.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:qr(e.onEscapeKeyDown,o.onClose),onKeyDown:qr(e.onKeyDown,c=>{const f=c.currentTarget.contains(c.target),d=wBt[o.dir].includes(c.key);if(f&&d){var h;a.onOpenChange(!1),(h=s.trigger)===null||h===void 0||h.focus(),c.preventDefault()}})})))))});function oWe(e){return e?"open":"closed"}function dhe(e){return e?"checked":"unchecked"}function KBt(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function YBt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function XBt(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=YBt(e,Math.max(a,0));i.length===1&&(o=o.filter(u=>u!==n));const l=o.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function JBt(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;ar!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(i=!i)}return i}function ZBt(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return JBt(n,t)}function WA(e){return t=>t.pointerType==="mouse"?e(t):void 0}const sWe=EBt,lWe=Zqe,uWe=SBt,cWe=TBt,fWe=fhe,QBt=MBt,ePt=PBt,tPt=NBt,nPt=zBt,rPt=UBt,dWe=jBt,hWe=qBt,pWe=WBt,gWe=VBt,mWe="ContextMenu",[iPt,j0a]=Ih(mWe,[w$]),fm=w$(),[aPt,vWe]=iPt(mWe),oPt=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:a=!0}=e,[o,s]=C.useState(!1),l=fm(t),u=Ol(r),c=C.useCallback(f=>{s(f),u(f)},[u]);return C.createElement(aPt,{scope:t,open:o,onOpenChange:c,modal:a},C.createElement(sWe,Ne({},l,{dir:i,open:o,onOpenChange:c,modal:a}),n))},sPt="ContextMenuTrigger",lPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=vWe(sPt,n),a=fm(n),o=C.useRef({x:0,y:0}),s=C.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...o.current})}),l=C.useRef(0),u=C.useCallback(()=>window.clearTimeout(l.current),[]),c=f=>{o.current={x:f.clientX,y:f.clientY},i.onOpenChange(!0)};return C.useEffect(()=>u,[u]),C.createElement(C.Fragment,null,C.createElement(lWe,Ne({},a,{virtualRef:s})),C.createElement(nOt.span,Ne({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:qr(e.onContextMenu,f=>{u(),c(f),f.preventDefault()}),onPointerDown:qr(e.onPointerDown,cI(f=>{u(),l.current=window.setTimeout(()=>c(f),700)})),onPointerMove:qr(e.onPointerMove,cI(u)),onPointerCancel:qr(e.onPointerCancel,cI(u)),onPointerUp:qr(e.onPointerUp,cI(u))})))}),uPt=e=>{const{__scopeContextMenu:t,...n}=e,r=fm(t);return C.createElement(uWe,Ne({},r,n))},cPt="ContextMenuContent",fPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=vWe(cPt,n),a=fm(n),o=C.useRef(!1);return C.createElement(cWe,Ne({},a,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&o.current&&s.preventDefault(),o.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(o.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),yWe=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(fWe,Ne({},i,r,{ref:t}))}),dPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(dWe,Ne({},i,r,{ref:t}))}),hPt=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,defaultOpen:a}=e,o=fm(t),[s,l]=k3({prop:i,defaultProp:a,onChange:r});return C.createElement(hWe,Ne({},o,{open:s,onOpenChange:l}),n)},pPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(pWe,Ne({},i,r,{ref:t}))}),gPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(gWe,Ne({},i,r,{ref:t,style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))});function cI(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const mPt=oPt,vPt=lPt,k$=uPt,yPt=fPt,hhe=hPt,bPt=pPt,phe=gPt;function ci(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var wPt=["color"],bWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,wPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M9 3C9 2.44772 8.55229 2 8 2H7C6.44772 2 6 2.44772 6 3L6 14H1.5C1.22386 14 1 14.2239 1 14.5C1 14.7761 1.22386 15 1.5 15L6 15H9H13.5C13.7761 15 14 14.7761 14 14.5C14 14.2239 13.7761 14 13.5 14H9V3Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),kPt=["color"],wWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,kPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),_Pt=["color"],kWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,_Pt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),CPt=["color"],_We=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,CPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.499995 0.999995C0.223855 0.999995 -5.58458e-07 1.22385 -5.46388e-07 1.49999L-2.18554e-08 13.4999C-9.78492e-09 13.776 0.223855 13.9999 0.499995 13.9999C0.776136 13.9999 0.999991 13.776 0.999991 13.4999L0.999991 8.99993L12 8.99993C12.5523 8.99993 13 8.55222 13 7.99993L13 6.99994C13 6.44766 12.5523 5.99995 12 5.99995L0.999991 5.99995L0.999991 1.49999C0.999991 1.22385 0.776135 0.999995 0.499995 0.999995Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),EPt=["color"],CWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,EPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 1C14.2237 1 13.9999 1.22386 13.9999 1.5L13.9999 6L2.99988 6C2.44759 6 1.99988 6.44772 1.99988 7L1.99988 8C1.99988 8.55228 2.44759 9 2.99988 9L13.9999 9L13.9999 13.5C13.9999 13.7761 14.2237 14 14.4999 14C14.776 14 14.9999 13.7761 14.9999 13.5L14.9999 9L14.9999 6L14.9999 1.5C14.9999 1.22386 14.776 1 14.4999 1Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),xPt=["color"],EWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,xPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.5 0C1.22386 0 1 0.223858 1 0.5C1 0.776142 1.22386 1 1.5 1H6V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V1H13.5C13.7761 1 14 0.776142 14 0.5C14 0.223858 13.7761 0 13.5 0H9H6H1.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),SPt=["color"],APt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,SPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M8.8914 2.1937C9.1158 2.35464 9.16725 2.66701 9.00631 2.89141L2.47388 12H13.5C13.7761 12 14 12.2239 14 12.5C14 12.7762 13.7761 13 13.5 13H1.5C1.31254 13 1.14082 12.8952 1.0552 12.7284C0.969578 12.5616 0.984438 12.361 1.09369 12.2086L8.19369 2.30862C8.35462 2.08422 8.667 2.03277 8.8914 2.1937ZM11.1 6.50001C11.1 6.22387 11.3238 6.00001 11.6 6.00001C11.8761 6.00001 12.1 6.22387 12.1 6.50001C12.1 6.77615 11.8761 7.00001 11.6 7.00001C11.3238 7.00001 11.1 6.77615 11.1 6.50001ZM10.4 4.00001C10.1239 4.00001 9.90003 4.22387 9.90003 4.50001C9.90003 4.77615 10.1239 5.00001 10.4 5.00001C10.6762 5.00001 10.9 4.77615 10.9 4.50001C10.9 4.22387 10.6762 4.00001 10.4 4.00001ZM12.1 8.50001C12.1 8.22387 12.3238 8.00001 12.6 8.00001C12.8761 8.00001 13.1 8.22387 13.1 8.50001C13.1 8.77615 12.8761 9.00001 12.6 9.00001C12.3238 9.00001 12.1 8.77615 12.1 8.50001ZM13.4 10C13.1239 10 12.9 10.2239 12.9 10.5C12.9 10.7761 13.1239 11 13.4 11C13.6762 11 13.9 10.7761 13.9 10.5C13.9 10.2239 13.6762 10 13.4 10Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),TPt=["color"],DPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,TPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),IPt=["color"],RPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,IPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),MPt=["color"],OPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,MPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),LPt=["color"],BPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,LPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 2H12.5C12.7761 2 13 2.22386 13 2.5V12.5C13 12.7761 12.7761 13 12.5 13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5ZM7.5 4C7.77614 4 8 3.77614 8 3.5C8 3.22386 7.77614 3 7.5 3C7.22386 3 7 3.22386 7 3.5C7 3.77614 7.22386 4 7.5 4ZM8 5.5C8 5.77614 7.77614 6 7.5 6C7.22386 6 7 5.77614 7 5.5C7 5.22386 7.22386 5 7.5 5C7.77614 5 8 5.22386 8 5.5ZM7.5 8C7.77614 8 8 7.77614 8 7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8ZM10 7.5C10 7.77614 9.77614 8 9.5 8C9.22386 8 9 7.77614 9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5ZM11.5 8C11.7761 8 12 7.77614 12 7.5C12 7.22386 11.7761 7 11.5 7C11.2239 7 11 7.22386 11 7.5C11 7.77614 11.2239 8 11.5 8Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),PPt=["color"],FPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,PPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M12.5 2H2.5C2.22386 2 2 2.22386 2 2.5V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),NPt=["color"],aB=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,NPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),$Pt=["color"],zPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,$Pt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),UPt=["color"],jPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,UPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.877075 7.49991C0.877075 3.84222 3.84222 0.877075 7.49991 0.877075C11.1576 0.877075 14.1227 3.84222 14.1227 7.49991C14.1227 11.1576 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1576 0.877075 7.49991ZM7.49991 1.82708C4.36689 1.82708 1.82708 4.36689 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49991C13.1727 4.36689 10.6329 1.82708 7.49991 1.82708Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),HPt=["color"],fwe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,HPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qPt=["color"],WPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,qPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),GPt=["color"],VPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,GPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),KPt=["color"],YPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,KPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.29227 0.048984C3.47033 -0.032338 3.67946 -0.00228214 3.8274 0.125891L12.8587 7.95026C13.0134 8.08432 13.0708 8.29916 13.0035 8.49251C12.9362 8.68586 12.7578 8.81866 12.5533 8.82768L9.21887 8.97474L11.1504 13.2187C11.2648 13.47 11.1538 13.7664 10.9026 13.8808L8.75024 14.8613C8.499 14.9758 8.20255 14.8649 8.08802 14.6137L6.15339 10.3703L3.86279 12.7855C3.72196 12.934 3.50487 12.9817 3.31479 12.9059C3.1247 12.8301 3 12.6461 3 12.4414V0.503792C3 0.308048 3.11422 0.130306 3.29227 0.048984ZM4 1.59852V11.1877L5.93799 9.14425C6.05238 9.02363 6.21924 8.96776 6.38319 8.99516C6.54715 9.02256 6.68677 9.12965 6.75573 9.2809L8.79056 13.7441L10.0332 13.178L8.00195 8.71497C7.93313 8.56376 7.94391 8.38824 8.03072 8.24659C8.11753 8.10494 8.26903 8.01566 8.435 8.00834L11.2549 7.88397L4 1.59852Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),XPt=["color"],JPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,XPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:r}))}),ZPt=["color"],QPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,ZPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),eFt=["color"],xWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,eFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),tFt=["color"],nFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,tFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),rFt=["color"],iFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,rFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.44995 0.949951C1.31734 0.949951 1.19016 1.00263 1.0964 1.0964C1.00263 1.19017 0.949951 1.31735 0.949951 1.44995L0.949966 3.44995C0.949969 3.7261 1.17383 3.94995 1.44997 3.94995C1.72611 3.94995 1.94997 3.72609 1.94997 3.44995L1.94995 1.94995H3.44997C3.72611 1.94995 3.94997 1.72609 3.94997 1.44995C3.94997 1.17381 3.72611 0.949951 3.44997 0.949951H1.44995ZM5.94995 0.949951C5.67381 0.949951 5.44995 1.17381 5.44995 1.44995C5.44995 1.72609 5.67381 1.94995 5.94995 1.94995H8.94995C9.22609 1.94995 9.44995 1.72609 9.44995 1.44995C9.44995 1.17381 9.22609 0.949951 8.94995 0.949951H5.94995ZM5.44995 13.45C5.44995 13.1738 5.67381 12.95 5.94995 12.95H8.94995C9.22609 12.95 9.44995 13.1738 9.44995 13.45C9.44995 13.7261 9.22609 13.95 8.94995 13.95H5.94995C5.67381 13.95 5.44995 13.7261 5.44995 13.45ZM1.94995 5.94995C1.94995 5.67381 1.72609 5.44995 1.44995 5.44995C1.17381 5.44995 0.949951 5.67381 0.949951 5.94995V8.94995C0.949951 9.22609 1.17381 9.44995 1.44995 9.44995C1.72609 9.44995 1.94995 9.22609 1.94995 8.94995V5.94995ZM13.45 5.44995C13.7261 5.44995 13.95 5.67381 13.95 5.94995V8.94995C13.95 9.22609 13.7261 9.44995 13.45 9.44995C13.1738 9.44995 12.95 9.22609 12.95 8.94995V5.94995C12.95 5.67381 13.1738 5.44995 13.45 5.44995ZM11.45 0.949951C11.1738 0.949951 10.95 1.17381 10.95 1.44995C10.95 1.72609 11.1738 1.94995 11.45 1.94995H12.9499V3.44995C12.9499 3.72609 13.1738 3.94995 13.4499 3.94995C13.7261 3.94995 13.9499 3.72609 13.9499 3.44995V1.44995C13.9499 1.17381 13.7252 0.949951 13.449 0.949951H11.45ZM1.44995 10.95C1.72609 10.95 1.94995 11.1738 1.94995 11.45V12.95H3.44997C3.72611 12.95 3.94997 13.1738 3.94997 13.45C3.94997 13.7261 3.72611 13.95 3.44997 13.95H1.44995C1.17381 13.95 0.949951 13.7261 0.949951 13.45V11.45C0.949951 11.1738 1.17381 10.95 1.44995 10.95ZM13.95 11.45C13.95 11.1738 13.7261 10.95 13.45 10.95C13.1738 10.9499 12.95 11.1738 12.95 11.4499L12.9491 12.95H11.45C11.1738 12.95 10.95 13.1738 10.95 13.45C10.95 13.7261 11.1738 13.95 11.45 13.95H13.4499C13.7261 13.95 13.9499 13.7261 13.9499 13.45L13.95 11.45Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),aFt=["color"],oFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,aFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),sFt=["color"],lFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,sFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),uFt=["color"],cFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,uFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),fFt=["color"],dFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,fFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),hFt=["color"],pFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,hFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.4986 0C6.3257 0 5.36107 0.38943 4.73753 1.19361C4.23745 1.83856 4 2.68242 4 3.63325H5C5 2.84313 5.19691 2.23312 5.5278 1.80636C5.91615 1.30552 6.55152 1 7.4986 1C8.35683 1 8.96336 1.26502 9.35846 1.68623C9.75793 2.11211 10 2.76044 10 3.63601V6H3C2.44772 6 2 6.44772 2 7V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V7C13 6.44771 12.5523 6 12 6H11V3.63601C11 2.58135 10.7065 1.66167 10.0878 1.0021C9.46477 0.337871 8.57061 0 7.4986 0ZM3 7H12V13H3V7Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),gFt=["color"],mFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,gFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5L4 7C4 7.01671 4.00082 7.03323 4.00242 7.04952C2.86009 7.28022 2 8.28967 2 9.5C2 10.7103 2.86009 11.7198 4.00242 11.9505C4.00082 11.9668 4 11.9833 4 12V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V12C5 11.9833 4.99918 11.9668 4.99758 11.9505C6.1399 11.7198 7 10.7103 7 9.5C7 8.28967 6.1399 7.28022 4.99758 7.04952C4.99918 7.03323 5 7.01671 5 7L5 1.5ZM11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V3C10 3.01671 10.0008 3.03323 10.0024 3.04952C8.8601 3.28022 8 4.28967 8 5.5C8 6.71033 8.8601 7.71978 10.0024 7.95048C10.0008 7.96677 10 7.98329 10 8V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V8C11 7.98329 10.9992 7.96677 10.9976 7.95048C12.1399 7.71978 13 6.71033 13 5.5C13 4.28967 12.1399 3.28022 10.9976 3.04952C10.9992 3.03323 11 3.01671 11 3V1.5ZM4.5 8C3.67157 8 3 8.67157 3 9.5C3 10.3284 3.67157 11 4.5 11C5.32843 11 6 10.3284 6 9.5C6 8.67157 5.32843 8 4.5 8ZM9 5.5C9 4.67157 9.67157 4 10.5 4C11.3284 4 12 4.67157 12 5.5C12 6.32843 11.3284 7 10.5 7C9.67157 7 9 6.32843 9 5.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),vFt=["color"],ghe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,vFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),yFt=["color"],bFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,yFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),wFt=["color"],kFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,wFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M13.5 13.95C13.7485 13.95 13.95 13.7485 13.95 13.5C13.95 13.2514 13.7485 13.05 13.5 13.05L1.49995 13.05C1.25142 13.05 1.04995 13.2514 1.04995 13.5C1.04995 13.7485 1.25142 13.95 1.49995 13.95L13.5 13.95ZM11.0681 7.5683C11.2439 7.39257 11.2439 7.10764 11.0681 6.93191C10.8924 6.75617 10.6075 6.75617 10.4317 6.93191L7.94993 9.41371L7.94993 1.49998C7.94993 1.25146 7.74846 1.04998 7.49993 1.04998C7.2514 1.04998 7.04993 1.25146 7.04993 1.49998L7.04993 9.41371L4.56813 6.93191C4.39239 6.75617 4.10746 6.75617 3.93173 6.93191C3.75599 7.10764 3.75599 7.39257 3.93173 7.5683L7.18173 10.8183C7.35746 10.994 7.64239 10.994 7.81812 10.8183L11.0681 7.5683Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),_Ft=["color"],CFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,_Ft);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.50005 1.05005C1.25152 1.05005 1.05005 1.25152 1.05005 1.50005C1.05005 1.74858 1.25152 1.95005 1.50005 1.95005L13.5 1.95005C13.7486 1.95005 13.95 1.74858 13.95 1.50005C13.95 1.25152 13.7486 1.05005 13.5 1.05005H1.50005ZM3.93188 7.43169C3.75614 7.60743 3.75614 7.89236 3.93188 8.06809C4.10761 8.24383 4.39254 8.24383 4.56827 8.06809L7.05007 5.58629V13.5C7.05007 13.7485 7.25155 13.95 7.50007 13.95C7.7486 13.95 7.95007 13.7485 7.95007 13.5L7.95007 5.58629L10.4319 8.06809C10.6076 8.24383 10.8925 8.24383 11.0683 8.06809C11.244 7.89235 11.244 7.60743 11.0683 7.43169L7.81827 4.18169C7.64254 4.00596 7.35761 4.00596 7.18188 4.18169L3.93188 7.43169Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),EFt=["color"],xFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,EFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),SFt=["color"],AFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,SFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5.07505 4.10001C5.07505 2.91103 6.25727 1.92502 7.50005 1.92502C8.74283 1.92502 9.92505 2.91103 9.92505 4.10001C9.92505 5.19861 9.36782 5.71436 8.61854 6.37884L8.58757 6.4063C7.84481 7.06467 6.92505 7.87995 6.92505 9.5C6.92505 9.81757 7.18248 10.075 7.50005 10.075C7.81761 10.075 8.07505 9.81757 8.07505 9.5C8.07505 8.41517 8.62945 7.90623 9.38156 7.23925L9.40238 7.22079C10.1496 6.55829 11.075 5.73775 11.075 4.10001C11.075 2.12757 9.21869 0.775024 7.50005 0.775024C5.7814 0.775024 3.92505 2.12757 3.92505 4.10001C3.92505 4.41758 4.18249 4.67501 4.50005 4.67501C4.81761 4.67501 5.07505 4.41758 5.07505 4.10001ZM7.50005 13.3575C7.9833 13.3575 8.37505 12.9657 8.37505 12.4825C8.37505 11.9992 7.9833 11.6075 7.50005 11.6075C7.0168 11.6075 6.62505 11.9992 6.62505 12.4825C6.62505 12.9657 7.0168 13.3575 7.50005 13.3575Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),TFt=["color"],DFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,TFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.59664 2.93628C7.76085 3.06401 8.00012 2.94698 8.00012 2.73895V1.99998C9.98143 2 11.1848 2.3637 11.9105 3.08945C12.6363 3.81522 13 5.0186 13 6.99998C13 7.27613 13.2239 7.49998 13.5 7.49998C13.7761 7.49998 14 7.27613 14 6.99998C14 4.9438 13.6325 3.39719 12.6176 2.38234C11.6028 1.36752 10.0562 0.999999 8.00012 0.999984V0.261266C8.00012 0.0532293 7.76085 -0.0637944 7.59664 0.063928L6.00384 1.30277C5.87516 1.40286 5.87516 1.59735 6.00384 1.69744L7.59664 2.93628ZM9.5 5H2.5C2.22386 5 2 5.22386 2 5.5V12.5C2 12.7761 2.22386 13 2.5 13H9.5C9.77614 13 10 12.7761 10 12.5V5.5C10 5.22386 9.77614 5 9.5 5ZM2.5 4C1.67157 4 1 4.67157 1 5.5V12.5C1 13.3284 1.67157 14 2.5 14H9.5C10.3284 14 11 13.3284 11 12.5V5.5C11 4.67157 10.3284 4 9.5 4H2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),IFt=["color"],SWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,IFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992ZM0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992ZM1.99998 6.99994C1.99998 6.44766 2.44769 5.99995 2.99998 5.99995L5.99995 5.99995C6.55223 5.99995 6.99994 6.44766 6.99994 6.99994L6.99994 7.99993C6.99994 8.55221 6.55223 8.99992 5.99995 8.99992L2.99998 8.99992C2.4477 8.99992 1.99998 8.55221 1.99998 7.99993L1.99998 6.99994ZM8.99993 5.99995C8.44765 5.99995 7.99993 6.44766 7.99993 6.99994L7.99993 7.99993C7.99993 8.55221 8.44765 8.99992 8.99993 8.99992L11.9999 8.99992C12.5522 8.99992 12.9999 8.55221 12.9999 7.99993L12.9999 6.99994C12.9999 6.44766 12.5522 5.99995 11.9999 5.99995L8.99993 5.99995Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),RFt=["color"],AWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,RFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 2C6.44772 2 6 2.44772 6 3V6C6 6.55228 6.44772 7 7 7H8C8.55228 7 9 6.55228 9 6V3C9 2.44772 8.55228 2 8 2H7ZM7 8C6.44772 8 6 8.44771 6 9V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V9C9 8.44772 8.55228 8 8 8H7ZM1.49988 14C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H1.49988Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),MFt=["color"],OFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,MFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1 1H1.5H13.5H14V1.5V13.5V14H13.5H1.5H1V13.5V1.5V1ZM2 2V13H13V2H2Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),LFt=["color"],TWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,LFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99992L13.9999 8.99992L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),BFt=["color"],DWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,BFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H6H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM9 14V1L6 1V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),PFt=["color"],FFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,PFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.94993 2.95002L3.94993 4.49998C3.94993 4.74851 3.74845 4.94998 3.49993 4.94998C3.2514 4.94998 3.04993 4.74851 3.04993 4.49998V2.50004C3.04993 2.45246 3.05731 2.40661 3.07099 2.36357C3.12878 2.18175 3.29897 2.05002 3.49993 2.05002H11.4999C11.6553 2.05002 11.7922 2.12872 11.8731 2.24842C11.9216 2.32024 11.9499 2.40682 11.9499 2.50002L11.9499 2.50004V4.49998C11.9499 4.74851 11.7485 4.94998 11.4999 4.94998C11.2514 4.94998 11.0499 4.74851 11.0499 4.49998V2.95002H8.04993V12.05H9.25428C9.50281 12.05 9.70428 12.2515 9.70428 12.5C9.70428 12.7486 9.50281 12.95 9.25428 12.95H5.75428C5.50575 12.95 5.30428 12.7486 5.30428 12.5C5.30428 12.2515 5.50575 12.05 5.75428 12.05H6.94993V2.95002H3.94993Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),NFt=["color"],$Ft=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,NFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),zFt=["color"],UFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,zFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),jFt=["color"],HFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,jFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qFt=["color"],WFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,qFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),GFt=["color"],VFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,GFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.23336 4.69629C7.23336 2.96884 8.63335 1.56857 10.36 1.56857C11.3736 1.56857 12.183 2.04804 12.7254 2.74385C13.3079 2.62467 13.8557 2.40913 14.3513 2.11508C14.1559 2.72598 13.7424 3.2396 13.2033 3.56463C13.2038 3.56568 13.2042 3.56674 13.2047 3.56779C13.7334 3.50361 14.2364 3.36302 14.7048 3.15546L14.7037 3.15715C14.3667 3.66183 13.9431 4.10736 13.4561 4.47034C13.4823 4.64672 13.4956 4.82427 13.4956 5.00079C13.4956 8.6871 10.6873 12.9746 5.52122 12.9746C3.93906 12.9746 2.46544 12.511 1.22505 11.7152C0.992632 11.5661 0.925108 11.2568 1.07423 11.0244C1.0874 11.0038 1.10183 10.9846 1.11734 10.9666C1.20582 10.8202 1.37438 10.7309 1.5554 10.7522C2.47066 10.8601 3.38568 10.7485 4.19219 10.3962C3.39226 10.0434 2.77129 9.35975 2.50204 8.51974C2.45359 8.3686 2.48835 8.20311 2.59351 8.08422C2.59716 8.0801 2.60087 8.07606 2.60464 8.0721C1.96391 7.50819 1.55973 6.68208 1.55973 5.76143V5.72759C1.55973 5.56814 1.64411 5.42059 1.78155 5.33974C1.82671 5.31317 1.87537 5.29511 1.92532 5.28558C1.70549 4.86154 1.58116 4.37984 1.58116 3.86958C1.58116 3.40165 1.58384 2.81192 1.91332 2.28081C1.98718 2.16175 2.10758 2.08915 2.2364 2.07195C2.42588 2.01237 2.64087 2.06969 2.77406 2.23302C3.86536 3.57126 5.44066 4.49583 7.23366 4.73961L7.23336 4.69629ZM5.52122 11.9746C4.73387 11.9746 3.97781 11.8435 3.27248 11.6023C4.13012 11.4538 4.95307 11.1159 5.66218 10.5602C5.81211 10.4427 5.87182 10.2435 5.81126 10.0629C5.7507 9.88234 5.583 9.75943 5.39255 9.75607C4.68968 9.74366 4.06712 9.39716 3.67793 8.86845C3.86828 8.85306 4.05428 8.82039 4.23445 8.77167C4.43603 8.71716 4.57363 8.53114 4.56674 8.32243C4.55985 8.11372 4.41029 7.93718 4.20555 7.89607C3.42694 7.73977 2.79883 7.16764 2.56169 6.42174C2.76255 6.47025 2.97102 6.4991 3.18482 6.5061C3.38563 6.51267 3.56646 6.38533 3.62795 6.19405C3.68943 6.00277 3.61666 5.79391 3.44963 5.68224C2.86523 5.29155 2.48116 4.62464 2.48116 3.86958C2.48116 3.70213 2.48352 3.55268 2.49355 3.41719C3.85115 4.79913 5.70873 5.68931 7.77588 5.79338C7.93225 5.80126 8.08328 5.73543 8.18395 5.61553C8.28463 5.49562 8.32332 5.33548 8.28851 5.18284C8.25255 5.02517 8.23336 4.86284 8.23336 4.69629C8.23336 3.52085 9.18591 2.56857 10.36 2.56857C11.5943 2.56857 12.4956 3.71208 12.4956 5.00079C12.4956 8.25709 10.0202 11.9746 5.52122 11.9746Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),KFt=["color"],YFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,KFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.49998 1L6.92321 2.00307L1.17498 12L0.599976 13H1.7535H13.2464H14.4L13.825 12L8.07674 2.00307L7.49998 1ZM7.49998 3.00613L2.3285 12H12.6714L7.49998 3.00613Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qa="colors",sc="sizes",Cr="space",IWe={gap:Cr,gridGap:Cr,columnGap:Cr,gridColumnGap:Cr,rowGap:Cr,gridRowGap:Cr,inset:Cr,insetBlock:Cr,insetBlockEnd:Cr,insetBlockStart:Cr,insetInline:Cr,insetInlineEnd:Cr,insetInlineStart:Cr,margin:Cr,marginTop:Cr,marginRight:Cr,marginBottom:Cr,marginLeft:Cr,marginBlock:Cr,marginBlockEnd:Cr,marginBlockStart:Cr,marginInline:Cr,marginInlineEnd:Cr,marginInlineStart:Cr,padding:Cr,paddingTop:Cr,paddingRight:Cr,paddingBottom:Cr,paddingLeft:Cr,paddingBlock:Cr,paddingBlockEnd:Cr,paddingBlockStart:Cr,paddingInline:Cr,paddingInlineEnd:Cr,paddingInlineStart:Cr,top:Cr,right:Cr,bottom:Cr,left:Cr,scrollMargin:Cr,scrollMarginTop:Cr,scrollMarginRight:Cr,scrollMarginBottom:Cr,scrollMarginLeft:Cr,scrollMarginX:Cr,scrollMarginY:Cr,scrollMarginBlock:Cr,scrollMarginBlockEnd:Cr,scrollMarginBlockStart:Cr,scrollMarginInline:Cr,scrollMarginInlineEnd:Cr,scrollMarginInlineStart:Cr,scrollPadding:Cr,scrollPaddingTop:Cr,scrollPaddingRight:Cr,scrollPaddingBottom:Cr,scrollPaddingLeft:Cr,scrollPaddingX:Cr,scrollPaddingY:Cr,scrollPaddingBlock:Cr,scrollPaddingBlockEnd:Cr,scrollPaddingBlockStart:Cr,scrollPaddingInline:Cr,scrollPaddingInlineEnd:Cr,scrollPaddingInlineStart:Cr,fontSize:"fontSizes",background:qa,backgroundColor:qa,backgroundImage:qa,borderImage:qa,border:qa,borderBlock:qa,borderBlockEnd:qa,borderBlockStart:qa,borderBottom:qa,borderBottomColor:qa,borderColor:qa,borderInline:qa,borderInlineEnd:qa,borderInlineStart:qa,borderLeft:qa,borderLeftColor:qa,borderRight:qa,borderRightColor:qa,borderTop:qa,borderTopColor:qa,caretColor:qa,color:qa,columnRuleColor:qa,fill:qa,outline:qa,outlineColor:qa,stroke:qa,textDecorationColor:qa,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:sc,minBlockSize:sc,maxBlockSize:sc,inlineSize:sc,minInlineSize:sc,maxInlineSize:sc,width:sc,minWidth:sc,maxWidth:sc,height:sc,minHeight:sc,maxHeight:sc,flexBasis:sc,gridTemplateColumns:sc,gridTemplateRows:sc,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},XFt=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,nE=()=>{const e=Object.create(null);return(t,n,...r)=>{const i=(a=>JSON.stringify(a,XFt))(t);return i in e?e[i]:e[i]=n(t,...r)}},o4=Symbol.for("sxs.internal"),mhe=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),dwe=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:JFt}=Object.prototype,xoe=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),ZFt=/\s+(?![^()]*\))/,Xw=e=>t=>e(...typeof t=="string"?String(t).split(ZFt):[t]),hwe={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Xw((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:Xw((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:Xw((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:Xw((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:Xw((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:Xw((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},Kq=/([\d.]+)([^]*)/,QFt=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(i=>i.includes("&")?i.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(i)?`:is(${r})`:r):r+" "+i)),n),[]):t,eNt=(e,t)=>e in tNt&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,i,a)=>r+(i==="stretch"?`-moz-available${a};${xoe(e)}:${r}-webkit-fill-available`:`-moz-fit-content${a};${xoe(e)}:${r}fit-content`)+a):String(t),tNt={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Wg=e=>e?e+"-":"",RWe=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,i,a,o,s)=>o=="$"==!!a?r:(i||o=="--"?"calc(":"")+"var(--"+(o==="$"?Wg(t)+(s.includes("$")?"":Wg(n))+s.replace(/\$/g,"-"):s)+")"+(i||o=="--"?"*"+(i||"")+(a||"1")+")":"")),nNt=/\s*,\s*(?![^()]*\))/,rNt=Object.prototype.toString,Xk=(e,t,n,r,i)=>{let a,o,s;const l=(u,c,f)=>{let d,h;const p=g=>{for(d in g){const v=d.charCodeAt(0)===64,w=v&&Array.isArray(g[d])?g[d]:[g[d]];for(h of w){const k=/[A-Z]/.test(m=d)?m:m.replace(/-[^]/g,S=>S[1].toUpperCase()),E=typeof h=="object"&&h&&h.toString===rNt&&(!r.utils[k]||!c.length);if(k in r.utils&&!E){const S=r.utils[k];if(S!==o){o=S,p(S(h)),o=null;continue}}else if(k in hwe){const S=hwe[k];if(S!==s){s=S,p(S(h)),s=null;continue}}if(v&&(b=d.slice(1)in r.media?"@media "+r.media[d.slice(1)]:d,d=b.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(S,T,L,M,D,I)=>{const B=Kq.test(T),N=.0625*(B?-1:1),[O,R]=B?[M,T]:[T,M];return"("+(L[0]==="="?"":L[0]===">"===B?"max-":"min-")+O+":"+(L[0]!=="="&&L.length===1?R.replace(Kq,(P,H,F)=>Number(H)+N*(L===">"?1:-1)+F):R)+(D?") and ("+(D[0]===">"?"min-":"max-")+O+":"+(D.length===1?I.replace(Kq,(P,H,F)=>Number(H)+N*(D===">"?-1:1)+F):I):"")+")"})),E){const S=v?f.concat(d):[...f],T=v?[...c]:QFt(c,d.split(nNt));a!==void 0&&i(pwe(...a)),a=void 0,l(h,T,S)}else a===void 0&&(a=[[],c,f]),d=v||d.charCodeAt(0)!==36?d:`--${Wg(r.prefix)}${d.slice(1).replace(/\$/g,"-")}`,h=E?h:typeof h=="number"?h&&k in iNt?String(h)+"px":String(h):RWe(eNt(k,h??""),r.prefix,r.themeMap[k]),a[0].push(`${v?`${d} `:`${xoe(d)}:`}${h}`)}}var b,m};p(u),a!==void 0&&i(pwe(...a)),a=void 0};l(e,t,n)},pwe=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,iNt={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},gwe=e=>String.fromCharCode(e+(e>25?39:97)),s4=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=gwe(n%52)+r;return gwe(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),xx=["themed","global","styled","onevar","resonevar","allvar","inline"],aNt=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},oNt=e=>{let t;const n=()=>{const{cssRules:i}=t.sheet;return[].map.call(i,(a,o)=>{const{cssText:s}=a;let l="";if(s.startsWith("--sxs"))return"";if(i[o-1]&&(l=i[o-1].cssText).startsWith("--sxs")){if(!a.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===a)return`--sxs{--sxs:${[...t.rules[u].cache].join(" ")}}${s}`;return a.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const u in s)delete s[u]}const i=Object(e).styleSheets||[];for(const s of i)if(aNt(s)){for(let l=0,u=s.cssRules;u[l];++l){const c=Object(u[l]);if(c.type!==1)continue;const f=Object(u[l+1]);if(f.type!==4)continue;++l;const{cssText:d}=c;if(!d.startsWith("--sxs"))continue;const h=d.slice(14,-3).trim().split(/\s+/),p=xx[h[0]];p&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[p]={group:f,index:l,cache:new Set(h)})}if(t)break}if(!t){const s=(l,u)=>({type:u,cssRules:[],insertRule(c,f){this.cssRules.splice(f,0,s(c,{import:3,undefined:1}[(c.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,c=>c.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:a,rules:o}=t;for(let s=xx.length-1;s>=0;--s){const l=xx[s];if(!o[l]){const u=xx[s+1],c=o[u]?o[u].index:a.cssRules.length;a.insertRule("@media{}",c),a.insertRule(`--sxs{--sxs:${s}}`,c),o[l]={group:a.cssRules[c+1],index:c,cache:new Set([s])}}sNt(o[l])}};return r(),t},sNt=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},$5=Symbol(),lNt=nE(),mwe=(e,t)=>lNt(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const i of n)if(i!=null)if(i[o4]){r.type==null&&(r.type=i[o4].type);for(const a of i[o4].composers)r.composers.add(a)}else i.constructor!==Object||i.$$typeof?r.type==null&&(r.type=i):r.composers.add(uNt(i,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),cNt(e,r,t)}),uNt=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{const a=`${Wg(i.prefix)}c-${s4(r)}`,o=[],s=[],l=Object.create(null),u=[];for(const d in n)l[d]=String(n[d]);if(typeof e=="object"&&e)for(const d in e){c=l,f=d,JFt.call(c,f)||(l[d]="undefined");const h=e[d];for(const p in h){const g={[d]:String(p)};String(p)==="undefined"&&u.push(d);const b=h[p],m=[g,b,!dwe(b)];o.push(m)}}var c,f;if(typeof t=="object"&&t)for(const d of t){let{css:h,...p}=d;h=typeof h=="object"&&h||{};for(const b in p)p[b]=String(p[b]);const g=[p,h,!dwe(h)];s.push(g)}return[a,r,o,s,l,u]},cNt=(e,t,n)=>{const[r,i,a,o]=fNt(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(f=>{function d(){for(let h=0;hd.rules[h]={apply:p=>d[$5].push([h,p])}),d})(n):null,l=(s||n).rules,u=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,c=f=>{f=typeof f=="object"&&f||dNt;const{css:d,...h}=f,p={};for(const m in a)if(delete h[m],m in f){let v=f[m];typeof v=="object"&&v?p[m]={"@initial":a[m],...v}:(v=String(v),p[m]=v!=="undefined"||o.has(m)?v:a[m])}else p[m]=a[m];const g=new Set([...i]);for(const[m,v,w,k]of t.composers){n.rules.styled.cache.has(m)||(n.rules.styled.cache.add(m),Xk(v,[`.${m}`],[],e,T=>{l.styled.apply(T)}));const E=vwe(w,p,e.media),S=vwe(k,p,e.media,!0);for(const T of E)if(T!==void 0)for(const[L,M,D]of T){const I=`${m}-${s4(M)}-${L}`;g.add(I);const B=(D?n.rules.resonevar:n.rules.onevar).cache,N=D?l.resonevar:l.onevar;B.has(I)||(B.add(I),Xk(M,[`.${I}`],[],e,O=>{N.apply(O)}))}for(const T of S)if(T!==void 0)for(const[L,M]of T){const D=`${m}-${s4(M)}-${L}`;g.add(D),n.rules.allvar.cache.has(D)||(n.rules.allvar.cache.add(D),Xk(M,[`.${D}`],[],e,I=>{l.allvar.apply(I)}))}}if(typeof d=="object"&&d){const m=`${r}-i${s4(d)}-css`;g.add(m),n.rules.inline.cache.has(m)||(n.rules.inline.cache.add(m),Xk(d,[`.${m}`],[],e,v=>{l.inline.apply(v)}))}for(const m of String(f.className||"").trim().split(/\s+/))m&&g.add(m);const b=h.className=[...g].join(" ");return{type:t.type,className:b,selector:u,props:h,toString:()=>b,deferredInjector:s}};return mhe(c,{className:r,selector:u,[o4]:t,toString:()=>(n.rules.styled.cache.has(r)||c(),r)})},fNt=e=>{let t="";const n=[],r={},i=[];for(const[a,,,,o,s]of e){t===""&&(t=a),n.push(a),i.push(...s);for(const l in o){const u=o[l];(r[l]===void 0||u!=="undefined"||s.includes(u))&&(r[l]=u)}}return[t,n,r,new Set(i)]},vwe=(e,t,n,r)=>{const i=[];e:for(let[a,o,s]of e){if(s)continue;let l,u=0,c=!1;for(l in a){const f=a[l];let d=t[l];if(d!==f){if(typeof d!="object"||!d)continue e;{let h,p,g=0;for(const b in d){if(f===String(d[b])){if(b!=="@initial"){const m=b.slice(1);(p=p||[]).push(m in n?n[m]:b.replace(/^@media ?/,"")),c=!0}u+=g,h=!0}++g}if(p&&p.length&&(o={["@media "+p.join(", ")]:o}),!h)continue e}}}(i[u]=i[u]||[]).push([r?"cv":`${l}-${a[l]}`,o,c])}return i},dNt={},hNt=nE(),pNt=(e,t)=>hNt(e,()=>(...n)=>{const r=()=>{for(let i of n){i=typeof i=="object"&&i||{};let a=s4(i);if(!t.rules.global.cache.has(a)){if(t.rules.global.cache.add(a),"@import"in i){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(i["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,o++);delete i["@import"]}Xk(i,[],[],e,o=>{t.rules.global.apply(o)})}}return""};return mhe(r,{toString:r})}),gNt=nE(),mNt=(e,t)=>gNt(e,()=>n=>{const r=`${Wg(e.prefix)}k-${s4(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const a=[];Xk(n,[],[],e,s=>a.push(s));const o=`@keyframes ${r}{${a.join("")}}`;t.rules.global.apply(o)}return r};return mhe(i,{get name(){return i()},toString:i})}),vNt=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Wg(this.prefix)+Wg(this.scale)+this.token}toString(){return this.computedValue}},yNt=nE(),bNt=(e,t)=>yNt(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const i=`.${n=(n=typeof n=="string"?n:"")||`${Wg(e.prefix)}t-${s4(r)}`}`,a={},o=[];for(const l in r){a[l]={};for(const u in r[l]){const c=`--${Wg(e.prefix)}${l}-${u}`,f=RWe(String(r[l][u]),e.prefix,l);a[l][u]=new vNt(u,f,l,e.prefix),o.push(`${c}:${f}`)}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${o.join(";")}}`;t.rules.themed.apply(l)}return n};return{...a,get className(){return s()},selector:i,toString:s}}),wNt=nE(),ywe,kNt=nE(),MWe=e=>{const t=(n=>{let r=!1;const i=wNt(n,a=>{r=!0;const o="prefix"in(a=typeof a=="object"&&a||{})?String(a.prefix):"",s=typeof a.media=="object"&&a.media||{},l=typeof a.root=="object"?a.root||null:globalThis.document||null,u=typeof a.theme=="object"&&a.theme||{},c={prefix:o,media:s,theme:u,themeMap:typeof a.themeMap=="object"&&a.themeMap||{...IWe},utils:typeof a.utils=="object"&&a.utils||{}},f=oNt(l),d={css:mwe(c,f),globalCss:pNt(c,f),keyframes:mNt(c,f),createTheme:bNt(c,f),reset(){f.reset(),d.theme.toString()},theme:{},sheet:f,config:c,prefix:o,getCssText:f.toString,toString:f.toString};return String(d.theme=d.createTheme(u)),d});return r||i.reset(),i})(e);return t.styled=(({config:n,sheet:r})=>kNt(n,()=>{const i=mwe(n,r);return(...a)=>{const o=i(...a),s=o[o4].type,l=gr.forwardRef((u,c)=>{const f=u&&u.as||s,{props:d,deferredInjector:h}=o(u);return delete d.as,d.ref=c,h?gr.createElement(gr.Fragment,null,gr.createElement(f,d),gr.createElement(h,null)):gr.createElement(f,d)});return l.className=o.className,l.displayName=`Styled.${s.displayName||s.name||s}`,l.selector=o.selector,l.toString=()=>o.selector,l[o4]=o[o4],l}}))(t),t},_Nt=()=>ywe||(ywe=MWe()),_$=(...e)=>_Nt().styled(...e);const OWe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(ENt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(Soe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(Soe,Ne({},r,{ref:t}),n)});OWe.displayName="Slot";const Soe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...xNt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});Soe.displayName="SlotClone";const CNt=({children:e})=>C.createElement(C.Fragment,null,e);function ENt(e){return C.isValidElement(e)&&e.type===CNt}function xNt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const SNt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],ANt=SNt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?OWe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),LWe="DropdownMenu",[TNt,H0a]=Ih(LWe,[w$]),Rf=w$(),[DNt,BWe]=TNt(LWe),INt=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=Rf(t),u=C.useRef(null),[c=!1,f]=k3({prop:i,defaultProp:a,onChange:o});return C.createElement(DNt,{scope:t,triggerId:Xp(),triggerRef:u,contentId:Xp(),open:c,onOpenChange:f,onOpenToggle:C.useCallback(()=>f(d=>!d),[f]),modal:s},C.createElement(sWe,Ne({},l,{open:c,onOpenChange:f,dir:r,modal:s}),n))},RNt="DropdownMenuTrigger",MNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=BWe(RNt,n),o=Rf(n);return C.createElement(lWe,Ne({asChild:!0},o),C.createElement(ANt.button,Ne({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open?!0:void 0,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},i,{ref:z0(t,a.triggerRef),onPointerDown:qr(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:qr(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),[" ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),ONt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Rf(t);return C.createElement(uWe,Ne({},r,n))},LNt="DropdownMenuContent",BNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=BWe(LNt,n),a=Rf(n),o=C.useRef(!1);return C.createElement(cWe,Ne({id:i.contentId,"aria-labelledby":i.triggerId},a,r,{ref:t,onCloseAutoFocus:qr(e.onCloseAutoFocus,s=>{var l;o.current||(l=i.triggerRef.current)===null||l===void 0||l.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:qr(e.onInteractOutside,s=>{const l=s.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,c=l.button===2||u;(!i.modal||c)&&(o.current=!0)}),style:{...e.style,["--radix-dropdown-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),PNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(fWe,Ne({},i,r,{ref:t}))}),FNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(QBt,Ne({},i,r,{ref:t}))}),PWe=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(ePt,Ne({},i,r,{ref:t}))}),NNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(tPt,Ne({},i,r,{ref:t}))}),$Nt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(nPt,Ne({},i,r,{ref:t}))}),zNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(rPt,Ne({},i,r,{ref:t}))}),UNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(dWe,Ne({},i,r,{ref:t}))}),jNt=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,o=Rf(t),[s=!1,l]=k3({prop:r,defaultProp:a,onChange:i});return C.createElement(hWe,Ne({},o,{open:s,onOpenChange:l}),n)},HNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(pWe,Ne({},i,r,{ref:t}))}),qNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(gWe,Ne({},i,r,{ref:t,style:{...e.style,["--radix-dropdown-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),V2=INt,C3=MNt,WNt=ONt,FWe=BNt,C$=PNt,GNt=FNt,VNt=PWe,NWe=NNt,$We=$Nt,KNt=zNt,YNt=UNt,XNt=jNt,JNt=HNt,ZNt=qNt,E$=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(QNt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(Aoe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(Aoe,Ne({},r,{ref:t}),n)});E$.displayName="Slot";const Aoe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...e$t(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});Aoe.displayName="SlotClone";const vhe=({children:e})=>C.createElement(C.Fragment,null,e);function QNt(e){return C.isValidElement(e)&&e.type===vhe}function e$t(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{a(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const t$t=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Kl=t$t.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?E$:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function n$t(e,t){e&&am.flushSync(()=>e.dispatchEvent(t))}function r$t(e,t=globalThis?.document){const n=Ol(e);C.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Toe="dismissableLayer.update",i$t="dismissableLayer.pointerDownOutside",a$t="dismissableLayer.focusOutside";let bwe;const o$t=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yhe=C.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:l,...u}=e,c=C.useContext(o$t),[f,d]=C.useState(null),h=(n=f?.ownerDocument)!==null&&n!==void 0?n:globalThis?.document,[,p]=C.useState({}),g=Ka(t,L=>d(L)),b=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),v=b.indexOf(m),w=f?b.indexOf(f):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,E=w>=v,S=s$t(L=>{const M=L.target,D=[...c.branches].some(I=>I.contains(M));!E||D||(a?.(L),s?.(L),L.defaultPrevented||l?.())},h),T=l$t(L=>{const M=L.target;[...c.branches].some(I=>I.contains(M))||(o?.(L),s?.(L),L.defaultPrevented||l?.())},h);return r$t(L=>{w===c.layers.size-1&&(i?.(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},h),C.useEffect(()=>{if(f)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(bwe=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(f)),c.layers.add(f),wwe(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=bwe)}},[f,h,r,c]),C.useEffect(()=>()=>{f&&(c.layers.delete(f),c.layersWithOutsidePointerEventsDisabled.delete(f),wwe())},[f,c]),C.useEffect(()=>{const L=()=>p({});return document.addEventListener(Toe,L),()=>document.removeEventListener(Toe,L)},[]),C.createElement(Kl.div,Ne({},u,{ref:g,style:{pointerEvents:k?E?"auto":"none":void 0,...e.style},onFocusCapture:qr(e.onFocusCapture,T.onFocusCapture),onBlurCapture:qr(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:qr(e.onPointerDownCapture,S.onPointerDownCapture)}))});function s$t(e,t=globalThis?.document){const n=Ol(e),r=C.useRef(!1),i=C.useRef(()=>{});return C.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){zWe(i$t,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function l$t(e,t=globalThis?.document){const n=Ol(e),r=C.useRef(!1);return C.useEffect(()=>{const i=a=>{a.target&&!r.current&&zWe(a$t,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wwe(){const e=new CustomEvent(Toe);document.dispatchEvent(e)}function zWe(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?n$t(i,a):i.dispatchEvent(a)}const u$t=C.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return C.createElement(Kl.svg,Ne({},a,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:C.createElement("polygon",{points:"0,0 30,0 15,10"}))}),c$t=u$t,UWe="Popper",[bhe,jWe]=Ih(UWe),[f$t,HWe]=bhe(UWe),d$t=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(f$t,{scope:t,anchor:r,onAnchorChange:i},n)},h$t="PopperAnchor",p$t=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=HWe(h$t,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(Kl.div,Ne({},i,{ref:s}))}),oB="PopperContent",[g$t,m$t]=bhe(oB),[v$t,y$t]=bhe(oB,{hasParent:!1,positionUpdateFns:new Set}),b$t=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,onPlaced:E,...S}=e,T=HWe(oB,c),[L,M]=C.useState(null),D=Ka(t,Ie=>M(Ie)),[I,B]=C.useState(null),N=ihe(I),O=(n=N?.width)!==null&&n!==void 0?n:0,R=(r=N?.height)!==null&&r!==void 0?r:0,P=f+(h!=="center"?"-"+h:""),H=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(b)?b:[b],q=F.length>0,V={padding:H,boundary:F.filter(E$t),altBoundary:q},{reference:X,floating:G,strategy:J,x:te,y:re,placement:Q,middlewareData:ae,update:le}=nhe({strategy:"fixed",placement:P,whileElementsMounted:the,middleware:[x$t(),Jde({mainAxis:d+R,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...V}):void 0,I?rhe({element:I,padding:g}):void 0,k?Yde({...V}):void 0,wqe({...V,apply:({elements:Ie,availableWidth:Be,availableHeight:we})=>{Ie.floating.style.setProperty("--radix-popper-available-width",`${Be}px`),Ie.floating.style.setProperty("--radix-popper-available-height",`${we}px`)}}),S$t({arrowWidth:O,arrowHeight:R}),w?Xde({strategy:"referenceHidden"}):void 0].filter(C$t)});mf(()=>{X(T.anchor)},[X,T.anchor]);const oe=te!==null&&re!==null,[ee,ne]=qWe(Q),ue=Ol(E);mf(()=>{oe&&ue?.()},[oe,ue]);const Ae=(i=ae.arrow)===null||i===void 0?void 0:i.x,ce=(a=ae.arrow)===null||a===void 0?void 0:a.y,be=((o=ae.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ge,ve]=C.useState();mf(()=>{L&&ve(window.getComputedStyle(L).zIndex)},[L]);const{hasParent:ie,positionUpdateFns:he}=y$t(oB,c),$e=!ie;C.useLayoutEffect(()=>{if(!$e)return he.add(le),()=>{he.delete(le)}},[$e,he,le]),mf(()=>{$e&&oe&&Array.from(he).reverse().forEach(Ie=>requestAnimationFrame(Ie))},[$e,oe,he]);const De={"data-side":ee,"data-align":ne,...S,ref:D,style:{...S.style,animation:oe?void 0:"none",opacity:(s=ae.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:J,left:0,top:0,transform:oe?`translate3d(${Math.round(te)}px, ${Math.round(re)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[(l=ae.transformOrigin)===null||l===void 0?void 0:l.x,(u=ae.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},C.createElement(g$t,{scope:c,placedSide:ee,onArrowChange:B,arrowX:Ae,arrowY:ce,shouldHideArrow:be},$e?C.createElement(v$t,{scope:c,hasParent:!0,positionUpdateFns:he},C.createElement(Kl.div,De)):C.createElement(Kl.div,De)))}),w$t="PopperArrow",k$t={top:"bottom",right:"left",bottom:"top",left:"right"},_$t=C.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=m$t(w$t,r),o=k$t[a.placedSide];return C.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},C.createElement(c$t,Ne({},i,{ref:n,style:{...i.style,display:"block"}})))});function C$t(e){return e!==void 0}function E$t(e){return e!==null}const x$t=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:i}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${i}px`),{}}}),S$t=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=qWe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function qWe(e){const[t,n="center"]=e.split("-");return[t,n]}const A$t=d$t,T$t=p$t,D$t=b$t,I$t=_$t,R$t=C.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return r?Gk.createPortal(C.createElement(Kl.div,Ne({},i,{ref:t})),r):null}),M$t=C.forwardRef((e,t)=>C.createElement(Kl.span,Ne({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),O$t=M$t,[x$,q0a]=Ih("Tooltip",[jWe]),S$=jWe(),L$t="TooltipProvider",B$t=700,Doe="tooltip.open",[P$t,whe]=x$(L$t),F$t=e=>{const{__scopeTooltip:t,delayDuration:n=B$t,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,[o,s]=C.useState(!0),l=C.useRef(!1),u=C.useRef(0);return C.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),C.createElement(P$t,{scope:t,isOpenDelayed:o,delayDuration:n,onOpen:C.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:C.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:C.useCallback(c=>{l.current=c},[]),disableHoverableContent:i},a)},khe="Tooltip",[N$t,A$]=x$(khe),$$t=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,l=whe(khe,e.__scopeTooltip),u=S$(t),[c,f]=C.useState(null),d=Xp(),h=C.useRef(0),p=o??l.disableHoverableContent,g=s??l.delayDuration,b=C.useRef(!1),[m=!1,v]=k3({prop:r,defaultProp:i,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Doe))):l.onClose(),a?.(T)}}),w=C.useMemo(()=>m?b.current?"delayed-open":"instant-open":"closed",[m]),k=C.useCallback(()=>{window.clearTimeout(h.current),b.current=!1,v(!0)},[v]),E=C.useCallback(()=>{window.clearTimeout(h.current),v(!1)},[v]),S=C.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,v(!0)},g)},[g,v]);return C.useEffect(()=>()=>window.clearTimeout(h.current),[]),C.createElement(A$t,u,C.createElement(N$t,{scope:t,contentId:d,open:m,stateAttribute:w,trigger:c,onTriggerChange:f,onTriggerEnter:C.useCallback(()=>{l.isOpenDelayed?S():k()},[l.isOpenDelayed,S,k]),onTriggerLeave:C.useCallback(()=>{p?E():window.clearTimeout(h.current)},[E,p]),onOpen:k,onClose:E,disableHoverableContent:p},n))},kwe="TooltipTrigger",z$t=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=A$(kwe,n),a=whe(kwe,n),o=S$(n),s=C.useRef(null),l=Ka(t,s,i.onTriggerChange),u=C.useRef(!1),c=C.useRef(!1),f=C.useCallback(()=>u.current=!1,[]);return C.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),C.createElement(T$t,Ne({asChild:!0},o),C.createElement(Kl.button,Ne({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},r,{ref:l,onPointerMove:qr(e.onPointerMove,d=>{d.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:qr(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:qr(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:qr(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:qr(e.onBlur,i.onClose),onClick:qr(e.onClick,i.onClose)})))}),U$t="TooltipPortal",[W0a,j$t]=x$(U$t,{forceMount:void 0}),GA="TooltipContent",H$t=C.forwardRef((e,t)=>{const n=j$t(GA,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=A$(GA,e.__scopeTooltip);return C.createElement(b1,{present:r||o.open},o.disableHoverableContent?C.createElement(WWe,Ne({side:i},a,{ref:t})):C.createElement(q$t,Ne({side:i},a,{ref:t})))}),q$t=C.forwardRef((e,t)=>{const n=A$(GA,e.__scopeTooltip),r=whe(GA,e.__scopeTooltip),i=C.useRef(null),a=Ka(t,i),[o,s]=C.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,d=C.useCallback(()=>{s(null),f(!1)},[f]),h=C.useCallback((p,g)=>{const b=p.currentTarget,m={x:p.clientX,y:p.clientY},v=Y$t(m,b.getBoundingClientRect()),w=v==="right"||v==="bottom"?-5:5,E=v==="right"||v==="left"?{x:p.clientX+w,y:p.clientY}:{x:p.clientX,y:p.clientY+w},S=X$t(g.getBoundingClientRect()),T=Z$t([E,...S]);s(T),f(!0)},[f]);return C.useEffect(()=>()=>d(),[d]),C.useEffect(()=>{if(l&&c){const p=b=>h(b,c),g=b=>h(b,l);return l.addEventListener("pointerleave",p),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",p),c.removeEventListener("pointerleave",g)}}},[l,c,h,d]),C.useEffect(()=>{if(o){const p=g=>{const b=g.target,m={x:g.clientX,y:g.clientY},v=l?.contains(b)||c?.contains(b),w=!J$t(m,o);v?d():w&&(d(),u())};return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[l,c,o,u,d]),C.createElement(WWe,Ne({},e,{ref:a}))}),[W$t,G$t]=x$(khe,{isInside:!1}),WWe=C.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,l=A$(GA,n),u=S$(n),{onClose:c}=l;return C.useEffect(()=>(document.addEventListener(Doe,c),()=>document.removeEventListener(Doe,c)),[c]),C.useEffect(()=>{if(l.trigger){const f=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),C.createElement(yhe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:c},C.createElement(D$t,Ne({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.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)"}}),C.createElement(vhe,null,r),C.createElement(W$t,{scope:n,isInside:!0},C.createElement(O$t,{id:l.contentId,role:"tooltip"},i||r))))}),V$t="TooltipArrow",K$t=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=S$(n);return G$t(V$t,n).isInside?null:C.createElement(I$t,Ne({},i,r,{ref:t}))});function Y$t(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:return null}}function X$t(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function J$t(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;ar!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(i=!i)}return i}function Z$t(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),Q$t(t)}function Q$t(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const ezt=F$t,tzt=$$t,nzt=z$t,rzt=H$t,izt=K$t;var Yq=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Xq(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function GWe(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function azt(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,a=0;a=0&&Zo.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&Zo.splice(0,Zo.length),(t===93||t===224)&&(t=91),t in uu){uu[t]=!1;for(var r in y2)y2[r]===t&&(nd[r]=!1)}}function fzt(e){if(typeof e>"u")Object.keys(ll).forEach(function(o){return delete ll[o]});else if(Array.isArray(e))e.forEach(function(o){o.key&&Jq(o)});else if(typeof e=="object")e.key&&Jq(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?GWe(y2,u):[];ll[d]=ll[d].filter(function(p){var g=i?p.method===i:!0;return!(g&&p.scope===r&&azt(p.mods,h))})}})};function Cwe(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var a in uu)Object.prototype.hasOwnProperty.call(uu,a)&&(!uu[a]&&t.mods.indexOf(+a)>-1||uu[a]&&t.mods.indexOf(+a)===-1)&&(i=!1);(t.mods.length===0&&!uu[16]&&!uu[18]&&!uu[17]&&!uu[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Ewe(e,t){var n=ll["*"],r=e.keyCode||e.which||e.charCode;if(nd.filter.call(this,e)){if((r===93||r===224)&&(r=91),Zo.indexOf(r)===-1&&r!==229&&Zo.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(p){var g=Ioe[p];e[p]&&Zo.indexOf(g)===-1?Zo.push(g):!e[p]&&Zo.indexOf(g)>-1?Zo.splice(Zo.indexOf(g),1):p==="metaKey"&&e[p]&&Zo.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(Zo=Zo.slice(Zo.indexOf(g))))}),r in uu){uu[r]=!0;for(var i in y2)y2[i]===r&&(nd[i]=!0);if(!n)return}for(var a in uu)Object.prototype.hasOwnProperty.call(uu,a)&&(uu[a]=e[Ioe[a]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(Zo.indexOf(17)===-1&&Zo.push(17),Zo.indexOf(18)===-1&&Zo.push(18),uu[17]=!0,uu[18]=!0);var o=VA();if(n)for(var s=0;s-1}function nd(e,t,n){Zo=[];var r=VWe(e),i=[],a="all",o=document,s=0,l=!1,u=!0,c="+",f=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(l=t.keyup),t.keydown!==void 0&&(u=t.keydown),t.capture!==void 0&&(f=t.capture),typeof t.splitKey=="string"&&(c=t.splitKey)),typeof t=="string"&&(a=t);s1&&(i=GWe(y2,e)),e=e[e.length-1],e=e==="*"?"*":T$(e),e in ll||(ll[e]=[]),ll[e].push({keyup:l,keydown:u,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:c,element:o});typeof o<"u"&&!dzt(o)&&window&&(YWe.push(o),Xq(o,"keydown",function(d){Ewe(d,o)},f),_we||(_we=!0,Xq(window,"focus",function(){Zo=[]},f)),Xq(o,"keyup",function(d){Ewe(d,o),czt(d)},f))}function hzt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(ll).forEach(function(n){var r=ll[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var Zq={setScope:XWe,getScope:VA,deleteScope:uzt,getPressedKeyCodes:ozt,isPressed:lzt,filter:szt,trigger:hzt,unbind:fzt,keyMap:_he,modifier:y2,modifierMap:Ioe};for(var Qq in Zq)Object.prototype.hasOwnProperty.call(Zq,Qq)&&(nd[Qq]=Zq[Qq]);if(typeof window<"u"){var pzt=window.hotkeys;nd.noConflict=function(e){return e&&window.hotkeys===nd&&(window.hotkeys=pzt),nd},window.hotkeys=nd}nd.filter=function(){return!0};var JWe=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},gzt=function(t){return JWe(t,["INPUT","TEXTAREA","SELECT"])};function zr(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},a=i.enableOnTags,o=i.filter,s=i.keyup,l=i.keydown,u=i.filterPreventDefault,c=u===void 0?!0:u,f=i.enabled,d=f===void 0?!0:f,h=i.enableOnContentEditable,p=h===void 0?!1:h,g=C.useRef(null),b=C.useCallback(function(m,v){var w,k;return o&&!o(m)?!c:gzt(m)&&!JWe(m,a)||(w=m.target)!=null&&w.isContentEditable&&!p?!0:g.current===null||document.activeElement===g.current||(k=g.current)!=null&&k.contains(document.activeElement)?(t(m,v),!0):!1},r?[g,a,o].concat(r):[g,a,o]);return C.useEffect(function(){if(!d){nd.unbind(e,b);return}return s&&l!==!0&&(n.keydown=!1),nd(e,n||{},b),function(){return nd.unbind(e,b)}},[b,e,d]),g}nd.isPressed;const eW="focusScope.autoFocusOnMount",tW="focusScope.autoFocusOnUnmount",xwe={bubbles:!1,cancelable:!0},ZWe=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=C.useState(null),u=Ol(i),c=Ol(a),f=C.useRef(null),d=Ka(t,g=>l(g)),h=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(r){let g=function(m){if(h.paused||!s)return;const v=m.target;s.contains(v)?f.current=v:Tb(f.current,{select:!0})},b=function(m){h.paused||!s||s.contains(m.relatedTarget)||Tb(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b)}}},[r,s,h.paused]),C.useEffect(()=>{if(s){Awe.add(h);const g=document.activeElement;if(!s.contains(g)){const m=new CustomEvent(eW,xwe);s.addEventListener(eW,u),s.dispatchEvent(m),m.defaultPrevented||(mzt(kzt(QWe(s)),{select:!0}),document.activeElement===g&&Tb(s))}return()=>{s.removeEventListener(eW,u),setTimeout(()=>{const m=new CustomEvent(tW,xwe);s.addEventListener(tW,c),s.dispatchEvent(m),m.defaultPrevented||Tb(g??document.body,{select:!0}),s.removeEventListener(tW,c),Awe.remove(h)},0)}}},[s,u,c,h]);const p=C.useCallback(g=>{if(!n&&!r||h.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,m=document.activeElement;if(b&&m){const v=g.currentTarget,[w,k]=vzt(v);w&&k?!g.shiftKey&&m===k?(g.preventDefault(),n&&Tb(w,{select:!0})):g.shiftKey&&m===w&&(g.preventDefault(),n&&Tb(k,{select:!0})):m===v&&g.preventDefault()}},[n,r,h.paused]);return C.createElement(Kl.div,Ne({tabIndex:-1},o,{ref:d,onKeyDown:p}))});function mzt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Tb(r,{select:t}),document.activeElement!==n)return}function vzt(e){const t=QWe(e),n=Swe(t,e),r=Swe(t.reverse(),e);return[n,r]}function QWe(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Swe(e,t){for(const n of e)if(!yzt(n,{upTo:t}))return n}function yzt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function bzt(e){return e instanceof HTMLInputElement&&"select"in e}function Tb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&bzt(e)&&t&&e.select()}}const Awe=wzt();function wzt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Twe(e,t),e.unshift(t)},remove(t){var n;e=Twe(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Twe(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function kzt(e){return e.filter(t=>t.tagName!=="A")}var wv=function(){return wv=Object.assign||function(t){for(var n,r=1,i=arguments.length;ro)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Azt=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Tzt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},nGe=function(e,t){return e==="v"?xzt(t):Szt(t)},rGe=function(e,t){return e==="v"?Azt(t):Tzt(t)},Dzt=function(e,t){return e==="h"&&t==="rtl"?-1:1},Izt=function(e,t,n,r,i){var a=Dzt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),u=!1,c=o>0,f=0,d=0;do{var h=rGe(e,s),p=h[0],g=h[1],b=h[2],m=g-b-a*p;(p||m)&&nGe(e,s)&&(f+=m,d+=p),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(i&&f===0||!i&&o>f)||!c&&(i&&d===0||!i&&-o>d))&&(u=!0),u},hI=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Iwe=function(e){return[e.deltaX,e.deltaY]},Rwe=function(e){return e&&"current"in e?e.current:e},Rzt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Mzt=function(e){return` +`)},pBt=0,Yw=[];function gBt(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),i=C.useState(pBt++)[0],a=C.useState(function(){return lhe()})[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=ULt([e.lockRef.current],(e.shards||[]).map(uwe),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=C.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!o.current.allowPinchZoom;var m=lI(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-m[0],k="deltaY"in g?g.deltaY:v[1]-m[1],E,S=g.target,T=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&S.type==="range")return!1;var L=swe(T,S);if(!L)return!0;if(L?E=T:(E=T==="v"?"h":"v",L=swe(T,S)),!L)return!1;if(!r.current&&"changedTouches"in g&&(w||k)&&(r.current=E),!E)return!0;var M=r.current||E;return fBt(M,b,g,M==="h"?w:k,!0)},[]),l=C.useCallback(function(g){var b=g;if(!(!Yw.length||Yw[Yw.length-1]!==a)){var m="deltaY"in b?lwe(b):lI(b),v=t.current.filter(function(E){return E.name===b.type&&E.target===b.target&&dBt(E.delta,m)})[0];if(v&&v.should){b.preventDefault();return}if(!v){var w=(o.current.shards||[]).map(uwe).filter(Boolean).filter(function(E){return E.contains(b.target)}),k=w.length>0?s(b,w[0]):!o.current.noIsolation;k&&b.preventDefault()}}},[]),u=C.useCallback(function(g,b,m,v){var w={name:g,delta:b,target:m,should:v};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),c=C.useCallback(function(g){n.current=lI(g),r.current=void 0},[]),f=C.useCallback(function(g){u(g.type,lwe(g),g.target,s(g,e.lockRef.current))},[]),d=C.useCallback(function(g){u(g.type,lI(g),g.target,s(g,e.lockRef.current))},[]);C.useEffect(function(){return Yw.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Kw),document.addEventListener("touchmove",l,Kw),document.addEventListener("touchstart",c,Kw),function(){Yw=Yw.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Kw),document.removeEventListener("touchmove",l,Kw),document.removeEventListener("touchstart",c,Kw)}},[]);var h=e.removeScrollBar,p=e.inert;return C.createElement(C.Fragment,null,p?C.createElement(a,{styles:hBt(i)}):null,h?C.createElement(Wqe,{gapMode:"margin"}):null)}const mBt=Hqe(qqe,gBt);var Kqe=C.forwardRef(function(e,t){return C.createElement(y$,bv({},e,{ref:t,sideCar:mBt}))});Kqe.classNames=y$.classNames;const vBt=Kqe,Coe=["Enter"," "],yBt=["ArrowDown","PageUp","Home"],Yqe=["ArrowUp","PageDown","End"],bBt=[...yBt,...Yqe],wBt={ltr:[...Coe,"ArrowRight"],rtl:[...Coe,"ArrowLeft"]},kBt={ltr:["ArrowLeft"],rtl:["ArrowRight"]},b$="Menu",[qA,_Bt,CBt]=dqe(b$),[_3,w$]=Ih(b$,[CBt,Iqe,Fqe]),L7=Iqe(),Xqe=Fqe(),[Jqe,G2]=_3(b$),[EBt,B7]=_3(b$),xBt=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=L7(t),[l,u]=C.useState(null),c=C.useRef(!1),f=Ol(a),d=hqe(i);return C.useEffect(()=>{const h=()=>{c.current=!0,document.addEventListener("pointerdown",p,{capture:!0,once:!0}),document.addEventListener("pointermove",p,{capture:!0,once:!0})},p=()=>c.current=!1;return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",p,{capture:!0}),document.removeEventListener("pointermove",p,{capture:!0})}},[]),C.createElement(Oqe,s,C.createElement(Jqe,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u},C.createElement(EBt,{scope:t,onClose:C.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:c,dir:d,modal:o},r)))},Zqe=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=L7(n);return C.createElement(fLt,Ne({},i,r,{ref:t}))}),Qqe="MenuPortal",[SBt,eWe]=_3(Qqe,{forceMount:void 0}),ABt=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=G2(Qqe,t);return C.createElement(SBt,{scope:t,forceMount:n},C.createElement(b1,{present:n||a.open},C.createElement(pLt,{asChild:!0,container:i},r)))},T0="MenuContent",[TBt,uhe]=_3(T0),DBt=C.forwardRef((e,t)=>{const n=eWe(T0,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=G2(T0,e.__scopeMenu),o=B7(T0,e.__scopeMenu);return C.createElement(qA.Provider,{scope:e.__scopeMenu},C.createElement(b1,{present:r||a.open},C.createElement(qA.Slot,{scope:e.__scopeMenu},o.modal?C.createElement(IBt,Ne({},i,{ref:t})):C.createElement(RBt,Ne({},i,{ref:t})))))}),IBt=C.forwardRef((e,t)=>{const n=G2(T0,e.__scopeMenu),r=C.useRef(null),i=Ka(t,r);return C.useEffect(()=>{const a=r.current;if(a)return she(a)},[]),C.createElement(che,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:qr(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),RBt=C.forwardRef((e,t)=>{const n=G2(T0,e.__scopeMenu);return C.createElement(che,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),che=C.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d,disableOutsideScroll:h,...p}=e,g=G2(T0,n),b=B7(T0,n),m=L7(n),v=Xqe(n),w=_Bt(n),[k,E]=C.useState(null),S=C.useRef(null),T=Ka(t,S,g.onContentChange),L=C.useRef(0),M=C.useRef(""),D=C.useRef(0),I=C.useRef(null),B=C.useRef("right"),N=C.useRef(0),O=h?vBt:C.Fragment,R=h?{as:Gde,allowPinchZoom:!0}:void 0,P=F=>{var q,V;const X=M.current+F,G=w().filter(le=>!le.disabled),J=document.activeElement,te=(q=G.find(le=>le.ref.current===J))===null||q===void 0?void 0:q.textValue,re=G.map(le=>le.textValue),Q=JBt(re,X,te),ae=(V=G.find(le=>le.textValue===Q))===null||V===void 0?void 0:V.ref.current;(function le(oe){M.current=oe,window.clearTimeout(L.current),oe!==""&&(L.current=window.setTimeout(()=>le(""),1e3))})(X),ae&&setTimeout(()=>ae.focus())};C.useEffect(()=>()=>window.clearTimeout(L.current),[]),Vde();const H=C.useCallback(F=>{var q,V;return B.current===((q=I.current)===null||q===void 0?void 0:q.side)&&QBt(F,(V=I.current)===null||V===void 0?void 0:V.area)},[]);return C.createElement(TBt,{scope:n,searchRef:M,onItemEnter:C.useCallback(F=>{H(F)&&F.preventDefault()},[H]),onItemLeave:C.useCallback(F=>{var q;H(F)||((q=S.current)===null||q===void 0||q.focus(),E(null))},[H]),onTriggerLeave:C.useCallback(F=>{H(F)&&F.preventDefault()},[H]),pointerGraceTimerRef:D,onPointerGraceIntentChange:C.useCallback(F=>{I.current=F},[])},C.createElement(O,R,C.createElement(bOt,{asChild:!0,trapped:i,onMountAutoFocus:qr(a,F=>{var q;F.preventDefault(),(q=S.current)===null||q===void 0||q.focus()}),onUnmountAutoFocus:o},C.createElement(mOt,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:d},C.createElement(BLt,Ne({asChild:!0},v,{dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:k,onCurrentTabStopIdChange:E,onEntryFocus:F=>{b.isUsingKeyboardRef.current||F.preventDefault()}}),C.createElement(dLt,Ne({role:"menu","aria-orientation":"vertical","data-state":oWe(g.open),dir:b.dir},m,p,{ref:T,style:{outline:"none",...p.style},onKeyDown:qr(p.onKeyDown,F=>{const V=F.target.closest('[role="menu"]')===F.currentTarget,X=F.ctrlKey||F.altKey||F.metaKey,G=F.key.length===1;V&&(F.key==="Tab"&&F.preventDefault(),!X&&G&&P(F.key));const J=S.current;if(F.target!==J||!bBt.includes(F.key))return;F.preventDefault();const re=w().filter(Q=>!Q.disabled).map(Q=>Q.ref.current);Yqe.includes(F.key)&&re.reverse(),YBt(re)}),onBlur:qr(e.onBlur,F=>{F.currentTarget.contains(F.target)||(window.clearTimeout(L.current),M.current="")}),onPointerMove:qr(e.onPointerMove,WA(F=>{const q=F.target,V=N.current!==F.clientX;if(F.currentTarget.contains(q)&&V){const X=F.clientX>N.current?"right":"left";B.current=X,N.current=F.clientX}}))})))))))}),MBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.createElement(b3.div,Ne({role:"group"},r,{ref:t}))}),Eoe="MenuItem",cwe="menu.itemSelect",fhe=C.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,a=C.useRef(null),o=B7(Eoe,e.__scopeMenu),s=uhe(Eoe,e.__scopeMenu),l=Ka(t,a),u=C.useRef(!1),c=()=>{const f=a.current;if(!n&&f){const d=new CustomEvent(cwe,{bubbles:!0,cancelable:!0});f.addEventListener(cwe,h=>r?.(h),{once:!0}),pqe(f,d),d.defaultPrevented?u.current=!1:o.onClose()}};return C.createElement(tWe,Ne({},i,{ref:l,disabled:n,onClick:qr(e.onClick,c),onPointerDown:f=>{var d;(d=e.onPointerDown)===null||d===void 0||d.call(e,f),u.current=!0},onPointerUp:qr(e.onPointerUp,f=>{var d;u.current||(d=f.currentTarget)===null||d===void 0||d.click()}),onKeyDown:qr(e.onKeyDown,f=>{const d=s.searchRef.current!=="";n||d&&f.key===" "||Coe.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})}))}),tWe=C.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=uhe(Eoe,n),s=Xqe(n),l=C.useRef(null),u=Ka(t,l),[c,f]=C.useState(!1),[d,h]=C.useState("");return C.useEffect(()=>{const p=l.current;if(p){var g;h(((g=p.textContent)!==null&&g!==void 0?g:"").trim())}},[a.children]),C.createElement(qA.ItemSlot,{scope:n,disabled:r,textValue:i??d},C.createElement(PLt,Ne({asChild:!0},s,{focusable:!r}),C.createElement(b3.div,Ne({role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:u,onPointerMove:qr(e.onPointerMove,WA(p=>{r?o.onItemLeave(p):(o.onItemEnter(p),p.defaultPrevented||p.currentTarget.focus())})),onPointerLeave:qr(e.onPointerLeave,WA(p=>o.onItemLeave(p))),onFocus:qr(e.onFocus,()=>f(!0)),onBlur:qr(e.onBlur,()=>f(!1))}))))}),OBt=C.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return C.createElement(rWe,{scope:e.__scopeMenu,checked:n},C.createElement(fhe,Ne({role:"menuitemcheckbox","aria-checked":n},i,{ref:t,"data-state":dhe(n),onSelect:qr(i.onSelect,()=>r?.(!n),{checkForDefaultPrevented:!1})})))}),LBt="MenuRadioGroup",[BBt,PBt]=_3(LBt,{value:void 0,onValueChange:()=>{}}),FBt=C.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,a=Ol(r);return C.createElement(BBt,{scope:e.__scopeMenu,value:n,onValueChange:a},C.createElement(MBt,Ne({},i,{ref:t})))}),NBt="MenuRadioItem",$Bt=C.forwardRef((e,t)=>{const{value:n,...r}=e,i=PBt(NBt,e.__scopeMenu),a=n===i.value;return C.createElement(rWe,{scope:e.__scopeMenu,checked:a},C.createElement(fhe,Ne({role:"menuitemradio","aria-checked":a},r,{ref:t,"data-state":dhe(a),onSelect:qr(r.onSelect,()=>{var o;return(o=i.onValueChange)===null||o===void 0?void 0:o.call(i,n)},{checkForDefaultPrevented:!1})})))}),nWe="MenuItemIndicator",[rWe,zBt]=_3(nWe,{checked:!1}),UBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,a=zBt(nWe,n);return C.createElement(b1,{present:r||a.checked},C.createElement(b3.span,Ne({},i,{ref:t,"data-state":dhe(a.checked)})))}),jBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return C.createElement(b3.div,Ne({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),HBt=C.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=L7(n);return C.createElement(hLt,Ne({},i,r,{ref:t}))}),iWe="MenuSub",[qBt,aWe]=_3(iWe),WBt=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,a=G2(iWe,t),o=L7(t),[s,l]=C.useState(null),[u,c]=C.useState(null),f=Ol(i);return C.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),C.createElement(Oqe,o,C.createElement(Jqe,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:c},C.createElement(qBt,{scope:t,contentId:Xp(),triggerId:Xp(),trigger:s,onTriggerChange:l},n)))},uI="MenuSubTrigger",GBt=C.forwardRef((e,t)=>{const n=G2(uI,e.__scopeMenu),r=B7(uI,e.__scopeMenu),i=aWe(uI,e.__scopeMenu),a=uhe(uI,e.__scopeMenu),o=C.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,u={__scopeMenu:e.__scopeMenu},c=C.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return C.useEffect(()=>c,[c]),C.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),C.createElement(Zqe,Ne({asChild:!0},u),C.createElement(tWe,Ne({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":oWe(n.open)},e,{ref:z0(t,i.onTriggerChange),onClick:f=>{var d;(d=e.onClick)===null||d===void 0||d.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:qr(e.onPointerMove,WA(f=>{a.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(a.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:qr(e.onPointerLeave,WA(f=>{var d;c();const h=(d=n.content)===null||d===void 0?void 0:d.getBoundingClientRect();if(h){var p;const g=(p=n.content)===null||p===void 0?void 0:p.dataset.side,b=g==="right",m=b?-5:5,v=h[b?"left":"right"],w=h[b?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+m,y:f.clientY},{x:v,y:h.top},{x:w,y:h.top},{x:w,y:h.bottom},{x:v,y:h.bottom}],side:g}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:qr(e.onKeyDown,f=>{const d=a.searchRef.current!=="";if(!(e.disabled||d&&f.key===" ")&&wBt[r.dir].includes(f.key)){var h;n.onOpenChange(!0),(h=n.content)===null||h===void 0||h.focus(),f.preventDefault()}})})))}),VBt="MenuSubContent",KBt=C.forwardRef((e,t)=>{const n=eWe(T0,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=G2(T0,e.__scopeMenu),o=B7(T0,e.__scopeMenu),s=aWe(VBt,e.__scopeMenu),l=C.useRef(null),u=Ka(t,l);return C.createElement(qA.Provider,{scope:e.__scopeMenu},C.createElement(b1,{present:r||a.open},C.createElement(qA.Slot,{scope:e.__scopeMenu},C.createElement(che,Ne({id:s.contentId,"aria-labelledby":s.triggerId},i,{ref:u,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:c=>{var f;o.isUsingKeyboardRef.current&&((f=l.current)===null||f===void 0||f.focus()),c.preventDefault()},onCloseAutoFocus:c=>c.preventDefault(),onFocusOutside:qr(e.onFocusOutside,c=>{c.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:qr(e.onEscapeKeyDown,o.onClose),onKeyDown:qr(e.onKeyDown,c=>{const f=c.currentTarget.contains(c.target),d=kBt[o.dir].includes(c.key);if(f&&d){var h;a.onOpenChange(!1),(h=s.trigger)===null||h===void 0||h.focus(),c.preventDefault()}})})))))});function oWe(e){return e?"open":"closed"}function dhe(e){return e?"checked":"unchecked"}function YBt(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function XBt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function JBt(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let o=XBt(e,Math.max(a,0));i.length===1&&(o=o.filter(u=>u!==n));const l=o.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function ZBt(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;ar!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(i=!i)}return i}function QBt(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return ZBt(n,t)}function WA(e){return t=>t.pointerType==="mouse"?e(t):void 0}const sWe=xBt,lWe=Zqe,uWe=ABt,cWe=DBt,fWe=fhe,ePt=OBt,tPt=FBt,nPt=$Bt,rPt=UBt,iPt=jBt,dWe=HBt,hWe=WBt,pWe=GBt,gWe=KBt,mWe="ContextMenu",[aPt,j0a]=Ih(mWe,[w$]),fm=w$(),[oPt,vWe]=aPt(mWe),sPt=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,dir:i,modal:a=!0}=e,[o,s]=C.useState(!1),l=fm(t),u=Ol(r),c=C.useCallback(f=>{s(f),u(f)},[u]);return C.createElement(oPt,{scope:t,open:o,onOpenChange:c,modal:a},C.createElement(sWe,Ne({},l,{dir:i,open:o,onOpenChange:c,modal:a}),n))},lPt="ContextMenuTrigger",uPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=vWe(lPt,n),a=fm(n),o=C.useRef({x:0,y:0}),s=C.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...o.current})}),l=C.useRef(0),u=C.useCallback(()=>window.clearTimeout(l.current),[]),c=f=>{o.current={x:f.clientX,y:f.clientY},i.onOpenChange(!0)};return C.useEffect(()=>u,[u]),C.createElement(C.Fragment,null,C.createElement(lWe,Ne({},a,{virtualRef:s})),C.createElement(rOt.span,Ne({"data-state":i.open?"open":"closed"},r,{ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:qr(e.onContextMenu,f=>{u(),c(f),f.preventDefault()}),onPointerDown:qr(e.onPointerDown,cI(f=>{u(),l.current=window.setTimeout(()=>c(f),700)})),onPointerMove:qr(e.onPointerMove,cI(u)),onPointerCancel:qr(e.onPointerCancel,cI(u)),onPointerUp:qr(e.onPointerUp,cI(u))})))}),cPt=e=>{const{__scopeContextMenu:t,...n}=e,r=fm(t);return C.createElement(uWe,Ne({},r,n))},fPt="ContextMenuContent",dPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=vWe(fPt,n),a=fm(n),o=C.useRef(!1);return C.createElement(cWe,Ne({},a,r,{ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var l;(l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&o.current&&s.preventDefault(),o.current=!1},onInteractOutside:s=>{var l;(l=e.onInteractOutside)===null||l===void 0||l.call(e,s),!s.defaultPrevented&&!i.modal&&(o.current=!0)},style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),yWe=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(fWe,Ne({},i,r,{ref:t}))}),hPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(dWe,Ne({},i,r,{ref:t}))}),pPt=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,defaultOpen:a}=e,o=fm(t),[s,l]=k3({prop:i,defaultProp:a,onChange:r});return C.createElement(hWe,Ne({},o,{open:s,onOpenChange:l}),n)},gPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(pWe,Ne({},i,r,{ref:t}))}),mPt=C.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=fm(n);return C.createElement(gWe,Ne({},i,r,{ref:t,style:{...e.style,["--radix-context-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))});function cI(e){return t=>t.pointerType!=="mouse"?e(t):void 0}const vPt=sPt,yPt=uPt,k$=cPt,bPt=dPt,hhe=pPt,wPt=gPt,phe=mPt;function ci(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var kPt=["color"],bWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,kPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M9 3C9 2.44772 8.55229 2 8 2H7C6.44772 2 6 2.44772 6 3L6 14H1.5C1.22386 14 1 14.2239 1 14.5C1 14.7761 1.22386 15 1.5 15L6 15H9H13.5C13.7761 15 14 14.7761 14 14.5C14 14.2239 13.7761 14 13.5 14H9V3Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),_Pt=["color"],wWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,_Pt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),CPt=["color"],kWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,CPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),EPt=["color"],_We=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,EPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.499995 0.999995C0.223855 0.999995 -5.58458e-07 1.22385 -5.46388e-07 1.49999L-2.18554e-08 13.4999C-9.78492e-09 13.776 0.223855 13.9999 0.499995 13.9999C0.776136 13.9999 0.999991 13.776 0.999991 13.4999L0.999991 8.99993L12 8.99993C12.5523 8.99993 13 8.55222 13 7.99993L13 6.99994C13 6.44766 12.5523 5.99995 12 5.99995L0.999991 5.99995L0.999991 1.49999C0.999991 1.22385 0.776135 0.999995 0.499995 0.999995Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),xPt=["color"],CWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,xPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 1C14.2237 1 13.9999 1.22386 13.9999 1.5L13.9999 6L2.99988 6C2.44759 6 1.99988 6.44772 1.99988 7L1.99988 8C1.99988 8.55228 2.44759 9 2.99988 9L13.9999 9L13.9999 13.5C13.9999 13.7761 14.2237 14 14.4999 14C14.776 14 14.9999 13.7761 14.9999 13.5L14.9999 9L14.9999 6L14.9999 1.5C14.9999 1.22386 14.776 1 14.4999 1Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),SPt=["color"],EWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,SPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.5 0C1.22386 0 1 0.223858 1 0.5C1 0.776142 1.22386 1 1.5 1H6V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V1H13.5C13.7761 1 14 0.776142 14 0.5C14 0.223858 13.7761 0 13.5 0H9H6H1.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),APt=["color"],TPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,APt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M8.8914 2.1937C9.1158 2.35464 9.16725 2.66701 9.00631 2.89141L2.47388 12H13.5C13.7761 12 14 12.2239 14 12.5C14 12.7762 13.7761 13 13.5 13H1.5C1.31254 13 1.14082 12.8952 1.0552 12.7284C0.969578 12.5616 0.984438 12.361 1.09369 12.2086L8.19369 2.30862C8.35462 2.08422 8.667 2.03277 8.8914 2.1937ZM11.1 6.50001C11.1 6.22387 11.3238 6.00001 11.6 6.00001C11.8761 6.00001 12.1 6.22387 12.1 6.50001C12.1 6.77615 11.8761 7.00001 11.6 7.00001C11.3238 7.00001 11.1 6.77615 11.1 6.50001ZM10.4 4.00001C10.1239 4.00001 9.90003 4.22387 9.90003 4.50001C9.90003 4.77615 10.1239 5.00001 10.4 5.00001C10.6762 5.00001 10.9 4.77615 10.9 4.50001C10.9 4.22387 10.6762 4.00001 10.4 4.00001ZM12.1 8.50001C12.1 8.22387 12.3238 8.00001 12.6 8.00001C12.8761 8.00001 13.1 8.22387 13.1 8.50001C13.1 8.77615 12.8761 9.00001 12.6 9.00001C12.3238 9.00001 12.1 8.77615 12.1 8.50001ZM13.4 10C13.1239 10 12.9 10.2239 12.9 10.5C12.9 10.7761 13.1239 11 13.4 11C13.6762 11 13.9 10.7761 13.9 10.5C13.9 10.2239 13.6762 10 13.4 10Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),DPt=["color"],IPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,DPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),RPt=["color"],MPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,RPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),OPt=["color"],LPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,OPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),BPt=["color"],PPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,BPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 2H12.5C12.7761 2 13 2.22386 13 2.5V12.5C13 12.7761 12.7761 13 12.5 13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5ZM7.5 4C7.77614 4 8 3.77614 8 3.5C8 3.22386 7.77614 3 7.5 3C7.22386 3 7 3.22386 7 3.5C7 3.77614 7.22386 4 7.5 4ZM8 5.5C8 5.77614 7.77614 6 7.5 6C7.22386 6 7 5.77614 7 5.5C7 5.22386 7.22386 5 7.5 5C7.77614 5 8 5.22386 8 5.5ZM7.5 8C7.77614 8 8 7.77614 8 7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8ZM10 7.5C10 7.77614 9.77614 8 9.5 8C9.22386 8 9 7.77614 9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5ZM11.5 8C11.7761 8 12 7.77614 12 7.5C12 7.22386 11.7761 7 11.5 7C11.2239 7 11 7.22386 11 7.5C11 7.77614 11.2239 8 11.5 8Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),FPt=["color"],NPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,FPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M12.5 2H2.5C2.22386 2 2 2.22386 2 2.5V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),$Pt=["color"],aB=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,$Pt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),zPt=["color"],UPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,zPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),jPt=["color"],HPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,jPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.877075 7.49991C0.877075 3.84222 3.84222 0.877075 7.49991 0.877075C11.1576 0.877075 14.1227 3.84222 14.1227 7.49991C14.1227 11.1576 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1576 0.877075 7.49991ZM7.49991 1.82708C4.36689 1.82708 1.82708 4.36689 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49991C13.1727 4.36689 10.6329 1.82708 7.49991 1.82708Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qPt=["color"],fwe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,qPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),WPt=["color"],GPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,WPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),VPt=["color"],KPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,VPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),YPt=["color"],XPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,YPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.29227 0.048984C3.47033 -0.032338 3.67946 -0.00228214 3.8274 0.125891L12.8587 7.95026C13.0134 8.08432 13.0708 8.29916 13.0035 8.49251C12.9362 8.68586 12.7578 8.81866 12.5533 8.82768L9.21887 8.97474L11.1504 13.2187C11.2648 13.47 11.1538 13.7664 10.9026 13.8808L8.75024 14.8613C8.499 14.9758 8.20255 14.8649 8.08802 14.6137L6.15339 10.3703L3.86279 12.7855C3.72196 12.934 3.50487 12.9817 3.31479 12.9059C3.1247 12.8301 3 12.6461 3 12.4414V0.503792C3 0.308048 3.11422 0.130306 3.29227 0.048984ZM4 1.59852V11.1877L5.93799 9.14425C6.05238 9.02363 6.21924 8.96776 6.38319 8.99516C6.54715 9.02256 6.68677 9.12965 6.75573 9.2809L8.79056 13.7441L10.0332 13.178L8.00195 8.71497C7.93313 8.56376 7.94391 8.38824 8.03072 8.24659C8.11753 8.10494 8.26903 8.01566 8.435 8.00834L11.2549 7.88397L4 1.59852Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),JPt=["color"],ZPt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,JPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:r}))}),QPt=["color"],eFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,QPt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),tFt=["color"],xWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,tFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),nFt=["color"],rFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,nFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),iFt=["color"],aFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,iFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.44995 0.949951C1.31734 0.949951 1.19016 1.00263 1.0964 1.0964C1.00263 1.19017 0.949951 1.31735 0.949951 1.44995L0.949966 3.44995C0.949969 3.7261 1.17383 3.94995 1.44997 3.94995C1.72611 3.94995 1.94997 3.72609 1.94997 3.44995L1.94995 1.94995H3.44997C3.72611 1.94995 3.94997 1.72609 3.94997 1.44995C3.94997 1.17381 3.72611 0.949951 3.44997 0.949951H1.44995ZM5.94995 0.949951C5.67381 0.949951 5.44995 1.17381 5.44995 1.44995C5.44995 1.72609 5.67381 1.94995 5.94995 1.94995H8.94995C9.22609 1.94995 9.44995 1.72609 9.44995 1.44995C9.44995 1.17381 9.22609 0.949951 8.94995 0.949951H5.94995ZM5.44995 13.45C5.44995 13.1738 5.67381 12.95 5.94995 12.95H8.94995C9.22609 12.95 9.44995 13.1738 9.44995 13.45C9.44995 13.7261 9.22609 13.95 8.94995 13.95H5.94995C5.67381 13.95 5.44995 13.7261 5.44995 13.45ZM1.94995 5.94995C1.94995 5.67381 1.72609 5.44995 1.44995 5.44995C1.17381 5.44995 0.949951 5.67381 0.949951 5.94995V8.94995C0.949951 9.22609 1.17381 9.44995 1.44995 9.44995C1.72609 9.44995 1.94995 9.22609 1.94995 8.94995V5.94995ZM13.45 5.44995C13.7261 5.44995 13.95 5.67381 13.95 5.94995V8.94995C13.95 9.22609 13.7261 9.44995 13.45 9.44995C13.1738 9.44995 12.95 9.22609 12.95 8.94995V5.94995C12.95 5.67381 13.1738 5.44995 13.45 5.44995ZM11.45 0.949951C11.1738 0.949951 10.95 1.17381 10.95 1.44995C10.95 1.72609 11.1738 1.94995 11.45 1.94995H12.9499V3.44995C12.9499 3.72609 13.1738 3.94995 13.4499 3.94995C13.7261 3.94995 13.9499 3.72609 13.9499 3.44995V1.44995C13.9499 1.17381 13.7252 0.949951 13.449 0.949951H11.45ZM1.44995 10.95C1.72609 10.95 1.94995 11.1738 1.94995 11.45V12.95H3.44997C3.72611 12.95 3.94997 13.1738 3.94997 13.45C3.94997 13.7261 3.72611 13.95 3.44997 13.95H1.44995C1.17381 13.95 0.949951 13.7261 0.949951 13.45V11.45C0.949951 11.1738 1.17381 10.95 1.44995 10.95ZM13.95 11.45C13.95 11.1738 13.7261 10.95 13.45 10.95C13.1738 10.9499 12.95 11.1738 12.95 11.4499L12.9491 12.95H11.45C11.1738 12.95 10.95 13.1738 10.95 13.45C10.95 13.7261 11.1738 13.95 11.45 13.95H13.4499C13.7261 13.95 13.9499 13.7261 13.9499 13.45L13.95 11.45Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),oFt=["color"],sFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,oFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),lFt=["color"],uFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,lFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),cFt=["color"],fFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,cFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),dFt=["color"],hFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,dFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),pFt=["color"],gFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,pFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.4986 0C6.3257 0 5.36107 0.38943 4.73753 1.19361C4.23745 1.83856 4 2.68242 4 3.63325H5C5 2.84313 5.19691 2.23312 5.5278 1.80636C5.91615 1.30552 6.55152 1 7.4986 1C8.35683 1 8.96336 1.26502 9.35846 1.68623C9.75793 2.11211 10 2.76044 10 3.63601V6H3C2.44772 6 2 6.44772 2 7V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V7C13 6.44771 12.5523 6 12 6H11V3.63601C11 2.58135 10.7065 1.66167 10.0878 1.0021C9.46477 0.337871 8.57061 0 7.4986 0ZM3 7H12V13H3V7Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),mFt=["color"],vFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,mFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5 1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5L4 7C4 7.01671 4.00082 7.03323 4.00242 7.04952C2.86009 7.28022 2 8.28967 2 9.5C2 10.7103 2.86009 11.7198 4.00242 11.9505C4.00082 11.9668 4 11.9833 4 12V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V12C5 11.9833 4.99918 11.9668 4.99758 11.9505C6.1399 11.7198 7 10.7103 7 9.5C7 8.28967 6.1399 7.28022 4.99758 7.04952C4.99918 7.03323 5 7.01671 5 7L5 1.5ZM11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V3C10 3.01671 10.0008 3.03323 10.0024 3.04952C8.8601 3.28022 8 4.28967 8 5.5C8 6.71033 8.8601 7.71978 10.0024 7.95048C10.0008 7.96677 10 7.98329 10 8V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V8C11 7.98329 10.9992 7.96677 10.9976 7.95048C12.1399 7.71978 13 6.71033 13 5.5C13 4.28967 12.1399 3.28022 10.9976 3.04952C10.9992 3.03323 11 3.01671 11 3V1.5ZM4.5 8C3.67157 8 3 8.67157 3 9.5C3 10.3284 3.67157 11 4.5 11C5.32843 11 6 10.3284 6 9.5C6 8.67157 5.32843 8 4.5 8ZM9 5.5C9 4.67157 9.67157 4 10.5 4C11.3284 4 12 4.67157 12 5.5C12 6.32843 11.3284 7 10.5 7C9.67157 7 9 6.32843 9 5.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),yFt=["color"],ghe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,yFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),bFt=["color"],wFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,bFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),kFt=["color"],_Ft=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,kFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M13.5 13.95C13.7485 13.95 13.95 13.7485 13.95 13.5C13.95 13.2514 13.7485 13.05 13.5 13.05L1.49995 13.05C1.25142 13.05 1.04995 13.2514 1.04995 13.5C1.04995 13.7485 1.25142 13.95 1.49995 13.95L13.5 13.95ZM11.0681 7.5683C11.2439 7.39257 11.2439 7.10764 11.0681 6.93191C10.8924 6.75617 10.6075 6.75617 10.4317 6.93191L7.94993 9.41371L7.94993 1.49998C7.94993 1.25146 7.74846 1.04998 7.49993 1.04998C7.2514 1.04998 7.04993 1.25146 7.04993 1.49998L7.04993 9.41371L4.56813 6.93191C4.39239 6.75617 4.10746 6.75617 3.93173 6.93191C3.75599 7.10764 3.75599 7.39257 3.93173 7.5683L7.18173 10.8183C7.35746 10.994 7.64239 10.994 7.81812 10.8183L11.0681 7.5683Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),CFt=["color"],EFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,CFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1.50005 1.05005C1.25152 1.05005 1.05005 1.25152 1.05005 1.50005C1.05005 1.74858 1.25152 1.95005 1.50005 1.95005L13.5 1.95005C13.7486 1.95005 13.95 1.74858 13.95 1.50005C13.95 1.25152 13.7486 1.05005 13.5 1.05005H1.50005ZM3.93188 7.43169C3.75614 7.60743 3.75614 7.89236 3.93188 8.06809C4.10761 8.24383 4.39254 8.24383 4.56827 8.06809L7.05007 5.58629V13.5C7.05007 13.7485 7.25155 13.95 7.50007 13.95C7.7486 13.95 7.95007 13.7485 7.95007 13.5L7.95007 5.58629L10.4319 8.06809C10.6076 8.24383 10.8925 8.24383 11.0683 8.06809C11.244 7.89235 11.244 7.60743 11.0683 7.43169L7.81827 4.18169C7.64254 4.00596 7.35761 4.00596 7.18188 4.18169L3.93188 7.43169Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),xFt=["color"],SFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,xFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),AFt=["color"],TFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,AFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M5.07505 4.10001C5.07505 2.91103 6.25727 1.92502 7.50005 1.92502C8.74283 1.92502 9.92505 2.91103 9.92505 4.10001C9.92505 5.19861 9.36782 5.71436 8.61854 6.37884L8.58757 6.4063C7.84481 7.06467 6.92505 7.87995 6.92505 9.5C6.92505 9.81757 7.18248 10.075 7.50005 10.075C7.81761 10.075 8.07505 9.81757 8.07505 9.5C8.07505 8.41517 8.62945 7.90623 9.38156 7.23925L9.40238 7.22079C10.1496 6.55829 11.075 5.73775 11.075 4.10001C11.075 2.12757 9.21869 0.775024 7.50005 0.775024C5.7814 0.775024 3.92505 2.12757 3.92505 4.10001C3.92505 4.41758 4.18249 4.67501 4.50005 4.67501C4.81761 4.67501 5.07505 4.41758 5.07505 4.10001ZM7.50005 13.3575C7.9833 13.3575 8.37505 12.9657 8.37505 12.4825C8.37505 11.9992 7.9833 11.6075 7.50005 11.6075C7.0168 11.6075 6.62505 11.9992 6.62505 12.4825C6.62505 12.9657 7.0168 13.3575 7.50005 13.3575Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),DFt=["color"],IFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,DFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.59664 2.93628C7.76085 3.06401 8.00012 2.94698 8.00012 2.73895V1.99998C9.98143 2 11.1848 2.3637 11.9105 3.08945C12.6363 3.81522 13 5.0186 13 6.99998C13 7.27613 13.2239 7.49998 13.5 7.49998C13.7761 7.49998 14 7.27613 14 6.99998C14 4.9438 13.6325 3.39719 12.6176 2.38234C11.6028 1.36752 10.0562 0.999999 8.00012 0.999984V0.261266C8.00012 0.0532293 7.76085 -0.0637944 7.59664 0.063928L6.00384 1.30277C5.87516 1.40286 5.87516 1.59735 6.00384 1.69744L7.59664 2.93628ZM9.5 5H2.5C2.22386 5 2 5.22386 2 5.5V12.5C2 12.7761 2.22386 13 2.5 13H9.5C9.77614 13 10 12.7761 10 12.5V5.5C10 5.22386 9.77614 5 9.5 5ZM2.5 4C1.67157 4 1 4.67157 1 5.5V12.5C1 13.3284 1.67157 14 2.5 14H9.5C10.3284 14 11 13.3284 11 12.5V5.5C11 4.67157 10.3284 4 9.5 4H2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),RFt=["color"],SWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,RFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992ZM0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992ZM1.99998 6.99994C1.99998 6.44766 2.44769 5.99995 2.99998 5.99995L5.99995 5.99995C6.55223 5.99995 6.99994 6.44766 6.99994 6.99994L6.99994 7.99993C6.99994 8.55221 6.55223 8.99992 5.99995 8.99992L2.99998 8.99992C2.4477 8.99992 1.99998 8.55221 1.99998 7.99993L1.99998 6.99994ZM8.99993 5.99995C8.44765 5.99995 7.99993 6.44766 7.99993 6.99994L7.99993 7.99993C7.99993 8.55221 8.44765 8.99992 8.99993 8.99992L11.9999 8.99992C12.5522 8.99992 12.9999 8.55221 12.9999 7.99993L12.9999 6.99994C12.9999 6.44766 12.5522 5.99995 11.9999 5.99995L8.99993 5.99995Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),MFt=["color"],AWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,MFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 2C6.44772 2 6 2.44772 6 3V6C6 6.55228 6.44772 7 7 7H8C8.55228 7 9 6.55228 9 6V3C9 2.44772 8.55228 2 8 2H7ZM7 8C6.44772 8 6 8.44771 6 9V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V9C9 8.44772 8.55228 8 8 8H7ZM1.49988 14C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H1.49988Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),OFt=["color"],LFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,OFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M1 1H1.5H13.5H14V1.5V13.5V14H13.5H1.5H1V13.5V1.5V1ZM2 2V13H13V2H2Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),BFt=["color"],TWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,BFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99992L13.9999 8.99992L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),PFt=["color"],DWe=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,PFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H6H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM9 14V1L6 1V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),FFt=["color"],NFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,FFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M3.94993 2.95002L3.94993 4.49998C3.94993 4.74851 3.74845 4.94998 3.49993 4.94998C3.2514 4.94998 3.04993 4.74851 3.04993 4.49998V2.50004C3.04993 2.45246 3.05731 2.40661 3.07099 2.36357C3.12878 2.18175 3.29897 2.05002 3.49993 2.05002H11.4999C11.6553 2.05002 11.7922 2.12872 11.8731 2.24842C11.9216 2.32024 11.9499 2.40682 11.9499 2.50002L11.9499 2.50004V4.49998C11.9499 4.74851 11.7485 4.94998 11.4999 4.94998C11.2514 4.94998 11.0499 4.74851 11.0499 4.49998V2.95002H8.04993V12.05H9.25428C9.50281 12.05 9.70428 12.2515 9.70428 12.5C9.70428 12.7486 9.50281 12.95 9.25428 12.95H5.75428C5.50575 12.95 5.30428 12.7486 5.30428 12.5C5.30428 12.2515 5.50575 12.05 5.75428 12.05H6.94993V2.95002H3.94993Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),$Ft=["color"],zFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,$Ft);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),UFt=["color"],jFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,UFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),HFt=["color"],qFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,HFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),WFt=["color"],GFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,WFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),VFt=["color"],KFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,VFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.23336 4.69629C7.23336 2.96884 8.63335 1.56857 10.36 1.56857C11.3736 1.56857 12.183 2.04804 12.7254 2.74385C13.3079 2.62467 13.8557 2.40913 14.3513 2.11508C14.1559 2.72598 13.7424 3.2396 13.2033 3.56463C13.2038 3.56568 13.2042 3.56674 13.2047 3.56779C13.7334 3.50361 14.2364 3.36302 14.7048 3.15546L14.7037 3.15715C14.3667 3.66183 13.9431 4.10736 13.4561 4.47034C13.4823 4.64672 13.4956 4.82427 13.4956 5.00079C13.4956 8.6871 10.6873 12.9746 5.52122 12.9746C3.93906 12.9746 2.46544 12.511 1.22505 11.7152C0.992632 11.5661 0.925108 11.2568 1.07423 11.0244C1.0874 11.0038 1.10183 10.9846 1.11734 10.9666C1.20582 10.8202 1.37438 10.7309 1.5554 10.7522C2.47066 10.8601 3.38568 10.7485 4.19219 10.3962C3.39226 10.0434 2.77129 9.35975 2.50204 8.51974C2.45359 8.3686 2.48835 8.20311 2.59351 8.08422C2.59716 8.0801 2.60087 8.07606 2.60464 8.0721C1.96391 7.50819 1.55973 6.68208 1.55973 5.76143V5.72759C1.55973 5.56814 1.64411 5.42059 1.78155 5.33974C1.82671 5.31317 1.87537 5.29511 1.92532 5.28558C1.70549 4.86154 1.58116 4.37984 1.58116 3.86958C1.58116 3.40165 1.58384 2.81192 1.91332 2.28081C1.98718 2.16175 2.10758 2.08915 2.2364 2.07195C2.42588 2.01237 2.64087 2.06969 2.77406 2.23302C3.86536 3.57126 5.44066 4.49583 7.23366 4.73961L7.23336 4.69629ZM5.52122 11.9746C4.73387 11.9746 3.97781 11.8435 3.27248 11.6023C4.13012 11.4538 4.95307 11.1159 5.66218 10.5602C5.81211 10.4427 5.87182 10.2435 5.81126 10.0629C5.7507 9.88234 5.583 9.75943 5.39255 9.75607C4.68968 9.74366 4.06712 9.39716 3.67793 8.86845C3.86828 8.85306 4.05428 8.82039 4.23445 8.77167C4.43603 8.71716 4.57363 8.53114 4.56674 8.32243C4.55985 8.11372 4.41029 7.93718 4.20555 7.89607C3.42694 7.73977 2.79883 7.16764 2.56169 6.42174C2.76255 6.47025 2.97102 6.4991 3.18482 6.5061C3.38563 6.51267 3.56646 6.38533 3.62795 6.19405C3.68943 6.00277 3.61666 5.79391 3.44963 5.68224C2.86523 5.29155 2.48116 4.62464 2.48116 3.86958C2.48116 3.70213 2.48352 3.55268 2.49355 3.41719C3.85115 4.79913 5.70873 5.68931 7.77588 5.79338C7.93225 5.80126 8.08328 5.73543 8.18395 5.61553C8.28463 5.49562 8.32332 5.33548 8.28851 5.18284C8.25255 5.02517 8.23336 4.86284 8.23336 4.69629C8.23336 3.52085 9.18591 2.56857 10.36 2.56857C11.5943 2.56857 12.4956 3.71208 12.4956 5.00079C12.4956 8.25709 10.0202 11.9746 5.52122 11.9746Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),YFt=["color"],XFt=C.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,i=ci(e,YFt);return C.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{ref:t}),C.createElement("path",{d:"M7.49998 1L6.92321 2.00307L1.17498 12L0.599976 13H1.7535H13.2464H14.4L13.825 12L8.07674 2.00307L7.49998 1ZM7.49998 3.00613L2.3285 12H12.6714L7.49998 3.00613Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),qa="colors",sc="sizes",Cr="space",IWe={gap:Cr,gridGap:Cr,columnGap:Cr,gridColumnGap:Cr,rowGap:Cr,gridRowGap:Cr,inset:Cr,insetBlock:Cr,insetBlockEnd:Cr,insetBlockStart:Cr,insetInline:Cr,insetInlineEnd:Cr,insetInlineStart:Cr,margin:Cr,marginTop:Cr,marginRight:Cr,marginBottom:Cr,marginLeft:Cr,marginBlock:Cr,marginBlockEnd:Cr,marginBlockStart:Cr,marginInline:Cr,marginInlineEnd:Cr,marginInlineStart:Cr,padding:Cr,paddingTop:Cr,paddingRight:Cr,paddingBottom:Cr,paddingLeft:Cr,paddingBlock:Cr,paddingBlockEnd:Cr,paddingBlockStart:Cr,paddingInline:Cr,paddingInlineEnd:Cr,paddingInlineStart:Cr,top:Cr,right:Cr,bottom:Cr,left:Cr,scrollMargin:Cr,scrollMarginTop:Cr,scrollMarginRight:Cr,scrollMarginBottom:Cr,scrollMarginLeft:Cr,scrollMarginX:Cr,scrollMarginY:Cr,scrollMarginBlock:Cr,scrollMarginBlockEnd:Cr,scrollMarginBlockStart:Cr,scrollMarginInline:Cr,scrollMarginInlineEnd:Cr,scrollMarginInlineStart:Cr,scrollPadding:Cr,scrollPaddingTop:Cr,scrollPaddingRight:Cr,scrollPaddingBottom:Cr,scrollPaddingLeft:Cr,scrollPaddingX:Cr,scrollPaddingY:Cr,scrollPaddingBlock:Cr,scrollPaddingBlockEnd:Cr,scrollPaddingBlockStart:Cr,scrollPaddingInline:Cr,scrollPaddingInlineEnd:Cr,scrollPaddingInlineStart:Cr,fontSize:"fontSizes",background:qa,backgroundColor:qa,backgroundImage:qa,borderImage:qa,border:qa,borderBlock:qa,borderBlockEnd:qa,borderBlockStart:qa,borderBottom:qa,borderBottomColor:qa,borderColor:qa,borderInline:qa,borderInlineEnd:qa,borderInlineStart:qa,borderLeft:qa,borderLeftColor:qa,borderRight:qa,borderRightColor:qa,borderTop:qa,borderTopColor:qa,caretColor:qa,color:qa,columnRuleColor:qa,fill:qa,outline:qa,outlineColor:qa,stroke:qa,textDecorationColor:qa,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:sc,minBlockSize:sc,maxBlockSize:sc,inlineSize:sc,minInlineSize:sc,maxInlineSize:sc,width:sc,minWidth:sc,maxWidth:sc,height:sc,minHeight:sc,maxHeight:sc,flexBasis:sc,gridTemplateColumns:sc,gridTemplateRows:sc,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},JFt=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,nE=()=>{const e=Object.create(null);return(t,n,...r)=>{const i=(a=>JSON.stringify(a,JFt))(t);return i in e?e[i]:e[i]=n(t,...r)}},o4=Symbol.for("sxs.internal"),mhe=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),dwe=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:ZFt}=Object.prototype,xoe=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),QFt=/\s+(?![^()]*\))/,Xw=e=>t=>e(...typeof t=="string"?String(t).split(QFt):[t]),hwe={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Xw((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:Xw((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:Xw((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:Xw((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:Xw((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:Xw((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},Kq=/([\d.]+)([^]*)/,eNt=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(i=>i.includes("&")?i.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(i)?`:is(${r})`:r):r+" "+i)),n),[]):t,tNt=(e,t)=>e in nNt&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,i,a)=>r+(i==="stretch"?`-moz-available${a};${xoe(e)}:${r}-webkit-fill-available`:`-moz-fit-content${a};${xoe(e)}:${r}fit-content`)+a):String(t),nNt={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Wg=e=>e?e+"-":"",RWe=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,i,a,o,s)=>o=="$"==!!a?r:(i||o=="--"?"calc(":"")+"var(--"+(o==="$"?Wg(t)+(s.includes("$")?"":Wg(n))+s.replace(/\$/g,"-"):s)+")"+(i||o=="--"?"*"+(i||"")+(a||"1")+")":"")),rNt=/\s*,\s*(?![^()]*\))/,iNt=Object.prototype.toString,Xk=(e,t,n,r,i)=>{let a,o,s;const l=(u,c,f)=>{let d,h;const p=g=>{for(d in g){const v=d.charCodeAt(0)===64,w=v&&Array.isArray(g[d])?g[d]:[g[d]];for(h of w){const k=/[A-Z]/.test(m=d)?m:m.replace(/-[^]/g,S=>S[1].toUpperCase()),E=typeof h=="object"&&h&&h.toString===iNt&&(!r.utils[k]||!c.length);if(k in r.utils&&!E){const S=r.utils[k];if(S!==o){o=S,p(S(h)),o=null;continue}}else if(k in hwe){const S=hwe[k];if(S!==s){s=S,p(S(h)),s=null;continue}}if(v&&(b=d.slice(1)in r.media?"@media "+r.media[d.slice(1)]:d,d=b.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(S,T,L,M,D,I)=>{const B=Kq.test(T),N=.0625*(B?-1:1),[O,R]=B?[M,T]:[T,M];return"("+(L[0]==="="?"":L[0]===">"===B?"max-":"min-")+O+":"+(L[0]!=="="&&L.length===1?R.replace(Kq,(P,H,F)=>Number(H)+N*(L===">"?1:-1)+F):R)+(D?") and ("+(D[0]===">"?"min-":"max-")+O+":"+(D.length===1?I.replace(Kq,(P,H,F)=>Number(H)+N*(D===">"?-1:1)+F):I):"")+")"})),E){const S=v?f.concat(d):[...f],T=v?[...c]:eNt(c,d.split(rNt));a!==void 0&&i(pwe(...a)),a=void 0,l(h,T,S)}else a===void 0&&(a=[[],c,f]),d=v||d.charCodeAt(0)!==36?d:`--${Wg(r.prefix)}${d.slice(1).replace(/\$/g,"-")}`,h=E?h:typeof h=="number"?h&&k in aNt?String(h)+"px":String(h):RWe(tNt(k,h??""),r.prefix,r.themeMap[k]),a[0].push(`${v?`${d} `:`${xoe(d)}:`}${h}`)}}var b,m};p(u),a!==void 0&&i(pwe(...a)),a=void 0};l(e,t,n)},pwe=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,aNt={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},gwe=e=>String.fromCharCode(e+(e>25?39:97)),s4=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=gwe(n%52)+r;return gwe(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),xx=["themed","global","styled","onevar","resonevar","allvar","inline"],oNt=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},sNt=e=>{let t;const n=()=>{const{cssRules:i}=t.sheet;return[].map.call(i,(a,o)=>{const{cssText:s}=a;let l="";if(s.startsWith("--sxs"))return"";if(i[o-1]&&(l=i[o-1].cssText).startsWith("--sxs")){if(!a.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===a)return`--sxs{--sxs:${[...t.rules[u].cache].join(" ")}}${s}`;return a.cssRules.length?`${l}${s}`:""}return s}).join("")},r=()=>{if(t){const{rules:s,sheet:l}=t;if(!l.deleteRule){for(;Object(Object(l.cssRules)[0]).type===3;)l.cssRules.splice(0,1);l.cssRules=[]}for(const u in s)delete s[u]}const i=Object(e).styleSheets||[];for(const s of i)if(oNt(s)){for(let l=0,u=s.cssRules;u[l];++l){const c=Object(u[l]);if(c.type!==1)continue;const f=Object(u[l+1]);if(f.type!==4)continue;++l;const{cssText:d}=c;if(!d.startsWith("--sxs"))continue;const h=d.slice(14,-3).trim().split(/\s+/),p=xx[h[0]];p&&(t||(t={sheet:s,reset:r,rules:{},toString:n}),t.rules[p]={group:f,index:l,cache:new Set(h)})}if(t)break}if(!t){const s=(l,u)=>({type:u,cssRules:[],insertRule(c,f){this.cssRules.splice(f,0,s(c,{import:3,undefined:1}[(c.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return l==="@media{}"?`@media{${[].map.call(this.cssRules,c=>c.cssText).join("")}}`:l}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:r,toString:n}}const{sheet:a,rules:o}=t;for(let s=xx.length-1;s>=0;--s){const l=xx[s];if(!o[l]){const u=xx[s+1],c=o[u]?o[u].index:a.cssRules.length;a.insertRule("@media{}",c),a.insertRule(`--sxs{--sxs:${s}}`,c),o[l]={group:a.cssRules[c+1],index:c,cache:new Set([s])}}lNt(o[l])}};return r(),t},lNt=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},$5=Symbol(),uNt=nE(),mwe=(e,t)=>uNt(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const i of n)if(i!=null)if(i[o4]){r.type==null&&(r.type=i[o4].type);for(const a of i[o4].composers)r.composers.add(a)}else i.constructor!==Object||i.$$typeof?r.type==null&&(r.type=i):r.composers.add(cNt(i,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),fNt(e,r,t)}),cNt=({variants:e,compoundVariants:t,defaultVariants:n,...r},i)=>{const a=`${Wg(i.prefix)}c-${s4(r)}`,o=[],s=[],l=Object.create(null),u=[];for(const d in n)l[d]=String(n[d]);if(typeof e=="object"&&e)for(const d in e){c=l,f=d,ZFt.call(c,f)||(l[d]="undefined");const h=e[d];for(const p in h){const g={[d]:String(p)};String(p)==="undefined"&&u.push(d);const b=h[p],m=[g,b,!dwe(b)];o.push(m)}}var c,f;if(typeof t=="object"&&t)for(const d of t){let{css:h,...p}=d;h=typeof h=="object"&&h||{};for(const b in p)p[b]=String(p[b]);const g=[p,h,!dwe(h)];s.push(g)}return[a,r,o,s,l,u]},fNt=(e,t,n)=>{const[r,i,a,o]=dNt(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(f=>{function d(){for(let h=0;hd.rules[h]={apply:p=>d[$5].push([h,p])}),d})(n):null,l=(s||n).rules,u=`.${r}${i.length>1?`:where(.${i.slice(1).join(".")})`:""}`,c=f=>{f=typeof f=="object"&&f||hNt;const{css:d,...h}=f,p={};for(const m in a)if(delete h[m],m in f){let v=f[m];typeof v=="object"&&v?p[m]={"@initial":a[m],...v}:(v=String(v),p[m]=v!=="undefined"||o.has(m)?v:a[m])}else p[m]=a[m];const g=new Set([...i]);for(const[m,v,w,k]of t.composers){n.rules.styled.cache.has(m)||(n.rules.styled.cache.add(m),Xk(v,[`.${m}`],[],e,T=>{l.styled.apply(T)}));const E=vwe(w,p,e.media),S=vwe(k,p,e.media,!0);for(const T of E)if(T!==void 0)for(const[L,M,D]of T){const I=`${m}-${s4(M)}-${L}`;g.add(I);const B=(D?n.rules.resonevar:n.rules.onevar).cache,N=D?l.resonevar:l.onevar;B.has(I)||(B.add(I),Xk(M,[`.${I}`],[],e,O=>{N.apply(O)}))}for(const T of S)if(T!==void 0)for(const[L,M]of T){const D=`${m}-${s4(M)}-${L}`;g.add(D),n.rules.allvar.cache.has(D)||(n.rules.allvar.cache.add(D),Xk(M,[`.${D}`],[],e,I=>{l.allvar.apply(I)}))}}if(typeof d=="object"&&d){const m=`${r}-i${s4(d)}-css`;g.add(m),n.rules.inline.cache.has(m)||(n.rules.inline.cache.add(m),Xk(d,[`.${m}`],[],e,v=>{l.inline.apply(v)}))}for(const m of String(f.className||"").trim().split(/\s+/))m&&g.add(m);const b=h.className=[...g].join(" ");return{type:t.type,className:b,selector:u,props:h,toString:()=>b,deferredInjector:s}};return mhe(c,{className:r,selector:u,[o4]:t,toString:()=>(n.rules.styled.cache.has(r)||c(),r)})},dNt=e=>{let t="";const n=[],r={},i=[];for(const[a,,,,o,s]of e){t===""&&(t=a),n.push(a),i.push(...s);for(const l in o){const u=o[l];(r[l]===void 0||u!=="undefined"||s.includes(u))&&(r[l]=u)}}return[t,n,r,new Set(i)]},vwe=(e,t,n,r)=>{const i=[];e:for(let[a,o,s]of e){if(s)continue;let l,u=0,c=!1;for(l in a){const f=a[l];let d=t[l];if(d!==f){if(typeof d!="object"||!d)continue e;{let h,p,g=0;for(const b in d){if(f===String(d[b])){if(b!=="@initial"){const m=b.slice(1);(p=p||[]).push(m in n?n[m]:b.replace(/^@media ?/,"")),c=!0}u+=g,h=!0}++g}if(p&&p.length&&(o={["@media "+p.join(", ")]:o}),!h)continue e}}}(i[u]=i[u]||[]).push([r?"cv":`${l}-${a[l]}`,o,c])}return i},hNt={},pNt=nE(),gNt=(e,t)=>pNt(e,()=>(...n)=>{const r=()=>{for(let i of n){i=typeof i=="object"&&i||{};let a=s4(i);if(!t.rules.global.cache.has(a)){if(t.rules.global.cache.add(a),"@import"in i){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(i["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,o++);delete i["@import"]}Xk(i,[],[],e,o=>{t.rules.global.apply(o)})}}return""};return mhe(r,{toString:r})}),mNt=nE(),vNt=(e,t)=>mNt(e,()=>n=>{const r=`${Wg(e.prefix)}k-${s4(n)}`,i=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const a=[];Xk(n,[],[],e,s=>a.push(s));const o=`@keyframes ${r}{${a.join("")}}`;t.rules.global.apply(o)}return r};return mhe(i,{get name(){return i()},toString:i})}),yNt=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+Wg(this.prefix)+Wg(this.scale)+this.token}toString(){return this.computedValue}},bNt=nE(),wNt=(e,t)=>bNt(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const i=`.${n=(n=typeof n=="string"?n:"")||`${Wg(e.prefix)}t-${s4(r)}`}`,a={},o=[];for(const l in r){a[l]={};for(const u in r[l]){const c=`--${Wg(e.prefix)}${l}-${u}`,f=RWe(String(r[l][u]),e.prefix,l);a[l][u]=new yNt(u,f,l,e.prefix),o.push(`${c}:${f}`)}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const l=`${r===e.theme?":root,":""}.${n}{${o.join(";")}}`;t.rules.themed.apply(l)}return n};return{...a,get className(){return s()},selector:i,toString:s}}),kNt=nE(),ywe,_Nt=nE(),MWe=e=>{const t=(n=>{let r=!1;const i=kNt(n,a=>{r=!0;const o="prefix"in(a=typeof a=="object"&&a||{})?String(a.prefix):"",s=typeof a.media=="object"&&a.media||{},l=typeof a.root=="object"?a.root||null:globalThis.document||null,u=typeof a.theme=="object"&&a.theme||{},c={prefix:o,media:s,theme:u,themeMap:typeof a.themeMap=="object"&&a.themeMap||{...IWe},utils:typeof a.utils=="object"&&a.utils||{}},f=sNt(l),d={css:mwe(c,f),globalCss:gNt(c,f),keyframes:vNt(c,f),createTheme:wNt(c,f),reset(){f.reset(),d.theme.toString()},theme:{},sheet:f,config:c,prefix:o,getCssText:f.toString,toString:f.toString};return String(d.theme=d.createTheme(u)),d});return r||i.reset(),i})(e);return t.styled=(({config:n,sheet:r})=>_Nt(n,()=>{const i=mwe(n,r);return(...a)=>{const o=i(...a),s=o[o4].type,l=gr.forwardRef((u,c)=>{const f=u&&u.as||s,{props:d,deferredInjector:h}=o(u);return delete d.as,d.ref=c,h?gr.createElement(gr.Fragment,null,gr.createElement(f,d),gr.createElement(h,null)):gr.createElement(f,d)});return l.className=o.className,l.displayName=`Styled.${s.displayName||s.name||s}`,l.selector=o.selector,l.toString=()=>o.selector,l[o4]=o[o4],l}}))(t),t},CNt=()=>ywe||(ywe=MWe()),_$=(...e)=>CNt().styled(...e);const OWe=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(xNt);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(Soe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(Soe,Ne({},r,{ref:t}),n)});OWe.displayName="Slot";const Soe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...SNt(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});Soe.displayName="SlotClone";const ENt=({children:e})=>C.createElement(C.Fragment,null,e);function xNt(e){return C.isValidElement(e)&&e.type===ENt}function SNt(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{a?.(...s),i?.(...s)}:r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const ANt=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],TNt=ANt.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?OWe:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),LWe="DropdownMenu",[DNt,H0a]=Ih(LWe,[w$]),Rf=w$(),[INt,BWe]=DNt(LWe),RNt=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,l=Rf(t),u=C.useRef(null),[c=!1,f]=k3({prop:i,defaultProp:a,onChange:o});return C.createElement(INt,{scope:t,triggerId:Xp(),triggerRef:u,contentId:Xp(),open:c,onOpenChange:f,onOpenToggle:C.useCallback(()=>f(d=>!d),[f]),modal:s},C.createElement(sWe,Ne({},l,{open:c,onOpenChange:f,dir:r,modal:s}),n))},MNt="DropdownMenuTrigger",ONt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=BWe(MNt,n),o=Rf(n);return C.createElement(lWe,Ne({asChild:!0},o),C.createElement(TNt.button,Ne({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open?!0:void 0,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},i,{ref:z0(t,a.triggerRef),onPointerDown:qr(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:qr(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),[" ","ArrowDown"].includes(s.key)&&s.preventDefault())})})))}),LNt=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Rf(t);return C.createElement(uWe,Ne({},r,n))},BNt="DropdownMenuContent",PNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=BWe(BNt,n),a=Rf(n),o=C.useRef(!1);return C.createElement(cWe,Ne({id:i.contentId,"aria-labelledby":i.triggerId},a,r,{ref:t,onCloseAutoFocus:qr(e.onCloseAutoFocus,s=>{var l;o.current||(l=i.triggerRef.current)===null||l===void 0||l.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:qr(e.onInteractOutside,s=>{const l=s.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,c=l.button===2||u;(!i.modal||c)&&(o.current=!0)}),style:{...e.style,["--radix-dropdown-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),FNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(fWe,Ne({},i,r,{ref:t}))}),NNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(ePt,Ne({},i,r,{ref:t}))}),PWe=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(tPt,Ne({},i,r,{ref:t}))}),$Nt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(nPt,Ne({},i,r,{ref:t}))}),zNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(rPt,Ne({},i,r,{ref:t}))}),UNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(iPt,Ne({},i,r,{ref:t}))}),jNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(dWe,Ne({},i,r,{ref:t}))}),HNt=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:a}=e,o=Rf(t),[s=!1,l]=k3({prop:r,defaultProp:a,onChange:i});return C.createElement(hWe,Ne({},o,{open:s,onOpenChange:l}),n)},qNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(pWe,Ne({},i,r,{ref:t}))}),WNt=C.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Rf(n);return C.createElement(gWe,Ne({},i,r,{ref:t,style:{...e.style,["--radix-dropdown-menu-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))}),V2=RNt,C3=ONt,GNt=LNt,FWe=PNt,C$=FNt,VNt=NNt,KNt=PWe,NWe=$Nt,$We=zNt,YNt=UNt,XNt=jNt,JNt=HNt,ZNt=qNt,QNt=WNt,E$=C.forwardRef((e,t)=>{const{children:n,...r}=e,i=C.Children.toArray(n),a=i.find(e$t);if(a){const o=a.props.children,s=i.map(l=>l===a?C.Children.count(o)>1?C.Children.only(null):C.isValidElement(o)?o.props.children:null:l);return C.createElement(Aoe,Ne({},r,{ref:t}),C.isValidElement(o)?C.cloneElement(o,void 0,s):null)}return C.createElement(Aoe,Ne({},r,{ref:t}),n)});E$.displayName="Slot";const Aoe=C.forwardRef((e,t)=>{const{children:n,...r}=e;return C.isValidElement(n)?C.cloneElement(n,{...t$t(r,n.props),ref:z0(t,n.ref)}):C.Children.count(n)>1?C.Children.only(null):null});Aoe.displayName="SlotClone";const vhe=({children:e})=>C.createElement(C.Fragment,null,e);function e$t(e){return C.isValidElement(e)&&e.type===vhe}function t$t(e,t){const n={...t};for(const r in t){const i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...s)=>{a(...s),i(...s)}:i&&(n[r]=i):r==="style"?n[r]={...i,...a}:r==="className"&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}const n$t=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Kl=n$t.reduce((e,t)=>{const n=C.forwardRef((r,i)=>{const{asChild:a,...o}=r,s=a?E$:t;return C.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),C.createElement(s,Ne({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function r$t(e,t){e&&am.flushSync(()=>e.dispatchEvent(t))}function i$t(e,t=globalThis?.document){const n=Ol(e);C.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Toe="dismissableLayer.update",a$t="dismissableLayer.pointerDownOutside",o$t="dismissableLayer.focusOutside";let bwe;const s$t=C.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yhe=C.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:s,onDismiss:l,...u}=e,c=C.useContext(s$t),[f,d]=C.useState(null),h=(n=f?.ownerDocument)!==null&&n!==void 0?n:globalThis?.document,[,p]=C.useState({}),g=Ka(t,L=>d(L)),b=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),v=b.indexOf(m),w=f?b.indexOf(f):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,E=w>=v,S=l$t(L=>{const M=L.target,D=[...c.branches].some(I=>I.contains(M));!E||D||(a?.(L),s?.(L),L.defaultPrevented||l?.())},h),T=u$t(L=>{const M=L.target;[...c.branches].some(I=>I.contains(M))||(o?.(L),s?.(L),L.defaultPrevented||l?.())},h);return i$t(L=>{w===c.layers.size-1&&(i?.(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},h),C.useEffect(()=>{if(f)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(bwe=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(f)),c.layers.add(f),wwe(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=bwe)}},[f,h,r,c]),C.useEffect(()=>()=>{f&&(c.layers.delete(f),c.layersWithOutsidePointerEventsDisabled.delete(f),wwe())},[f,c]),C.useEffect(()=>{const L=()=>p({});return document.addEventListener(Toe,L),()=>document.removeEventListener(Toe,L)},[]),C.createElement(Kl.div,Ne({},u,{ref:g,style:{pointerEvents:k?E?"auto":"none":void 0,...e.style},onFocusCapture:qr(e.onFocusCapture,T.onFocusCapture),onBlurCapture:qr(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:qr(e.onPointerDownCapture,S.onPointerDownCapture)}))});function l$t(e,t=globalThis?.document){const n=Ol(e),r=C.useRef(!1),i=C.useRef(()=>{});return C.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){zWe(a$t,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function u$t(e,t=globalThis?.document){const n=Ol(e),r=C.useRef(!1);return C.useEffect(()=>{const i=a=>{a.target&&!r.current&&zWe(o$t,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wwe(){const e=new CustomEvent(Toe);document.dispatchEvent(e)}function zWe(e,t,n,{discrete:r}){const i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?r$t(i,a):i.dispatchEvent(a)}const c$t=C.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...a}=e;return C.createElement(Kl.svg,Ne({},a,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:C.createElement("polygon",{points:"0,0 30,0 15,10"}))}),f$t=c$t,UWe="Popper",[bhe,jWe]=Ih(UWe),[d$t,HWe]=bhe(UWe),h$t=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(d$t,{scope:t,anchor:r,onAnchorChange:i},n)},p$t="PopperAnchor",g$t=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=HWe(p$t,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(Kl.div,Ne({},i,{ref:s}))}),oB="PopperContent",[m$t,v$t]=bhe(oB),[y$t,b$t]=bhe(oB,{hasParent:!1,positionUpdateFns:new Set}),w$t=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,onPlaced:E,...S}=e,T=HWe(oB,c),[L,M]=C.useState(null),D=Ka(t,Ie=>M(Ie)),[I,B]=C.useState(null),N=ihe(I),O=(n=N?.width)!==null&&n!==void 0?n:0,R=(r=N?.height)!==null&&r!==void 0?r:0,P=f+(h!=="center"?"-"+h:""),H=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(b)?b:[b],q=F.length>0,V={padding:H,boundary:F.filter(x$t),altBoundary:q},{reference:X,floating:G,strategy:J,x:te,y:re,placement:Q,middlewareData:ae,update:le}=nhe({strategy:"fixed",placement:P,whileElementsMounted:the,middleware:[S$t(),Jde({mainAxis:d+R,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...V}):void 0,I?rhe({element:I,padding:g}):void 0,k?Yde({...V}):void 0,wqe({...V,apply:({elements:Ie,availableWidth:Be,availableHeight:we})=>{Ie.floating.style.setProperty("--radix-popper-available-width",`${Be}px`),Ie.floating.style.setProperty("--radix-popper-available-height",`${we}px`)}}),A$t({arrowWidth:O,arrowHeight:R}),w?Xde({strategy:"referenceHidden"}):void 0].filter(E$t)});mf(()=>{X(T.anchor)},[X,T.anchor]);const oe=te!==null&&re!==null,[ee,ne]=qWe(Q),ue=Ol(E);mf(()=>{oe&&ue?.()},[oe,ue]);const Ae=(i=ae.arrow)===null||i===void 0?void 0:i.x,ce=(a=ae.arrow)===null||a===void 0?void 0:a.y,be=((o=ae.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ge,ve]=C.useState();mf(()=>{L&&ve(window.getComputedStyle(L).zIndex)},[L]);const{hasParent:ie,positionUpdateFns:he}=b$t(oB,c),$e=!ie;C.useLayoutEffect(()=>{if(!$e)return he.add(le),()=>{he.delete(le)}},[$e,he,le]),mf(()=>{$e&&oe&&Array.from(he).reverse().forEach(Ie=>requestAnimationFrame(Ie))},[$e,oe,he]);const De={"data-side":ee,"data-align":ne,...S,ref:D,style:{...S.style,animation:oe?void 0:"none",opacity:(s=ae.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:J,left:0,top:0,transform:oe?`translate3d(${Math.round(te)}px, ${Math.round(re)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[(l=ae.transformOrigin)===null||l===void 0?void 0:l.x,(u=ae.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},C.createElement(m$t,{scope:c,placedSide:ee,onArrowChange:B,arrowX:Ae,arrowY:ce,shouldHideArrow:be},$e?C.createElement(y$t,{scope:c,hasParent:!0,positionUpdateFns:he},C.createElement(Kl.div,De)):C.createElement(Kl.div,De)))}),k$t="PopperArrow",_$t={top:"bottom",right:"left",bottom:"top",left:"right"},C$t=C.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,a=v$t(k$t,r),o=_$t[a.placedSide];return C.createElement("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},C.createElement(f$t,Ne({},i,{ref:n,style:{...i.style,display:"block"}})))});function E$t(e){return e!==void 0}function x$t(e){return e!==null}const S$t=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:i}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${i}px`),{}}}),A$t=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=qWe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function qWe(e){const[t,n="center"]=e.split("-");return[t,n]}const T$t=h$t,D$t=g$t,I$t=w$t,R$t=C$t,M$t=C.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return r?Gk.createPortal(C.createElement(Kl.div,Ne({},i,{ref:t})),r):null}),O$t=C.forwardRef((e,t)=>C.createElement(Kl.span,Ne({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),L$t=O$t,[x$,q0a]=Ih("Tooltip",[jWe]),S$=jWe(),B$t="TooltipProvider",P$t=700,Doe="tooltip.open",[F$t,whe]=x$(B$t),N$t=e=>{const{__scopeTooltip:t,delayDuration:n=P$t,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,[o,s]=C.useState(!0),l=C.useRef(!1),u=C.useRef(0);return C.useEffect(()=>{const c=u.current;return()=>window.clearTimeout(c)},[]),C.createElement(F$t,{scope:t,isOpenDelayed:o,delayDuration:n,onOpen:C.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:C.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:C.useCallback(c=>{l.current=c},[]),disableHoverableContent:i},a)},khe="Tooltip",[$$t,A$]=x$(khe),z$t=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,l=whe(khe,e.__scopeTooltip),u=S$(t),[c,f]=C.useState(null),d=Xp(),h=C.useRef(0),p=o??l.disableHoverableContent,g=s??l.delayDuration,b=C.useRef(!1),[m=!1,v]=k3({prop:r,defaultProp:i,onChange:T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Doe))):l.onClose(),a?.(T)}}),w=C.useMemo(()=>m?b.current?"delayed-open":"instant-open":"closed",[m]),k=C.useCallback(()=>{window.clearTimeout(h.current),b.current=!1,v(!0)},[v]),E=C.useCallback(()=>{window.clearTimeout(h.current),v(!1)},[v]),S=C.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,v(!0)},g)},[g,v]);return C.useEffect(()=>()=>window.clearTimeout(h.current),[]),C.createElement(T$t,u,C.createElement($$t,{scope:t,contentId:d,open:m,stateAttribute:w,trigger:c,onTriggerChange:f,onTriggerEnter:C.useCallback(()=>{l.isOpenDelayed?S():k()},[l.isOpenDelayed,S,k]),onTriggerLeave:C.useCallback(()=>{p?E():window.clearTimeout(h.current)},[E,p]),onOpen:k,onClose:E,disableHoverableContent:p},n))},kwe="TooltipTrigger",U$t=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=A$(kwe,n),a=whe(kwe,n),o=S$(n),s=C.useRef(null),l=Ka(t,s,i.onTriggerChange),u=C.useRef(!1),c=C.useRef(!1),f=C.useCallback(()=>u.current=!1,[]);return C.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),C.createElement(D$t,Ne({asChild:!0},o),C.createElement(Kl.button,Ne({"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute},r,{ref:l,onPointerMove:qr(e.onPointerMove,d=>{d.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:qr(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:qr(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:qr(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:qr(e.onBlur,i.onClose),onClick:qr(e.onClick,i.onClose)})))}),j$t="TooltipPortal",[W0a,H$t]=x$(j$t,{forceMount:void 0}),GA="TooltipContent",q$t=C.forwardRef((e,t)=>{const n=H$t(GA,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...a}=e,o=A$(GA,e.__scopeTooltip);return C.createElement(b1,{present:r||o.open},o.disableHoverableContent?C.createElement(WWe,Ne({side:i},a,{ref:t})):C.createElement(W$t,Ne({side:i},a,{ref:t})))}),W$t=C.forwardRef((e,t)=>{const n=A$(GA,e.__scopeTooltip),r=whe(GA,e.__scopeTooltip),i=C.useRef(null),a=Ka(t,i),[o,s]=C.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,d=C.useCallback(()=>{s(null),f(!1)},[f]),h=C.useCallback((p,g)=>{const b=p.currentTarget,m={x:p.clientX,y:p.clientY},v=X$t(m,b.getBoundingClientRect()),w=v==="right"||v==="bottom"?-5:5,E=v==="right"||v==="left"?{x:p.clientX+w,y:p.clientY}:{x:p.clientX,y:p.clientY+w},S=J$t(g.getBoundingClientRect()),T=Q$t([E,...S]);s(T),f(!0)},[f]);return C.useEffect(()=>()=>d(),[d]),C.useEffect(()=>{if(l&&c){const p=b=>h(b,c),g=b=>h(b,l);return l.addEventListener("pointerleave",p),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",p),c.removeEventListener("pointerleave",g)}}},[l,c,h,d]),C.useEffect(()=>{if(o){const p=g=>{const b=g.target,m={x:g.clientX,y:g.clientY},v=l?.contains(b)||c?.contains(b),w=!Z$t(m,o);v?d():w&&(d(),u())};return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[l,c,o,u,d]),C.createElement(WWe,Ne({},e,{ref:a}))}),[G$t,V$t]=x$(khe,{isInside:!1}),WWe=C.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:o,...s}=e,l=A$(GA,n),u=S$(n),{onClose:c}=l;return C.useEffect(()=>(document.addEventListener(Doe,c),()=>document.removeEventListener(Doe,c)),[c]),C.useEffect(()=>{if(l.trigger){const f=d=>{const h=d.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,c]),C.createElement(yhe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:c},C.createElement(I$t,Ne({"data-state":l.stateAttribute},u,s,{ref:t,style:{...s.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)"}}),C.createElement(vhe,null,r),C.createElement(G$t,{scope:n,isInside:!0},C.createElement(L$t,{id:l.contentId,role:"tooltip"},i||r))))}),K$t="TooltipArrow",Y$t=C.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=S$(n);return V$t(K$t,n).isInside?null:C.createElement(R$t,Ne({},i,r,{ref:t}))});function X$t(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:return null}}function J$t(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Z$t(e,t){const{x:n,y:r}=e;let i=!1;for(let a=0,o=t.length-1;ar!=c>r&&n<(u-s)*(r-l)/(c-l)+s&&(i=!i)}return i}function Q$t(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),ezt(t)}function ezt(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const a=t[t.length-1],o=t[t.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const a=n[n.length-1],o=n[n.length-2];if((a.x-o.x)*(i.y-o.y)>=(a.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const tzt=N$t,nzt=z$t,rzt=U$t,izt=q$t,azt=Y$t;var Yq=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Xq(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function GWe(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function ozt(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,a=0;a=0&&Zo.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&Zo.splice(0,Zo.length),(t===93||t===224)&&(t=91),t in uu){uu[t]=!1;for(var r in y2)y2[r]===t&&(nd[r]=!1)}}function dzt(e){if(typeof e>"u")Object.keys(ll).forEach(function(o){return delete ll[o]});else if(Array.isArray(e))e.forEach(function(o){o.key&&Jq(o)});else if(typeof e=="object")e.key&&Jq(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?GWe(y2,u):[];ll[d]=ll[d].filter(function(p){var g=i?p.method===i:!0;return!(g&&p.scope===r&&ozt(p.mods,h))})}})};function Cwe(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var a in uu)Object.prototype.hasOwnProperty.call(uu,a)&&(!uu[a]&&t.mods.indexOf(+a)>-1||uu[a]&&t.mods.indexOf(+a)===-1)&&(i=!1);(t.mods.length===0&&!uu[16]&&!uu[18]&&!uu[17]&&!uu[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Ewe(e,t){var n=ll["*"],r=e.keyCode||e.which||e.charCode;if(nd.filter.call(this,e)){if((r===93||r===224)&&(r=91),Zo.indexOf(r)===-1&&r!==229&&Zo.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(p){var g=Ioe[p];e[p]&&Zo.indexOf(g)===-1?Zo.push(g):!e[p]&&Zo.indexOf(g)>-1?Zo.splice(Zo.indexOf(g),1):p==="metaKey"&&e[p]&&Zo.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(Zo=Zo.slice(Zo.indexOf(g))))}),r in uu){uu[r]=!0;for(var i in y2)y2[i]===r&&(nd[i]=!0);if(!n)return}for(var a in uu)Object.prototype.hasOwnProperty.call(uu,a)&&(uu[a]=e[Ioe[a]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(Zo.indexOf(17)===-1&&Zo.push(17),Zo.indexOf(18)===-1&&Zo.push(18),uu[17]=!0,uu[18]=!0);var o=VA();if(n)for(var s=0;s-1}function nd(e,t,n){Zo=[];var r=VWe(e),i=[],a="all",o=document,s=0,l=!1,u=!0,c="+",f=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(a=t.scope),t.element&&(o=t.element),t.keyup&&(l=t.keyup),t.keydown!==void 0&&(u=t.keydown),t.capture!==void 0&&(f=t.capture),typeof t.splitKey=="string"&&(c=t.splitKey)),typeof t=="string"&&(a=t);s1&&(i=GWe(y2,e)),e=e[e.length-1],e=e==="*"?"*":T$(e),e in ll||(ll[e]=[]),ll[e].push({keyup:l,keydown:u,scope:a,mods:i,shortcut:r[s],method:n,key:r[s],splitKey:c,element:o});typeof o<"u"&&!hzt(o)&&window&&(YWe.push(o),Xq(o,"keydown",function(d){Ewe(d,o)},f),_we||(_we=!0,Xq(window,"focus",function(){Zo=[]},f)),Xq(o,"keyup",function(d){Ewe(d,o),fzt(d)},f))}function pzt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(ll).forEach(function(n){var r=ll[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var Zq={setScope:XWe,getScope:VA,deleteScope:czt,getPressedKeyCodes:szt,isPressed:uzt,filter:lzt,trigger:pzt,unbind:dzt,keyMap:_he,modifier:y2,modifierMap:Ioe};for(var Qq in Zq)Object.prototype.hasOwnProperty.call(Zq,Qq)&&(nd[Qq]=Zq[Qq]);if(typeof window<"u"){var gzt=window.hotkeys;nd.noConflict=function(e){return e&&window.hotkeys===nd&&(window.hotkeys=gzt),nd},window.hotkeys=nd}nd.filter=function(){return!0};var JWe=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},mzt=function(t){return JWe(t,["INPUT","TEXTAREA","SELECT"])};function zr(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},a=i.enableOnTags,o=i.filter,s=i.keyup,l=i.keydown,u=i.filterPreventDefault,c=u===void 0?!0:u,f=i.enabled,d=f===void 0?!0:f,h=i.enableOnContentEditable,p=h===void 0?!1:h,g=C.useRef(null),b=C.useCallback(function(m,v){var w,k;return o&&!o(m)?!c:mzt(m)&&!JWe(m,a)||(w=m.target)!=null&&w.isContentEditable&&!p?!0:g.current===null||document.activeElement===g.current||(k=g.current)!=null&&k.contains(document.activeElement)?(t(m,v),!0):!1},r?[g,a,o].concat(r):[g,a,o]);return C.useEffect(function(){if(!d){nd.unbind(e,b);return}return s&&l!==!0&&(n.keydown=!1),nd(e,n||{},b),function(){return nd.unbind(e,b)}},[b,e,d]),g}nd.isPressed;const eW="focusScope.autoFocusOnMount",tW="focusScope.autoFocusOnUnmount",xwe={bubbles:!1,cancelable:!0},ZWe=C.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=C.useState(null),u=Ol(i),c=Ol(a),f=C.useRef(null),d=Ka(t,g=>l(g)),h=C.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;C.useEffect(()=>{if(r){let g=function(m){if(h.paused||!s)return;const v=m.target;s.contains(v)?f.current=v:Tb(f.current,{select:!0})},b=function(m){h.paused||!s||s.contains(m.relatedTarget)||Tb(f.current,{select:!0})};return document.addEventListener("focusin",g),document.addEventListener("focusout",b),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b)}}},[r,s,h.paused]),C.useEffect(()=>{if(s){Awe.add(h);const g=document.activeElement;if(!s.contains(g)){const m=new CustomEvent(eW,xwe);s.addEventListener(eW,u),s.dispatchEvent(m),m.defaultPrevented||(vzt(_zt(QWe(s)),{select:!0}),document.activeElement===g&&Tb(s))}return()=>{s.removeEventListener(eW,u),setTimeout(()=>{const m=new CustomEvent(tW,xwe);s.addEventListener(tW,c),s.dispatchEvent(m),m.defaultPrevented||Tb(g??document.body,{select:!0}),s.removeEventListener(tW,c),Awe.remove(h)},0)}}},[s,u,c,h]);const p=C.useCallback(g=>{if(!n&&!r||h.paused)return;const b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,m=document.activeElement;if(b&&m){const v=g.currentTarget,[w,k]=yzt(v);w&&k?!g.shiftKey&&m===k?(g.preventDefault(),n&&Tb(w,{select:!0})):g.shiftKey&&m===w&&(g.preventDefault(),n&&Tb(k,{select:!0})):m===v&&g.preventDefault()}},[n,r,h.paused]);return C.createElement(Kl.div,Ne({tabIndex:-1},o,{ref:d,onKeyDown:p}))});function vzt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Tb(r,{select:t}),document.activeElement!==n)return}function yzt(e){const t=QWe(e),n=Swe(t,e),r=Swe(t.reverse(),e);return[n,r]}function QWe(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Swe(e,t){for(const n of e)if(!bzt(n,{upTo:t}))return n}function bzt(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function wzt(e){return e instanceof HTMLInputElement&&"select"in e}function Tb(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&wzt(e)&&t&&e.select()}}const Awe=kzt();function kzt(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Twe(e,t),e.unshift(t)},remove(t){var n;e=Twe(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Twe(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function _zt(e){return e.filter(t=>t.tagName!=="A")}var wv=function(){return wv=Object.assign||function(t){for(var n,r=1,i=arguments.length;ro)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Tzt=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Dzt=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},nGe=function(e,t){return e==="v"?Szt(t):Azt(t)},rGe=function(e,t){return e==="v"?Tzt(t):Dzt(t)},Izt=function(e,t){return e==="h"&&t==="rtl"?-1:1},Rzt=function(e,t,n,r,i){var a=Izt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,l=t.contains(s),u=!1,c=o>0,f=0,d=0;do{var h=rGe(e,s),p=h[0],g=h[1],b=h[2],m=g-b-a*p;(p||m)&&nGe(e,s)&&(f+=m,d+=p),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(i&&f===0||!i&&o>f)||!c&&(i&&d===0||!i&&-o>d))&&(u=!0),u},hI=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Iwe=function(e){return[e.deltaX,e.deltaY]},Rwe=function(e){return e&&"current"in e?e.current:e},Mzt=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ozt=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},Ozt=0,Zw=[];function Lzt(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),i=C.useState(Ozt++)[0],a=C.useState(function(){return lhe()})[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=Czt([e.lockRef.current],(e.shards||[]).map(Rwe),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=C.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!o.current.allowPinchZoom;var m=hI(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-m[0],k="deltaY"in g?g.deltaY:v[1]-m[1],E,S=g.target,T=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&S.type==="range")return!1;var L=Dwe(T,S);if(!L)return!0;if(L?E=T:(E=T==="v"?"h":"v",L=Dwe(T,S)),!L)return!1;if(!r.current&&"changedTouches"in g&&(w||k)&&(r.current=E),!E)return!0;var M=r.current||E;return Izt(M,b,g,M==="h"?w:k,!0)},[]),l=C.useCallback(function(g){var b=g;if(!(!Zw.length||Zw[Zw.length-1]!==a)){var m="deltaY"in b?Iwe(b):hI(b),v=t.current.filter(function(E){return E.name===b.type&&E.target===b.target&&Rzt(E.delta,m)})[0];if(v&&v.should){b.cancelable&&b.preventDefault();return}if(!v){var w=(o.current.shards||[]).map(Rwe).filter(Boolean).filter(function(E){return E.contains(b.target)}),k=w.length>0?s(b,w[0]):!o.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=C.useCallback(function(g,b,m,v){var w={name:g,delta:b,target:m,should:v};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),c=C.useCallback(function(g){n.current=hI(g),r.current=void 0},[]),f=C.useCallback(function(g){u(g.type,Iwe(g),g.target,s(g,e.lockRef.current))},[]),d=C.useCallback(function(g){u(g.type,hI(g),g.target,s(g,e.lockRef.current))},[]);C.useEffect(function(){return Zw.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Jw),document.addEventListener("touchmove",l,Jw),document.addEventListener("touchstart",c,Jw),function(){Zw=Zw.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Jw),document.removeEventListener("touchmove",l,Jw),document.removeEventListener("touchstart",c,Jw)}},[]);var h=e.removeScrollBar,p=e.inert;return C.createElement(C.Fragment,null,p?C.createElement(a,{styles:Mzt(i)}):null,h?C.createElement(Wqe,{gapMode:"margin"}):null)}const Bzt=Hqe(eGe,Lzt);var iGe=C.forwardRef(function(e,t){return C.createElement(D$,wv({},e,{ref:t,sideCar:Bzt}))});iGe.classNames=D$.classNames;const aGe=iGe,oGe="Dialog",[sGe,lGe]=Ih(oGe),[Pzt,U0]=sGe(oGe),Fzt=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=C.useRef(null),l=C.useRef(null),[u=!1,c]=k3({prop:r,defaultProp:i,onChange:a});return C.createElement(Pzt,{scope:t,triggerRef:s,contentRef:l,contentId:Xp(),titleId:Xp(),descriptionId:Xp(),open:u,onOpenChange:c,onOpenToggle:C.useCallback(()=>c(f=>!f),[c]),modal:o},n)},Nzt="DialogTrigger",$zt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Nzt,n),a=Ka(t,i.triggerRef);return C.createElement(Kl.button,Ne({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Che(i.open)},r,{ref:a,onClick:qr(e.onClick,i.onOpenToggle)}))}),uGe="DialogPortal",[zzt,cGe]=sGe(uGe,{forceMount:void 0}),Uzt=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=U0(uGe,t);return C.createElement(zzt,{scope:t,forceMount:n},C.Children.map(r,o=>C.createElement(b1,{present:n||a.open},C.createElement(R$t,{asChild:!0,container:i},o))))},Moe="DialogOverlay",jzt=C.forwardRef((e,t)=>{const n=cGe(Moe,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=U0(Moe,e.__scopeDialog);return a.modal?C.createElement(b1,{present:r||a.open},C.createElement(Hzt,Ne({},i,{ref:t}))):null}),Hzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Moe,n);return C.createElement(aGe,{as:E$,allowPinchZoom:!0,shards:[i.contentRef]},C.createElement(Kl.div,Ne({"data-state":Che(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),p_="DialogContent",qzt=C.forwardRef((e,t)=>{const n=cGe(p_,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=U0(p_,e.__scopeDialog);return C.createElement(b1,{present:r||a.open},a.modal?C.createElement(Wzt,Ne({},i,{ref:t})):C.createElement(Gzt,Ne({},i,{ref:t})))}),Wzt=C.forwardRef((e,t)=>{const n=U0(p_,e.__scopeDialog),r=C.useRef(null),i=Ka(t,n.contentRef,r);return C.useEffect(()=>{const a=r.current;if(a)return she(a)},[]),C.createElement(fGe,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qr(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)===null||o===void 0||o.focus()}),onPointerDownOutside:qr(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&a.preventDefault()}),onFocusOutside:qr(e.onFocusOutside,a=>a.preventDefault())}))}),Gzt=C.forwardRef((e,t)=>{const n=U0(p_,e.__scopeDialog),r=C.useRef(!1);return C.createElement(fGe,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var o;r.current||(o=n.triggerRef.current)===null||o===void 0||o.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var a,o;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0);const s=i.target;((o=n.triggerRef.current)===null||o===void 0?void 0:o.contains(s))&&i.preventDefault()}}))}),fGe=C.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=U0(p_,n),l=C.useRef(null),u=Ka(t,l);return Vde(),C.createElement(C.Fragment,null,C.createElement(ZWe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a},C.createElement(yhe,Ne({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Che(s.open)},o,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),dGe="DialogTitle",Vzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(dGe,n);return C.createElement(Kl.h2,Ne({id:i.titleId},r,{ref:t}))}),Kzt="DialogDescription",Yzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Kzt,n);return C.createElement(Kl.p,Ne({id:i.descriptionId},r,{ref:t}))}),Xzt="DialogClose",Jzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Xzt,n);return C.createElement(Kl.button,Ne({type:"button"},r,{ref:t,onClick:qr(e.onClick,()=>i.onOpenChange(!1))}))});function Che(e){return e?"open":"closed"}const Zzt="DialogTitleWarning",[Qzt,G0a]=YMt(Zzt,{contentName:p_,titleName:dGe,docsSlug:"dialog"}),hGe=Fzt,pGe=$zt,gGe=Uzt,mGe=jzt,vGe=qzt,eUt=Vzt,tUt=Yzt,Ehe=Jzt,nUt="AlertDialog",[rUt,V0a]=Ih(nUt,[lGe]),K2=lGe(),iUt=e=>{const{__scopeAlertDialog:t,...n}=e,r=K2(t);return C.createElement(hGe,Ne({},r,n,{modal:!0}))},aUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(pGe,Ne({},i,r,{ref:t}))}),oUt=e=>{const{__scopeAlertDialog:t,...n}=e,r=K2(t);return C.createElement(gGe,Ne({},r,n))},sUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(mGe,Ne({},i,r,{ref:t}))}),yGe="AlertDialogContent",[lUt,uUt]=rUt(yGe),cUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...i}=e,a=K2(n),o=C.useRef(null),s=Ka(t,o),l=C.useRef(null);return C.createElement(Qzt,{contentName:yGe,titleName:fUt,docsSlug:"alert-dialog"},C.createElement(lUt,{scope:n,cancelRef:l},C.createElement(vGe,Ne({role:"alertdialog"},a,i,{ref:s,onOpenAutoFocus:qr(i.onOpenAutoFocus,u=>{var c;u.preventDefault(),(c=l.current)===null||c===void 0||c.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),C.createElement(vhe,null,r),!1)))}),fUt="AlertDialogTitle",dUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(tUt,Ne({},i,r,{ref:t}))}),hUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(Ehe,Ne({},i,r,{ref:t}))}),pUt="AlertDialogCancel",gUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:i}=uUt(pUt,n),a=K2(n),o=Ka(t,i);return C.createElement(Ehe,Ne({},a,r,{ref:o}))}),xhe=iUt,mUt=aUt,She=oUt,I$=sUt,Ahe=cUt,sB=hUt,bGe=gUt,vUt=dUt,wGe="Popper",[The,kGe]=Ih(wGe),[yUt,_Ge]=The(wGe),bUt=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(yUt,{scope:t,anchor:r,onAnchorChange:i},n)},wUt="PopperAnchor",kUt=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=_Ge(wUt,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(Kl.div,Ne({},i,{ref:s}))}),lB="PopperContent",[_Ut,K0a]=The(lB),[CUt,EUt]=The(lB,{hasParent:!1,positionUpdateFns:new Set}),xUt=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,onPlaced:E,...S}=e,T=_Ge(lB,c),[L,M]=C.useState(null),D=Ka(t,Ie=>M(Ie)),[I,B]=C.useState(null),N=ihe(I),O=(n=N?.width)!==null&&n!==void 0?n:0,R=(r=N?.height)!==null&&r!==void 0?r:0,P=f+(h!=="center"?"-"+h:""),H=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(b)?b:[b],q=F.length>0,V={padding:H,boundary:F.filter(AUt),altBoundary:q},{reference:X,floating:G,strategy:J,x:te,y:re,placement:Q,middlewareData:ae,update:le}=nhe({strategy:"fixed",placement:P,whileElementsMounted:the,middleware:[TUt(),Jde({mainAxis:d+R,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...V}):void 0,I?rhe({element:I,padding:g}):void 0,k?Yde({...V}):void 0,wqe({...V,apply:({elements:Ie,availableWidth:Be,availableHeight:we})=>{Ie.floating.style.setProperty("--radix-popper-available-width",`${Be}px`),Ie.floating.style.setProperty("--radix-popper-available-height",`${we}px`)}}),DUt({arrowWidth:O,arrowHeight:R}),w?Xde({strategy:"referenceHidden"}):void 0].filter(SUt)});mf(()=>{X(T.anchor)},[X,T.anchor]);const oe=te!==null&&re!==null,[ee,ne]=CGe(Q),ue=Ol(E);mf(()=>{oe&&ue?.()},[oe,ue]);const Ae=(i=ae.arrow)===null||i===void 0?void 0:i.x,ce=(a=ae.arrow)===null||a===void 0?void 0:a.y,be=((o=ae.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ge,ve]=C.useState();mf(()=>{L&&ve(window.getComputedStyle(L).zIndex)},[L]);const{hasParent:ie,positionUpdateFns:he}=EUt(lB,c),$e=!ie;C.useLayoutEffect(()=>{if(!$e)return he.add(le),()=>{he.delete(le)}},[$e,he,le]),mf(()=>{$e&&oe&&Array.from(he).reverse().forEach(Ie=>requestAnimationFrame(Ie))},[$e,oe,he]);const De={"data-side":ee,"data-align":ne,...S,ref:D,style:{...S.style,animation:oe?void 0:"none",opacity:(s=ae.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:J,left:0,top:0,transform:oe?`translate3d(${Math.round(te)}px, ${Math.round(re)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[(l=ae.transformOrigin)===null||l===void 0?void 0:l.x,(u=ae.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},C.createElement(_Ut,{scope:c,placedSide:ee,onArrowChange:B,arrowX:Ae,arrowY:ce,shouldHideArrow:be},$e?C.createElement(CUt,{scope:c,hasParent:!0,positionUpdateFns:he},C.createElement(Kl.div,De)):C.createElement(Kl.div,De)))});function SUt(e){return e!==void 0}function AUt(e){return e!==null}const TUt=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:i}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${i}px`),{}}}),DUt=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=CGe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function CGe(e){const[t,n="center"]=e.split("-");return[t,n]}const IUt=bUt,EGe=kUt,RUt=xUt,xGe="Popover",[SGe,Y0a]=Ih(xGe,[kGe]),R$=kGe(),[MUt,rE]=SGe(xGe),OUt=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=R$(t),l=C.useRef(null),[u,c]=C.useState(!1),[f=!1,d]=k3({prop:r,defaultProp:i,onChange:a});return C.createElement(IUt,s,C.createElement(MUt,{scope:t,contentId:Xp(),triggerRef:l,open:f,onOpenChange:d,onOpenToggle:C.useCallback(()=>d(h=>!h),[d]),hasCustomAnchor:u,onCustomAnchorAdd:C.useCallback(()=>c(!0),[]),onCustomAnchorRemove:C.useCallback(()=>c(!1),[]),modal:o},n))},LUt="PopoverAnchor",BUt=C.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=rE(LUt,n),a=R$(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return C.useEffect(()=>(o(),()=>s()),[o,s]),C.createElement(EGe,Ne({},a,r,{ref:t}))}),PUt="PopoverTrigger",FUt=C.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=rE(PUt,n),a=R$(n),o=Ka(t,i.triggerRef),s=C.createElement(Kl.button,Ne({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":TGe(i.open)},r,{ref:o,onClick:qr(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?s:C.createElement(EGe,Ne({asChild:!0},a),s)}),NUt="PopoverPortal",[X0a,$Ut]=SGe(NUt,{forceMount:void 0}),KA="PopoverContent",zUt=C.forwardRef((e,t)=>{const n=$Ut(KA,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=rE(KA,e.__scopePopover);return C.createElement(b1,{present:r||a.open},a.modal?C.createElement(UUt,Ne({},i,{ref:t})):C.createElement(jUt,Ne({},i,{ref:t})))}),UUt=C.forwardRef((e,t)=>{const n=rE(KA,e.__scopePopover),r=C.useRef(null),i=Ka(t,r),a=C.useRef(!1);return C.useEffect(()=>{const o=r.current;if(o)return she(o)},[]),C.createElement(aGe,{as:E$,allowPinchZoom:!0},C.createElement(AGe,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qr(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:qr(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:qr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})))}),jUt=C.forwardRef((e,t)=>{const n=rE(KA,e.__scopePopover),r=C.useRef(!1);return C.createElement(AGe,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var o;r.current||(o=n.triggerRef.current)===null||o===void 0||o.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var a,o;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0);const s=i.target;((o=n.triggerRef.current)===null||o===void 0?void 0:o.contains(s))&&i.preventDefault()}}))}),AGe=C.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=rE(KA,n),h=R$(n);return Vde(),C.createElement(ZWe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a},C.createElement(yhe,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},C.createElement(RUt,Ne({"data-state":TGe(d.open),role:"dialog",id:d.contentId},h,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function TGe(e){return e?"open":"closed"}const HUt=OUt,qUt=BUt,WUt=FUt,GUt=zUt,iE=(()=>{if(typeof self>"u")return!1;if("top"in self&&self!==top)try{}catch{return!1}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1})(),VUt=iE?Promise.resolve().then(function(){return ZUt}):Promise.resolve().then(function(){return tjt});async function Dhe(...e){return(await VUt).default(...e)}const KUt=iE?Promise.resolve().then(function(){return QUt}):Promise.resolve().then(function(){return njt});async function YUt(...e){return(await KUt).default(...e)}const XUt=iE?Promise.resolve().then(function(){return ejt}):Promise.resolve().then(function(){return rjt});async function DGe(...e){return(await XUt).default(...e)}const JUt=async e=>{const t=await e.getFile();return t.handle=e,t};var IGe=async(e=[{}])=>{Array.isArray(e)||(e=[e]);const t=[];e.forEach((i,a)=>{t[a]={description:i.description||"Files",accept:{}},i.mimeTypes?i.mimeTypes.map(o=>{t[a].accept[o]=i.extensions||[]}):t[a].accept["*/*"]=i.extensions||[]});const n=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),r=await Promise.all(n.map(JUt));return e[0].multiple?r:r[0]},ZUt={__proto__:null,default:IGe};function uO(e){function t(n){if(Object(n)!==n)return Promise.reject(new TypeError(n+" is not an object."));var r=n.done;return Promise.resolve(n.value).then(function(i){return{value:i,done:r}})}return uO=function(n){this.s=n,this.n=n.next},uO.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(n){var r=this.s.return;return r===void 0?Promise.resolve({value:n,done:!0}):t(r.apply(this.s,arguments))},throw:function(n){var r=this.s.return;return r===void 0?Promise.reject(n):t(r.apply(this.s,arguments))}},new uO(e)}const RGe=async(e,t,n=e.name,r)=>{const i=[],a=[];var o,s=!1,l=!1;try{for(var u,c=function(f){var d,h,p,g=2;for(typeof Symbol<"u"&&(h=Symbol.asyncIterator,p=Symbol.iterator);g--;){if(h&&(d=f[h])!=null)return d.call(f);if(p&&(d=f[p])!=null)return new uO(d.call(f));h="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}(e.values());s=!(u=await c.next()).done;s=!1){const f=u.value,d=`${n}/${f.name}`;f.kind==="file"?a.push(f.getFile().then(h=>(h.directoryHandle=e,h.handle=f,Object.defineProperty(h,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>d})))):f.kind!=="directory"||!t||r&&r(f)||i.push(RGe(f,t,d,r))}}catch(f){l=!0,o=f}finally{try{s&&c.return!=null&&await c.return()}finally{if(l)throw o}}return[...(await Promise.all(i)).flat(),...await Promise.all(a)]};var MGe=async(e={})=>{e.recursive=e.recursive||!1,e.mode=e.mode||"read";const t=await window.showDirectoryPicker({id:e.id,startIn:e.startIn,mode:e.mode});return RGe(t,e.recursive,void 0,e.skipDirectory)},QUt={__proto__:null,default:MGe},OGe=async(e,t=[{}],n=null,r=!1,i=null)=>{Array.isArray(t)||(t=[t]),t[0].fileName=t[0].fileName||"Untitled";const a=[];let o=null;if(e instanceof Blob&&e.type?o=e.type:e.headers&&e.headers.get("content-type")&&(o=e.headers.get("content-type")),t.forEach((u,c)=>{a[c]={description:u.description||"Files",accept:{}},u.mimeTypes?(c===0&&o&&u.mimeTypes.push(o),u.mimeTypes.map(f=>{a[c].accept[f]=u.extensions||[]})):o?a[c].accept[o]=u.extensions||[]:a[c].accept["*/*"]=u.extensions||[]}),n)try{await n.getFile()}catch(u){if(n=null,r)throw u}const s=n||await window.showSaveFilePicker({suggestedName:t[0].fileName,id:t[0].id,startIn:t[0].startIn,types:a,excludeAcceptAllOption:t[0].excludeAcceptAllOption||!1});!n&&i&&i(s);const l=await s.createWritable();return"stream"in e?(await e.stream().pipeTo(l),s):"body"in e?(await e.body.pipeTo(l),s):(await l.write(await e),await l.close(),s)},ejt={__proto__:null,default:OGe},LGe=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,n)=>{const r=document.createElement("input");r.type="file";const i=[...e.map(l=>l.mimeTypes||[]),...e.map(l=>l.extensions||[])].join();r.multiple=e[0].multiple||!1,r.accept=i||"",r.style.display="none",document.body.append(r);const a=l=>{typeof o=="function"&&o(),t(l)},o=e[0].legacySetup&&e[0].legacySetup(a,()=>o(n),r),s=()=>{window.removeEventListener("focus",s),r.remove()};r.addEventListener("click",()=>{window.addEventListener("focus",s)}),r.addEventListener("change",()=>{window.removeEventListener("focus",s),r.remove(),a(r.multiple?Array.from(r.files):r.files[0])}),"showPicker"in HTMLInputElement.prototype?r.showPicker():r.click()})),tjt={__proto__:null,default:LGe},BGe=async(e=[{}])=>(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((t,n)=>{const r=document.createElement("input");r.type="file",r.webkitdirectory=!0;const i=o=>{typeof a=="function"&&a(),t(o)},a=e[0].legacySetup&&e[0].legacySetup(i,()=>a(n),r);r.addEventListener("change",()=>{let o=Array.from(r.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(o=o.filter(s=>s.webkitRelativePath.split("/").every(l=>!e[0].skipDirectory({name:l,kind:"directory"})))):o=o.filter(s=>s.webkitRelativePath.split("/").length===2),i(o)}),"showPicker"in HTMLInputElement.prototype?r.showPicker():r.click()})),njt={__proto__:null,default:BGe},PGe=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);const n=document.createElement("a");let r=e;"body"in e&&(r=await async function(o,s){const l=o.getReader(),u=new ReadableStream({start:d=>async function h(){return l.read().then(({done:p,value:g})=>{if(!p)return d.enqueue(g),h();d.close()})}()}),c=new Response(u),f=await c.blob();return l.releaseLock(),new Blob([f],{type:s})}(e.body,e.headers.get("content-type"))),n.download=t.fileName||"Untitled",n.href=URL.createObjectURL(await r);const i=()=>{typeof a=="function"&&a()},a=t.legacySetup&&t.legacySetup(i,()=>a(),n);return n.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(n.href),3e4),i()}),n.click(),null},rjt={__proto__:null,default:PGe};const ijt=Object.freeze(Object.defineProperty({__proto__:null,directoryOpen:YUt,directoryOpenLegacy:BGe,directoryOpenModern:MGe,fileOpen:Dhe,fileOpenLegacy:LGe,fileOpenModern:IGe,fileSave:DGe,fileSaveLegacy:PGe,fileSaveModern:OGe,supported:iE},Symbol.toStringTag,{value:"Module"}));function Ihe(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function ajt(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Ihe(n);return(i,a)=>r.then(o=>a(o.transaction(t,i).objectStore(t)))}let rW;function FGe(){return rW||(rW=ajt("keyval-store","keyval")),rW}function uB(e,t=FGe()){return t("readonly",n=>Ihe(n.get(e)))}function BS(e,t,n=FGe()){return n("readwrite",r=>(r.put(t,e),Ihe(r.transaction)))}const Mwe=e=>{let t;const n=new Set,r=(l,u)=>{const c=typeof l=="function"?l(t):l;if(!Object.is(c,t)){const f=t;t=u??typeof c!="object"?c:Object.assign({},t,c),n.forEach(d=>d(t,f))}},i=()=>t,s={setState:r,getState:i,subscribe:l=>(n.add(l),()=>n.delete(l)),destroy:()=>{({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="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."),n.clear()}};return t=e(r,i,s),s},NGe=e=>e?Mwe(e):Mwe;var ojt=e=>(({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] Default export is deprecated. Instead use import { createStore } from 'zustand/vanilla'."),NGe(e));const{useSyncExternalStoreWithSelector:sjt}=Agt;function ljt(e,t=e.getState,n){const r=sjt(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return C.useDebugValue(r),r}const Owe=e=>{({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?NGe(e):e,n=(r,i)=>ljt(t,r,i);return Object.assign(n,t),n},ujt=e=>e?Owe(e):Owe;var cjt=e=>(({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`."),ujt(e)),Rhe=Object.defineProperty,fjt=Object.defineProperties,djt=Object.getOwnPropertyDescriptor,hjt=Object.getOwnPropertyDescriptors,pjt=Object.getOwnPropertyNames,cB=Object.getOwnPropertySymbols,Mhe=Object.prototype.hasOwnProperty,$Ge=Object.prototype.propertyIsEnumerable,Ooe=(e,t,n)=>t in e?Rhe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mt=(e,t)=>{for(var n in t||(t={}))Mhe.call(t,n)&&Ooe(e,n,t[n]);if(cB)for(var n of cB(t))$Ge.call(t,n)&&Ooe(e,n,t[n]);return e},Zt=(e,t)=>fjt(e,hjt(t)),Rh=(e,t)=>{var n={};for(var r in e)Mhe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cB)for(var r of cB(e))t.indexOf(r)<0&&$Ge.call(e,r)&&(n[r]=e[r]);return n},gjt=(e,t)=>{for(var n in t)Rhe(e,n,{get:t[n],enumerable:!0})},mjt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of pjt(t))!Mhe.call(e,i)&&(n||i!=="default")&&Rhe(e,i,{get:()=>t[i],enumerable:!(r=djt(t,i))||r.enumerable});return e},Ce=(e,t,n)=>(Ooe(e,typeof t!="symbol"?t+"":t,n),n),ai=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{s(n.next(l))}catch(u){i(u)}},o=l=>{try{s(n.throw(l))}catch(u){i(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,o);s((n=n.apply(e,t)).next())}),{styled:Hn,createTheme:vjt}=MWe({themeMap:mt({},IWe),theme:{colors:{bounds:"rgba(65, 132, 244, 1.000)",boundsBg:"rgba(65, 132, 244, 0.05)",hover:"#ececec",overlay:"rgba(0, 0, 0, 0.15)",overlayContrast:"rgba(255, 255, 255, 0.15)",panel:"#fefefe",panelContrast:"#ffffff",selected:"rgba(66, 133, 244, 1.000)",selectedContrast:"#fefefe",text:"#333333",tooltip:"#1d1d1d",tooltipContrast:"#ffffff",warn:"rgba(255, 100, 100, 1)",canvas:"rgb(248, 249, 250)"},shadows:{2:"0px 1px 1px rgba(0, 0, 0, 0.14)",3:"0px 2px 3px rgba(0, 0, 0, 0.14)",4:"0px 4px 5px -1px rgba(0, 0, 0, 0.14)",8:"0px 12px 17px rgba(0, 0, 0, 0.14)",12:"0px 12px 17px rgba(0, 0, 0, 0.14)",24:"0px 24px 38px rgba(0, 0, 0, 0.14)",key:"1px 1px rgba(0,0,0,1)",panel:`0px 0px 16px -1px rgba(0, 0, 0, 0.05), +`)},Lzt=0,Zw=[];function Bzt(e){var t=C.useRef([]),n=C.useRef([0,0]),r=C.useRef(),i=C.useState(Lzt++)[0],a=C.useState(function(){return lhe()})[0],o=C.useRef(e);C.useEffect(function(){o.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=Ezt([e.lockRef.current],(e.shards||[]).map(Rwe),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=C.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!o.current.allowPinchZoom;var m=hI(g),v=n.current,w="deltaX"in g?g.deltaX:v[0]-m[0],k="deltaY"in g?g.deltaY:v[1]-m[1],E,S=g.target,T=Math.abs(w)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&S.type==="range")return!1;var L=Dwe(T,S);if(!L)return!0;if(L?E=T:(E=T==="v"?"h":"v",L=Dwe(T,S)),!L)return!1;if(!r.current&&"changedTouches"in g&&(w||k)&&(r.current=E),!E)return!0;var M=r.current||E;return Rzt(M,b,g,M==="h"?w:k,!0)},[]),l=C.useCallback(function(g){var b=g;if(!(!Zw.length||Zw[Zw.length-1]!==a)){var m="deltaY"in b?Iwe(b):hI(b),v=t.current.filter(function(E){return E.name===b.type&&E.target===b.target&&Mzt(E.delta,m)})[0];if(v&&v.should){b.cancelable&&b.preventDefault();return}if(!v){var w=(o.current.shards||[]).map(Rwe).filter(Boolean).filter(function(E){return E.contains(b.target)}),k=w.length>0?s(b,w[0]):!o.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=C.useCallback(function(g,b,m,v){var w={name:g,delta:b,target:m,should:v};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(k){return k!==w})},1)},[]),c=C.useCallback(function(g){n.current=hI(g),r.current=void 0},[]),f=C.useCallback(function(g){u(g.type,Iwe(g),g.target,s(g,e.lockRef.current))},[]),d=C.useCallback(function(g){u(g.type,hI(g),g.target,s(g,e.lockRef.current))},[]);C.useEffect(function(){return Zw.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Jw),document.addEventListener("touchmove",l,Jw),document.addEventListener("touchstart",c,Jw),function(){Zw=Zw.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,Jw),document.removeEventListener("touchmove",l,Jw),document.removeEventListener("touchstart",c,Jw)}},[]);var h=e.removeScrollBar,p=e.inert;return C.createElement(C.Fragment,null,p?C.createElement(a,{styles:Ozt(i)}):null,h?C.createElement(Wqe,{gapMode:"margin"}):null)}const Pzt=Hqe(eGe,Bzt);var iGe=C.forwardRef(function(e,t){return C.createElement(D$,wv({},e,{ref:t,sideCar:Pzt}))});iGe.classNames=D$.classNames;const aGe=iGe,oGe="Dialog",[sGe,lGe]=Ih(oGe),[Fzt,U0]=sGe(oGe),Nzt=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=C.useRef(null),l=C.useRef(null),[u=!1,c]=k3({prop:r,defaultProp:i,onChange:a});return C.createElement(Fzt,{scope:t,triggerRef:s,contentRef:l,contentId:Xp(),titleId:Xp(),descriptionId:Xp(),open:u,onOpenChange:c,onOpenToggle:C.useCallback(()=>c(f=>!f),[c]),modal:o},n)},$zt="DialogTrigger",zzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0($zt,n),a=Ka(t,i.triggerRef);return C.createElement(Kl.button,Ne({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Che(i.open)},r,{ref:a,onClick:qr(e.onClick,i.onOpenToggle)}))}),uGe="DialogPortal",[Uzt,cGe]=sGe(uGe,{forceMount:void 0}),jzt=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=U0(uGe,t);return C.createElement(Uzt,{scope:t,forceMount:n},C.Children.map(r,o=>C.createElement(b1,{present:n||a.open},C.createElement(M$t,{asChild:!0,container:i},o))))},Moe="DialogOverlay",Hzt=C.forwardRef((e,t)=>{const n=cGe(Moe,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=U0(Moe,e.__scopeDialog);return a.modal?C.createElement(b1,{present:r||a.open},C.createElement(qzt,Ne({},i,{ref:t}))):null}),qzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Moe,n);return C.createElement(aGe,{as:E$,allowPinchZoom:!0,shards:[i.contentRef]},C.createElement(Kl.div,Ne({"data-state":Che(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),p_="DialogContent",Wzt=C.forwardRef((e,t)=>{const n=cGe(p_,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=U0(p_,e.__scopeDialog);return C.createElement(b1,{present:r||a.open},a.modal?C.createElement(Gzt,Ne({},i,{ref:t})):C.createElement(Vzt,Ne({},i,{ref:t})))}),Gzt=C.forwardRef((e,t)=>{const n=U0(p_,e.__scopeDialog),r=C.useRef(null),i=Ka(t,n.contentRef,r);return C.useEffect(()=>{const a=r.current;if(a)return she(a)},[]),C.createElement(fGe,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qr(e.onCloseAutoFocus,a=>{var o;a.preventDefault(),(o=n.triggerRef.current)===null||o===void 0||o.focus()}),onPointerDownOutside:qr(e.onPointerDownOutside,a=>{const o=a.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&a.preventDefault()}),onFocusOutside:qr(e.onFocusOutside,a=>a.preventDefault())}))}),Vzt=C.forwardRef((e,t)=>{const n=U0(p_,e.__scopeDialog),r=C.useRef(!1);return C.createElement(fGe,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var o;r.current||(o=n.triggerRef.current)===null||o===void 0||o.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var a,o;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0);const s=i.target;((o=n.triggerRef.current)===null||o===void 0?void 0:o.contains(s))&&i.preventDefault()}}))}),fGe=C.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=U0(p_,n),l=C.useRef(null),u=Ka(t,l);return Vde(),C.createElement(C.Fragment,null,C.createElement(ZWe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a},C.createElement(yhe,Ne({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Che(s.open)},o,{ref:u,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),dGe="DialogTitle",Kzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(dGe,n);return C.createElement(Kl.h2,Ne({id:i.titleId},r,{ref:t}))}),Yzt="DialogDescription",Xzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Yzt,n);return C.createElement(Kl.p,Ne({id:i.descriptionId},r,{ref:t}))}),Jzt="DialogClose",Zzt=C.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=U0(Jzt,n);return C.createElement(Kl.button,Ne({type:"button"},r,{ref:t,onClick:qr(e.onClick,()=>i.onOpenChange(!1))}))});function Che(e){return e?"open":"closed"}const Qzt="DialogTitleWarning",[eUt,G0a]=XMt(Qzt,{contentName:p_,titleName:dGe,docsSlug:"dialog"}),hGe=Nzt,pGe=zzt,gGe=jzt,mGe=Hzt,vGe=Wzt,tUt=Kzt,nUt=Xzt,Ehe=Zzt,rUt="AlertDialog",[iUt,V0a]=Ih(rUt,[lGe]),K2=lGe(),aUt=e=>{const{__scopeAlertDialog:t,...n}=e,r=K2(t);return C.createElement(hGe,Ne({},r,n,{modal:!0}))},oUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(pGe,Ne({},i,r,{ref:t}))}),sUt=e=>{const{__scopeAlertDialog:t,...n}=e,r=K2(t);return C.createElement(gGe,Ne({},r,n))},lUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(mGe,Ne({},i,r,{ref:t}))}),yGe="AlertDialogContent",[uUt,cUt]=iUt(yGe),fUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...i}=e,a=K2(n),o=C.useRef(null),s=Ka(t,o),l=C.useRef(null);return C.createElement(eUt,{contentName:yGe,titleName:dUt,docsSlug:"alert-dialog"},C.createElement(uUt,{scope:n,cancelRef:l},C.createElement(vGe,Ne({role:"alertdialog"},a,i,{ref:s,onOpenAutoFocus:qr(i.onOpenAutoFocus,u=>{var c;u.preventDefault(),(c=l.current)===null||c===void 0||c.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault()}),C.createElement(vhe,null,r),!1)))}),dUt="AlertDialogTitle",hUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(nUt,Ne({},i,r,{ref:t}))}),pUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,i=K2(n);return C.createElement(Ehe,Ne({},i,r,{ref:t}))}),gUt="AlertDialogCancel",mUt=C.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:i}=cUt(gUt,n),a=K2(n),o=Ka(t,i);return C.createElement(Ehe,Ne({},a,r,{ref:o}))}),xhe=aUt,vUt=oUt,She=sUt,I$=lUt,Ahe=fUt,sB=pUt,bGe=mUt,yUt=hUt,wGe="Popper",[The,kGe]=Ih(wGe),[bUt,_Ge]=The(wGe),wUt=e=>{const{__scopePopper:t,children:n}=e,[r,i]=C.useState(null);return C.createElement(bUt,{scope:t,anchor:r,onAnchorChange:i},n)},kUt="PopperAnchor",_Ut=C.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=_Ge(kUt,n),o=C.useRef(null),s=Ka(t,o);return C.useEffect(()=>{a.onAnchorChange(r?.current||o.current)}),r?null:C.createElement(Kl.div,Ne({},i,{ref:s}))}),lB="PopperContent",[CUt,K0a]=The(lB),[EUt,xUt]=The(lB,{hasParent:!1,positionUpdateFns:new Set}),SUt=C.forwardRef((e,t)=>{var n,r,i,a,o,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:h="center",alignOffset:p=0,arrowPadding:g=0,collisionBoundary:b=[],collisionPadding:m=0,sticky:v="partial",hideWhenDetached:w=!1,avoidCollisions:k=!0,onPlaced:E,...S}=e,T=_Ge(lB,c),[L,M]=C.useState(null),D=Ka(t,Ie=>M(Ie)),[I,B]=C.useState(null),N=ihe(I),O=(n=N?.width)!==null&&n!==void 0?n:0,R=(r=N?.height)!==null&&r!==void 0?r:0,P=f+(h!=="center"?"-"+h:""),H=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},F=Array.isArray(b)?b:[b],q=F.length>0,V={padding:H,boundary:F.filter(TUt),altBoundary:q},{reference:X,floating:G,strategy:J,x:te,y:re,placement:Q,middlewareData:ae,update:le}=nhe({strategy:"fixed",placement:P,whileElementsMounted:the,middleware:[DUt(),Jde({mainAxis:d+R,alignmentAxis:p}),k?Zde({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?Qde():void 0,...V}):void 0,I?rhe({element:I,padding:g}):void 0,k?Yde({...V}):void 0,wqe({...V,apply:({elements:Ie,availableWidth:Be,availableHeight:we})=>{Ie.floating.style.setProperty("--radix-popper-available-width",`${Be}px`),Ie.floating.style.setProperty("--radix-popper-available-height",`${we}px`)}}),IUt({arrowWidth:O,arrowHeight:R}),w?Xde({strategy:"referenceHidden"}):void 0].filter(AUt)});mf(()=>{X(T.anchor)},[X,T.anchor]);const oe=te!==null&&re!==null,[ee,ne]=CGe(Q),ue=Ol(E);mf(()=>{oe&&ue?.()},[oe,ue]);const Ae=(i=ae.arrow)===null||i===void 0?void 0:i.x,ce=(a=ae.arrow)===null||a===void 0?void 0:a.y,be=((o=ae.arrow)===null||o===void 0?void 0:o.centerOffset)!==0,[ge,ve]=C.useState();mf(()=>{L&&ve(window.getComputedStyle(L).zIndex)},[L]);const{hasParent:ie,positionUpdateFns:he}=xUt(lB,c),$e=!ie;C.useLayoutEffect(()=>{if(!$e)return he.add(le),()=>{he.delete(le)}},[$e,he,le]),mf(()=>{$e&&oe&&Array.from(he).reverse().forEach(Ie=>requestAnimationFrame(Ie))},[$e,oe,he]);const De={"data-side":ee,"data-align":ne,...S,ref:D,style:{...S.style,animation:oe?void 0:"none",opacity:(s=ae.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return C.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:J,left:0,top:0,transform:oe?`translate3d(${Math.round(te)}px, ${Math.round(re)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ge,["--radix-popper-transform-origin"]:[(l=ae.transformOrigin)===null||l===void 0?void 0:l.x,(u=ae.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")},dir:e.dir},C.createElement(CUt,{scope:c,placedSide:ee,onArrowChange:B,arrowX:Ae,arrowY:ce,shouldHideArrow:be},$e?C.createElement(EUt,{scope:c,hasParent:!0,positionUpdateFns:he},C.createElement(Kl.div,De)):C.createElement(Kl.div,De)))});function AUt(e){return e!==void 0}function TUt(e){return e!==null}const DUt=()=>({name:"anchorCssProperties",fn(e){const{rects:t,elements:n}=e,{width:r,height:i}=t.reference;return n.floating.style.setProperty("--radix-popper-anchor-width",`${r}px`),n.floating.style.setProperty("--radix-popper-anchor-height",`${i}px`),{}}}),IUt=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,a,o;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[p,g]=CGe(s),b={start:"0%",center:"50%",end:"100%"}[g],m=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,v=((a=(o=u.arrow)===null||o===void 0?void 0:o.y)!==null&&a!==void 0?a:0)+h/2;let w="",k="";return p==="bottom"?(w=f?b:`${m}px`,k=`${-h}px`):p==="top"?(w=f?b:`${m}px`,k=`${l.floating.height+h}px`):p==="right"?(w=`${-h}px`,k=f?b:`${v}px`):p==="left"&&(w=`${l.floating.width+h}px`,k=f?b:`${v}px`),{data:{x:w,y:k}}}});function CGe(e){const[t,n="center"]=e.split("-");return[t,n]}const RUt=wUt,EGe=_Ut,MUt=SUt,xGe="Popover",[SGe,Y0a]=Ih(xGe,[kGe]),R$=kGe(),[OUt,rE]=SGe(xGe),LUt=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=R$(t),l=C.useRef(null),[u,c]=C.useState(!1),[f=!1,d]=k3({prop:r,defaultProp:i,onChange:a});return C.createElement(RUt,s,C.createElement(OUt,{scope:t,contentId:Xp(),triggerRef:l,open:f,onOpenChange:d,onOpenToggle:C.useCallback(()=>d(h=>!h),[d]),hasCustomAnchor:u,onCustomAnchorAdd:C.useCallback(()=>c(!0),[]),onCustomAnchorRemove:C.useCallback(()=>c(!1),[]),modal:o},n))},BUt="PopoverAnchor",PUt=C.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=rE(BUt,n),a=R$(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return C.useEffect(()=>(o(),()=>s()),[o,s]),C.createElement(EGe,Ne({},a,r,{ref:t}))}),FUt="PopoverTrigger",NUt=C.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=rE(FUt,n),a=R$(n),o=Ka(t,i.triggerRef),s=C.createElement(Kl.button,Ne({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":TGe(i.open)},r,{ref:o,onClick:qr(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?s:C.createElement(EGe,Ne({asChild:!0},a),s)}),$Ut="PopoverPortal",[X0a,zUt]=SGe($Ut,{forceMount:void 0}),KA="PopoverContent",UUt=C.forwardRef((e,t)=>{const n=zUt(KA,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=rE(KA,e.__scopePopover);return C.createElement(b1,{present:r||a.open},a.modal?C.createElement(jUt,Ne({},i,{ref:t})):C.createElement(HUt,Ne({},i,{ref:t})))}),jUt=C.forwardRef((e,t)=>{const n=rE(KA,e.__scopePopover),r=C.useRef(null),i=Ka(t,r),a=C.useRef(!1);return C.useEffect(()=>{const o=r.current;if(o)return she(o)},[]),C.createElement(aGe,{as:E$,allowPinchZoom:!0},C.createElement(AGe,Ne({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qr(e.onCloseAutoFocus,o=>{var s;o.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:qr(e.onPointerDownOutside,o=>{const s=o.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:qr(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})))}),HUt=C.forwardRef((e,t)=>{const n=rE(KA,e.__scopePopover),r=C.useRef(!1);return C.createElement(AGe,Ne({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var o;r.current||(o=n.triggerRef.current)===null||o===void 0||o.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var a,o;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0);const s=i.target;((o=n.triggerRef.current)===null||o===void 0?void 0:o.contains(s))&&i.preventDefault()}}))}),AGe=C.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=rE(KA,n),h=R$(n);return Vde(),C.createElement(ZWe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a},C.createElement(yhe,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},C.createElement(MUt,Ne({"data-state":TGe(d.open),role:"dialog",id:d.contentId},h,f,{ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function TGe(e){return e?"open":"closed"}const qUt=LUt,WUt=PUt,GUt=NUt,VUt=UUt,iE=(()=>{if(typeof self>"u")return!1;if("top"in self&&self!==top)try{}catch{return!1}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1})(),KUt=iE?Promise.resolve().then(function(){return QUt}):Promise.resolve().then(function(){return njt});async function Dhe(...e){return(await KUt).default(...e)}const YUt=iE?Promise.resolve().then(function(){return ejt}):Promise.resolve().then(function(){return rjt});async function XUt(...e){return(await YUt).default(...e)}const JUt=iE?Promise.resolve().then(function(){return tjt}):Promise.resolve().then(function(){return ijt});async function DGe(...e){return(await JUt).default(...e)}const ZUt=async e=>{const t=await e.getFile();return t.handle=e,t};var IGe=async(e=[{}])=>{Array.isArray(e)||(e=[e]);const t=[];e.forEach((i,a)=>{t[a]={description:i.description||"Files",accept:{}},i.mimeTypes?i.mimeTypes.map(o=>{t[a].accept[o]=i.extensions||[]}):t[a].accept["*/*"]=i.extensions||[]});const n=await window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:t,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1}),r=await Promise.all(n.map(ZUt));return e[0].multiple?r:r[0]},QUt={__proto__:null,default:IGe};function uO(e){function t(n){if(Object(n)!==n)return Promise.reject(new TypeError(n+" is not an object."));var r=n.done;return Promise.resolve(n.value).then(function(i){return{value:i,done:r}})}return uO=function(n){this.s=n,this.n=n.next},uO.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(n){var r=this.s.return;return r===void 0?Promise.resolve({value:n,done:!0}):t(r.apply(this.s,arguments))},throw:function(n){var r=this.s.return;return r===void 0?Promise.reject(n):t(r.apply(this.s,arguments))}},new uO(e)}const RGe=async(e,t,n=e.name,r)=>{const i=[],a=[];var o,s=!1,l=!1;try{for(var u,c=function(f){var d,h,p,g=2;for(typeof Symbol<"u"&&(h=Symbol.asyncIterator,p=Symbol.iterator);g--;){if(h&&(d=f[h])!=null)return d.call(f);if(p&&(d=f[p])!=null)return new uO(d.call(f));h="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}(e.values());s=!(u=await c.next()).done;s=!1){const f=u.value,d=`${n}/${f.name}`;f.kind==="file"?a.push(f.getFile().then(h=>(h.directoryHandle=e,h.handle=f,Object.defineProperty(h,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>d})))):f.kind!=="directory"||!t||r&&r(f)||i.push(RGe(f,t,d,r))}}catch(f){l=!0,o=f}finally{try{s&&c.return!=null&&await c.return()}finally{if(l)throw o}}return[...(await Promise.all(i)).flat(),...await Promise.all(a)]};var MGe=async(e={})=>{e.recursive=e.recursive||!1,e.mode=e.mode||"read";const t=await window.showDirectoryPicker({id:e.id,startIn:e.startIn,mode:e.mode});return RGe(t,e.recursive,void 0,e.skipDirectory)},ejt={__proto__:null,default:MGe},OGe=async(e,t=[{}],n=null,r=!1,i=null)=>{Array.isArray(t)||(t=[t]),t[0].fileName=t[0].fileName||"Untitled";const a=[];let o=null;if(e instanceof Blob&&e.type?o=e.type:e.headers&&e.headers.get("content-type")&&(o=e.headers.get("content-type")),t.forEach((u,c)=>{a[c]={description:u.description||"Files",accept:{}},u.mimeTypes?(c===0&&o&&u.mimeTypes.push(o),u.mimeTypes.map(f=>{a[c].accept[f]=u.extensions||[]})):o?a[c].accept[o]=u.extensions||[]:a[c].accept["*/*"]=u.extensions||[]}),n)try{await n.getFile()}catch(u){if(n=null,r)throw u}const s=n||await window.showSaveFilePicker({suggestedName:t[0].fileName,id:t[0].id,startIn:t[0].startIn,types:a,excludeAcceptAllOption:t[0].excludeAcceptAllOption||!1});!n&&i&&i(s);const l=await s.createWritable();return"stream"in e?(await e.stream().pipeTo(l),s):"body"in e?(await e.body.pipeTo(l),s):(await l.write(await e),await l.close(),s)},tjt={__proto__:null,default:OGe},LGe=async(e=[{}])=>(Array.isArray(e)||(e=[e]),new Promise((t,n)=>{const r=document.createElement("input");r.type="file";const i=[...e.map(l=>l.mimeTypes||[]),...e.map(l=>l.extensions||[])].join();r.multiple=e[0].multiple||!1,r.accept=i||"",r.style.display="none",document.body.append(r);const a=l=>{typeof o=="function"&&o(),t(l)},o=e[0].legacySetup&&e[0].legacySetup(a,()=>o(n),r),s=()=>{window.removeEventListener("focus",s),r.remove()};r.addEventListener("click",()=>{window.addEventListener("focus",s)}),r.addEventListener("change",()=>{window.removeEventListener("focus",s),r.remove(),a(r.multiple?Array.from(r.files):r.files[0])}),"showPicker"in HTMLInputElement.prototype?r.showPicker():r.click()})),njt={__proto__:null,default:LGe},BGe=async(e=[{}])=>(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((t,n)=>{const r=document.createElement("input");r.type="file",r.webkitdirectory=!0;const i=o=>{typeof a=="function"&&a(),t(o)},a=e[0].legacySetup&&e[0].legacySetup(i,()=>a(n),r);r.addEventListener("change",()=>{let o=Array.from(r.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(o=o.filter(s=>s.webkitRelativePath.split("/").every(l=>!e[0].skipDirectory({name:l,kind:"directory"})))):o=o.filter(s=>s.webkitRelativePath.split("/").length===2),i(o)}),"showPicker"in HTMLInputElement.prototype?r.showPicker():r.click()})),rjt={__proto__:null,default:BGe},PGe=async(e,t={})=>{Array.isArray(t)&&(t=t[0]);const n=document.createElement("a");let r=e;"body"in e&&(r=await async function(o,s){const l=o.getReader(),u=new ReadableStream({start:d=>async function h(){return l.read().then(({done:p,value:g})=>{if(!p)return d.enqueue(g),h();d.close()})}()}),c=new Response(u),f=await c.blob();return l.releaseLock(),new Blob([f],{type:s})}(e.body,e.headers.get("content-type"))),n.download=t.fileName||"Untitled",n.href=URL.createObjectURL(await r);const i=()=>{typeof a=="function"&&a()},a=t.legacySetup&&t.legacySetup(i,()=>a(),n);return n.addEventListener("click",()=>{setTimeout(()=>URL.revokeObjectURL(n.href),3e4),i()}),n.click(),null},ijt={__proto__:null,default:PGe};const ajt=Object.freeze(Object.defineProperty({__proto__:null,directoryOpen:XUt,directoryOpenLegacy:BGe,directoryOpenModern:MGe,fileOpen:Dhe,fileOpenLegacy:LGe,fileOpenModern:IGe,fileSave:DGe,fileSaveLegacy:PGe,fileSaveModern:OGe,supported:iE},Symbol.toStringTag,{value:"Module"}));function Ihe(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function ojt(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=Ihe(n);return(i,a)=>r.then(o=>a(o.transaction(t,i).objectStore(t)))}let rW;function FGe(){return rW||(rW=ojt("keyval-store","keyval")),rW}function uB(e,t=FGe()){return t("readonly",n=>Ihe(n.get(e)))}function BS(e,t,n=FGe()){return n("readwrite",r=>(r.put(t,e),Ihe(r.transaction)))}const Mwe=e=>{let t;const n=new Set,r=(l,u)=>{const c=typeof l=="function"?l(t):l;if(!Object.is(c,t)){const f=t;t=u??typeof c!="object"?c:Object.assign({},t,c),n.forEach(d=>d(t,f))}},i=()=>t,s={setState:r,getState:i,subscribe:l=>(n.add(l),()=>n.delete(l)),destroy:()=>{({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="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."),n.clear()}};return t=e(r,i,s),s},NGe=e=>e?Mwe(e):Mwe;var sjt=e=>(({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] Default export is deprecated. Instead use import { createStore } from 'zustand/vanilla'."),NGe(e));const{useSyncExternalStoreWithSelector:ljt}=Tgt;function ujt(e,t=e.getState,n){const r=ljt(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return C.useDebugValue(r),r}const Owe=e=>{({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?NGe(e):e,n=(r,i)=>ujt(t,r,i);return Object.assign(n,t),n},cjt=e=>e?Owe(e):Owe;var fjt=e=>(({VITE_APP_YORKIE_RPC_ADDR:"https://api.yorkie.dev",VITE_APP_GOOGLE_ANALYTICS:"G-Y5SQ469VBQ",VITE_APP_SENTRY_DSN:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",VITE_APP_YORKIE_API_KEY:"cbovg64qfu96agb5i0fg",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`."),cjt(e)),Rhe=Object.defineProperty,djt=Object.defineProperties,hjt=Object.getOwnPropertyDescriptor,pjt=Object.getOwnPropertyDescriptors,gjt=Object.getOwnPropertyNames,cB=Object.getOwnPropertySymbols,Mhe=Object.prototype.hasOwnProperty,$Ge=Object.prototype.propertyIsEnumerable,Ooe=(e,t,n)=>t in e?Rhe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mt=(e,t)=>{for(var n in t||(t={}))Mhe.call(t,n)&&Ooe(e,n,t[n]);if(cB)for(var n of cB(t))$Ge.call(t,n)&&Ooe(e,n,t[n]);return e},Zt=(e,t)=>djt(e,pjt(t)),Rh=(e,t)=>{var n={};for(var r in e)Mhe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cB)for(var r of cB(e))t.indexOf(r)<0&&$Ge.call(e,r)&&(n[r]=e[r]);return n},mjt=(e,t)=>{for(var n in t)Rhe(e,n,{get:t[n],enumerable:!0})},vjt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of gjt(t))!Mhe.call(e,i)&&(n||i!=="default")&&Rhe(e,i,{get:()=>t[i],enumerable:!(r=hjt(t,i))||r.enumerable});return e},Ce=(e,t,n)=>(Ooe(e,typeof t!="symbol"?t+"":t,n),n),ai=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{s(n.next(l))}catch(u){i(u)}},o=l=>{try{s(n.throw(l))}catch(u){i(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,o);s((n=n.apply(e,t)).next())}),{styled:Hn,createTheme:yjt}=MWe({themeMap:mt({},IWe),theme:{colors:{bounds:"rgba(65, 132, 244, 1.000)",boundsBg:"rgba(65, 132, 244, 0.05)",hover:"#ececec",overlay:"rgba(0, 0, 0, 0.15)",overlayContrast:"rgba(255, 255, 255, 0.15)",panel:"#fefefe",panelContrast:"#ffffff",selected:"rgba(66, 133, 244, 1.000)",selectedContrast:"#fefefe",text:"#333333",tooltip:"#1d1d1d",tooltipContrast:"#ffffff",warn:"rgba(255, 100, 100, 1)",canvas:"rgb(248, 249, 250)"},shadows:{2:"0px 1px 1px rgba(0, 0, 0, 0.14)",3:"0px 2px 3px rgba(0, 0, 0, 0.14)",4:"0px 4px 5px -1px rgba(0, 0, 0, 0.14)",8:"0px 12px 17px rgba(0, 0, 0, 0.14)",12:"0px 12px 17px rgba(0, 0, 0, 0.14)",24:"0px 24px 38px rgba(0, 0, 0, 0.14)",key:"1px 1px rgba(0,0,0,1)",panel:`0px 0px 16px -1px rgba(0, 0, 0, 0.05), 0px 0px 16px -8px rgba(0, 0, 0, 0.05), 0px 0px 16px -12px rgba(0, 0, 0, 0.12), - 0px 0px 2px 0px rgba(0, 0, 0, 0.08)`},space:{0:"2px",1:"3px",2:"4px",3:"8px",4:"12px",5:"16px",6:"32px",7:"48px"},fontSizes:{0:"10px",1:"12px",2:"13px",3:"16px",4:"18px"},fonts:{ui:'"Recursive", system-ui, sans-serif',body:'"Recursive", system-ui, sans-serif',mono:'"Recursive Mono", monospace'},fontWeights:{},lineHeights:{},letterSpacings:{},sizes:{},borderWidths:{0:"$1"},borderStyles:{},radii:{0:"2px",1:"4px",2:"8px",3:"12px",4:"16px"},zIndices:{},transitions:{}},media:{micro:"(max-width: 370px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)"},utils:{zStrokeWidth:()=>e=>Array.isArray(e)?{strokeWidth:`calc(${e[0]}px / var(--camera-zoom))`}:{strokeWidth:`calc(${e}px / var(--camera-zoom))`}}}),Lwe=vjt({colors:{bounds:"rgba(38, 150, 255, 1.000)",boundsBg:"rgba(38, 150, 255, 0.05)",hover:"#444A50",overlay:"rgba(0, 0, 0, 0.15)",overlayContrast:"rgba(255, 255, 255, 0.15)",panel:"#363D44",panelContrast:"#49555f",selected:"rgba(38, 150, 255, 1.000)",selectedContrast:"#fefefe",text:"#f8f9fa",tooltip:"#1d1d1d",tooltipContrast:"#ffffff",canvas:"#212529"},shadows:{2:"0px 1px 1px rgba(0, 0, 0, 0.24)",3:"0px 2px 3px rgba(0, 0, 0, 0.24)",4:"0px 4px 5px -1px rgba(0, 0, 0, 0.24)",8:"0px 12px 17px rgba(0, 0, 0, 0.24)",12:"0px 12px 17px rgba(0, 0, 0, 0.24)",24:"0px 24px 38px rgba(0, 0, 0, 0.24)",panel:`0px 0px 16px -1px rgba(0, 0, 0, 0.05), + 0px 0px 2px 0px rgba(0, 0, 0, 0.08)`},space:{0:"2px",1:"3px",2:"4px",3:"8px",4:"12px",5:"16px",6:"32px",7:"48px"},fontSizes:{0:"10px",1:"12px",2:"13px",3:"16px",4:"18px"},fonts:{ui:'"Recursive", system-ui, sans-serif',body:'"Recursive", system-ui, sans-serif',mono:'"Recursive Mono", monospace'},fontWeights:{},lineHeights:{},letterSpacings:{},sizes:{},borderWidths:{0:"$1"},borderStyles:{},radii:{0:"2px",1:"4px",2:"8px",3:"12px",4:"16px"},zIndices:{},transitions:{}},media:{micro:"(max-width: 370px)",sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)"},utils:{zStrokeWidth:()=>e=>Array.isArray(e)?{strokeWidth:`calc(${e[0]}px / var(--camera-zoom))`}:{strokeWidth:`calc(${e}px / var(--camera-zoom))`}}}),Lwe=yjt({colors:{bounds:"rgba(38, 150, 255, 1.000)",boundsBg:"rgba(38, 150, 255, 0.05)",hover:"#444A50",overlay:"rgba(0, 0, 0, 0.15)",overlayContrast:"rgba(255, 255, 255, 0.15)",panel:"#363D44",panelContrast:"#49555f",selected:"rgba(38, 150, 255, 1.000)",selectedContrast:"#fefefe",text:"#f8f9fa",tooltip:"#1d1d1d",tooltipContrast:"#ffffff",canvas:"#212529"},shadows:{2:"0px 1px 1px rgba(0, 0, 0, 0.24)",3:"0px 2px 3px rgba(0, 0, 0, 0.24)",4:"0px 4px 5px -1px rgba(0, 0, 0, 0.24)",8:"0px 12px 17px rgba(0, 0, 0, 0.24)",12:"0px 12px 17px rgba(0, 0, 0, 0.24)",24:"0px 24px 38px rgba(0, 0, 0, 0.24)",panel:`0px 0px 16px -1px rgba(0, 0, 0, 0.05), 0px 0px 16px -8px rgba(0, 0, 0, 0.09), - 0px 0px 16px -12px rgba(0, 0, 0, 0.2)`}}),Fs=Hn("hr",{height:0,paddingTop:1,width:"calc(100%+8px)",backgroundColor:"$hover",border:"none",margin:"$2 -4px"}),Y2=Hn("div",{position:"relative",overflow:"hidden",userSelect:"none",WebkitUserSelect:"none",display:"flex",flexDirection:"column",zIndex:99997,minWidth:180,pointerEvents:"all",backgroundColor:"$panel",border:"1px solid $panelContrast",boxShadow:"$panel",padding:"$2 $2",borderRadius:"$3",font:"$ui",maxHeight:"100vh",overflowY:"auto",overflowX:"hidden","&::webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none",scrollbarWidth:"none",variants:{size:{small:{minWidth:72}},overflow:{true:{maxHeight:"60vh"}}}}),yjt=()=>bt.isDarwin()?"⌘":"Ctrl";function Ohe({variant:e,children:t}){return C.createElement(bjt,{variant:e},t.split("").map((n,r)=>C.createElement("span",{key:r},n.replace("#",yjt()))))}var bjt=Hn("kbd",{marginLeft:"$3",textShadow:"$2",textAlign:"center",fontSize:"$0",fontFamily:"$ui",color:"$text",background:"none",fontWeight:400,gap:"$1",display:"flex",alignItems:"center","& > span":{padding:"$0",borderRadius:"$0",display:"flex",alignItems:"center",justifyContent:"center"},variants:{variant:{tooltip:{"& > span":{color:"$tooltipContrast",background:"$overlayContrast",boxShadow:"$key",width:"20px",height:"20px"}},menu:{}}}}),L0=Hn("div",{height:"100%",borderRadius:"4px",marginRight:"1px",width:"fit-content",display:"grid",alignItems:"center",justifyContent:"center",outline:"none",border:"none",pointerEvents:"all",cursor:"pointer",color:"currentColor","& svg":{height:16,width:16,strokeWidth:1},"& > *":{gridRow:1,gridColumn:1}}),sh={"@initial":"mobile","@micro":"micro","@sm":"small","@md":"medium","@lg":"large"},Ic=C.forwardRef((e,t)=>{var n=e,{onClick:r,isActive:i=!1,isWarning:a=!1,hasIndicator:o=!1,hasArrow:s=!1,disabled:l=!1,variant:u,kbd:c,children:f}=n,d=Rh(n,["onClick","isActive","isWarning","hasIndicator","hasArrow","disabled","variant","kbd","children"]);return C.createElement(wjt,mt({ref:t,bp:sh,isWarning:a,isActive:i,disabled:l,onClick:r,variant:u},d),C.createElement(zGe,null,f,c?C.createElement(Ohe,{variant:"menu"},c):void 0,o&&C.createElement($We,{dir:"ltr"},C.createElement(L0,null,C.createElement(aB,null))),s&&C.createElement(L0,null,C.createElement(zPt,null))))}),zGe=Hn("div",{height:"100%",width:"100%",backgroundColor:"$panel",borderRadius:"$2",display:"flex",gap:"$1",flexDirection:"row",alignItems:"center",padding:"0 $3",justifyContent:"space-between",border:"1px solid transparent","& svg":{position:"relative",stroke:"$overlay",strokeWidth:1,zIndex:1},[`& > ${L0}`]:{paddingLeft:"$3"}}),wjt=Hn("button",{position:"relative",width:"100%",background:"none",border:"none",cursor:"pointer",height:32,minHeight:32,outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,padding:"0 0","&[data-disabled]":{opacity:.3},"&:disabled":{opacity:.3},[`&:focus:not(:disabled) ${zGe}`]:{backgroundColor:"$hover"},"& a":{textDecoration:"none",color:"$text"},variants:{bp:{mobile:{},small:{}},variant:{styleMenu:{margin:"$1 0 $1 0"},wide:{gridColumn:"1 / span 4"}},size:{icon:{padding:"4px ",width:"auto"}},isWarning:{true:{color:"$warn"}},isActive:{true:{backgroundColor:"$hover"},false:{}}}});function ps({children:e,label:t,kbd:n,id:r,side:i="top"}){return C.createElement("span",{id:r},C.createElement(ezt,null,C.createElement(tzt,null,C.createElement(nzt,{dir:"ltr",asChild:!0},C.createElement("span",null,e)),C.createElement(kjt,{dir:"ltr",side:i,sideOffset:8},t,n?C.createElement(Ohe,{variant:"tooltip"},n):null,C.createElement(_jt,null)))))}var kjt=Hn(rzt,{borderRadius:3,padding:"$3 $3 $3 $3",fontSize:"$1",backgroundColor:"$tooltip",color:"$tooltipContrast",boxShadow:"$3",display:"flex",alignItems:"center",fontFamily:"$ui",userSelect:"none",WebkitUserSelect:"none"}),_jt=Hn(izt,{fill:"$tooltip",margin:"0 8px"});function UGe(){let e=C.useCallback((a,o)=>ai(this,null,function*(){o(a.fileSystemHandle?"saveFirstTime":"saveAgain",()=>ai(this,null,function*(){try{yield a.saveProject(),a.newProject()}catch{}}),()=>ai(this,null,function*(){a.newProject()}),()=>ai(this,null,function*(){}))}),[]),t=C.useCallback((a,o)=>ai(this,null,function*(){o(a.fileSystemHandle?"saveFirstTime":"saveAgain",()=>ai(this,null,function*(){try{yield a.saveProject(),yield a.openProject()}catch{}}),()=>ai(this,null,function*(){a.openProject()}),()=>ai(this,null,function*(){}))}),[]),n=C.useCallback(a=>{a.saveProject()},[]),r=C.useCallback(a=>{a.saveProjectAs()},[]),i=C.useCallback(a=>ai(this,null,function*(){var o;(o=a.openAsset)==null||o.call(a)}),[]);return{onNewProject:e,onSaveProject:n,onSaveProjectAs:r,onOpenProject:t,onOpenMedia:i}}function jGe(){let e=Xa(),{openDialog:t}=JGe(),n=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onNewProject)==null||u.call(l,e,t)}),[e,t]),r=C.useCallback(s=>{var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onSaveProject)==null||u.call(l,e)},[e]),i=C.useCallback(s=>{var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onSaveProjectAs)==null||u.call(l,e)},[e]),a=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onOpenProject)==null||u.call(l,e,t)}),[e,t]),o=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenMedia&&s.preventDefault(),(u=(l=e.callbacks).onOpenMedia)==null||u.call(l,e)}),[e]);return{onNewProject:n,onSaveProject:r,onSaveProjectAs:i,onOpenProject:a,onOpenMedia:o}}var Cjt=class{constructor(){Ce(this,"onPinchStart"),Ce(this,"onPinchEnd"),Ce(this,"onPinch"),Ce(this,"onKeyDown"),Ce(this,"onKeyUp"),Ce(this,"onPointerMove"),Ce(this,"onPointerUp"),Ce(this,"onPan"),Ce(this,"onZoom"),Ce(this,"onPointerDown"),Ce(this,"onPointCanvas"),Ce(this,"onDoubleClickCanvas"),Ce(this,"onRightPointCanvas"),Ce(this,"onDragCanvas"),Ce(this,"onReleaseCanvas"),Ce(this,"onPointShape"),Ce(this,"onDoubleClickShape"),Ce(this,"onRightPointShape"),Ce(this,"onDragShape"),Ce(this,"onHoverShape"),Ce(this,"onUnhoverShape"),Ce(this,"onReleaseShape"),Ce(this,"onPointBounds"),Ce(this,"onDoubleClickBounds"),Ce(this,"onRightPointBounds"),Ce(this,"onDragBounds"),Ce(this,"onHoverBounds"),Ce(this,"onUnhoverBounds"),Ce(this,"onReleaseBounds"),Ce(this,"onPointBoundsHandle"),Ce(this,"onDoubleClickBoundsHandle"),Ce(this,"onRightPointBoundsHandle"),Ce(this,"onDragBoundsHandle"),Ce(this,"onHoverBoundsHandle"),Ce(this,"onUnhoverBoundsHandle"),Ce(this,"onReleaseBoundsHandle"),Ce(this,"onPointHandle"),Ce(this,"onDoubleClickHandle"),Ce(this,"onRightPointHandle"),Ce(this,"onDragHandle"),Ce(this,"onHoverHandle"),Ce(this,"onUnhoverHandle"),Ce(this,"onReleaseHandle"),Ce(this,"onShapeBlur"),Ce(this,"onShapeClone")}},Loe=(e=>(e.Idle="idle",e.Connecting="connecting",e.Connected="connected",e.Disconnected="disconnected",e))(Loe||{}),Ejt=(e=>(e.Transform="transform",e.Translate="translate",e.TransformSingle="transformSingle",e.Brush="brush",e.Arrow="arrow",e.Draw="draw",e.Erase="erase",e.Rotate="rotate",e.Handle="handle",e.Grid="grid",e.Edit="edit",e))(Ejt||{}),xjt=(e=>(e.Idle="idle",e.PointingHandle="pointingHandle",e.PointingBounds="pointingBounds",e.PointingBoundsHandle="pointingBoundsHandle",e.TranslatingLabel="translatingLabel",e.TranslatingHandle="translatingHandle",e.Translating="translating",e.Transforming="transforming",e.Rotating="rotating",e.Pinching="pinching",e.Brushing="brushing",e.Creating="creating",e.EditingText="editing-text",e))(xjt||{}),Sjt=(e=>(e.Backward="backward",e.Forward="forward",e.ToFront="toFront",e.ToBack="toBack",e))(Sjt||{}),Ajt=(e=>(e.Top="top",e.CenterVertical="centerVertical",e.Bottom="bottom",e.Left="left",e.CenterHorizontal="centerHorizontal",e.Right="right",e))(Ajt||{}),Tjt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Tjt||{}),Djt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Djt||{}),Ijt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Ijt||{}),Rjt=(e=>(e.Sticky="sticky",e.Ellipse="ellipse",e.Rectangle="rectangle",e.Triangle="triangle",e.Draw="draw",e.Arrow="arrow",e.Line="line",e.Text="text",e.Group="group",e.Image="image",e.Video="video",e))(Rjt||{}),Mjt=(e=>(e.Arrow="arrow",e))(Mjt||{}),Ojt=(e=>(e.White="white",e.LightGray="lightGray",e.Gray="gray",e.Black="black",e.Green="green",e.Cyan="cyan",e.Blue="blue",e.Indigo="indigo",e.Violet="violet",e.Red="red",e.Orange="orange",e.Yellow="yellow",e))(Ojt||{}),HGe=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(HGe||{}),qGe=(e=>(e.Draw="draw",e.Solid="solid",e.Dashed="dashed",e.Dotted="dotted",e))(qGe||{}),Ljt=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extraLarge",e))(Ljt||{}),WGe=(e=>(e.Start="start",e.Middle="middle",e.End="end",e.Justify="justify",e))(WGe||{}),GGe=(e=>(e.Script="script",e.Sans="sans",e.Serif="serif",e.Mono="mono",e))(GGe||{}),Bjt=(e=>(e.Image="image",e.Video="video",e))(Bjt||{}),Pjt=(e=>(e.PNG="png",e.JPG="jpeg",e.WEBP="webp",e.SVG="svg",e.JSON="json",e))(Pjt||{}),VGe=(e=>(e.Transparent="transparent",e.Auto="auto",e.Light="light",e.Dark="dark",e))(VGe||{});function Fjt(e){let t=Xa(),n=C.useCallback((l=!1)=>{let u=e.current;return l&&(t.isMenuOpen||t.settings.keepStyleMenuOpen)?!0:u&&(document.activeElement===u||u.contains(document.activeElement))},[e]);C.useEffect(()=>{if(!t)return;let l=f=>{if(n(!0)){if(t.readOnly){t.copy(void 0,f);return}t.cut(void 0,f)}},u=f=>{!n(!0)||t.copy(void 0,f)},c=f=>{!n(!0)||t.readOnly||t.paste(void 0,f)};return document.addEventListener("cut",l),document.addEventListener("copy",u),document.addEventListener("paste",c),()=>{document.removeEventListener("cut",l),document.removeEventListener("copy",u),document.removeEventListener("paste",c)}},[t]),zr("v,1",()=>{!n(!0)||t.selectTool("select")},[t,e.current]),zr("d,p,2",()=>{!n(!0)||t.selectTool("draw")},void 0,[t]),zr("e,3",()=>{!n(!0)||t.selectTool("erase")},void 0,[t]),zr("r,4",()=>{!n(!0)||t.selectTool("rectangle")},void 0,[t]),zr("o,5",()=>{!n(!0)||t.selectTool("ellipse")},void 0,[t]),zr("g,6",()=>{!n()||t.selectTool("triangle")},void 0,[t]),zr("l,7",()=>{!n(!0)||t.selectTool("line")},void 0,[t]),zr("a,8",()=>{!n(!0)||t.selectTool("arrow")},void 0,[t]),zr("t,9",()=>{!n(!0)||t.selectTool("text")},void 0,[t]),zr("s,0",()=>{!n(!0)||t.selectTool("sticky")},void 0,[t]),zr("ctrl+shift+d,⌘+shift+d",l=>{!n(!0)||(t.toggleDarkMode(),l.preventDefault())},void 0,[t]),zr("ctrl+.,⌘+.",()=>{!n(!0)||t.toggleFocusMode()},void 0,[t]),zr("ctrl+shift+g,⌘+shift+g",()=>{!n(!0)||t.toggleGrid()},void 0,[t]);let{onNewProject:r,onOpenProject:i,onSaveProject:a,onSaveProjectAs:o,onOpenMedia:s}=jGe();zr("ctrl+n,⌘+n",l=>{l.preventDefault(),n()&&r(l)},void 0,[t]),zr("ctrl+s,⌘+s",l=>{!n()||a(l)},void 0,[t]),zr("ctrl+shift+s,⌘+shift+s",l=>{!n()||o(l)},void 0,[t]),zr("ctrl+alt+1,⌘+alt+1",l=>{!n()||t.exportImage("svg",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+2,⌘+alt+2",l=>{!n()||t.exportImage("png",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+3,⌘+alt+3",l=>{!n()||t.exportImage("jpeg",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+4,⌘+alt+4",l=>{!n()||t.exportImage("webp",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+5,⌘+alt+5",l=>{!n()||t.exportJson()},void 0,[t]),zr("ctrl+o,⌘+o",l=>{!n()||i(l)},void 0,[t]),zr("ctrl+u,⌘+u",l=>{!n()||s(l)},void 0,[t]),zr("⌘+z,ctrl+z",l=>{l.preventDefault(),n(!0)&&(t.session?t.cancelSession():t.undo())},void 0,[t]),zr("ctrl+shift+z,⌘+shift+z",()=>{!n(!0)||(t.session?t.cancelSession():t.redo())},void 0,[t]),zr("⌘+u,ctrl+u",()=>{!n()||t.undoSelect()},void 0,[t]),zr("ctrl+shift-u,⌘+shift+u",()=>{!n()||t.redoSelect()},void 0,[t]),zr("ctrl+=,⌘+=,ctrl+num_add,⌘+num_add",l=>{!n(!0)||(t.zoomIn(),l.preventDefault())},void 0,[t]),zr("ctrl+-,⌘+-,ctrl+num_subtract,⌘+num_subtract",l=>{!n(!0)||(t.zoomOut(),l.preventDefault())},void 0,[t]),zr("shift+0,ctrl+numpad_0,⌘+numpad_0",()=>{!n(!0)||t.resetZoom()},void 0,[t]),zr("shift+1",()=>{!n(!0)||t.zoomToFit()},void 0,[t]),zr("shift+2",()=>{!n(!0)||t.zoomToSelection()},void 0,[t]),zr("ctrl+d,⌘+d",l=>{!n()||(t.duplicate(),l.preventDefault())},void 0,[t]),zr("shift+h",()=>{!n(!0)||t.flipHorizontal()},void 0,[t]),zr("shift+v",()=>{!n(!0)||t.flipVertical()},void 0,[t]),zr("escape",()=>{!n(!0)||t.cancel()},void 0,[t]),zr("backspace,del",()=>{!n()||t.delete()},void 0,[t]),zr("⌘+a,ctrl+a",()=>{!n(!0)||t.selectAll()},void 0,[t]),zr("up",()=>{!n()||t.nudge([0,-1],!1)},void 0,[t]),zr("right",()=>{!n()||t.nudge([1,0],!1)},void 0,[t]),zr("down",()=>{!n()||t.nudge([0,1],!1)},void 0,[t]),zr("left",()=>{!n()||t.nudge([-1,0],!1)},void 0,[t]),zr("shift+up",()=>{!n()||t.nudge([0,-1],!0)},void 0,[t]),zr("shift+right",()=>{!n()||t.nudge([1,0],!0)},void 0,[t]),zr("shift+down",()=>{!n()||t.nudge([0,1],!0)},void 0,[t]),zr("shift+left",()=>{!n()||t.nudge([-1,0],!0)},void 0,[t]),zr("⌘+shift+l,ctrl+shift+l",()=>{!n()||t.toggleLocked()},void 0,[t]),zr("⌘+shift+c,ctrl+shift+c",l=>{!n()||(t.copySvg(),l.preventDefault())},void 0,[t]),zr("⌘+g,ctrl+g",l=>{!n()||(t.group(),l.preventDefault())},void 0,[t]),zr("⌘+shift+g,ctrl+shift+g",l=>{!n()||(t.ungroup(),l.preventDefault())},void 0,[t]),zr("[",()=>{!n(!0)||t.moveBackward()},void 0,[t]),zr("]",()=>{!n(!0)||t.moveForward()},void 0,[t]),zr("shift+[",()=>{!n(!0)||t.moveToBack()},void 0,[t]),zr("shift+]",()=>{!n(!0)||t.moveToFront()},void 0,[t]),zr("ctrl+shift+backspace,⌘+shift+backspace",l=>{!n()||(t.settings.isDebugMode&&t.resetDocument(),l.preventDefault())},void 0,[t]),zr("alt+command+l,alt+ctrl+l",l=>{!n(!0)||(t.style({textAlign:"start"}),l.preventDefault())},void 0,[t]),zr("alt+command+t,alt+ctrl+t",l=>{!n(!0)||(t.style({textAlign:"middle"}),l.preventDefault())},void 0,[t]),zr("alt+command+r,alt+ctrl+r",l=>{!n(!0)||(t.style({textAlign:"end"}),l.preventDefault())},void 0,[t])}var KGe=C.createContext({}),Njt=()=>{let[e,t]=C.useState(0);C.useEffect(()=>t(1))};function Xa(){return C.useContext(KGe)}var YGe=C.createContext({});function X2(){let e=C.useContext(YGe);return Njt(),e}var $jt="اللون",zjt="يملأ",Ujt="متقطع",jjt="حجم",Hjt="تبقى مفتوحة",qjt="الخط",Wjt="محاذاة",Gjt="الأنماط",Vjt="تكبير",Kjt="تصغير",Yjt="إلى",Xjt="أدوات",Jjt="التحويلات",Zjt="ملف",Qjt="تحرير",eHt="معاينة",tHt="التفضيلات",nHt="تسجيل الدخول",rHt="خروج",iHt="كن راعياً",aHt="العودة إلى المحتوى",oHt="تكبير للتحديد",sHt="تكبير لتناسب",lHt="تكبير إلى",uHt="الوضع الداكن",cHt="وضع التركيز",fHt="وضع التصحيح",dHt="اظهر الشبكة",hHt="استخدام التحديد CAD",pHt="الاحتفاظ بقائمة النمط مفتوحة",gHt="إظهار اللقطات دائمًا",mHt="تدوير المقابض",vHt="مقابض ملزمة",yHt="مقابض استنساخ",bHt="الغاء",wHt="إعادة",kHt="قطع",_Ht="نسح",CHt="لصق",EHt="نسخ الى",xHt="صدر الى",SHt="اختر الكل",AHt="لا تختر شيء",THt="حذف",DHt="مشروع جديد",IHt="فتح",RHt="حفظ",MHt="حفظ باسم",OHt="تحميل الوسائط",LHt="إنشاء صفحة",BHt="صفحة جديدة",PHt="اسم الصفحة",FHt="نسخ",NHt="الغاء",$Ht="نسخ رابط الدعوة",zHt="نسخ رابط دعوة القراءة فقط",UHt="قم بإنشاء مشروع متعدد اللاعبين",jHt="نسخ إلى مشروع متعدد اللاعبين",HHt="اختر",qHt="ممحاة",WHt="رسم",GHt="سهم",VHt="نص",KHt="لاصق",YHt="مربع",XHt="بيضاوي",JHt="مثلث",ZHt="خط",QHt="دوّر",eqt="قفل نسبة الابعاد",tqt="فتح قفل نسبة الابعاد",nqt="جمّع",rqt="فك التجمع",iqt="انتقل إلى الخلف",aqt="تحريك للخلف",oqt="تحريك للأمام",sqt="تحرك للأمام",lqt="إعادة ضبط الزاوية",uqt="قفل",cqt="الغاء القفل",fqt="انقل إلى الصفحة",dqt="انعكاس أفقي",hqt="انعكاس عمودي",pqt="حرّك",gqt="للامام",mqt="للخلف",vqt="للوراء",yqt="خلف",bqt="لغة",wqt="للمزيد",kqt="موقع الادوات",_qt="اسفل",Cqt="يسار",Eqt="يمين",xqt="أعلى",Sqt="صفحة",Aqt="اختصارات لوحة المفاتيح",Tqt="بحث",Dqt="{dots}تحميل ",Iqt="تصدير الخلفية",Rqt="شـفاف",Mqt="ذاتي",Oqt="خفيف",Lqt="غامق",Bqt="هل تريد حفظ التغييرات على هذا المشروع؟",Pqt="هل تريد حفظ التغييرات على هذا المشروع؟",Fqt="إلغاء",Nqt="لا",$qt="نعم",zqt="أدخل اسم الملف",Uqt="صورة",jqt="صفّ لليسار",Hqt="صفّ المحور الأفقي للوسط",qqt="صفّ لليمين",Wqt="صفّ للأعلى",Gqt="صفّ المحور العمودي للوسط",Vqt="صفّ للأسفل",Kqt="توزيع أفقي",Yqt="توزيع عمودي",Xqt="تمديد أفقي",Jqt="تمديد عمودي",Zqt={"style.menu.color":$jt,"style.menu.fill":zjt,"style.menu.dash":Ujt,"style.menu.size":jjt,"style.menu.keep.open":Hjt,"style.menu.font":qjt,"style.menu.align":Wjt,styles:Gjt,"zoom.in":Vjt,"zoom.out":Kjt,to:Yjt,"menu.tools":Xjt,"menu.transform":Jjt,"menu.file":Zjt,"menu.edit":Qjt,"menu.view":eHt,"menu.preferences":tHt,"menu.sign.in":nHt,"menu.sign.out":rHt,"become.a.sponsor":iHt,"zoom.to.content":aHt,"zoom.to.selection":oHt,"zoom.to.fit":sHt,"zoom.to":lHt,"preferences.dark.mode":uHt,"preferences.focus.mode":cHt,"preferences.debug.mode":fHt,"preferences.show.grid":dHt,"preferences.use.cad.selection":hHt,"preferences.keep.stylemenu.open":pHt,"preferences.always.show.snaps":gHt,"preferences.rotate.handles":mHt,"preferences.binding.handles":vHt,"preferences.clone.handles":yHt,undo:bHt,redo:wHt,cut:kHt,copy:_Ht,paste:CHt,"copy.as":EHt,"export.as":xHt,"select.all":SHt,"select.none":AHt,delete:THt,"new.project":DHt,open:IHt,save:RHt,"save.as":MHt,"upload.media":OHt,"create.page":LHt,"new.page":BHt,"page.name":PHt,duplicate:FHt,cancel:NHt,"copy.invite.link":$Ht,"copy.readonly.link":zHt,"create.multiplayer.project":UHt,"copy.multiplayer.project":jHt,select:HHt,eraser:qHt,draw:WHt,arrow:GHt,text:VHt,sticky:KHt,rectangle:YHt,ellipse:XHt,triangle:JHt,line:ZHt,rotate:QHt,"lock.aspect.ratio":eqt,"unlock.aspect.ratio":tqt,group:nqt,ungroup:rqt,"move.to.back":iqt,"move.backward":aqt,"move.forward":oqt,"move.to.front":sqt,"reset.angle":lqt,lock:uqt,unlock:cqt,"move.to.page":fqt,"flip.horizontal":dqt,"flip.vertical":hqt,move:pqt,"to.front":gqt,forward:mqt,backward:vqt,back:yqt,language:bqt,"translation.link":wqt,"dock.position":kqt,bottom:_qt,left:Cqt,right:Eqt,top:xqt,page:Sqt,"keyboard.shortcuts":Aqt,search:Tqt,loading:Dqt,"export.background":Iqt,transparent:Rqt,auto:Mqt,light:Oqt,dark:Lqt,"dialog.save.firsttime":Bqt,"dialog.save.again":Pqt,"dialog.cancel":Fqt,"dialog.no":Nqt,"dialog.yes":$qt,"enter.file.name":zqt,image:Uqt,"align.left":jqt,"align.center.x":Hqt,"align.right":qqt,"align.top":Wqt,"align.center.y":Gqt,"align.bottom":Vqt,"distribute.x":Kqt,"distribute.y":Yqt,"stretch.x":Xqt,"stretch.y":Jqt},Qqt="Farve",eWt="Fyld",tWt="Streg",nWt="Størrelse",rWt="Hold åben",iWt="Skrifttype",aWt="Juster",oWt="Format",sWt="Zoom ind",lWt="Zoom ud",uWt="til",cWt="Værktøjer",fWt="Transformer",dWt="Fil",hWt="Rediger",pWt="Vis",gWt="Indstillinger",mWt="Log ind",vWt="Log ud",yWt="Bliv sponsor",bWt="Zoom til valgte",wWt="Zoom til lærred",kWt="Zoom til",_Wt="Zoom til indhold",CWt="Mørkt udseende",EWt="Fokus tilstand",xWt="Debug tilstand",SWt="Vis net",AWt="Brug CAD udvælgelse",TWt="Hold formatmenuen åben",DWt="Vis altid snaps",IWt="Roteringshåndtag",RWt="Bindingshåndtag",MWt="Kloningshåndtag",OWt="Fortryd",LWt="Gentag",BWt="Klip",PWt="Kopier",FWt="Indsæt",NWt="Kopier som",$Wt="Eksporter som",zWt="Vælg alt",UWt="Fravælg alt",jWt="Slet",HWt="Nyt projekt",qWt="Åben",WWt="Gem",GWt="Gem som",VWt="Upload medie",KWt="Opret side",YWt="Ny side",XWt="Sidenavn",JWt="Dupliker",ZWt="Fortryd",QWt="Kopier invitationslink",eGt="Opret multiplayer projekt",tGt="Kopier til multiplayer projekt",nGt="Vælg",rGt="Viskelæder",iGt="Tegn",aGt="Pil",oGt="Tekst",sGt="Note",lGt="Rektangel",uGt="Ellipse",cGt="Trekant",fGt="Linje",dGt="Roter",hGt="Lås billedformat",pGt="Frigør billedformat",gGt="Grupper",mGt="Opdel gruppe",vGt="Placer bagerst",yGt="Flyt tilbage",bGt="Flyt frem",wGt="Læg forrest",kGt="Nulstil vinkel",_Gt="Lås",CGt="Lås op",EGt="Flyt til side",xGt="Vend vandret",SGt="Vend lodret",AGt="Flyt",TGt="Forrest",DGt="Frem",IGt="Tilbage",RGt="Bagerst",MGt="Sprog",OGt="Justering nederst",LGt="Vandret justering centreret",BGt="Lodret justering centreret",PGt="Juster / distribuer",FGt="Justering til venstre",NGt="Justering til højre",$Gt="Justering øverst",zGt="Kopier skrivebeskyttet link",UGt="Vil du gemme ændringerne til dit projekt?",jGt="Vil du gemme dit projekt?",HGt="Ja",qGt="Nej",WGt="Fortryd",GGt="Skriv filnavn",VGt="Vandret distribuering",KGt="Lodret distribuering",YGt="Placering af værktøjslinje",XGt="Nederst",JGt="Venstre",ZGt="Højre",QGt="Øverst",eVt="Baggrund ved eksport",tVt="Automatisk",nVt="Lys",rVt="Mørk",iVt="Billede",aVt="Tastaturgenveje",oVt="Indlæser",sVt="Side",lVt="Søg",uVt="Stræk vandret",cVt="Stræk lodret",fVt="Lær mere",dVt="Gennemsigtig",hVt={"style.menu.color":Qqt,"style.menu.fill":eWt,"style.menu.dash":tWt,"style.menu.size":nWt,"style.menu.keep.open":rWt,"style.menu.font":iWt,"style.menu.align":aWt,styles:oWt,"zoom.in":sWt,"zoom.out":lWt,to:uWt,"menu.tools":cWt,"menu.transform":fWt,"menu.file":dWt,"menu.edit":hWt,"menu.view":pWt,"menu.preferences":gWt,"menu.sign.in":mWt,"menu.sign.out":vWt,"become.a.sponsor":yWt,"zoom.to.selection":bWt,"zoom.to.fit":wWt,"zoom.to":kWt,"zoom.to.content":_Wt,"preferences.dark.mode":CWt,"preferences.focus.mode":EWt,"preferences.debug.mode":xWt,"preferences.show.grid":SWt,"preferences.use.cad.selection":AWt,"preferences.keep.stylemenu.open":TWt,"preferences.always.show.snaps":DWt,"preferences.rotate.handles":IWt,"preferences.binding.handles":RWt,"preferences.clone.handles":MWt,undo:OWt,redo:LWt,cut:BWt,copy:PWt,paste:FWt,"copy.as":NWt,"export.as":$Wt,"select.all":zWt,"select.none":UWt,delete:jWt,"new.project":HWt,open:qWt,save:WWt,"save.as":GWt,"upload.media":VWt,"create.page":KWt,"new.page":YWt,"page.name":XWt,duplicate:JWt,cancel:ZWt,"copy.invite.link":QWt,"create.multiplayer.project":eGt,"copy.multiplayer.project":tGt,select:nGt,eraser:rGt,draw:iGt,arrow:aGt,text:oGt,sticky:sGt,rectangle:lGt,ellipse:uGt,triangle:cGt,line:fGt,rotate:dGt,"lock.aspect.ratio":hGt,"unlock.aspect.ratio":pGt,group:gGt,ungroup:mGt,"move.to.back":vGt,"move.backward":yGt,"move.forward":bGt,"move.to.front":wGt,"reset.angle":kGt,lock:_Gt,unlock:CGt,"move.to.page":EGt,"flip.horizontal":xGt,"flip.vertical":SGt,move:AGt,"to.front":TGt,forward:DGt,backward:IGt,back:RGt,language:MGt,"align.bottom":OGt,"align.center.x":LGt,"align.center.y":BGt,"align.distribute":PGt,"align.left":FGt,"align.right":NGt,"align.top":$Gt,"copy.readonly.link":zGt,"dialog.save.again":UGt,"dialog.save.firsttime":jGt,"dialog.yes":HGt,"dialog.no":qGt,"dialog.cancel":WGt,"enter.file.name":GGt,"distribute.x":VGt,"distribute.y":KGt,"dock.position":YGt,bottom:XGt,left:JGt,right:ZGt,top:QGt,"export.background":eVt,auto:tVt,light:nVt,dark:rVt,image:iVt,"keyboard.shortcuts":aVt,loading:oVt,page:sVt,search:lVt,"stretch.x":uVt,"stretch.y":cVt,"translation.link":fVt,transparent:dVt},pVt="Farbe",gVt="Füllen",mVt="Strich",vVt="Größe",yVt="Offen halten",bVt="Schriftart",wVt="Ausrichten",kVt="Stile",_Vt="Heranzoomen",CVt="Herauszoomen",EVt="zu",xVt="Werkzeuge",SVt="Transformieren",AVt="Datei",TVt="Bearbeiten",DVt="Ansicht",IVt="Präferenzen",RVt="Einloggen",MVt="Ausloggen",OVt="Sponsor werden",LVt="Zurück zum Inhalt",BVt="Zur Auswahl zoomen",PVt="Zoom anpassen",FVt="Zoomen nach",NVt="Dunkler Modus",$Vt="Fokus Modus",zVt="Debug Modus",UVt="Gitter anzeigen",jVt="CAD Auswahl verwenden",HVt="Stilmenü offen halten",qVt="Hilfslinien immer anzeigen",WVt="Rotiergriffe",GVt="Bindegriffe",VVt="Klongriffe",KVt="Rückgängig machen",YVt="Wiederherstellen",XVt="Ausschneiden",JVt="Kopieren",ZVt="Einfügen",QVt="Kopieren als",eKt="Exportieren als",tKt="Alles auswählen",nKt="Nichts auswählen",rKt="Löschen",iKt="Neues Projekt",aKt="Öffnen",oKt="Speichern",sKt="Speichern als",lKt="Medien hochladen",uKt="Seite erstellen",cKt="Neue Seite",fKt="Seitenname",dKt="Duplizieren",hKt="Form Optionen",pKt="Fromen",gKt="Abbrechen",mKt="Einladungslink kopieren",vKt="Schreibgeschützten Link kopieren",yKt="Geteiltes Projekt erstellen",bKt="In ein Geteiltes Projekt kopieren",wKt="Auswählen",kKt="Radierer",_Kt="Malen",CKt="Pfeil",EKt="Text",xKt="Notiz",SKt="Rechteck",AKt="Ellipse",TKt="Dreieck",DKt="Linie",IKt="Drehen",RKt="Seitenverhältnis sperren",MKt="Seitenverhältnis entsperren",OKt="Gruppieren",LKt="Gruppierung aufheben",BKt="Nach Hinten verschieben",PKt="Rückwärts schieben",FKt="Vorwärts schieben",NKt="Nach Vorne verschieben",$Kt="Winkel zurücksetzen",zKt="Sperren",UKt="Entsperren",jKt="Ausrichten / Verteilen",HKt="Zu Seite verschieben",qKt="Horizontal spiegeln",WKt="Vertikal spiegeln",GKt="Verschieben",VKt="Nach Vorne",KKt="Vorwärts",YKt="Rückwärts",XKt="Hinten",JKt="Sprache",ZKt="Mehr erfahren",QKt="Dock Position",eYt="Unten",tYt="Links",nYt="Rechts",rYt="Oben",iYt="Seite",aYt="Tastaturkurzbefehle",oYt="Suche",sYt="Laden{dots}",lYt="Hintergrund Exportieren",uYt="Transparent",cYt="Auto",fYt="Hell",dYt="Dunkel",hYt="Github",pYt="Twitter",gYt="Discord",mYt="Bild",vYt="Links ausrichten",yYt="Horizontal mittig ausrichten",bYt="Rechts ausrichten",wYt="Oben ausrichten",kYt="Vertikal mittig ausrichten",_Yt="Unten ausrichten",CYt="Horizontal verteilen",EYt="Vertikal verteilen",xYt="Horizontal strecken",SYt="Vertikal strecken",AYt="Möchten Sie Ihr aktuelles Projekt speichern?",TYt="Möchten Sie die Änderungen an Ihrem aktuellen Projekt speichern?",DYt="Abbrechen",IYt="Nein",RYt="Ja",MYt="Dateiname eingeben",OYt="Probieren Sie das neue tldraw",LYt="Weiß",BYt="hellgrau",PYt="Frau",FYt="Schwarz",NYt="Grün",$Yt="Cyan",zYt="Blau",UYt="Indigo",jYt="Violett",HYt="Rot",qYt="Orange",WYt="Gelb",GYt="Durchgehend",VYt="Gestrichelt",KYt="Gepunktet",YYt="Klein",XYt="Mittel",JYt="Groß",ZYt={"style.menu.color":pVt,"style.menu.fill":gVt,"style.menu.dash":mVt,"style.menu.size":vVt,"style.menu.keep.open":yVt,"style.menu.font":bVt,"style.menu.align":wVt,styles:kVt,"zoom.in":_Vt,"zoom.out":CVt,to:EVt,"menu.tools":xVt,"menu.transform":SVt,"menu.file":AVt,"menu.edit":TVt,"menu.view":DVt,"menu.preferences":IVt,"menu.sign.in":RVt,"menu.sign.out":MVt,"become.a.sponsor":OVt,"zoom.to.content":LVt,"zoom.to.selection":BVt,"zoom.to.fit":PVt,"zoom.to":FVt,"preferences.dark.mode":NVt,"preferences.focus.mode":$Vt,"preferences.debug.mode":zVt,"preferences.show.grid":UVt,"preferences.use.cad.selection":jVt,"preferences.keep.stylemenu.open":HVt,"preferences.always.show.snaps":qVt,"preferences.rotate.handles":WVt,"preferences.binding.handles":GVt,"preferences.clone.handles":VVt,undo:KVt,redo:YVt,cut:XVt,copy:JVt,paste:ZVt,"copy.as":QVt,"export.as":eKt,"select.all":tKt,"select.none":nKt,delete:rKt,"new.project":iKt,open:aKt,save:oKt,"save.as":sKt,"upload.media":lKt,"create.page":uKt,"new.page":cKt,"page.name":fKt,duplicate:dKt,"shape.options":hKt,shapes:pKt,cancel:gKt,"copy.invite.link":mKt,"copy.readonly.link":vKt,"create.multiplayer.project":yKt,"copy.multiplayer.project":bKt,select:wKt,eraser:kKt,draw:_Kt,arrow:CKt,text:EKt,sticky:xKt,rectangle:SKt,ellipse:AKt,triangle:TKt,line:DKt,rotate:IKt,"lock.aspect.ratio":RKt,"unlock.aspect.ratio":MKt,group:OKt,ungroup:LKt,"move.to.back":BKt,"move.backward":PKt,"move.forward":FKt,"move.to.front":NKt,"reset.angle":$Kt,lock:zKt,unlock:UKt,"align.distribute":jKt,"move.to.page":HKt,"flip.horizontal":qKt,"flip.vertical":WKt,move:GKt,"to.front":VKt,forward:KKt,backward:YKt,back:XKt,language:JKt,"translation.link":ZKt,"dock.position":QKt,bottom:eYt,left:tYt,right:nYt,top:rYt,page:iYt,"keyboard.shortcuts":aYt,search:oYt,loading:sYt,"export.background":lYt,transparent:uYt,auto:cYt,light:fYt,dark:dYt,github:hYt,twitter:pYt,discord:gYt,image:mYt,"align.left":vYt,"align.center.x":yYt,"align.right":bYt,"align.top":wYt,"align.center.y":kYt,"align.bottom":_Yt,"distribute.x":CYt,"distribute.y":EYt,"stretch.x":xYt,"stretch.y":SYt,"dialog.save.firsttime":AYt,"dialog.save.again":TYt,"dialog.cancel":DYt,"dialog.no":IYt,"dialog.yes":RYt,"enter.file.name":MYt,"tldraw-beta":OYt,white:LYt,lightGray:BYt,gray:PYt,black:FYt,green:NYt,cyan:$Yt,blue:zYt,indigo:UYt,violet:jYt,red:HYt,orange:qYt,yellow:WYt,solid:GYt,dashed:VYt,dotted:KYt,small:YYt,medium:XYt,large:JYt},QYt={},eXt="Color",tXt="Relleno",nXt="Línea",rXt="Tamaño",iXt="Mantener abierto",aXt="Fuente",oXt="Alineación",sXt="Estilos",lXt="Acercar",uXt="Alejar",cXt="A",fXt="Herramientas",dXt="Transformar",hXt="Archivo",pXt="Editar",gXt="Ver",mXt="Preferencias",vXt="Iniciar sesión",yXt="Cerrar sesión",bXt="Conviértete en patrocinador",wXt="Acercar al contenido",kXt="Acercar a la selección",_Xt="Ajustar a la ventana",CXt="Acercar a",EXt="Modo oscuro",xXt="Modo concentración",SXt="Modo depuración",AXt="Mostrar cuadrícula",TXt="Usar selección CAD",DXt="Mantener menú de estilos abierto",IXt="Mostrar puntos de ajuste",RXt="Control de rotación",MXt="Control de vinculación",OXt="Control de clonación",LXt="Deshacer",BXt="Rehacer",PXt="Cortar",FXt="Copiar",NXt="Pegar",$Xt="Copiar como",zXt="Exportar como",UXt="Selecionar todo",jXt="Selecionar nada",HXt="Borrar",qXt="Nuevo Proyecto",WXt="Abrir",GXt="Guardar",VXt="Guardar como",KXt="Subir medios",YXt="Crear página",XXt="Nueva página",JXt="Nombre de página",ZXt="Duplicar",QXt="Opciones de formas",eJt="Formas",tJt="Cancelar",nJt="Copiar invitación",rJt="Copiar invitación (solo lectura)",iJt="Crear proyecto multijugador",aJt="Copiar proyecto multijugador",oJt="Seleccionar",sJt="Borrador",lJt="Dibujar",uJt="Flecha",cJt="Texto",fJt="Pegatina",dJt="Rectángulo",hJt="Elipse",pJt="Triángulo",gJt="Línea",mJt="Rotar",vJt="Bloquear relación de aspecto",yJt="Desbloquear relación de aspecto",bJt="Agrupar",wJt="Desagrupar",kJt="Mover al fondo",_Jt="Mover atrás",CJt="Mover adelante",EJt="Mover al frente",xJt="Restablecer ángulo",SJt="Bloquear",AJt="Desbloquear",TJt="Alinear / Distribuir",DJt="Mover a página",IJt="Voltear horizontalmente",RJt="Voltear verticalmente",MJt="Mover",OJt="Al frente",LJt="Adelante",BJt="Atrás",PJt="Fondo",FJt="Idioma",NJt="Saber más",$Jt="Posición del dock",zJt="Abajo",UJt="Izquierda",jJt="Derecha",HJt="Arriba",qJt="Página",WJt="Atajos de teclado",GJt="Buscar",VJt="Cargando{dots}",KJt="Exportar fondo",YJt="Transparente",XJt="Auto",JJt="Claro",ZJt="Oscuro",QJt="Github",eZt="Twitter",tZt="Discord",nZt="Imagen",rZt="Alinear a la izquierda",iZt="Alinear al centro horizontalmente",aZt="Alinear a la derecha",oZt="Alinear arriba",sZt="Alinear al centro verticalmente",lZt="Alinear abajo",uZt="Distribuir horizontalmente",cZt="Distribuir verticalmente",fZt="Estirar horizontalmente",dZt="Estirar verticalmente",hZt="¿Quieres guardar el proyecto actual?",pZt="¿Quieres guardar los cambios en el proyecto actual?",gZt="Cancelar",mZt="No",vZt="Sí",yZt="Introduce el nombre del arquivo",bZt="Prueba el nuevo tldraw",wZt="Blanco",kZt="Gris claro",_Zt="Gris",CZt="Negro",EZt="Verde",xZt="Cian",SZt="Azul",AZt="Indigo",TZt="Violeta",DZt="Rojo",IZt="Naranja",RZt="Amarillo",MZt="Contínuo",OZt="Discontínuo",LZt="Punteado",BZt="Pequeño",PZt="Mediano",FZt="Grande",NZt={"style.menu.color":eXt,"style.menu.fill":tXt,"style.menu.dash":nXt,"style.menu.size":rXt,"style.menu.keep.open":iXt,"style.menu.font":aXt,"style.menu.align":oXt,styles:sXt,"zoom.in":lXt,"zoom.out":uXt,to:cXt,"menu.tools":fXt,"menu.transform":dXt,"menu.file":hXt,"menu.edit":pXt,"menu.view":gXt,"menu.preferences":mXt,"menu.sign.in":vXt,"menu.sign.out":yXt,"become.a.sponsor":bXt,"zoom.to.content":wXt,"zoom.to.selection":kXt,"zoom.to.fit":_Xt,"zoom.to":CXt,"preferences.dark.mode":EXt,"preferences.focus.mode":xXt,"preferences.debug.mode":SXt,"preferences.show.grid":AXt,"preferences.use.cad.selection":TXt,"preferences.keep.stylemenu.open":DXt,"preferences.always.show.snaps":IXt,"preferences.rotate.handles":RXt,"preferences.binding.handles":MXt,"preferences.clone.handles":OXt,undo:LXt,redo:BXt,cut:PXt,copy:FXt,paste:NXt,"copy.as":$Xt,"export.as":zXt,"select.all":UXt,"select.none":jXt,delete:HXt,"new.project":qXt,open:WXt,save:GXt,"save.as":VXt,"upload.media":KXt,"create.page":YXt,"new.page":XXt,"page.name":JXt,duplicate:ZXt,"shape.options":QXt,shapes:eJt,cancel:tJt,"copy.invite.link":nJt,"copy.readonly.link":rJt,"create.multiplayer.project":iJt,"copy.multiplayer.project":aJt,select:oJt,eraser:sJt,draw:lJt,arrow:uJt,text:cJt,sticky:fJt,rectangle:dJt,ellipse:hJt,triangle:pJt,line:gJt,rotate:mJt,"lock.aspect.ratio":vJt,"unlock.aspect.ratio":yJt,group:bJt,ungroup:wJt,"move.to.back":kJt,"move.backward":_Jt,"move.forward":CJt,"move.to.front":EJt,"reset.angle":xJt,lock:SJt,unlock:AJt,"align.distribute":TJt,"move.to.page":DJt,"flip.horizontal":IJt,"flip.vertical":RJt,move:MJt,"to.front":OJt,forward:LJt,backward:BJt,back:PJt,language:FJt,"translation.link":NJt,"dock.position":$Jt,bottom:zJt,left:UJt,right:jJt,top:HJt,page:qJt,"keyboard.shortcuts":WJt,search:GJt,loading:VJt,"export.background":KJt,transparent:YJt,auto:XJt,light:JJt,dark:ZJt,github:QJt,twitter:eZt,discord:tZt,image:nZt,"align.left":rZt,"align.center.x":iZt,"align.right":aZt,"align.top":oZt,"align.center.y":sZt,"align.bottom":lZt,"distribute.x":uZt,"distribute.y":cZt,"stretch.x":fZt,"stretch.y":dZt,"dialog.save.firsttime":hZt,"dialog.save.again":pZt,"dialog.cancel":gZt,"dialog.no":mZt,"dialog.yes":vZt,"enter.file.name":yZt,"tldraw-beta":bZt,white:wZt,lightGray:kZt,gray:_Zt,black:CZt,green:EZt,cyan:xZt,blue:SZt,indigo:AZt,violet:TZt,red:DZt,orange:IZt,yellow:RZt,solid:MZt,dashed:OZt,dotted:LZt,small:BZt,medium:PZt,large:FZt},$Zt="رنگ",zZt="توپُر",UZt="خط‌چین",jZt="اندازه",HZt="باز نگه‌داشتن",qZt="قلم",WZt="تراز",GZt="سبک‌ها",VZt="بزرگ‌نمایی",KZt="کوچک‌نمایی",YZt="به",XZt="ابزارها",JZt="تغییر شکل",ZZt="پرونده",QZt="ویرایش",eQt="نمایش",tQt="ترجیحات",nQt="ورود",rQt="خروج",iQt="حمایت‌کننده شوید",aQt="بازگشت به محتوا",oQt="بزرگ‌نمایی به ناحیه انتخاب‌شده",sQt="بزرگ‌نمایی متناسب با صفحه",lQt="بزرگ‌نمایی به",uQt="حالت تاریک",cQt="حالت تمرکز",fQt="حالت عیب‌یابی",dQt="نمایش خطوط راهنما",hQt="استفاده از حالت انتخاب CAD",pQt="باز نگه‌داشتن منوی سبک‌ها",gQt="همیشه نقاط چسبان را نشان بده",mQt="دستگیره‌های چرخش",vQt="دستگیره‌های اتصال‌دهنده",yQt="دستگیره‌های تکثیر",bQt="واگردانی",wQt="انجام دوباره",kQt="بریدن",_Qt="کپی",CQt="جای‌گذاری",EQt="کپی به‌عنوان",xQt="خروجی‌گرفتن به‌عنوان",SQt="انتخاب همه",AQt="انتخاب هیچ‌یک",TQt="حذف",DQt="پروژه جدید",IQt="بازکردن",RQt="ذخیره",MQt="ذخیره به‌عنوان",OQt="بارگذاری رسانه",LQt="ایجاد برگه",BQt="برگه جدید",PQt="نام برگه",FQt="تکثیرکردن",NQt="گزینه‌های شکل",$Qt="شکل‌ها",zQt="لغو",UQt="کپی‌کردن پیوند دعوت",jQt="کپی‌کردن پیوند غیرقابل ویرایش",HQt="ایجاد یک پروژه چندنفره",qQt="کپی به پروژه چندنفره",WQt="انتخاب",GQt="پاک‌کن",VQt="رسم",KQt="فِلِش",YQt="متن",XQt="برگه چسبان",JQt="چهارگوش",ZQt="گردی",QQt="سه‌گوش",een="خط",ten="چرخاندن",nen="قفل‌کردن نسبت ابعاد",ren="اجازه تغییر نسبت ابعاد",ien="گروه‌بندی",aen="لغو گروه‌بندی",oen="انتقال به عقب",sen="انتقال به سمت عقب",len="انتقال به سمت جلو",uen="انتقال به جلو",cen="بازنشانی زاویه",fen="قفل",den="بازکردن قفل",hen="تراز / پخش‌کردن",pen="انتقال به برگه",gen="وارونه‌سازی افقی",men="وارونه‌سازی عمودی",ven="حرکت‌دادن",yen="به جلو",ben="به سمت جلو",wen="به سمت عقب",ken="به عقب",_en="زبان",Cen="یادگیری بیشتر",Een="موقعیت نوار ابزار",xen="پایین",Sen="چپ",Aen="راست",Ten="بالا",Den="برگه",Ien="میان‌برهای صفحه‌کلید",Ren="جستجو",Men="بارگیری{dots}",Oen="خروجی‌گرفتن پس‌زمینه",Len="شفاف",Ben="خودکار",Pen="روشن",Fen="تاریک",Nen="گیت‌هاب",$en="توییتر",zen="دیسکورد",Uen="تصویر",jen="تراز به چپ",Hen="تراز به مرکز افقی",qen="تراز به راست",Wen="تراز به بالا",Gen="تراز به مرکز عمودی",Ven="تراز به پایین",Ken="پخش‌کردن افقی",Yen="پخش‌کردن عمودی",Xen="کش‌آوردن افقی",Jen="کش‌آوردن عمودی",Zen="آیا می‌خواهید پروژه فعلی خود را ذخیره کنید؟",Qen="آیا می‌خواهید که تغییرات را در پروژه فعلی خود ذخیره کنید؟",etn="لغو",ttn="خیر",ntn="بله",rtn="نام پرونده را وارد کنید",itn="امتحان‌کردن tldraw جدید",atn="سفید",otn="خاکستری روشن",stn="خاکستری",ltn="مشکی",utn="سبز",ctn="فیروزه‌ای",ftn="آبی",dtn="نیلی",htn="بنفش",ptn="قرمز",gtn="نارنجی",mtn="زرد",vtn="توپُر",ytn="خط‌چین",btn="نقطه‌چین",wtn="کوچک",ktn="متوسط",_tn="بزرگ",Ctn={"style.menu.color":$Zt,"style.menu.fill":zZt,"style.menu.dash":UZt,"style.menu.size":jZt,"style.menu.keep.open":HZt,"style.menu.font":qZt,"style.menu.align":WZt,styles:GZt,"zoom.in":VZt,"zoom.out":KZt,to:YZt,"menu.tools":XZt,"menu.transform":JZt,"menu.file":ZZt,"menu.edit":QZt,"menu.view":eQt,"menu.preferences":tQt,"menu.sign.in":nQt,"menu.sign.out":rQt,"become.a.sponsor":iQt,"zoom.to.content":aQt,"zoom.to.selection":oQt,"zoom.to.fit":sQt,"zoom.to":lQt,"preferences.dark.mode":uQt,"preferences.focus.mode":cQt,"preferences.debug.mode":fQt,"preferences.show.grid":dQt,"preferences.use.cad.selection":hQt,"preferences.keep.stylemenu.open":pQt,"preferences.always.show.snaps":gQt,"preferences.rotate.handles":mQt,"preferences.binding.handles":vQt,"preferences.clone.handles":yQt,undo:bQt,redo:wQt,cut:kQt,copy:_Qt,paste:CQt,"copy.as":EQt,"export.as":xQt,"select.all":SQt,"select.none":AQt,delete:TQt,"new.project":DQt,open:IQt,save:RQt,"save.as":MQt,"upload.media":OQt,"create.page":LQt,"new.page":BQt,"page.name":PQt,duplicate:FQt,"shape.options":NQt,shapes:$Qt,cancel:zQt,"copy.invite.link":UQt,"copy.readonly.link":jQt,"create.multiplayer.project":HQt,"copy.multiplayer.project":qQt,select:WQt,eraser:GQt,draw:VQt,arrow:KQt,text:YQt,sticky:XQt,rectangle:JQt,ellipse:ZQt,triangle:QQt,line:een,rotate:ten,"lock.aspect.ratio":nen,"unlock.aspect.ratio":ren,group:ien,ungroup:aen,"move.to.back":oen,"move.backward":sen,"move.forward":len,"move.to.front":uen,"reset.angle":cen,lock:fen,unlock:den,"align.distribute":hen,"move.to.page":pen,"flip.horizontal":gen,"flip.vertical":men,move:ven,"to.front":yen,forward:ben,backward:wen,back:ken,language:_en,"translation.link":Cen,"dock.position":Een,bottom:xen,left:Sen,right:Aen,top:Ten,page:Den,"keyboard.shortcuts":Ien,search:Ren,loading:Men,"export.background":Oen,transparent:Len,auto:Ben,light:Pen,dark:Fen,github:Nen,twitter:$en,discord:zen,image:Uen,"align.left":jen,"align.center.x":Hen,"align.right":qen,"align.top":Wen,"align.center.y":Gen,"align.bottom":Ven,"distribute.x":Ken,"distribute.y":Yen,"stretch.x":Xen,"stretch.y":Jen,"dialog.save.firsttime":Zen,"dialog.save.again":Qen,"dialog.cancel":etn,"dialog.no":ttn,"dialog.yes":ntn,"enter.file.name":rtn,"tldraw-beta":itn,white:atn,lightGray:otn,gray:stn,black:ltn,green:utn,cyan:ctn,blue:ftn,indigo:dtn,violet:htn,red:ptn,orange:gtn,yellow:mtn,solid:vtn,dashed:ytn,dotted:btn,small:wtn,medium:ktn,large:_tn},Etn="Couleur",xtn="Remplir",Stn="Bordure",Atn="Taille",Ttn="Toujours afficher le menu",Dtn="Police",Itn="Alignement",Rtn="Styles",Mtn="Zoom avant",Otn="Zoom arrière",Ltn="À",Btn="Outils",Ptn="Transformation",Ftn="Fichier",Ntn="Édition",$tn="Afficher",ztn="Préférences",Utn="S'authentifier",jtn="Se déconnecter",Htn="Devenir un sponsor",qtn="Retour au contenu",Wtn="Ajuster le zoom à la sélection",Gtn="Adapter le zoom au contenu",Vtn="Rétablir le zoom à",Ktn="Mode sombre",Ytn="Mode focus",Xtn="Afficher la barre développeur",Jtn="Afficher la grille",Ztn="Utiliser la sélection CAD",Qtn="Toujours afficher le menu styles",enn="Afficher les repères dynamiques",tnn="Manier la rotation",nnn="Manier les liaisons",rnn="Manier le clonage",inn="Annuler",ann="Rétablir",onn="Couper",snn="Copier",lnn="Coller",unn="Copier au format",cnn="Exporter au format",fnn="Tout sélectionner",dnn="Tout désélectionner",hnn="Supprimer",pnn="Nouveau project",gnn="Ouvrir",mnn="Enregistrer",vnn="Enregistrer sous",ynn="Importer un média",bnn="Créer une page",wnn="Nouvelle Page",knn="Nom de la page",_nn="Dupliquer",Cnn="Annuler",Enn="Copier le lien d'invitation",xnn="Copier le lien en lecture seule d'invitation",Snn="Créer un project multi-joueurs",Ann="Copier dans un projet multi-joueurs",Tnn="Sélection",Dnn="Gomme",Inn="Crayon",Rnn="Flèche",Mnn="Texte",Onn="Note",Lnn="Rectangle",Bnn="Cercle",Pnn="Triangle",Fnn="Ligne",Nnn="Rotation",$nn="Verrouiller les proportions",znn="Déverrouiller les proportions",Unn="Grouper",jnn="Dégrouper",Hnn="Déplacer à l'arrière-plan",qnn="Reculer d'un plan",Wnn="Avancer d'un plan",Gnn="Placer au premier plan",Vnn="Réinitialiser la rotation",Knn="Verrouiller",Ynn="Déverrouiller",Xnn="Alignement / Répartion",Jnn="Déplacer vers la page",Znn="Retourner horizontalement",Qnn="Retourner verticalement",ern="Disposition",trn="Placer au premier plan",nrn="Avancer d'un plan",rrn="Reculer d'un plan",irn="Déplacer à l'arrière-plan",arn="Langage",orn="En savoir plus",srn="Position du dock",lrn="En bas",urn="À gauche",crn="À droite",frn="En haut",drn="Page",hrn="Raccourcis clavier",prn="Rechercher",grn="Chargement{dots}",mrn="Couleur d'arrière-plan de l'export",vrn="Transparent",yrn="Automatique",brn="Clair",wrn="Sombre",krn={"style.menu.color":Etn,"style.menu.fill":xtn,"style.menu.dash":Stn,"style.menu.size":Atn,"style.menu.keep.open":Ttn,"style.menu.font":Dtn,"style.menu.align":Itn,styles:Rtn,"zoom.in":Mtn,"zoom.out":Otn,to:Ltn,"menu.tools":Btn,"menu.transform":Ptn,"menu.file":Ftn,"menu.edit":Ntn,"menu.view":$tn,"menu.preferences":ztn,"menu.sign.in":Utn,"menu.sign.out":jtn,"become.a.sponsor":Htn,"zoom.to.content":qtn,"zoom.to.selection":Wtn,"zoom.to.fit":Gtn,"zoom.to":Vtn,"preferences.dark.mode":Ktn,"preferences.focus.mode":Ytn,"preferences.debug.mode":Xtn,"preferences.show.grid":Jtn,"preferences.use.cad.selection":Ztn,"preferences.keep.stylemenu.open":Qtn,"preferences.always.show.snaps":enn,"preferences.rotate.handles":tnn,"preferences.binding.handles":nnn,"preferences.clone.handles":rnn,undo:inn,redo:ann,cut:onn,copy:snn,paste:lnn,"copy.as":unn,"export.as":cnn,"select.all":fnn,"select.none":dnn,delete:hnn,"new.project":pnn,open:gnn,save:mnn,"save.as":vnn,"upload.media":ynn,"create.page":bnn,"new.page":wnn,"page.name":knn,duplicate:_nn,cancel:Cnn,"copy.invite.link":Enn,"copy.readonly.link":xnn,"create.multiplayer.project":Snn,"copy.multiplayer.project":Ann,select:Tnn,eraser:Dnn,draw:Inn,arrow:Rnn,text:Mnn,sticky:Onn,rectangle:Lnn,ellipse:Bnn,triangle:Pnn,line:Fnn,rotate:Nnn,"lock.aspect.ratio":$nn,"unlock.aspect.ratio":znn,group:Unn,ungroup:jnn,"move.to.back":Hnn,"move.backward":qnn,"move.forward":Wnn,"move.to.front":Gnn,"reset.angle":Vnn,lock:Knn,unlock:Ynn,"align.distribute":Xnn,"move.to.page":Jnn,"flip.horizontal":Znn,"flip.vertical":Qnn,move:ern,"to.front":trn,forward:nrn,backward:rrn,back:irn,language:arn,"translation.link":orn,"dock.position":srn,bottom:lrn,left:urn,right:crn,top:frn,page:drn,"keyboard.shortcuts":hrn,search:prn,loading:grn,"export.background":mrn,transparent:vrn,auto:yrn,light:brn,dark:wrn},_rn="Cor",Crn="Recheo",Ern="Liña",xrn="Tamaño",Srn="Manter aberto",Arn="Fonte",Trn="Aliñamento",Drn="Estilos",Irn="Achegar",Rrn="Afastar",Mrn="A",Orn="Ferramentas",Lrn="Transformar",Brn="Arquivo",Prn="Editar",Frn="Ver",Nrn="Preferencias",$rn="Iniciar sesión",zrn="Pechar sesión",Urn="Convírtete en patrocinador",jrn="Achegar ao contido",Hrn="Achegar á selección",qrn="Axustar á ventá",Wrn="Achegar a",Grn="Modo escuro",Vrn="Modo concentración",Krn="Modo depuración",Yrn="Amosar cuadrícula",Xrn="Usar selección CAD",Jrn="Manter menú de estilos aberto",Zrn="Amosar puntos de axuste",Qrn="Control de rotación",ein="Control de vinculación",tin="Control de clonación",nin="Desfacer",rin="Refacer",iin="Cortar",ain="Copiar",oin="Pegar",sin="Copiar como",lin="Exportar como",uin="Selecionar todo",cin="Selecionar nada",fin="Borrar",din="Novo Proxecto",hin="Abrir",pin="Gardar",gin="Gardar como",min="Subir medios",vin="Crear páxina",yin="Nova páxina",bin="Nome de páxina",win="Duplicar",kin="Opcións de formas",_in="Formas",Cin="Cancelar",Ein="Copiar invitación",xin="Copiar invitación (só lectura)",Sin="Crear proxecto multixogador",Ain="Copiar proxecto multixogador",Tin="Seleccionar",Din="Borrador",Iin="Debuxar",Rin="Frecha",Min="Texto",Oin="Pegatina",Lin="Rectángulo",Bin="Elipse",Pin="Triángulo",Fin="Liña",Nin="Rotar",$in="Bloquear relación de aspecto",zin="Desbloquear relación de aspecto",Uin="Agrupar",jin="Desagrupar",Hin="Mover ao fondo",qin="Mover atrás",Win="Mover adiante",Gin="Mover ao fronte",Vin="Restablecer ángulo",Kin="Bloquear",Yin="Desbloquear",Xin="Aliñar / Distribuír",Jin="Mover á páxina",Zin="Voltear horizontalmente",Qin="Voltear verticalmente",ean="Mover",tan="Ao fronte",nan="Adilante",ran="Atrás",ian="Fondo",aan="Idioma",oan="Saber máis",san="Posición do dock",lan="Abaixo",uan="Esquerda",can="Dereita",fan="Arriba",dan="Páxina",han="Atallos de teclado",pan="Buscar",gan="Cargando{dots}",man="Exportar fondo",van="Transparente",yan="Auto",ban="Claro",wan="Escuro",kan="Github",_an="Twitter",Can="Discord",Ean="Imaxe",xan="Aliñar á esquerda",San="Aliñar ao centro horizontalmente",Aan="Aliñar á dereita",Tan="Aliñar arriba",Dan="Aliñar ao centro verticalmente",Ian="Aliñar abaixo",Ran="Distribuír horizontalmente",Man="Distribuír verticalmente",Oan="Estirar horizontalmente",Lan="Estirar verticalmente",Ban="Queres gardar o proxecto actual?",Pan="Queres gardar os cambios ao proxecto actual?",Fan="Cancelar",Nan="No",$an="Sí",zan="Introduce o nome do arquivo",Uan="Proba o novo tldraw",jan="Branco",Han="Gris claro",qan="Gris",Wan="Negro",Gan="Verde",Van="Cian",Kan="Azul",Yan="Indigo",Xan="Violeta",Jan="Vermello",Zan="Laranxa",Qan="Amarelo",eon="Contínuo",ton="Discontínuo",non="Punteado",ron="Pequeno",ion="Mediano",aon="Grande",oon={"style.menu.color":_rn,"style.menu.fill":Crn,"style.menu.dash":Ern,"style.menu.size":xrn,"style.menu.keep.open":Srn,"style.menu.font":Arn,"style.menu.align":Trn,styles:Drn,"zoom.in":Irn,"zoom.out":Rrn,to:Mrn,"menu.tools":Orn,"menu.transform":Lrn,"menu.file":Brn,"menu.edit":Prn,"menu.view":Frn,"menu.preferences":Nrn,"menu.sign.in":$rn,"menu.sign.out":zrn,"become.a.sponsor":Urn,"zoom.to.content":jrn,"zoom.to.selection":Hrn,"zoom.to.fit":qrn,"zoom.to":Wrn,"preferences.dark.mode":Grn,"preferences.focus.mode":Vrn,"preferences.debug.mode":Krn,"preferences.show.grid":Yrn,"preferences.use.cad.selection":Xrn,"preferences.keep.stylemenu.open":Jrn,"preferences.always.show.snaps":Zrn,"preferences.rotate.handles":Qrn,"preferences.binding.handles":ein,"preferences.clone.handles":tin,undo:nin,redo:rin,cut:iin,copy:ain,paste:oin,"copy.as":sin,"export.as":lin,"select.all":uin,"select.none":cin,delete:fin,"new.project":din,open:hin,save:pin,"save.as":gin,"upload.media":min,"create.page":vin,"new.page":yin,"page.name":bin,duplicate:win,"shape.options":kin,shapes:_in,cancel:Cin,"copy.invite.link":Ein,"copy.readonly.link":xin,"create.multiplayer.project":Sin,"copy.multiplayer.project":Ain,select:Tin,eraser:Din,draw:Iin,arrow:Rin,text:Min,sticky:Oin,rectangle:Lin,ellipse:Bin,triangle:Pin,line:Fin,rotate:Nin,"lock.aspect.ratio":$in,"unlock.aspect.ratio":zin,group:Uin,ungroup:jin,"move.to.back":Hin,"move.backward":qin,"move.forward":Win,"move.to.front":Gin,"reset.angle":Vin,lock:Kin,unlock:Yin,"align.distribute":Xin,"move.to.page":Jin,"flip.horizontal":Zin,"flip.vertical":Qin,move:ean,"to.front":tan,forward:nan,backward:ran,back:ian,language:aan,"translation.link":oan,"dock.position":san,bottom:lan,left:uan,right:can,top:fan,page:dan,"keyboard.shortcuts":han,search:pan,loading:gan,"export.background":man,transparent:van,auto:yan,light:ban,dark:wan,github:kan,twitter:_an,discord:Can,image:Ean,"align.left":xan,"align.center.x":San,"align.right":Aan,"align.top":Tan,"align.center.y":Dan,"align.bottom":Ian,"distribute.x":Ran,"distribute.y":Man,"stretch.x":Oan,"stretch.y":Lan,"dialog.save.firsttime":Ban,"dialog.save.again":Pan,"dialog.cancel":Fan,"dialog.no":Nan,"dialog.yes":$an,"enter.file.name":zan,"tldraw-beta":Uan,white:jan,lightGray:Han,gray:qan,black:Wan,green:Gan,cyan:Van,blue:Kan,indigo:Yan,violet:Xan,red:Jan,orange:Zan,yellow:Qan,solid:eon,dashed:ton,dotted:non,small:ron,medium:ion,large:aon},son="צבע",lon="מלא",uon="גבול",con="גודל",fon="השאר פתוח",don="גופן",hon="יישור",pon="עיצוב",gon="הגדל תצוגה",mon="הקטן תצוגה",von="ל",yon="קובץ",bon="עריכה",won="תצוגה",kon="מאפיינים",_on="הירשם",Con="התנתק",Eon="מתן חסות",xon="זום לבחירה",Son="זום להתאמה",Aon="זום ל",Ton="מצב חשוך",Don="מצב פוקוס",Ion="מצב דיבאג",Ron="(גריד)הראה רשת עימוד",Mon="סימון CAD",Oon="השאר תפריט עיצוב פתוח",Lon="הראה קווי מתאר",Bon="הראה ידיות סיבוב",Pon="הראה ידיות קשירה",Fon="הראה ידיות שיכפול",Non="בטל",$on="עשה מחדש",zon="גזור",Uon="העתק",jon="הדבק",Hon="העתק כ",qon="ייצא כ",Won="בחר הכל",Gon="בטל בחירה",Von="מחק",Kon="פרויקט חדש",Yon="פתח",Xon="שמור",Jon="שמור כ",Zon="העלאת מדיה",Qon="צור דף",esn="דף חדש",tsn="שם הדף",nsn="שכפל",rsn="בטל",isn="העתק קישור הזמנה",asn="צור פרויקט רב משתתפים",osn="העתק לפרויקט רב משתתפים",ssn="סמן",lsn="מחק",usn="צייר",csn="חץ",fsn="טקסט",dsn="דביקי",hsn="מרובע",psn="אליפסה",gsn="משולש",msn="קו",vsn="סובב",ysn="נעל יחס רוחב-גובה",bsn="שחרר נעילת יחס רוחב-גובה",wsn="קבץ",ksn="בטל קיבוץ",_sn="הבא לתחתית",Csn="הזז אחורה",Esn="הזז קדימה",xsn="הבא לחזית",Ssn="אפס זווית",Asn="נעל",Tsn="שחרר נעילה",Dsn="הזז לדף",Isn="הפוך אופקית",Rsn="הפוך אנכית",Msn="הזז",Osn="הבא לקדימה",Lsn="קדימה",Bsn="אחורה",Psn="בחזרה",Fsn="שפה",Nsn={"style.menu.color":son,"style.menu.fill":lon,"style.menu.dash":uon,"style.menu.size":con,"style.menu.keep.open":fon,"style.menu.font":don,"style.menu.align":hon,styles:pon,"zoom.in":gon,"zoom.out":mon,to:von,"menu.file":yon,"menu.edit":bon,"menu.view":won,"menu.preferences":kon,"menu.sign.in":_on,"menu.sign.out":Con,"become.a.sponsor":Eon,"zoom.to.selection":xon,"zoom.to.fit":Son,"zoom.to":Aon,"preferences.dark.mode":Ton,"preferences.focus.mode":Don,"preferences.debug.mode":Ion,"preferences.show.grid":Ron,"preferences.use.cad.selection":Mon,"preferences.keep.stylemenu.open":Oon,"preferences.always.show.snaps":Lon,"preferences.rotate.handles":Bon,"preferences.binding.handles":Pon,"preferences.clone.handles":Fon,undo:Non,redo:$on,cut:zon,copy:Uon,paste:jon,"copy.as":Hon,"export.as":qon,"select.all":Won,"select.none":Gon,delete:Von,"new.project":Kon,open:Yon,save:Xon,"save.as":Jon,"upload.media":Zon,"create.page":Qon,"new.page":esn,"page.name":tsn,duplicate:nsn,cancel:rsn,"copy.invite.link":isn,"create.multiplayer.project":asn,"copy.multiplayer.project":osn,select:ssn,eraser:lsn,draw:usn,arrow:csn,text:fsn,sticky:dsn,rectangle:hsn,ellipse:psn,triangle:gsn,line:msn,rotate:vsn,"lock.aspect.ratio":ysn,"unlock.aspect.ratio":bsn,group:wsn,ungroup:ksn,"move.to.back":_sn,"move.backward":Csn,"move.forward":Esn,"move.to.front":xsn,"reset.angle":Ssn,lock:Asn,unlock:Tsn,"move.to.page":Dsn,"flip.horizontal":Isn,"flip.vertical":Rsn,move:Msn,"to.front":Osn,forward:Lsn,backward:Bsn,back:Psn,language:Fsn},$sn="Colore",zsn="Riempi",Usn="Tratteggo",jsn="Dimensione",Hsn="Mantieni aperto",qsn="Font",Wsn="Allineamento",Gsn="Stile",Vsn="Ingrandisci",Ksn="Rimpicciolisci",Ysn="Imposta",Xsn="File",Jsn="Modifica",Zsn="Visualizzazione",Qsn="Preferenze",eln="Accedi",tln="Esci",nln="Sponsorizza",rln="Adatta alla selezione",iln="Adatta",aln="Ingrandisci",oln="Modalità scura",sln="Modalità zen",lln="Modalità sviluppatore",uln="Mostra griglia",cln="Selezione CAD",fln="Mantieni menu stile aperto",dln="Mostra sempre le guide",hln="Controlli d'inclinazione",pln="Controlli d'associazione",gln="Controlli di clonazione",mln="Annulla",vln="Ripristina",yln="Taglia",bln="Copia",wln="Incolla",kln="Copia come",_ln="Esporta come",Cln="Seleziona tutto",Eln="Deseleziona tutto",xln="Elimina",Sln="Nuovo progetto",Aln="Apri",Tln="Salva",Dln="Salva come",Iln="Carica contenuti multimediali",Rln="Crea nuova pagina",Mln="Nuova pagina",Oln="Nome pagina",Lln="Pagina",Bln="Duplica",Pln="Chiudi",Fln="Copia link invito",Nln="Crea progetto multiplayer",$ln="Trasforma in progetto multiplayer",zln="Seleziona",Uln="Gomma",jln="Matita",Hln="Freccia",qln="Casella di testo",Wln="Post-it",Gln="Rettangolo",Vln="Ellisse",Kln="Triangolo",Yln="Linea",Xln="Ruota",Jln="Blocca rapporto lati",Zln="Sblocca rapporto lati",Qln="Raggruppa",eun="Separa",tun="Muovi in fondo",nun="Sposta indietro",run="Sposta avanti",iun="Muovi in fronte",aun="Reimposta angolo",oun="Blocca",sun="Sblocca",lun="Trasferisci a pagina",uun="Ribalta orizzontalmente",cun="Ribalta verticalmente",fun="Sposta",dun="In primo piano",hun="Sposta avanti",pun="Sposta indietro",gun="In fondo",mun="Lingua",vun="Posizione dock",yun="In basso",bun="Sinistra",wun="Destra",kun="In Alto",_un={"style.menu.color":$sn,"style.menu.fill":zsn,"style.menu.dash":Usn,"style.menu.size":jsn,"style.menu.keep.open":Hsn,"style.menu.font":qsn,"style.menu.align":Wsn,styles:Gsn,"zoom.in":Vsn,"zoom.out":Ksn,to:Ysn,"menu.file":Xsn,"menu.edit":Jsn,"menu.view":Zsn,"menu.preferences":Qsn,"menu.sign.in":eln,"menu.sign.out":tln,"become.a.sponsor":nln,"zoom.to.selection":rln,"zoom.to.fit":iln,"zoom.to":aln,"preferences.dark.mode":oln,"preferences.focus.mode":sln,"preferences.debug.mode":lln,"preferences.show.grid":uln,"preferences.use.cad.selection":cln,"preferences.keep.stylemenu.open":fln,"preferences.always.show.snaps":dln,"preferences.rotate.handles":hln,"preferences.binding.handles":pln,"preferences.clone.handles":gln,undo:mln,redo:vln,cut:yln,copy:bln,paste:wln,"copy.as":kln,"export.as":_ln,"select.all":Cln,"select.none":Eln,delete:xln,"new.project":Sln,open:Aln,save:Tln,"save.as":Dln,"upload.media":Iln,"create.page":Rln,"new.page":Mln,"page.name":Oln,page:Lln,duplicate:Bln,cancel:Pln,"copy.invite.link":Fln,"create.multiplayer.project":Nln,"copy.multiplayer.project":$ln,select:zln,eraser:Uln,draw:jln,arrow:Hln,text:qln,sticky:Wln,rectangle:Gln,ellipse:Vln,triangle:Kln,line:Yln,rotate:Xln,"lock.aspect.ratio":Jln,"unlock.aspect.ratio":Zln,group:Qln,ungroup:eun,"move.to.back":tun,"move.backward":nun,"move.forward":run,"move.to.front":iun,"reset.angle":aun,lock:oun,unlock:sun,"move.to.page":lun,"flip.horizontal":uun,"flip.vertical":cun,move:fun,"to.front":dun,forward:hun,backward:pun,back:gun,language:mun,"dock.position":vun,bottom:yun,left:bun,right:wun,top:kun},Cun="色",Eun="塗りつぶし",xun="線",Sun="太さ/サイズ",Aun="常に表示",Tun="フォント",Dun="配置",Iun="スタイル",Run="拡大",Mun="縮小",Oun=" ",Lun="ファイル",Bun="編集",Pun="表示",Fun="設定",Nun="サインイン",$un="サインアウト",zun="支援する",Uun="選択したアイテムに合わせて拡大",jun="拡大してすべてを表示",Hun="拡大率",qun="ダークモード",Wun="フォーカスモード",Gun="デバッグモード",Vun="グリッドを表示",Kun="CADの選択法を使用",Yun="スタイルメニューを常に表示",Xun="スナップを常に表示",Jun="回転ハンドルを表示",Zun="結合ハンドルを表示",Qun="クローンハンドルを表示",ecn="元に戻す",tcn="やり直し",ncn="切り取り",rcn="コピー",icn="貼り付け",acn="形式を選択してコピー",ocn="形式を選択してエクスポート",scn="すべて選択",lcn="選択を解除",ucn="削除",ccn="新しいプロジェクト",fcn="開く",dcn="保存",hcn="名前をつけて保存",pcn="メディアをアップロード",gcn="ページを作成",mcn="新規ページ",vcn="ページ名",ycn="複製",bcn="キャンセル",wcn="共有リンクをクリップボードにコピー",kcn="マルチプレイヤープロジェクトを作成",_cn="マルチプレイヤープロジェクトにコピー",Ccn="選択",Ecn="消しゴム",xcn="描画",Scn="矢印",Acn="テキスト",Tcn="ふせん",Dcn="長方形",Icn="楕円形",Rcn="三角形",Mcn="線",Ocn="回転",Lcn="縦横比を固定",Bcn="縦横比の固定を解除",Pcn="グルーピング",Fcn="グループ解除",Ncn="最背面に移動",$cn="ひとつ後ろに移動",zcn="ひとつ前に移動",Ucn="最前面に移動",jcn="角度を初期化",Hcn="ロック",qcn="アンロック",Wcn="ページへ移動",Gcn="水平方向に反転",Vcn="垂直方向に反転",Kcn="移動",Ycn="最前面へ",Xcn="ひとつ前へ",Jcn="ひとつ後ろへ",Zcn="最背面へ",Qcn="言語",efn={"style.menu.color":Cun,"style.menu.fill":Eun,"style.menu.dash":xun,"style.menu.size":Sun,"style.menu.keep.open":Aun,"style.menu.font":Tun,"style.menu.align":Dun,styles:Iun,"zoom.in":Run,"zoom.out":Mun,to:Oun,"menu.file":Lun,"menu.edit":Bun,"menu.view":Pun,"menu.preferences":Fun,"menu.sign.in":Nun,"menu.sign.out":$un,"become.a.sponsor":zun,"zoom.to.selection":Uun,"zoom.to.fit":jun,"zoom.to":Hun,"preferences.dark.mode":qun,"preferences.focus.mode":Wun,"preferences.debug.mode":Gun,"preferences.show.grid":Vun,"preferences.use.cad.selection":Kun,"preferences.keep.stylemenu.open":Yun,"preferences.always.show.snaps":Xun,"preferences.rotate.handles":Jun,"preferences.binding.handles":Zun,"preferences.clone.handles":Qun,undo:ecn,redo:tcn,cut:ncn,copy:rcn,paste:icn,"copy.as":acn,"export.as":ocn,"select.all":scn,"select.none":lcn,delete:ucn,"new.project":ccn,open:fcn,save:dcn,"save.as":hcn,"upload.media":pcn,"create.page":gcn,"new.page":mcn,"page.name":vcn,duplicate:ycn,cancel:bcn,"copy.invite.link":wcn,"create.multiplayer.project":kcn,"copy.multiplayer.project":_cn,select:Ccn,eraser:Ecn,draw:xcn,arrow:Scn,text:Acn,sticky:Tcn,rectangle:Dcn,ellipse:Icn,triangle:Rcn,line:Mcn,rotate:Ocn,"lock.aspect.ratio":Lcn,"unlock.aspect.ratio":Bcn,group:Pcn,ungroup:Fcn,"move.to.back":Ncn,"move.backward":$cn,"move.forward":zcn,"move.to.front":Ucn,"reset.angle":jcn,lock:Hcn,unlock:qcn,"move.to.page":Wcn,"flip.horizontal":Gcn,"flip.vertical":Vcn,move:Kcn,"to.front":Ycn,forward:Xcn,backward:Jcn,back:Zcn,language:Qcn},tfn="색깔",nfn="채우기",rfn="테두리",ifn="크기",afn="항상 열기",ofn="글꼴",sfn="정렬",lfn="스타일",ufn="확대",cfn="축소",ffn="To",dfn="도구",hfn="변환",pfn="파일",gfn="편집",mfn="보기",vfn="설정",yfn="로그인",bfn="로그아웃",wfn="후원자 되기",kfn="컨텐츠로 돌아가기",_fn="선택 요소에 맞추기",Cfn="전체에 맞추기",Efn="맞추기",xfn="다크 모드",Sfn="집중 모드",Afn="디버그 모드",Tfn="격자 보기",Dfn="CAD 선택 사용",Ifn="스타일 메뉴 항상 열기",Rfn="Snap 항상 열기",Mfn="회전 보이기",Ofn="바인딩 보이기",Lfn="복제 보이기",Bfn="실행취소",Pfn="재실행",Ffn="자르기",Nfn="복사",$fn="붙여넣기",zfn="이미지로 복사",Ufn="내보내기",jfn="전체 선택",Hfn="선택 해제",qfn="삭제",Wfn="새 프로젝트",Gfn="열기",Vfn="저장",Kfn="다른 이름으로 저장",Yfn="미디어 업로드",Xfn="새 페이지 생성",Jfn="새 페이지",Zfn="페이지 이름",Qfn="복제",edn="취소",tdn="초대 링크 복사",ndn="읽기 전용 링크 복사",rdn="실시간 협업 프로젝트 생성",idn="실시간 협업 프로젝트로 복제",adn="선택",odn="지우개",sdn="펜",ldn="화살표",udn="텍스트",cdn="스티키노트",fdn="사각형",ddn="원",hdn="삼각형",pdn="선",gdn="회전",mdn="비율 잠금",vdn="비율 잠금 해제",ydn="그룹화",bdn="그룹화 해제",wdn="맨 뒤로 보내기",kdn="뒤로 보내기",_dn="앞으로 가져오기",Cdn="맨 앞으로 가져오기",Edn="회전 초기화",xdn="잠금",Sdn="잠금 해제",Adn="정렬 / 간격 맞추기",Tdn="페이지로 이동",Ddn="좌우 대칭",Idn="상하 대칭",Rdn="순서",Mdn="맨 앞으로",Odn="앞으로",Ldn="뒤로",Bdn="맨 뒤로",Pdn="언어",Fdn="더 알아보기",Ndn="독 위치",$dn="하단",zdn="왼쪽",Udn="오른쪽",jdn="상단",Hdn="페이지",qdn="키보드 단축키",Wdn="검색",Gdn="로딩{dots}",Vdn="배경 내보내기",Kdn="투명",Ydn="자동",Xdn="라이트",Jdn="다크",Zdn="Github",Qdn="Twitter",ehn="Discord",thn="이미지",nhn="왼쪽 정렬",rhn="수평 중앙 정렬",ihn="오른쪽 정렬",ahn="상단 정렬",ohn="수직 중앙 정렬",shn="하단 정렬",lhn="가로 간격 맞추기",uhn="세로 간격 맞추기",chn="수평으로 늘리기",fhn="수직으로 늘리기",dhn="현재 프로젝트를 저장하시겠습니까?",hhn="변경사항을 현재 프로젝트에 저장하시겠습니까?",phn="취소",ghn="아니오",mhn="네",vhn="파일 이름을 입력해주세요",yhn="새로운 tldraw를 사용해보세요",bhn={"style.menu.color":tfn,"style.menu.fill":nfn,"style.menu.dash":rfn,"style.menu.size":ifn,"style.menu.keep.open":afn,"style.menu.font":ofn,"style.menu.align":sfn,styles:lfn,"zoom.in":ufn,"zoom.out":cfn,to:ffn,"menu.tools":dfn,"menu.transform":hfn,"menu.file":pfn,"menu.edit":gfn,"menu.view":mfn,"menu.preferences":vfn,"menu.sign.in":yfn,"menu.sign.out":bfn,"become.a.sponsor":wfn,"zoom.to.content":kfn,"zoom.to.selection":_fn,"zoom.to.fit":Cfn,"zoom.to":Efn,"preferences.dark.mode":xfn,"preferences.focus.mode":Sfn,"preferences.debug.mode":Afn,"preferences.show.grid":Tfn,"preferences.use.cad.selection":Dfn,"preferences.keep.stylemenu.open":Ifn,"preferences.always.show.snaps":Rfn,"preferences.rotate.handles":Mfn,"preferences.binding.handles":Ofn,"preferences.clone.handles":Lfn,undo:Bfn,redo:Pfn,cut:Ffn,copy:Nfn,paste:$fn,"copy.as":zfn,"export.as":Ufn,"select.all":jfn,"select.none":Hfn,delete:qfn,"new.project":Wfn,open:Gfn,save:Vfn,"save.as":Kfn,"upload.media":Yfn,"create.page":Xfn,"new.page":Jfn,"page.name":Zfn,duplicate:Qfn,cancel:edn,"copy.invite.link":tdn,"copy.readonly.link":ndn,"create.multiplayer.project":rdn,"copy.multiplayer.project":idn,select:adn,eraser:odn,draw:sdn,arrow:ldn,text:udn,sticky:cdn,rectangle:fdn,ellipse:ddn,triangle:hdn,line:pdn,rotate:gdn,"lock.aspect.ratio":mdn,"unlock.aspect.ratio":vdn,group:ydn,ungroup:bdn,"move.to.back":wdn,"move.backward":kdn,"move.forward":_dn,"move.to.front":Cdn,"reset.angle":Edn,lock:xdn,unlock:Sdn,"align.distribute":Adn,"move.to.page":Tdn,"flip.horizontal":Ddn,"flip.vertical":Idn,move:Rdn,"to.front":Mdn,forward:Odn,backward:Ldn,back:Bdn,language:Pdn,"translation.link":Fdn,"dock.position":Ndn,bottom:$dn,left:zdn,right:Udn,top:jdn,page:Hdn,"keyboard.shortcuts":qdn,search:Wdn,loading:Gdn,"export.background":Vdn,transparent:Kdn,auto:Ydn,light:Xdn,dark:Jdn,github:Zdn,twitter:Qdn,discord:ehn,image:thn,"align.left":nhn,"align.center.x":rhn,"align.right":ihn,"align.top":ahn,"align.center.y":ohn,"align.bottom":shn,"distribute.x":lhn,"distribute.y":uhn,"stretch.x":chn,"stretch.y":fhn,"dialog.save.firsttime":dhn,"dialog.save.again":hhn,"dialog.cancel":phn,"dialog.no":ghn,"dialog.yes":mhn,"enter.file.name":vhn,"tldraw-beta":yhn},whn="رەنگ",khn="پڕکردنەوە",_hn="لەت لەت",Chn="قەبارە",Ehn="بە کراوەیی بمێنەرەوە",xhn="هێڵ",Shn="ڕێکخستن",Ahn="نەخشەکان",Thn="هێنانە پێشەوە",Dhn="دوور خستنەوە",Ihn="بۆ",Rhn="ئامرازەکان",Mhn="گۆڕین",Ohn="فایلێک",Lhn="دەستکاری",Bhn="دیمەن",Phn="خواست",Fhn="چوونە ژوورەوە",Nhn="دەرچوون",$hn="سپۆنسەر بە",zhn="زووم بکە بۆ ناوەڕۆک",Uhn="زووم بکە بۆ هەڵبژاردن",jhn="زووم بکە بۆ ئەوەی لەگەڵیدا بگونجێت",Hhn="زووم بکە بۆ",qhn="دۆخی تاریک",Whn="دۆخی فۆکەس",Ghn="مۆدی هەڵەدۆزین",Vhn="تۆڕی پیشان بدە",Khn="بەکاربهێنە CAD هەڵبژاردنی",Yhn="مێنۆی ستایل بە کراوەیی بهێڵەرەوە",Xhn="هەمیشە وێنەی خێرا پیشان بدە",Jhn="سورانەوەی دەستەکان",Zhn="بەستنەوەی دەستەکان",Qhn="کلۆن کردنی دەستەکان",e0n="پاشەکشە بکە",t0n="دووبارە بیکەرەوە",n0n="بڕین",r0n="کۆپی بکە",i0n="پەیست بکە",a0n="کۆپی وەک",o0n="هەناردەکردن وەک",s0n="هەموویان هەڵبژێره",l0n="هیچ هه‌ڵمه‌بژێره‌",u0n="سڕینەوە",c0n="پڕۆژەی نوێ",f0n="کردنەوە",d0n="هەڵگرتن",h0n="هەڵگرتن وەک",p0n="داگرتنی میدیا",g0n="دروستکردنی لاپەڕە",m0n="لاپەڕەی نوێ",v0n="ناوی لاپەڕە",y0n="دووبارەکردنەوە",b0n="ڕەتکردنەوە",w0n="لینکی بانگهێشتکردن کۆپی بکە",k0n="بە شێوەیەکی هەڕەمەکی کۆپی بکە",_0n="دروستکردنی پرۆژەی فرە بەکارهێنەر",C0n="کۆپی بکە بۆ پڕۆژەیەکی فرە بەکارهێنەر",E0n="دەسنیاشنکردن",x0n="سڕەرەوە",S0n="وێنەکێشان",A0n="تیر",T0n="دەق",D0n="چەسپاو",I0n="لاکێشە",R0n="بیبلی",M0n="سێگۆشە",O0n="هێڵ",L0n="سوڕانەوە",B0n="قفڵکردنی ڕێژەی ڕووبەری",P0n="کردنەوەی ڕێژەی ڕووبەری",F0n="کۆمەڵە",N0n="لابردنی کۆمەڵە",$0n="بچۆ بۆ پشتەوە",z0n="بەرەو دواوە",U0n="بڕۆ پێشەوە",j0n="بگوازرێتەوە بۆ پێشەوە",H0n="گۆشەی پشوودان",q0n="قوفڵ",W0n="لابردنی قوفڵ",G0n="بچۆ بۆ لاپەڕە",V0n="ئاسۆیی وەرگەڕاندن",K0n="ستونی وەرگەڕاندن",Y0n="جووڵە",X0n="بۆ پێشەوە",J0n="بۆپشتەوە",Z0n="بۆدواوە",Q0n="گەڕانەوە",epn="زمان",tpn="بەستەری وەرگێڕان",npn="شوێنی دۆک",rpn="خوارەوە",ipn="چەپ",apn="ڕاست",opn="سەروو",spn="لاپەڕە",lpn="کورتکراوەکانی تەختەکلیل",upn="گەڕان",cpn="بارکردن",fpn="پاشخانی هەناردەکردن",dpn="ڕوون",hpn="ئۆتۆماتیکی",ppn="رووناک",gpn="تاریک",mpn={"style.menu.color":whn,"style.menu.fill":khn,"style.menu.dash":_hn,"style.menu.size":Chn,"style.menu.keep.open":Ehn,"style.menu.font":xhn,"style.menu.align":Shn,styles:Ahn,"zoom.in":Thn,"zoom.out":Dhn,to:Ihn,"menu.tools":Rhn,"menu.transform":Mhn,"menu.file":Ohn,"menu.edit":Lhn,"menu.view":Bhn,"menu.preferences":Phn,"menu.sign.in":Fhn,"menu.sign.out":Nhn,"become.a.sponsor":$hn,"zoom.to.content":zhn,"zoom.to.selection":Uhn,"zoom.to.fit":jhn,"zoom.to":Hhn,"preferences.dark.mode":qhn,"preferences.focus.mode":Whn,"preferences.debug.mode":Ghn,"preferences.show.grid":Vhn,"preferences.use.cad.selection":Khn,"preferences.keep.stylemenu.open":Yhn,"preferences.always.show.snaps":Xhn,"preferences.rotate.handles":Jhn,"preferences.binding.handles":Zhn,"preferences.clone.handles":Qhn,undo:e0n,redo:t0n,cut:n0n,copy:r0n,paste:i0n,"copy.as":a0n,"export.as":o0n,"select.all":s0n,"select.none":l0n,delete:u0n,"new.project":c0n,open:f0n,save:d0n,"save.as":h0n,"upload.media":p0n,"create.page":g0n,"new.page":m0n,"page.name":v0n,duplicate:y0n,cancel:b0n,"copy.invite.link":w0n,"copy.readonly.link":k0n,"create.multiplayer.project":_0n,"copy.multiplayer.project":C0n,select:E0n,eraser:x0n,draw:S0n,arrow:A0n,text:T0n,sticky:D0n,rectangle:I0n,ellipse:R0n,triangle:M0n,line:O0n,rotate:L0n,"lock.aspect.ratio":B0n,"unlock.aspect.ratio":P0n,group:F0n,ungroup:N0n,"move.to.back":$0n,"move.backward":z0n,"move.forward":U0n,"move.to.front":j0n,"reset.angle":H0n,lock:q0n,unlock:W0n,"move.to.page":G0n,"flip.horizontal":V0n,"flip.vertical":K0n,move:Y0n,"to.front":X0n,forward:J0n,backward:Z0n,back:Q0n,language:epn,"translation.link":tpn,"dock.position":npn,bottom:rpn,left:ipn,right:apn,top:opn,page:spn,"keyboard.shortcuts":lpn,search:upn,loading:cpn,"export.background":fpn,transparent:dpn,auto:hpn,light:ppn,dark:gpn},vpn="Color",ypn="Fill",bpn="Dash",wpn="Size",kpn="Keep Open",_pn="Font",Cpn="Align",Epn="Styles",xpn="Zoom In",Spn="Zoom Out",Apn="To",Tpn="Tools",Dpn="Transform",Ipn="File",Rpn="Edit",Mpn="View",Opn="Preferences",Lpn="Sign In",Bpn="Sign Out",Ppn="Become a Sponsor",Fpn="Back to content",Npn="Zoom to Selection",$pn="Zoom to Fit",zpn="Zoom to",Upn="Dark Mode",jpn="Focus Mode",Hpn="Debug Mode",qpn="Show Grid",Wpn="Use CAD Selection",Gpn="Keep Style Menu Open",Vpn="Always Show Snaps",Kpn="Rotate Handles",Ypn="Binding Handles",Xpn="Clone Handles",Jpn="Undo",Zpn="Redo",Qpn="Cut",e1n="Copy",t1n="Paste",n1n="Copy As",r1n="Export As",i1n="Select All",a1n="Select None",o1n="Delete",s1n="New Project",l1n="Open",u1n="Save",c1n="Save As",f1n="Upload Media",d1n="Create Page",h1n="New Page",p1n="Page Name",g1n="Duplicate",m1n="Shape Options",v1n="Shapes",y1n="Cancel",b1n="Copy Invite Link",w1n="Copy ReadOnly Link",k1n="Create a Multiplayer Project",_1n="Copy to Multiplayer Project",C1n="Select",E1n="Eraser",x1n="Draw",S1n="Arrow",A1n="Text",T1n="Sticky",D1n="Rectangle",I1n="Ellipse",R1n="Triangle",M1n="Line",O1n="Rotate",L1n="Lock Aspect Ratio",B1n="Unlock Aspect Ratio",P1n="Group",F1n="Ungroup",N1n="Move to Back",$1n="Move Backward",z1n="Move Forward",U1n="Move to Front",j1n="Reset Angle",H1n="Lock",q1n="Unlock",W1n="Align / Distribute",G1n="Move to Page",V1n="Flip Horizontal",K1n="Flip Vertical",Y1n="Move",X1n="To Front",J1n="Forward",Z1n="Backward",Q1n="To Back",egn="Language",tgn="Learn More",ngn="Dock Position",rgn="Bottom",ign="Left",agn="Right",ogn="Top",sgn="Page",lgn="Keyboard shortcuts",ugn="Search",cgn="Loading{dots}",fgn="Export Background",dgn="Transparent",hgn="Auto",pgn="Light",ggn="Dark",mgn="Github",vgn="Twitter",ygn="Discord",bgn="Image",wgn="Align Left",kgn="Align Horizontal Center",_gn="Align Right",Cgn="Align Top",Egn="Align Vertical Center",xgn="Align Bottom",Sgn="Distribute Horizontal",Agn="Distribute Vertical",Tgn="Stretch Horizontal",Dgn="Stretch Vertical",Ign="Do you want to save your current project?",Rgn="Do you want to save changes to your current project?",Mgn="Cancel",Ogn="No",Lgn="Yes",Bgn="Enter file name",Pgn="Try the new tldraw",Fgn="White",Ngn="Light gray",$gn="Gray",zgn="Black",Ugn="Green",jgn="Cyan",Hgn="Blue",qgn="Indigo",Wgn="Violet",Ggn="Red",Vgn="Orange",Kgn="Yellow",Ygn="Solid",Xgn="Dashed",Jgn="Dotted",Zgn="Small",Qgn="Medium",emn="Large",tmn={"style.menu.color":vpn,"style.menu.fill":ypn,"style.menu.dash":bpn,"style.menu.size":wpn,"style.menu.keep.open":kpn,"style.menu.font":_pn,"style.menu.align":Cpn,styles:Epn,"zoom.in":xpn,"zoom.out":Spn,to:Apn,"menu.tools":Tpn,"menu.transform":Dpn,"menu.file":Ipn,"menu.edit":Rpn,"menu.view":Mpn,"menu.preferences":Opn,"menu.sign.in":Lpn,"menu.sign.out":Bpn,"become.a.sponsor":Ppn,"zoom.to.content":Fpn,"zoom.to.selection":Npn,"zoom.to.fit":$pn,"zoom.to":zpn,"preferences.dark.mode":Upn,"preferences.focus.mode":jpn,"preferences.debug.mode":Hpn,"preferences.show.grid":qpn,"preferences.use.cad.selection":Wpn,"preferences.keep.stylemenu.open":Gpn,"preferences.always.show.snaps":Vpn,"preferences.rotate.handles":Kpn,"preferences.binding.handles":Ypn,"preferences.clone.handles":Xpn,undo:Jpn,redo:Zpn,cut:Qpn,copy:e1n,paste:t1n,"copy.as":n1n,"export.as":r1n,"select.all":i1n,"select.none":a1n,delete:o1n,"new.project":s1n,open:l1n,save:u1n,"save.as":c1n,"upload.media":f1n,"create.page":d1n,"new.page":h1n,"page.name":p1n,duplicate:g1n,"shape.options":m1n,shapes:v1n,cancel:y1n,"copy.invite.link":b1n,"copy.readonly.link":w1n,"create.multiplayer.project":k1n,"copy.multiplayer.project":_1n,select:C1n,eraser:E1n,draw:x1n,arrow:S1n,text:A1n,sticky:T1n,rectangle:D1n,ellipse:I1n,triangle:R1n,line:M1n,rotate:O1n,"lock.aspect.ratio":L1n,"unlock.aspect.ratio":B1n,group:P1n,ungroup:F1n,"move.to.back":N1n,"move.backward":$1n,"move.forward":z1n,"move.to.front":U1n,"reset.angle":j1n,lock:H1n,unlock:q1n,"align.distribute":W1n,"move.to.page":G1n,"flip.horizontal":V1n,"flip.vertical":K1n,move:Y1n,"to.front":X1n,forward:J1n,backward:Z1n,back:Q1n,language:egn,"translation.link":tgn,"dock.position":ngn,bottom:rgn,left:ign,right:agn,top:ogn,page:sgn,"keyboard.shortcuts":lgn,search:ugn,loading:cgn,"export.background":fgn,transparent:dgn,auto:hgn,light:pgn,dark:ggn,github:mgn,twitter:vgn,discord:ygn,image:bgn,"align.left":wgn,"align.center.x":kgn,"align.right":_gn,"align.top":Cgn,"align.center.y":Egn,"align.bottom":xgn,"distribute.x":Sgn,"distribute.y":Agn,"stretch.x":Tgn,"stretch.y":Dgn,"dialog.save.firsttime":Ign,"dialog.save.again":Rgn,"dialog.cancel":Mgn,"dialog.no":Ogn,"dialog.yes":Lgn,"enter.file.name":Bgn,"tldraw-beta":Pgn,white:Fgn,lightGray:Ngn,gray:$gn,black:zgn,green:Ugn,cyan:jgn,blue:Hgn,indigo:qgn,violet:Wgn,red:Ggn,orange:Vgn,yellow:Kgn,solid:Ygn,dashed:Xgn,dotted:Jgn,small:Zgn,medium:Qgn,large:emn},nmn="အရောင်",rmn="အရောင် ထည့်မည်",imn="မျဥ်းစက်",amn="အရွယ်အစား",omn="ဖွင့်ထားမည်",smn="စာသားဖောင့်",lmn="အထားအသို",umn="စတိုင်",cmn="အကြီးချဲ့မည်",fmn="ပြန်ကျဥ်းမည်",dmn="သို့",hmn="ကိရိယာများ",pmn="ပြောင်းလည်ရန်",gmn="ဖိုင်",mmn="ပြုပြင်",vmn="အမြင်",ymn="ဆက်တင်",bmn="ဝင်မည်",wmn="ထွက်မည်",kmn="ငွေကြေးထောက်ပံမည်",_mn="ပင်မနေရာသို့ ပြန်သွားမည်",Cmn="ရွေးထားသော နေရာသို့ အာရုံပြုမည်",Emn="အံကိုက်ဖြစ်အောင် ချဲ့မည်",xmn="ပုံမှန်ဆိုဒ်သို့ ချဲ့မည်",Smn="အမှောင် မုဒ်",Amn="ရှင်းရှင်းလင်းလင်း မုဒ်",Tmn="စမ်းသပ် မုဒ်",Dmn="နောက်ခံ ဇယားကွက်ပြရန်",Imn="CAD ကဲ့သို့ ရွေးချယ်မှု ပြုလုပ်မည်",Rmn="စတိုင်လ် မီနူးကို အမြဲဖွင့်ထားမည်",Mmn="Always Show Snaps",Omn="Rotate Handles",Lmn="Binding Handles",Bmn="Clone Handles",Pmn="နဂိုမူလသို့ ပြန်လုပ်ရန်",Fmn="ပြန်လုပ်ရန်",Nmn="ဖြတ်ယူ",$mn="ကူးယူ",zmn="ကူးသွင်း",Umn="ကူးယူမည့် ပုံစံ",jmn="ထုတ်ချင်သည့် ပုံစံ",Hmn="အားလုံးကို ရွေးချယ်ရန်",qmn="တစ်ခုမှ မရွေးတော့ပါ",Wmn="ဖျက်မည်",Gmn="ပရောဂျက် အသစ်",Vmn="ဖွင့်မည်",Kmn="သိမ်းမည်",Ymn="အခြားသော ပုံစံဖြင့် သိမ်းမည်",Xmn="မီဒီယာဖိုင်များ တင်မည်",Jmn="စာမျက်နှာ အသစ်ဖွင့်မည်",Zmn="စာမျက်နှာ အသစ်",Qmn="စာမျက်နှာ အမည်",evn="ပွားမည်",tvn="မလုပ်တော့ပါ",nvn="ဖိတ်ကြားရန် လင့်ခ်ကူးယူမည်",rvn="ကြည့်ရူရန်အတွက်သာ လင့်ခ်ကူးယူမည်",ivn="အများသုံး ပရောဂျက်အဖြစ် အသစ်ဖန်တီးမည်",avn="အများသုံး ပရောဂျက်အဖြစ်သို့ ကူးယူမည်",ovn="ရွေးချယ်မှု",svn="ခဲဖျက်",lvn="ခဲတံ",uvn="မြှား",cvn="စာသား",fvn="ကပ်ခွာမှတ်စု",dvn="လေထောင့်",hvn="ဘဲဥ",pvn="တြိဂံ",gvn="မျဥ်း",mvn="လှည့်မည်",vvn="အချိုးအစား ထိန်းထားမည်",yvn="အချိုးအစား မထိန်းတော့ပါ",bvn="အုပ်စုဖွဲ့",wvn="အုပ်စုခွဲ",kvn="နောက်ဆုံးသို့ ပို့မည်",_vn="နောက်သို့ တစ်ဆင့်ပို့မည်",Cvn="ရှေ့သို့ တစ်ဆင့်ပို့မည်",Evn="ရှေ့ဆုံးသို့ ပို့မည်",xvn="နဂိုမူလ ထောင့်ချိုးစားသို့ပြောင်းမည်",Svn="ခတ်ထားမည်",Avn="ဖွင့်ထားမည်",Tvn="နေရာ အထားအသို/ အဆန့်အကျုံ့",Dvn="စာမျက်နှာတစ်ခုသို့ ရွေးမည်",Ivn="အလျားလိုက် လှန်မည်",Rvn="ဒေါင်လိုက် လှန်မည်",Mvn="ရွေ့မည်",Ovn="ရှေ့ဆုံးသို့",Lvn="ရှေ့တစ်ဆင့်",Bvn="နောက်တစ်ဆင့်",Pvn="နောက်ဆုံးသို့",Fvn="ဘာသာစကား",Nvn="ပိုမို၍ လေ့လာရန်",$vn="ကိရိယာ အနေအထား",zvn="အောက်",Uvn="ဘယ်",jvn="ညာ",Hvn="ထိပ်",qvn="စာမျက်နှာ",Wvn="Keyboard shortcuts",Gvn="ရှာဖွေရန်",Vvn="ခဏစောင့်ပေးရန်{dots}",Kvn="နောက်ခံ ထုတ်ယူမည်",Yvn="နောက်ခံ အကြည်",Xvn="Auto",Jvn="အလင်း",Zvn="အမှောင်",Qvn="Github",e2n="Twitter",t2n="Discord",n2n="ဓာတ်ပုံ",r2n="ဘယ်ဖက်သို့ ညှိရန်",i2n="အလျားလိုက် ဗဟိုဆီသို့ ညှိရန်",a2n="ညာဖက်သို့ ညှိရန်",o2n="အပေါ်သို့ ညှိရန်",s2n="ဒေါင်လိုက် ဗဟိုဆီသို့ ညှိရန်",l2n="အောက်သို့ ညှိရန်",u2n="အလျားလိုက် ဖြန့်ရန်",c2n="ဒေါင်လိုက် ဖြန့်ရန်",f2n="အလျားလိုက် ဆွဲဆန့်ရန်",d2n="ဒေါင်လိုက် ဆွဲဆန့်ရန်",h2n="ယခု ပရောဂျက်ကို သိမ်းဆည်လိုပါသလား ?",p2n="ယခု ပရောဂျက်တွင် ပြင်ထားသော အပြောင်းအလည်များကို အတည်ပြု သိမ်းဆည်လိုပါသလား?",g2n="ဘာမှ မလုပ်တော့ပါ",m2n="မလိုတော့ပါ",v2n="လိုပါသည်",y2n="ဖိုင်နာမည် ထည့်သွင်းရန်",b2n="tldraw အသစ်စမ်းသုံးကြည့်ရန်",w2n={"style.menu.color":nmn,"style.menu.fill":rmn,"style.menu.dash":imn,"style.menu.size":amn,"style.menu.keep.open":omn,"style.menu.font":smn,"style.menu.align":lmn,styles:umn,"zoom.in":cmn,"zoom.out":fmn,to:dmn,"menu.tools":hmn,"menu.transform":pmn,"menu.file":gmn,"menu.edit":mmn,"menu.view":vmn,"menu.preferences":ymn,"menu.sign.in":bmn,"menu.sign.out":wmn,"become.a.sponsor":kmn,"zoom.to.content":_mn,"zoom.to.selection":Cmn,"zoom.to.fit":Emn,"zoom.to":xmn,"preferences.dark.mode":Smn,"preferences.focus.mode":Amn,"preferences.debug.mode":Tmn,"preferences.show.grid":Dmn,"preferences.use.cad.selection":Imn,"preferences.keep.stylemenu.open":Rmn,"preferences.always.show.snaps":Mmn,"preferences.rotate.handles":Omn,"preferences.binding.handles":Lmn,"preferences.clone.handles":Bmn,undo:Pmn,redo:Fmn,cut:Nmn,copy:$mn,paste:zmn,"copy.as":Umn,"export.as":jmn,"select.all":Hmn,"select.none":qmn,delete:Wmn,"new.project":Gmn,open:Vmn,save:Kmn,"save.as":Ymn,"upload.media":Xmn,"create.page":Jmn,"new.page":Zmn,"page.name":Qmn,duplicate:evn,cancel:tvn,"copy.invite.link":nvn,"copy.readonly.link":rvn,"create.multiplayer.project":ivn,"copy.multiplayer.project":avn,select:ovn,eraser:svn,draw:lvn,arrow:uvn,text:cvn,sticky:fvn,rectangle:dvn,ellipse:hvn,triangle:pvn,line:gvn,rotate:mvn,"lock.aspect.ratio":vvn,"unlock.aspect.ratio":yvn,group:bvn,ungroup:wvn,"move.to.back":kvn,"move.backward":_vn,"move.forward":Cvn,"move.to.front":Evn,"reset.angle":xvn,lock:Svn,unlock:Avn,"align.distribute":Tvn,"move.to.page":Dvn,"flip.horizontal":Ivn,"flip.vertical":Rvn,move:Mvn,"to.front":Ovn,forward:Lvn,backward:Bvn,back:Pvn,language:Fvn,"translation.link":Nvn,"dock.position":$vn,bottom:zvn,left:Uvn,right:jvn,top:Hvn,page:qvn,"keyboard.shortcuts":Wvn,search:Gvn,loading:Vvn,"export.background":Kvn,transparent:Yvn,auto:Xvn,light:Jvn,dark:Zvn,github:Qvn,twitter:e2n,discord:t2n,image:n2n,"align.left":r2n,"align.center.x":i2n,"align.right":a2n,"align.top":o2n,"align.center.y":s2n,"align.bottom":l2n,"distribute.x":u2n,"distribute.y":c2n,"stretch.x":f2n,"stretch.y":d2n,"dialog.save.firsttime":h2n,"dialog.save.again":p2n,"dialog.cancel":g2n,"dialog.no":m2n,"dialog.yes":v2n,"enter.file.name":y2n,"tldraw-beta":b2n},k2n="Farge",_2n="Fyll",C2n="Linje",E2n="Størrelse",x2n="Hold åpen",S2n="Teksttype",A2n="Juster",T2n="Stiler",D2n="Zoom inn",I2n="Zoom ut",R2n="til",M2n="Fil",O2n="Rediger",L2n="Vis",B2n="Preferanser",P2n="Logg inn",F2n="Logg ut",N2n="Bli en sponsor",$2n="Zoom til valg",z2n="Zoom for å passe",U2n="Zoom til",j2n="Mørk modus",H2n="Fokus modus",q2n="Debug modus",W2n="Vis rutenett",G2n="Bruk CAD seleksjon",V2n="Hold stilmeny åpen",K2n="Vis alltid snaps",Y2n="Vis roteringshåndtak",X2n="Vis bindingshåndtak",J2n="Vis kloningshåndtak",Z2n="Angre",Q2n="Gjør om",eyn="Klipp ut",tyn="Kopier",nyn="Lim inn",ryn="Kopier som",iyn="Eksporter som",ayn="Velg alle",oyn="Velg ingen",syn="Slett",lyn="Nytt prosjekt",uyn="Åpne",cyn="Lagre",fyn="Lagre som",dyn="Last opp media",hyn="Opprett side",pyn="Ny side",gyn="Sidenavn",myn="Dupliser",vyn="Avbryt",yyn="Kopier invitasjonslink",byn="Opprett et flerspiller prosjekt",wyn="Kopier til flerspiller prosjekt",kyn="Velg",_yn="Viskelær",Cyn="Tegn",Eyn="Pil",xyn="Tekst",Syn="Lapp",Ayn="Rektangel",Tyn="Ellipse",Dyn="Trekant",Iyn="Linje",Ryn="Roter",Myn="Lås størrelsesforhold",Oyn="Lås opp størrelsesforhold",Lyn="Grupper",Byn="Avgrupper",Pyn="Flytt bakerst",Fyn="Flytt bakover",Nyn="Flytt forover",$yn="Flytt til front",zyn="Tilbakestill vinkel",Uyn="Lås",jyn="Lås opp",Hyn="Flytt til side",qyn="Snu horisontalt",Wyn="Snu vertikalt",Gyn="Flytt",Vyn="Foran",Kyn="Framover",Yyn="Bakover",Xyn="Bakerst",Jyn="Språk",Zyn={"style.menu.color":k2n,"style.menu.fill":_2n,"style.menu.dash":C2n,"style.menu.size":E2n,"style.menu.keep.open":x2n,"style.menu.font":S2n,"style.menu.align":A2n,styles:T2n,"zoom.in":D2n,"zoom.out":I2n,to:R2n,"menu.file":M2n,"menu.edit":O2n,"menu.view":L2n,"menu.preferences":B2n,"menu.sign.in":P2n,"menu.sign.out":F2n,"become.a.sponsor":N2n,"zoom.to.selection":$2n,"zoom.to.fit":z2n,"zoom.to":U2n,"preferences.dark.mode":j2n,"preferences.focus.mode":H2n,"preferences.debug.mode":q2n,"preferences.show.grid":W2n,"preferences.use.cad.selection":G2n,"preferences.keep.stylemenu.open":V2n,"preferences.always.show.snaps":K2n,"preferences.rotate.handles":Y2n,"preferences.binding.handles":X2n,"preferences.clone.handles":J2n,undo:Z2n,redo:Q2n,cut:eyn,copy:tyn,paste:nyn,"copy.as":ryn,"export.as":iyn,"select.all":ayn,"select.none":oyn,delete:syn,"new.project":lyn,open:uyn,save:cyn,"save.as":fyn,"upload.media":dyn,"create.page":hyn,"new.page":pyn,"page.name":gyn,duplicate:myn,cancel:vyn,"copy.invite.link":yyn,"create.multiplayer.project":byn,"copy.multiplayer.project":wyn,select:kyn,eraser:_yn,draw:Cyn,arrow:Eyn,text:xyn,sticky:Syn,rectangle:Ayn,ellipse:Tyn,triangle:Dyn,line:Iyn,rotate:Ryn,"lock.aspect.ratio":Myn,"unlock.aspect.ratio":Oyn,group:Lyn,ungroup:Byn,"move.to.back":Pyn,"move.backward":Fyn,"move.forward":Nyn,"move.to.front":$yn,"reset.angle":zyn,lock:Uyn,unlock:jyn,"move.to.page":Hyn,"flip.horizontal":qyn,"flip.vertical":Wyn,move:Gyn,"to.front":Vyn,forward:Kyn,backward:Yyn,back:Xyn,language:Jyn},Qyn="रंग",ebn="भर्नुहोस्",tbn="धर्का",nbn="आकार",rbn="खुला राख्नुहोस्",ibn="फन्ट",abn="पङ्क्तिबद्ध",obn="शैलीहरू",sbn="जुम इन",lbn="जुम आउट",ubn="टु",cbn="फाइल",fbn="सम्पादन गर्नुहोस्",dbn="भ्यू",hbn="प्राथमिकताहरू",pbn="साइन इन गर्नुहोस्",gbn="साइन आउट गर्नुहोस्",mbn="प्रायोजक बन्नुहोस्",vbn="जुम टु सेलेक्सन",ybn="जुम टु फिट",bbn="जुम टु",wbn="अँध्यारो मोड",kbn="फोकस मोड",_bn="डिबग मोड",Cbn="ग्रिड देखाउनुहोस्",Ebn="CAD सेलेक्सन गर्नुहोस्",xbn="स्टाइल मेनु खुला राख्नुहोस्",Sbn="सधैँ स्न्यापहरू देखाउनुहोस्",Abn="ह्यान्डलहरू घुमाउनुहोस्",Tbn="बाइन्डिङ ह्यान्डलहरू",Dbn="क्लोन ह्यान्डलहरू",Ibn="पूर्ववत गर्नुहोस्",Rbn="पुनः गर्नुहोस्",Mbn="कट गर्नुहोस्",Obn="कपि गर्नुहोस्",Lbn="पेस्ट गर्नुहोस्",Bbn="कपि एज",Pbn="एक्सपोर्ट एज",Fbn="सबै छान्नुहोस्",Nbn="केहि पनि सेलेक्ट नगर्नुहोस्",$bn="मेटाउनुहोस्",zbn="नयाँ परियोजना",Ubn="खोल्नुहोस्",jbn="सुरक्षित गर्नुहोस्",Hbn="सेभ एज",qbn="मिडिया अपलोड गर्नुहोस्",Wbn="पृष्ठ सिर्जना गर्नुहोस्",Gbn="नयाँ पृष्ठ सिर्जना गर्नुहोस्",Vbn="पृष्ठको नाम",Kbn="अनुलिपि गर्नुहोस्",Ybn="रद्द गर्नुहोस्",Xbn="निमन्त्रणा लिङ्क कपि गर्नुहोस्",Jbn="मल्टिप्लेयर परियोजना सिर्जना गर्नुहोस्",Zbn="मल्टिप्लेयर प्रोजेक्टमा कपि गर्नुहोस्",Qbn="सेलेक्ट",e4n="इरेजर",t4n="चित्र बनाउनु",n4n="तीर",r4n="शब्द",i4n="टाँसिने",a4n="आयत",o4n="दीर्घवृत्त",s4n="त्रिभुज",l4n="रेखा",u4n="घुमाउनुहोस्",c4n="आकार अनुपात लक गर्नुहोस्",f4n="आकार अनुपात अनलक गर्नुहोस्",d4n="समूह",h4n="समूह रद्द गर्नुहोस्",p4n="पछाडि सार्नुहोस्",g4n="थप पछाडि सार्नुहोस्",m4n="अगाडि सार्नुहोस्",v4n="थप अगाडि सार्नुहोस्",y4n="कोण रिसेट गर्नुहोस्",b4n="लक गर्नुहोस्",w4n="अनलक गर्नुहोस्",k4n="पृष्ठमा सार्नुहोस्",_4n="तेर्सो फ्लिप गर्नुहोस्",C4n="ठाडो फ्लिप गर्नुहोस्",E4n="सार्नुहोस्",x4n="थप अगाडि",S4n="अगाडि",A4n="पछाडि",T4n="थप पछाडि",D4n="भाषा",I4n={"style.menu.color":Qyn,"style.menu.fill":ebn,"style.menu.dash":tbn,"style.menu.size":nbn,"style.menu.keep.open":rbn,"style.menu.font":ibn,"style.menu.align":abn,styles:obn,"zoom.in":sbn,"zoom.out":lbn,to:ubn,"menu.file":cbn,"menu.edit":fbn,"menu.view":dbn,"menu.preferences":hbn,"menu.sign.in":pbn,"menu.sign.out":gbn,"become.a.sponsor":mbn,"zoom.to.selection":vbn,"zoom.to.fit":ybn,"zoom.to":bbn,"preferences.dark.mode":wbn,"preferences.focus.mode":kbn,"preferences.debug.mode":_bn,"preferences.show.grid":Cbn,"preferences.use.cad.selection":Ebn,"preferences.keep.stylemenu.open":xbn,"preferences.always.show.snaps":Sbn,"preferences.rotate.handles":Abn,"preferences.binding.handles":Tbn,"preferences.clone.handles":Dbn,undo:Ibn,redo:Rbn,cut:Mbn,copy:Obn,paste:Lbn,"copy.as":Bbn,"export.as":Pbn,"select.all":Fbn,"select.none":Nbn,delete:$bn,"new.project":zbn,open:Ubn,save:jbn,"save.as":Hbn,"upload.media":qbn,"create.page":Wbn,"new.page":Gbn,"page.name":Vbn,duplicate:Kbn,cancel:Ybn,"copy.invite.link":Xbn,"create.multiplayer.project":Jbn,"copy.multiplayer.project":Zbn,select:Qbn,eraser:e4n,draw:t4n,arrow:n4n,text:r4n,sticky:i4n,rectangle:a4n,ellipse:o4n,triangle:s4n,line:l4n,rotate:u4n,"lock.aspect.ratio":c4n,"unlock.aspect.ratio":f4n,group:d4n,ungroup:h4n,"move.to.back":p4n,"move.backward":g4n,"move.forward":m4n,"move.to.front":v4n,"reset.angle":y4n,lock:b4n,unlock:w4n,"move.to.page":k4n,"flip.horizontal":_4n,"flip.vertical":C4n,move:E4n,"to.front":x4n,forward:S4n,backward:A4n,back:T4n,language:D4n},R4n="Farge",M4n="Fyll",O4n="Line",L4n="Storleik",B4n="Hald open",P4n="Teksttype",F4n="Tilpass",N4n="Stilar",$4n="Zoom inn",z4n="Zoom ut",U4n="til",j4n="Fil",H4n="Rediger",q4n="Vis",W4n="Innstillingar",G4n="Logg inn",V4n="Logg ut",K4n="Vert sponsor",Y4n="Zoom til innhald",X4n="Zoom til valte element",J4n="Zoom for å passe",Z4n="Zoom til",Q4n="Mørkmodus",e3n="Fokusmodus",t3n="Debugmodus",n3n="Vis rutenett",r3n="Bruk CAD-val",i3n="Hald stilmeny open",a3n="Vis alltid snaps",o3n="Vis roteringshandtak",s3n="Vis bindingshandtak",l3n="Vis kloningshandtak",u3n="Angre",c3n="Gjer om",f3n="Klipp ut",d3n="Kopier",h3n="Lim inn",p3n="Kopier som",g3n="Eksporter som",m3n="Vel alle",v3n="Vel ingen",y3n="Slett",b3n="Nytt prosjekt",w3n="Opne",k3n="Lagre",_3n="Lagre som",C3n="Last opp media",E3n="Opprett side",x3n="Ny side",S3n="Sidenamn",A3n="Dupliser",T3n="Avbryt",D3n="Kopier invitasjonslenke",I3n="Kopier invitasjonslenke (skrivebeskytta)",R3n="Lag samarbeidsprosjekt",M3n="Kopier til samarbeidsprosjekt",O3n="Vel",L3n="Viskelêr",B3n="Teikn",P3n="Pil",F3n="Tekst",N3n="Lapp",$3n="Rektangel",z3n="Runding",U3n="Trekant",j3n="Line",H3n="Roter",q3n="Lås storleiksforhold",W3n="Lås opp storleiksforhold",G3n="Grupper",V3n="Avgrupper",K3n="Flytt bakarst",Y3n="Flytt bakover",X3n="Flytt framover",J3n="Flytt til front",Z3n="Tilbakestill vinkel",Q3n="Lås",ewn="Lås opp",twn="Flytt til side",nwn="Snu horisontalt",rwn="Snu vertikalt",iwn="Flytt",awn="Framme",own="Framover",swn="Bakover",lwn="Bakarst",uwn="Språk",cwn="Les meir",fwn="Dokkplassering",dwn="Nede",hwn="Venstre",pwn="Høgre",gwn="Oppe",mwn="Side",vwn="Snøggtastar",ywn="Søk",bwn="Lastar{dots}",wwn="Eksporter bakgrunn",kwn="Gjennomsiktig",_wn="Auto",Cwn="Lys",Ewn="Mørk",xwn="Github",Swn="Twitter",Awn="Discord",Twn="Bilete",Dwn="Venstrestill",Iwn="Midtstill horisontalt",Rwn="Høgrestill",Mwn="Still til toppen",Own="Midtstill vertikalt",Lwn="Still til botnen",Bwn="Distribuer horisontalt",Pwn="Distribuer vertikalt",Fwn="Strekk horisontalt",Nwn="Strekk vertikalt",$wn="Vil du lagre det noverande prosjektet ditt?",zwn="Vil du lagre endringane i det noverande prosjektet ditt?",Uwn="Avbryt",jwn="Nei",Hwn="Ja",qwn="Fyll inn filnamn",Wwn="Prøv den nye tldraw",Gwn="Kvit",Vwn="Lys grå",Kwn="Grå",Ywn="Svart",Xwn="Grøn",Jwn="Cyan",Zwn="Bkå",Qwn="Indigo",ekn="Fiol",tkn="Raud",nkn="Oransj",rkn="Gul",ikn="Heil",akn="Stipla",okn="Prikka",skn="Liten",lkn="Mellomstor",ukn="Stor",ckn={"style.menu.color":R4n,"style.menu.fill":M4n,"style.menu.dash":O4n,"style.menu.size":L4n,"style.menu.keep.open":B4n,"style.menu.font":P4n,"style.menu.align":F4n,styles:N4n,"zoom.in":$4n,"zoom.out":z4n,to:U4n,"menu.file":j4n,"menu.edit":H4n,"menu.view":q4n,"menu.preferences":W4n,"menu.sign.in":G4n,"menu.sign.out":V4n,"become.a.sponsor":K4n,"zoom.to.content":Y4n,"zoom.to.selection":X4n,"zoom.to.fit":J4n,"zoom.to":Z4n,"preferences.dark.mode":Q4n,"preferences.focus.mode":e3n,"preferences.debug.mode":t3n,"preferences.show.grid":n3n,"preferences.use.cad.selection":r3n,"preferences.keep.stylemenu.open":i3n,"preferences.always.show.snaps":a3n,"preferences.rotate.handles":o3n,"preferences.binding.handles":s3n,"preferences.clone.handles":l3n,undo:u3n,redo:c3n,cut:f3n,copy:d3n,paste:h3n,"copy.as":p3n,"export.as":g3n,"select.all":m3n,"select.none":v3n,delete:y3n,"new.project":b3n,open:w3n,save:k3n,"save.as":_3n,"upload.media":C3n,"create.page":E3n,"new.page":x3n,"page.name":S3n,duplicate:A3n,cancel:T3n,"copy.invite.link":D3n,"copy.readonly.link":I3n,"create.multiplayer.project":R3n,"copy.multiplayer.project":M3n,select:O3n,eraser:L3n,draw:B3n,arrow:P3n,text:F3n,sticky:N3n,rectangle:$3n,ellipse:z3n,triangle:U3n,line:j3n,rotate:H3n,"lock.aspect.ratio":q3n,"unlock.aspect.ratio":W3n,group:G3n,ungroup:V3n,"move.to.back":K3n,"move.backward":Y3n,"move.forward":X3n,"move.to.front":J3n,"reset.angle":Z3n,lock:Q3n,unlock:ewn,"move.to.page":twn,"flip.horizontal":nwn,"flip.vertical":rwn,move:iwn,"to.front":awn,forward:own,backward:swn,back:lwn,language:uwn,"translation.link":cwn,"dock.position":fwn,bottom:dwn,left:hwn,right:pwn,top:gwn,page:mwn,"keyboard.shortcuts":vwn,search:ywn,loading:bwn,"export.background":wwn,transparent:kwn,auto:_wn,light:Cwn,dark:Ewn,github:xwn,twitter:Swn,discord:Awn,image:Twn,"align.left":Dwn,"align.center.x":Iwn,"align.right":Rwn,"align.top":Mwn,"align.center.y":Own,"align.bottom":Lwn,"distribute.x":Bwn,"distribute.y":Pwn,"stretch.x":Fwn,"stretch.y":Nwn,"dialog.save.firsttime":$wn,"dialog.save.again":zwn,"dialog.cancel":Uwn,"dialog.no":jwn,"dialog.yes":Hwn,"enter.file.name":qwn,"tldraw-beta":Wwn,white:Gwn,lightGray:Vwn,gray:Kwn,black:Ywn,green:Xwn,cyan:Jwn,blue:Zwn,indigo:Qwn,violet:ekn,red:tkn,orange:nkn,yellow:rkn,solid:ikn,dashed:akn,dotted:okn,small:skn,medium:lkn,large:ukn},fkn="Kolor",dkn="Wypełnienie",hkn="Linia",pkn="Rozmiar",gkn="Zachowaj otwarte",mkn="Czcionka",vkn="Wyrównanie",ykn="Style",bkn="Przybliż",wkn="Oddal",kkn="do",_kn="Plik",Ckn="Edycja",Ekn="Widok",xkn="Preferencje",Skn="Zaloguj",Akn="Wyloguj",Tkn="Zostań sponsorem",Dkn="Przybliż do zaznaczenia",Ikn="Wypełnij ekran",Rkn="Przybliż do",Mkn="Tryb ciemny",Okn="Tryb skupienia",Lkn="Tryb debugowania",Bkn="Pokaż siatkę",Pkn="Użyj zaznaczania CAD",Fkn="Zachowaj menu styli otwarte",Nkn="Przyciągaj obiekty",$kn="Uchwyty obrotu",zkn="Uchwyty powiązania",Ukn="Uchwyty klonujące",jkn="Cofnij",Hkn="Powtórz",qkn="Wytnij",Wkn="Kopiuj",Gkn="Wklej",Vkn="Kopiuj jako",Kkn="Eksportuj jako",Ykn="Zaznacz wszystko",Xkn="Odznacz wszystko",Jkn="Usuń",Zkn="Nowy projekt",Qkn="Otwórz",e6n="Zapisz",t6n="Zapisz jako",n6n="Załaduj multimedia",r6n="Utwórz stronę",i6n="Nowa strona",a6n="Nazwa strony",o6n="Powiel",s6n="Anuluj",l6n="Kopiuj link zaproszenia",u6n="Stwórz projekt wieloosobowy",c6n="Kopiuj do projektu wieloosobowego",f6n="Zaznacz",d6n="Gumka",h6n="Rysuj",p6n="Strzałka",g6n="Tekst",m6n="Naklejka",v6n="Prostokąt",y6n="Elipsa",b6n="Trójkąt",w6n="Linia",k6n="Obróć",_6n="Zablokuj proporcje",C6n="Odblokuj proporcje",E6n="Grupuj",x6n="Rozgrupuj",S6n="Przenieś na tył",A6n="Przesuń do tyłu",T6n="Przesuń do przodu",D6n="Przenieś na przód",I6n="Resetuj kąt",R6n="Zablokuj",M6n="Odblokuj",O6n="Przenieś na stronę",L6n="Odwróć w poziomie",B6n="Odwróć w pionie",P6n="Przenieś",F6n="Na wierzch",N6n="Do przodu",$6n="Do tyłu",z6n="Na spód",U6n="Język",j6n="Czytaj więcej",H6n="Pozycja przybornika",q6n="Dół",W6n="Lewa",G6n="Prawa",V6n="Góra",K6n="Strona",Y6n="Skróty klawiszowe",X6n="Szukaj",J6n="Ładowanie{dots}",Z6n="Eksportuj tło",Q6n="Przezroczyste",e_n="Automatyczny",t_n="Jasny",n_n="Ciemny",r_n="Github",i_n="Twitter",a_n="Discord",o_n="Obraz",s_n="Wyrównaj do lewej",l_n="Wycentruj poziomo",u_n="Wyrównaj do prawej",c_n="Wyrównaj do góry",f_n="Wycentruj pionowo",d_n="Wyrównaj do dołu",h_n="Rozłóż poziomo",p_n="Rozłóż pionowo",g_n="Rozciągnij poziomo",m_n="Rozciągnij pionowo",v_n="Czy chcesz zapisać bieżący projekt?",y_n="Czy chcesz zapisać zmiany w bieżącym projekcie?",b_n="Anuluj",w_n="Nie",k_n="Tak",__n="Podaj nazwę pliku",C_n="Wypróbuj nowy tldraw",E_n={"style.menu.color":fkn,"style.menu.fill":dkn,"style.menu.dash":hkn,"style.menu.size":pkn,"style.menu.keep.open":gkn,"style.menu.font":mkn,"style.menu.align":vkn,styles:ykn,"zoom.in":bkn,"zoom.out":wkn,to:kkn,"menu.file":_kn,"menu.edit":Ckn,"menu.view":Ekn,"menu.preferences":xkn,"menu.sign.in":Skn,"menu.sign.out":Akn,"become.a.sponsor":Tkn,"zoom.to.selection":Dkn,"zoom.to.fit":Ikn,"zoom.to":Rkn,"preferences.dark.mode":Mkn,"preferences.focus.mode":Okn,"preferences.debug.mode":Lkn,"preferences.show.grid":Bkn,"preferences.use.cad.selection":Pkn,"preferences.keep.stylemenu.open":Fkn,"preferences.always.show.snaps":Nkn,"preferences.rotate.handles":$kn,"preferences.binding.handles":zkn,"preferences.clone.handles":Ukn,undo:jkn,redo:Hkn,cut:qkn,copy:Wkn,paste:Gkn,"copy.as":Vkn,"export.as":Kkn,"select.all":Ykn,"select.none":Xkn,delete:Jkn,"new.project":Zkn,open:Qkn,save:e6n,"save.as":t6n,"upload.media":n6n,"create.page":r6n,"new.page":i6n,"page.name":a6n,duplicate:o6n,cancel:s6n,"copy.invite.link":l6n,"create.multiplayer.project":u6n,"copy.multiplayer.project":c6n,select:f6n,eraser:d6n,draw:h6n,arrow:p6n,text:g6n,sticky:m6n,rectangle:v6n,ellipse:y6n,triangle:b6n,line:w6n,rotate:k6n,"lock.aspect.ratio":_6n,"unlock.aspect.ratio":C6n,group:E6n,ungroup:x6n,"move.to.back":S6n,"move.backward":A6n,"move.forward":T6n,"move.to.front":D6n,"reset.angle":I6n,lock:R6n,unlock:M6n,"move.to.page":O6n,"flip.horizontal":L6n,"flip.vertical":B6n,move:P6n,"to.front":F6n,forward:N6n,backward:$6n,back:z6n,language:U6n,"translation.link":j6n,"dock.position":H6n,bottom:q6n,left:W6n,right:G6n,top:V6n,page:K6n,"keyboard.shortcuts":Y6n,search:X6n,loading:J6n,"export.background":Z6n,transparent:Q6n,auto:e_n,light:t_n,dark:n_n,github:r_n,twitter:i_n,discord:a_n,image:o_n,"align.left":s_n,"align.center.x":l_n,"align.right":u_n,"align.top":c_n,"align.center.y":f_n,"align.bottom":d_n,"distribute.x":h_n,"distribute.y":p_n,"stretch.x":g_n,"stretch.y":m_n,"dialog.save.firsttime":v_n,"dialog.save.again":y_n,"dialog.cancel":b_n,"dialog.no":w_n,"dialog.yes":k_n,"enter.file.name":__n,"tldraw-beta":C_n},x_n="Cor",S_n="Preencher",A_n="Traço",T_n="Tamanho",D_n="Manter aberto",I_n="Fonte",R_n="Alinhamento",M_n="Estilos",O_n="Aumentar zoom",L_n="Diminuir zoom",B_n="para",P_n="Arquivo",F_n="Editar",N_n="Visualizar",$_n="Preferências",z_n="Entrar",U_n="Sair",j_n="Torne-se um patrocinador",H_n="Zoom para a seleção",q_n="Zoom para ajuste",W_n="Zoom para",G_n="Modo Escuro",V_n="Modo Foco",K_n="Modo Debug",Y_n="Mostrar Grade",X_n="Usar seleção CAD",J_n="Manter Menu de Estilos Aberto",Z_n="Mostrar Pontos de Ajuste",Q_n="Controle de Rotação",eCn="Controle de Vínculos",tCn="Controle de Clone",nCn="Desfazer",rCn="Refazer",iCn="Cortar",aCn="Copiar",oCn="Colar",sCn="Copiar como",lCn="Exportar como",uCn="Selecionar todos",cCn="Selecionar nenhum",fCn="Deletar",dCn="Novo Projeto",hCn="Abrir",pCn="Salvar",gCn="Salvar Como",mCn="Carregar Mídia",vCn="Página",yCn="Procurar",bCn="Carregando{dots}",wCn="Exportar Fundo",kCn="Transparente",_Cn="Automático",CCn="Claro",ECn="Escuro",xCn="Ferramentas",SCn="Transformar",ACn="Voltar ao Conteúdo",TCn="Saiba Mais",DCn="Copiar Link ReadOnly",ICn="Alinhar / Distribuir",RCn="Criar Página",MCn="Nova Página",OCn="Nome da Página",LCn="Duplicar",BCn="Cancelar",PCn="Copiar Link de Convite",FCn="Criar um Projeto Multijogador",NCn="Copiar para Projeto Multijogador",$Cn="Selecionar",zCn="Borracha",UCn="Desenhar",jCn="Seta",HCn="Texto",qCn="Adesivo",WCn="Retângulo",GCn="Elipse",VCn="Triângulo",KCn="Linha",YCn="Rotacionar",XCn="Travar Proporção da Tela",JCn="Destravar Proporção da Tela",ZCn="Agrupar",QCn="Desagrupar",eEn="Recuar",tEn="Enviar para Trás",nEn="Avançar",rEn="Trazer para Frente",iEn="Reiniciar Ângulo",aEn="Travar",oEn="Destravar",sEn="Mover para Página",lEn="Virar Horizontalmente",uEn="Virar Verticalmente",cEn="Mover",fEn="Para Frente",dEn="Avançar",hEn="Recuar",pEn="Voltar",gEn="Idioma",mEn="Imagem",vEn="Atalhos de Teclado",yEn="Posição de Ferramentas",bEn="Inferior",wEn="Superior",kEn="Direita",_En="Esquerda",CEn="Alinhar à esquerda",EEn="Alinhar ao centro na horizontal",xEn="Alinhar à direita",SEn="Alinhas em cima",AEn="Alinhar ao centro na vertical",TEn="Alinhar embaixo",DEn="Distruibuir na horizontal",IEn="Distruibuir na vertical",REn="Esticar na horizontal",MEn="Esticar na vertical",OEn="Você deseja salvar seu projeto atual?",LEn="Você deseja salvar as mudanças ao projeto atual?",BEn="Cancelar",PEn="Não",FEn="Sim",NEn="Insira o nome do arquivo",$En={"style.menu.color":x_n,"style.menu.fill":S_n,"style.menu.dash":A_n,"style.menu.size":T_n,"style.menu.keep.open":D_n,"style.menu.font":I_n,"style.menu.align":R_n,styles:M_n,"zoom.in":O_n,"zoom.out":L_n,to:B_n,"menu.file":P_n,"menu.edit":F_n,"menu.view":N_n,"menu.preferences":$_n,"menu.sign.in":z_n,"menu.sign.out":U_n,"become.a.sponsor":j_n,"zoom.to.selection":H_n,"zoom.to.fit":q_n,"zoom.to":W_n,"preferences.dark.mode":G_n,"preferences.focus.mode":V_n,"preferences.debug.mode":K_n,"preferences.show.grid":Y_n,"preferences.use.cad.selection":X_n,"preferences.keep.stylemenu.open":J_n,"preferences.always.show.snaps":Z_n,"preferences.rotate.handles":Q_n,"preferences.binding.handles":eCn,"preferences.clone.handles":tCn,undo:nCn,redo:rCn,cut:iCn,copy:aCn,paste:oCn,"copy.as":sCn,"export.as":lCn,"select.all":uCn,"select.none":cCn,delete:fCn,"new.project":dCn,open:hCn,save:pCn,"save.as":gCn,"upload.media":mCn,page:vCn,search:yCn,loading:bCn,"export.background":wCn,transparent:kCn,auto:_Cn,light:CCn,dark:ECn,"menu.tools":xCn,"menu.transform":SCn,"zoom.to.content":ACn,"translation.link":TCn,"copy.readonly.link":DCn,"align.distribute":ICn,"create.page":RCn,"new.page":MCn,"page.name":OCn,duplicate:LCn,cancel:BCn,"copy.invite.link":PCn,"create.multiplayer.project":FCn,"copy.multiplayer.project":NCn,select:$Cn,eraser:zCn,draw:UCn,arrow:jCn,text:HCn,sticky:qCn,rectangle:WCn,ellipse:GCn,triangle:VCn,line:KCn,rotate:YCn,"lock.aspect.ratio":XCn,"unlock.aspect.ratio":JCn,group:ZCn,ungroup:QCn,"move.to.back":eEn,"move.backward":tEn,"move.forward":nEn,"move.to.front":rEn,"reset.angle":iEn,lock:aEn,unlock:oEn,"move.to.page":sEn,"flip.horizontal":lEn,"flip.vertical":uEn,move:cEn,"to.front":fEn,forward:dEn,backward:hEn,back:pEn,language:gEn,image:mEn,"keyboard.shortcuts":vEn,"dock.position":yEn,bottom:bEn,top:wEn,right:kEn,left:_En,"align.left":CEn,"align.center.x":EEn,"align.right":xEn,"align.top":SEn,"align.center.y":AEn,"align.bottom":TEn,"distribute.x":DEn,"distribute.y":IEn,"stretch.x":REn,"stretch.y":MEn,"dialog.save.firsttime":OEn,"dialog.save.again":LEn,"dialog.cancel":BEn,"dialog.no":PEn,"dialog.yes":FEn,"enter.file.name":NEn},zEn="Cor",UEn="Preencher",jEn="Traço",HEn="Tamanho",qEn="Manter aberto",WEn="Fonte",GEn="Alinhamento",VEn="Estilos",KEn="Aumentar zoom",YEn="Diminuir zoom",XEn="para",JEn="Ficheiro",ZEn="Editar",QEn="Visualizar",e5n="Preferências",t5n="Entrar",n5n="Sair",r5n="Torne-se um patrocinador",i5n="Zoom na seleção",a5n="Zoom para caber",o5n="Zoom para",s5n="Modo Escuro",l5n="Modo Foco",u5n="Modo Debug",c5n="Mostrar Grelha",f5n="Usar seleção CAD",d5n="Manter Menu de Estilos Aberto",h5n="Mostrar Pontos de Ajuste",p5n="Controlo de Rotação",g5n="Controlo de Binds",m5n="Controlo de Clone",v5n="Desfazer",y5n="Refazer",b5n="Cortar",w5n="Copiar",k5n="Colar",_5n="Copiar como",C5n="Exportar como",E5n="Selecionar todos",x5n="Selecionar nenhum",S5n="Apagar",A5n="Novo Projeto",T5n="Abrir",D5n="Salvar",I5n="Salvar Como",R5n="Upload Média",M5n="Criar Página",O5n="Nova Página",L5n="Nome da Página",B5n="Duplicar",P5n="Cancelar",F5n="Copiar Link de Convite",N5n="Criar um Projeto Multi-Utilizador",$5n="Copiar num Projeto Multi-Utilizador",z5n="Selecionar",U5n="Borracha",j5n="Desenhar",H5n="Seta",q5n="Texto",W5n="Post-it",G5n="Retângulo",V5n="Elipse",K5n="Triângulo",Y5n="Linha",X5n="Rodar",J5n="Trancar a Proporção",Z5n="Destrancar a Proporção",Q5n="Agrupar",e9n="Desagrupar",t9n="Colocar no Fundo",n9n="Mover abaixo",r9n="Mover acima",i9n="Colocar à Frente",a9n="Reiniciar Ângulo",o9n="Trancar",s9n="Destrancar",l9n="Mover para Página",u9n="Inverter Horizontalmente",c9n="Inverter Verticalmente",f9n="Mover",d9n="Para Frente",h9n="Avançar",p9n="Recuar",g9n="Voltar",m9n="Língua",v9n={"style.menu.color":zEn,"style.menu.fill":UEn,"style.menu.dash":jEn,"style.menu.size":HEn,"style.menu.keep.open":qEn,"style.menu.font":WEn,"style.menu.align":GEn,styles:VEn,"zoom.in":KEn,"zoom.out":YEn,to:XEn,"menu.file":JEn,"menu.edit":ZEn,"menu.view":QEn,"menu.preferences":e5n,"menu.sign.in":t5n,"menu.sign.out":n5n,"become.a.sponsor":r5n,"zoom.to.selection":i5n,"zoom.to.fit":a5n,"zoom.to":o5n,"preferences.dark.mode":s5n,"preferences.focus.mode":l5n,"preferences.debug.mode":u5n,"preferences.show.grid":c5n,"preferences.use.cad.selection":f5n,"preferences.keep.stylemenu.open":d5n,"preferences.always.show.snaps":h5n,"preferences.rotate.handles":p5n,"preferences.binding.handles":g5n,"preferences.clone.handles":m5n,undo:v5n,redo:y5n,cut:b5n,copy:w5n,paste:k5n,"copy.as":_5n,"export.as":C5n,"select.all":E5n,"select.none":x5n,delete:S5n,"new.project":A5n,open:T5n,save:D5n,"save.as":I5n,"upload.media":R5n,"create.page":M5n,"new.page":O5n,"page.name":L5n,duplicate:B5n,cancel:P5n,"copy.invite.link":F5n,"create.multiplayer.project":N5n,"copy.multiplayer.project":$5n,select:z5n,eraser:U5n,draw:j5n,arrow:H5n,text:q5n,sticky:W5n,rectangle:G5n,ellipse:V5n,triangle:K5n,line:Y5n,rotate:X5n,"lock.aspect.ratio":J5n,"unlock.aspect.ratio":Z5n,group:Q5n,ungroup:e9n,"move.to.back":t9n,"move.backward":n9n,"move.forward":r9n,"move.to.front":i9n,"reset.angle":a9n,lock:o9n,unlock:s9n,"move.to.page":l9n,"flip.horizontal":u9n,"flip.vertical":c9n,move:f9n,"to.front":d9n,forward:h9n,backward:p9n,back:g9n,language:m9n},y9n="Цвет",b9n="Заполнять",w9n="Штрих",k9n="Размер",_9n="Держать открытым",C9n="Шрифт",E9n="Выравнивание",x9n="Стиль",S9n="Увеличить",A9n="Уменьшить",T9n="к",D9n="Инструменты",I9n="Изменение",R9n="Файл",M9n="Редактирование",O9n="Вид",L9n="Настройки",B9n="Войти",P9n="Выйти",F9n="Стать спонсором",N9n="Вернуться к содержимому",$9n="Масштабировать по выделению",z9n="Масштабировать по размеру экрана",U9n="Масштабировать к",j9n="Тёмная тема",H9n="Минималистичный режим",q9n="Режим отладки",W9n="Показать сетку",G9n="Использовать CAD выделение",V9n="Держать меню стилей открытым",K9n="Всегда показывать привязки",Y9n="Ручки вращения",X9n="Ручки привязки",J9n="Ручки клонирования",Z9n="Отменить",Q9n="Повторить",exn="Вырезать",txn="Копировать",nxn="Вставить",rxn="Копировать как",ixn="Экспортировать как",axn="Выделить всё",oxn="Снять выделение",sxn="Удалить",lxn="Новый проект",uxn="Открыть",cxn="Сохранить",fxn="Сохранить как",dxn="Загрузить медиафайл",hxn="Создать страницу",pxn="Новая страница",gxn="Название страницы",mxn="Дублировать",vxn="Отменить",yxn="Скопировать ссылку приглашения",bxn="Скопировать ссылку только для чтения",wxn="Создать многопользовательский проект",kxn="Скопировать в многопользовательский проект",_xn="Выделить",Cxn="Ластик",Exn="Рисовать",xxn="Стрелка",Sxn="Текст",Axn="Заметка",Txn="Прямоугольник",Dxn="Эллипс",Ixn="Треугольник",Rxn="Линия",Mxn="Повернуть",Oxn="Заблокировать соотношение сторон",Lxn="Разблокировать соотношение сторон",Bxn="Сгруппировать",Pxn="Разгруппировать",Fxn="Переместить назад",Nxn="Переместить на задний план",$xn="Переместить вперёд",zxn="Переместить на передний план",Uxn="Сбросить угол",jxn="Блокировать",Hxn="Разблокировать",qxn="Выровнять / распределить",Wxn="Переместить на страницу",Gxn="Перевернуть горизонтально",Vxn="Перевернуть вертикально",Kxn="Переместить",Yxn="На передний план",Xxn="Вперед",Jxn="На задний план",Zxn="Назад",Qxn="Язык",eSn="Подробнее",tSn="Расположение панели инструментов",nSn="Снизу",rSn="Слева",iSn="Справа",aSn="Сверху",oSn="Страница",sSn="Сочетания клавиш",lSn="Поиск",uSn="Загрузка",cSn="Экспорт фона",fSn="Прозрачный",dSn="Авто",hSn="Светлый",pSn="Тёмный",gSn="Изображение",mSn="Выровнять по левому краю",vSn="Выровнять по центру горизонтально",ySn="Выровнять по правому краю",bSn="Выровнять по верхнему краю",wSn="Выровнять по центру вертикально",kSn="Выровнять по нижнему краю",_Sn="Распределить горизонтально",CSn="Распределить вертикально",ESn="Растянуть горизонтально",xSn="Растянуть вертикально",SSn="Поделиться",ASn="Скопировать ссылку на текущую страницу",TSn="Скопировать ссылку на проект",DSn="Данные слишком велики, чтобы закодировать их в ссылке. Не включайте изображение или видео!",ISn="Сохранить текущий проект?",RSn="Сохранить изменения в текущем проекте?",MSn="Отменить",OSn="Нет",LSn="Да",BSn="Введите имя файла",PSn={"style.menu.color":y9n,"style.menu.fill":b9n,"style.menu.dash":w9n,"style.menu.size":k9n,"style.menu.keep.open":_9n,"style.menu.font":C9n,"style.menu.align":E9n,styles:x9n,"zoom.in":S9n,"zoom.out":A9n,to:T9n,"menu.tools":D9n,"menu.transform":I9n,"menu.file":R9n,"menu.edit":M9n,"menu.view":O9n,"menu.preferences":L9n,"menu.sign.in":B9n,"menu.sign.out":P9n,"become.a.sponsor":F9n,"zoom.to.content":N9n,"zoom.to.selection":$9n,"zoom.to.fit":z9n,"zoom.to":U9n,"preferences.dark.mode":j9n,"preferences.focus.mode":H9n,"preferences.debug.mode":q9n,"preferences.show.grid":W9n,"preferences.use.cad.selection":G9n,"preferences.keep.stylemenu.open":V9n,"preferences.always.show.snaps":K9n,"preferences.rotate.handles":Y9n,"preferences.binding.handles":X9n,"preferences.clone.handles":J9n,undo:Z9n,redo:Q9n,cut:exn,copy:txn,paste:nxn,"copy.as":rxn,"export.as":ixn,"select.all":axn,"select.none":oxn,delete:sxn,"new.project":lxn,open:uxn,save:cxn,"save.as":fxn,"upload.media":dxn,"create.page":hxn,"new.page":pxn,"page.name":gxn,duplicate:mxn,cancel:vxn,"copy.invite.link":yxn,"copy.readonly.link":bxn,"create.multiplayer.project":wxn,"copy.multiplayer.project":kxn,select:_xn,eraser:Cxn,draw:Exn,arrow:xxn,text:Sxn,sticky:Axn,rectangle:Txn,ellipse:Dxn,triangle:Ixn,line:Rxn,rotate:Mxn,"lock.aspect.ratio":Oxn,"unlock.aspect.ratio":Lxn,group:Bxn,ungroup:Pxn,"move.to.back":Fxn,"move.backward":Nxn,"move.forward":$xn,"move.to.front":zxn,"reset.angle":Uxn,lock:jxn,unlock:Hxn,"align.distribute":qxn,"move.to.page":Wxn,"flip.horizontal":Gxn,"flip.vertical":Vxn,move:Kxn,"to.front":Yxn,forward:Xxn,backward:Jxn,back:Zxn,language:Qxn,"translation.link":eSn,"dock.position":tSn,bottom:nSn,left:rSn,right:iSn,top:aSn,page:oSn,"keyboard.shortcuts":sSn,search:lSn,loading:uSn,"export.background":cSn,transparent:fSn,auto:dSn,light:hSn,dark:pSn,image:gSn,"align.left":mSn,"align.center.x":vSn,"align.right":ySn,"align.top":bSn,"align.center.y":wSn,"align.bottom":kSn,"distribute.x":_Sn,"distribute.y":CSn,"stretch.x":ESn,"stretch.y":xSn,share:SSn,"copy.current.page.link":ASn,"copy.project.link":TSn,"data.too.big.encoded":DSn,"dialog.save.firsttime":ISn,"dialog.save.again":RSn,"dialog.cancel":MSn,"dialog.no":OSn,"dialog.yes":LSn,"enter.file.name":BSn},FSn="Färg",NSn="Ifylld",$Sn="Streck",zSn="Storlek",USn="Håll stilmenyn öppen",jSn="Typsnitt",HSn="Justera",qSn="Utseende",WSn="Zooma in",GSn="Zooma ut",VSn="Till",KSn="Verktyg",YSn="Transform",XSn="Arkiv",JSn="Redigera",ZSn="Innehåll",QSn="Inställningar",eAn="Logga in",tAn="Logga ut",nAn="Bli en sponsor",rAn="Anpassa zoom till innehåll",iAn="Anpassa zoom till urval",aAn="Anpassa zoom till skärm",oAn="Zooma till",sAn="Mörkt läge",lAn="Fokusläge",uAn="Debugläge",cAn="Visa rutnät",fAn="Välj som i CAD-mjukvara",dAn="Håll stilmenyn öppen",hAn="Visa alltid fästpunkter",pAn="Rotationshandtag",gAn="Bindningshandtag",mAn="Kloningshandtag",vAn="Ångra",yAn="Gör om",bAn="Klipp ut",wAn="Kopiera",kAn="Klistra in",_An="Kopiera som",CAn="Exportera till",EAn="Välj alla",xAn="Välj ingen",SAn="Radera",AAn="Nytt projekt",TAn="Öppna",DAn="Spara",IAn="Spara som",RAn="Ladda upp media",MAn="Skapa sida",OAn="Ny sida",LAn="Sidnamn",BAn="Duplicera",PAn="Avbryt",FAn="Kopiera länk med redigeringsrättigheter",NAn="Kopiera länk med läsrättigheter",$An="Skapa ett Multiplayer-projekt",zAn="Kopiera till Multiplayer-project",UAn="Välj",jAn="Radera",HAn="Rita",qAn="Pil",WAn="Text",GAn="Klisterlapp",VAn="Rektangel",KAn="Ellips",YAn="Triangel",XAn="Linje",JAn="Rotera",ZAn="Lås storleksförhållande",QAn="Lås upp storleksförhållande",e8n="Gruppera",t8n="Avgruppera",n8n="Placera längst bak",r8n="Flytta bakåt",i8n="Flytta framåt",a8n="Placera längst fram",o8n="Återställ vinkel",s8n="Lås",l8n="Lås upp",u8n="Justera / Placera",c8n="Flytta till sida",f8n="Vänd horisontellt",d8n="Vänd vertikalt",h8n="Flytta",p8n="Till längst fram",g8n="Framåt",m8n="Bakåt",v8n="Till längst bak",y8n="Språk",b8n="Mer information",w8n="Dockningsposition",k8n="Botten",_8n="Vänster",C8n="Höger",E8n="Topp",x8n="Sida",S8n="Tangentbordsgenvägar",A8n="Sök",T8n="Laddar{dots}",D8n="Exportbakgrund",I8n="Transparent",R8n="Auto",M8n="Ljus",O8n="Mörk",L8n="Github",B8n="Twitter",P8n="Discord",F8n="Bild",N8n={"style.menu.color":FSn,"style.menu.fill":NSn,"style.menu.dash":$Sn,"style.menu.size":zSn,"style.menu.keep.open":USn,"style.menu.font":jSn,"style.menu.align":HSn,styles:qSn,"zoom.in":WSn,"zoom.out":GSn,to:VSn,"menu.tools":KSn,"menu.transform":YSn,"menu.file":XSn,"menu.edit":JSn,"menu.view":ZSn,"menu.preferences":QSn,"menu.sign.in":eAn,"menu.sign.out":tAn,"become.a.sponsor":nAn,"zoom.to.content":rAn,"zoom.to.selection":iAn,"zoom.to.fit":aAn,"zoom.to":oAn,"preferences.dark.mode":sAn,"preferences.focus.mode":lAn,"preferences.debug.mode":uAn,"preferences.show.grid":cAn,"preferences.use.cad.selection":fAn,"preferences.keep.stylemenu.open":dAn,"preferences.always.show.snaps":hAn,"preferences.rotate.handles":pAn,"preferences.binding.handles":gAn,"preferences.clone.handles":mAn,undo:vAn,redo:yAn,cut:bAn,copy:wAn,paste:kAn,"copy.as":_An,"export.as":CAn,"select.all":EAn,"select.none":xAn,delete:SAn,"new.project":AAn,open:TAn,save:DAn,"save.as":IAn,"upload.media":RAn,"create.page":MAn,"new.page":OAn,"page.name":LAn,duplicate:BAn,cancel:PAn,"copy.invite.link":FAn,"copy.readonly.link":NAn,"create.multiplayer.project":$An,"copy.multiplayer.project":zAn,select:UAn,eraser:jAn,draw:HAn,arrow:qAn,text:WAn,sticky:GAn,rectangle:VAn,ellipse:KAn,triangle:YAn,line:XAn,rotate:JAn,"lock.aspect.ratio":ZAn,"unlock.aspect.ratio":QAn,group:e8n,ungroup:t8n,"move.to.back":n8n,"move.backward":r8n,"move.forward":i8n,"move.to.front":a8n,"reset.angle":o8n,lock:s8n,unlock:l8n,"align.distribute":u8n,"move.to.page":c8n,"flip.horizontal":f8n,"flip.vertical":d8n,move:h8n,"to.front":p8n,forward:g8n,backward:m8n,back:v8n,language:y8n,"translation.link":b8n,"dock.position":w8n,bottom:k8n,left:_8n,right:C8n,top:E8n,page:x8n,"keyboard.shortcuts":S8n,search:A8n,loading:T8n,"export.background":D8n,transparent:I8n,auto:R8n,light:M8n,dark:O8n,github:L8n,twitter:B8n,discord:P8n,image:F8n},$8n="రంగు",z8n="నింపు",U8n="అడ్డ గీత",j8n="పరిమాణం",H8n="తెరిచి ఉంచు",q8n="అక్షరాకృతి",W8n="సరిపరచు",G8n="విధములు",V8n="దగ్గరగా చూపు",K8n="దూరంగా చూపు",Y8n="వద్దకు",X8n="పరికరాలు",J8n="మార్చు",Z8n="ఫైల్",Q8n="పరిష్కరించు",e7n="చూపు",t7n="ఎంచుకొన్నవి",n7n="ప్రవేశించు",r7n="నిష్క్రమణ",i7n="విరాళదారులు అవ్వండి",a7n="విషయాన్నే చూపు",o7n="ఎంచుకున్న విషయాన్నే చూపు",s7n="సరిపెట్టి చూపు",l7n="చూపు",u7n="చీకటైన క్రమం",c7n="తీక్షణ క్రమం",f7n="తప్పులేరు క్రమం",d7n="చట్రం చూపు",h7n="CADని వాడు",p7n="విధముల పత్తి తెరిచివుంచు",g7n="ఎప్పుడూ దృశ్యభాగం చూపు",m7n="హ్యాండిల్స్ తిప్పు",v7n="యాండిల్స్ కట్టు",y7n="యాండిల్స్ నకలు",b7n="మార్పుని తిరుగగొట్టు",w7n="మళ్ళీ మార్చు",k7n="కత్తిరించు",_7n="నకలు",C7n="అతికించు",E7n="నకలుప్రతిగా ఇక్కడికి",x7n="ఎగుమతి ఇక్కడికి",S7n="అన్నీ ఎంపికచెయ్యి",A7n="ఎదీ ఎంపికచెయ్యవద్దు",T7n="తొలగించు",D7n="కొత్త ప్రాజెక్టు",I7n="తెరువు",R7n="దాయి",M7n="ఇలా దాయి",O7n="ఎగుమతి మాధ్యం",L7n="పుట కల్పించు",B7n="కొత్త పుట",P7n="పుట పేరు",F7n="మారుప్రతి",N7n="రద్దుచేయి",$7n="అహ్వాన లింకు రాయి",z7n="మారనిప్రతి లింకు రాయి",U7n="బహుకర్తల ప్రాజెక్టు కల్పించు",j7n="బహుకర్తల ప్రాజెక్టుకు రాయి",H7n="ఎంపికచెయ్యి",q7n="Eraser",W7n="గీయ్యి",G7n="బాణం",V7n="అక్షరములు",K7n="అతుక్కునే",Y7n="దీర్ఘచతురస్రం",X7n="దీర్ఘవృత్తం",J7n="త్రిభుజం",Z7n="గీత",Q7n="తిప్పు",eTn="ఆస్పెక్ట్ నిష్పత్తికి తాళంపెట్టు",tTn="ఆస్పెక్ట్ నిష్పత్తి తాళంతెరువు",nTn="గుంపుగా ఏర్పరచు",rTn="గుంపును చెదరగొట్టు",iTn="ఆఖరికి జరుపు",aTn="వెనుకకు జరుపు",oTn="ముందుకు జరుపు",sTn="మొదటికి జరుపు",lTn="కోణం రీసెట్",uTn="తాళం వెయ్యి",cTn="తాళం తియ్యి",fTn=" సరిపరచు/వెదజల్లు",dTn="పుటలోకి జరుపు",hTn="అడ్డంగా పల్టీ",pTn="నిలువుగా పల్టీ",gTn="జరుపు",mTn="మొదటికి",vTn="ముందుకు",yTn="వెనుకకు",bTn="ఆఖరికి",wTn="భాష",kTn="మరి కొన్ని విషయాలు",_Tn="మంచ స్థానం",CTn="అడుగున",ETn="ఎడమవైపు",xTn="కుడివైపు",STn="పైన",ATn="పుత",TTn="కీబోర్డ్ సత్వరమార్గం",DTn="వెతుకు",ITn="Loading{dots}",RTn="నేపథ్యం ఎగుమతి",MTn="కాంతి భేద్యము",OTn="స్వయంకృతం",LTn="వెలుతురు",BTn="చీకటి",PTn="Github",FTn="Twitter",NTn="Discord",$Tn="చిత్రం",zTn="ఎడమవైపుకు కుదుర్చు",UTn="అడ్డంగా మధ్యలో కుదుర్చు",jTn="కుడివైపుకు కుదుర్చు",HTn="పైకి కుదుర్చు",qTn="నిలువుగా మధ్యలో కుదుర్చు",WTn="అడుగున కుదుర్చు",GTn="అడ్డంగా పంచు",VTn="నిలువుగా పంచు",KTn="అడ్డంగా లాగు",YTn="నిలువుగా లాగు",XTn="మీరు ఈ ప్రాజెక్ట్ భద్రపరచుకోవాలని అనుకుంటున్నారా?",JTn="మీరు ఈ ప్రాజెక్ట్ భద్రపరచుకోవాలని అనుకుంటున్నారా?",ZTn="రద్దుచెయ్యి",QTn="వద్దు",eDn="సరే",tDn="ఫైల్ పెరు చెప్పండి",nDn={"style.menu.color":$8n,"style.menu.fill":z8n,"style.menu.dash":U8n,"style.menu.size":j8n,"style.menu.keep.open":H8n,"style.menu.font":q8n,"style.menu.align":W8n,styles:G8n,"zoom.in":V8n,"zoom.out":K8n,to:Y8n,"menu.tools":X8n,"menu.transform":J8n,"menu.file":Z8n,"menu.edit":Q8n,"menu.view":e7n,"menu.preferences":t7n,"menu.sign.in":n7n,"menu.sign.out":r7n,"become.a.sponsor":i7n,"zoom.to.content":a7n,"zoom.to.selection":o7n,"zoom.to.fit":s7n,"zoom.to":l7n,"preferences.dark.mode":u7n,"preferences.focus.mode":c7n,"preferences.debug.mode":f7n,"preferences.show.grid":d7n,"preferences.use.cad.selection":h7n,"preferences.keep.stylemenu.open":p7n,"preferences.always.show.snaps":g7n,"preferences.rotate.handles":m7n,"preferences.binding.handles":v7n,"preferences.clone.handles":y7n,undo:b7n,redo:w7n,cut:k7n,copy:_7n,paste:C7n,"copy.as":E7n,"export.as":x7n,"select.all":S7n,"select.none":A7n,delete:T7n,"new.project":D7n,open:I7n,save:R7n,"save.as":M7n,"upload.media":O7n,"create.page":L7n,"new.page":B7n,"page.name":P7n,duplicate:F7n,cancel:N7n,"copy.invite.link":$7n,"copy.readonly.link":z7n,"create.multiplayer.project":U7n,"copy.multiplayer.project":j7n,select:H7n,eraser:q7n,draw:W7n,arrow:G7n,text:V7n,sticky:K7n,rectangle:Y7n,ellipse:X7n,triangle:J7n,line:Z7n,rotate:Q7n,"lock.aspect.ratio":eTn,"unlock.aspect.ratio":tTn,group:nTn,ungroup:rTn,"move.to.back":iTn,"move.backward":aTn,"move.forward":oTn,"move.to.front":sTn,"reset.angle":lTn,lock:uTn,unlock:cTn,"align.distribute":fTn,"move.to.page":dTn,"flip.horizontal":hTn,"flip.vertical":pTn,move:gTn,"to.front":mTn,forward:vTn,backward:yTn,back:bTn,language:wTn,"translation.link":kTn,"dock.position":_Tn,bottom:CTn,left:ETn,right:xTn,top:STn,page:ATn,"keyboard.shortcuts":TTn,search:DTn,loading:ITn,"export.background":RTn,transparent:MTn,auto:OTn,light:LTn,dark:BTn,github:PTn,twitter:FTn,discord:NTn,image:$Tn,"align.left":zTn,"align.center.x":UTn,"align.right":jTn,"align.top":HTn,"align.center.y":qTn,"align.bottom":WTn,"distribute.x":GTn,"distribute.y":VTn,"stretch.x":KTn,"stretch.y":YTn,"dialog.save.firsttime":XTn,"dialog.save.again":JTn,"dialog.cancel":ZTn,"dialog.no":QTn,"dialog.yes":eDn,"enter.file.name":tDn},rDn="สี",iDn="เติม",aDn="กรอบ",oDn="ขนาด",sDn="เปิดทิ้งไว้",lDn="แบบอักษร",uDn="จัดตำแหน่ง",cDn="รูปแบบ",fDn="ซูมเข้า",dDn="ซูมออก",hDn="ซูมไปที่",pDn="เครื่องมือ",gDn="แปลง",mDn="ไฟล์",vDn="แก้ไข",yDn="มุมมอง",bDn="การตั้งค่า",wDn="เข้าสู่ระบบ",kDn="ออกจากระบบ",_Dn="ร่วมเป็นสปอนเซอร์",CDn="กลับไปยังเนื้อหา",EDn="ซูมไปยังส่วนที่เลือก",xDn="ซูมให้เต็มพอดี",SDn="ซูมไปที่",ADn="โหมดมืด",TDn="โหมดโฟกัส",DDn="โหมดดีบัก",IDn="แสดงตาราง",RDn="การเลือกแบบ CAD",MDn="เปิดเมนูรูปแบบทิ้งไว้",ODn="แสดงสแนปตลอด",LDn="แสดงจุดจับการหมุน",BDn="แสดงหมายเลขอ้างอิง",PDn="แสดงตัวโคลน",FDn="เลิกทำ",NDn="ทำซ้ำ",$Dn="ตัด",zDn="คัดลอก",UDn="วาง",jDn="คัดลอกเป็น",HDn="ส่งออกเป็น",qDn="เลือกทั้งหมด",WDn="ยกเลิกสิ่งที่เลือก",GDn="ลบ",VDn="โปรเจกต์ใหม่",KDn="เปิด",YDn="บันทึก",XDn="บันทึกเป็น",JDn="อัพโหลดมีเดีย",ZDn="สร้างหน้า",QDn="หน้าใหม่",eIn="ชื่อหน้า",tIn="สำเนา",nIn="ยกเลิก",rIn="คัดลอกลิงก์เชิญ",iIn="คัดลอกลิงก์แบบให้อ่านอย่างเดียว",aIn="สร้างโปรเจกต์ผู้ใช้งานหลายคน",oIn="คัดลอกโปรเจกต์ผู้ใช้งานหลายคน",sIn="เลือก",lIn="ยางลบ",uIn="วาด",cIn="ลูกศร",fIn="ข้อความ",dIn="กระดาษโน๊ต",hIn="สี่เหลี่ยมผืนผ้า",pIn="วงรี",gIn="สามเหลี่ยม",mIn="เส้น",vIn="หมุน",yIn="ล็อคอัตราส่วนภาพ",bIn="ปลดล็อกอัตราส่วนภาพ",wIn="กลุ่ม",kIn="ยกเลิกกลุ่ม",_In="ย้ายไปด้านหลัง",CIn="ขยับถอยหลัง",EIn="ขยับไปหน้า",xIn="ย้ายไปด้านหน้า",SIn="รีเซ็ตมุม",AIn="ล็อค",TIn="ปลดล็อค",DIn="จัดตำแหน่ง / กระจาย",IIn="ย้ายไปยังหน้า",RIn="พลิกแนวนอน",MIn="พลิกแนวตั้ง",OIn="ย้าย",LIn="ไปยังด้านหน้า",BIn="ข้างหน้า",PIn="ข้างหลัง",FIn="ไปยังด้านหลัง",NIn="ภาษา",$In="เรียนรู้เพิ่มเติม",zIn="ตำแหน่งแถบเครื่องมือ",UIn="ข้างล่าง",jIn="ข้างซ้าย",HIn="ข้างขวา",qIn="ข้างบน",WIn="หน้า",GIn="แป้นพิมพ์ลัด",VIn="ค้นหา",KIn="กำลังโหลด{dots}",YIn="ส่งออกพื้นหลัง",XIn="โปร่งใส",JIn="อัตโนมัติ",ZIn="สว่าง",QIn="มืด",eRn="Github",tRn="Twitter",nRn="Discord",rRn="ภาพ",iRn="จัดให้ชิดซ้าย",aRn="จัดให้อยู่กึ่งกลางแนวนอน",oRn="จัดให้ชิดขวา",sRn="จัดให้อยู่ด้านบน",lRn="จัดให้อยู่กึ่งกลางแนวตั้ง",uRn="จัดให้อยู่ด้านล่าง",cRn="กระจายแนวนอน",fRn="กระจายแนวตั้ง",dRn="ยืดแนวนอน",hRn="ยืดแนวตั้ง",pRn="คุณต้องการบันทึกโปรเจ็กต์ปัจจุบันของคุณหรือไม่?",gRn="คุณต้องการบันทึกการเปลี่ยนแปลงในโปรเจ็กต์ปัจจุบันของคุณหรือไม่?",mRn="ยกเลิก",vRn="ไม่",yRn="ใช่",bRn="กรอกชื่อไฟล์",wRn={"style.menu.color":rDn,"style.menu.fill":iDn,"style.menu.dash":aDn,"style.menu.size":oDn,"style.menu.keep.open":sDn,"style.menu.font":lDn,"style.menu.align":uDn,styles:cDn,"zoom.in":fDn,"zoom.out":dDn,to:hDn,"menu.tools":pDn,"menu.transform":gDn,"menu.file":mDn,"menu.edit":vDn,"menu.view":yDn,"menu.preferences":bDn,"menu.sign.in":wDn,"menu.sign.out":kDn,"become.a.sponsor":_Dn,"zoom.to.content":CDn,"zoom.to.selection":EDn,"zoom.to.fit":xDn,"zoom.to":SDn,"preferences.dark.mode":ADn,"preferences.focus.mode":TDn,"preferences.debug.mode":DDn,"preferences.show.grid":IDn,"preferences.use.cad.selection":RDn,"preferences.keep.stylemenu.open":MDn,"preferences.always.show.snaps":ODn,"preferences.rotate.handles":LDn,"preferences.binding.handles":BDn,"preferences.clone.handles":PDn,undo:FDn,redo:NDn,cut:$Dn,copy:zDn,paste:UDn,"copy.as":jDn,"export.as":HDn,"select.all":qDn,"select.none":WDn,delete:GDn,"new.project":VDn,open:KDn,save:YDn,"save.as":XDn,"upload.media":JDn,"create.page":ZDn,"new.page":QDn,"page.name":eIn,duplicate:tIn,cancel:nIn,"copy.invite.link":rIn,"copy.readonly.link":iIn,"create.multiplayer.project":aIn,"copy.multiplayer.project":oIn,select:sIn,eraser:lIn,draw:uIn,arrow:cIn,text:fIn,sticky:dIn,rectangle:hIn,ellipse:pIn,triangle:gIn,line:mIn,rotate:vIn,"lock.aspect.ratio":yIn,"unlock.aspect.ratio":bIn,group:wIn,ungroup:kIn,"move.to.back":_In,"move.backward":CIn,"move.forward":EIn,"move.to.front":xIn,"reset.angle":SIn,lock:AIn,unlock:TIn,"align.distribute":DIn,"move.to.page":IIn,"flip.horizontal":RIn,"flip.vertical":MIn,move:OIn,"to.front":LIn,forward:BIn,backward:PIn,back:FIn,language:NIn,"translation.link":$In,"dock.position":zIn,bottom:UIn,left:jIn,right:HIn,top:qIn,page:WIn,"keyboard.shortcuts":GIn,search:VIn,loading:KIn,"export.background":YIn,transparent:XIn,auto:JIn,light:ZIn,dark:QIn,github:eRn,twitter:tRn,discord:nRn,image:rRn,"align.left":iRn,"align.center.x":aRn,"align.right":oRn,"align.top":sRn,"align.center.y":lRn,"align.bottom":uRn,"distribute.x":cRn,"distribute.y":fRn,"stretch.x":dRn,"stretch.y":hRn,"dialog.save.firsttime":pRn,"dialog.save.again":gRn,"dialog.cancel":mRn,"dialog.no":vRn,"dialog.yes":yRn,"enter.file.name":bRn},kRn="Renk",_Rn="Doldur",CRn="Çizgi",ERn="Boyut",xRn="Açık Tut",SRn="Yazı Tipi",ARn="Hizala",TRn="Stiller",DRn="Yakınlaştır",IRn="Uzaklaştır",RRn="",MRn="Dosya",ORn="Düzenle",LRn="Görüntü",BRn="Tercihler",PRn="Giriş Yap",FRn="Oturumu Kapat",NRn="Sponsor Ol",$Rn="Seçime Yakınlaştır",zRn="Sığdırmak için Yakınlaştır",URn="Yakınlaştır",jRn="Karanlık Mod",HRn="Odak Modu",qRn="Debug Modu",WRn="Izgarayı Göster",GRn="CAD Seçimi Kullan",VRn="Stil Menüsünü Açık Tut",KRn="Hiza Çizgilerini Hep Göster",YRn="Rotasyon Kontrolcüleri",XRn="Bağlama Kontrolcüleri",JRn="Klon Kontrolcüleri",ZRn="Geri Al",QRn="Yinele",eMn="Kes",tMn="Kopyala",nMn="Yapıştır",rMn="Olarak Kopyala",iMn="Olarak Dışarı Aktar",aMn="Hepsini Seç",oMn="Hiçbirini Seçme",sMn="Sil",lMn="Yeni Proje",uMn="Aç",cMn="Kaydet",fMn="Farklı Kaydet",dMn="Medya Yükle",hMn="Sayfa Oluştur",pMn="Yeni Sayfa",gMn="Sayfa İsmi",mMn="Kopya Oluştur",vMn="İptal",yMn="Davet Linkini Kopyala",bMn="Çok Oyunculu Proje Oluştur",wMn="Çok Oyunculu Projeye Kopyala",kMn="Seç",_Mn="Silgi",CMn="Çizim",EMn="Ok",xMn="Yazı",SMn="Yapışkan",AMn="Dikdörtgen",TMn="Elips",DMn="Üçgen",IMn="Çizgi",RMn="Döndür",MMn="En Boy Oranını Kilitle",OMn="En Boy Oranı Kilidini Aç",LMn="Grupla",BMn="Gruplamayı Kaldır",PMn="Arkaya Taşı",FMn="En Arkaya Taşı",NMn="En Öne Taşı",$Mn="Öne Taşı",zMn="Açıyı Sıfırla",UMn="Kilitle",jMn="Kilidini Aç",HMn="Sayfaya Taşı",qMn="Yatay Çevir",WMn="Dikey Çevir",GMn="Taşı",VMn="Öne",KMn="En Öne",YMn="En Arkaya",XMn="Arkaya",JMn="Dil",ZMn={"style.menu.color":kRn,"style.menu.fill":_Rn,"style.menu.dash":CRn,"style.menu.size":ERn,"style.menu.keep.open":xRn,"style.menu.font":SRn,"style.menu.align":ARn,styles:TRn,"zoom.in":DRn,"zoom.out":IRn,to:RRn,"menu.file":MRn,"menu.edit":ORn,"menu.view":LRn,"menu.preferences":BRn,"menu.sign.in":PRn,"menu.sign.out":FRn,"become.a.sponsor":NRn,"zoom.to.selection":$Rn,"zoom.to.fit":zRn,"zoom.to":URn,"preferences.dark.mode":jRn,"preferences.focus.mode":HRn,"preferences.debug.mode":qRn,"preferences.show.grid":WRn,"preferences.use.cad.selection":GRn,"preferences.keep.stylemenu.open":VRn,"preferences.always.show.snaps":KRn,"preferences.rotate.handles":YRn,"preferences.binding.handles":XRn,"preferences.clone.handles":JRn,undo:ZRn,redo:QRn,cut:eMn,copy:tMn,paste:nMn,"copy.as":rMn,"export.as":iMn,"select.all":aMn,"select.none":oMn,delete:sMn,"new.project":lMn,open:uMn,save:cMn,"save.as":fMn,"upload.media":dMn,"create.page":hMn,"new.page":pMn,"page.name":gMn,duplicate:mMn,cancel:vMn,"copy.invite.link":yMn,"create.multiplayer.project":bMn,"copy.multiplayer.project":wMn,select:kMn,eraser:_Mn,draw:CMn,arrow:EMn,text:xMn,sticky:SMn,rectangle:AMn,ellipse:TMn,triangle:DMn,line:IMn,rotate:RMn,"lock.aspect.ratio":MMn,"unlock.aspect.ratio":OMn,group:LMn,ungroup:BMn,"move.to.back":PMn,"move.backward":FMn,"move.forward":NMn,"move.to.front":$Mn,"reset.angle":zMn,lock:UMn,unlock:jMn,"move.to.page":HMn,"flip.horizontal":qMn,"flip.vertical":WMn,move:GMn,"to.front":VMn,forward:KMn,backward:YMn,back:XMn,language:JMn},QMn="Колір",eOn="Заповнювати",tOn="Штрих",nOn="Розмір",rOn="Тримати відкритим",iOn="Шрифт",aOn="Вирівняти",oOn="Стиль",sOn="Збільшити",lOn="Зменшити",uOn="до",cOn="Файл",fOn="Редагування",dOn="Вигляд",hOn="Налаштування",pOn="Увійти",gOn="Вийти",mOn="Стати спонсором",vOn="Наблизити до виділення",yOn="Збільшити за розміром екрану",bOn="Наблизити до",wOn="Темна тема",kOn="Мінімалістичний режим",_On="Режим налагодження",COn="Показати сітку",EOn="Використовувати CAD виділення",xOn="Тримати меню стилів відкритим",SOn="Завжди показувати прив'язки",AOn="Ручки обертання",TOn="Ручки прив'язки",DOn="Ручки клонування",IOn="Скасувати",ROn="Повторити",MOn="Вирізати",OOn="Скопіювати",LOn="Вставити",BOn="Скопіювати як",POn="Експортувати як",FOn="Обрати все",NOn="Зняти виділення",$On="Видалити",zOn="Новий проект",UOn="Відкрити",jOn="Зберегти",HOn="Зберегти як",qOn="Завантажити медіа",WOn="Створити сторінку",GOn="Нова сторінка",VOn="Назва сторінки",KOn="Дублювати",YOn="Скасувати",XOn="Скопіювати посилання на запрошення",JOn="Створити багатокористувацький проект",ZOn="Скопіювати в багатокористувацький проект",QOn="Вибирати",eLn="Ластик",tLn="Малювати",nLn="Стрілка",rLn="Текст",iLn="Нотатка",aLn="Прямокутник",oLn="Еліпс",sLn="Трикутник",lLn=" Лінія",uLn="Повернути",cLn="Заблокувати співвідношення сторін",fLn=" Розблокувати співвідношення сторін",dLn="Згрупувати",hLn=" Розгрупувати",pLn="Перемістити назад",gLn="Перемістити на задній план",mLn="Перемістити вперед",vLn="Перемістити на передній план",yLn="Скидання кута",bLn="Блокування",wLn=" Розблокування",kLn="Перейти на сторінку",_Ln="Перевернути горизонтально",CLn="Перевернути вертикально",ELn="Перемістити",xLn="На передній план",SLn=" Вперед",ALn="На задній план",TLn="Назад",DLn="Мова",ILn={"style.menu.color":QMn,"style.menu.fill":eOn,"style.menu.dash":tOn,"style.menu.size":nOn,"style.menu.keep.open":rOn,"style.menu.font":iOn,"style.menu.align":aOn,styles:oOn,"zoom.in":sOn,"zoom.out":lOn,to:uOn,"menu.file":cOn,"menu.edit":fOn,"menu.view":dOn,"menu.preferences":hOn,"menu.sign.in":pOn,"menu.sign.out":gOn,"become.a.sponsor":mOn,"zoom.to.selection":vOn,"zoom.to.fit":yOn,"zoom.to":bOn,"preferences.dark.mode":wOn,"preferences.focus.mode":kOn,"preferences.debug.mode":_On,"preferences.show.grid":COn,"preferences.use.cad.selection":EOn,"preferences.keep.stylemenu.open":xOn,"preferences.always.show.snaps":SOn,"preferences.rotate.handles":AOn,"preferences.binding.handles":TOn,"preferences.clone.handles":DOn,undo:IOn,redo:ROn,cut:MOn,copy:OOn,paste:LOn,"copy.as":BOn,"export.as":POn,"select.all":FOn,"select.none":NOn,delete:$On,"new.project":zOn,open:UOn,save:jOn,"save.as":HOn,"upload.media":qOn,"create.page":WOn,"new.page":GOn,"page.name":VOn,duplicate:KOn,cancel:YOn,"copy.invite.link":XOn,"create.multiplayer.project":JOn,"copy.multiplayer.project":ZOn,select:QOn,eraser:eLn,draw:tLn,arrow:nLn,text:rLn,sticky:iLn,rectangle:aLn,ellipse:oLn,triangle:sLn,line:lLn,rotate:uLn,"lock.aspect.ratio":cLn,"unlock.aspect.ratio":fLn,group:dLn,ungroup:hLn,"move.to.back":pLn,"move.backward":gLn,"move.forward":mLn,"move.to.front":vLn,"reset.angle":yLn,lock:bLn,unlock:wLn,"move.to.page":kLn,"flip.horizontal":_Ln,"flip.vertical":CLn,move:ELn,"to.front":xLn,forward:SLn,backward:ALn,back:TLn,language:DLn},RLn="颜色",MLn="填充",OLn="边框",LLn="尺寸",BLn="保持常开",PLn="字体",FLn="对齐",NLn="样式",$Ln="放大",zLn="缩小",ULn="缩放至",jLn="工具",HLn="转换",qLn="文件",WLn="编辑",GLn="视图",VLn="偏好",KLn="登录",YLn="登出",XLn="搜索",JLn="成为赞助者",ZLn="缩放选中",QLn="自适应缩放",eBn="缩放至",tBn="缩放至内容",nBn="暗黑模式",rBn="专注模式",iBn="调试模式",aBn="显示网格",oBn="使用 CAD 选择",sBn="保持样式菜单常开",lBn="总是展示对齐线",uBn="旋转手柄",cBn="捆绑手柄",fBn="克隆手柄",dBn="撤销",hBn="重做",pBn="剪切",gBn="复制",mBn="粘贴",vBn="复制为",yBn="导出为",bBn="选中全部",wBn="取消选中",kBn="删除",_Bn="新项目",CBn="打开",EBn="保存",xBn="保存为",SBn="上传媒体文件",ABn="创建页面",TBn="新页面",DBn="页面名称",IBn="复制",RBn="取消",MBn="复制邀请链接",OBn="创建多人项目",LBn="复制到多人项目",BBn="选择",PBn="橡皮",FBn="画笔",NBn="箭头",$Bn="文本",zBn="便利贴",UBn="矩形",jBn="椭圆形",HBn="三角形",qBn="直线",WBn="旋转",GBn="锁定宽高比",VBn="解锁宽高比",KBn="分组",YBn="取消分组",XBn="置底",JBn="下移一层",ZBn="上移一层",QBn="置顶",ePn="重置旋转角度",tPn="锁定",nPn="解锁",rPn="移动到页面",iPn="水平翻转",aPn="垂直翻转",oPn="移动",sPn="置顶",lPn="上一层",uPn="下一层",cPn="置底",fPn="语言",dPn="键盘快捷键",hPn="了解更多",pPn="页面",gPn="锚点位置",mPn="下面",vPn="左面",yPn="右面",bPn="上面",wPn="导出背景色",kPn="透明",_Pn="自动",CPn="明亮",EPn="暗黑",xPn="复制只读链接",SPn="图片",APn="对齐 / 分散",TPn="您是否想保存当前的项目?",DPn="您是否想保存对当前项目的更改?",IPn="取消",RPn="否",MPn="是",OPn={"style.menu.color":RLn,"style.menu.fill":MLn,"style.menu.dash":OLn,"style.menu.size":LLn,"style.menu.keep.open":BLn,"style.menu.font":PLn,"style.menu.align":FLn,styles:NLn,"zoom.in":$Ln,"zoom.out":zLn,to:ULn,"menu.tools":jLn,"menu.transform":HLn,"menu.file":qLn,"menu.edit":WLn,"menu.view":GLn,"menu.preferences":VLn,"menu.sign.in":KLn,"menu.sign.out":YLn,search:XLn,"become.a.sponsor":JLn,"zoom.to.selection":ZLn,"zoom.to.fit":QLn,"zoom.to":eBn,"zoom.to.content":tBn,"preferences.dark.mode":nBn,"preferences.focus.mode":rBn,"preferences.debug.mode":iBn,"preferences.show.grid":aBn,"preferences.use.cad.selection":oBn,"preferences.keep.stylemenu.open":sBn,"preferences.always.show.snaps":lBn,"preferences.rotate.handles":uBn,"preferences.binding.handles":cBn,"preferences.clone.handles":fBn,undo:dBn,redo:hBn,cut:pBn,copy:gBn,paste:mBn,"copy.as":vBn,"export.as":yBn,"select.all":bBn,"select.none":wBn,delete:kBn,"new.project":_Bn,open:CBn,save:EBn,"save.as":xBn,"upload.media":SBn,"create.page":ABn,"new.page":TBn,"page.name":DBn,duplicate:IBn,cancel:RBn,"copy.invite.link":MBn,"create.multiplayer.project":OBn,"copy.multiplayer.project":LBn,select:BBn,eraser:PBn,draw:FBn,arrow:NBn,text:$Bn,sticky:zBn,rectangle:UBn,ellipse:jBn,triangle:HBn,line:qBn,rotate:WBn,"lock.aspect.ratio":GBn,"unlock.aspect.ratio":VBn,group:KBn,ungroup:YBn,"move.to.back":XBn,"move.backward":JBn,"move.forward":ZBn,"move.to.front":QBn,"reset.angle":ePn,lock:tPn,unlock:nPn,"move.to.page":rPn,"flip.horizontal":iPn,"flip.vertical":aPn,move:oPn,"to.front":sPn,forward:lPn,backward:uPn,back:cPn,language:fPn,"keyboard.shortcuts":dPn,"translation.link":hPn,page:pPn,"dock.position":gPn,bottom:mPn,left:vPn,right:yPn,top:bPn,"export.background":wPn,transparent:kPn,auto:_Pn,light:CPn,dark:EPn,"copy.readonly.link":xPn,image:SPn,"align.distribute":APn,"dialog.save.firsttime":TPn,"dialog.save.again":DPn,"dialog.cancel":IPn,"dialog.no":RPn,"dialog.yes":MPn},LPn="顏色",BPn="填充",PPn="虛線",FPn="大小",NPn="保持開啟",$Pn="字型",zPn="對齊",UPn="樣式",jPn="放大",HPn="縮小",qPn="至",WPn="檔案",GPn="編輯",VPn="檢視",KPn="選項",YPn="登入",XPn="登出",JPn="成為贊助者",ZPn="縮放至選取範圍",QPn="縮放至適當大小",eFn="縮放至",tFn="深色模式",nFn="專注模式",rFn="除錯模式",iFn="顯示網格",aFn="使用 CAD 選取",oFn="樣式選單保持開啟",sFn="永遠顯示對齊線",lFn="旋轉控點",uFn="綁定控點",cFn="複製控點",fFn="復原",dFn="取消復原",hFn="剪下",pFn="複製",gFn="貼上",mFn="複製成",vFn="匯出成",yFn="全選",bFn="取消選取",wFn="刪除",kFn="新專案",_Fn="開啟",CFn="儲存",EFn="另存為",xFn="上傳媒體",SFn="建立頁面",AFn="新頁面",TFn="頁面名稱",DFn="複製",IFn="取消",RFn="複製邀請連結",MFn="複製唯讀連結",OFn="建立多人專案",LFn="複製至多人專案",BFn="選取",PFn="橡皮擦",FFn="手繪",NFn="箭頭",$Fn="文字",zFn="便利貼",UFn="長方形",jFn="橢圓形",HFn="三角形",qFn="直線",WFn="旋轉",GFn="鎖定長寬比",VFn="解鎖長寬比",KFn="組成群組",YFn="取消群組",XFn="移到最下層",JFn="下移一層",ZFn="上移一層",QFn="移到最上層",eNn="重設角度",tNn="鎖定",nNn="解鎖",rNn="移至頁面",iNn="水平翻轉",aNn="垂直翻轉",oNn="移動",sNn="到最上層",lNn="到上一層",uNn="到下一層",cNn="到最下層",fNn="語言",dNn="了解詳情",hNn="工具列位置",pNn="下方",gNn="左側",mNn="右側",vNn="上方",yNn="頁面",bNn={"style.menu.color":LPn,"style.menu.fill":BPn,"style.menu.dash":PPn,"style.menu.size":FPn,"style.menu.keep.open":NPn,"style.menu.font":$Pn,"style.menu.align":zPn,styles:UPn,"zoom.in":jPn,"zoom.out":HPn,to:qPn,"menu.file":WPn,"menu.edit":GPn,"menu.view":VPn,"menu.preferences":KPn,"menu.sign.in":YPn,"menu.sign.out":XPn,"become.a.sponsor":JPn,"zoom.to.selection":ZPn,"zoom.to.fit":QPn,"zoom.to":eFn,"preferences.dark.mode":tFn,"preferences.focus.mode":nFn,"preferences.debug.mode":rFn,"preferences.show.grid":iFn,"preferences.use.cad.selection":aFn,"preferences.keep.stylemenu.open":oFn,"preferences.always.show.snaps":sFn,"preferences.rotate.handles":lFn,"preferences.binding.handles":uFn,"preferences.clone.handles":cFn,undo:fFn,redo:dFn,cut:hFn,copy:pFn,paste:gFn,"copy.as":mFn,"export.as":vFn,"select.all":yFn,"select.none":bFn,delete:wFn,"new.project":kFn,open:_Fn,save:CFn,"save.as":EFn,"upload.media":xFn,"create.page":SFn,"new.page":AFn,"page.name":TFn,duplicate:DFn,cancel:IFn,"copy.invite.link":RFn,"copy.readonly.link":MFn,"create.multiplayer.project":OFn,"copy.multiplayer.project":LFn,select:BFn,eraser:PFn,draw:FFn,arrow:NFn,text:$Fn,sticky:zFn,rectangle:UFn,ellipse:jFn,triangle:HFn,line:qFn,rotate:WFn,"lock.aspect.ratio":GFn,"unlock.aspect.ratio":VFn,group:KFn,ungroup:YFn,"move.to.back":XFn,"move.backward":JFn,"move.forward":ZFn,"move.to.front":QFn,"reset.angle":eNn,lock:tNn,unlock:nNn,"move.to.page":rNn,"flip.horizontal":iNn,"flip.vertical":aNn,move:oNn,"to.front":sNn,forward:lNn,backward:uNn,back:cNn,language:fNn,"translation.link":dNn,"dock.position":hNn,bottom:pNn,left:gNn,right:mNn,top:vNn,page:yNn},Lhe=[{locale:"ar",label:"عربي",messages:Zqt},{locale:"da",label:"Danish",messages:hVt},{locale:"de",label:"Deutsch",messages:ZYt},{locale:"en",label:"English",messages:QYt},{locale:"es",label:"Español",messages:NZt},{locale:"fa",label:"فارسی",messages:Ctn},{locale:"fr",label:"Français",messages:krn},{locale:"gl",label:"Galego",messages:oon},{locale:"he",label:"עברית",messages:Nsn},{locale:"it",label:"Italiano",messages:_un},{locale:"ja",label:"日本語",messages:efn},{locale:"ko-kr",label:"한국어",messages:bhn},{locale:"my",label:"မြန်မာစာ",messages:w2n},{locale:"nb-no",label:"Norwegian Bokmål",messages:Zyn},{locale:"ne",label:"नेपाली",messages:I4n},{locale:"nn-no",label:"Norwegian Nynorsk",messages:ckn},{locale:"pl",label:"Polski",messages:E_n},{locale:"pt",label:"Português - Europeu",messages:v9n},{locale:"pt-br",label:"Português - Brasil",messages:$En},{locale:"ru",label:"Russian",messages:PSn},{locale:"sv",label:"Svenska",messages:N8n},{locale:"te",label:"తెలుగు",messages:nDn},{locale:"tr",label:"Türkçe",messages:ZMn},{locale:"uk",label:"Ukrainian",messages:ILn},{locale:"zh-ch",label:"简体中文",messages:OPn},{locale:"zh-tw",label:"繁體中文 (台灣)",messages:bNn},{locale:"th",label:"ภาษาไทย",messages:wRn},{locale:"ku",label:"کوردی",messages:mpn}];Lhe.sort((e,t)=>e.localer.locale===e);return{locale:e,label:(t=n?.label)!=null?t:e,messages:mt(mt({},tmn),n?.messages)}}function kNn(e){return C.useMemo(()=>wNn(e??navigator.language.split(/[-_]/)[0]),[e])}var XGe=C.createContext({}),JGe=()=>{let e=C.useContext(XGe);if(!e)throw new Error("useCtx must be inside a Provider with a value");return e},Ea=C.forwardRef((e,t)=>{var n=e,{onSelect:r,onClick:i,onDoubleClick:a,variant:o,children:s,isToolLocked:l=!1,disabled:u=!1,isActive:c=!1,onKeyDown:f,id:d}=n,h=Rh(n,["onSelect","onClick","onDoubleClick","variant","children","isToolLocked","disabled","isActive","onKeyDown","id"]);return C.createElement(_Nn,mt({ref:t,isActive:c,variant:o,onClick:i,disabled:u,onPointerDown:r,onDoubleClick:a,onKeyDown:f,bp:sh,id:d},h),C.createElement(e0,null,s),l&&C.createElement(CNn,null))});function cg(e){var t=e,{label:n,kbd:r,variant:i,isLocked:a}=t,o=Rh(t,["label","kbd","variant","isLocked"]);let s=Xa(),l=C.useCallback(()=>{s.toggleToolLock()},[]),u=C.useCallback(c=>{c.key===" "&&s.isForcePanning&&c.preventDefault()},[]);return C.createElement(ps,{label:n[0].toUpperCase()+n.slice(1),kbd:r},C.createElement(Ea,Zt(mt({},o),{variant:i,isToolLocked:a&&o.isActive,onDoubleClick:l,onKeyDown:u,"aria-label":n[0].toUpperCase()+n.slice(1)})))}var e0=Hn("div",{position:"relative",height:"100%",width:"100%",backgroundColor:"$panel",borderRadius:"$2",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"$ui",color:"inherit",userSelect:"none",WebkitUserSelect:"none",boxSizing:"border-box",border:"1px solid transparent","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent"}),_Nn=Hn("button",{position:"relative",color:"$text",fontSize:"$0",background:"none",margin:"0",padding:"$2",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",cursor:"pointer",pointerEvents:"all",height:"40px",width:"40px",border:"1px solid $panel","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent",[`&:disabled ${e0}`]:{opacity:.618},variants:{variant:{primary:{marginTop:"0"},icon:{[`& ${e0}`]:{display:"grid","& > *":{gridRow:1,gridColumn:1}}},text:{width:"auto",[`& ${e0}`]:{fontSize:"$1",padding:"0 $3",gap:"$3"}},circle:{padding:0,height:32,width:32,border:"none",[`& ${e0}`]:{border:"1px solid $panelContrast",borderRadius:"100%",boxShadow:"$panel"},[`& ${e0} > svg`]:{width:14,height:14}}},isActive:{true:{},false:{}},bp:{mobile:{padding:0},small:{}}},compoundVariants:[{variant:"primary",bp:"mobile",css:{height:40,width:36,[`& ${e0} > svg`]:{width:16,height:16}}},{variant:"primary",bp:"small",css:{height:"40px",width:"40px",[`& ${e0} > svg`]:{width:20,height:20}}},{isActive:!0,css:{[`${e0}`]:{backgroundColor:"$selected",color:"$selectedContrast"}}},{isActive:!1,bp:"small",css:{[`&:hover:not(:disabled) ${e0}`]:{backgroundColor:"$hover"},[`&:focus:not(:disabled) ${e0}`]:{backgroundColor:"$hover"}}}]}),CNn=Hn("div",{position:"absolute",width:10,height:10,backgroundColor:"$selected",borderRadius:"100%",bottom:-2,border:"2px solid $panel",zIndex:100}),ENn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,xNn=e=>e.settings.isDebugMode,SNn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.some(t=>e.document.pages[e.appState.currentPageId].shapes[t].children!==void 0),ANn=e=>e.stopPropagation(),TNn=({onBlur:e,children:t})=>{let n=X2();return C.createElement(mPt,{dir:"ltr"},C.createElement(vPt,{dir:"ltr"},t),C.createElement(k$,{container:n.current},C.createElement(yPt,{onEscapeKeyDown:ANn,tabIndex:-1,onBlur:e,asChild:!0},C.createElement(Y2,{id:"TD-ContextMenu"},C.createElement(DNn,null)))))},DNn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(ENn),r=e.useStore(xNn),i=e.useStore(SNn),a=C.useCallback(()=>{e.flipHorizontal()},[e]),o=C.useCallback(()=>{e.flipVertical()},[e]),s=C.useCallback(()=>{e.duplicate()},[e]),l=C.useCallback(()=>{e.toggleLocked()},[e]),u=C.useCallback(()=>{e.group()},[e]),c=C.useCallback(()=>{e.moveToBack()},[e]),f=C.useCallback(()=>{e.moveBackward()},[e]),d=C.useCallback(()=>{e.moveForward()},[e]),h=C.useCallback(()=>{e.moveToFront()},[e]),p=C.useCallback(()=>{e.delete()},[e]),g=C.useCallback(()=>{e.cut()},[e]),b=C.useCallback(()=>{e.copy()},[e]),m=C.useCallback(()=>{e.paste()},[e]),v=C.useCallback(()=>{e.copyImage("svg",{scale:1,quality:1,transparentBackground:!1})},[e]),w=C.useCallback(()=>{e.copyImage("png",{scale:2,quality:1,transparentBackground:!0})},[e]),k=C.useCallback(()=>{e.undo()},[e]),E=C.useCallback(()=>{e.redo()},[e]),S=C.useCallback(()=>ai(this,null,function*(){e.exportImage("png",{scale:2,quality:1})}),[e]),T=C.useCallback(()=>ai(this,null,function*(){e.exportImage("jpeg",{scale:2,quality:1})}),[e]),L=C.useCallback(()=>ai(this,null,function*(){e.exportImage("webp",{scale:2,quality:1})}),[e]),M=C.useCallback(()=>ai(this,null,function*(){e.exportImage("svg",{scale:1,quality:1})}),[e]),D=C.useCallback(()=>ai(this,null,function*(){e.copyJson()}),[e]),I=C.useCallback(()=>ai(this,null,function*(){e.exportJson()}),[e]),B=n>0,N=n>1,O=n>2;return C.createElement(C.Fragment,null,B?C.createElement(C.Fragment,null,C.createElement(Ca,{onClick:s,kbd:"#D",id:"TD-ContextMenu-Duplicate"},C.createElement(tr,{id:"duplicate"})),C.createElement(Ca,{onClick:a,kbd:"⇧H",id:"TD-ContextMenu-Flip_Horizontal"},C.createElement(tr,{id:"flip.horizontal"})),C.createElement(Ca,{onClick:o,kbd:"⇧V",id:"TD-ContextMenu-Flip_Vertical"},C.createElement(tr,{id:"flip.vertical"})),C.createElement(Ca,{onClick:l,kbd:"#⇧L",id:"TD-ContextMenu- Lock_Unlock"},C.createElement(tr,{id:"lock"})," / ",C.createElement(tr,{id:"unlock"})),(N||i)&&C.createElement(Fs,null),N&&C.createElement(Ca,{onClick:u,kbd:"#G",id:"TD-ContextMenu-Group"},C.createElement(tr,{id:"group"})),i&&C.createElement(Ca,{onClick:u,kbd:"#G",id:"TD-ContextMenu-Ungroup"},C.createElement(tr,{id:"ungroup"})),C.createElement(Fs,null),C.createElement(pI,{label:t.formatMessage({id:"move"}),id:"TD-ContextMenu-Move"},C.createElement(Ca,{onClick:h,kbd:"⇧]",id:"TD-ContextMenu-Move-To_Front"},C.createElement(tr,{id:"to.front"})),C.createElement(Ca,{onClick:d,kbd:"]",id:"TD-ContextMenu-Move-Forward"},C.createElement(tr,{id:"forward"})),C.createElement(Ca,{onClick:f,kbd:"[",id:"TD-ContextMenu-Move-Backward"},C.createElement(tr,{id:"backward"})),C.createElement(Ca,{onClick:c,kbd:"⇧[",id:"TD-ContextMenu-Move-To_Back"},C.createElement(tr,{id:"back"}))),C.createElement(LNn,null),N&&C.createElement(INn,{hasTwoOrMore:N,hasThreeOrMore:O}),C.createElement(Fs,null),C.createElement(Ca,{onClick:g,kbd:"#X",id:"TD-ContextMenu-Cut"},C.createElement(tr,{id:"cut"})),C.createElement(Ca,{onClick:b,kbd:"#C",id:"TD-ContextMenu-Copy"},C.createElement(tr,{id:"copy"})),C.createElement(Ca,{onClick:m,kbd:"#V",id:"TD-ContextMenu-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Fs,null),C.createElement(pI,{label:`${t.formatMessage({id:"copy.as"})}...`,size:"small",id:"TD-ContextMenu-Copy-As"},C.createElement(Ca,{onClick:v,id:"TD-ContextMenu-Copy-as-SVG"},"SVG"),C.createElement(Ca,{onClick:w,id:"TD-ContextMenu-Copy-As-PNG"},"PNG"),r&&C.createElement(Ca,{onClick:D,id:"TD-ContextMenu-Copy_as_JSON"},"JSON")),C.createElement(pI,{label:`${t.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-ContextMenu-Export"},C.createElement(Ca,{onClick:M,id:"TD-ContextMenu-Export-SVG"},"SVG"),C.createElement(Ca,{onClick:S,id:"TD-ContextMenu-Export-PNG"},"PNG"),C.createElement(Ca,{onClick:T,id:"TD-ContextMenu-Export-JPG"},"JPG"),C.createElement(Ca,{onClick:L,id:"TD-ContextMenu-Export-WEBP"},"WEBP"),r&&C.createElement(Ca,{onClick:I,id:"TD-ContextMenu-Export-JSON"},"JSON")),C.createElement(Fs,null),C.createElement(Ca,{onClick:p,kbd:"⌫",id:"TD-ContextMenu-Delete"},C.createElement(tr,{id:"delete"}))):C.createElement(C.Fragment,null,C.createElement(Ca,{onClick:m,kbd:"#V",id:"TD-ContextMenu-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Ca,{onClick:k,kbd:"#Z",id:"TD-ContextMenu-Undo"},C.createElement(tr,{id:"undo"})),C.createElement(Ca,{onClick:E,kbd:"#⇧Z",id:"TD-ContextMenu-Redo"},C.createElement(tr,{id:"redo"})),C.createElement(pI,{label:`${t.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-ContextMenu-Export"},C.createElement(Ca,{onClick:M,id:"TD-ContextMenu-Export-SVG"},"SVG"),C.createElement(Ca,{onClick:S,id:"TD-ContextMenu-Export-PNG"},"PNG"),C.createElement(Ca,{onClick:T,id:"TD-ContextMenu-Export-JPG"},"JPG"),C.createElement(Ca,{onClick:L,id:"TD-ContextMenu-Export-WEBP"},"WEBP"),r&&C.createElement(Ca,{onClick:I,id:"TD-ContextMenu-Export-JSON"},"JSON"))))});function INn({hasThreeOrMore:e}){let t=Xa(),n=C.useCallback(()=>{t.align("top")},[t]),r=C.useCallback(()=>{t.align("centerVertical")},[t]),i=C.useCallback(()=>{t.align("bottom")},[t]),a=C.useCallback(()=>{t.stretch("vertical")},[t]),o=C.useCallback(()=>{t.distribute("vertical")},[t]),s=C.useCallback(()=>{t.align("left")},[t]),l=C.useCallback(()=>{t.align("centerHorizontal")},[t]),u=C.useCallback(()=>{t.align("right")},[t]),c=C.useCallback(()=>{t.stretch("horizontal")},[t]),f=C.useCallback(()=>{t.distribute("horizontal")},[t]),d=X2();return C.createElement(hhe,null,C.createElement(Phe,{id:"TD-ContextMenu-Align-Distribute-Trigger"},C.createElement(tr,{id:"align.distribute"})),C.createElement(k$,{container:d.current},C.createElement(phe,{asChild:!0,sideOffset:4,alignOffset:-2},C.createElement(RNn,{numberOfSelected:e?"threeOrMore":"twoOrMore"},C.createElement(fp,{onClick:s,id:"TD-ContextMenu-Align_Distribute-AlignLeft"},C.createElement(_We,null)),C.createElement(fp,{onClick:l,id:"TD-ContextMenu-Align_Distribute-AlignCenterHorizontal"},C.createElement(wWe,null)),C.createElement(fp,{onClick:u,id:"TD-ContextMenu-Align_Distribute-AlignRight"},C.createElement(CWe,null)),C.createElement(fp,{onClick:c,id:"TD-ContextMenu-Align_Distribute-StretchHorizontal"},C.createElement(TWe,null)),e&&C.createElement(fp,{onClick:f,id:"TD-ContextMenu-Align_Distribute-SpaceEvenlyHorizontal"},C.createElement(SWe,null)),C.createElement(fp,{onClick:n,id:"TD-ContextMenu-Align_Distribute-AlignTop"},C.createElement(EWe,null)),C.createElement(fp,{onClick:r,id:"TD-ContextMenu-Align_Distribute-AlignCenterVertical"},C.createElement(kWe,null)),C.createElement(fp,{onClick:i,id:"TD-ContextMenu-Align_Distribute-AlignBottom"},C.createElement(bWe,null)),C.createElement(fp,{onClick:a,id:"TD-ContextMenu-Align_Distribute-StretchVertical"},C.createElement(DWe,null)),e&&C.createElement(fp,{onClick:o,id:"TD-ContextMenu-Align_Distribute-SpaceEvenlyVertical"},C.createElement(AWe,null)),C.createElement(Bhe,{offset:13})))))}var RNn=Hn(Y2,{display:"grid",variants:{numberOfSelected:{threeOrMore:{gridTemplateColumns:"repeat(5, auto)"},twoOrMore:{gridTemplateColumns:"repeat(4, auto)"}}}}),MNn=e=>e.appState.currentPageId,ONn=e=>e.document.pages;function LNn(){let e=Xa(),t=e.useStore(MNn),n=e.useStore(ONn),r=Object.values(n).sort((a,o)=>(a.childIndex||0)-(o.childIndex||0)).filter(a=>a.id!==t),i=X2();return r.length===0?null:C.createElement(hhe,null,C.createElement(Phe,null,C.createElement(tr,{id:"move.to.page"})),C.createElement(k$,{container:i.current},C.createElement(phe,{sideOffset:4,alignOffset:-2,asChild:!0},C.createElement(Y2,null,r.map(({id:a,name:o},s)=>C.createElement(Ca,{key:a,disabled:a===t,onClick:()=>e.moveToPage(a)},o||`Page ${s}`)),C.createElement(Bhe,{offset:13})))))}function pI({children:e,label:t,size:n,id:r}){let i=X2();return C.createElement(hhe,null,C.createElement(Phe,null,t),C.createElement(k$,{container:i.current},C.createElement(phe,{sideOffset:4,alignOffset:-2,asChild:!0},C.createElement(Y2,{size:n},e,C.createElement(Bhe,{offset:13})))))}var Bhe=Hn(dPt,{fill:"$panel"});function fp(e){var t=e,{onSelect:n}=t,r=Rh(t,["onSelect"]);return C.createElement(yWe,{dir:"ltr",onSelect:n,asChild:!0},C.createElement(Ea,mt({},r)))}var Ca=e=>{var t=e,{id:n}=t,r=Rh(t,["id"]);return C.createElement(yWe,{asChild:!0,id:n},C.createElement(Ic,mt({},r)))},Phe=e=>{var t=e,{id:n}=t,r=Rh(t,["id"]);return C.createElement(bPt,{asChild:!0,id:n},C.createElement(Ic,mt({hasArrow:!0},r)))},BNn=C.memo(TNn);function PNn({error:e,resetErrorBoundary:t}){let n=Xa(),r=()=>{window.location.reload(),t()},i=()=>{let s=document.createElement("textarea");s.value=e.message,document.body.appendChild(s),s.select(),document.execCommand("copy"),s.remove()},a=()=>{n.saveProjectAs()},o=()=>{n.resetDocument(),t()};return C.createElement(FNn,null,C.createElement(NNn,null,C.createElement("div",null,"We've encountered an error!"),C.createElement("pre",null,C.createElement("code",null,e.message)),C.createElement($Nn,null,C.createElement(Ic,{onClick:i},"Copy Error"),C.createElement(Ic,{onClick:r},"Refresh Page")),C.createElement(Fs,null),C.createElement("p",null,"Keep getting this error?"," ",C.createElement("a",{onClick:a,title:"Download your project"},"Download your project")," ","as a backup and then"," ",C.createElement("a",{onClick:o,title:"Reset the document"},"reset the document"),".")))}var FNn=Hn("div",{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$canvas"}),NNn=Hn("div",{backgroundColor:"$panel",border:"1px solid $panelContrast",padding:"$5",borderRadius:8,boxShadow:"$panel",maxWidth:320,color:"$text",fontFamily:"$ui",fontSize:"$2",textAlign:"center",display:"flex",flexDirection:"column",gap:"$3","& > pre":{marginTop:"$3",marginBottom:"$3",textAlign:"left",whiteSpace:"pre-wrap",backgroundColor:"$hover",padding:"$4",borderRadius:"$2",fontFamily:'"Menlo", "Monaco", monospace',fontWeight:500},"& p":{fontFamily:"$body",lineHeight:1.7,padding:"$5",margin:0},"& a":{color:"$text",cursor:"pointer",textDecoration:"underline"},"& hr":{marginLeft:"-$5",marginRight:"-$5"}}),$Nn=Hn("div",{display:"flex","& > button > div":{justifyContent:"center",textAlign:"center"}}),Fhe=Hn("button",{position:"relative",height:"32px",width:"32px",backgroundColor:"$panel",borderRadius:"4px",padding:"0",margin:"0",outline:"none",border:"none",pointerEvents:"all",fontSize:"$0",color:"$text",cursor:"pointer",display:"grid",alignItems:"center",justifyContent:"center","& > *":{gridRow:1,gridColumn:1},"&:disabled":{opacity:"0.5"},"& > span":{width:"100%",height:"100%",display:"flex",alignItems:"center"},variants:{bp:{mobile:{backgroundColor:"transparent"},small:{"&:hover:not(:disabled)":{backgroundColor:"$hover"}}},size:{small:{height:32,width:32,"& svg:nth-of-type(1)":{height:"16px",width:"16px"}},medium:{height:44,width:44,"& svg:nth-of-type(1)":{height:"18px",width:"18px"}},large:{height:44,width:44,"& svg:nth-of-type(1)":{height:"20px",width:"20px"}}},isActive:{true:{color:"$selected"}}}});function zNn({onSelect:e}){return C.createElement(UNn,null,C.createElement(Fhe,{onClick:e},C.createElement(JPt,null)))}var UNn=Hn("div",{opacity:1,zIndex:100,backgroundColor:"transparent","& svg":{color:"$text"},"&:hover svg":{color:"$text"}}),jNn=e=>e.appState.isLoading;function HNn(){let e=Xa().useStore(jNn);return C.createElement(qNn,{hidden:!e},C.createElement(tr,{id:"loading",values:{dots:"..."}}))}var qNn=Hn("div",{position:"absolute",top:0,left:"50%",transform:"translate(-50%, 0)",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",padding:"8px 16px",fontFamily:"var(--fonts-ui)",fontSize:"var(--fontSizes-1)",boxShadow:"var(--shadows-panel)",backgroundColor:"white",zIndex:200,pointerEvents:"none","& > div > *":{pointerEvents:"all"},variants:{transform:{hidden:{transform:"translate(-50%, 100%)"},visible:{transform:"translate(-50%, 0%)"}}}});function WNn({children:e,onClose:t,container:n}){return C.createElement(She,{container:n},C.createElement(ZNn,null),C.createElement(QNn,{onKeyDown:r=>{switch(r.key){case"Escape":t?.();break}}},e))}var GNn=Hn(vUt,{marginBottom:20,color:"$text",fontSize:"$2",lineHeight:1.5,textAlign:"center",maxWidth:"62%",minWidth:0,alignSelf:"center"}),VNn=xhe,KNn=WNn,YNn=GNn,Bwe=sB,XNn=bGe,JNn=({container:e})=>{let{setDialogState:t,dialogState:n,onCancel:r,onNo:i,onYes:a}=JGe(),o=Jl(),s={saveFirstTime:o.formatMessage({id:"dialog.save.firsttime"}),saveAgain:o.formatMessage({id:"dialog.save.again"})};return C.createElement(VNn,{open:n!==null},C.createElement(KNn,{onClose:()=>t(null),container:e},n&&C.createElement(YNn,null,s[n]),C.createElement("div",{style:{width:"100%",gap:"$6",display:"flex",justifyContent:"space-between"}},r&&C.createElement(XNn,{asChild:!0},C.createElement(PS,{css:{color:"$text"},onClick:()=>{r(),t(null)}},C.createElement(tr,{id:"dialog.cancel"}))),C.createElement("div",{style:{flexShrink:0}},i&&C.createElement(Bwe,{asChild:!0},C.createElement(PS,{onClick:()=>{i(),t(null)}},C.createElement(tr,{id:"dialog.no"}))),a&&C.createElement(Bwe,{asChild:!0},C.createElement(PS,{css:{backgroundColor:"#2F80ED",color:"White"},onClick:()=>{a(),t(null)}},C.createElement(tr,{id:"dialog.yes"})))))))},ZNn=Hn(I$,{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, .15)",pointerEvents:"all"});Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0});var QNn=Hn(Ahe,{position:"fixed",font:"$ui",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"max-content",padding:"$3",pointerEvents:"all",backgroundColor:"$panel",borderRadius:"$3",display:"flex",flexDirection:"column",justifyContent:"center",fontFamily:"$ui",border:"1px solid $panelContrast",boxShadow:"$panel"}),PS=Hn("button",{all:"unset",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"$2",padding:"0 15px",fontSize:"$1",lineHeight:1,fontWeight:"normal",height:36,color:"$text",cursor:"pointer",minWidth:48}),ZGe=C.forwardRef((e,t)=>{var n=e,{icon:r}=n,i=Rh(n,["icon"]);return C.createElement(e$n,null,C.createElement(t$n,Zt(mt({},i),{ref:t})),r?C.createElement(n$n,null,r):null)}),e$n=Hn("div",{position:"relative",width:"100%",height:"min-content"}),t$n=Hn("input",{color:"$text",border:"none",textAlign:"left",width:"100%",paddingLeft:"$3",paddingRight:"$6",backgroundColor:"$background",height:"32px",outline:"none",fontFamily:"$ui",fontSize:"$1","&:focus":{backgroundColor:"$hover"},borderRadius:"$2"}),n$n=Hn(L0,{top:0,right:0,position:"absolute",paddingLeft:"$3",paddingRight:"$3",pointerEvents:"none",color:"$text"}),r$n=({isOpen:e,onClose:t})=>{let n=Xa(),r=X2(),i=Jl(),[a,o]=C.useState(n.document.name),s=C.useCallback(c=>{let f=c.target.value.trimStart();o(f)},[]);function l(c){c.stopPropagation()}let u=C.useCallback(c=>{switch(c.key){case"Enter":{n.saveProjectAs(a),t();break}case"Escape":{t();break}}},[]);return C.createElement(xhe,{open:e},C.createElement(She,{container:r.current},C.createElement(a$n,{onPointerDown:t}),C.createElement(i$n,{dir:"ltr",onKeyDown:l,onKeyUp:l},C.createElement(s$n,{placeholder:i.formatMessage({id:"enter.file.name"}),value:a,onChange:s,onKeyDown:u,icon:C.createElement(ghe,null)}),C.createElement(o$n,null,C.createElement(sB,{asChild:!0},C.createElement(PS,{onClick:t},C.createElement(tr,{id:"cancel"}))),C.createElement(sB,{asChild:!0},C.createElement(PS,{css:{backgroundColor:"#2F80ED",color:"White"},onClick:()=>{let c=a.trim().replace(/\.tldr$/,"");n.saveProjectAs(c),t()}},C.createElement(tr,{id:"save"})))))))},i$n=Hn(Ahe,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",minWidth:300,maxWidth:"fit-content",maxHeight:"85vh",marginTop:"-5vh",pointerEvents:"all",backgroundColor:"$panel",padding:"$3",borderRadius:"$2",font:"$ui",zIndex:999999,"&:focus":{outline:"none"}}),a$n=Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0,zIndex:999998}),o$n=Hn("div",{width:"100%",display:"flex",alignItems:"center",gap:8,justifyContent:"flex-end",marginTop:10}),s$n=Hn(ZGe,{background:"$hover"});function Yi(e){var t=e,{onSelect:n,id:r}=t,i=Rh(t,["onSelect","id"]);return C.createElement(C$,{dir:"ltr",asChild:!0,onSelect:n,id:r},C.createElement(Ic,mt({},i)))}var ms=e=>e.preventDefault();function a0({checked:e,disabled:t=!1,variant:n,onCheckedChange:r,kbd:i,id:a,ariaLabel:o,children:s}){return C.createElement(GNt,{dir:"ltr",onSelect:ms,onCheckedChange:r,checked:e,disabled:t,asChild:!0,id:a,"aria-label":o},C.createElement(Ic,{kbd:i,variant:n,hasIndicator:!0},s))}var rd=e=>e.stopPropagation();function E3({sideOffset:e=4,alignOffset:t=0,children:n,align:r,variant:i,id:a,overflow:o=!1,side:s="bottom"}){let l=X2();return C.createElement(WNt,{container:l.current,dir:"ltr"},C.createElement(FWe,{align:r,alignOffset:t,sideOffset:e,onEscapeKeyDown:rd,asChild:!0,id:a,side:s},C.createElement(l$n,{variant:i,overflow:o},n)))}var l$n=Hn(Y2,{width:"fit-content",height:"fit-content",minWidth:0,maxHeight:"100vh",overflowY:"auto",overflowX:"hidden","&::webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none",scrollbarWidth:"none",variants:{variant:{horizontal:{flexDirection:"row"},menu:{minWidth:128}},overflow:{true:{maxHeight:"60vh"}}}});Hn(KNt,{backgroundColor:"$hover",height:1,marginTop:"$2",marginRight:"-$2",marginBottom:"$2",marginLeft:"-$2"});var gI=Hn(NWe,{height:"32px",width:"32px",backgroundColor:"$panel",borderRadius:"4px",padding:"0",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"none",pointerEvents:"all",cursor:"pointer",variants:{isActive:{true:{backgroundColor:"$selected",color:"white"},false:{}},bp:{mobile:{},small:{}}},compoundVariants:[{isActive:!1,bp:"small",css:{"&:focus":{backgroundColor:"$hover"},"&:hover:not(:disabled)":{backgroundColor:"$hover"}}}]});function kv({children:e,size:t,overflow:n=!1,disabled:r=!1,label:i,id:a}){return C.createElement(XNt,{key:a},C.createElement(JNt,{dir:"ltr",asChild:!0},C.createElement(Ic,{disabled:r,hasArrow:!0},i)),C.createElement(ZNt,{asChild:!0,sideOffset:4,alignOffset:-4},C.createElement(Y2,{size:t,overflow:n},e,C.createElement(YNt,{offset:13}))))}function QGe(e){var t=e,{id:n,children:r}=t,i=Rh(t,["id","children"]);return C.createElement(C3,{asChild:!0,id:n},C.createElement(Ea,mt({},i),r))}var u$n=e=>e.settings.dockPosition,c$n=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,f$n=e=>{let t=e.document.pages[e.appState.currentPageId],{selectedIds:n}=e.document.pageStates[e.appState.currentPageId];return n.every(r=>t.shapes[r].isLocked)},d$n=e=>{let t=e.document.pages[e.appState.currentPageId],{selectedIds:n}=e.document.pageStates[e.appState.currentPageId];return n.every(r=>t.shapes[r].isAspectRatioLocked)},h$n=e=>{let t=e.document.pages[e.appState.currentPageId],n=e.document.pageStates[e.appState.currentPageId].selectedIds.map(r=>t.shapes[r]);return n.every(r=>r.children!==void 0||r.parentId===n[0].parentId&&n[0].parentId!==e.appState.currentPageId)},p$n=e=>{let{selectedIds:t}=e.document.pageStates[e.appState.currentPageId];return t.length>0},g$n=e=>{let{selectedIds:t}=e.document.pageStates[e.appState.currentPageId];return t.length>1};function m$n(){let e=Xa(),t=Jl(),n=e.useStore(f$n),r=e.useStore(d$n),i=e.useStore(h$n),a=e.useStore(p$n),o=e.useStore(g$n),s=e.useStore(c$n),l=e.useStore(u$n),u=s>1,c=s>2,f=C.useCallback(()=>{e.rotate()},[e]),d=C.useCallback(()=>{e.duplicate()},[e]),h=C.useCallback(()=>{e.toggleLocked()},[e]),p=C.useCallback(()=>{e.toggleAspectRatioLocked()},[e]),g=C.useCallback(()=>{e.group()},[e]),b=C.useCallback(()=>{e.moveToBack()},[e]),m=C.useCallback(()=>{e.moveBackward()},[e]),v=C.useCallback(()=>{e.moveForward()},[e]),w=C.useCallback(()=>{e.moveToFront()},[e]),k=C.useCallback(()=>{e.setShapeProps({rotation:0})},[e]),E=C.useCallback(()=>{e.align("top")},[e]),S=C.useCallback(()=>{e.align("centerVertical")},[e]),T=C.useCallback(()=>{e.align("bottom")},[e]),L=C.useCallback(()=>{e.stretch("vertical")},[e]),M=C.useCallback(()=>{e.distribute("vertical")},[e]),D=C.useCallback(()=>{e.align("left")},[e]),I=C.useCallback(()=>{e.align("centerHorizontal")},[e]),B=C.useCallback(()=>{e.align("right")},[e]),N=C.useCallback(()=>{e.stretch("horizontal")},[e]),O=C.useCallback(()=>{e.distribute("horizontal")},[e]),R=C.useCallback(H=>{e.setMenuOpen(H)},[e]),P=l==="bottom"||l==="top"?"top":l;return C.createElement(V2,{dir:"ltr",onOpenChange:R},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Tools-Dots"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"shape.options"}),variant:"circle"},C.createElement(QPt,null))),C.createElement(E3,{sideOffset:16,side:P},C.createElement(C.Fragment,null,C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"duplicate"}),kbd:"#D",id:"TD-Tools-Copy"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"duplicate"}),disabled:!a,onClick:d},C.createElement(WPt,null))),C.createElement(ps,{label:t.formatMessage({id:"rotate"}),id:"TD-Tools-Rotate"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"rotate"}),disabled:!a,onClick:f},C.createElement(DFt,null))),C.createElement(ps,{label:t.formatMessage({id:n?"unlock":"lock"}),kbd:"#L",id:"TD-Tools-Lock"},C.createElement(Ea,{"aria-label":t.formatMessage({id:n?"unlock":"lock"}),disabled:!a,onClick:h},n?C.createElement(dFt,null):C.createElement(pFt,null))),C.createElement(ps,{label:t.formatMessage({id:r?"unlock.aspect.ratio":"lock.aspect.ratio"}),id:"TD-Tools-AspectRatio"},C.createElement(Ea,{"aria-label":t.formatMessage({id:r?"unlock.aspect.ratio":"lock.aspect.ratio"}),disabled:!a,onClick:p},r?C.createElement(BPt,null):C.createElement(FPt,null))),C.createElement(ps,{label:t.formatMessage({id:"group"}),kbd:"#G",id:"TD-Tools-Group"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"group"}),disabled:!a||!i&&!o,onClick:g},C.createElement(iFt,null)))),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"move.to.back"}),kbd:"#⇧[",id:"TD-Tools-PinBottom"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.to.back"}),disabled:!a,onClick:b},C.createElement(kFt,null))),C.createElement(ps,{label:t.formatMessage({id:"move.backward"}),kbd:"#[",id:"TD-Tools-ArrowDown"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.backward"}),disabled:!a,onClick:m},C.createElement(DPt,null))),C.createElement(ps,{label:t.formatMessage({id:"move.forward"}),kbd:"#]",id:"TD-Tools-ArrowUp"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.forward"}),disabled:!a,onClick:v},C.createElement(OPt,null))),C.createElement(ps,{label:t.formatMessage({id:"move.to.front"}),kbd:"#⇧]",id:"TD-Tools-PinTop"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.to.front"}),disabled:!a,onClick:w},C.createElement(CFt,null))),C.createElement(ps,{label:t.formatMessage({id:"reset.angle"}),id:"TD-Tools-ResetAngle"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"reset.angle"}),disabled:!a,onClick:k},C.createElement(APt,null)))),C.createElement(Fs,null),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"align.left"}),id:"TD-Tools-AlignLeft"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.left"}),disabled:!u,onClick:D},C.createElement(_We,null))),C.createElement(ps,{label:t.formatMessage({id:"align.center.x"}),id:"TD-Tools-AlignCenterHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.center.x"}),disabled:!u,onClick:I},C.createElement(wWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.right"}),id:"TD-Tools-AlignRight"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.right"}),disabled:!u,onClick:B},C.createElement(CWe,null))),C.createElement(ps,{label:t.formatMessage({id:"stretch.x"}),id:"TD-Tools-StretchHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"stretch.x"}),disabled:!u,onClick:N},C.createElement(TWe,null))),C.createElement(ps,{label:t.formatMessage({id:"distribute.x"}),id:"TD-Tools-SpaceEvenlyHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"distribute.x"}),disabled:!c,onClick:O},C.createElement(SWe,null)))),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"align.top"}),id:"TD-Tools-AlignTop"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.top"}),disabled:!u,onClick:E},C.createElement(EWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.center.y"}),id:"TD-Tools-AlignCenterVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.center.y"}),disabled:!u,onClick:S},C.createElement(kWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.bottom"}),id:"TD-Tools-AlignBottom"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.bottom"}),disabled:!u,onClick:T},C.createElement(bWe,null))),C.createElement(ps,{label:t.formatMessage({id:"stretch.y"}),id:"TD-Tools-StretchVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"stretch.y"}),disabled:!u,onClick:L},C.createElement(DWe,null))),C.createElement(ps,{label:t.formatMessage({id:"distribute.y"}),id:"TD-Tools-SpaceEvenlyVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"distribute.y"}),disabled:!c,onClick:M},C.createElement(AWe,null)))))))}var mI=Hn("div",{position:"relative",display:"flex",width:"100%",background:"none",border:"none",cursor:"pointer",outline:"none",alignItems:"center",justifyContent:"flex-start",padding:0}),v$n=e=>e.appState.isEmptyCanvas&&Object.keys(e.document.pages[e.appState.currentPageId].shapes).length>0,y$n=e=>e.settings.isDebugMode,b$n=e=>e.settings.dockPosition,w$n=C.memo(function(){let e=Xa(),t=e.useStore(v$n),n=e.useStore(b$n),r=e.useStore(y$n),i={bottom:n==="bottom"&&r?120:n==="bottom"?80:r?60:20,left:"50%",transform:"translate(-50%,0)"};return t?C.createElement(k$n,{id:"TD-Tools-Back_to_content",style:mt({},i)},C.createElement(Ic,{onClick:e.zoomToContent},C.createElement(tr,{id:"zoom.to.content"}))):null}),k$n=Hn(Y2,{pointerEvents:"all",width:"fit-content",minWidth:0,position:"fixed",bottom:0});function Pwe(e){let t=e,{size:n=16}=t,r=Rh(t,["size"]);return C.createElement("svg",mt({width:24,height:24},r),C.createElement("circle",{cx:12,cy:12,r:n/2}))}function _$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2.5,strokeLinecap:"round",strokeDasharray:50.26548*.1}))}var C$n=`${50.26548*.025} ${50.26548*.1}`;function E$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2.5,strokeLinecap:"round",strokeDasharray:C$n}))}function x$n(){return C.createElement("svg",{width:"24",height:"24",viewBox:"1 1.5 21 22",fill:"currentColor",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M10.0162 19.2768C10.0162 19.2768 9.90679 19.2517 9.6879 19.2017C9.46275 19.1454 9.12816 19.0422 8.68413 18.8921C8.23384 18.7358 7.81482 18.545 7.42707 18.3199C7.03307 18.101 6.62343 17.7883 6.19816 17.3818C5.77289 16.9753 5.33511 16.3718 4.88482 15.5713C4.43453 14.7645 4.1531 13.8545 4.04053 12.8414C3.92795 11.822 4.04991 10.8464 4.40639 9.91451C4.76286 8.98266 5.39452 8.10084 6.30135 7.26906C7.21444 6.44353 8.29325 5.83377 9.5378 5.43976C10.7823 5.05202 11.833 4.92068 12.6898 5.04576C13.5466 5.16459 14.3878 5.43664 15.2133 5.86191C16.0388 6.28718 16.7768 6.8688 17.4272 7.60678C18.0714 8.34475 18.5404 9.21406 18.8344 10.2147C19.1283 11.2153 19.1721 12.2598 18.9657 13.348C18.7593 14.4299 18.2872 15.4337 17.5492 16.3593C16.8112 17.2849 15.9263 18.0072 14.8944 18.5263C13.8624 19.0391 12.9056 19.3174 12.0238 19.3612C11.142 19.405 10.2101 19.2705 9.22823 18.9578C8.24635 18.6451 7.35828 18.151 6.56402 17.4756C5.77601 16.8002 6.08871 16.8658 7.50212 17.6726C8.90927 18.4731 10.1444 18.8484 11.2076 18.7983C12.2645 18.7545 13.2965 18.4825 14.3034 17.9822C15.3102 17.4819 16.1264 16.8221 16.7518 16.0028C17.3772 15.1835 17.7681 14.3111 17.9244 13.3855C18.0808 12.4599 18.0401 11.5781 17.8025 10.74C17.5586 9.902 17.1739 9.15464 16.6486 8.49797C16.1233 7.8413 15.2289 7.27844 13.9656 6.80939C12.7086 6.34034 11.4203 6.20901 10.1007 6.41539C8.78732 6.61552 7.69599 7.06893 6.82669 7.77564C5.96363 8.48859 5.34761 9.26409 4.97863 10.1021C4.60964 10.9402 4.45329 11.8376 4.50958 12.7945C4.56586 13.7513 4.79101 14.6238 5.18501 15.4118C5.57276 16.1998 5.96363 16.8002 6.35764 17.2129C6.75164 17.6257 7.13313 17.9509 7.50212 18.1886C7.87736 18.4325 8.28074 18.642 8.71227 18.8171C9.15005 18.9922 9.47839 19.111 9.69728 19.1736C9.91617 19.2361 10.0256 19.2705 10.0256 19.2768H10.0162Z",strokeWidth:"2"}))}function S$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2,strokeLinecap:"round"}))}function A$n(e){return C.createElement("svg",mt({width:18,height:18,viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.656a.5.5 0 01.5-.5h9.7a.5.5 0 010 1H2.5a.5.5 0 01-.5-.5z"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.272 3a.578.578 0 00-.578.578v.578h3.311v-.578A.578.578 0 008.428 3H6.272zm3.733 1.156v-.578A1.578 1.578 0 008.428 2H6.272a1.578 1.578 0 00-1.578 1.578v.578H3.578a.5.5 0 00-.5.5V12.2a1.578 1.578 0 001.577 1.578h5.39a1.578 1.578 0 001.577-1.578V4.656a.5.5 0 00-.5-.5h-1.117zm-5.927 1V12.2a.578.578 0 00.577.578h5.39a.578.578 0 00.577-.578V5.156H4.078z"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.272 6.85a.5.5 0 01.5.5v3.233a.5.5 0 11-1 0V7.35a.5.5 0 01.5-.5zM8.428 6.85a.5.5 0 01.5.5v3.233a.5.5 0 11-1 0V7.35a.5.5 0 01.5-.5z"}))}function Fwe(e){var t=e,{flipHorizontal:n}=t,r=Rh(t,["flipHorizontal"]);return C.createElement("svg",mt({width:24,height:24,viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{transform:n?"scale(-1, 1)":"scale(1, 1)"}},r),C.createElement("path",{d:"M10.6707 8.5081C10.6707 10.1923 9.3004 11.5625 7.61631 11.5625H6.5351C6.35593 11.5625 6.21074 11.4173 6.21074 11.2382V11.13C6.21074 10.9508 6.35591 10.8057 6.5351 10.8057H7.61631C8.88313 10.8057 9.91387 9.77492 9.91387 8.5081C9.91387 7.24128 8.88313 6.21054 7.61631 6.21054H5.62155L6.99534 7.58433C7.14289 7.73183 7.14289 7.97195 6.99534 8.11944C6.85216 8.26251 6.60298 8.2623 6.46013 8.11944L4.44045 6.09971C4.36898 6.02824 4.32959 5.93321 4.32959 5.8321C4.32959 5.73106 4.36898 5.63598 4.44045 5.56454L6.46024 3.54472C6.60309 3.40176 6.85248 3.40176 6.99535 3.54472C7.14291 3.69218 7.14291 3.93234 6.99535 4.07979L5.62156 5.45368H7.61631C9.3004 5.45368 10.6707 6.82393 10.6707 8.5081Z"}))}function T$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M12.4239 4.62C13.3572 4.62 14.1572 4.73333 14.8239 4.96C15.4906 5.17333 15.9772 5.43333 16.2839 5.74C16.3639 5.82 16.4039 5.94 16.4039 6.1V8.86H14.0639C13.9172 8.86 13.8439 8.78666 13.8439 8.64V7.26C13.4306 7.12666 12.9572 7.06 12.4239 7.06C11.6506 7.06 11.0639 7.18 10.6639 7.42C10.2639 7.66 10.0639 8.04666 10.0639 8.58V9C10.0639 9.38666 10.1639 9.69333 10.3639 9.92C10.5772 10.1333 11.0306 10.3467 11.7239 10.56L13.6439 11.14C14.4706 11.38 15.1172 11.66 15.5839 11.98C16.0506 12.3 16.3772 12.68 16.5639 13.12C16.7639 13.5467 16.8639 14.0733 16.8639 14.7V15.62C16.8639 16.7933 16.4039 17.7133 15.4839 18.38C14.5639 19.0467 13.2839 19.38 11.6439 19.38C10.6706 19.38 9.79723 19.2867 9.0239 19.1C8.2639 18.9133 7.71056 18.6533 7.3639 18.32C7.3239 18.28 7.29056 18.24 7.2639 18.2C7.25056 18.1467 7.2439 18.06 7.2439 17.94V15.74H7.6239C8.2239 16.1533 8.85056 16.4533 9.5039 16.64C10.1572 16.8267 10.9306 16.92 11.8239 16.92C12.6506 16.92 13.2506 16.7867 13.6239 16.52C14.0106 16.2533 14.2039 15.9333 14.2039 15.56V14.88C14.2039 14.6667 14.1639 14.48 14.0839 14.32C14.0172 14.16 13.8706 14.0133 13.6439 13.88C13.4172 13.7467 13.0572 13.6067 12.5639 13.46L10.6639 12.88C9.7839 12.6133 9.11056 12.3 8.6439 11.94C8.17723 11.58 7.85056 11.18 7.6639 10.74C7.49056 10.3 7.4039 9.83333 7.4039 9.34V8.38C7.4039 7.64666 7.61056 7 8.0239 6.44C8.43723 5.88 9.01723 5.44 9.7639 5.12C10.5239 4.78666 11.4106 4.62 12.4239 4.62Z"}))}function D$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M8.16191 19H5.68191C5.53525 19 5.46191 18.9267 5.46191 18.78V5H8.76191C8.88191 5 8.97525 5.03333 9.04191 5.1C9.10858 5.15333 9.17525 5.27333 9.24191 5.46C9.72191 6.59333 10.1686 7.7 10.5819 8.78C11.0086 9.84667 11.4352 10.98 11.8619 12.18H12.1619C12.6019 10.9667 13.0352 9.79333 13.4619 8.66C13.8886 7.52667 14.3552 6.30667 14.8619 5H18.3219C18.4686 5 18.5419 5.07333 18.5419 5.22V19H16.0619C15.9152 19 15.8419 18.9267 15.8419 18.78V16.26C15.8419 15.5267 15.8486 14.8133 15.8619 14.12C15.8886 13.4267 15.9286 12.6867 15.9819 11.9C16.0486 11.1 16.1419 10.1933 16.2619 9.18H15.9019C15.4352 10.3533 14.9486 11.5667 14.4419 12.82C13.9486 14.06 13.4819 15.2333 13.0419 16.34H11.1019C11.0619 16.34 11.0152 16.3333 10.9619 16.32C10.9219 16.2933 10.8886 16.2467 10.8619 16.18C10.4619 15.18 10.0086 14.06 9.50191 12.82C9.00858 11.58 8.53525 10.3667 8.08191 9.18H7.70191C7.83525 10.18 7.93525 11.0733 8.00191 11.86C8.06858 12.6467 8.10858 13.3933 8.12191 14.1C8.14858 14.8067 8.16191 15.5267 8.16191 16.26V19Z"}))}function I$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M7.68191 19C7.53525 19 7.46191 18.9267 7.46191 18.78V5H10.1219C10.2686 5 10.3419 5.07333 10.3419 5.22V16.56H13.4419V15.02H15.7619C15.9086 15.02 15.9819 15.0933 15.9819 15.24V19H7.68191Z"}))}function R$n(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M1.72838 9.33987L8.84935 2.34732C9.23874 1.96494 9.86279 1.96539 10.2516 2.34831L13.5636 5.60975C13.9655 6.00555 13.9607 6.65526 13.553 7.04507L8.13212 12.2278C7.94604 12.4057 7.69851 12.505 7.44107 12.505L6.06722 12.505L3.83772 12.505C3.5673 12.505 3.30842 12.3954 3.12009 12.2014L1.7114 10.7498C1.32837 10.3551 1.33596 9.72521 1.72838 9.33987Z",stroke:"currentColor"}),C.createElement("line",{x1:"6.01807",y1:"12.5",x2:"10.7959",y2:"12.5",stroke:"currentColor",strokeLinecap:"round"}),C.createElement("line",{x1:"5.50834",y1:"5.74606",x2:"10.1984",y2:"10.4361",stroke:"currentColor"}))}function M$n(){return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},C.createElement("path",{d:"M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z"}))}function O$n(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L11.1464 3.14645C11.3417 2.95118 11.6583 2.95118 11.8536 3.14645C12.0488 3.34171 12.0488 3.65829 11.8536 3.85355L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z"}))}function L$n(){let e=Xa(),t=Jl(),n=C.useCallback(()=>{e.delete()},[e]),r=e.useStore(i=>i.appState.status==="idle"&&i.document.pageStates[i.appState.currentPageId].selectedIds.length>0);return C.createElement(ps,{label:t.formatMessage({id:"delete"}),kbd:"⌫",id:"TD-Delete"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"delete"}),variant:"circle",disabled:!r,onSelect:n},C.createElement(A$n,null)))}var B$n=e=>e.settings.language,P$n=()=>{let e=Xa(),t=e.useStore(B$n),n=C.useCallback(r=>{e.setSetting("language",r)},[e]);return C.createElement(E3,{variant:"menu",overflow:!0,id:"language-menu",side:"left",sideOffset:8},Lhe.map(({locale:r,label:i})=>C.createElement(a0,{key:r,checked:t===r,onCheckedChange:()=>n(r),id:`TD-MenuItem-Language-${r}`},i)),C.createElement(Fs,null),C.createElement("a",{href:"https://github.com/tldraw/tldraw/blob/main/guides/translation.md",target:"_blank",rel:"nofollow"},C.createElement(Yi,{id:"TD-MenuItem-Translation-Link"},C.createElement(tr,{id:"translation.link"}),C.createElement(L0,null,C.createElement(xWe,null)))))};function F$n({onOpenChange:e}){let t=Jl(),n=X2(),r={Tools:[{label:t.formatMessage({id:"select"}),kbd:"1"},{label:t.formatMessage({id:"draw"}),kbd:"2"},{label:t.formatMessage({id:"eraser"}),kbd:"3"},{label:t.formatMessage({id:"rectangle"}),kbd:"4"},{label:t.formatMessage({id:"ellipse"}),kbd:"5"},{label:t.formatMessage({id:"triangle"}),kbd:"6"},{label:t.formatMessage({id:"line"}),kbd:"7"},{label:t.formatMessage({id:"arrow"}),kbd:"8"},{label:t.formatMessage({id:"text"}),kbd:"9"},{label:t.formatMessage({id:"sticky"}),kbd:"0"}],View:[{label:t.formatMessage({id:"zoom.in"}),kbd:"#+"},{label:t.formatMessage({id:"zoom.out"}),kbd:"#-"},{label:`${t.formatMessage({id:"zoom.to"})} 100%`,kbd:"⇧+0"},{label:t.formatMessage({id:"zoom.to.fit"}),kbd:"⇧+1"},{label:t.formatMessage({id:"zoom.to.selection"}),kbd:"⇧+2"},{label:t.formatMessage({id:"preferences.dark.mode"}),kbd:"#⇧D"},{label:t.formatMessage({id:"preferences.focus.mode"}),kbd:"#."},{label:t.formatMessage({id:"preferences.show.grid"}),kbd:"#⇧G"}],Transform:[{label:t.formatMessage({id:"flip.horizontal"}),kbd:"⇧H"},{label:t.formatMessage({id:"flip.vertical"}),kbd:"⇧V"},{label:`${t.formatMessage({id:"lock"})} / ${t.formatMessage({id:"unlock"})}`,kbd:"#⇧L"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"to.front"})}`,kbd:"⇧]"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"forward"})}`,kbd:"]"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"backward"})}`,kbd:"["},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"back"})}`,kbd:"⇧["}],File:[{label:t.formatMessage({id:"new.project"}),kbd:"#N"},{label:t.formatMessage({id:"open"}),kbd:"#O"},{label:t.formatMessage({id:"save"}),kbd:"#S"},{label:t.formatMessage({id:"save.as"}),kbd:"#⇧S"},{label:t.formatMessage({id:"upload.media"}),kbd:"#U"}],Edit:[{label:t.formatMessage({id:"undo"}),kbd:"#Z"},{label:t.formatMessage({id:"redo"}),kbd:"#⇧Z"},{label:t.formatMessage({id:"cut"}),kbd:"#X"},{label:t.formatMessage({id:"copy"}),kbd:"#C"},{label:t.formatMessage({id:"paste"}),kbd:"#V"},{label:t.formatMessage({id:"select.all"}),kbd:"#A"},{label:t.formatMessage({id:"delete"}),kbd:"⌫"},{label:t.formatMessage({id:"duplicate"}),kbd:"#D"}]};return C.createElement(hGe,{onOpenChange:e},C.createElement(pGe,{asChild:!0},C.createElement(Ic,{id:"TD-HelpItem-Keyboard",variant:"wide"},C.createElement(tr,{id:"keyboard.shortcuts"}))),C.createElement(gGe,{container:n.current},C.createElement(H$n,null),C.createElement(U$n,null,C.createElement(W$n,null,C.createElement(tr,{id:"keyboard.shortcuts"}),C.createElement(Ehe,{asChild:!0},C.createElement(q$n,null,C.createElement(VPt,null)))),C.createElement(j$n,{bp:sh},Object.entries(r).map(([i,a])=>C.createElement(Boe,{key:i},C.createElement(N$n,null,C.createElement(tr,{id:`menu.${i.toLocaleLowerCase()}`})),C.createElement($$n,null,a.map(o=>C.createElement(z$n,{key:o.label},o.label,C.createElement(Ohe,{variant:"menu"},o.kbd))))))))))}var N$n=Hn("h3",{fontSize:"$2",color:"$text",fontFamily:"$ui",margin:0,paddingBottom:"$5"}),Boe=Hn("div",{breakInside:"avoid",paddingBottom:24}),$$n=Hn("ul",{listStyleType:"none",width:"100%",padding:0,margin:0}),z$n=Hn("li",{display:"flex",alignItems:"center",justifyContent:"space-between",height:32,minHeight:32,width:"100%",outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,padding:"0 0"}),U$n=Hn(vGe,{borderRadius:6,boxShadow:"hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"fit-content",maxWidth:"90vw",maxHeight:"74vh",overflowY:"auto",padding:25,zIndex:9999,pointerEvents:"all",background:"$panel","&:focus":{outline:"none"}}),j$n=Hn("div",{maxWidth:"100%",width:"fit-content",height:"fit-content",overflowY:"auto",columnGap:64,variants:{bp:{mobile:{columns:1,[`& ${Boe}`]:{minWidth:"0px"}},small:{columns:2,[`& ${Boe}`]:{minWidth:"200px"}},medium:{columns:3},large:{columns:3}}}}),H$n=Hn(mGe,{backgroundColor:"$overlay",position:"fixed",inset:0,zIndex:9998}),q$n=Hn(Fhe,{fontFamily:"inherit",borderRadius:"100%",height:25,width:25,display:"inline-flex",alignItems:"center",justifyContent:"center",color:"$text",cursor:"pointer","&:hover":{backgroundColor:"$hover"}}),W$n=Hn(eUt,{fontFamily:"$body",fontSize:"$3",color:"$text",paddingBottom:32,display:"flex",alignItems:"center",justifyContent:"space-between",margin:0}),G$n=e=>e.settings.isDebugMode,V$n=e=>e.settings.dockPosition;function K$n(){let e=Xa(),t=e.useStore(G$n),n=e.useStore(V$n),[r,i]=C.useState(!1);return C.createElement(HUt,null,C.createElement(ezn,{dir:"ltr",debug:t,side:n,bp:sh},C.createElement(WUt,{dir:"ltr",asChild:!0},C.createElement(Z$n,null,C.createElement(AFt,null)))),C.createElement(GUt,{dir:"ltr",align:"end",side:"top",alignOffset:10,sideOffset:8,asChild:!0},C.createElement(Q$n,{style:{visibility:r?"hidden":"visible"}},C.createElement(Y$n,null),C.createElement(F$n,{onOpenChange:i}),C.createElement(Fs,null),C.createElement(J$n,null))))}var Y$n=()=>C.createElement(V2,{dir:"ltr"},C.createElement(C3,{asChild:!0},C.createElement(Ic,{variant:"wide",hasArrow:!0},C.createElement(tr,{id:"language"}))),C.createElement(P$n,null)),X$n=[{id:"tldraw-beta",icon:xWe,url:"https://beta.tldraw.com"},{id:"github",icon:nFt,url:"https://github.com/tldraw/tldraw"},{id:"twitter",icon:VFt,url:"https://twitter.com/tldraw"},{id:"discord",icon:M$n,url:"https://discord.gg/SBBEVCA4PG"},{id:"become.a.sponsor",icon:lFt,url:"https://github.com/sponsors/steveruizok"}],J$n=()=>C.createElement(C.Fragment,null,X$n.map(e=>C.createElement("a",{key:e.id,href:e.url,target:"_blank",rel:"nofollow"},C.createElement(Ic,{id:`TD-Link-${e.id}`,variant:"wide"},C.createElement(tr,{id:e.id}),C.createElement(L0,null,C.createElement(e.icon,null)))))),Z$n=Hn("button",{width:32,height:32,borderRadius:"100%",display:"flex",padding:0,justifyContent:"center",alignItems:"center",outline:"none",backgroundColor:"$panel",cursor:"pointer",boxShadow:"$panel",border:"1px solid $panelContrast",color:"$text","& svg":{height:12,width:12}}),Q$n=Hn(Y2,{width:"fit-content",height:"fit-content",minWidth:200,maxHeight:380,overflowY:"auto","& *":{boxSizing:"border-box"},"& a":{outline:"none"},variants:{variant:{horizontal:{flexDirection:"row"},menu:{minWidth:128}}}}),ezn=Hn(qUt,{position:"absolute",zIndex:999,right:10,bottom:10,width:32,height:32,variants:{debug:{true:{},false:{}},bp:{mobile:{bottom:64},small:{bottom:20},medium:{},large:{}},side:{top:{},left:{},right:{},bottom:{}}},compoundVariants:[{debug:!0,css:{bottom:50}},{bp:"mobile",side:"bottom",debug:!0,css:{bottom:104}},{bp:"small",side:"bottom",debug:!0,css:{bottom:60}},{bp:"small",side:"bottom",debug:!0,css:{bottom:60}}]}),fB=Hn("div",{backgroundColor:"$panel",display:"flex",alignItems:"center",flexDirection:"row",boxShadow:"$panel",padding:"$2",border:"1px solid $panelContrast",gap:0,overflow:"hidden",variants:{side:{center:{borderRadius:9},left:{padding:0,borderTop:0,borderLeft:0,borderTopRightRadius:0,borderBottomRightRadius:9,borderBottomLeftRadius:0},right:{padding:0,borderTop:0,borderRight:0,borderTopLeftRadius:0,borderBottomLeftRadius:9,borderBottomRightRadius:0}}},"& hr":{height:10,width:"100%",backgroundColor:"red",border:"none"}}),iW=["rectangle","ellipse","triangle","line"],Nwe={rectangle:C.createElement(OFt,null),ellipse:C.createElement(jPt,null),triangle:C.createElement(YFt,null),line:C.createElement(O$n,null)},tzn=e=>e.settings.dockPosition,nzn=C.memo(function({activeTool:e,isToolLocked:t}){let n=Xa(),r=Jl(),i=n.useStore(tzn),[a,o]=C.useState("rectangle");C.useEffect(()=>{iW.includes(e)&&a!==e&&o(e)},[e]);let s=C.useCallback(()=>{n.selectTool(a)},[e,n]),l=C.useCallback(()=>{n.toggleToolLock()},[n]),u=C.useCallback(h=>{h.key===" "&&n.shiftKey&&h.preventDefault()},[]),c=iW.includes(e),f=i==="bottom"||i==="top"?"top":i,d=i==="bottom"||i==="top"?"row":"column";return C.createElement(V2,{dir:"ltr",onOpenChange:s},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-PrimaryTools-Shapes"},C.createElement(Ea,{disabled:c&&n.shiftKey,variant:"primary",onDoubleClick:l,isToolLocked:c&&t,isActive:c,onKeyDown:u,"aria-label":r.formatMessage({id:"shapes"})},Nwe[a])),C.createElement(FWe,{asChild:!0,side:f,sideOffset:12},C.createElement(fB,{side:"center",style:{flexDirection:d}},iW.map((h,p)=>C.createElement(ps,{key:h,label:r.formatMessage({id:h}),kbd:(4+p).toString(),id:`TD-PrimaryTools-Shapes-${h}`},C.createElement(C$,{asChild:!0},C.createElement(Ea,{"aria-label":r.formatMessage({id:h}),variant:"primary",onClick:()=>{n.selectTool(h),o(h)}},Nwe[h])))))))}),rzn=e=>e.appState.activeTool,izn=e=>e.appState.isToolLocked,azn=e=>e.settings.dockPosition,ozn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(rzn),r=e.useStore(izn),i=e.useStore(azn),a=C.useCallback(()=>{e.selectTool("select")},[e]),o=C.useCallback(()=>{e.selectTool("erase")},[e]),s=C.useCallback(()=>{e.selectTool("draw")},[e]),l=C.useCallback(()=>{e.selectTool("arrow")},[e]),u=C.useCallback(()=>{e.selectTool("text")},[e]),c=C.useCallback(()=>{e.selectTool("sticky")},[e]),f=C.useCallback(()=>ai(this,null,function*(){e.openAsset()}),[e]);return C.createElement(szn,{side:"center",id:"TD-PrimaryTools",style:{flexDirection:i==="bottom"||i==="top"?"row":"column"},bp:sh},C.createElement(cg,{kbd:"1",label:t.formatMessage({id:"select"}),onClick:a,isActive:n==="select",variant:"primary",id:"TD-PrimaryTools-CursorArrow"},C.createElement(YPt,null)),C.createElement(cg,{kbd:"2",label:t.formatMessage({id:"draw"}),onClick:s,isActive:n==="draw",variant:"primary",id:"TD-PrimaryTools-Pencil"},C.createElement(ghe,null)),C.createElement(cg,{kbd:"3",label:t.formatMessage({id:"eraser"}),onClick:o,isActive:n==="erase",variant:"primary",id:"TD-PrimaryTools-Eraser"},C.createElement(R$n,null)),C.createElement(nzn,{activeTool:n,isToolLocked:r}),C.createElement(cg,{kbd:"8",label:t.formatMessage({id:"arrow"}),onClick:l,isLocked:r,variant:"primary",isActive:n==="arrow",id:"TD-PrimaryTools-ArrowTopRight"},C.createElement(RPt,null)),C.createElement(cg,{kbd:"9",label:t.formatMessage({id:"text"}),onClick:u,isLocked:r,variant:"primary",isActive:n==="text",id:"TD-PrimaryTools-Text"},C.createElement(FFt,null)),C.createElement(cg,{kbd:"0",label:t.formatMessage({id:"sticky"}),onClick:c,isActive:n==="sticky",variant:"primary",id:"TD-PrimaryTools-Pencil2"},C.createElement(bFt,null)),C.createElement(cg,{label:t.formatMessage({id:"image"}),onClick:f,id:"TD-PrimaryTools-Image",variant:"primary"},C.createElement(cFt,null)))}),szn=Hn(fB,{variants:{bp:{mobile:{padding:"$0",borderRadius:"10px"},small:{padding:"$2"}}}}),lzn=e=>e.appState.status,uzn=e=>e.appState.activeTool;function czn(){let e=Xa(),t=e.useStore(lzn),n=e.useStore(uzn);return C.createElement(fzn,{bp:sh,id:"TD-StatusBar"},C.createElement(dzn,null,n," | ",t))}var fzn=Hn("div",{height:40,userSelect:"none",WebkitUserSelect:"none",borderTop:"1px solid $panelContrast",gridArea:"status",display:"flex",color:"$text",justifyContent:"space-between",alignItems:"center",backgroundColor:"$panel",gap:8,fontFamily:"$ui",fontSize:"$0",padding:"0 16px",variants:{bp:{small:{fontSize:"$1"}}}}),dzn=Hn("div",{whiteSpace:"nowrap",overflow:"hidden"}),hzn=e=>e.settings.isDebugMode,pzn=e=>e.settings.dockPosition,gzn=C.memo(function({onBlur:e}){let t=Xa(),n=t.useStore(pzn),r=t.useStore(hzn);return C.createElement(C.Fragment,null,C.createElement(mzn,{side:n,onBlur:e,bp:sh,debug:r},C.createElement(vzn,{id:"TD-Tools"},C.createElement(w$n,null),C.createElement(bzn,{orientation:n==="bottom"||n==="top"?"horizontal":"vertical"},C.createElement(m$n,null),C.createElement(ozn,null),C.createElement(L$n,null)))),C.createElement(K$n,null),r&&C.createElement(yzn,null,C.createElement(czn,null)))}),mzn=Hn("div",{position:"absolute",width:"100%",minWidth:0,maxWidth:"100%",height:64,gap:"$4",display:"flex",justifyContent:"center",alignItems:"center",zIndex:200,overflow:"hidden",pointerEvents:"none","& > div > *":{pointerEvents:"all"},variants:{debug:{true:{},false:{}},bp:{mobile:{},small:{},medium:{},large:{}},side:{top:{width:"100%",height:64,left:0,right:0,top:45},right:{width:64,height:"100%",top:0,right:0},bottom:{width:"100%",left:0,right:0,bottom:4},left:{width:64,height:"100%",left:0}}},compoundVariants:[{side:"top",bp:"large",css:{top:0}},{side:"bottom",debug:!0,css:{bottom:44}}]}),vzn=Hn("div",{display:"flex",width:"fit-content",height:"fit-content",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"$4"}),yzn=Hn("div",{position:"absolute",bottom:"0px",left:"0px",right:"0px",height:"40px",width:"100%",maxWidth:"100%"}),bzn=Hn("div",{position:"relative",display:"flex",alignItems:"center",height:"fit-content",gap:"$3",variants:{orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}}}),wzn=e=>e.settings,kzn=["bottom","left","right","top"];function _zn(){let e=Xa(),t=Jl(),n=e.useStore(wzn),r=C.useCallback(()=>{e.setSetting("isDebugMode",f=>!f)},[e]),i=C.useCallback(()=>{e.setSetting("isDarkMode",f=>!f)},[e]),a=C.useCallback(()=>{e.setSetting("isFocusMode",f=>!f)},[e]),o=C.useCallback(()=>{e.setSetting("showGrid",f=>!f)},[e]),s=C.useCallback(()=>{e.setSetting("keepStyleMenuOpen",f=>!f)},[e]),l=C.useCallback(()=>{e.setSetting("isCadSelectMode",f=>!f)},[e]),u=C.useCallback(f=>{e.setSetting("dockPosition",f)},[e]),c=C.useCallback(f=>{e.setSetting("exportBackground",f)},[e]);return C.createElement(kv,{label:t.formatMessage({id:"menu.preferences"}),id:"TD-MenuItem-Preferences"},C.createElement(a0,{checked:n.isDarkMode,onCheckedChange:i,kbd:"#⇧D",id:"TD-MenuItem-Preferences-Dark_Mode",ariaLabel:t.formatMessage({id:"preferences.dark.mode"})},C.createElement(tr,{id:"preferences.dark.mode"})),C.createElement(a0,{checked:n.isFocusMode,onCheckedChange:a,kbd:"#.",id:"TD-MenuItem-Preferences-Focus_Mode",ariaLabel:t.formatMessage({id:"preferences.focus.mode"})},C.createElement(tr,{id:"preferences.focus.mode"})),C.createElement(a0,{checked:n.isDebugMode,onCheckedChange:r,id:"TD-MenuItem-Preferences-Debug_Mode",ariaLabel:t.formatMessage({id:"preferences.debug.mode"})},C.createElement(tr,{id:"preferences.debug.mode"})),C.createElement(Fs,null),C.createElement(a0,{checked:n.showGrid,onCheckedChange:o,kbd:"#⇧G",id:"TD-MenuItem-Preferences-Grid",ariaLabel:t.formatMessage({id:"preferences.show.grid"})},C.createElement(tr,{id:"preferences.show.grid"})),C.createElement(a0,{checked:n.isCadSelectMode,onCheckedChange:l,id:"TD-MenuItem-Preferences-Cad_Selection",ariaLabel:t.formatMessage({id:"preferences.use.cad.selection"})},C.createElement(tr,{id:"preferences.use.cad.selection"})),C.createElement(a0,{checked:n.keepStyleMenuOpen,onCheckedChange:s,id:"TD-MenuItem-Preferences-Style_menu",ariaLabel:t.formatMessage({id:"preferences.keep.stylemenu.open"})},C.createElement(tr,{id:"preferences.keep.stylemenu.open"})),C.createElement(kv,{label:t.formatMessage({id:"dock.position"})},kzn.map(f=>C.createElement(a0,{key:f,checked:n.dockPosition===f,onCheckedChange:()=>u(f),id:`TD-MenuItem-DockPosition-${f}`,ariaLabel:`DockPosition-${f}`},C.createElement($we,null,C.createElement(tr,{id:f}))))),C.createElement(kv,{label:t.formatMessage({id:"export.background"})},Object.values(VGe).map(f=>C.createElement(a0,{key:f,checked:n.exportBackground===f,onCheckedChange:()=>c(f),id:`TD-MenuItem-ExportBackground-${f}`,ariaLabel:`ExportBackground-${f}`},C.createElement($we,null,C.createElement(tr,{id:f}))))))}var $we=Hn("span",{textTransform:"capitalize"}),Czn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,Ezn=e=>e.appState.disableAssets,xzn=C.memo(function({readOnly:e}){let t=Xa(),n=Jl(),[r,i]=C.useState(!1),a=t.useStore(Czn),o=t.useStore(Ezn),[s,l]=C.useState(0);C.useEffect(()=>l(1),[]);let{onNewProject:u,onOpenProject:c,onSaveProject:f,onSaveProjectAs:d}=jGe(),h=C.useCallback(()=>{iE?t.saveProjectAs():i(!0)},[t]),p=C.useCallback(()=>{t.delete()},[t]),g=C.useCallback(()=>{t.copyImage("svg",{scale:1,quality:1,transparentBackground:!1})},[t]),b=C.useCallback(()=>{t.copyImage("png",{scale:2,quality:1,transparentBackground:!0})},[t]),m=C.useCallback(()=>ai(this,null,function*(){t.exportImage("png",{scale:2,quality:1})}),[t]),v=C.useCallback(()=>ai(this,null,function*(){t.exportImage("jpeg",{scale:2,quality:1})}),[t]),w=C.useCallback(()=>ai(this,null,function*(){t.exportImage("webp",{scale:2,quality:1})}),[t]),k=C.useCallback(()=>ai(this,null,function*(){t.exportImage("svg",{scale:2,quality:1})}),[t]),E=C.useCallback(()=>ai(this,null,function*(){t.copyJson()}),[t]),S=C.useCallback(()=>ai(this,null,function*(){t.exportJson()}),[t]),T=C.useCallback(()=>{t.cut()},[t]),L=C.useCallback(()=>{t.copy()},[t]),M=C.useCallback(()=>{t.paste()},[t]),D=C.useCallback(()=>{t.selectAll()},[t]),I=C.useCallback(()=>{t.selectNone()},[t]),B=C.useCallback(()=>{t.openAsset()},[t]),N=C.useCallback(()=>{t.zoomTo(1)},[t]),O=t.callbacks.onNewProject||t.callbacks.onOpenProject||t.callbacks.onSaveProject||t.callbacks.onSaveProjectAs||t.callbacks.onExport,R=a>0;return C.createElement(C.Fragment,null,C.createElement(V2,{dir:"ltr"},C.createElement(QGe,{id:"TD-MenuIcon"},C.createElement(oFt,null)),C.createElement(E3,{variant:"menu",id:"TD-Menu",side:"bottom",align:"start",sideOffset:4,alignOffset:4},O&&C.createElement(kv,{label:`${n.formatMessage({id:"menu.file"})}...`,id:"TD-MenuItem-File"},t.callbacks.onNewProject&&C.createElement(Yi,{onClick:u,kbd:"#N",id:"TD-MenuItem-File-New_Project"},C.createElement(tr,{id:"new.project"})),t.callbacks.onOpenProject&&C.createElement(Yi,{onClick:c,kbd:"#O",id:"TD-MenuItem-File-Open"},C.createElement(tr,{id:"open"}),"..."),t.callbacks.onSaveProject&&C.createElement(Yi,{onClick:f,kbd:"#S",id:"TD-MenuItem-File-Save"},C.createElement(tr,{id:"save"})),t.callbacks.onSaveProjectAs&&C.createElement(Yi,{onClick:h,kbd:"#⇧S",id:"TD-MenuItem-File-Save_As"},C.createElement(tr,{id:"save.as"}),"..."),C.createElement(kv,{label:`${n.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-MenuItem-Export"},C.createElement(Yi,{onClick:k,id:"TD-MenuItem-Export-SVG"},"SVG"),C.createElement(Yi,{onClick:m,id:"TD-MenuItem-Export-PNG"},"PNG"),C.createElement(Yi,{onClick:v,id:"TD-MenuItem-Export-JPG"},"JPG"),C.createElement(Yi,{onClick:w,id:"TD-MenuItem-Export-WEBP"},"WEBP"),C.createElement(Yi,{onClick:S,id:"TD-MenuItem-Export-JSON"},"JSON")),!o&&C.createElement(C.Fragment,null,C.createElement(Fs,null),C.createElement(Yi,{onClick:B,kbd:"#U",id:"TD-MenuItem-File-Upload_Media"},C.createElement(tr,{id:"upload.media"})))),C.createElement(kv,{label:`${n.formatMessage({id:"menu.edit"})}...`,id:"TD-MenuItem-Edit"},C.createElement(Yi,{onSelect:ms,onClick:t.undo,disabled:e,kbd:"#Z",id:"TD-MenuItem-Edit-Undo"},C.createElement(tr,{id:"undo"})),C.createElement(Yi,{onSelect:ms,onClick:t.redo,disabled:e,kbd:"#⇧Z",id:"TD-MenuItem-Edit-Redo"},C.createElement(tr,{id:"redo"})),C.createElement(Fs,null),C.createElement(Yi,{onSelect:ms,disabled:!R||e,onClick:T,kbd:"#X",id:"TD-MenuItem-Edit-Cut"},C.createElement(tr,{id:"cut"})),C.createElement(Yi,{onSelect:ms,disabled:!R,onClick:L,kbd:"#C",id:"TD-MenuItem-Edit-Copy"},C.createElement(tr,{id:"copy"})),C.createElement(Yi,{onSelect:ms,onClick:M,kbd:"#V",id:"TD-MenuItem-Edit-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Fs,null),C.createElement(kv,{label:`${n.formatMessage({id:"copy.as"})}...`,size:"small",id:"TD-MenuItem-Copy-As"},C.createElement(Yi,{onClick:g,id:"TD-MenuItem-Copy-as-SVG"},"SVG"),C.createElement(Yi,{onClick:b,id:"TD-MenuItem-Copy-As-PNG"},"PNG"),C.createElement(Yi,{onClick:E,id:"TD-MenuItem-Copy_as_JSON"},"JSON")),C.createElement(Fs,null),C.createElement(Yi,{onSelect:ms,onClick:D,kbd:"#A",id:"TD-MenuItem-Select_All"},C.createElement(tr,{id:"select.all"})),C.createElement(Yi,{onSelect:ms,disabled:!R,onClick:I,id:"TD-MenuItem-Select_None"},C.createElement(tr,{id:"select.none"})),C.createElement(Fs,null),C.createElement(Yi,{onSelect:p,disabled:!R,kbd:"⌫",id:"TD-MenuItem-Delete"},C.createElement(tr,{id:"delete"}))),C.createElement(kv,{label:n.formatMessage({id:"menu.view"}),id:"TD-MenuItem-Edit"},C.createElement(Yi,{onSelect:ms,onClick:t.zoomIn,kbd:"#+",id:"TD-MenuItem-View-ZoomIn"},C.createElement(tr,{id:"zoom.in"})),C.createElement(Yi,{onSelect:ms,onClick:t.zoomOut,kbd:"#-",id:"TD-MenuItem-View-ZoomOut"},C.createElement(tr,{id:"zoom.out"})),C.createElement(Yi,{onSelect:ms,onClick:N,kbd:"⇧+0",id:"TD-MenuItem-View-ZoomTo100"},C.createElement(tr,{id:"zoom.to"})," 100%"),C.createElement(Yi,{onSelect:ms,onClick:t.zoomToFit,kbd:"⇧+1",id:"TD-MenuItem-View-ZoomToFit"},C.createElement(tr,{id:"zoom.to.fit"})),C.createElement(Yi,{onSelect:ms,onClick:t.zoomToSelection,kbd:"⇧+2",id:"TD-MenuItem-View-ZoomToSelection"},C.createElement(tr,{id:"zoom.to.selection"}))),C.createElement(Fs,null),C.createElement(_zn,null))),C.createElement(r$n,{isOpen:r,onClose:()=>i(!1)}))});function Szn(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"},C.createElement("path",{d:"M1.36482 4.71089C1.36482 3.21371 2.57853 2 4.07572 2C5.5729 2 6.78661 3.21371 6.78661 4.71089C6.78661 5.76842 6.18106 6.68452 5.29779 7.13136C5.80465 7.24611 6.26407 7.44186 6.66028 7.73182C7.18674 8.11711 7.57215 8.64722 7.81073 9.30983C7.81452 9.30606 7.81832 9.3023 7.82212 9.29855C8.30448 8.82317 8.91325 8.52463 9.60905 8.37275C8.68812 7.922 8.05394 6.97569 8.05394 5.88126C8.05394 4.35017 9.29513 3.10898 10.8262 3.10898C12.3573 3.10898 13.5985 4.35017 13.5985 5.88126C13.5985 6.97561 12.9644 7.92186 12.0436 8.37265C12.7396 8.52449 13.3486 8.82306 13.831 9.29854C14.5795 10.0361 14.9481 11.1249 14.9481 12.5176C14.9481 12.7799 14.7354 12.9926 14.473 12.9926C14.2107 12.9926 13.9981 12.7799 13.9981 12.5175C13.9981 11.2848 13.6738 10.4774 13.1642 9.97518C12.6532 9.4716 11.8802 9.20024 10.8266 9.20024C9.77294 9.20024 8.99993 9.4716 8.48896 9.97518C7.97939 10.4774 7.65513 11.2848 7.65513 12.5176C7.65513 12.7799 7.44247 12.9926 7.18013 12.9926C6.9178 12.9926 6.70513 12.7799 6.70513 12.5176C6.70513 11.6734 6.84053 10.941 7.11384 10.3307C7.0922 10.2895 7.0763 10.2444 7.06737 10.1962C6.91739 9.38749 6.57392 8.84586 6.09923 8.49845C5.61626 8.14499 4.94481 7.95427 4.07574 7.95427C3.05232 7.95427 2.30368 8.21784 1.80952 8.70485C1.31675 9.19047 1.00176 9.97257 1.00176 11.1702C1.00176 11.4326 0.789093 11.6452 0.526758 11.6452C0.264423 11.6452 0.0517578 11.4326 0.0517578 11.1702C0.0517578 9.81263 0.411052 8.74925 1.14268 8.02821C1.60624 7.57137 2.18892 7.28191 2.85378 7.13142C1.97043 6.68461 1.36482 5.76848 1.36482 4.71089ZM4.07572 2.95C3.1032 2.95 2.31482 3.73838 2.31482 4.71089C2.31482 5.68341 3.1032 6.47178 4.07572 6.47178C5.04823 6.47178 5.83661 5.68341 5.83661 4.71089C5.83661 3.73838 5.04823 2.95 4.07572 2.95ZM10.8262 4.05898C9.8198 4.05898 9.00394 4.87484 9.00394 5.88126C9.00394 6.88768 9.8198 7.70355 10.8262 7.70355C11.8326 7.70355 12.6485 6.88768 12.6485 5.88126C12.6485 4.87484 11.8326 4.05898 10.8262 4.05898Z"}))}var R4="-0.03em",Nhe=[.5,.5],Poe=".tldr",M$={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e*e:-1+(4-2*e)*e,easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1- --e*e*e*e,easeInOutQuart:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1+--e*e*e*e*e,easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e<=0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e>=1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e<=0?0:e>=1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},zwe=["#EC5E41","#F2555A","#F04F88","#E34BA9","#BD54C6","#9D5BD2","#7B66DC","#02B1CC","#11B3A3","#39B178","#55B467","#FF802B"],Azn=typeof Window>"u"?!1:/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Tzn=typeof Window>"u"?!1:/linux/i.test(navigator.userAgent),eVe=[".png",".svg",".jpg",".jpeg",".gif"],tVe=Azn?[]:[".mp4",".webm"];function Jf(e){if(e===null)return e;if(e instanceof Date)return new Date(e.getTime());if(typeof e=="object")if(typeof e[Symbol.iterator]=="function"){let t=[];if(e.length>0)for(let n of e)t.push(Jf(n));return t}else{let t=Object.keys(e),n={};if(t.length>0)for(let r of t)n[r]=Jf(e[r]);return n}return e}function aE(e,t){let n=bt.getFromCache(t,e,()=>{let[r,i]=e.size;return{minX:0,maxX:r,minY:0,maxY:i,width:r,height:i}});return bt.translateBounds(n,e.point)}var Dzn={start:"left",middle:"center",end:"right",justify:"justify"};function Izn(e="start"){return Dzn[e]}var iv;function Rzn(){var e;(e=document.getElementById("__textLabelMeasure"))==null||e.remove();let t=document.createElement("pre");return t.id="__textLabelMeasure",Object.assign(t.style,{whiteSpace:"pre",width:"auto",border:"1px solid transparent",padding:"4px",margin:"0px",letterSpacing:R4,opacity:"0",position:"absolute",top:"-500px",left:"0px",zIndex:"9999",pointerEvents:"none",userSelect:"none","-webkit-user-select":"none",alignmentBaseline:"mathematical",dominantBaseline:"mathematical"}),t.tabIndex=-1,document.body.appendChild(t),t}typeof window<"u"&&(iv=Rzn());var Foe="",Uwe="",aW=[0,0];function Mzn(){Foe=""}function FS(e,t){if(!e)return[16,32];if(!iv)return[10,10];if(iv.parent||document.body.appendChild(iv),e===Foe&&t===Uwe)return aW;Foe=e,Uwe=t,iv.textContent=e,iv.style.font=t;let n=iv.offsetWidth||1,r=iv.offsetHeight||1;return aW=[n,r],aW}var Ozn=new RegExp(`${[32,160,4961,65792,65793,4153,4241].map(e=>String.fromCodePoint(e)).join("|")}`);function O$(e,t,n,r,i,a=!1){let o="normal",s=R4,l=Lzn({text:e,wrap:a,width:i,fontSize:t,fontWeight:o,fontFamily:n,fontStyle:"normal",textAlign:"left",letterSpacing:R4,lineHeight:1}),u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("font-size",t+"px"),u.setAttribute("font-family",n),u.setAttribute("font-weight",o),u.setAttribute("line-height",1*t+"px"),u.setAttribute("letter-spacing",s),u.setAttribute("text-align",r??"left"),u.setAttribute("dominant-baseline","mathematical"),u.setAttribute("alignment-baseline","mathematical");let c=l.map((f,d)=>{let h=document.createElementNS("http://www.w3.org/2000/svg","tspan");return h.textContent=f+` -`,h.setAttribute("y",1*t*(d+.5)+"px"),u.appendChild(h),h});switch(r){case"middle":{u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),c.forEach(f=>f.setAttribute("x",i/2+""));break}case"end":{u.setAttribute("text-align","right"),u.setAttribute("text-anchor","end"),c.forEach(f=>f.setAttribute("x",-4+i+""));break}default:u.setAttribute("text-align","left"),u.setAttribute("text-anchor","start"),c.forEach(f=>f.setAttribute("x","4"))}return u}function Lzn(e){let t=document.createElement("div");t.style.setProperty("position","absolute"),t.style.setProperty("top","-9999px"),t.style.setProperty("left","-9999px"),t.style.setProperty("width",e.width+"px"),t.style.setProperty("height","min-content"),t.style.setProperty("font-size",e.fontSize+"px"),t.style.setProperty("font-family",e.fontFamily),t.style.setProperty("font-weight",e.fontWeight),t.style.setProperty("line-height",e.lineHeight*e.fontSize+"px"),t.style.setProperty("letter-spacing",e.letterSpacing),t.style.setProperty("text-align",e.textAlign),document.body.appendChild(t);let n=e.text.split(Ozn).flatMap(o=>o.replace(` + 0px 0px 16px -12px rgba(0, 0, 0, 0.2)`}}),Fs=Hn("hr",{height:0,paddingTop:1,width:"calc(100%+8px)",backgroundColor:"$hover",border:"none",margin:"$2 -4px"}),Y2=Hn("div",{position:"relative",overflow:"hidden",userSelect:"none",WebkitUserSelect:"none",display:"flex",flexDirection:"column",zIndex:99997,minWidth:180,pointerEvents:"all",backgroundColor:"$panel",border:"1px solid $panelContrast",boxShadow:"$panel",padding:"$2 $2",borderRadius:"$3",font:"$ui",maxHeight:"100vh",overflowY:"auto",overflowX:"hidden","&::webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none",scrollbarWidth:"none",variants:{size:{small:{minWidth:72}},overflow:{true:{maxHeight:"60vh"}}}}),bjt=()=>bt.isDarwin()?"⌘":"Ctrl";function Ohe({variant:e,children:t}){return C.createElement(wjt,{variant:e},t.split("").map((n,r)=>C.createElement("span",{key:r},n.replace("#",bjt()))))}var wjt=Hn("kbd",{marginLeft:"$3",textShadow:"$2",textAlign:"center",fontSize:"$0",fontFamily:"$ui",color:"$text",background:"none",fontWeight:400,gap:"$1",display:"flex",alignItems:"center","& > span":{padding:"$0",borderRadius:"$0",display:"flex",alignItems:"center",justifyContent:"center"},variants:{variant:{tooltip:{"& > span":{color:"$tooltipContrast",background:"$overlayContrast",boxShadow:"$key",width:"20px",height:"20px"}},menu:{}}}}),L0=Hn("div",{height:"100%",borderRadius:"4px",marginRight:"1px",width:"fit-content",display:"grid",alignItems:"center",justifyContent:"center",outline:"none",border:"none",pointerEvents:"all",cursor:"pointer",color:"currentColor","& svg":{height:16,width:16,strokeWidth:1},"& > *":{gridRow:1,gridColumn:1}}),sh={"@initial":"mobile","@micro":"micro","@sm":"small","@md":"medium","@lg":"large"},Ic=C.forwardRef((e,t)=>{var n=e,{onClick:r,isActive:i=!1,isWarning:a=!1,hasIndicator:o=!1,hasArrow:s=!1,disabled:l=!1,variant:u,kbd:c,children:f}=n,d=Rh(n,["onClick","isActive","isWarning","hasIndicator","hasArrow","disabled","variant","kbd","children"]);return C.createElement(kjt,mt({ref:t,bp:sh,isWarning:a,isActive:i,disabled:l,onClick:r,variant:u},d),C.createElement(zGe,null,f,c?C.createElement(Ohe,{variant:"menu"},c):void 0,o&&C.createElement($We,{dir:"ltr"},C.createElement(L0,null,C.createElement(aB,null))),s&&C.createElement(L0,null,C.createElement(UPt,null))))}),zGe=Hn("div",{height:"100%",width:"100%",backgroundColor:"$panel",borderRadius:"$2",display:"flex",gap:"$1",flexDirection:"row",alignItems:"center",padding:"0 $3",justifyContent:"space-between",border:"1px solid transparent","& svg":{position:"relative",stroke:"$overlay",strokeWidth:1,zIndex:1},[`& > ${L0}`]:{paddingLeft:"$3"}}),kjt=Hn("button",{position:"relative",width:"100%",background:"none",border:"none",cursor:"pointer",height:32,minHeight:32,outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,padding:"0 0","&[data-disabled]":{opacity:.3},"&:disabled":{opacity:.3},[`&:focus:not(:disabled) ${zGe}`]:{backgroundColor:"$hover"},"& a":{textDecoration:"none",color:"$text"},variants:{bp:{mobile:{},small:{}},variant:{styleMenu:{margin:"$1 0 $1 0"},wide:{gridColumn:"1 / span 4"}},size:{icon:{padding:"4px ",width:"auto"}},isWarning:{true:{color:"$warn"}},isActive:{true:{backgroundColor:"$hover"},false:{}}}});function ps({children:e,label:t,kbd:n,id:r,side:i="top"}){return C.createElement("span",{id:r},C.createElement(tzt,null,C.createElement(nzt,null,C.createElement(rzt,{dir:"ltr",asChild:!0},C.createElement("span",null,e)),C.createElement(_jt,{dir:"ltr",side:i,sideOffset:8},t,n?C.createElement(Ohe,{variant:"tooltip"},n):null,C.createElement(Cjt,null)))))}var _jt=Hn(izt,{borderRadius:3,padding:"$3 $3 $3 $3",fontSize:"$1",backgroundColor:"$tooltip",color:"$tooltipContrast",boxShadow:"$3",display:"flex",alignItems:"center",fontFamily:"$ui",userSelect:"none",WebkitUserSelect:"none"}),Cjt=Hn(azt,{fill:"$tooltip",margin:"0 8px"});function UGe(){let e=C.useCallback((a,o)=>ai(this,null,function*(){o(a.fileSystemHandle?"saveFirstTime":"saveAgain",()=>ai(this,null,function*(){try{yield a.saveProject(),a.newProject()}catch{}}),()=>ai(this,null,function*(){a.newProject()}),()=>ai(this,null,function*(){}))}),[]),t=C.useCallback((a,o)=>ai(this,null,function*(){o(a.fileSystemHandle?"saveFirstTime":"saveAgain",()=>ai(this,null,function*(){try{yield a.saveProject(),yield a.openProject()}catch{}}),()=>ai(this,null,function*(){a.openProject()}),()=>ai(this,null,function*(){}))}),[]),n=C.useCallback(a=>{a.saveProject()},[]),r=C.useCallback(a=>{a.saveProjectAs()},[]),i=C.useCallback(a=>ai(this,null,function*(){var o;(o=a.openAsset)==null||o.call(a)}),[]);return{onNewProject:e,onSaveProject:n,onSaveProjectAs:r,onOpenProject:t,onOpenMedia:i}}function jGe(){let e=Xa(),{openDialog:t}=JGe(),n=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onNewProject)==null||u.call(l,e,t)}),[e,t]),r=C.useCallback(s=>{var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onSaveProject)==null||u.call(l,e)},[e]),i=C.useCallback(s=>{var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onSaveProjectAs)==null||u.call(l,e)},[e]),a=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenProject&&s.preventDefault(),(u=(l=e.callbacks).onOpenProject)==null||u.call(l,e,t)}),[e,t]),o=C.useCallback(s=>ai(this,null,function*(){var l,u;s&&e.callbacks.onOpenMedia&&s.preventDefault(),(u=(l=e.callbacks).onOpenMedia)==null||u.call(l,e)}),[e]);return{onNewProject:n,onSaveProject:r,onSaveProjectAs:i,onOpenProject:a,onOpenMedia:o}}var Ejt=class{constructor(){Ce(this,"onPinchStart"),Ce(this,"onPinchEnd"),Ce(this,"onPinch"),Ce(this,"onKeyDown"),Ce(this,"onKeyUp"),Ce(this,"onPointerMove"),Ce(this,"onPointerUp"),Ce(this,"onPan"),Ce(this,"onZoom"),Ce(this,"onPointerDown"),Ce(this,"onPointCanvas"),Ce(this,"onDoubleClickCanvas"),Ce(this,"onRightPointCanvas"),Ce(this,"onDragCanvas"),Ce(this,"onReleaseCanvas"),Ce(this,"onPointShape"),Ce(this,"onDoubleClickShape"),Ce(this,"onRightPointShape"),Ce(this,"onDragShape"),Ce(this,"onHoverShape"),Ce(this,"onUnhoverShape"),Ce(this,"onReleaseShape"),Ce(this,"onPointBounds"),Ce(this,"onDoubleClickBounds"),Ce(this,"onRightPointBounds"),Ce(this,"onDragBounds"),Ce(this,"onHoverBounds"),Ce(this,"onUnhoverBounds"),Ce(this,"onReleaseBounds"),Ce(this,"onPointBoundsHandle"),Ce(this,"onDoubleClickBoundsHandle"),Ce(this,"onRightPointBoundsHandle"),Ce(this,"onDragBoundsHandle"),Ce(this,"onHoverBoundsHandle"),Ce(this,"onUnhoverBoundsHandle"),Ce(this,"onReleaseBoundsHandle"),Ce(this,"onPointHandle"),Ce(this,"onDoubleClickHandle"),Ce(this,"onRightPointHandle"),Ce(this,"onDragHandle"),Ce(this,"onHoverHandle"),Ce(this,"onUnhoverHandle"),Ce(this,"onReleaseHandle"),Ce(this,"onShapeBlur"),Ce(this,"onShapeClone")}},Loe=(e=>(e.Idle="idle",e.Connecting="connecting",e.Connected="connected",e.Disconnected="disconnected",e))(Loe||{}),xjt=(e=>(e.Transform="transform",e.Translate="translate",e.TransformSingle="transformSingle",e.Brush="brush",e.Arrow="arrow",e.Draw="draw",e.Erase="erase",e.Rotate="rotate",e.Handle="handle",e.Grid="grid",e.Edit="edit",e))(xjt||{}),Sjt=(e=>(e.Idle="idle",e.PointingHandle="pointingHandle",e.PointingBounds="pointingBounds",e.PointingBoundsHandle="pointingBoundsHandle",e.TranslatingLabel="translatingLabel",e.TranslatingHandle="translatingHandle",e.Translating="translating",e.Transforming="transforming",e.Rotating="rotating",e.Pinching="pinching",e.Brushing="brushing",e.Creating="creating",e.EditingText="editing-text",e))(Sjt||{}),Ajt=(e=>(e.Backward="backward",e.Forward="forward",e.ToFront="toFront",e.ToBack="toBack",e))(Ajt||{}),Tjt=(e=>(e.Top="top",e.CenterVertical="centerVertical",e.Bottom="bottom",e.Left="left",e.CenterHorizontal="centerHorizontal",e.Right="right",e))(Tjt||{}),Djt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Djt||{}),Ijt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Ijt||{}),Rjt=(e=>(e.Horizontal="horizontal",e.Vertical="vertical",e))(Rjt||{}),Mjt=(e=>(e.Sticky="sticky",e.Ellipse="ellipse",e.Rectangle="rectangle",e.Triangle="triangle",e.Draw="draw",e.Arrow="arrow",e.Line="line",e.Text="text",e.Group="group",e.Image="image",e.Video="video",e))(Mjt||{}),Ojt=(e=>(e.Arrow="arrow",e))(Ojt||{}),Ljt=(e=>(e.White="white",e.LightGray="lightGray",e.Gray="gray",e.Black="black",e.Green="green",e.Cyan="cyan",e.Blue="blue",e.Indigo="indigo",e.Violet="violet",e.Red="red",e.Orange="orange",e.Yellow="yellow",e))(Ljt||{}),HGe=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(HGe||{}),qGe=(e=>(e.Draw="draw",e.Solid="solid",e.Dashed="dashed",e.Dotted="dotted",e))(qGe||{}),Bjt=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e.ExtraLarge="extraLarge",e))(Bjt||{}),WGe=(e=>(e.Start="start",e.Middle="middle",e.End="end",e.Justify="justify",e))(WGe||{}),GGe=(e=>(e.Script="script",e.Sans="sans",e.Serif="serif",e.Mono="mono",e))(GGe||{}),Pjt=(e=>(e.Image="image",e.Video="video",e))(Pjt||{}),Fjt=(e=>(e.PNG="png",e.JPG="jpeg",e.WEBP="webp",e.SVG="svg",e.JSON="json",e))(Fjt||{}),VGe=(e=>(e.Transparent="transparent",e.Auto="auto",e.Light="light",e.Dark="dark",e))(VGe||{});function Njt(e){let t=Xa(),n=C.useCallback((l=!1)=>{let u=e.current;return l&&(t.isMenuOpen||t.settings.keepStyleMenuOpen)?!0:u&&(document.activeElement===u||u.contains(document.activeElement))},[e]);C.useEffect(()=>{if(!t)return;let l=f=>{if(n(!0)){if(t.readOnly){t.copy(void 0,f);return}t.cut(void 0,f)}},u=f=>{!n(!0)||t.copy(void 0,f)},c=f=>{!n(!0)||t.readOnly||t.paste(void 0,f)};return document.addEventListener("cut",l),document.addEventListener("copy",u),document.addEventListener("paste",c),()=>{document.removeEventListener("cut",l),document.removeEventListener("copy",u),document.removeEventListener("paste",c)}},[t]),zr("v,1",()=>{!n(!0)||t.selectTool("select")},[t,e.current]),zr("d,p,2",()=>{!n(!0)||t.selectTool("draw")},void 0,[t]),zr("e,3",()=>{!n(!0)||t.selectTool("erase")},void 0,[t]),zr("r,4",()=>{!n(!0)||t.selectTool("rectangle")},void 0,[t]),zr("o,5",()=>{!n(!0)||t.selectTool("ellipse")},void 0,[t]),zr("g,6",()=>{!n()||t.selectTool("triangle")},void 0,[t]),zr("l,7",()=>{!n(!0)||t.selectTool("line")},void 0,[t]),zr("a,8",()=>{!n(!0)||t.selectTool("arrow")},void 0,[t]),zr("t,9",()=>{!n(!0)||t.selectTool("text")},void 0,[t]),zr("s,0",()=>{!n(!0)||t.selectTool("sticky")},void 0,[t]),zr("ctrl+shift+d,⌘+shift+d",l=>{!n(!0)||(t.toggleDarkMode(),l.preventDefault())},void 0,[t]),zr("ctrl+.,⌘+.",()=>{!n(!0)||t.toggleFocusMode()},void 0,[t]),zr("ctrl+shift+g,⌘+shift+g",()=>{!n(!0)||t.toggleGrid()},void 0,[t]);let{onNewProject:r,onOpenProject:i,onSaveProject:a,onSaveProjectAs:o,onOpenMedia:s}=jGe();zr("ctrl+n,⌘+n",l=>{l.preventDefault(),n()&&r(l)},void 0,[t]),zr("ctrl+s,⌘+s",l=>{!n()||a(l)},void 0,[t]),zr("ctrl+shift+s,⌘+shift+s",l=>{!n()||o(l)},void 0,[t]),zr("ctrl+alt+1,⌘+alt+1",l=>{!n()||t.exportImage("svg",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+2,⌘+alt+2",l=>{!n()||t.exportImage("png",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+3,⌘+alt+3",l=>{!n()||t.exportImage("jpeg",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+4,⌘+alt+4",l=>{!n()||t.exportImage("webp",{scale:2,quality:1})},void 0,[t]),zr("ctrl+alt+5,⌘+alt+5",l=>{!n()||t.exportJson()},void 0,[t]),zr("ctrl+o,⌘+o",l=>{!n()||i(l)},void 0,[t]),zr("ctrl+u,⌘+u",l=>{!n()||s(l)},void 0,[t]),zr("⌘+z,ctrl+z",l=>{l.preventDefault(),n(!0)&&(t.session?t.cancelSession():t.undo())},void 0,[t]),zr("ctrl+shift+z,⌘+shift+z",()=>{!n(!0)||(t.session?t.cancelSession():t.redo())},void 0,[t]),zr("⌘+u,ctrl+u",()=>{!n()||t.undoSelect()},void 0,[t]),zr("ctrl+shift-u,⌘+shift+u",()=>{!n()||t.redoSelect()},void 0,[t]),zr("ctrl+=,⌘+=,ctrl+num_add,⌘+num_add",l=>{!n(!0)||(t.zoomIn(),l.preventDefault())},void 0,[t]),zr("ctrl+-,⌘+-,ctrl+num_subtract,⌘+num_subtract",l=>{!n(!0)||(t.zoomOut(),l.preventDefault())},void 0,[t]),zr("shift+0,ctrl+numpad_0,⌘+numpad_0",()=>{!n(!0)||t.resetZoom()},void 0,[t]),zr("shift+1",()=>{!n(!0)||t.zoomToFit()},void 0,[t]),zr("shift+2",()=>{!n(!0)||t.zoomToSelection()},void 0,[t]),zr("ctrl+d,⌘+d",l=>{!n()||(t.duplicate(),l.preventDefault())},void 0,[t]),zr("shift+h",()=>{!n(!0)||t.flipHorizontal()},void 0,[t]),zr("shift+v",()=>{!n(!0)||t.flipVertical()},void 0,[t]),zr("escape",()=>{!n(!0)||t.cancel()},void 0,[t]),zr("backspace,del",()=>{!n()||t.delete()},void 0,[t]),zr("⌘+a,ctrl+a",()=>{!n(!0)||t.selectAll()},void 0,[t]),zr("up",()=>{!n()||t.nudge([0,-1],!1)},void 0,[t]),zr("right",()=>{!n()||t.nudge([1,0],!1)},void 0,[t]),zr("down",()=>{!n()||t.nudge([0,1],!1)},void 0,[t]),zr("left",()=>{!n()||t.nudge([-1,0],!1)},void 0,[t]),zr("shift+up",()=>{!n()||t.nudge([0,-1],!0)},void 0,[t]),zr("shift+right",()=>{!n()||t.nudge([1,0],!0)},void 0,[t]),zr("shift+down",()=>{!n()||t.nudge([0,1],!0)},void 0,[t]),zr("shift+left",()=>{!n()||t.nudge([-1,0],!0)},void 0,[t]),zr("⌘+shift+l,ctrl+shift+l",()=>{!n()||t.toggleLocked()},void 0,[t]),zr("⌘+shift+c,ctrl+shift+c",l=>{!n()||(t.copySvg(),l.preventDefault())},void 0,[t]),zr("⌘+g,ctrl+g",l=>{!n()||(t.group(),l.preventDefault())},void 0,[t]),zr("⌘+shift+g,ctrl+shift+g",l=>{!n()||(t.ungroup(),l.preventDefault())},void 0,[t]),zr("[",()=>{!n(!0)||t.moveBackward()},void 0,[t]),zr("]",()=>{!n(!0)||t.moveForward()},void 0,[t]),zr("shift+[",()=>{!n(!0)||t.moveToBack()},void 0,[t]),zr("shift+]",()=>{!n(!0)||t.moveToFront()},void 0,[t]),zr("ctrl+shift+backspace,⌘+shift+backspace",l=>{!n()||(t.settings.isDebugMode&&t.resetDocument(),l.preventDefault())},void 0,[t]),zr("alt+command+l,alt+ctrl+l",l=>{!n(!0)||(t.style({textAlign:"start"}),l.preventDefault())},void 0,[t]),zr("alt+command+t,alt+ctrl+t",l=>{!n(!0)||(t.style({textAlign:"middle"}),l.preventDefault())},void 0,[t]),zr("alt+command+r,alt+ctrl+r",l=>{!n(!0)||(t.style({textAlign:"end"}),l.preventDefault())},void 0,[t])}var KGe=C.createContext({}),$jt=()=>{let[e,t]=C.useState(0);C.useEffect(()=>t(1))};function Xa(){return C.useContext(KGe)}var YGe=C.createContext({});function X2(){let e=C.useContext(YGe);return $jt(),e}var zjt="اللون",Ujt="يملأ",jjt="متقطع",Hjt="حجم",qjt="تبقى مفتوحة",Wjt="الخط",Gjt="محاذاة",Vjt="الأنماط",Kjt="تكبير",Yjt="تصغير",Xjt="إلى",Jjt="أدوات",Zjt="التحويلات",Qjt="ملف",eHt="تحرير",tHt="معاينة",nHt="التفضيلات",rHt="تسجيل الدخول",iHt="خروج",aHt="كن راعياً",oHt="العودة إلى المحتوى",sHt="تكبير للتحديد",lHt="تكبير لتناسب",uHt="تكبير إلى",cHt="الوضع الداكن",fHt="وضع التركيز",dHt="وضع التصحيح",hHt="اظهر الشبكة",pHt="استخدام التحديد CAD",gHt="الاحتفاظ بقائمة النمط مفتوحة",mHt="إظهار اللقطات دائمًا",vHt="تدوير المقابض",yHt="مقابض ملزمة",bHt="مقابض استنساخ",wHt="الغاء",kHt="إعادة",_Ht="قطع",CHt="نسح",EHt="لصق",xHt="نسخ الى",SHt="صدر الى",AHt="اختر الكل",THt="لا تختر شيء",DHt="حذف",IHt="مشروع جديد",RHt="فتح",MHt="حفظ",OHt="حفظ باسم",LHt="تحميل الوسائط",BHt="إنشاء صفحة",PHt="صفحة جديدة",FHt="اسم الصفحة",NHt="نسخ",$Ht="الغاء",zHt="نسخ رابط الدعوة",UHt="نسخ رابط دعوة القراءة فقط",jHt="قم بإنشاء مشروع متعدد اللاعبين",HHt="نسخ إلى مشروع متعدد اللاعبين",qHt="اختر",WHt="ممحاة",GHt="رسم",VHt="سهم",KHt="نص",YHt="لاصق",XHt="مربع",JHt="بيضاوي",ZHt="مثلث",QHt="خط",eqt="دوّر",tqt="قفل نسبة الابعاد",nqt="فتح قفل نسبة الابعاد",rqt="جمّع",iqt="فك التجمع",aqt="انتقل إلى الخلف",oqt="تحريك للخلف",sqt="تحريك للأمام",lqt="تحرك للأمام",uqt="إعادة ضبط الزاوية",cqt="قفل",fqt="الغاء القفل",dqt="انقل إلى الصفحة",hqt="انعكاس أفقي",pqt="انعكاس عمودي",gqt="حرّك",mqt="للامام",vqt="للخلف",yqt="للوراء",bqt="خلف",wqt="لغة",kqt="للمزيد",_qt="موقع الادوات",Cqt="اسفل",Eqt="يسار",xqt="يمين",Sqt="أعلى",Aqt="صفحة",Tqt="اختصارات لوحة المفاتيح",Dqt="بحث",Iqt="{dots}تحميل ",Rqt="تصدير الخلفية",Mqt="شـفاف",Oqt="ذاتي",Lqt="خفيف",Bqt="غامق",Pqt="هل تريد حفظ التغييرات على هذا المشروع؟",Fqt="هل تريد حفظ التغييرات على هذا المشروع؟",Nqt="إلغاء",$qt="لا",zqt="نعم",Uqt="أدخل اسم الملف",jqt="صورة",Hqt="صفّ لليسار",qqt="صفّ المحور الأفقي للوسط",Wqt="صفّ لليمين",Gqt="صفّ للأعلى",Vqt="صفّ المحور العمودي للوسط",Kqt="صفّ للأسفل",Yqt="توزيع أفقي",Xqt="توزيع عمودي",Jqt="تمديد أفقي",Zqt="تمديد عمودي",Qqt={"style.menu.color":zjt,"style.menu.fill":Ujt,"style.menu.dash":jjt,"style.menu.size":Hjt,"style.menu.keep.open":qjt,"style.menu.font":Wjt,"style.menu.align":Gjt,styles:Vjt,"zoom.in":Kjt,"zoom.out":Yjt,to:Xjt,"menu.tools":Jjt,"menu.transform":Zjt,"menu.file":Qjt,"menu.edit":eHt,"menu.view":tHt,"menu.preferences":nHt,"menu.sign.in":rHt,"menu.sign.out":iHt,"become.a.sponsor":aHt,"zoom.to.content":oHt,"zoom.to.selection":sHt,"zoom.to.fit":lHt,"zoom.to":uHt,"preferences.dark.mode":cHt,"preferences.focus.mode":fHt,"preferences.debug.mode":dHt,"preferences.show.grid":hHt,"preferences.use.cad.selection":pHt,"preferences.keep.stylemenu.open":gHt,"preferences.always.show.snaps":mHt,"preferences.rotate.handles":vHt,"preferences.binding.handles":yHt,"preferences.clone.handles":bHt,undo:wHt,redo:kHt,cut:_Ht,copy:CHt,paste:EHt,"copy.as":xHt,"export.as":SHt,"select.all":AHt,"select.none":THt,delete:DHt,"new.project":IHt,open:RHt,save:MHt,"save.as":OHt,"upload.media":LHt,"create.page":BHt,"new.page":PHt,"page.name":FHt,duplicate:NHt,cancel:$Ht,"copy.invite.link":zHt,"copy.readonly.link":UHt,"create.multiplayer.project":jHt,"copy.multiplayer.project":HHt,select:qHt,eraser:WHt,draw:GHt,arrow:VHt,text:KHt,sticky:YHt,rectangle:XHt,ellipse:JHt,triangle:ZHt,line:QHt,rotate:eqt,"lock.aspect.ratio":tqt,"unlock.aspect.ratio":nqt,group:rqt,ungroup:iqt,"move.to.back":aqt,"move.backward":oqt,"move.forward":sqt,"move.to.front":lqt,"reset.angle":uqt,lock:cqt,unlock:fqt,"move.to.page":dqt,"flip.horizontal":hqt,"flip.vertical":pqt,move:gqt,"to.front":mqt,forward:vqt,backward:yqt,back:bqt,language:wqt,"translation.link":kqt,"dock.position":_qt,bottom:Cqt,left:Eqt,right:xqt,top:Sqt,page:Aqt,"keyboard.shortcuts":Tqt,search:Dqt,loading:Iqt,"export.background":Rqt,transparent:Mqt,auto:Oqt,light:Lqt,dark:Bqt,"dialog.save.firsttime":Pqt,"dialog.save.again":Fqt,"dialog.cancel":Nqt,"dialog.no":$qt,"dialog.yes":zqt,"enter.file.name":Uqt,image:jqt,"align.left":Hqt,"align.center.x":qqt,"align.right":Wqt,"align.top":Gqt,"align.center.y":Vqt,"align.bottom":Kqt,"distribute.x":Yqt,"distribute.y":Xqt,"stretch.x":Jqt,"stretch.y":Zqt},eWt="Farve",tWt="Fyld",nWt="Streg",rWt="Størrelse",iWt="Hold åben",aWt="Skrifttype",oWt="Juster",sWt="Format",lWt="Zoom ind",uWt="Zoom ud",cWt="til",fWt="Værktøjer",dWt="Transformer",hWt="Fil",pWt="Rediger",gWt="Vis",mWt="Indstillinger",vWt="Log ind",yWt="Log ud",bWt="Bliv sponsor",wWt="Zoom til valgte",kWt="Zoom til lærred",_Wt="Zoom til",CWt="Zoom til indhold",EWt="Mørkt udseende",xWt="Fokus tilstand",SWt="Debug tilstand",AWt="Vis net",TWt="Brug CAD udvælgelse",DWt="Hold formatmenuen åben",IWt="Vis altid snaps",RWt="Roteringshåndtag",MWt="Bindingshåndtag",OWt="Kloningshåndtag",LWt="Fortryd",BWt="Gentag",PWt="Klip",FWt="Kopier",NWt="Indsæt",$Wt="Kopier som",zWt="Eksporter som",UWt="Vælg alt",jWt="Fravælg alt",HWt="Slet",qWt="Nyt projekt",WWt="Åben",GWt="Gem",VWt="Gem som",KWt="Upload medie",YWt="Opret side",XWt="Ny side",JWt="Sidenavn",ZWt="Dupliker",QWt="Fortryd",eGt="Kopier invitationslink",tGt="Opret multiplayer projekt",nGt="Kopier til multiplayer projekt",rGt="Vælg",iGt="Viskelæder",aGt="Tegn",oGt="Pil",sGt="Tekst",lGt="Note",uGt="Rektangel",cGt="Ellipse",fGt="Trekant",dGt="Linje",hGt="Roter",pGt="Lås billedformat",gGt="Frigør billedformat",mGt="Grupper",vGt="Opdel gruppe",yGt="Placer bagerst",bGt="Flyt tilbage",wGt="Flyt frem",kGt="Læg forrest",_Gt="Nulstil vinkel",CGt="Lås",EGt="Lås op",xGt="Flyt til side",SGt="Vend vandret",AGt="Vend lodret",TGt="Flyt",DGt="Forrest",IGt="Frem",RGt="Tilbage",MGt="Bagerst",OGt="Sprog",LGt="Justering nederst",BGt="Vandret justering centreret",PGt="Lodret justering centreret",FGt="Juster / distribuer",NGt="Justering til venstre",$Gt="Justering til højre",zGt="Justering øverst",UGt="Kopier skrivebeskyttet link",jGt="Vil du gemme ændringerne til dit projekt?",HGt="Vil du gemme dit projekt?",qGt="Ja",WGt="Nej",GGt="Fortryd",VGt="Skriv filnavn",KGt="Vandret distribuering",YGt="Lodret distribuering",XGt="Placering af værktøjslinje",JGt="Nederst",ZGt="Venstre",QGt="Højre",eVt="Øverst",tVt="Baggrund ved eksport",nVt="Automatisk",rVt="Lys",iVt="Mørk",aVt="Billede",oVt="Tastaturgenveje",sVt="Indlæser",lVt="Side",uVt="Søg",cVt="Stræk vandret",fVt="Stræk lodret",dVt="Lær mere",hVt="Gennemsigtig",pVt={"style.menu.color":eWt,"style.menu.fill":tWt,"style.menu.dash":nWt,"style.menu.size":rWt,"style.menu.keep.open":iWt,"style.menu.font":aWt,"style.menu.align":oWt,styles:sWt,"zoom.in":lWt,"zoom.out":uWt,to:cWt,"menu.tools":fWt,"menu.transform":dWt,"menu.file":hWt,"menu.edit":pWt,"menu.view":gWt,"menu.preferences":mWt,"menu.sign.in":vWt,"menu.sign.out":yWt,"become.a.sponsor":bWt,"zoom.to.selection":wWt,"zoom.to.fit":kWt,"zoom.to":_Wt,"zoom.to.content":CWt,"preferences.dark.mode":EWt,"preferences.focus.mode":xWt,"preferences.debug.mode":SWt,"preferences.show.grid":AWt,"preferences.use.cad.selection":TWt,"preferences.keep.stylemenu.open":DWt,"preferences.always.show.snaps":IWt,"preferences.rotate.handles":RWt,"preferences.binding.handles":MWt,"preferences.clone.handles":OWt,undo:LWt,redo:BWt,cut:PWt,copy:FWt,paste:NWt,"copy.as":$Wt,"export.as":zWt,"select.all":UWt,"select.none":jWt,delete:HWt,"new.project":qWt,open:WWt,save:GWt,"save.as":VWt,"upload.media":KWt,"create.page":YWt,"new.page":XWt,"page.name":JWt,duplicate:ZWt,cancel:QWt,"copy.invite.link":eGt,"create.multiplayer.project":tGt,"copy.multiplayer.project":nGt,select:rGt,eraser:iGt,draw:aGt,arrow:oGt,text:sGt,sticky:lGt,rectangle:uGt,ellipse:cGt,triangle:fGt,line:dGt,rotate:hGt,"lock.aspect.ratio":pGt,"unlock.aspect.ratio":gGt,group:mGt,ungroup:vGt,"move.to.back":yGt,"move.backward":bGt,"move.forward":wGt,"move.to.front":kGt,"reset.angle":_Gt,lock:CGt,unlock:EGt,"move.to.page":xGt,"flip.horizontal":SGt,"flip.vertical":AGt,move:TGt,"to.front":DGt,forward:IGt,backward:RGt,back:MGt,language:OGt,"align.bottom":LGt,"align.center.x":BGt,"align.center.y":PGt,"align.distribute":FGt,"align.left":NGt,"align.right":$Gt,"align.top":zGt,"copy.readonly.link":UGt,"dialog.save.again":jGt,"dialog.save.firsttime":HGt,"dialog.yes":qGt,"dialog.no":WGt,"dialog.cancel":GGt,"enter.file.name":VGt,"distribute.x":KGt,"distribute.y":YGt,"dock.position":XGt,bottom:JGt,left:ZGt,right:QGt,top:eVt,"export.background":tVt,auto:nVt,light:rVt,dark:iVt,image:aVt,"keyboard.shortcuts":oVt,loading:sVt,page:lVt,search:uVt,"stretch.x":cVt,"stretch.y":fVt,"translation.link":dVt,transparent:hVt},gVt="Farbe",mVt="Füllen",vVt="Strich",yVt="Größe",bVt="Offen halten",wVt="Schriftart",kVt="Ausrichten",_Vt="Stile",CVt="Heranzoomen",EVt="Herauszoomen",xVt="zu",SVt="Werkzeuge",AVt="Transformieren",TVt="Datei",DVt="Bearbeiten",IVt="Ansicht",RVt="Präferenzen",MVt="Einloggen",OVt="Ausloggen",LVt="Sponsor werden",BVt="Zurück zum Inhalt",PVt="Zur Auswahl zoomen",FVt="Zoom anpassen",NVt="Zoomen nach",$Vt="Dunkler Modus",zVt="Fokus Modus",UVt="Debug Modus",jVt="Gitter anzeigen",HVt="CAD Auswahl verwenden",qVt="Stilmenü offen halten",WVt="Hilfslinien immer anzeigen",GVt="Rotiergriffe",VVt="Bindegriffe",KVt="Klongriffe",YVt="Rückgängig machen",XVt="Wiederherstellen",JVt="Ausschneiden",ZVt="Kopieren",QVt="Einfügen",eKt="Kopieren als",tKt="Exportieren als",nKt="Alles auswählen",rKt="Nichts auswählen",iKt="Löschen",aKt="Neues Projekt",oKt="Öffnen",sKt="Speichern",lKt="Speichern als",uKt="Medien hochladen",cKt="Seite erstellen",fKt="Neue Seite",dKt="Seitenname",hKt="Duplizieren",pKt="Form Optionen",gKt="Fromen",mKt="Abbrechen",vKt="Einladungslink kopieren",yKt="Schreibgeschützten Link kopieren",bKt="Geteiltes Projekt erstellen",wKt="In ein Geteiltes Projekt kopieren",kKt="Auswählen",_Kt="Radierer",CKt="Malen",EKt="Pfeil",xKt="Text",SKt="Notiz",AKt="Rechteck",TKt="Ellipse",DKt="Dreieck",IKt="Linie",RKt="Drehen",MKt="Seitenverhältnis sperren",OKt="Seitenverhältnis entsperren",LKt="Gruppieren",BKt="Gruppierung aufheben",PKt="Nach Hinten verschieben",FKt="Rückwärts schieben",NKt="Vorwärts schieben",$Kt="Nach Vorne verschieben",zKt="Winkel zurücksetzen",UKt="Sperren",jKt="Entsperren",HKt="Ausrichten / Verteilen",qKt="Zu Seite verschieben",WKt="Horizontal spiegeln",GKt="Vertikal spiegeln",VKt="Verschieben",KKt="Nach Vorne",YKt="Vorwärts",XKt="Rückwärts",JKt="Hinten",ZKt="Sprache",QKt="Mehr erfahren",eYt="Dock Position",tYt="Unten",nYt="Links",rYt="Rechts",iYt="Oben",aYt="Seite",oYt="Tastaturkurzbefehle",sYt="Suche",lYt="Laden{dots}",uYt="Hintergrund Exportieren",cYt="Transparent",fYt="Auto",dYt="Hell",hYt="Dunkel",pYt="Github",gYt="Twitter",mYt="Discord",vYt="Bild",yYt="Links ausrichten",bYt="Horizontal mittig ausrichten",wYt="Rechts ausrichten",kYt="Oben ausrichten",_Yt="Vertikal mittig ausrichten",CYt="Unten ausrichten",EYt="Horizontal verteilen",xYt="Vertikal verteilen",SYt="Horizontal strecken",AYt="Vertikal strecken",TYt="Möchten Sie Ihr aktuelles Projekt speichern?",DYt="Möchten Sie die Änderungen an Ihrem aktuellen Projekt speichern?",IYt="Abbrechen",RYt="Nein",MYt="Ja",OYt="Dateiname eingeben",LYt="Probieren Sie das neue tldraw",BYt="Weiß",PYt="hellgrau",FYt="Frau",NYt="Schwarz",$Yt="Grün",zYt="Cyan",UYt="Blau",jYt="Indigo",HYt="Violett",qYt="Rot",WYt="Orange",GYt="Gelb",VYt="Durchgehend",KYt="Gestrichelt",YYt="Gepunktet",XYt="Klein",JYt="Mittel",ZYt="Groß",QYt={"style.menu.color":gVt,"style.menu.fill":mVt,"style.menu.dash":vVt,"style.menu.size":yVt,"style.menu.keep.open":bVt,"style.menu.font":wVt,"style.menu.align":kVt,styles:_Vt,"zoom.in":CVt,"zoom.out":EVt,to:xVt,"menu.tools":SVt,"menu.transform":AVt,"menu.file":TVt,"menu.edit":DVt,"menu.view":IVt,"menu.preferences":RVt,"menu.sign.in":MVt,"menu.sign.out":OVt,"become.a.sponsor":LVt,"zoom.to.content":BVt,"zoom.to.selection":PVt,"zoom.to.fit":FVt,"zoom.to":NVt,"preferences.dark.mode":$Vt,"preferences.focus.mode":zVt,"preferences.debug.mode":UVt,"preferences.show.grid":jVt,"preferences.use.cad.selection":HVt,"preferences.keep.stylemenu.open":qVt,"preferences.always.show.snaps":WVt,"preferences.rotate.handles":GVt,"preferences.binding.handles":VVt,"preferences.clone.handles":KVt,undo:YVt,redo:XVt,cut:JVt,copy:ZVt,paste:QVt,"copy.as":eKt,"export.as":tKt,"select.all":nKt,"select.none":rKt,delete:iKt,"new.project":aKt,open:oKt,save:sKt,"save.as":lKt,"upload.media":uKt,"create.page":cKt,"new.page":fKt,"page.name":dKt,duplicate:hKt,"shape.options":pKt,shapes:gKt,cancel:mKt,"copy.invite.link":vKt,"copy.readonly.link":yKt,"create.multiplayer.project":bKt,"copy.multiplayer.project":wKt,select:kKt,eraser:_Kt,draw:CKt,arrow:EKt,text:xKt,sticky:SKt,rectangle:AKt,ellipse:TKt,triangle:DKt,line:IKt,rotate:RKt,"lock.aspect.ratio":MKt,"unlock.aspect.ratio":OKt,group:LKt,ungroup:BKt,"move.to.back":PKt,"move.backward":FKt,"move.forward":NKt,"move.to.front":$Kt,"reset.angle":zKt,lock:UKt,unlock:jKt,"align.distribute":HKt,"move.to.page":qKt,"flip.horizontal":WKt,"flip.vertical":GKt,move:VKt,"to.front":KKt,forward:YKt,backward:XKt,back:JKt,language:ZKt,"translation.link":QKt,"dock.position":eYt,bottom:tYt,left:nYt,right:rYt,top:iYt,page:aYt,"keyboard.shortcuts":oYt,search:sYt,loading:lYt,"export.background":uYt,transparent:cYt,auto:fYt,light:dYt,dark:hYt,github:pYt,twitter:gYt,discord:mYt,image:vYt,"align.left":yYt,"align.center.x":bYt,"align.right":wYt,"align.top":kYt,"align.center.y":_Yt,"align.bottom":CYt,"distribute.x":EYt,"distribute.y":xYt,"stretch.x":SYt,"stretch.y":AYt,"dialog.save.firsttime":TYt,"dialog.save.again":DYt,"dialog.cancel":IYt,"dialog.no":RYt,"dialog.yes":MYt,"enter.file.name":OYt,"tldraw-beta":LYt,white:BYt,lightGray:PYt,gray:FYt,black:NYt,green:$Yt,cyan:zYt,blue:UYt,indigo:jYt,violet:HYt,red:qYt,orange:WYt,yellow:GYt,solid:VYt,dashed:KYt,dotted:YYt,small:XYt,medium:JYt,large:ZYt},eXt={},tXt="Color",nXt="Relleno",rXt="Línea",iXt="Tamaño",aXt="Mantener abierto",oXt="Fuente",sXt="Alineación",lXt="Estilos",uXt="Acercar",cXt="Alejar",fXt="A",dXt="Herramientas",hXt="Transformar",pXt="Archivo",gXt="Editar",mXt="Ver",vXt="Preferencias",yXt="Iniciar sesión",bXt="Cerrar sesión",wXt="Conviértete en patrocinador",kXt="Acercar al contenido",_Xt="Acercar a la selección",CXt="Ajustar a la ventana",EXt="Acercar a",xXt="Modo oscuro",SXt="Modo concentración",AXt="Modo depuración",TXt="Mostrar cuadrícula",DXt="Usar selección CAD",IXt="Mantener menú de estilos abierto",RXt="Mostrar puntos de ajuste",MXt="Control de rotación",OXt="Control de vinculación",LXt="Control de clonación",BXt="Deshacer",PXt="Rehacer",FXt="Cortar",NXt="Copiar",$Xt="Pegar",zXt="Copiar como",UXt="Exportar como",jXt="Selecionar todo",HXt="Selecionar nada",qXt="Borrar",WXt="Nuevo Proyecto",GXt="Abrir",VXt="Guardar",KXt="Guardar como",YXt="Subir medios",XXt="Crear página",JXt="Nueva página",ZXt="Nombre de página",QXt="Duplicar",eJt="Opciones de formas",tJt="Formas",nJt="Cancelar",rJt="Copiar invitación",iJt="Copiar invitación (solo lectura)",aJt="Crear proyecto multijugador",oJt="Copiar proyecto multijugador",sJt="Seleccionar",lJt="Borrador",uJt="Dibujar",cJt="Flecha",fJt="Texto",dJt="Pegatina",hJt="Rectángulo",pJt="Elipse",gJt="Triángulo",mJt="Línea",vJt="Rotar",yJt="Bloquear relación de aspecto",bJt="Desbloquear relación de aspecto",wJt="Agrupar",kJt="Desagrupar",_Jt="Mover al fondo",CJt="Mover atrás",EJt="Mover adelante",xJt="Mover al frente",SJt="Restablecer ángulo",AJt="Bloquear",TJt="Desbloquear",DJt="Alinear / Distribuir",IJt="Mover a página",RJt="Voltear horizontalmente",MJt="Voltear verticalmente",OJt="Mover",LJt="Al frente",BJt="Adelante",PJt="Atrás",FJt="Fondo",NJt="Idioma",$Jt="Saber más",zJt="Posición del dock",UJt="Abajo",jJt="Izquierda",HJt="Derecha",qJt="Arriba",WJt="Página",GJt="Atajos de teclado",VJt="Buscar",KJt="Cargando{dots}",YJt="Exportar fondo",XJt="Transparente",JJt="Auto",ZJt="Claro",QJt="Oscuro",eZt="Github",tZt="Twitter",nZt="Discord",rZt="Imagen",iZt="Alinear a la izquierda",aZt="Alinear al centro horizontalmente",oZt="Alinear a la derecha",sZt="Alinear arriba",lZt="Alinear al centro verticalmente",uZt="Alinear abajo",cZt="Distribuir horizontalmente",fZt="Distribuir verticalmente",dZt="Estirar horizontalmente",hZt="Estirar verticalmente",pZt="¿Quieres guardar el proyecto actual?",gZt="¿Quieres guardar los cambios en el proyecto actual?",mZt="Cancelar",vZt="No",yZt="Sí",bZt="Introduce el nombre del arquivo",wZt="Prueba el nuevo tldraw",kZt="Blanco",_Zt="Gris claro",CZt="Gris",EZt="Negro",xZt="Verde",SZt="Cian",AZt="Azul",TZt="Indigo",DZt="Violeta",IZt="Rojo",RZt="Naranja",MZt="Amarillo",OZt="Contínuo",LZt="Discontínuo",BZt="Punteado",PZt="Pequeño",FZt="Mediano",NZt="Grande",$Zt={"style.menu.color":tXt,"style.menu.fill":nXt,"style.menu.dash":rXt,"style.menu.size":iXt,"style.menu.keep.open":aXt,"style.menu.font":oXt,"style.menu.align":sXt,styles:lXt,"zoom.in":uXt,"zoom.out":cXt,to:fXt,"menu.tools":dXt,"menu.transform":hXt,"menu.file":pXt,"menu.edit":gXt,"menu.view":mXt,"menu.preferences":vXt,"menu.sign.in":yXt,"menu.sign.out":bXt,"become.a.sponsor":wXt,"zoom.to.content":kXt,"zoom.to.selection":_Xt,"zoom.to.fit":CXt,"zoom.to":EXt,"preferences.dark.mode":xXt,"preferences.focus.mode":SXt,"preferences.debug.mode":AXt,"preferences.show.grid":TXt,"preferences.use.cad.selection":DXt,"preferences.keep.stylemenu.open":IXt,"preferences.always.show.snaps":RXt,"preferences.rotate.handles":MXt,"preferences.binding.handles":OXt,"preferences.clone.handles":LXt,undo:BXt,redo:PXt,cut:FXt,copy:NXt,paste:$Xt,"copy.as":zXt,"export.as":UXt,"select.all":jXt,"select.none":HXt,delete:qXt,"new.project":WXt,open:GXt,save:VXt,"save.as":KXt,"upload.media":YXt,"create.page":XXt,"new.page":JXt,"page.name":ZXt,duplicate:QXt,"shape.options":eJt,shapes:tJt,cancel:nJt,"copy.invite.link":rJt,"copy.readonly.link":iJt,"create.multiplayer.project":aJt,"copy.multiplayer.project":oJt,select:sJt,eraser:lJt,draw:uJt,arrow:cJt,text:fJt,sticky:dJt,rectangle:hJt,ellipse:pJt,triangle:gJt,line:mJt,rotate:vJt,"lock.aspect.ratio":yJt,"unlock.aspect.ratio":bJt,group:wJt,ungroup:kJt,"move.to.back":_Jt,"move.backward":CJt,"move.forward":EJt,"move.to.front":xJt,"reset.angle":SJt,lock:AJt,unlock:TJt,"align.distribute":DJt,"move.to.page":IJt,"flip.horizontal":RJt,"flip.vertical":MJt,move:OJt,"to.front":LJt,forward:BJt,backward:PJt,back:FJt,language:NJt,"translation.link":$Jt,"dock.position":zJt,bottom:UJt,left:jJt,right:HJt,top:qJt,page:WJt,"keyboard.shortcuts":GJt,search:VJt,loading:KJt,"export.background":YJt,transparent:XJt,auto:JJt,light:ZJt,dark:QJt,github:eZt,twitter:tZt,discord:nZt,image:rZt,"align.left":iZt,"align.center.x":aZt,"align.right":oZt,"align.top":sZt,"align.center.y":lZt,"align.bottom":uZt,"distribute.x":cZt,"distribute.y":fZt,"stretch.x":dZt,"stretch.y":hZt,"dialog.save.firsttime":pZt,"dialog.save.again":gZt,"dialog.cancel":mZt,"dialog.no":vZt,"dialog.yes":yZt,"enter.file.name":bZt,"tldraw-beta":wZt,white:kZt,lightGray:_Zt,gray:CZt,black:EZt,green:xZt,cyan:SZt,blue:AZt,indigo:TZt,violet:DZt,red:IZt,orange:RZt,yellow:MZt,solid:OZt,dashed:LZt,dotted:BZt,small:PZt,medium:FZt,large:NZt},zZt="رنگ",UZt="توپُر",jZt="خط‌چین",HZt="اندازه",qZt="باز نگه‌داشتن",WZt="قلم",GZt="تراز",VZt="سبک‌ها",KZt="بزرگ‌نمایی",YZt="کوچک‌نمایی",XZt="به",JZt="ابزارها",ZZt="تغییر شکل",QZt="پرونده",eQt="ویرایش",tQt="نمایش",nQt="ترجیحات",rQt="ورود",iQt="خروج",aQt="حمایت‌کننده شوید",oQt="بازگشت به محتوا",sQt="بزرگ‌نمایی به ناحیه انتخاب‌شده",lQt="بزرگ‌نمایی متناسب با صفحه",uQt="بزرگ‌نمایی به",cQt="حالت تاریک",fQt="حالت تمرکز",dQt="حالت عیب‌یابی",hQt="نمایش خطوط راهنما",pQt="استفاده از حالت انتخاب CAD",gQt="باز نگه‌داشتن منوی سبک‌ها",mQt="همیشه نقاط چسبان را نشان بده",vQt="دستگیره‌های چرخش",yQt="دستگیره‌های اتصال‌دهنده",bQt="دستگیره‌های تکثیر",wQt="واگردانی",kQt="انجام دوباره",_Qt="بریدن",CQt="کپی",EQt="جای‌گذاری",xQt="کپی به‌عنوان",SQt="خروجی‌گرفتن به‌عنوان",AQt="انتخاب همه",TQt="انتخاب هیچ‌یک",DQt="حذف",IQt="پروژه جدید",RQt="بازکردن",MQt="ذخیره",OQt="ذخیره به‌عنوان",LQt="بارگذاری رسانه",BQt="ایجاد برگه",PQt="برگه جدید",FQt="نام برگه",NQt="تکثیرکردن",$Qt="گزینه‌های شکل",zQt="شکل‌ها",UQt="لغو",jQt="کپی‌کردن پیوند دعوت",HQt="کپی‌کردن پیوند غیرقابل ویرایش",qQt="ایجاد یک پروژه چندنفره",WQt="کپی به پروژه چندنفره",GQt="انتخاب",VQt="پاک‌کن",KQt="رسم",YQt="فِلِش",XQt="متن",JQt="برگه چسبان",ZQt="چهارگوش",QQt="گردی",een="سه‌گوش",ten="خط",nen="چرخاندن",ren="قفل‌کردن نسبت ابعاد",ien="اجازه تغییر نسبت ابعاد",aen="گروه‌بندی",oen="لغو گروه‌بندی",sen="انتقال به عقب",len="انتقال به سمت عقب",uen="انتقال به سمت جلو",cen="انتقال به جلو",fen="بازنشانی زاویه",den="قفل",hen="بازکردن قفل",pen="تراز / پخش‌کردن",gen="انتقال به برگه",men="وارونه‌سازی افقی",ven="وارونه‌سازی عمودی",yen="حرکت‌دادن",ben="به جلو",wen="به سمت جلو",ken="به سمت عقب",_en="به عقب",Cen="زبان",Een="یادگیری بیشتر",xen="موقعیت نوار ابزار",Sen="پایین",Aen="چپ",Ten="راست",Den="بالا",Ien="برگه",Ren="میان‌برهای صفحه‌کلید",Men="جستجو",Oen="بارگیری{dots}",Len="خروجی‌گرفتن پس‌زمینه",Ben="شفاف",Pen="خودکار",Fen="روشن",Nen="تاریک",$en="گیت‌هاب",zen="توییتر",Uen="دیسکورد",jen="تصویر",Hen="تراز به چپ",qen="تراز به مرکز افقی",Wen="تراز به راست",Gen="تراز به بالا",Ven="تراز به مرکز عمودی",Ken="تراز به پایین",Yen="پخش‌کردن افقی",Xen="پخش‌کردن عمودی",Jen="کش‌آوردن افقی",Zen="کش‌آوردن عمودی",Qen="آیا می‌خواهید پروژه فعلی خود را ذخیره کنید؟",etn="آیا می‌خواهید که تغییرات را در پروژه فعلی خود ذخیره کنید؟",ttn="لغو",ntn="خیر",rtn="بله",itn="نام پرونده را وارد کنید",atn="امتحان‌کردن tldraw جدید",otn="سفید",stn="خاکستری روشن",ltn="خاکستری",utn="مشکی",ctn="سبز",ftn="فیروزه‌ای",dtn="آبی",htn="نیلی",ptn="بنفش",gtn="قرمز",mtn="نارنجی",vtn="زرد",ytn="توپُر",btn="خط‌چین",wtn="نقطه‌چین",ktn="کوچک",_tn="متوسط",Ctn="بزرگ",Etn={"style.menu.color":zZt,"style.menu.fill":UZt,"style.menu.dash":jZt,"style.menu.size":HZt,"style.menu.keep.open":qZt,"style.menu.font":WZt,"style.menu.align":GZt,styles:VZt,"zoom.in":KZt,"zoom.out":YZt,to:XZt,"menu.tools":JZt,"menu.transform":ZZt,"menu.file":QZt,"menu.edit":eQt,"menu.view":tQt,"menu.preferences":nQt,"menu.sign.in":rQt,"menu.sign.out":iQt,"become.a.sponsor":aQt,"zoom.to.content":oQt,"zoom.to.selection":sQt,"zoom.to.fit":lQt,"zoom.to":uQt,"preferences.dark.mode":cQt,"preferences.focus.mode":fQt,"preferences.debug.mode":dQt,"preferences.show.grid":hQt,"preferences.use.cad.selection":pQt,"preferences.keep.stylemenu.open":gQt,"preferences.always.show.snaps":mQt,"preferences.rotate.handles":vQt,"preferences.binding.handles":yQt,"preferences.clone.handles":bQt,undo:wQt,redo:kQt,cut:_Qt,copy:CQt,paste:EQt,"copy.as":xQt,"export.as":SQt,"select.all":AQt,"select.none":TQt,delete:DQt,"new.project":IQt,open:RQt,save:MQt,"save.as":OQt,"upload.media":LQt,"create.page":BQt,"new.page":PQt,"page.name":FQt,duplicate:NQt,"shape.options":$Qt,shapes:zQt,cancel:UQt,"copy.invite.link":jQt,"copy.readonly.link":HQt,"create.multiplayer.project":qQt,"copy.multiplayer.project":WQt,select:GQt,eraser:VQt,draw:KQt,arrow:YQt,text:XQt,sticky:JQt,rectangle:ZQt,ellipse:QQt,triangle:een,line:ten,rotate:nen,"lock.aspect.ratio":ren,"unlock.aspect.ratio":ien,group:aen,ungroup:oen,"move.to.back":sen,"move.backward":len,"move.forward":uen,"move.to.front":cen,"reset.angle":fen,lock:den,unlock:hen,"align.distribute":pen,"move.to.page":gen,"flip.horizontal":men,"flip.vertical":ven,move:yen,"to.front":ben,forward:wen,backward:ken,back:_en,language:Cen,"translation.link":Een,"dock.position":xen,bottom:Sen,left:Aen,right:Ten,top:Den,page:Ien,"keyboard.shortcuts":Ren,search:Men,loading:Oen,"export.background":Len,transparent:Ben,auto:Pen,light:Fen,dark:Nen,github:$en,twitter:zen,discord:Uen,image:jen,"align.left":Hen,"align.center.x":qen,"align.right":Wen,"align.top":Gen,"align.center.y":Ven,"align.bottom":Ken,"distribute.x":Yen,"distribute.y":Xen,"stretch.x":Jen,"stretch.y":Zen,"dialog.save.firsttime":Qen,"dialog.save.again":etn,"dialog.cancel":ttn,"dialog.no":ntn,"dialog.yes":rtn,"enter.file.name":itn,"tldraw-beta":atn,white:otn,lightGray:stn,gray:ltn,black:utn,green:ctn,cyan:ftn,blue:dtn,indigo:htn,violet:ptn,red:gtn,orange:mtn,yellow:vtn,solid:ytn,dashed:btn,dotted:wtn,small:ktn,medium:_tn,large:Ctn},xtn="Couleur",Stn="Remplir",Atn="Bordure",Ttn="Taille",Dtn="Toujours afficher le menu",Itn="Police",Rtn="Alignement",Mtn="Styles",Otn="Zoom avant",Ltn="Zoom arrière",Btn="À",Ptn="Outils",Ftn="Transformation",Ntn="Fichier",$tn="Édition",ztn="Afficher",Utn="Préférences",jtn="S'authentifier",Htn="Se déconnecter",qtn="Devenir un sponsor",Wtn="Retour au contenu",Gtn="Ajuster le zoom à la sélection",Vtn="Adapter le zoom au contenu",Ktn="Rétablir le zoom à",Ytn="Mode sombre",Xtn="Mode focus",Jtn="Afficher la barre développeur",Ztn="Afficher la grille",Qtn="Utiliser la sélection CAD",enn="Toujours afficher le menu styles",tnn="Afficher les repères dynamiques",nnn="Manier la rotation",rnn="Manier les liaisons",inn="Manier le clonage",ann="Annuler",onn="Rétablir",snn="Couper",lnn="Copier",unn="Coller",cnn="Copier au format",fnn="Exporter au format",dnn="Tout sélectionner",hnn="Tout désélectionner",pnn="Supprimer",gnn="Nouveau project",mnn="Ouvrir",vnn="Enregistrer",ynn="Enregistrer sous",bnn="Importer un média",wnn="Créer une page",knn="Nouvelle Page",_nn="Nom de la page",Cnn="Dupliquer",Enn="Annuler",xnn="Copier le lien d'invitation",Snn="Copier le lien en lecture seule d'invitation",Ann="Créer un project multi-joueurs",Tnn="Copier dans un projet multi-joueurs",Dnn="Sélection",Inn="Gomme",Rnn="Crayon",Mnn="Flèche",Onn="Texte",Lnn="Note",Bnn="Rectangle",Pnn="Cercle",Fnn="Triangle",Nnn="Ligne",$nn="Rotation",znn="Verrouiller les proportions",Unn="Déverrouiller les proportions",jnn="Grouper",Hnn="Dégrouper",qnn="Déplacer à l'arrière-plan",Wnn="Reculer d'un plan",Gnn="Avancer d'un plan",Vnn="Placer au premier plan",Knn="Réinitialiser la rotation",Ynn="Verrouiller",Xnn="Déverrouiller",Jnn="Alignement / Répartion",Znn="Déplacer vers la page",Qnn="Retourner horizontalement",ern="Retourner verticalement",trn="Disposition",nrn="Placer au premier plan",rrn="Avancer d'un plan",irn="Reculer d'un plan",arn="Déplacer à l'arrière-plan",orn="Langage",srn="En savoir plus",lrn="Position du dock",urn="En bas",crn="À gauche",frn="À droite",drn="En haut",hrn="Page",prn="Raccourcis clavier",grn="Rechercher",mrn="Chargement{dots}",vrn="Couleur d'arrière-plan de l'export",yrn="Transparent",brn="Automatique",wrn="Clair",krn="Sombre",_rn={"style.menu.color":xtn,"style.menu.fill":Stn,"style.menu.dash":Atn,"style.menu.size":Ttn,"style.menu.keep.open":Dtn,"style.menu.font":Itn,"style.menu.align":Rtn,styles:Mtn,"zoom.in":Otn,"zoom.out":Ltn,to:Btn,"menu.tools":Ptn,"menu.transform":Ftn,"menu.file":Ntn,"menu.edit":$tn,"menu.view":ztn,"menu.preferences":Utn,"menu.sign.in":jtn,"menu.sign.out":Htn,"become.a.sponsor":qtn,"zoom.to.content":Wtn,"zoom.to.selection":Gtn,"zoom.to.fit":Vtn,"zoom.to":Ktn,"preferences.dark.mode":Ytn,"preferences.focus.mode":Xtn,"preferences.debug.mode":Jtn,"preferences.show.grid":Ztn,"preferences.use.cad.selection":Qtn,"preferences.keep.stylemenu.open":enn,"preferences.always.show.snaps":tnn,"preferences.rotate.handles":nnn,"preferences.binding.handles":rnn,"preferences.clone.handles":inn,undo:ann,redo:onn,cut:snn,copy:lnn,paste:unn,"copy.as":cnn,"export.as":fnn,"select.all":dnn,"select.none":hnn,delete:pnn,"new.project":gnn,open:mnn,save:vnn,"save.as":ynn,"upload.media":bnn,"create.page":wnn,"new.page":knn,"page.name":_nn,duplicate:Cnn,cancel:Enn,"copy.invite.link":xnn,"copy.readonly.link":Snn,"create.multiplayer.project":Ann,"copy.multiplayer.project":Tnn,select:Dnn,eraser:Inn,draw:Rnn,arrow:Mnn,text:Onn,sticky:Lnn,rectangle:Bnn,ellipse:Pnn,triangle:Fnn,line:Nnn,rotate:$nn,"lock.aspect.ratio":znn,"unlock.aspect.ratio":Unn,group:jnn,ungroup:Hnn,"move.to.back":qnn,"move.backward":Wnn,"move.forward":Gnn,"move.to.front":Vnn,"reset.angle":Knn,lock:Ynn,unlock:Xnn,"align.distribute":Jnn,"move.to.page":Znn,"flip.horizontal":Qnn,"flip.vertical":ern,move:trn,"to.front":nrn,forward:rrn,backward:irn,back:arn,language:orn,"translation.link":srn,"dock.position":lrn,bottom:urn,left:crn,right:frn,top:drn,page:hrn,"keyboard.shortcuts":prn,search:grn,loading:mrn,"export.background":vrn,transparent:yrn,auto:brn,light:wrn,dark:krn},Crn="Cor",Ern="Recheo",xrn="Liña",Srn="Tamaño",Arn="Manter aberto",Trn="Fonte",Drn="Aliñamento",Irn="Estilos",Rrn="Achegar",Mrn="Afastar",Orn="A",Lrn="Ferramentas",Brn="Transformar",Prn="Arquivo",Frn="Editar",Nrn="Ver",$rn="Preferencias",zrn="Iniciar sesión",Urn="Pechar sesión",jrn="Convírtete en patrocinador",Hrn="Achegar ao contido",qrn="Achegar á selección",Wrn="Axustar á ventá",Grn="Achegar a",Vrn="Modo escuro",Krn="Modo concentración",Yrn="Modo depuración",Xrn="Amosar cuadrícula",Jrn="Usar selección CAD",Zrn="Manter menú de estilos aberto",Qrn="Amosar puntos de axuste",ein="Control de rotación",tin="Control de vinculación",nin="Control de clonación",rin="Desfacer",iin="Refacer",ain="Cortar",oin="Copiar",sin="Pegar",lin="Copiar como",uin="Exportar como",cin="Selecionar todo",fin="Selecionar nada",din="Borrar",hin="Novo Proxecto",pin="Abrir",gin="Gardar",min="Gardar como",vin="Subir medios",yin="Crear páxina",bin="Nova páxina",win="Nome de páxina",kin="Duplicar",_in="Opcións de formas",Cin="Formas",Ein="Cancelar",xin="Copiar invitación",Sin="Copiar invitación (só lectura)",Ain="Crear proxecto multixogador",Tin="Copiar proxecto multixogador",Din="Seleccionar",Iin="Borrador",Rin="Debuxar",Min="Frecha",Oin="Texto",Lin="Pegatina",Bin="Rectángulo",Pin="Elipse",Fin="Triángulo",Nin="Liña",$in="Rotar",zin="Bloquear relación de aspecto",Uin="Desbloquear relación de aspecto",jin="Agrupar",Hin="Desagrupar",qin="Mover ao fondo",Win="Mover atrás",Gin="Mover adiante",Vin="Mover ao fronte",Kin="Restablecer ángulo",Yin="Bloquear",Xin="Desbloquear",Jin="Aliñar / Distribuír",Zin="Mover á páxina",Qin="Voltear horizontalmente",ean="Voltear verticalmente",tan="Mover",nan="Ao fronte",ran="Adilante",ian="Atrás",aan="Fondo",oan="Idioma",san="Saber máis",lan="Posición do dock",uan="Abaixo",can="Esquerda",fan="Dereita",dan="Arriba",han="Páxina",pan="Atallos de teclado",gan="Buscar",man="Cargando{dots}",van="Exportar fondo",yan="Transparente",ban="Auto",wan="Claro",kan="Escuro",_an="Github",Can="Twitter",Ean="Discord",xan="Imaxe",San="Aliñar á esquerda",Aan="Aliñar ao centro horizontalmente",Tan="Aliñar á dereita",Dan="Aliñar arriba",Ian="Aliñar ao centro verticalmente",Ran="Aliñar abaixo",Man="Distribuír horizontalmente",Oan="Distribuír verticalmente",Lan="Estirar horizontalmente",Ban="Estirar verticalmente",Pan="Queres gardar o proxecto actual?",Fan="Queres gardar os cambios ao proxecto actual?",Nan="Cancelar",$an="No",zan="Sí",Uan="Introduce o nome do arquivo",jan="Proba o novo tldraw",Han="Branco",qan="Gris claro",Wan="Gris",Gan="Negro",Van="Verde",Kan="Cian",Yan="Azul",Xan="Indigo",Jan="Violeta",Zan="Vermello",Qan="Laranxa",eon="Amarelo",ton="Contínuo",non="Discontínuo",ron="Punteado",ion="Pequeno",aon="Mediano",oon="Grande",son={"style.menu.color":Crn,"style.menu.fill":Ern,"style.menu.dash":xrn,"style.menu.size":Srn,"style.menu.keep.open":Arn,"style.menu.font":Trn,"style.menu.align":Drn,styles:Irn,"zoom.in":Rrn,"zoom.out":Mrn,to:Orn,"menu.tools":Lrn,"menu.transform":Brn,"menu.file":Prn,"menu.edit":Frn,"menu.view":Nrn,"menu.preferences":$rn,"menu.sign.in":zrn,"menu.sign.out":Urn,"become.a.sponsor":jrn,"zoom.to.content":Hrn,"zoom.to.selection":qrn,"zoom.to.fit":Wrn,"zoom.to":Grn,"preferences.dark.mode":Vrn,"preferences.focus.mode":Krn,"preferences.debug.mode":Yrn,"preferences.show.grid":Xrn,"preferences.use.cad.selection":Jrn,"preferences.keep.stylemenu.open":Zrn,"preferences.always.show.snaps":Qrn,"preferences.rotate.handles":ein,"preferences.binding.handles":tin,"preferences.clone.handles":nin,undo:rin,redo:iin,cut:ain,copy:oin,paste:sin,"copy.as":lin,"export.as":uin,"select.all":cin,"select.none":fin,delete:din,"new.project":hin,open:pin,save:gin,"save.as":min,"upload.media":vin,"create.page":yin,"new.page":bin,"page.name":win,duplicate:kin,"shape.options":_in,shapes:Cin,cancel:Ein,"copy.invite.link":xin,"copy.readonly.link":Sin,"create.multiplayer.project":Ain,"copy.multiplayer.project":Tin,select:Din,eraser:Iin,draw:Rin,arrow:Min,text:Oin,sticky:Lin,rectangle:Bin,ellipse:Pin,triangle:Fin,line:Nin,rotate:$in,"lock.aspect.ratio":zin,"unlock.aspect.ratio":Uin,group:jin,ungroup:Hin,"move.to.back":qin,"move.backward":Win,"move.forward":Gin,"move.to.front":Vin,"reset.angle":Kin,lock:Yin,unlock:Xin,"align.distribute":Jin,"move.to.page":Zin,"flip.horizontal":Qin,"flip.vertical":ean,move:tan,"to.front":nan,forward:ran,backward:ian,back:aan,language:oan,"translation.link":san,"dock.position":lan,bottom:uan,left:can,right:fan,top:dan,page:han,"keyboard.shortcuts":pan,search:gan,loading:man,"export.background":van,transparent:yan,auto:ban,light:wan,dark:kan,github:_an,twitter:Can,discord:Ean,image:xan,"align.left":San,"align.center.x":Aan,"align.right":Tan,"align.top":Dan,"align.center.y":Ian,"align.bottom":Ran,"distribute.x":Man,"distribute.y":Oan,"stretch.x":Lan,"stretch.y":Ban,"dialog.save.firsttime":Pan,"dialog.save.again":Fan,"dialog.cancel":Nan,"dialog.no":$an,"dialog.yes":zan,"enter.file.name":Uan,"tldraw-beta":jan,white:Han,lightGray:qan,gray:Wan,black:Gan,green:Van,cyan:Kan,blue:Yan,indigo:Xan,violet:Jan,red:Zan,orange:Qan,yellow:eon,solid:ton,dashed:non,dotted:ron,small:ion,medium:aon,large:oon},lon="צבע",uon="מלא",con="גבול",fon="גודל",don="השאר פתוח",hon="גופן",pon="יישור",gon="עיצוב",mon="הגדל תצוגה",von="הקטן תצוגה",yon="ל",bon="קובץ",won="עריכה",kon="תצוגה",_on="מאפיינים",Con="הירשם",Eon="התנתק",xon="מתן חסות",Son="זום לבחירה",Aon="זום להתאמה",Ton="זום ל",Don="מצב חשוך",Ion="מצב פוקוס",Ron="מצב דיבאג",Mon="(גריד)הראה רשת עימוד",Oon="סימון CAD",Lon="השאר תפריט עיצוב פתוח",Bon="הראה קווי מתאר",Pon="הראה ידיות סיבוב",Fon="הראה ידיות קשירה",Non="הראה ידיות שיכפול",$on="בטל",zon="עשה מחדש",Uon="גזור",jon="העתק",Hon="הדבק",qon="העתק כ",Won="ייצא כ",Gon="בחר הכל",Von="בטל בחירה",Kon="מחק",Yon="פרויקט חדש",Xon="פתח",Jon="שמור",Zon="שמור כ",Qon="העלאת מדיה",esn="צור דף",tsn="דף חדש",nsn="שם הדף",rsn="שכפל",isn="בטל",asn="העתק קישור הזמנה",osn="צור פרויקט רב משתתפים",ssn="העתק לפרויקט רב משתתפים",lsn="סמן",usn="מחק",csn="צייר",fsn="חץ",dsn="טקסט",hsn="דביקי",psn="מרובע",gsn="אליפסה",msn="משולש",vsn="קו",ysn="סובב",bsn="נעל יחס רוחב-גובה",wsn="שחרר נעילת יחס רוחב-גובה",ksn="קבץ",_sn="בטל קיבוץ",Csn="הבא לתחתית",Esn="הזז אחורה",xsn="הזז קדימה",Ssn="הבא לחזית",Asn="אפס זווית",Tsn="נעל",Dsn="שחרר נעילה",Isn="הזז לדף",Rsn="הפוך אופקית",Msn="הפוך אנכית",Osn="הזז",Lsn="הבא לקדימה",Bsn="קדימה",Psn="אחורה",Fsn="בחזרה",Nsn="שפה",$sn={"style.menu.color":lon,"style.menu.fill":uon,"style.menu.dash":con,"style.menu.size":fon,"style.menu.keep.open":don,"style.menu.font":hon,"style.menu.align":pon,styles:gon,"zoom.in":mon,"zoom.out":von,to:yon,"menu.file":bon,"menu.edit":won,"menu.view":kon,"menu.preferences":_on,"menu.sign.in":Con,"menu.sign.out":Eon,"become.a.sponsor":xon,"zoom.to.selection":Son,"zoom.to.fit":Aon,"zoom.to":Ton,"preferences.dark.mode":Don,"preferences.focus.mode":Ion,"preferences.debug.mode":Ron,"preferences.show.grid":Mon,"preferences.use.cad.selection":Oon,"preferences.keep.stylemenu.open":Lon,"preferences.always.show.snaps":Bon,"preferences.rotate.handles":Pon,"preferences.binding.handles":Fon,"preferences.clone.handles":Non,undo:$on,redo:zon,cut:Uon,copy:jon,paste:Hon,"copy.as":qon,"export.as":Won,"select.all":Gon,"select.none":Von,delete:Kon,"new.project":Yon,open:Xon,save:Jon,"save.as":Zon,"upload.media":Qon,"create.page":esn,"new.page":tsn,"page.name":nsn,duplicate:rsn,cancel:isn,"copy.invite.link":asn,"create.multiplayer.project":osn,"copy.multiplayer.project":ssn,select:lsn,eraser:usn,draw:csn,arrow:fsn,text:dsn,sticky:hsn,rectangle:psn,ellipse:gsn,triangle:msn,line:vsn,rotate:ysn,"lock.aspect.ratio":bsn,"unlock.aspect.ratio":wsn,group:ksn,ungroup:_sn,"move.to.back":Csn,"move.backward":Esn,"move.forward":xsn,"move.to.front":Ssn,"reset.angle":Asn,lock:Tsn,unlock:Dsn,"move.to.page":Isn,"flip.horizontal":Rsn,"flip.vertical":Msn,move:Osn,"to.front":Lsn,forward:Bsn,backward:Psn,back:Fsn,language:Nsn},zsn="Colore",Usn="Riempi",jsn="Tratteggo",Hsn="Dimensione",qsn="Mantieni aperto",Wsn="Font",Gsn="Allineamento",Vsn="Stile",Ksn="Ingrandisci",Ysn="Rimpicciolisci",Xsn="Imposta",Jsn="File",Zsn="Modifica",Qsn="Visualizzazione",eln="Preferenze",tln="Accedi",nln="Esci",rln="Sponsorizza",iln="Adatta alla selezione",aln="Adatta",oln="Ingrandisci",sln="Modalità scura",lln="Modalità zen",uln="Modalità sviluppatore",cln="Mostra griglia",fln="Selezione CAD",dln="Mantieni menu stile aperto",hln="Mostra sempre le guide",pln="Controlli d'inclinazione",gln="Controlli d'associazione",mln="Controlli di clonazione",vln="Annulla",yln="Ripristina",bln="Taglia",wln="Copia",kln="Incolla",_ln="Copia come",Cln="Esporta come",Eln="Seleziona tutto",xln="Deseleziona tutto",Sln="Elimina",Aln="Nuovo progetto",Tln="Apri",Dln="Salva",Iln="Salva come",Rln="Carica contenuti multimediali",Mln="Crea nuova pagina",Oln="Nuova pagina",Lln="Nome pagina",Bln="Pagina",Pln="Duplica",Fln="Chiudi",Nln="Copia link invito",$ln="Crea progetto multiplayer",zln="Trasforma in progetto multiplayer",Uln="Seleziona",jln="Gomma",Hln="Matita",qln="Freccia",Wln="Casella di testo",Gln="Post-it",Vln="Rettangolo",Kln="Ellisse",Yln="Triangolo",Xln="Linea",Jln="Ruota",Zln="Blocca rapporto lati",Qln="Sblocca rapporto lati",eun="Raggruppa",tun="Separa",nun="Muovi in fondo",run="Sposta indietro",iun="Sposta avanti",aun="Muovi in fronte",oun="Reimposta angolo",sun="Blocca",lun="Sblocca",uun="Trasferisci a pagina",cun="Ribalta orizzontalmente",fun="Ribalta verticalmente",dun="Sposta",hun="In primo piano",pun="Sposta avanti",gun="Sposta indietro",mun="In fondo",vun="Lingua",yun="Posizione dock",bun="In basso",wun="Sinistra",kun="Destra",_un="In Alto",Cun={"style.menu.color":zsn,"style.menu.fill":Usn,"style.menu.dash":jsn,"style.menu.size":Hsn,"style.menu.keep.open":qsn,"style.menu.font":Wsn,"style.menu.align":Gsn,styles:Vsn,"zoom.in":Ksn,"zoom.out":Ysn,to:Xsn,"menu.file":Jsn,"menu.edit":Zsn,"menu.view":Qsn,"menu.preferences":eln,"menu.sign.in":tln,"menu.sign.out":nln,"become.a.sponsor":rln,"zoom.to.selection":iln,"zoom.to.fit":aln,"zoom.to":oln,"preferences.dark.mode":sln,"preferences.focus.mode":lln,"preferences.debug.mode":uln,"preferences.show.grid":cln,"preferences.use.cad.selection":fln,"preferences.keep.stylemenu.open":dln,"preferences.always.show.snaps":hln,"preferences.rotate.handles":pln,"preferences.binding.handles":gln,"preferences.clone.handles":mln,undo:vln,redo:yln,cut:bln,copy:wln,paste:kln,"copy.as":_ln,"export.as":Cln,"select.all":Eln,"select.none":xln,delete:Sln,"new.project":Aln,open:Tln,save:Dln,"save.as":Iln,"upload.media":Rln,"create.page":Mln,"new.page":Oln,"page.name":Lln,page:Bln,duplicate:Pln,cancel:Fln,"copy.invite.link":Nln,"create.multiplayer.project":$ln,"copy.multiplayer.project":zln,select:Uln,eraser:jln,draw:Hln,arrow:qln,text:Wln,sticky:Gln,rectangle:Vln,ellipse:Kln,triangle:Yln,line:Xln,rotate:Jln,"lock.aspect.ratio":Zln,"unlock.aspect.ratio":Qln,group:eun,ungroup:tun,"move.to.back":nun,"move.backward":run,"move.forward":iun,"move.to.front":aun,"reset.angle":oun,lock:sun,unlock:lun,"move.to.page":uun,"flip.horizontal":cun,"flip.vertical":fun,move:dun,"to.front":hun,forward:pun,backward:gun,back:mun,language:vun,"dock.position":yun,bottom:bun,left:wun,right:kun,top:_un},Eun="色",xun="塗りつぶし",Sun="線",Aun="太さ/サイズ",Tun="常に表示",Dun="フォント",Iun="配置",Run="スタイル",Mun="拡大",Oun="縮小",Lun=" ",Bun="ファイル",Pun="編集",Fun="表示",Nun="設定",$un="サインイン",zun="サインアウト",Uun="支援する",jun="選択したアイテムに合わせて拡大",Hun="拡大してすべてを表示",qun="拡大率",Wun="ダークモード",Gun="フォーカスモード",Vun="デバッグモード",Kun="グリッドを表示",Yun="CADの選択法を使用",Xun="スタイルメニューを常に表示",Jun="スナップを常に表示",Zun="回転ハンドルを表示",Qun="結合ハンドルを表示",ecn="クローンハンドルを表示",tcn="元に戻す",ncn="やり直し",rcn="切り取り",icn="コピー",acn="貼り付け",ocn="形式を選択してコピー",scn="形式を選択してエクスポート",lcn="すべて選択",ucn="選択を解除",ccn="削除",fcn="新しいプロジェクト",dcn="開く",hcn="保存",pcn="名前をつけて保存",gcn="メディアをアップロード",mcn="ページを作成",vcn="新規ページ",ycn="ページ名",bcn="複製",wcn="キャンセル",kcn="共有リンクをクリップボードにコピー",_cn="マルチプレイヤープロジェクトを作成",Ccn="マルチプレイヤープロジェクトにコピー",Ecn="選択",xcn="消しゴム",Scn="描画",Acn="矢印",Tcn="テキスト",Dcn="ふせん",Icn="長方形",Rcn="楕円形",Mcn="三角形",Ocn="線",Lcn="回転",Bcn="縦横比を固定",Pcn="縦横比の固定を解除",Fcn="グルーピング",Ncn="グループ解除",$cn="最背面に移動",zcn="ひとつ後ろに移動",Ucn="ひとつ前に移動",jcn="最前面に移動",Hcn="角度を初期化",qcn="ロック",Wcn="アンロック",Gcn="ページへ移動",Vcn="水平方向に反転",Kcn="垂直方向に反転",Ycn="移動",Xcn="最前面へ",Jcn="ひとつ前へ",Zcn="ひとつ後ろへ",Qcn="最背面へ",efn="言語",tfn={"style.menu.color":Eun,"style.menu.fill":xun,"style.menu.dash":Sun,"style.menu.size":Aun,"style.menu.keep.open":Tun,"style.menu.font":Dun,"style.menu.align":Iun,styles:Run,"zoom.in":Mun,"zoom.out":Oun,to:Lun,"menu.file":Bun,"menu.edit":Pun,"menu.view":Fun,"menu.preferences":Nun,"menu.sign.in":$un,"menu.sign.out":zun,"become.a.sponsor":Uun,"zoom.to.selection":jun,"zoom.to.fit":Hun,"zoom.to":qun,"preferences.dark.mode":Wun,"preferences.focus.mode":Gun,"preferences.debug.mode":Vun,"preferences.show.grid":Kun,"preferences.use.cad.selection":Yun,"preferences.keep.stylemenu.open":Xun,"preferences.always.show.snaps":Jun,"preferences.rotate.handles":Zun,"preferences.binding.handles":Qun,"preferences.clone.handles":ecn,undo:tcn,redo:ncn,cut:rcn,copy:icn,paste:acn,"copy.as":ocn,"export.as":scn,"select.all":lcn,"select.none":ucn,delete:ccn,"new.project":fcn,open:dcn,save:hcn,"save.as":pcn,"upload.media":gcn,"create.page":mcn,"new.page":vcn,"page.name":ycn,duplicate:bcn,cancel:wcn,"copy.invite.link":kcn,"create.multiplayer.project":_cn,"copy.multiplayer.project":Ccn,select:Ecn,eraser:xcn,draw:Scn,arrow:Acn,text:Tcn,sticky:Dcn,rectangle:Icn,ellipse:Rcn,triangle:Mcn,line:Ocn,rotate:Lcn,"lock.aspect.ratio":Bcn,"unlock.aspect.ratio":Pcn,group:Fcn,ungroup:Ncn,"move.to.back":$cn,"move.backward":zcn,"move.forward":Ucn,"move.to.front":jcn,"reset.angle":Hcn,lock:qcn,unlock:Wcn,"move.to.page":Gcn,"flip.horizontal":Vcn,"flip.vertical":Kcn,move:Ycn,"to.front":Xcn,forward:Jcn,backward:Zcn,back:Qcn,language:efn},nfn="색깔",rfn="채우기",ifn="테두리",afn="크기",ofn="항상 열기",sfn="글꼴",lfn="정렬",ufn="스타일",cfn="확대",ffn="축소",dfn="To",hfn="도구",pfn="변환",gfn="파일",mfn="편집",vfn="보기",yfn="설정",bfn="로그인",wfn="로그아웃",kfn="후원자 되기",_fn="컨텐츠로 돌아가기",Cfn="선택 요소에 맞추기",Efn="전체에 맞추기",xfn="맞추기",Sfn="다크 모드",Afn="집중 모드",Tfn="디버그 모드",Dfn="격자 보기",Ifn="CAD 선택 사용",Rfn="스타일 메뉴 항상 열기",Mfn="Snap 항상 열기",Ofn="회전 보이기",Lfn="바인딩 보이기",Bfn="복제 보이기",Pfn="실행취소",Ffn="재실행",Nfn="자르기",$fn="복사",zfn="붙여넣기",Ufn="이미지로 복사",jfn="내보내기",Hfn="전체 선택",qfn="선택 해제",Wfn="삭제",Gfn="새 프로젝트",Vfn="열기",Kfn="저장",Yfn="다른 이름으로 저장",Xfn="미디어 업로드",Jfn="새 페이지 생성",Zfn="새 페이지",Qfn="페이지 이름",edn="복제",tdn="취소",ndn="초대 링크 복사",rdn="읽기 전용 링크 복사",idn="실시간 협업 프로젝트 생성",adn="실시간 협업 프로젝트로 복제",odn="선택",sdn="지우개",ldn="펜",udn="화살표",cdn="텍스트",fdn="스티키노트",ddn="사각형",hdn="원",pdn="삼각형",gdn="선",mdn="회전",vdn="비율 잠금",ydn="비율 잠금 해제",bdn="그룹화",wdn="그룹화 해제",kdn="맨 뒤로 보내기",_dn="뒤로 보내기",Cdn="앞으로 가져오기",Edn="맨 앞으로 가져오기",xdn="회전 초기화",Sdn="잠금",Adn="잠금 해제",Tdn="정렬 / 간격 맞추기",Ddn="페이지로 이동",Idn="좌우 대칭",Rdn="상하 대칭",Mdn="순서",Odn="맨 앞으로",Ldn="앞으로",Bdn="뒤로",Pdn="맨 뒤로",Fdn="언어",Ndn="더 알아보기",$dn="독 위치",zdn="하단",Udn="왼쪽",jdn="오른쪽",Hdn="상단",qdn="페이지",Wdn="키보드 단축키",Gdn="검색",Vdn="로딩{dots}",Kdn="배경 내보내기",Ydn="투명",Xdn="자동",Jdn="라이트",Zdn="다크",Qdn="Github",ehn="Twitter",thn="Discord",nhn="이미지",rhn="왼쪽 정렬",ihn="수평 중앙 정렬",ahn="오른쪽 정렬",ohn="상단 정렬",shn="수직 중앙 정렬",lhn="하단 정렬",uhn="가로 간격 맞추기",chn="세로 간격 맞추기",fhn="수평으로 늘리기",dhn="수직으로 늘리기",hhn="현재 프로젝트를 저장하시겠습니까?",phn="변경사항을 현재 프로젝트에 저장하시겠습니까?",ghn="취소",mhn="아니오",vhn="네",yhn="파일 이름을 입력해주세요",bhn="새로운 tldraw를 사용해보세요",whn={"style.menu.color":nfn,"style.menu.fill":rfn,"style.menu.dash":ifn,"style.menu.size":afn,"style.menu.keep.open":ofn,"style.menu.font":sfn,"style.menu.align":lfn,styles:ufn,"zoom.in":cfn,"zoom.out":ffn,to:dfn,"menu.tools":hfn,"menu.transform":pfn,"menu.file":gfn,"menu.edit":mfn,"menu.view":vfn,"menu.preferences":yfn,"menu.sign.in":bfn,"menu.sign.out":wfn,"become.a.sponsor":kfn,"zoom.to.content":_fn,"zoom.to.selection":Cfn,"zoom.to.fit":Efn,"zoom.to":xfn,"preferences.dark.mode":Sfn,"preferences.focus.mode":Afn,"preferences.debug.mode":Tfn,"preferences.show.grid":Dfn,"preferences.use.cad.selection":Ifn,"preferences.keep.stylemenu.open":Rfn,"preferences.always.show.snaps":Mfn,"preferences.rotate.handles":Ofn,"preferences.binding.handles":Lfn,"preferences.clone.handles":Bfn,undo:Pfn,redo:Ffn,cut:Nfn,copy:$fn,paste:zfn,"copy.as":Ufn,"export.as":jfn,"select.all":Hfn,"select.none":qfn,delete:Wfn,"new.project":Gfn,open:Vfn,save:Kfn,"save.as":Yfn,"upload.media":Xfn,"create.page":Jfn,"new.page":Zfn,"page.name":Qfn,duplicate:edn,cancel:tdn,"copy.invite.link":ndn,"copy.readonly.link":rdn,"create.multiplayer.project":idn,"copy.multiplayer.project":adn,select:odn,eraser:sdn,draw:ldn,arrow:udn,text:cdn,sticky:fdn,rectangle:ddn,ellipse:hdn,triangle:pdn,line:gdn,rotate:mdn,"lock.aspect.ratio":vdn,"unlock.aspect.ratio":ydn,group:bdn,ungroup:wdn,"move.to.back":kdn,"move.backward":_dn,"move.forward":Cdn,"move.to.front":Edn,"reset.angle":xdn,lock:Sdn,unlock:Adn,"align.distribute":Tdn,"move.to.page":Ddn,"flip.horizontal":Idn,"flip.vertical":Rdn,move:Mdn,"to.front":Odn,forward:Ldn,backward:Bdn,back:Pdn,language:Fdn,"translation.link":Ndn,"dock.position":$dn,bottom:zdn,left:Udn,right:jdn,top:Hdn,page:qdn,"keyboard.shortcuts":Wdn,search:Gdn,loading:Vdn,"export.background":Kdn,transparent:Ydn,auto:Xdn,light:Jdn,dark:Zdn,github:Qdn,twitter:ehn,discord:thn,image:nhn,"align.left":rhn,"align.center.x":ihn,"align.right":ahn,"align.top":ohn,"align.center.y":shn,"align.bottom":lhn,"distribute.x":uhn,"distribute.y":chn,"stretch.x":fhn,"stretch.y":dhn,"dialog.save.firsttime":hhn,"dialog.save.again":phn,"dialog.cancel":ghn,"dialog.no":mhn,"dialog.yes":vhn,"enter.file.name":yhn,"tldraw-beta":bhn},khn="رەنگ",_hn="پڕکردنەوە",Chn="لەت لەت",Ehn="قەبارە",xhn="بە کراوەیی بمێنەرەوە",Shn="هێڵ",Ahn="ڕێکخستن",Thn="نەخشەکان",Dhn="هێنانە پێشەوە",Ihn="دوور خستنەوە",Rhn="بۆ",Mhn="ئامرازەکان",Ohn="گۆڕین",Lhn="فایلێک",Bhn="دەستکاری",Phn="دیمەن",Fhn="خواست",Nhn="چوونە ژوورەوە",$hn="دەرچوون",zhn="سپۆنسەر بە",Uhn="زووم بکە بۆ ناوەڕۆک",jhn="زووم بکە بۆ هەڵبژاردن",Hhn="زووم بکە بۆ ئەوەی لەگەڵیدا بگونجێت",qhn="زووم بکە بۆ",Whn="دۆخی تاریک",Ghn="دۆخی فۆکەس",Vhn="مۆدی هەڵەدۆزین",Khn="تۆڕی پیشان بدە",Yhn="بەکاربهێنە CAD هەڵبژاردنی",Xhn="مێنۆی ستایل بە کراوەیی بهێڵەرەوە",Jhn="هەمیشە وێنەی خێرا پیشان بدە",Zhn="سورانەوەی دەستەکان",Qhn="بەستنەوەی دەستەکان",e0n="کلۆن کردنی دەستەکان",t0n="پاشەکشە بکە",n0n="دووبارە بیکەرەوە",r0n="بڕین",i0n="کۆپی بکە",a0n="پەیست بکە",o0n="کۆپی وەک",s0n="هەناردەکردن وەک",l0n="هەموویان هەڵبژێره",u0n="هیچ هه‌ڵمه‌بژێره‌",c0n="سڕینەوە",f0n="پڕۆژەی نوێ",d0n="کردنەوە",h0n="هەڵگرتن",p0n="هەڵگرتن وەک",g0n="داگرتنی میدیا",m0n="دروستکردنی لاپەڕە",v0n="لاپەڕەی نوێ",y0n="ناوی لاپەڕە",b0n="دووبارەکردنەوە",w0n="ڕەتکردنەوە",k0n="لینکی بانگهێشتکردن کۆپی بکە",_0n="بە شێوەیەکی هەڕەمەکی کۆپی بکە",C0n="دروستکردنی پرۆژەی فرە بەکارهێنەر",E0n="کۆپی بکە بۆ پڕۆژەیەکی فرە بەکارهێنەر",x0n="دەسنیاشنکردن",S0n="سڕەرەوە",A0n="وێنەکێشان",T0n="تیر",D0n="دەق",I0n="چەسپاو",R0n="لاکێشە",M0n="بیبلی",O0n="سێگۆشە",L0n="هێڵ",B0n="سوڕانەوە",P0n="قفڵکردنی ڕێژەی ڕووبەری",F0n="کردنەوەی ڕێژەی ڕووبەری",N0n="کۆمەڵە",$0n="لابردنی کۆمەڵە",z0n="بچۆ بۆ پشتەوە",U0n="بەرەو دواوە",j0n="بڕۆ پێشەوە",H0n="بگوازرێتەوە بۆ پێشەوە",q0n="گۆشەی پشوودان",W0n="قوفڵ",G0n="لابردنی قوفڵ",V0n="بچۆ بۆ لاپەڕە",K0n="ئاسۆیی وەرگەڕاندن",Y0n="ستونی وەرگەڕاندن",X0n="جووڵە",J0n="بۆ پێشەوە",Z0n="بۆپشتەوە",Q0n="بۆدواوە",epn="گەڕانەوە",tpn="زمان",npn="بەستەری وەرگێڕان",rpn="شوێنی دۆک",ipn="خوارەوە",apn="چەپ",opn="ڕاست",spn="سەروو",lpn="لاپەڕە",upn="کورتکراوەکانی تەختەکلیل",cpn="گەڕان",fpn="بارکردن",dpn="پاشخانی هەناردەکردن",hpn="ڕوون",ppn="ئۆتۆماتیکی",gpn="رووناک",mpn="تاریک",vpn={"style.menu.color":khn,"style.menu.fill":_hn,"style.menu.dash":Chn,"style.menu.size":Ehn,"style.menu.keep.open":xhn,"style.menu.font":Shn,"style.menu.align":Ahn,styles:Thn,"zoom.in":Dhn,"zoom.out":Ihn,to:Rhn,"menu.tools":Mhn,"menu.transform":Ohn,"menu.file":Lhn,"menu.edit":Bhn,"menu.view":Phn,"menu.preferences":Fhn,"menu.sign.in":Nhn,"menu.sign.out":$hn,"become.a.sponsor":zhn,"zoom.to.content":Uhn,"zoom.to.selection":jhn,"zoom.to.fit":Hhn,"zoom.to":qhn,"preferences.dark.mode":Whn,"preferences.focus.mode":Ghn,"preferences.debug.mode":Vhn,"preferences.show.grid":Khn,"preferences.use.cad.selection":Yhn,"preferences.keep.stylemenu.open":Xhn,"preferences.always.show.snaps":Jhn,"preferences.rotate.handles":Zhn,"preferences.binding.handles":Qhn,"preferences.clone.handles":e0n,undo:t0n,redo:n0n,cut:r0n,copy:i0n,paste:a0n,"copy.as":o0n,"export.as":s0n,"select.all":l0n,"select.none":u0n,delete:c0n,"new.project":f0n,open:d0n,save:h0n,"save.as":p0n,"upload.media":g0n,"create.page":m0n,"new.page":v0n,"page.name":y0n,duplicate:b0n,cancel:w0n,"copy.invite.link":k0n,"copy.readonly.link":_0n,"create.multiplayer.project":C0n,"copy.multiplayer.project":E0n,select:x0n,eraser:S0n,draw:A0n,arrow:T0n,text:D0n,sticky:I0n,rectangle:R0n,ellipse:M0n,triangle:O0n,line:L0n,rotate:B0n,"lock.aspect.ratio":P0n,"unlock.aspect.ratio":F0n,group:N0n,ungroup:$0n,"move.to.back":z0n,"move.backward":U0n,"move.forward":j0n,"move.to.front":H0n,"reset.angle":q0n,lock:W0n,unlock:G0n,"move.to.page":V0n,"flip.horizontal":K0n,"flip.vertical":Y0n,move:X0n,"to.front":J0n,forward:Z0n,backward:Q0n,back:epn,language:tpn,"translation.link":npn,"dock.position":rpn,bottom:ipn,left:apn,right:opn,top:spn,page:lpn,"keyboard.shortcuts":upn,search:cpn,loading:fpn,"export.background":dpn,transparent:hpn,auto:ppn,light:gpn,dark:mpn},ypn="Color",bpn="Fill",wpn="Dash",kpn="Size",_pn="Keep Open",Cpn="Font",Epn="Align",xpn="Styles",Spn="Zoom In",Apn="Zoom Out",Tpn="To",Dpn="Tools",Ipn="Transform",Rpn="File",Mpn="Edit",Opn="View",Lpn="Preferences",Bpn="Sign In",Ppn="Sign Out",Fpn="Become a Sponsor",Npn="Back to content",$pn="Zoom to Selection",zpn="Zoom to Fit",Upn="Zoom to",jpn="Dark Mode",Hpn="Focus Mode",qpn="Debug Mode",Wpn="Show Grid",Gpn="Use CAD Selection",Vpn="Keep Style Menu Open",Kpn="Always Show Snaps",Ypn="Rotate Handles",Xpn="Binding Handles",Jpn="Clone Handles",Zpn="Undo",Qpn="Redo",e1n="Cut",t1n="Copy",n1n="Paste",r1n="Copy As",i1n="Export As",a1n="Select All",o1n="Select None",s1n="Delete",l1n="New Project",u1n="Open",c1n="Save",f1n="Save As",d1n="Upload Media",h1n="Create Page",p1n="New Page",g1n="Page Name",m1n="Duplicate",v1n="Shape Options",y1n="Shapes",b1n="Cancel",w1n="Copy Invite Link",k1n="Copy ReadOnly Link",_1n="Create a Multiplayer Project",C1n="Copy to Multiplayer Project",E1n="Select",x1n="Eraser",S1n="Draw",A1n="Arrow",T1n="Text",D1n="Sticky",I1n="Rectangle",R1n="Ellipse",M1n="Triangle",O1n="Line",L1n="Rotate",B1n="Lock Aspect Ratio",P1n="Unlock Aspect Ratio",F1n="Group",N1n="Ungroup",$1n="Move to Back",z1n="Move Backward",U1n="Move Forward",j1n="Move to Front",H1n="Reset Angle",q1n="Lock",W1n="Unlock",G1n="Align / Distribute",V1n="Move to Page",K1n="Flip Horizontal",Y1n="Flip Vertical",X1n="Move",J1n="To Front",Z1n="Forward",Q1n="Backward",egn="To Back",tgn="Language",ngn="Learn More",rgn="Dock Position",ign="Bottom",agn="Left",ogn="Right",sgn="Top",lgn="Page",ugn="Keyboard shortcuts",cgn="Search",fgn="Loading{dots}",dgn="Export Background",hgn="Transparent",pgn="Auto",ggn="Light",mgn="Dark",vgn="Github",ygn="Twitter",bgn="Discord",wgn="Image",kgn="Align Left",_gn="Align Horizontal Center",Cgn="Align Right",Egn="Align Top",xgn="Align Vertical Center",Sgn="Align Bottom",Agn="Distribute Horizontal",Tgn="Distribute Vertical",Dgn="Stretch Horizontal",Ign="Stretch Vertical",Rgn="Do you want to save your current project?",Mgn="Do you want to save changes to your current project?",Ogn="Cancel",Lgn="No",Bgn="Yes",Pgn="Enter file name",Fgn="Try the new tldraw",Ngn="White",$gn="Light gray",zgn="Gray",Ugn="Black",jgn="Green",Hgn="Cyan",qgn="Blue",Wgn="Indigo",Ggn="Violet",Vgn="Red",Kgn="Orange",Ygn="Yellow",Xgn="Solid",Jgn="Dashed",Zgn="Dotted",Qgn="Small",emn="Medium",tmn="Large",nmn={"style.menu.color":ypn,"style.menu.fill":bpn,"style.menu.dash":wpn,"style.menu.size":kpn,"style.menu.keep.open":_pn,"style.menu.font":Cpn,"style.menu.align":Epn,styles:xpn,"zoom.in":Spn,"zoom.out":Apn,to:Tpn,"menu.tools":Dpn,"menu.transform":Ipn,"menu.file":Rpn,"menu.edit":Mpn,"menu.view":Opn,"menu.preferences":Lpn,"menu.sign.in":Bpn,"menu.sign.out":Ppn,"become.a.sponsor":Fpn,"zoom.to.content":Npn,"zoom.to.selection":$pn,"zoom.to.fit":zpn,"zoom.to":Upn,"preferences.dark.mode":jpn,"preferences.focus.mode":Hpn,"preferences.debug.mode":qpn,"preferences.show.grid":Wpn,"preferences.use.cad.selection":Gpn,"preferences.keep.stylemenu.open":Vpn,"preferences.always.show.snaps":Kpn,"preferences.rotate.handles":Ypn,"preferences.binding.handles":Xpn,"preferences.clone.handles":Jpn,undo:Zpn,redo:Qpn,cut:e1n,copy:t1n,paste:n1n,"copy.as":r1n,"export.as":i1n,"select.all":a1n,"select.none":o1n,delete:s1n,"new.project":l1n,open:u1n,save:c1n,"save.as":f1n,"upload.media":d1n,"create.page":h1n,"new.page":p1n,"page.name":g1n,duplicate:m1n,"shape.options":v1n,shapes:y1n,cancel:b1n,"copy.invite.link":w1n,"copy.readonly.link":k1n,"create.multiplayer.project":_1n,"copy.multiplayer.project":C1n,select:E1n,eraser:x1n,draw:S1n,arrow:A1n,text:T1n,sticky:D1n,rectangle:I1n,ellipse:R1n,triangle:M1n,line:O1n,rotate:L1n,"lock.aspect.ratio":B1n,"unlock.aspect.ratio":P1n,group:F1n,ungroup:N1n,"move.to.back":$1n,"move.backward":z1n,"move.forward":U1n,"move.to.front":j1n,"reset.angle":H1n,lock:q1n,unlock:W1n,"align.distribute":G1n,"move.to.page":V1n,"flip.horizontal":K1n,"flip.vertical":Y1n,move:X1n,"to.front":J1n,forward:Z1n,backward:Q1n,back:egn,language:tgn,"translation.link":ngn,"dock.position":rgn,bottom:ign,left:agn,right:ogn,top:sgn,page:lgn,"keyboard.shortcuts":ugn,search:cgn,loading:fgn,"export.background":dgn,transparent:hgn,auto:pgn,light:ggn,dark:mgn,github:vgn,twitter:ygn,discord:bgn,image:wgn,"align.left":kgn,"align.center.x":_gn,"align.right":Cgn,"align.top":Egn,"align.center.y":xgn,"align.bottom":Sgn,"distribute.x":Agn,"distribute.y":Tgn,"stretch.x":Dgn,"stretch.y":Ign,"dialog.save.firsttime":Rgn,"dialog.save.again":Mgn,"dialog.cancel":Ogn,"dialog.no":Lgn,"dialog.yes":Bgn,"enter.file.name":Pgn,"tldraw-beta":Fgn,white:Ngn,lightGray:$gn,gray:zgn,black:Ugn,green:jgn,cyan:Hgn,blue:qgn,indigo:Wgn,violet:Ggn,red:Vgn,orange:Kgn,yellow:Ygn,solid:Xgn,dashed:Jgn,dotted:Zgn,small:Qgn,medium:emn,large:tmn},rmn="အရောင်",imn="အရောင် ထည့်မည်",amn="မျဥ်းစက်",omn="အရွယ်အစား",smn="ဖွင့်ထားမည်",lmn="စာသားဖောင့်",umn="အထားအသို",cmn="စတိုင်",fmn="အကြီးချဲ့မည်",dmn="ပြန်ကျဥ်းမည်",hmn="သို့",pmn="ကိရိယာများ",gmn="ပြောင်းလည်ရန်",mmn="ဖိုင်",vmn="ပြုပြင်",ymn="အမြင်",bmn="ဆက်တင်",wmn="ဝင်မည်",kmn="ထွက်မည်",_mn="ငွေကြေးထောက်ပံမည်",Cmn="ပင်မနေရာသို့ ပြန်သွားမည်",Emn="ရွေးထားသော နေရာသို့ အာရုံပြုမည်",xmn="အံကိုက်ဖြစ်အောင် ချဲ့မည်",Smn="ပုံမှန်ဆိုဒ်သို့ ချဲ့မည်",Amn="အမှောင် မုဒ်",Tmn="ရှင်းရှင်းလင်းလင်း မုဒ်",Dmn="စမ်းသပ် မုဒ်",Imn="နောက်ခံ ဇယားကွက်ပြရန်",Rmn="CAD ကဲ့သို့ ရွေးချယ်မှု ပြုလုပ်မည်",Mmn="စတိုင်လ် မီနူးကို အမြဲဖွင့်ထားမည်",Omn="Always Show Snaps",Lmn="Rotate Handles",Bmn="Binding Handles",Pmn="Clone Handles",Fmn="နဂိုမူလသို့ ပြန်လုပ်ရန်",Nmn="ပြန်လုပ်ရန်",$mn="ဖြတ်ယူ",zmn="ကူးယူ",Umn="ကူးသွင်း",jmn="ကူးယူမည့် ပုံစံ",Hmn="ထုတ်ချင်သည့် ပုံစံ",qmn="အားလုံးကို ရွေးချယ်ရန်",Wmn="တစ်ခုမှ မရွေးတော့ပါ",Gmn="ဖျက်မည်",Vmn="ပရောဂျက် အသစ်",Kmn="ဖွင့်မည်",Ymn="သိမ်းမည်",Xmn="အခြားသော ပုံစံဖြင့် သိမ်းမည်",Jmn="မီဒီယာဖိုင်များ တင်မည်",Zmn="စာမျက်နှာ အသစ်ဖွင့်မည်",Qmn="စာမျက်နှာ အသစ်",evn="စာမျက်နှာ အမည်",tvn="ပွားမည်",nvn="မလုပ်တော့ပါ",rvn="ဖိတ်ကြားရန် လင့်ခ်ကူးယူမည်",ivn="ကြည့်ရူရန်အတွက်သာ လင့်ခ်ကူးယူမည်",avn="အများသုံး ပရောဂျက်အဖြစ် အသစ်ဖန်တီးမည်",ovn="အများသုံး ပရောဂျက်အဖြစ်သို့ ကူးယူမည်",svn="ရွေးချယ်မှု",lvn="ခဲဖျက်",uvn="ခဲတံ",cvn="မြှား",fvn="စာသား",dvn="ကပ်ခွာမှတ်စု",hvn="လေထောင့်",pvn="ဘဲဥ",gvn="တြိဂံ",mvn="မျဥ်း",vvn="လှည့်မည်",yvn="အချိုးအစား ထိန်းထားမည်",bvn="အချိုးအစား မထိန်းတော့ပါ",wvn="အုပ်စုဖွဲ့",kvn="အုပ်စုခွဲ",_vn="နောက်ဆုံးသို့ ပို့မည်",Cvn="နောက်သို့ တစ်ဆင့်ပို့မည်",Evn="ရှေ့သို့ တစ်ဆင့်ပို့မည်",xvn="ရှေ့ဆုံးသို့ ပို့မည်",Svn="နဂိုမူလ ထောင့်ချိုးစားသို့ပြောင်းမည်",Avn="ခတ်ထားမည်",Tvn="ဖွင့်ထားမည်",Dvn="နေရာ အထားအသို/ အဆန့်အကျုံ့",Ivn="စာမျက်နှာတစ်ခုသို့ ရွေးမည်",Rvn="အလျားလိုက် လှန်မည်",Mvn="ဒေါင်လိုက် လှန်မည်",Ovn="ရွေ့မည်",Lvn="ရှေ့ဆုံးသို့",Bvn="ရှေ့တစ်ဆင့်",Pvn="နောက်တစ်ဆင့်",Fvn="နောက်ဆုံးသို့",Nvn="ဘာသာစကား",$vn="ပိုမို၍ လေ့လာရန်",zvn="ကိရိယာ အနေအထား",Uvn="အောက်",jvn="ဘယ်",Hvn="ညာ",qvn="ထိပ်",Wvn="စာမျက်နှာ",Gvn="Keyboard shortcuts",Vvn="ရှာဖွေရန်",Kvn="ခဏစောင့်ပေးရန်{dots}",Yvn="နောက်ခံ ထုတ်ယူမည်",Xvn="နောက်ခံ အကြည်",Jvn="Auto",Zvn="အလင်း",Qvn="အမှောင်",e2n="Github",t2n="Twitter",n2n="Discord",r2n="ဓာတ်ပုံ",i2n="ဘယ်ဖက်သို့ ညှိရန်",a2n="အလျားလိုက် ဗဟိုဆီသို့ ညှိရန်",o2n="ညာဖက်သို့ ညှိရန်",s2n="အပေါ်သို့ ညှိရန်",l2n="ဒေါင်လိုက် ဗဟိုဆီသို့ ညှိရန်",u2n="အောက်သို့ ညှိရန်",c2n="အလျားလိုက် ဖြန့်ရန်",f2n="ဒေါင်လိုက် ဖြန့်ရန်",d2n="အလျားလိုက် ဆွဲဆန့်ရန်",h2n="ဒေါင်လိုက် ဆွဲဆန့်ရန်",p2n="ယခု ပရောဂျက်ကို သိမ်းဆည်လိုပါသလား ?",g2n="ယခု ပရောဂျက်တွင် ပြင်ထားသော အပြောင်းအလည်များကို အတည်ပြု သိမ်းဆည်လိုပါသလား?",m2n="ဘာမှ မလုပ်တော့ပါ",v2n="မလိုတော့ပါ",y2n="လိုပါသည်",b2n="ဖိုင်နာမည် ထည့်သွင်းရန်",w2n="tldraw အသစ်စမ်းသုံးကြည့်ရန်",k2n={"style.menu.color":rmn,"style.menu.fill":imn,"style.menu.dash":amn,"style.menu.size":omn,"style.menu.keep.open":smn,"style.menu.font":lmn,"style.menu.align":umn,styles:cmn,"zoom.in":fmn,"zoom.out":dmn,to:hmn,"menu.tools":pmn,"menu.transform":gmn,"menu.file":mmn,"menu.edit":vmn,"menu.view":ymn,"menu.preferences":bmn,"menu.sign.in":wmn,"menu.sign.out":kmn,"become.a.sponsor":_mn,"zoom.to.content":Cmn,"zoom.to.selection":Emn,"zoom.to.fit":xmn,"zoom.to":Smn,"preferences.dark.mode":Amn,"preferences.focus.mode":Tmn,"preferences.debug.mode":Dmn,"preferences.show.grid":Imn,"preferences.use.cad.selection":Rmn,"preferences.keep.stylemenu.open":Mmn,"preferences.always.show.snaps":Omn,"preferences.rotate.handles":Lmn,"preferences.binding.handles":Bmn,"preferences.clone.handles":Pmn,undo:Fmn,redo:Nmn,cut:$mn,copy:zmn,paste:Umn,"copy.as":jmn,"export.as":Hmn,"select.all":qmn,"select.none":Wmn,delete:Gmn,"new.project":Vmn,open:Kmn,save:Ymn,"save.as":Xmn,"upload.media":Jmn,"create.page":Zmn,"new.page":Qmn,"page.name":evn,duplicate:tvn,cancel:nvn,"copy.invite.link":rvn,"copy.readonly.link":ivn,"create.multiplayer.project":avn,"copy.multiplayer.project":ovn,select:svn,eraser:lvn,draw:uvn,arrow:cvn,text:fvn,sticky:dvn,rectangle:hvn,ellipse:pvn,triangle:gvn,line:mvn,rotate:vvn,"lock.aspect.ratio":yvn,"unlock.aspect.ratio":bvn,group:wvn,ungroup:kvn,"move.to.back":_vn,"move.backward":Cvn,"move.forward":Evn,"move.to.front":xvn,"reset.angle":Svn,lock:Avn,unlock:Tvn,"align.distribute":Dvn,"move.to.page":Ivn,"flip.horizontal":Rvn,"flip.vertical":Mvn,move:Ovn,"to.front":Lvn,forward:Bvn,backward:Pvn,back:Fvn,language:Nvn,"translation.link":$vn,"dock.position":zvn,bottom:Uvn,left:jvn,right:Hvn,top:qvn,page:Wvn,"keyboard.shortcuts":Gvn,search:Vvn,loading:Kvn,"export.background":Yvn,transparent:Xvn,auto:Jvn,light:Zvn,dark:Qvn,github:e2n,twitter:t2n,discord:n2n,image:r2n,"align.left":i2n,"align.center.x":a2n,"align.right":o2n,"align.top":s2n,"align.center.y":l2n,"align.bottom":u2n,"distribute.x":c2n,"distribute.y":f2n,"stretch.x":d2n,"stretch.y":h2n,"dialog.save.firsttime":p2n,"dialog.save.again":g2n,"dialog.cancel":m2n,"dialog.no":v2n,"dialog.yes":y2n,"enter.file.name":b2n,"tldraw-beta":w2n},_2n="Farge",C2n="Fyll",E2n="Linje",x2n="Størrelse",S2n="Hold åpen",A2n="Teksttype",T2n="Juster",D2n="Stiler",I2n="Zoom inn",R2n="Zoom ut",M2n="til",O2n="Fil",L2n="Rediger",B2n="Vis",P2n="Preferanser",F2n="Logg inn",N2n="Logg ut",$2n="Bli en sponsor",z2n="Zoom til valg",U2n="Zoom for å passe",j2n="Zoom til",H2n="Mørk modus",q2n="Fokus modus",W2n="Debug modus",G2n="Vis rutenett",V2n="Bruk CAD seleksjon",K2n="Hold stilmeny åpen",Y2n="Vis alltid snaps",X2n="Vis roteringshåndtak",J2n="Vis bindingshåndtak",Z2n="Vis kloningshåndtak",Q2n="Angre",eyn="Gjør om",tyn="Klipp ut",nyn="Kopier",ryn="Lim inn",iyn="Kopier som",ayn="Eksporter som",oyn="Velg alle",syn="Velg ingen",lyn="Slett",uyn="Nytt prosjekt",cyn="Åpne",fyn="Lagre",dyn="Lagre som",hyn="Last opp media",pyn="Opprett side",gyn="Ny side",myn="Sidenavn",vyn="Dupliser",yyn="Avbryt",byn="Kopier invitasjonslink",wyn="Opprett et flerspiller prosjekt",kyn="Kopier til flerspiller prosjekt",_yn="Velg",Cyn="Viskelær",Eyn="Tegn",xyn="Pil",Syn="Tekst",Ayn="Lapp",Tyn="Rektangel",Dyn="Ellipse",Iyn="Trekant",Ryn="Linje",Myn="Roter",Oyn="Lås størrelsesforhold",Lyn="Lås opp størrelsesforhold",Byn="Grupper",Pyn="Avgrupper",Fyn="Flytt bakerst",Nyn="Flytt bakover",$yn="Flytt forover",zyn="Flytt til front",Uyn="Tilbakestill vinkel",jyn="Lås",Hyn="Lås opp",qyn="Flytt til side",Wyn="Snu horisontalt",Gyn="Snu vertikalt",Vyn="Flytt",Kyn="Foran",Yyn="Framover",Xyn="Bakover",Jyn="Bakerst",Zyn="Språk",Qyn={"style.menu.color":_2n,"style.menu.fill":C2n,"style.menu.dash":E2n,"style.menu.size":x2n,"style.menu.keep.open":S2n,"style.menu.font":A2n,"style.menu.align":T2n,styles:D2n,"zoom.in":I2n,"zoom.out":R2n,to:M2n,"menu.file":O2n,"menu.edit":L2n,"menu.view":B2n,"menu.preferences":P2n,"menu.sign.in":F2n,"menu.sign.out":N2n,"become.a.sponsor":$2n,"zoom.to.selection":z2n,"zoom.to.fit":U2n,"zoom.to":j2n,"preferences.dark.mode":H2n,"preferences.focus.mode":q2n,"preferences.debug.mode":W2n,"preferences.show.grid":G2n,"preferences.use.cad.selection":V2n,"preferences.keep.stylemenu.open":K2n,"preferences.always.show.snaps":Y2n,"preferences.rotate.handles":X2n,"preferences.binding.handles":J2n,"preferences.clone.handles":Z2n,undo:Q2n,redo:eyn,cut:tyn,copy:nyn,paste:ryn,"copy.as":iyn,"export.as":ayn,"select.all":oyn,"select.none":syn,delete:lyn,"new.project":uyn,open:cyn,save:fyn,"save.as":dyn,"upload.media":hyn,"create.page":pyn,"new.page":gyn,"page.name":myn,duplicate:vyn,cancel:yyn,"copy.invite.link":byn,"create.multiplayer.project":wyn,"copy.multiplayer.project":kyn,select:_yn,eraser:Cyn,draw:Eyn,arrow:xyn,text:Syn,sticky:Ayn,rectangle:Tyn,ellipse:Dyn,triangle:Iyn,line:Ryn,rotate:Myn,"lock.aspect.ratio":Oyn,"unlock.aspect.ratio":Lyn,group:Byn,ungroup:Pyn,"move.to.back":Fyn,"move.backward":Nyn,"move.forward":$yn,"move.to.front":zyn,"reset.angle":Uyn,lock:jyn,unlock:Hyn,"move.to.page":qyn,"flip.horizontal":Wyn,"flip.vertical":Gyn,move:Vyn,"to.front":Kyn,forward:Yyn,backward:Xyn,back:Jyn,language:Zyn},ebn="रंग",tbn="भर्नुहोस्",nbn="धर्का",rbn="आकार",ibn="खुला राख्नुहोस्",abn="फन्ट",obn="पङ्क्तिबद्ध",sbn="शैलीहरू",lbn="जुम इन",ubn="जुम आउट",cbn="टु",fbn="फाइल",dbn="सम्पादन गर्नुहोस्",hbn="भ्यू",pbn="प्राथमिकताहरू",gbn="साइन इन गर्नुहोस्",mbn="साइन आउट गर्नुहोस्",vbn="प्रायोजक बन्नुहोस्",ybn="जुम टु सेलेक्सन",bbn="जुम टु फिट",wbn="जुम टु",kbn="अँध्यारो मोड",_bn="फोकस मोड",Cbn="डिबग मोड",Ebn="ग्रिड देखाउनुहोस्",xbn="CAD सेलेक्सन गर्नुहोस्",Sbn="स्टाइल मेनु खुला राख्नुहोस्",Abn="सधैँ स्न्यापहरू देखाउनुहोस्",Tbn="ह्यान्डलहरू घुमाउनुहोस्",Dbn="बाइन्डिङ ह्यान्डलहरू",Ibn="क्लोन ह्यान्डलहरू",Rbn="पूर्ववत गर्नुहोस्",Mbn="पुनः गर्नुहोस्",Obn="कट गर्नुहोस्",Lbn="कपि गर्नुहोस्",Bbn="पेस्ट गर्नुहोस्",Pbn="कपि एज",Fbn="एक्सपोर्ट एज",Nbn="सबै छान्नुहोस्",$bn="केहि पनि सेलेक्ट नगर्नुहोस्",zbn="मेटाउनुहोस्",Ubn="नयाँ परियोजना",jbn="खोल्नुहोस्",Hbn="सुरक्षित गर्नुहोस्",qbn="सेभ एज",Wbn="मिडिया अपलोड गर्नुहोस्",Gbn="पृष्ठ सिर्जना गर्नुहोस्",Vbn="नयाँ पृष्ठ सिर्जना गर्नुहोस्",Kbn="पृष्ठको नाम",Ybn="अनुलिपि गर्नुहोस्",Xbn="रद्द गर्नुहोस्",Jbn="निमन्त्रणा लिङ्क कपि गर्नुहोस्",Zbn="मल्टिप्लेयर परियोजना सिर्जना गर्नुहोस्",Qbn="मल्टिप्लेयर प्रोजेक्टमा कपि गर्नुहोस्",e4n="सेलेक्ट",t4n="इरेजर",n4n="चित्र बनाउनु",r4n="तीर",i4n="शब्द",a4n="टाँसिने",o4n="आयत",s4n="दीर्घवृत्त",l4n="त्रिभुज",u4n="रेखा",c4n="घुमाउनुहोस्",f4n="आकार अनुपात लक गर्नुहोस्",d4n="आकार अनुपात अनलक गर्नुहोस्",h4n="समूह",p4n="समूह रद्द गर्नुहोस्",g4n="पछाडि सार्नुहोस्",m4n="थप पछाडि सार्नुहोस्",v4n="अगाडि सार्नुहोस्",y4n="थप अगाडि सार्नुहोस्",b4n="कोण रिसेट गर्नुहोस्",w4n="लक गर्नुहोस्",k4n="अनलक गर्नुहोस्",_4n="पृष्ठमा सार्नुहोस्",C4n="तेर्सो फ्लिप गर्नुहोस्",E4n="ठाडो फ्लिप गर्नुहोस्",x4n="सार्नुहोस्",S4n="थप अगाडि",A4n="अगाडि",T4n="पछाडि",D4n="थप पछाडि",I4n="भाषा",R4n={"style.menu.color":ebn,"style.menu.fill":tbn,"style.menu.dash":nbn,"style.menu.size":rbn,"style.menu.keep.open":ibn,"style.menu.font":abn,"style.menu.align":obn,styles:sbn,"zoom.in":lbn,"zoom.out":ubn,to:cbn,"menu.file":fbn,"menu.edit":dbn,"menu.view":hbn,"menu.preferences":pbn,"menu.sign.in":gbn,"menu.sign.out":mbn,"become.a.sponsor":vbn,"zoom.to.selection":ybn,"zoom.to.fit":bbn,"zoom.to":wbn,"preferences.dark.mode":kbn,"preferences.focus.mode":_bn,"preferences.debug.mode":Cbn,"preferences.show.grid":Ebn,"preferences.use.cad.selection":xbn,"preferences.keep.stylemenu.open":Sbn,"preferences.always.show.snaps":Abn,"preferences.rotate.handles":Tbn,"preferences.binding.handles":Dbn,"preferences.clone.handles":Ibn,undo:Rbn,redo:Mbn,cut:Obn,copy:Lbn,paste:Bbn,"copy.as":Pbn,"export.as":Fbn,"select.all":Nbn,"select.none":$bn,delete:zbn,"new.project":Ubn,open:jbn,save:Hbn,"save.as":qbn,"upload.media":Wbn,"create.page":Gbn,"new.page":Vbn,"page.name":Kbn,duplicate:Ybn,cancel:Xbn,"copy.invite.link":Jbn,"create.multiplayer.project":Zbn,"copy.multiplayer.project":Qbn,select:e4n,eraser:t4n,draw:n4n,arrow:r4n,text:i4n,sticky:a4n,rectangle:o4n,ellipse:s4n,triangle:l4n,line:u4n,rotate:c4n,"lock.aspect.ratio":f4n,"unlock.aspect.ratio":d4n,group:h4n,ungroup:p4n,"move.to.back":g4n,"move.backward":m4n,"move.forward":v4n,"move.to.front":y4n,"reset.angle":b4n,lock:w4n,unlock:k4n,"move.to.page":_4n,"flip.horizontal":C4n,"flip.vertical":E4n,move:x4n,"to.front":S4n,forward:A4n,backward:T4n,back:D4n,language:I4n},M4n="Farge",O4n="Fyll",L4n="Line",B4n="Storleik",P4n="Hald open",F4n="Teksttype",N4n="Tilpass",$4n="Stilar",z4n="Zoom inn",U4n="Zoom ut",j4n="til",H4n="Fil",q4n="Rediger",W4n="Vis",G4n="Innstillingar",V4n="Logg inn",K4n="Logg ut",Y4n="Vert sponsor",X4n="Zoom til innhald",J4n="Zoom til valte element",Z4n="Zoom for å passe",Q4n="Zoom til",e3n="Mørkmodus",t3n="Fokusmodus",n3n="Debugmodus",r3n="Vis rutenett",i3n="Bruk CAD-val",a3n="Hald stilmeny open",o3n="Vis alltid snaps",s3n="Vis roteringshandtak",l3n="Vis bindingshandtak",u3n="Vis kloningshandtak",c3n="Angre",f3n="Gjer om",d3n="Klipp ut",h3n="Kopier",p3n="Lim inn",g3n="Kopier som",m3n="Eksporter som",v3n="Vel alle",y3n="Vel ingen",b3n="Slett",w3n="Nytt prosjekt",k3n="Opne",_3n="Lagre",C3n="Lagre som",E3n="Last opp media",x3n="Opprett side",S3n="Ny side",A3n="Sidenamn",T3n="Dupliser",D3n="Avbryt",I3n="Kopier invitasjonslenke",R3n="Kopier invitasjonslenke (skrivebeskytta)",M3n="Lag samarbeidsprosjekt",O3n="Kopier til samarbeidsprosjekt",L3n="Vel",B3n="Viskelêr",P3n="Teikn",F3n="Pil",N3n="Tekst",$3n="Lapp",z3n="Rektangel",U3n="Runding",j3n="Trekant",H3n="Line",q3n="Roter",W3n="Lås storleiksforhold",G3n="Lås opp storleiksforhold",V3n="Grupper",K3n="Avgrupper",Y3n="Flytt bakarst",X3n="Flytt bakover",J3n="Flytt framover",Z3n="Flytt til front",Q3n="Tilbakestill vinkel",ewn="Lås",twn="Lås opp",nwn="Flytt til side",rwn="Snu horisontalt",iwn="Snu vertikalt",awn="Flytt",own="Framme",swn="Framover",lwn="Bakover",uwn="Bakarst",cwn="Språk",fwn="Les meir",dwn="Dokkplassering",hwn="Nede",pwn="Venstre",gwn="Høgre",mwn="Oppe",vwn="Side",ywn="Snøggtastar",bwn="Søk",wwn="Lastar{dots}",kwn="Eksporter bakgrunn",_wn="Gjennomsiktig",Cwn="Auto",Ewn="Lys",xwn="Mørk",Swn="Github",Awn="Twitter",Twn="Discord",Dwn="Bilete",Iwn="Venstrestill",Rwn="Midtstill horisontalt",Mwn="Høgrestill",Own="Still til toppen",Lwn="Midtstill vertikalt",Bwn="Still til botnen",Pwn="Distribuer horisontalt",Fwn="Distribuer vertikalt",Nwn="Strekk horisontalt",$wn="Strekk vertikalt",zwn="Vil du lagre det noverande prosjektet ditt?",Uwn="Vil du lagre endringane i det noverande prosjektet ditt?",jwn="Avbryt",Hwn="Nei",qwn="Ja",Wwn="Fyll inn filnamn",Gwn="Prøv den nye tldraw",Vwn="Kvit",Kwn="Lys grå",Ywn="Grå",Xwn="Svart",Jwn="Grøn",Zwn="Cyan",Qwn="Bkå",ekn="Indigo",tkn="Fiol",nkn="Raud",rkn="Oransj",ikn="Gul",akn="Heil",okn="Stipla",skn="Prikka",lkn="Liten",ukn="Mellomstor",ckn="Stor",fkn={"style.menu.color":M4n,"style.menu.fill":O4n,"style.menu.dash":L4n,"style.menu.size":B4n,"style.menu.keep.open":P4n,"style.menu.font":F4n,"style.menu.align":N4n,styles:$4n,"zoom.in":z4n,"zoom.out":U4n,to:j4n,"menu.file":H4n,"menu.edit":q4n,"menu.view":W4n,"menu.preferences":G4n,"menu.sign.in":V4n,"menu.sign.out":K4n,"become.a.sponsor":Y4n,"zoom.to.content":X4n,"zoom.to.selection":J4n,"zoom.to.fit":Z4n,"zoom.to":Q4n,"preferences.dark.mode":e3n,"preferences.focus.mode":t3n,"preferences.debug.mode":n3n,"preferences.show.grid":r3n,"preferences.use.cad.selection":i3n,"preferences.keep.stylemenu.open":a3n,"preferences.always.show.snaps":o3n,"preferences.rotate.handles":s3n,"preferences.binding.handles":l3n,"preferences.clone.handles":u3n,undo:c3n,redo:f3n,cut:d3n,copy:h3n,paste:p3n,"copy.as":g3n,"export.as":m3n,"select.all":v3n,"select.none":y3n,delete:b3n,"new.project":w3n,open:k3n,save:_3n,"save.as":C3n,"upload.media":E3n,"create.page":x3n,"new.page":S3n,"page.name":A3n,duplicate:T3n,cancel:D3n,"copy.invite.link":I3n,"copy.readonly.link":R3n,"create.multiplayer.project":M3n,"copy.multiplayer.project":O3n,select:L3n,eraser:B3n,draw:P3n,arrow:F3n,text:N3n,sticky:$3n,rectangle:z3n,ellipse:U3n,triangle:j3n,line:H3n,rotate:q3n,"lock.aspect.ratio":W3n,"unlock.aspect.ratio":G3n,group:V3n,ungroup:K3n,"move.to.back":Y3n,"move.backward":X3n,"move.forward":J3n,"move.to.front":Z3n,"reset.angle":Q3n,lock:ewn,unlock:twn,"move.to.page":nwn,"flip.horizontal":rwn,"flip.vertical":iwn,move:awn,"to.front":own,forward:swn,backward:lwn,back:uwn,language:cwn,"translation.link":fwn,"dock.position":dwn,bottom:hwn,left:pwn,right:gwn,top:mwn,page:vwn,"keyboard.shortcuts":ywn,search:bwn,loading:wwn,"export.background":kwn,transparent:_wn,auto:Cwn,light:Ewn,dark:xwn,github:Swn,twitter:Awn,discord:Twn,image:Dwn,"align.left":Iwn,"align.center.x":Rwn,"align.right":Mwn,"align.top":Own,"align.center.y":Lwn,"align.bottom":Bwn,"distribute.x":Pwn,"distribute.y":Fwn,"stretch.x":Nwn,"stretch.y":$wn,"dialog.save.firsttime":zwn,"dialog.save.again":Uwn,"dialog.cancel":jwn,"dialog.no":Hwn,"dialog.yes":qwn,"enter.file.name":Wwn,"tldraw-beta":Gwn,white:Vwn,lightGray:Kwn,gray:Ywn,black:Xwn,green:Jwn,cyan:Zwn,blue:Qwn,indigo:ekn,violet:tkn,red:nkn,orange:rkn,yellow:ikn,solid:akn,dashed:okn,dotted:skn,small:lkn,medium:ukn,large:ckn},dkn="Kolor",hkn="Wypełnienie",pkn="Linia",gkn="Rozmiar",mkn="Zachowaj otwarte",vkn="Czcionka",ykn="Wyrównanie",bkn="Style",wkn="Przybliż",kkn="Oddal",_kn="do",Ckn="Plik",Ekn="Edycja",xkn="Widok",Skn="Preferencje",Akn="Zaloguj",Tkn="Wyloguj",Dkn="Zostań sponsorem",Ikn="Przybliż do zaznaczenia",Rkn="Wypełnij ekran",Mkn="Przybliż do",Okn="Tryb ciemny",Lkn="Tryb skupienia",Bkn="Tryb debugowania",Pkn="Pokaż siatkę",Fkn="Użyj zaznaczania CAD",Nkn="Zachowaj menu styli otwarte",$kn="Przyciągaj obiekty",zkn="Uchwyty obrotu",Ukn="Uchwyty powiązania",jkn="Uchwyty klonujące",Hkn="Cofnij",qkn="Powtórz",Wkn="Wytnij",Gkn="Kopiuj",Vkn="Wklej",Kkn="Kopiuj jako",Ykn="Eksportuj jako",Xkn="Zaznacz wszystko",Jkn="Odznacz wszystko",Zkn="Usuń",Qkn="Nowy projekt",e6n="Otwórz",t6n="Zapisz",n6n="Zapisz jako",r6n="Załaduj multimedia",i6n="Utwórz stronę",a6n="Nowa strona",o6n="Nazwa strony",s6n="Powiel",l6n="Anuluj",u6n="Kopiuj link zaproszenia",c6n="Stwórz projekt wieloosobowy",f6n="Kopiuj do projektu wieloosobowego",d6n="Zaznacz",h6n="Gumka",p6n="Rysuj",g6n="Strzałka",m6n="Tekst",v6n="Naklejka",y6n="Prostokąt",b6n="Elipsa",w6n="Trójkąt",k6n="Linia",_6n="Obróć",C6n="Zablokuj proporcje",E6n="Odblokuj proporcje",x6n="Grupuj",S6n="Rozgrupuj",A6n="Przenieś na tył",T6n="Przesuń do tyłu",D6n="Przesuń do przodu",I6n="Przenieś na przód",R6n="Resetuj kąt",M6n="Zablokuj",O6n="Odblokuj",L6n="Przenieś na stronę",B6n="Odwróć w poziomie",P6n="Odwróć w pionie",F6n="Przenieś",N6n="Na wierzch",$6n="Do przodu",z6n="Do tyłu",U6n="Na spód",j6n="Język",H6n="Czytaj więcej",q6n="Pozycja przybornika",W6n="Dół",G6n="Lewa",V6n="Prawa",K6n="Góra",Y6n="Strona",X6n="Skróty klawiszowe",J6n="Szukaj",Z6n="Ładowanie{dots}",Q6n="Eksportuj tło",e_n="Przezroczyste",t_n="Automatyczny",n_n="Jasny",r_n="Ciemny",i_n="Github",a_n="Twitter",o_n="Discord",s_n="Obraz",l_n="Wyrównaj do lewej",u_n="Wycentruj poziomo",c_n="Wyrównaj do prawej",f_n="Wyrównaj do góry",d_n="Wycentruj pionowo",h_n="Wyrównaj do dołu",p_n="Rozłóż poziomo",g_n="Rozłóż pionowo",m_n="Rozciągnij poziomo",v_n="Rozciągnij pionowo",y_n="Czy chcesz zapisać bieżący projekt?",b_n="Czy chcesz zapisać zmiany w bieżącym projekcie?",w_n="Anuluj",k_n="Nie",__n="Tak",C_n="Podaj nazwę pliku",E_n="Wypróbuj nowy tldraw",x_n={"style.menu.color":dkn,"style.menu.fill":hkn,"style.menu.dash":pkn,"style.menu.size":gkn,"style.menu.keep.open":mkn,"style.menu.font":vkn,"style.menu.align":ykn,styles:bkn,"zoom.in":wkn,"zoom.out":kkn,to:_kn,"menu.file":Ckn,"menu.edit":Ekn,"menu.view":xkn,"menu.preferences":Skn,"menu.sign.in":Akn,"menu.sign.out":Tkn,"become.a.sponsor":Dkn,"zoom.to.selection":Ikn,"zoom.to.fit":Rkn,"zoom.to":Mkn,"preferences.dark.mode":Okn,"preferences.focus.mode":Lkn,"preferences.debug.mode":Bkn,"preferences.show.grid":Pkn,"preferences.use.cad.selection":Fkn,"preferences.keep.stylemenu.open":Nkn,"preferences.always.show.snaps":$kn,"preferences.rotate.handles":zkn,"preferences.binding.handles":Ukn,"preferences.clone.handles":jkn,undo:Hkn,redo:qkn,cut:Wkn,copy:Gkn,paste:Vkn,"copy.as":Kkn,"export.as":Ykn,"select.all":Xkn,"select.none":Jkn,delete:Zkn,"new.project":Qkn,open:e6n,save:t6n,"save.as":n6n,"upload.media":r6n,"create.page":i6n,"new.page":a6n,"page.name":o6n,duplicate:s6n,cancel:l6n,"copy.invite.link":u6n,"create.multiplayer.project":c6n,"copy.multiplayer.project":f6n,select:d6n,eraser:h6n,draw:p6n,arrow:g6n,text:m6n,sticky:v6n,rectangle:y6n,ellipse:b6n,triangle:w6n,line:k6n,rotate:_6n,"lock.aspect.ratio":C6n,"unlock.aspect.ratio":E6n,group:x6n,ungroup:S6n,"move.to.back":A6n,"move.backward":T6n,"move.forward":D6n,"move.to.front":I6n,"reset.angle":R6n,lock:M6n,unlock:O6n,"move.to.page":L6n,"flip.horizontal":B6n,"flip.vertical":P6n,move:F6n,"to.front":N6n,forward:$6n,backward:z6n,back:U6n,language:j6n,"translation.link":H6n,"dock.position":q6n,bottom:W6n,left:G6n,right:V6n,top:K6n,page:Y6n,"keyboard.shortcuts":X6n,search:J6n,loading:Z6n,"export.background":Q6n,transparent:e_n,auto:t_n,light:n_n,dark:r_n,github:i_n,twitter:a_n,discord:o_n,image:s_n,"align.left":l_n,"align.center.x":u_n,"align.right":c_n,"align.top":f_n,"align.center.y":d_n,"align.bottom":h_n,"distribute.x":p_n,"distribute.y":g_n,"stretch.x":m_n,"stretch.y":v_n,"dialog.save.firsttime":y_n,"dialog.save.again":b_n,"dialog.cancel":w_n,"dialog.no":k_n,"dialog.yes":__n,"enter.file.name":C_n,"tldraw-beta":E_n},S_n="Cor",A_n="Preencher",T_n="Traço",D_n="Tamanho",I_n="Manter aberto",R_n="Fonte",M_n="Alinhamento",O_n="Estilos",L_n="Aumentar zoom",B_n="Diminuir zoom",P_n="para",F_n="Arquivo",N_n="Editar",$_n="Visualizar",z_n="Preferências",U_n="Entrar",j_n="Sair",H_n="Torne-se um patrocinador",q_n="Zoom para a seleção",W_n="Zoom para ajuste",G_n="Zoom para",V_n="Modo Escuro",K_n="Modo Foco",Y_n="Modo Debug",X_n="Mostrar Grade",J_n="Usar seleção CAD",Z_n="Manter Menu de Estilos Aberto",Q_n="Mostrar Pontos de Ajuste",eCn="Controle de Rotação",tCn="Controle de Vínculos",nCn="Controle de Clone",rCn="Desfazer",iCn="Refazer",aCn="Cortar",oCn="Copiar",sCn="Colar",lCn="Copiar como",uCn="Exportar como",cCn="Selecionar todos",fCn="Selecionar nenhum",dCn="Deletar",hCn="Novo Projeto",pCn="Abrir",gCn="Salvar",mCn="Salvar Como",vCn="Carregar Mídia",yCn="Página",bCn="Procurar",wCn="Carregando{dots}",kCn="Exportar Fundo",_Cn="Transparente",CCn="Automático",ECn="Claro",xCn="Escuro",SCn="Ferramentas",ACn="Transformar",TCn="Voltar ao Conteúdo",DCn="Saiba Mais",ICn="Copiar Link ReadOnly",RCn="Alinhar / Distribuir",MCn="Criar Página",OCn="Nova Página",LCn="Nome da Página",BCn="Duplicar",PCn="Cancelar",FCn="Copiar Link de Convite",NCn="Criar um Projeto Multijogador",$Cn="Copiar para Projeto Multijogador",zCn="Selecionar",UCn="Borracha",jCn="Desenhar",HCn="Seta",qCn="Texto",WCn="Adesivo",GCn="Retângulo",VCn="Elipse",KCn="Triângulo",YCn="Linha",XCn="Rotacionar",JCn="Travar Proporção da Tela",ZCn="Destravar Proporção da Tela",QCn="Agrupar",eEn="Desagrupar",tEn="Recuar",nEn="Enviar para Trás",rEn="Avançar",iEn="Trazer para Frente",aEn="Reiniciar Ângulo",oEn="Travar",sEn="Destravar",lEn="Mover para Página",uEn="Virar Horizontalmente",cEn="Virar Verticalmente",fEn="Mover",dEn="Para Frente",hEn="Avançar",pEn="Recuar",gEn="Voltar",mEn="Idioma",vEn="Imagem",yEn="Atalhos de Teclado",bEn="Posição de Ferramentas",wEn="Inferior",kEn="Superior",_En="Direita",CEn="Esquerda",EEn="Alinhar à esquerda",xEn="Alinhar ao centro na horizontal",SEn="Alinhar à direita",AEn="Alinhas em cima",TEn="Alinhar ao centro na vertical",DEn="Alinhar embaixo",IEn="Distruibuir na horizontal",REn="Distruibuir na vertical",MEn="Esticar na horizontal",OEn="Esticar na vertical",LEn="Você deseja salvar seu projeto atual?",BEn="Você deseja salvar as mudanças ao projeto atual?",PEn="Cancelar",FEn="Não",NEn="Sim",$En="Insira o nome do arquivo",zEn={"style.menu.color":S_n,"style.menu.fill":A_n,"style.menu.dash":T_n,"style.menu.size":D_n,"style.menu.keep.open":I_n,"style.menu.font":R_n,"style.menu.align":M_n,styles:O_n,"zoom.in":L_n,"zoom.out":B_n,to:P_n,"menu.file":F_n,"menu.edit":N_n,"menu.view":$_n,"menu.preferences":z_n,"menu.sign.in":U_n,"menu.sign.out":j_n,"become.a.sponsor":H_n,"zoom.to.selection":q_n,"zoom.to.fit":W_n,"zoom.to":G_n,"preferences.dark.mode":V_n,"preferences.focus.mode":K_n,"preferences.debug.mode":Y_n,"preferences.show.grid":X_n,"preferences.use.cad.selection":J_n,"preferences.keep.stylemenu.open":Z_n,"preferences.always.show.snaps":Q_n,"preferences.rotate.handles":eCn,"preferences.binding.handles":tCn,"preferences.clone.handles":nCn,undo:rCn,redo:iCn,cut:aCn,copy:oCn,paste:sCn,"copy.as":lCn,"export.as":uCn,"select.all":cCn,"select.none":fCn,delete:dCn,"new.project":hCn,open:pCn,save:gCn,"save.as":mCn,"upload.media":vCn,page:yCn,search:bCn,loading:wCn,"export.background":kCn,transparent:_Cn,auto:CCn,light:ECn,dark:xCn,"menu.tools":SCn,"menu.transform":ACn,"zoom.to.content":TCn,"translation.link":DCn,"copy.readonly.link":ICn,"align.distribute":RCn,"create.page":MCn,"new.page":OCn,"page.name":LCn,duplicate:BCn,cancel:PCn,"copy.invite.link":FCn,"create.multiplayer.project":NCn,"copy.multiplayer.project":$Cn,select:zCn,eraser:UCn,draw:jCn,arrow:HCn,text:qCn,sticky:WCn,rectangle:GCn,ellipse:VCn,triangle:KCn,line:YCn,rotate:XCn,"lock.aspect.ratio":JCn,"unlock.aspect.ratio":ZCn,group:QCn,ungroup:eEn,"move.to.back":tEn,"move.backward":nEn,"move.forward":rEn,"move.to.front":iEn,"reset.angle":aEn,lock:oEn,unlock:sEn,"move.to.page":lEn,"flip.horizontal":uEn,"flip.vertical":cEn,move:fEn,"to.front":dEn,forward:hEn,backward:pEn,back:gEn,language:mEn,image:vEn,"keyboard.shortcuts":yEn,"dock.position":bEn,bottom:wEn,top:kEn,right:_En,left:CEn,"align.left":EEn,"align.center.x":xEn,"align.right":SEn,"align.top":AEn,"align.center.y":TEn,"align.bottom":DEn,"distribute.x":IEn,"distribute.y":REn,"stretch.x":MEn,"stretch.y":OEn,"dialog.save.firsttime":LEn,"dialog.save.again":BEn,"dialog.cancel":PEn,"dialog.no":FEn,"dialog.yes":NEn,"enter.file.name":$En},UEn="Cor",jEn="Preencher",HEn="Traço",qEn="Tamanho",WEn="Manter aberto",GEn="Fonte",VEn="Alinhamento",KEn="Estilos",YEn="Aumentar zoom",XEn="Diminuir zoom",JEn="para",ZEn="Ficheiro",QEn="Editar",e5n="Visualizar",t5n="Preferências",n5n="Entrar",r5n="Sair",i5n="Torne-se um patrocinador",a5n="Zoom na seleção",o5n="Zoom para caber",s5n="Zoom para",l5n="Modo Escuro",u5n="Modo Foco",c5n="Modo Debug",f5n="Mostrar Grelha",d5n="Usar seleção CAD",h5n="Manter Menu de Estilos Aberto",p5n="Mostrar Pontos de Ajuste",g5n="Controlo de Rotação",m5n="Controlo de Binds",v5n="Controlo de Clone",y5n="Desfazer",b5n="Refazer",w5n="Cortar",k5n="Copiar",_5n="Colar",C5n="Copiar como",E5n="Exportar como",x5n="Selecionar todos",S5n="Selecionar nenhum",A5n="Apagar",T5n="Novo Projeto",D5n="Abrir",I5n="Salvar",R5n="Salvar Como",M5n="Upload Média",O5n="Criar Página",L5n="Nova Página",B5n="Nome da Página",P5n="Duplicar",F5n="Cancelar",N5n="Copiar Link de Convite",$5n="Criar um Projeto Multi-Utilizador",z5n="Copiar num Projeto Multi-Utilizador",U5n="Selecionar",j5n="Borracha",H5n="Desenhar",q5n="Seta",W5n="Texto",G5n="Post-it",V5n="Retângulo",K5n="Elipse",Y5n="Triângulo",X5n="Linha",J5n="Rodar",Z5n="Trancar a Proporção",Q5n="Destrancar a Proporção",e9n="Agrupar",t9n="Desagrupar",n9n="Colocar no Fundo",r9n="Mover abaixo",i9n="Mover acima",a9n="Colocar à Frente",o9n="Reiniciar Ângulo",s9n="Trancar",l9n="Destrancar",u9n="Mover para Página",c9n="Inverter Horizontalmente",f9n="Inverter Verticalmente",d9n="Mover",h9n="Para Frente",p9n="Avançar",g9n="Recuar",m9n="Voltar",v9n="Língua",y9n={"style.menu.color":UEn,"style.menu.fill":jEn,"style.menu.dash":HEn,"style.menu.size":qEn,"style.menu.keep.open":WEn,"style.menu.font":GEn,"style.menu.align":VEn,styles:KEn,"zoom.in":YEn,"zoom.out":XEn,to:JEn,"menu.file":ZEn,"menu.edit":QEn,"menu.view":e5n,"menu.preferences":t5n,"menu.sign.in":n5n,"menu.sign.out":r5n,"become.a.sponsor":i5n,"zoom.to.selection":a5n,"zoom.to.fit":o5n,"zoom.to":s5n,"preferences.dark.mode":l5n,"preferences.focus.mode":u5n,"preferences.debug.mode":c5n,"preferences.show.grid":f5n,"preferences.use.cad.selection":d5n,"preferences.keep.stylemenu.open":h5n,"preferences.always.show.snaps":p5n,"preferences.rotate.handles":g5n,"preferences.binding.handles":m5n,"preferences.clone.handles":v5n,undo:y5n,redo:b5n,cut:w5n,copy:k5n,paste:_5n,"copy.as":C5n,"export.as":E5n,"select.all":x5n,"select.none":S5n,delete:A5n,"new.project":T5n,open:D5n,save:I5n,"save.as":R5n,"upload.media":M5n,"create.page":O5n,"new.page":L5n,"page.name":B5n,duplicate:P5n,cancel:F5n,"copy.invite.link":N5n,"create.multiplayer.project":$5n,"copy.multiplayer.project":z5n,select:U5n,eraser:j5n,draw:H5n,arrow:q5n,text:W5n,sticky:G5n,rectangle:V5n,ellipse:K5n,triangle:Y5n,line:X5n,rotate:J5n,"lock.aspect.ratio":Z5n,"unlock.aspect.ratio":Q5n,group:e9n,ungroup:t9n,"move.to.back":n9n,"move.backward":r9n,"move.forward":i9n,"move.to.front":a9n,"reset.angle":o9n,lock:s9n,unlock:l9n,"move.to.page":u9n,"flip.horizontal":c9n,"flip.vertical":f9n,move:d9n,"to.front":h9n,forward:p9n,backward:g9n,back:m9n,language:v9n},b9n="Цвет",w9n="Заполнять",k9n="Штрих",_9n="Размер",C9n="Держать открытым",E9n="Шрифт",x9n="Выравнивание",S9n="Стиль",A9n="Увеличить",T9n="Уменьшить",D9n="к",I9n="Инструменты",R9n="Изменение",M9n="Файл",O9n="Редактирование",L9n="Вид",B9n="Настройки",P9n="Войти",F9n="Выйти",N9n="Стать спонсором",$9n="Вернуться к содержимому",z9n="Масштабировать по выделению",U9n="Масштабировать по размеру экрана",j9n="Масштабировать к",H9n="Тёмная тема",q9n="Минималистичный режим",W9n="Режим отладки",G9n="Показать сетку",V9n="Использовать CAD выделение",K9n="Держать меню стилей открытым",Y9n="Всегда показывать привязки",X9n="Ручки вращения",J9n="Ручки привязки",Z9n="Ручки клонирования",Q9n="Отменить",exn="Повторить",txn="Вырезать",nxn="Копировать",rxn="Вставить",ixn="Копировать как",axn="Экспортировать как",oxn="Выделить всё",sxn="Снять выделение",lxn="Удалить",uxn="Новый проект",cxn="Открыть",fxn="Сохранить",dxn="Сохранить как",hxn="Загрузить медиафайл",pxn="Создать страницу",gxn="Новая страница",mxn="Название страницы",vxn="Дублировать",yxn="Отменить",bxn="Скопировать ссылку приглашения",wxn="Скопировать ссылку только для чтения",kxn="Создать многопользовательский проект",_xn="Скопировать в многопользовательский проект",Cxn="Выделить",Exn="Ластик",xxn="Рисовать",Sxn="Стрелка",Axn="Текст",Txn="Заметка",Dxn="Прямоугольник",Ixn="Эллипс",Rxn="Треугольник",Mxn="Линия",Oxn="Повернуть",Lxn="Заблокировать соотношение сторон",Bxn="Разблокировать соотношение сторон",Pxn="Сгруппировать",Fxn="Разгруппировать",Nxn="Переместить назад",$xn="Переместить на задний план",zxn="Переместить вперёд",Uxn="Переместить на передний план",jxn="Сбросить угол",Hxn="Блокировать",qxn="Разблокировать",Wxn="Выровнять / распределить",Gxn="Переместить на страницу",Vxn="Перевернуть горизонтально",Kxn="Перевернуть вертикально",Yxn="Переместить",Xxn="На передний план",Jxn="Вперед",Zxn="На задний план",Qxn="Назад",eSn="Язык",tSn="Подробнее",nSn="Расположение панели инструментов",rSn="Снизу",iSn="Слева",aSn="Справа",oSn="Сверху",sSn="Страница",lSn="Сочетания клавиш",uSn="Поиск",cSn="Загрузка",fSn="Экспорт фона",dSn="Прозрачный",hSn="Авто",pSn="Светлый",gSn="Тёмный",mSn="Изображение",vSn="Выровнять по левому краю",ySn="Выровнять по центру горизонтально",bSn="Выровнять по правому краю",wSn="Выровнять по верхнему краю",kSn="Выровнять по центру вертикально",_Sn="Выровнять по нижнему краю",CSn="Распределить горизонтально",ESn="Распределить вертикально",xSn="Растянуть горизонтально",SSn="Растянуть вертикально",ASn="Поделиться",TSn="Скопировать ссылку на текущую страницу",DSn="Скопировать ссылку на проект",ISn="Данные слишком велики, чтобы закодировать их в ссылке. Не включайте изображение или видео!",RSn="Сохранить текущий проект?",MSn="Сохранить изменения в текущем проекте?",OSn="Отменить",LSn="Нет",BSn="Да",PSn="Введите имя файла",FSn={"style.menu.color":b9n,"style.menu.fill":w9n,"style.menu.dash":k9n,"style.menu.size":_9n,"style.menu.keep.open":C9n,"style.menu.font":E9n,"style.menu.align":x9n,styles:S9n,"zoom.in":A9n,"zoom.out":T9n,to:D9n,"menu.tools":I9n,"menu.transform":R9n,"menu.file":M9n,"menu.edit":O9n,"menu.view":L9n,"menu.preferences":B9n,"menu.sign.in":P9n,"menu.sign.out":F9n,"become.a.sponsor":N9n,"zoom.to.content":$9n,"zoom.to.selection":z9n,"zoom.to.fit":U9n,"zoom.to":j9n,"preferences.dark.mode":H9n,"preferences.focus.mode":q9n,"preferences.debug.mode":W9n,"preferences.show.grid":G9n,"preferences.use.cad.selection":V9n,"preferences.keep.stylemenu.open":K9n,"preferences.always.show.snaps":Y9n,"preferences.rotate.handles":X9n,"preferences.binding.handles":J9n,"preferences.clone.handles":Z9n,undo:Q9n,redo:exn,cut:txn,copy:nxn,paste:rxn,"copy.as":ixn,"export.as":axn,"select.all":oxn,"select.none":sxn,delete:lxn,"new.project":uxn,open:cxn,save:fxn,"save.as":dxn,"upload.media":hxn,"create.page":pxn,"new.page":gxn,"page.name":mxn,duplicate:vxn,cancel:yxn,"copy.invite.link":bxn,"copy.readonly.link":wxn,"create.multiplayer.project":kxn,"copy.multiplayer.project":_xn,select:Cxn,eraser:Exn,draw:xxn,arrow:Sxn,text:Axn,sticky:Txn,rectangle:Dxn,ellipse:Ixn,triangle:Rxn,line:Mxn,rotate:Oxn,"lock.aspect.ratio":Lxn,"unlock.aspect.ratio":Bxn,group:Pxn,ungroup:Fxn,"move.to.back":Nxn,"move.backward":$xn,"move.forward":zxn,"move.to.front":Uxn,"reset.angle":jxn,lock:Hxn,unlock:qxn,"align.distribute":Wxn,"move.to.page":Gxn,"flip.horizontal":Vxn,"flip.vertical":Kxn,move:Yxn,"to.front":Xxn,forward:Jxn,backward:Zxn,back:Qxn,language:eSn,"translation.link":tSn,"dock.position":nSn,bottom:rSn,left:iSn,right:aSn,top:oSn,page:sSn,"keyboard.shortcuts":lSn,search:uSn,loading:cSn,"export.background":fSn,transparent:dSn,auto:hSn,light:pSn,dark:gSn,image:mSn,"align.left":vSn,"align.center.x":ySn,"align.right":bSn,"align.top":wSn,"align.center.y":kSn,"align.bottom":_Sn,"distribute.x":CSn,"distribute.y":ESn,"stretch.x":xSn,"stretch.y":SSn,share:ASn,"copy.current.page.link":TSn,"copy.project.link":DSn,"data.too.big.encoded":ISn,"dialog.save.firsttime":RSn,"dialog.save.again":MSn,"dialog.cancel":OSn,"dialog.no":LSn,"dialog.yes":BSn,"enter.file.name":PSn},NSn="Färg",$Sn="Ifylld",zSn="Streck",USn="Storlek",jSn="Håll stilmenyn öppen",HSn="Typsnitt",qSn="Justera",WSn="Utseende",GSn="Zooma in",VSn="Zooma ut",KSn="Till",YSn="Verktyg",XSn="Transform",JSn="Arkiv",ZSn="Redigera",QSn="Innehåll",eAn="Inställningar",tAn="Logga in",nAn="Logga ut",rAn="Bli en sponsor",iAn="Anpassa zoom till innehåll",aAn="Anpassa zoom till urval",oAn="Anpassa zoom till skärm",sAn="Zooma till",lAn="Mörkt läge",uAn="Fokusläge",cAn="Debugläge",fAn="Visa rutnät",dAn="Välj som i CAD-mjukvara",hAn="Håll stilmenyn öppen",pAn="Visa alltid fästpunkter",gAn="Rotationshandtag",mAn="Bindningshandtag",vAn="Kloningshandtag",yAn="Ångra",bAn="Gör om",wAn="Klipp ut",kAn="Kopiera",_An="Klistra in",CAn="Kopiera som",EAn="Exportera till",xAn="Välj alla",SAn="Välj ingen",AAn="Radera",TAn="Nytt projekt",DAn="Öppna",IAn="Spara",RAn="Spara som",MAn="Ladda upp media",OAn="Skapa sida",LAn="Ny sida",BAn="Sidnamn",PAn="Duplicera",FAn="Avbryt",NAn="Kopiera länk med redigeringsrättigheter",$An="Kopiera länk med läsrättigheter",zAn="Skapa ett Multiplayer-projekt",UAn="Kopiera till Multiplayer-project",jAn="Välj",HAn="Radera",qAn="Rita",WAn="Pil",GAn="Text",VAn="Klisterlapp",KAn="Rektangel",YAn="Ellips",XAn="Triangel",JAn="Linje",ZAn="Rotera",QAn="Lås storleksförhållande",e8n="Lås upp storleksförhållande",t8n="Gruppera",n8n="Avgruppera",r8n="Placera längst bak",i8n="Flytta bakåt",a8n="Flytta framåt",o8n="Placera längst fram",s8n="Återställ vinkel",l8n="Lås",u8n="Lås upp",c8n="Justera / Placera",f8n="Flytta till sida",d8n="Vänd horisontellt",h8n="Vänd vertikalt",p8n="Flytta",g8n="Till längst fram",m8n="Framåt",v8n="Bakåt",y8n="Till längst bak",b8n="Språk",w8n="Mer information",k8n="Dockningsposition",_8n="Botten",C8n="Vänster",E8n="Höger",x8n="Topp",S8n="Sida",A8n="Tangentbordsgenvägar",T8n="Sök",D8n="Laddar{dots}",I8n="Exportbakgrund",R8n="Transparent",M8n="Auto",O8n="Ljus",L8n="Mörk",B8n="Github",P8n="Twitter",F8n="Discord",N8n="Bild",$8n={"style.menu.color":NSn,"style.menu.fill":$Sn,"style.menu.dash":zSn,"style.menu.size":USn,"style.menu.keep.open":jSn,"style.menu.font":HSn,"style.menu.align":qSn,styles:WSn,"zoom.in":GSn,"zoom.out":VSn,to:KSn,"menu.tools":YSn,"menu.transform":XSn,"menu.file":JSn,"menu.edit":ZSn,"menu.view":QSn,"menu.preferences":eAn,"menu.sign.in":tAn,"menu.sign.out":nAn,"become.a.sponsor":rAn,"zoom.to.content":iAn,"zoom.to.selection":aAn,"zoom.to.fit":oAn,"zoom.to":sAn,"preferences.dark.mode":lAn,"preferences.focus.mode":uAn,"preferences.debug.mode":cAn,"preferences.show.grid":fAn,"preferences.use.cad.selection":dAn,"preferences.keep.stylemenu.open":hAn,"preferences.always.show.snaps":pAn,"preferences.rotate.handles":gAn,"preferences.binding.handles":mAn,"preferences.clone.handles":vAn,undo:yAn,redo:bAn,cut:wAn,copy:kAn,paste:_An,"copy.as":CAn,"export.as":EAn,"select.all":xAn,"select.none":SAn,delete:AAn,"new.project":TAn,open:DAn,save:IAn,"save.as":RAn,"upload.media":MAn,"create.page":OAn,"new.page":LAn,"page.name":BAn,duplicate:PAn,cancel:FAn,"copy.invite.link":NAn,"copy.readonly.link":$An,"create.multiplayer.project":zAn,"copy.multiplayer.project":UAn,select:jAn,eraser:HAn,draw:qAn,arrow:WAn,text:GAn,sticky:VAn,rectangle:KAn,ellipse:YAn,triangle:XAn,line:JAn,rotate:ZAn,"lock.aspect.ratio":QAn,"unlock.aspect.ratio":e8n,group:t8n,ungroup:n8n,"move.to.back":r8n,"move.backward":i8n,"move.forward":a8n,"move.to.front":o8n,"reset.angle":s8n,lock:l8n,unlock:u8n,"align.distribute":c8n,"move.to.page":f8n,"flip.horizontal":d8n,"flip.vertical":h8n,move:p8n,"to.front":g8n,forward:m8n,backward:v8n,back:y8n,language:b8n,"translation.link":w8n,"dock.position":k8n,bottom:_8n,left:C8n,right:E8n,top:x8n,page:S8n,"keyboard.shortcuts":A8n,search:T8n,loading:D8n,"export.background":I8n,transparent:R8n,auto:M8n,light:O8n,dark:L8n,github:B8n,twitter:P8n,discord:F8n,image:N8n},z8n="రంగు",U8n="నింపు",j8n="అడ్డ గీత",H8n="పరిమాణం",q8n="తెరిచి ఉంచు",W8n="అక్షరాకృతి",G8n="సరిపరచు",V8n="విధములు",K8n="దగ్గరగా చూపు",Y8n="దూరంగా చూపు",X8n="వద్దకు",J8n="పరికరాలు",Z8n="మార్చు",Q8n="ఫైల్",e7n="పరిష్కరించు",t7n="చూపు",n7n="ఎంచుకొన్నవి",r7n="ప్రవేశించు",i7n="నిష్క్రమణ",a7n="విరాళదారులు అవ్వండి",o7n="విషయాన్నే చూపు",s7n="ఎంచుకున్న విషయాన్నే చూపు",l7n="సరిపెట్టి చూపు",u7n="చూపు",c7n="చీకటైన క్రమం",f7n="తీక్షణ క్రమం",d7n="తప్పులేరు క్రమం",h7n="చట్రం చూపు",p7n="CADని వాడు",g7n="విధముల పత్తి తెరిచివుంచు",m7n="ఎప్పుడూ దృశ్యభాగం చూపు",v7n="హ్యాండిల్స్ తిప్పు",y7n="యాండిల్స్ కట్టు",b7n="యాండిల్స్ నకలు",w7n="మార్పుని తిరుగగొట్టు",k7n="మళ్ళీ మార్చు",_7n="కత్తిరించు",C7n="నకలు",E7n="అతికించు",x7n="నకలుప్రతిగా ఇక్కడికి",S7n="ఎగుమతి ఇక్కడికి",A7n="అన్నీ ఎంపికచెయ్యి",T7n="ఎదీ ఎంపికచెయ్యవద్దు",D7n="తొలగించు",I7n="కొత్త ప్రాజెక్టు",R7n="తెరువు",M7n="దాయి",O7n="ఇలా దాయి",L7n="ఎగుమతి మాధ్యం",B7n="పుట కల్పించు",P7n="కొత్త పుట",F7n="పుట పేరు",N7n="మారుప్రతి",$7n="రద్దుచేయి",z7n="అహ్వాన లింకు రాయి",U7n="మారనిప్రతి లింకు రాయి",j7n="బహుకర్తల ప్రాజెక్టు కల్పించు",H7n="బహుకర్తల ప్రాజెక్టుకు రాయి",q7n="ఎంపికచెయ్యి",W7n="Eraser",G7n="గీయ్యి",V7n="బాణం",K7n="అక్షరములు",Y7n="అతుక్కునే",X7n="దీర్ఘచతురస్రం",J7n="దీర్ఘవృత్తం",Z7n="త్రిభుజం",Q7n="గీత",eTn="తిప్పు",tTn="ఆస్పెక్ట్ నిష్పత్తికి తాళంపెట్టు",nTn="ఆస్పెక్ట్ నిష్పత్తి తాళంతెరువు",rTn="గుంపుగా ఏర్పరచు",iTn="గుంపును చెదరగొట్టు",aTn="ఆఖరికి జరుపు",oTn="వెనుకకు జరుపు",sTn="ముందుకు జరుపు",lTn="మొదటికి జరుపు",uTn="కోణం రీసెట్",cTn="తాళం వెయ్యి",fTn="తాళం తియ్యి",dTn=" సరిపరచు/వెదజల్లు",hTn="పుటలోకి జరుపు",pTn="అడ్డంగా పల్టీ",gTn="నిలువుగా పల్టీ",mTn="జరుపు",vTn="మొదటికి",yTn="ముందుకు",bTn="వెనుకకు",wTn="ఆఖరికి",kTn="భాష",_Tn="మరి కొన్ని విషయాలు",CTn="మంచ స్థానం",ETn="అడుగున",xTn="ఎడమవైపు",STn="కుడివైపు",ATn="పైన",TTn="పుత",DTn="కీబోర్డ్ సత్వరమార్గం",ITn="వెతుకు",RTn="Loading{dots}",MTn="నేపథ్యం ఎగుమతి",OTn="కాంతి భేద్యము",LTn="స్వయంకృతం",BTn="వెలుతురు",PTn="చీకటి",FTn="Github",NTn="Twitter",$Tn="Discord",zTn="చిత్రం",UTn="ఎడమవైపుకు కుదుర్చు",jTn="అడ్డంగా మధ్యలో కుదుర్చు",HTn="కుడివైపుకు కుదుర్చు",qTn="పైకి కుదుర్చు",WTn="నిలువుగా మధ్యలో కుదుర్చు",GTn="అడుగున కుదుర్చు",VTn="అడ్డంగా పంచు",KTn="నిలువుగా పంచు",YTn="అడ్డంగా లాగు",XTn="నిలువుగా లాగు",JTn="మీరు ఈ ప్రాజెక్ట్ భద్రపరచుకోవాలని అనుకుంటున్నారా?",ZTn="మీరు ఈ ప్రాజెక్ట్ భద్రపరచుకోవాలని అనుకుంటున్నారా?",QTn="రద్దుచెయ్యి",eDn="వద్దు",tDn="సరే",nDn="ఫైల్ పెరు చెప్పండి",rDn={"style.menu.color":z8n,"style.menu.fill":U8n,"style.menu.dash":j8n,"style.menu.size":H8n,"style.menu.keep.open":q8n,"style.menu.font":W8n,"style.menu.align":G8n,styles:V8n,"zoom.in":K8n,"zoom.out":Y8n,to:X8n,"menu.tools":J8n,"menu.transform":Z8n,"menu.file":Q8n,"menu.edit":e7n,"menu.view":t7n,"menu.preferences":n7n,"menu.sign.in":r7n,"menu.sign.out":i7n,"become.a.sponsor":a7n,"zoom.to.content":o7n,"zoom.to.selection":s7n,"zoom.to.fit":l7n,"zoom.to":u7n,"preferences.dark.mode":c7n,"preferences.focus.mode":f7n,"preferences.debug.mode":d7n,"preferences.show.grid":h7n,"preferences.use.cad.selection":p7n,"preferences.keep.stylemenu.open":g7n,"preferences.always.show.snaps":m7n,"preferences.rotate.handles":v7n,"preferences.binding.handles":y7n,"preferences.clone.handles":b7n,undo:w7n,redo:k7n,cut:_7n,copy:C7n,paste:E7n,"copy.as":x7n,"export.as":S7n,"select.all":A7n,"select.none":T7n,delete:D7n,"new.project":I7n,open:R7n,save:M7n,"save.as":O7n,"upload.media":L7n,"create.page":B7n,"new.page":P7n,"page.name":F7n,duplicate:N7n,cancel:$7n,"copy.invite.link":z7n,"copy.readonly.link":U7n,"create.multiplayer.project":j7n,"copy.multiplayer.project":H7n,select:q7n,eraser:W7n,draw:G7n,arrow:V7n,text:K7n,sticky:Y7n,rectangle:X7n,ellipse:J7n,triangle:Z7n,line:Q7n,rotate:eTn,"lock.aspect.ratio":tTn,"unlock.aspect.ratio":nTn,group:rTn,ungroup:iTn,"move.to.back":aTn,"move.backward":oTn,"move.forward":sTn,"move.to.front":lTn,"reset.angle":uTn,lock:cTn,unlock:fTn,"align.distribute":dTn,"move.to.page":hTn,"flip.horizontal":pTn,"flip.vertical":gTn,move:mTn,"to.front":vTn,forward:yTn,backward:bTn,back:wTn,language:kTn,"translation.link":_Tn,"dock.position":CTn,bottom:ETn,left:xTn,right:STn,top:ATn,page:TTn,"keyboard.shortcuts":DTn,search:ITn,loading:RTn,"export.background":MTn,transparent:OTn,auto:LTn,light:BTn,dark:PTn,github:FTn,twitter:NTn,discord:$Tn,image:zTn,"align.left":UTn,"align.center.x":jTn,"align.right":HTn,"align.top":qTn,"align.center.y":WTn,"align.bottom":GTn,"distribute.x":VTn,"distribute.y":KTn,"stretch.x":YTn,"stretch.y":XTn,"dialog.save.firsttime":JTn,"dialog.save.again":ZTn,"dialog.cancel":QTn,"dialog.no":eDn,"dialog.yes":tDn,"enter.file.name":nDn},iDn="สี",aDn="เติม",oDn="กรอบ",sDn="ขนาด",lDn="เปิดทิ้งไว้",uDn="แบบอักษร",cDn="จัดตำแหน่ง",fDn="รูปแบบ",dDn="ซูมเข้า",hDn="ซูมออก",pDn="ซูมไปที่",gDn="เครื่องมือ",mDn="แปลง",vDn="ไฟล์",yDn="แก้ไข",bDn="มุมมอง",wDn="การตั้งค่า",kDn="เข้าสู่ระบบ",_Dn="ออกจากระบบ",CDn="ร่วมเป็นสปอนเซอร์",EDn="กลับไปยังเนื้อหา",xDn="ซูมไปยังส่วนที่เลือก",SDn="ซูมให้เต็มพอดี",ADn="ซูมไปที่",TDn="โหมดมืด",DDn="โหมดโฟกัส",IDn="โหมดดีบัก",RDn="แสดงตาราง",MDn="การเลือกแบบ CAD",ODn="เปิดเมนูรูปแบบทิ้งไว้",LDn="แสดงสแนปตลอด",BDn="แสดงจุดจับการหมุน",PDn="แสดงหมายเลขอ้างอิง",FDn="แสดงตัวโคลน",NDn="เลิกทำ",$Dn="ทำซ้ำ",zDn="ตัด",UDn="คัดลอก",jDn="วาง",HDn="คัดลอกเป็น",qDn="ส่งออกเป็น",WDn="เลือกทั้งหมด",GDn="ยกเลิกสิ่งที่เลือก",VDn="ลบ",KDn="โปรเจกต์ใหม่",YDn="เปิด",XDn="บันทึก",JDn="บันทึกเป็น",ZDn="อัพโหลดมีเดีย",QDn="สร้างหน้า",eIn="หน้าใหม่",tIn="ชื่อหน้า",nIn="สำเนา",rIn="ยกเลิก",iIn="คัดลอกลิงก์เชิญ",aIn="คัดลอกลิงก์แบบให้อ่านอย่างเดียว",oIn="สร้างโปรเจกต์ผู้ใช้งานหลายคน",sIn="คัดลอกโปรเจกต์ผู้ใช้งานหลายคน",lIn="เลือก",uIn="ยางลบ",cIn="วาด",fIn="ลูกศร",dIn="ข้อความ",hIn="กระดาษโน๊ต",pIn="สี่เหลี่ยมผืนผ้า",gIn="วงรี",mIn="สามเหลี่ยม",vIn="เส้น",yIn="หมุน",bIn="ล็อคอัตราส่วนภาพ",wIn="ปลดล็อกอัตราส่วนภาพ",kIn="กลุ่ม",_In="ยกเลิกกลุ่ม",CIn="ย้ายไปด้านหลัง",EIn="ขยับถอยหลัง",xIn="ขยับไปหน้า",SIn="ย้ายไปด้านหน้า",AIn="รีเซ็ตมุม",TIn="ล็อค",DIn="ปลดล็อค",IIn="จัดตำแหน่ง / กระจาย",RIn="ย้ายไปยังหน้า",MIn="พลิกแนวนอน",OIn="พลิกแนวตั้ง",LIn="ย้าย",BIn="ไปยังด้านหน้า",PIn="ข้างหน้า",FIn="ข้างหลัง",NIn="ไปยังด้านหลัง",$In="ภาษา",zIn="เรียนรู้เพิ่มเติม",UIn="ตำแหน่งแถบเครื่องมือ",jIn="ข้างล่าง",HIn="ข้างซ้าย",qIn="ข้างขวา",WIn="ข้างบน",GIn="หน้า",VIn="แป้นพิมพ์ลัด",KIn="ค้นหา",YIn="กำลังโหลด{dots}",XIn="ส่งออกพื้นหลัง",JIn="โปร่งใส",ZIn="อัตโนมัติ",QIn="สว่าง",eRn="มืด",tRn="Github",nRn="Twitter",rRn="Discord",iRn="ภาพ",aRn="จัดให้ชิดซ้าย",oRn="จัดให้อยู่กึ่งกลางแนวนอน",sRn="จัดให้ชิดขวา",lRn="จัดให้อยู่ด้านบน",uRn="จัดให้อยู่กึ่งกลางแนวตั้ง",cRn="จัดให้อยู่ด้านล่าง",fRn="กระจายแนวนอน",dRn="กระจายแนวตั้ง",hRn="ยืดแนวนอน",pRn="ยืดแนวตั้ง",gRn="คุณต้องการบันทึกโปรเจ็กต์ปัจจุบันของคุณหรือไม่?",mRn="คุณต้องการบันทึกการเปลี่ยนแปลงในโปรเจ็กต์ปัจจุบันของคุณหรือไม่?",vRn="ยกเลิก",yRn="ไม่",bRn="ใช่",wRn="กรอกชื่อไฟล์",kRn={"style.menu.color":iDn,"style.menu.fill":aDn,"style.menu.dash":oDn,"style.menu.size":sDn,"style.menu.keep.open":lDn,"style.menu.font":uDn,"style.menu.align":cDn,styles:fDn,"zoom.in":dDn,"zoom.out":hDn,to:pDn,"menu.tools":gDn,"menu.transform":mDn,"menu.file":vDn,"menu.edit":yDn,"menu.view":bDn,"menu.preferences":wDn,"menu.sign.in":kDn,"menu.sign.out":_Dn,"become.a.sponsor":CDn,"zoom.to.content":EDn,"zoom.to.selection":xDn,"zoom.to.fit":SDn,"zoom.to":ADn,"preferences.dark.mode":TDn,"preferences.focus.mode":DDn,"preferences.debug.mode":IDn,"preferences.show.grid":RDn,"preferences.use.cad.selection":MDn,"preferences.keep.stylemenu.open":ODn,"preferences.always.show.snaps":LDn,"preferences.rotate.handles":BDn,"preferences.binding.handles":PDn,"preferences.clone.handles":FDn,undo:NDn,redo:$Dn,cut:zDn,copy:UDn,paste:jDn,"copy.as":HDn,"export.as":qDn,"select.all":WDn,"select.none":GDn,delete:VDn,"new.project":KDn,open:YDn,save:XDn,"save.as":JDn,"upload.media":ZDn,"create.page":QDn,"new.page":eIn,"page.name":tIn,duplicate:nIn,cancel:rIn,"copy.invite.link":iIn,"copy.readonly.link":aIn,"create.multiplayer.project":oIn,"copy.multiplayer.project":sIn,select:lIn,eraser:uIn,draw:cIn,arrow:fIn,text:dIn,sticky:hIn,rectangle:pIn,ellipse:gIn,triangle:mIn,line:vIn,rotate:yIn,"lock.aspect.ratio":bIn,"unlock.aspect.ratio":wIn,group:kIn,ungroup:_In,"move.to.back":CIn,"move.backward":EIn,"move.forward":xIn,"move.to.front":SIn,"reset.angle":AIn,lock:TIn,unlock:DIn,"align.distribute":IIn,"move.to.page":RIn,"flip.horizontal":MIn,"flip.vertical":OIn,move:LIn,"to.front":BIn,forward:PIn,backward:FIn,back:NIn,language:$In,"translation.link":zIn,"dock.position":UIn,bottom:jIn,left:HIn,right:qIn,top:WIn,page:GIn,"keyboard.shortcuts":VIn,search:KIn,loading:YIn,"export.background":XIn,transparent:JIn,auto:ZIn,light:QIn,dark:eRn,github:tRn,twitter:nRn,discord:rRn,image:iRn,"align.left":aRn,"align.center.x":oRn,"align.right":sRn,"align.top":lRn,"align.center.y":uRn,"align.bottom":cRn,"distribute.x":fRn,"distribute.y":dRn,"stretch.x":hRn,"stretch.y":pRn,"dialog.save.firsttime":gRn,"dialog.save.again":mRn,"dialog.cancel":vRn,"dialog.no":yRn,"dialog.yes":bRn,"enter.file.name":wRn},_Rn="Renk",CRn="Doldur",ERn="Çizgi",xRn="Boyut",SRn="Açık Tut",ARn="Yazı Tipi",TRn="Hizala",DRn="Stiller",IRn="Yakınlaştır",RRn="Uzaklaştır",MRn="",ORn="Dosya",LRn="Düzenle",BRn="Görüntü",PRn="Tercihler",FRn="Giriş Yap",NRn="Oturumu Kapat",$Rn="Sponsor Ol",zRn="Seçime Yakınlaştır",URn="Sığdırmak için Yakınlaştır",jRn="Yakınlaştır",HRn="Karanlık Mod",qRn="Odak Modu",WRn="Debug Modu",GRn="Izgarayı Göster",VRn="CAD Seçimi Kullan",KRn="Stil Menüsünü Açık Tut",YRn="Hiza Çizgilerini Hep Göster",XRn="Rotasyon Kontrolcüleri",JRn="Bağlama Kontrolcüleri",ZRn="Klon Kontrolcüleri",QRn="Geri Al",eMn="Yinele",tMn="Kes",nMn="Kopyala",rMn="Yapıştır",iMn="Olarak Kopyala",aMn="Olarak Dışarı Aktar",oMn="Hepsini Seç",sMn="Hiçbirini Seçme",lMn="Sil",uMn="Yeni Proje",cMn="Aç",fMn="Kaydet",dMn="Farklı Kaydet",hMn="Medya Yükle",pMn="Sayfa Oluştur",gMn="Yeni Sayfa",mMn="Sayfa İsmi",vMn="Kopya Oluştur",yMn="İptal",bMn="Davet Linkini Kopyala",wMn="Çok Oyunculu Proje Oluştur",kMn="Çok Oyunculu Projeye Kopyala",_Mn="Seç",CMn="Silgi",EMn="Çizim",xMn="Ok",SMn="Yazı",AMn="Yapışkan",TMn="Dikdörtgen",DMn="Elips",IMn="Üçgen",RMn="Çizgi",MMn="Döndür",OMn="En Boy Oranını Kilitle",LMn="En Boy Oranı Kilidini Aç",BMn="Grupla",PMn="Gruplamayı Kaldır",FMn="Arkaya Taşı",NMn="En Arkaya Taşı",$Mn="En Öne Taşı",zMn="Öne Taşı",UMn="Açıyı Sıfırla",jMn="Kilitle",HMn="Kilidini Aç",qMn="Sayfaya Taşı",WMn="Yatay Çevir",GMn="Dikey Çevir",VMn="Taşı",KMn="Öne",YMn="En Öne",XMn="En Arkaya",JMn="Arkaya",ZMn="Dil",QMn={"style.menu.color":_Rn,"style.menu.fill":CRn,"style.menu.dash":ERn,"style.menu.size":xRn,"style.menu.keep.open":SRn,"style.menu.font":ARn,"style.menu.align":TRn,styles:DRn,"zoom.in":IRn,"zoom.out":RRn,to:MRn,"menu.file":ORn,"menu.edit":LRn,"menu.view":BRn,"menu.preferences":PRn,"menu.sign.in":FRn,"menu.sign.out":NRn,"become.a.sponsor":$Rn,"zoom.to.selection":zRn,"zoom.to.fit":URn,"zoom.to":jRn,"preferences.dark.mode":HRn,"preferences.focus.mode":qRn,"preferences.debug.mode":WRn,"preferences.show.grid":GRn,"preferences.use.cad.selection":VRn,"preferences.keep.stylemenu.open":KRn,"preferences.always.show.snaps":YRn,"preferences.rotate.handles":XRn,"preferences.binding.handles":JRn,"preferences.clone.handles":ZRn,undo:QRn,redo:eMn,cut:tMn,copy:nMn,paste:rMn,"copy.as":iMn,"export.as":aMn,"select.all":oMn,"select.none":sMn,delete:lMn,"new.project":uMn,open:cMn,save:fMn,"save.as":dMn,"upload.media":hMn,"create.page":pMn,"new.page":gMn,"page.name":mMn,duplicate:vMn,cancel:yMn,"copy.invite.link":bMn,"create.multiplayer.project":wMn,"copy.multiplayer.project":kMn,select:_Mn,eraser:CMn,draw:EMn,arrow:xMn,text:SMn,sticky:AMn,rectangle:TMn,ellipse:DMn,triangle:IMn,line:RMn,rotate:MMn,"lock.aspect.ratio":OMn,"unlock.aspect.ratio":LMn,group:BMn,ungroup:PMn,"move.to.back":FMn,"move.backward":NMn,"move.forward":$Mn,"move.to.front":zMn,"reset.angle":UMn,lock:jMn,unlock:HMn,"move.to.page":qMn,"flip.horizontal":WMn,"flip.vertical":GMn,move:VMn,"to.front":KMn,forward:YMn,backward:XMn,back:JMn,language:ZMn},eOn="Колір",tOn="Заповнювати",nOn="Штрих",rOn="Розмір",iOn="Тримати відкритим",aOn="Шрифт",oOn="Вирівняти",sOn="Стиль",lOn="Збільшити",uOn="Зменшити",cOn="до",fOn="Файл",dOn="Редагування",hOn="Вигляд",pOn="Налаштування",gOn="Увійти",mOn="Вийти",vOn="Стати спонсором",yOn="Наблизити до виділення",bOn="Збільшити за розміром екрану",wOn="Наблизити до",kOn="Темна тема",_On="Мінімалістичний режим",COn="Режим налагодження",EOn="Показати сітку",xOn="Використовувати CAD виділення",SOn="Тримати меню стилів відкритим",AOn="Завжди показувати прив'язки",TOn="Ручки обертання",DOn="Ручки прив'язки",IOn="Ручки клонування",ROn="Скасувати",MOn="Повторити",OOn="Вирізати",LOn="Скопіювати",BOn="Вставити",POn="Скопіювати як",FOn="Експортувати як",NOn="Обрати все",$On="Зняти виділення",zOn="Видалити",UOn="Новий проект",jOn="Відкрити",HOn="Зберегти",qOn="Зберегти як",WOn="Завантажити медіа",GOn="Створити сторінку",VOn="Нова сторінка",KOn="Назва сторінки",YOn="Дублювати",XOn="Скасувати",JOn="Скопіювати посилання на запрошення",ZOn="Створити багатокористувацький проект",QOn="Скопіювати в багатокористувацький проект",eLn="Вибирати",tLn="Ластик",nLn="Малювати",rLn="Стрілка",iLn="Текст",aLn="Нотатка",oLn="Прямокутник",sLn="Еліпс",lLn="Трикутник",uLn=" Лінія",cLn="Повернути",fLn="Заблокувати співвідношення сторін",dLn=" Розблокувати співвідношення сторін",hLn="Згрупувати",pLn=" Розгрупувати",gLn="Перемістити назад",mLn="Перемістити на задній план",vLn="Перемістити вперед",yLn="Перемістити на передній план",bLn="Скидання кута",wLn="Блокування",kLn=" Розблокування",_Ln="Перейти на сторінку",CLn="Перевернути горизонтально",ELn="Перевернути вертикально",xLn="Перемістити",SLn="На передній план",ALn=" Вперед",TLn="На задній план",DLn="Назад",ILn="Мова",RLn={"style.menu.color":eOn,"style.menu.fill":tOn,"style.menu.dash":nOn,"style.menu.size":rOn,"style.menu.keep.open":iOn,"style.menu.font":aOn,"style.menu.align":oOn,styles:sOn,"zoom.in":lOn,"zoom.out":uOn,to:cOn,"menu.file":fOn,"menu.edit":dOn,"menu.view":hOn,"menu.preferences":pOn,"menu.sign.in":gOn,"menu.sign.out":mOn,"become.a.sponsor":vOn,"zoom.to.selection":yOn,"zoom.to.fit":bOn,"zoom.to":wOn,"preferences.dark.mode":kOn,"preferences.focus.mode":_On,"preferences.debug.mode":COn,"preferences.show.grid":EOn,"preferences.use.cad.selection":xOn,"preferences.keep.stylemenu.open":SOn,"preferences.always.show.snaps":AOn,"preferences.rotate.handles":TOn,"preferences.binding.handles":DOn,"preferences.clone.handles":IOn,undo:ROn,redo:MOn,cut:OOn,copy:LOn,paste:BOn,"copy.as":POn,"export.as":FOn,"select.all":NOn,"select.none":$On,delete:zOn,"new.project":UOn,open:jOn,save:HOn,"save.as":qOn,"upload.media":WOn,"create.page":GOn,"new.page":VOn,"page.name":KOn,duplicate:YOn,cancel:XOn,"copy.invite.link":JOn,"create.multiplayer.project":ZOn,"copy.multiplayer.project":QOn,select:eLn,eraser:tLn,draw:nLn,arrow:rLn,text:iLn,sticky:aLn,rectangle:oLn,ellipse:sLn,triangle:lLn,line:uLn,rotate:cLn,"lock.aspect.ratio":fLn,"unlock.aspect.ratio":dLn,group:hLn,ungroup:pLn,"move.to.back":gLn,"move.backward":mLn,"move.forward":vLn,"move.to.front":yLn,"reset.angle":bLn,lock:wLn,unlock:kLn,"move.to.page":_Ln,"flip.horizontal":CLn,"flip.vertical":ELn,move:xLn,"to.front":SLn,forward:ALn,backward:TLn,back:DLn,language:ILn},MLn="颜色",OLn="填充",LLn="边框",BLn="尺寸",PLn="保持常开",FLn="字体",NLn="对齐",$Ln="样式",zLn="放大",ULn="缩小",jLn="缩放至",HLn="工具",qLn="转换",WLn="文件",GLn="编辑",VLn="视图",KLn="偏好",YLn="登录",XLn="登出",JLn="搜索",ZLn="成为赞助者",QLn="缩放选中",eBn="自适应缩放",tBn="缩放至",nBn="缩放至内容",rBn="暗黑模式",iBn="专注模式",aBn="调试模式",oBn="显示网格",sBn="使用 CAD 选择",lBn="保持样式菜单常开",uBn="总是展示对齐线",cBn="旋转手柄",fBn="捆绑手柄",dBn="克隆手柄",hBn="撤销",pBn="重做",gBn="剪切",mBn="复制",vBn="粘贴",yBn="复制为",bBn="导出为",wBn="选中全部",kBn="取消选中",_Bn="删除",CBn="新项目",EBn="打开",xBn="保存",SBn="保存为",ABn="上传媒体文件",TBn="创建页面",DBn="新页面",IBn="页面名称",RBn="复制",MBn="取消",OBn="复制邀请链接",LBn="创建多人项目",BBn="复制到多人项目",PBn="选择",FBn="橡皮",NBn="画笔",$Bn="箭头",zBn="文本",UBn="便利贴",jBn="矩形",HBn="椭圆形",qBn="三角形",WBn="直线",GBn="旋转",VBn="锁定宽高比",KBn="解锁宽高比",YBn="分组",XBn="取消分组",JBn="置底",ZBn="下移一层",QBn="上移一层",ePn="置顶",tPn="重置旋转角度",nPn="锁定",rPn="解锁",iPn="移动到页面",aPn="水平翻转",oPn="垂直翻转",sPn="移动",lPn="置顶",uPn="上一层",cPn="下一层",fPn="置底",dPn="语言",hPn="键盘快捷键",pPn="了解更多",gPn="页面",mPn="锚点位置",vPn="下面",yPn="左面",bPn="右面",wPn="上面",kPn="导出背景色",_Pn="透明",CPn="自动",EPn="明亮",xPn="暗黑",SPn="复制只读链接",APn="图片",TPn="对齐 / 分散",DPn="您是否想保存当前的项目?",IPn="您是否想保存对当前项目的更改?",RPn="取消",MPn="否",OPn="是",LPn={"style.menu.color":MLn,"style.menu.fill":OLn,"style.menu.dash":LLn,"style.menu.size":BLn,"style.menu.keep.open":PLn,"style.menu.font":FLn,"style.menu.align":NLn,styles:$Ln,"zoom.in":zLn,"zoom.out":ULn,to:jLn,"menu.tools":HLn,"menu.transform":qLn,"menu.file":WLn,"menu.edit":GLn,"menu.view":VLn,"menu.preferences":KLn,"menu.sign.in":YLn,"menu.sign.out":XLn,search:JLn,"become.a.sponsor":ZLn,"zoom.to.selection":QLn,"zoom.to.fit":eBn,"zoom.to":tBn,"zoom.to.content":nBn,"preferences.dark.mode":rBn,"preferences.focus.mode":iBn,"preferences.debug.mode":aBn,"preferences.show.grid":oBn,"preferences.use.cad.selection":sBn,"preferences.keep.stylemenu.open":lBn,"preferences.always.show.snaps":uBn,"preferences.rotate.handles":cBn,"preferences.binding.handles":fBn,"preferences.clone.handles":dBn,undo:hBn,redo:pBn,cut:gBn,copy:mBn,paste:vBn,"copy.as":yBn,"export.as":bBn,"select.all":wBn,"select.none":kBn,delete:_Bn,"new.project":CBn,open:EBn,save:xBn,"save.as":SBn,"upload.media":ABn,"create.page":TBn,"new.page":DBn,"page.name":IBn,duplicate:RBn,cancel:MBn,"copy.invite.link":OBn,"create.multiplayer.project":LBn,"copy.multiplayer.project":BBn,select:PBn,eraser:FBn,draw:NBn,arrow:$Bn,text:zBn,sticky:UBn,rectangle:jBn,ellipse:HBn,triangle:qBn,line:WBn,rotate:GBn,"lock.aspect.ratio":VBn,"unlock.aspect.ratio":KBn,group:YBn,ungroup:XBn,"move.to.back":JBn,"move.backward":ZBn,"move.forward":QBn,"move.to.front":ePn,"reset.angle":tPn,lock:nPn,unlock:rPn,"move.to.page":iPn,"flip.horizontal":aPn,"flip.vertical":oPn,move:sPn,"to.front":lPn,forward:uPn,backward:cPn,back:fPn,language:dPn,"keyboard.shortcuts":hPn,"translation.link":pPn,page:gPn,"dock.position":mPn,bottom:vPn,left:yPn,right:bPn,top:wPn,"export.background":kPn,transparent:_Pn,auto:CPn,light:EPn,dark:xPn,"copy.readonly.link":SPn,image:APn,"align.distribute":TPn,"dialog.save.firsttime":DPn,"dialog.save.again":IPn,"dialog.cancel":RPn,"dialog.no":MPn,"dialog.yes":OPn},BPn="顏色",PPn="填充",FPn="虛線",NPn="大小",$Pn="保持開啟",zPn="字型",UPn="對齊",jPn="樣式",HPn="放大",qPn="縮小",WPn="至",GPn="檔案",VPn="編輯",KPn="檢視",YPn="選項",XPn="登入",JPn="登出",ZPn="成為贊助者",QPn="縮放至選取範圍",eFn="縮放至適當大小",tFn="縮放至",nFn="深色模式",rFn="專注模式",iFn="除錯模式",aFn="顯示網格",oFn="使用 CAD 選取",sFn="樣式選單保持開啟",lFn="永遠顯示對齊線",uFn="旋轉控點",cFn="綁定控點",fFn="複製控點",dFn="復原",hFn="取消復原",pFn="剪下",gFn="複製",mFn="貼上",vFn="複製成",yFn="匯出成",bFn="全選",wFn="取消選取",kFn="刪除",_Fn="新專案",CFn="開啟",EFn="儲存",xFn="另存為",SFn="上傳媒體",AFn="建立頁面",TFn="新頁面",DFn="頁面名稱",IFn="複製",RFn="取消",MFn="複製邀請連結",OFn="複製唯讀連結",LFn="建立多人專案",BFn="複製至多人專案",PFn="選取",FFn="橡皮擦",NFn="手繪",$Fn="箭頭",zFn="文字",UFn="便利貼",jFn="長方形",HFn="橢圓形",qFn="三角形",WFn="直線",GFn="旋轉",VFn="鎖定長寬比",KFn="解鎖長寬比",YFn="組成群組",XFn="取消群組",JFn="移到最下層",ZFn="下移一層",QFn="上移一層",eNn="移到最上層",tNn="重設角度",nNn="鎖定",rNn="解鎖",iNn="移至頁面",aNn="水平翻轉",oNn="垂直翻轉",sNn="移動",lNn="到最上層",uNn="到上一層",cNn="到下一層",fNn="到最下層",dNn="語言",hNn="了解詳情",pNn="工具列位置",gNn="下方",mNn="左側",vNn="右側",yNn="上方",bNn="頁面",wNn={"style.menu.color":BPn,"style.menu.fill":PPn,"style.menu.dash":FPn,"style.menu.size":NPn,"style.menu.keep.open":$Pn,"style.menu.font":zPn,"style.menu.align":UPn,styles:jPn,"zoom.in":HPn,"zoom.out":qPn,to:WPn,"menu.file":GPn,"menu.edit":VPn,"menu.view":KPn,"menu.preferences":YPn,"menu.sign.in":XPn,"menu.sign.out":JPn,"become.a.sponsor":ZPn,"zoom.to.selection":QPn,"zoom.to.fit":eFn,"zoom.to":tFn,"preferences.dark.mode":nFn,"preferences.focus.mode":rFn,"preferences.debug.mode":iFn,"preferences.show.grid":aFn,"preferences.use.cad.selection":oFn,"preferences.keep.stylemenu.open":sFn,"preferences.always.show.snaps":lFn,"preferences.rotate.handles":uFn,"preferences.binding.handles":cFn,"preferences.clone.handles":fFn,undo:dFn,redo:hFn,cut:pFn,copy:gFn,paste:mFn,"copy.as":vFn,"export.as":yFn,"select.all":bFn,"select.none":wFn,delete:kFn,"new.project":_Fn,open:CFn,save:EFn,"save.as":xFn,"upload.media":SFn,"create.page":AFn,"new.page":TFn,"page.name":DFn,duplicate:IFn,cancel:RFn,"copy.invite.link":MFn,"copy.readonly.link":OFn,"create.multiplayer.project":LFn,"copy.multiplayer.project":BFn,select:PFn,eraser:FFn,draw:NFn,arrow:$Fn,text:zFn,sticky:UFn,rectangle:jFn,ellipse:HFn,triangle:qFn,line:WFn,rotate:GFn,"lock.aspect.ratio":VFn,"unlock.aspect.ratio":KFn,group:YFn,ungroup:XFn,"move.to.back":JFn,"move.backward":ZFn,"move.forward":QFn,"move.to.front":eNn,"reset.angle":tNn,lock:nNn,unlock:rNn,"move.to.page":iNn,"flip.horizontal":aNn,"flip.vertical":oNn,move:sNn,"to.front":lNn,forward:uNn,backward:cNn,back:fNn,language:dNn,"translation.link":hNn,"dock.position":pNn,bottom:gNn,left:mNn,right:vNn,top:yNn,page:bNn},Lhe=[{locale:"ar",label:"عربي",messages:Qqt},{locale:"da",label:"Danish",messages:pVt},{locale:"de",label:"Deutsch",messages:QYt},{locale:"en",label:"English",messages:eXt},{locale:"es",label:"Español",messages:$Zt},{locale:"fa",label:"فارسی",messages:Etn},{locale:"fr",label:"Français",messages:_rn},{locale:"gl",label:"Galego",messages:son},{locale:"he",label:"עברית",messages:$sn},{locale:"it",label:"Italiano",messages:Cun},{locale:"ja",label:"日本語",messages:tfn},{locale:"ko-kr",label:"한국어",messages:whn},{locale:"my",label:"မြန်မာစာ",messages:k2n},{locale:"nb-no",label:"Norwegian Bokmål",messages:Qyn},{locale:"ne",label:"नेपाली",messages:R4n},{locale:"nn-no",label:"Norwegian Nynorsk",messages:fkn},{locale:"pl",label:"Polski",messages:x_n},{locale:"pt",label:"Português - Europeu",messages:y9n},{locale:"pt-br",label:"Português - Brasil",messages:zEn},{locale:"ru",label:"Russian",messages:FSn},{locale:"sv",label:"Svenska",messages:$8n},{locale:"te",label:"తెలుగు",messages:rDn},{locale:"tr",label:"Türkçe",messages:QMn},{locale:"uk",label:"Ukrainian",messages:RLn},{locale:"zh-ch",label:"简体中文",messages:LPn},{locale:"zh-tw",label:"繁體中文 (台灣)",messages:wNn},{locale:"th",label:"ภาษาไทย",messages:kRn},{locale:"ku",label:"کوردی",messages:vpn}];Lhe.sort((e,t)=>e.localer.locale===e);return{locale:e,label:(t=n?.label)!=null?t:e,messages:mt(mt({},nmn),n?.messages)}}function _Nn(e){return C.useMemo(()=>kNn(e??navigator.language.split(/[-_]/)[0]),[e])}var XGe=C.createContext({}),JGe=()=>{let e=C.useContext(XGe);if(!e)throw new Error("useCtx must be inside a Provider with a value");return e},Ea=C.forwardRef((e,t)=>{var n=e,{onSelect:r,onClick:i,onDoubleClick:a,variant:o,children:s,isToolLocked:l=!1,disabled:u=!1,isActive:c=!1,onKeyDown:f,id:d}=n,h=Rh(n,["onSelect","onClick","onDoubleClick","variant","children","isToolLocked","disabled","isActive","onKeyDown","id"]);return C.createElement(CNn,mt({ref:t,isActive:c,variant:o,onClick:i,disabled:u,onPointerDown:r,onDoubleClick:a,onKeyDown:f,bp:sh,id:d},h),C.createElement(e0,null,s),l&&C.createElement(ENn,null))});function cg(e){var t=e,{label:n,kbd:r,variant:i,isLocked:a}=t,o=Rh(t,["label","kbd","variant","isLocked"]);let s=Xa(),l=C.useCallback(()=>{s.toggleToolLock()},[]),u=C.useCallback(c=>{c.key===" "&&s.isForcePanning&&c.preventDefault()},[]);return C.createElement(ps,{label:n[0].toUpperCase()+n.slice(1),kbd:r},C.createElement(Ea,Zt(mt({},o),{variant:i,isToolLocked:a&&o.isActive,onDoubleClick:l,onKeyDown:u,"aria-label":n[0].toUpperCase()+n.slice(1)})))}var e0=Hn("div",{position:"relative",height:"100%",width:"100%",backgroundColor:"$panel",borderRadius:"$2",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"$ui",color:"inherit",userSelect:"none",WebkitUserSelect:"none",boxSizing:"border-box",border:"1px solid transparent","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent"}),CNn=Hn("button",{position:"relative",color:"$text",fontSize:"$0",background:"none",margin:"0",padding:"$2",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",cursor:"pointer",pointerEvents:"all",height:"40px",width:"40px",border:"1px solid $panel","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent",[`&:disabled ${e0}`]:{opacity:.618},variants:{variant:{primary:{marginTop:"0"},icon:{[`& ${e0}`]:{display:"grid","& > *":{gridRow:1,gridColumn:1}}},text:{width:"auto",[`& ${e0}`]:{fontSize:"$1",padding:"0 $3",gap:"$3"}},circle:{padding:0,height:32,width:32,border:"none",[`& ${e0}`]:{border:"1px solid $panelContrast",borderRadius:"100%",boxShadow:"$panel"},[`& ${e0} > svg`]:{width:14,height:14}}},isActive:{true:{},false:{}},bp:{mobile:{padding:0},small:{}}},compoundVariants:[{variant:"primary",bp:"mobile",css:{height:40,width:36,[`& ${e0} > svg`]:{width:16,height:16}}},{variant:"primary",bp:"small",css:{height:"40px",width:"40px",[`& ${e0} > svg`]:{width:20,height:20}}},{isActive:!0,css:{[`${e0}`]:{backgroundColor:"$selected",color:"$selectedContrast"}}},{isActive:!1,bp:"small",css:{[`&:hover:not(:disabled) ${e0}`]:{backgroundColor:"$hover"},[`&:focus:not(:disabled) ${e0}`]:{backgroundColor:"$hover"}}}]}),ENn=Hn("div",{position:"absolute",width:10,height:10,backgroundColor:"$selected",borderRadius:"100%",bottom:-2,border:"2px solid $panel",zIndex:100}),xNn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,SNn=e=>e.settings.isDebugMode,ANn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.some(t=>e.document.pages[e.appState.currentPageId].shapes[t].children!==void 0),TNn=e=>e.stopPropagation(),DNn=({onBlur:e,children:t})=>{let n=X2();return C.createElement(vPt,{dir:"ltr"},C.createElement(yPt,{dir:"ltr"},t),C.createElement(k$,{container:n.current},C.createElement(bPt,{onEscapeKeyDown:TNn,tabIndex:-1,onBlur:e,asChild:!0},C.createElement(Y2,{id:"TD-ContextMenu"},C.createElement(INn,null)))))},INn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(xNn),r=e.useStore(SNn),i=e.useStore(ANn),a=C.useCallback(()=>{e.flipHorizontal()},[e]),o=C.useCallback(()=>{e.flipVertical()},[e]),s=C.useCallback(()=>{e.duplicate()},[e]),l=C.useCallback(()=>{e.toggleLocked()},[e]),u=C.useCallback(()=>{e.group()},[e]),c=C.useCallback(()=>{e.moveToBack()},[e]),f=C.useCallback(()=>{e.moveBackward()},[e]),d=C.useCallback(()=>{e.moveForward()},[e]),h=C.useCallback(()=>{e.moveToFront()},[e]),p=C.useCallback(()=>{e.delete()},[e]),g=C.useCallback(()=>{e.cut()},[e]),b=C.useCallback(()=>{e.copy()},[e]),m=C.useCallback(()=>{e.paste()},[e]),v=C.useCallback(()=>{e.copyImage("svg",{scale:1,quality:1,transparentBackground:!1})},[e]),w=C.useCallback(()=>{e.copyImage("png",{scale:2,quality:1,transparentBackground:!0})},[e]),k=C.useCallback(()=>{e.undo()},[e]),E=C.useCallback(()=>{e.redo()},[e]),S=C.useCallback(()=>ai(this,null,function*(){e.exportImage("png",{scale:2,quality:1})}),[e]),T=C.useCallback(()=>ai(this,null,function*(){e.exportImage("jpeg",{scale:2,quality:1})}),[e]),L=C.useCallback(()=>ai(this,null,function*(){e.exportImage("webp",{scale:2,quality:1})}),[e]),M=C.useCallback(()=>ai(this,null,function*(){e.exportImage("svg",{scale:1,quality:1})}),[e]),D=C.useCallback(()=>ai(this,null,function*(){e.copyJson()}),[e]),I=C.useCallback(()=>ai(this,null,function*(){e.exportJson()}),[e]),B=n>0,N=n>1,O=n>2;return C.createElement(C.Fragment,null,B?C.createElement(C.Fragment,null,C.createElement(Ca,{onClick:s,kbd:"#D",id:"TD-ContextMenu-Duplicate"},C.createElement(tr,{id:"duplicate"})),C.createElement(Ca,{onClick:a,kbd:"⇧H",id:"TD-ContextMenu-Flip_Horizontal"},C.createElement(tr,{id:"flip.horizontal"})),C.createElement(Ca,{onClick:o,kbd:"⇧V",id:"TD-ContextMenu-Flip_Vertical"},C.createElement(tr,{id:"flip.vertical"})),C.createElement(Ca,{onClick:l,kbd:"#⇧L",id:"TD-ContextMenu- Lock_Unlock"},C.createElement(tr,{id:"lock"})," / ",C.createElement(tr,{id:"unlock"})),(N||i)&&C.createElement(Fs,null),N&&C.createElement(Ca,{onClick:u,kbd:"#G",id:"TD-ContextMenu-Group"},C.createElement(tr,{id:"group"})),i&&C.createElement(Ca,{onClick:u,kbd:"#G",id:"TD-ContextMenu-Ungroup"},C.createElement(tr,{id:"ungroup"})),C.createElement(Fs,null),C.createElement(pI,{label:t.formatMessage({id:"move"}),id:"TD-ContextMenu-Move"},C.createElement(Ca,{onClick:h,kbd:"⇧]",id:"TD-ContextMenu-Move-To_Front"},C.createElement(tr,{id:"to.front"})),C.createElement(Ca,{onClick:d,kbd:"]",id:"TD-ContextMenu-Move-Forward"},C.createElement(tr,{id:"forward"})),C.createElement(Ca,{onClick:f,kbd:"[",id:"TD-ContextMenu-Move-Backward"},C.createElement(tr,{id:"backward"})),C.createElement(Ca,{onClick:c,kbd:"⇧[",id:"TD-ContextMenu-Move-To_Back"},C.createElement(tr,{id:"back"}))),C.createElement(BNn,null),N&&C.createElement(RNn,{hasTwoOrMore:N,hasThreeOrMore:O}),C.createElement(Fs,null),C.createElement(Ca,{onClick:g,kbd:"#X",id:"TD-ContextMenu-Cut"},C.createElement(tr,{id:"cut"})),C.createElement(Ca,{onClick:b,kbd:"#C",id:"TD-ContextMenu-Copy"},C.createElement(tr,{id:"copy"})),C.createElement(Ca,{onClick:m,kbd:"#V",id:"TD-ContextMenu-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Fs,null),C.createElement(pI,{label:`${t.formatMessage({id:"copy.as"})}...`,size:"small",id:"TD-ContextMenu-Copy-As"},C.createElement(Ca,{onClick:v,id:"TD-ContextMenu-Copy-as-SVG"},"SVG"),C.createElement(Ca,{onClick:w,id:"TD-ContextMenu-Copy-As-PNG"},"PNG"),r&&C.createElement(Ca,{onClick:D,id:"TD-ContextMenu-Copy_as_JSON"},"JSON")),C.createElement(pI,{label:`${t.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-ContextMenu-Export"},C.createElement(Ca,{onClick:M,id:"TD-ContextMenu-Export-SVG"},"SVG"),C.createElement(Ca,{onClick:S,id:"TD-ContextMenu-Export-PNG"},"PNG"),C.createElement(Ca,{onClick:T,id:"TD-ContextMenu-Export-JPG"},"JPG"),C.createElement(Ca,{onClick:L,id:"TD-ContextMenu-Export-WEBP"},"WEBP"),r&&C.createElement(Ca,{onClick:I,id:"TD-ContextMenu-Export-JSON"},"JSON")),C.createElement(Fs,null),C.createElement(Ca,{onClick:p,kbd:"⌫",id:"TD-ContextMenu-Delete"},C.createElement(tr,{id:"delete"}))):C.createElement(C.Fragment,null,C.createElement(Ca,{onClick:m,kbd:"#V",id:"TD-ContextMenu-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Ca,{onClick:k,kbd:"#Z",id:"TD-ContextMenu-Undo"},C.createElement(tr,{id:"undo"})),C.createElement(Ca,{onClick:E,kbd:"#⇧Z",id:"TD-ContextMenu-Redo"},C.createElement(tr,{id:"redo"})),C.createElement(pI,{label:`${t.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-ContextMenu-Export"},C.createElement(Ca,{onClick:M,id:"TD-ContextMenu-Export-SVG"},"SVG"),C.createElement(Ca,{onClick:S,id:"TD-ContextMenu-Export-PNG"},"PNG"),C.createElement(Ca,{onClick:T,id:"TD-ContextMenu-Export-JPG"},"JPG"),C.createElement(Ca,{onClick:L,id:"TD-ContextMenu-Export-WEBP"},"WEBP"),r&&C.createElement(Ca,{onClick:I,id:"TD-ContextMenu-Export-JSON"},"JSON"))))});function RNn({hasThreeOrMore:e}){let t=Xa(),n=C.useCallback(()=>{t.align("top")},[t]),r=C.useCallback(()=>{t.align("centerVertical")},[t]),i=C.useCallback(()=>{t.align("bottom")},[t]),a=C.useCallback(()=>{t.stretch("vertical")},[t]),o=C.useCallback(()=>{t.distribute("vertical")},[t]),s=C.useCallback(()=>{t.align("left")},[t]),l=C.useCallback(()=>{t.align("centerHorizontal")},[t]),u=C.useCallback(()=>{t.align("right")},[t]),c=C.useCallback(()=>{t.stretch("horizontal")},[t]),f=C.useCallback(()=>{t.distribute("horizontal")},[t]),d=X2();return C.createElement(hhe,null,C.createElement(Phe,{id:"TD-ContextMenu-Align-Distribute-Trigger"},C.createElement(tr,{id:"align.distribute"})),C.createElement(k$,{container:d.current},C.createElement(phe,{asChild:!0,sideOffset:4,alignOffset:-2},C.createElement(MNn,{numberOfSelected:e?"threeOrMore":"twoOrMore"},C.createElement(fp,{onClick:s,id:"TD-ContextMenu-Align_Distribute-AlignLeft"},C.createElement(_We,null)),C.createElement(fp,{onClick:l,id:"TD-ContextMenu-Align_Distribute-AlignCenterHorizontal"},C.createElement(wWe,null)),C.createElement(fp,{onClick:u,id:"TD-ContextMenu-Align_Distribute-AlignRight"},C.createElement(CWe,null)),C.createElement(fp,{onClick:c,id:"TD-ContextMenu-Align_Distribute-StretchHorizontal"},C.createElement(TWe,null)),e&&C.createElement(fp,{onClick:f,id:"TD-ContextMenu-Align_Distribute-SpaceEvenlyHorizontal"},C.createElement(SWe,null)),C.createElement(fp,{onClick:n,id:"TD-ContextMenu-Align_Distribute-AlignTop"},C.createElement(EWe,null)),C.createElement(fp,{onClick:r,id:"TD-ContextMenu-Align_Distribute-AlignCenterVertical"},C.createElement(kWe,null)),C.createElement(fp,{onClick:i,id:"TD-ContextMenu-Align_Distribute-AlignBottom"},C.createElement(bWe,null)),C.createElement(fp,{onClick:a,id:"TD-ContextMenu-Align_Distribute-StretchVertical"},C.createElement(DWe,null)),e&&C.createElement(fp,{onClick:o,id:"TD-ContextMenu-Align_Distribute-SpaceEvenlyVertical"},C.createElement(AWe,null)),C.createElement(Bhe,{offset:13})))))}var MNn=Hn(Y2,{display:"grid",variants:{numberOfSelected:{threeOrMore:{gridTemplateColumns:"repeat(5, auto)"},twoOrMore:{gridTemplateColumns:"repeat(4, auto)"}}}}),ONn=e=>e.appState.currentPageId,LNn=e=>e.document.pages;function BNn(){let e=Xa(),t=e.useStore(ONn),n=e.useStore(LNn),r=Object.values(n).sort((a,o)=>(a.childIndex||0)-(o.childIndex||0)).filter(a=>a.id!==t),i=X2();return r.length===0?null:C.createElement(hhe,null,C.createElement(Phe,null,C.createElement(tr,{id:"move.to.page"})),C.createElement(k$,{container:i.current},C.createElement(phe,{sideOffset:4,alignOffset:-2,asChild:!0},C.createElement(Y2,null,r.map(({id:a,name:o},s)=>C.createElement(Ca,{key:a,disabled:a===t,onClick:()=>e.moveToPage(a)},o||`Page ${s}`)),C.createElement(Bhe,{offset:13})))))}function pI({children:e,label:t,size:n,id:r}){let i=X2();return C.createElement(hhe,null,C.createElement(Phe,null,t),C.createElement(k$,{container:i.current},C.createElement(phe,{sideOffset:4,alignOffset:-2,asChild:!0},C.createElement(Y2,{size:n},e,C.createElement(Bhe,{offset:13})))))}var Bhe=Hn(hPt,{fill:"$panel"});function fp(e){var t=e,{onSelect:n}=t,r=Rh(t,["onSelect"]);return C.createElement(yWe,{dir:"ltr",onSelect:n,asChild:!0},C.createElement(Ea,mt({},r)))}var Ca=e=>{var t=e,{id:n}=t,r=Rh(t,["id"]);return C.createElement(yWe,{asChild:!0,id:n},C.createElement(Ic,mt({},r)))},Phe=e=>{var t=e,{id:n}=t,r=Rh(t,["id"]);return C.createElement(wPt,{asChild:!0,id:n},C.createElement(Ic,mt({hasArrow:!0},r)))},PNn=C.memo(DNn);function FNn({error:e,resetErrorBoundary:t}){let n=Xa(),r=()=>{window.location.reload(),t()},i=()=>{let s=document.createElement("textarea");s.value=e.message,document.body.appendChild(s),s.select(),document.execCommand("copy"),s.remove()},a=()=>{n.saveProjectAs()},o=()=>{n.resetDocument(),t()};return C.createElement(NNn,null,C.createElement($Nn,null,C.createElement("div",null,"We've encountered an error!"),C.createElement("pre",null,C.createElement("code",null,e.message)),C.createElement(zNn,null,C.createElement(Ic,{onClick:i},"Copy Error"),C.createElement(Ic,{onClick:r},"Refresh Page")),C.createElement(Fs,null),C.createElement("p",null,"Keep getting this error?"," ",C.createElement("a",{onClick:a,title:"Download your project"},"Download your project")," ","as a backup and then"," ",C.createElement("a",{onClick:o,title:"Reset the document"},"reset the document"),".")))}var NNn=Hn("div",{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"$canvas"}),$Nn=Hn("div",{backgroundColor:"$panel",border:"1px solid $panelContrast",padding:"$5",borderRadius:8,boxShadow:"$panel",maxWidth:320,color:"$text",fontFamily:"$ui",fontSize:"$2",textAlign:"center",display:"flex",flexDirection:"column",gap:"$3","& > pre":{marginTop:"$3",marginBottom:"$3",textAlign:"left",whiteSpace:"pre-wrap",backgroundColor:"$hover",padding:"$4",borderRadius:"$2",fontFamily:'"Menlo", "Monaco", monospace',fontWeight:500},"& p":{fontFamily:"$body",lineHeight:1.7,padding:"$5",margin:0},"& a":{color:"$text",cursor:"pointer",textDecoration:"underline"},"& hr":{marginLeft:"-$5",marginRight:"-$5"}}),zNn=Hn("div",{display:"flex","& > button > div":{justifyContent:"center",textAlign:"center"}}),Fhe=Hn("button",{position:"relative",height:"32px",width:"32px",backgroundColor:"$panel",borderRadius:"4px",padding:"0",margin:"0",outline:"none",border:"none",pointerEvents:"all",fontSize:"$0",color:"$text",cursor:"pointer",display:"grid",alignItems:"center",justifyContent:"center","& > *":{gridRow:1,gridColumn:1},"&:disabled":{opacity:"0.5"},"& > span":{width:"100%",height:"100%",display:"flex",alignItems:"center"},variants:{bp:{mobile:{backgroundColor:"transparent"},small:{"&:hover:not(:disabled)":{backgroundColor:"$hover"}}},size:{small:{height:32,width:32,"& svg:nth-of-type(1)":{height:"16px",width:"16px"}},medium:{height:44,width:44,"& svg:nth-of-type(1)":{height:"18px",width:"18px"}},large:{height:44,width:44,"& svg:nth-of-type(1)":{height:"20px",width:"20px"}}},isActive:{true:{color:"$selected"}}}});function UNn({onSelect:e}){return C.createElement(jNn,null,C.createElement(Fhe,{onClick:e},C.createElement(ZPt,null)))}var jNn=Hn("div",{opacity:1,zIndex:100,backgroundColor:"transparent","& svg":{color:"$text"},"&:hover svg":{color:"$text"}}),HNn=e=>e.appState.isLoading;function qNn(){let e=Xa().useStore(HNn);return C.createElement(WNn,{hidden:!e},C.createElement(tr,{id:"loading",values:{dots:"..."}}))}var WNn=Hn("div",{position:"absolute",top:0,left:"50%",transform:"translate(-50%, 0)",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px",padding:"8px 16px",fontFamily:"var(--fonts-ui)",fontSize:"var(--fontSizes-1)",boxShadow:"var(--shadows-panel)",backgroundColor:"white",zIndex:200,pointerEvents:"none","& > div > *":{pointerEvents:"all"},variants:{transform:{hidden:{transform:"translate(-50%, 100%)"},visible:{transform:"translate(-50%, 0%)"}}}});function GNn({children:e,onClose:t,container:n}){return C.createElement(She,{container:n},C.createElement(QNn,null),C.createElement(e$n,{onKeyDown:r=>{switch(r.key){case"Escape":t?.();break}}},e))}var VNn=Hn(yUt,{marginBottom:20,color:"$text",fontSize:"$2",lineHeight:1.5,textAlign:"center",maxWidth:"62%",minWidth:0,alignSelf:"center"}),KNn=xhe,YNn=GNn,XNn=VNn,Bwe=sB,JNn=bGe,ZNn=({container:e})=>{let{setDialogState:t,dialogState:n,onCancel:r,onNo:i,onYes:a}=JGe(),o=Jl(),s={saveFirstTime:o.formatMessage({id:"dialog.save.firsttime"}),saveAgain:o.formatMessage({id:"dialog.save.again"})};return C.createElement(KNn,{open:n!==null},C.createElement(YNn,{onClose:()=>t(null),container:e},n&&C.createElement(XNn,null,s[n]),C.createElement("div",{style:{width:"100%",gap:"$6",display:"flex",justifyContent:"space-between"}},r&&C.createElement(JNn,{asChild:!0},C.createElement(PS,{css:{color:"$text"},onClick:()=>{r(),t(null)}},C.createElement(tr,{id:"dialog.cancel"}))),C.createElement("div",{style:{flexShrink:0}},i&&C.createElement(Bwe,{asChild:!0},C.createElement(PS,{onClick:()=>{i(),t(null)}},C.createElement(tr,{id:"dialog.no"}))),a&&C.createElement(Bwe,{asChild:!0},C.createElement(PS,{css:{backgroundColor:"#2F80ED",color:"White"},onClick:()=>{a(),t(null)}},C.createElement(tr,{id:"dialog.yes"})))))))},QNn=Hn(I$,{position:"fixed",inset:0,backgroundColor:"rgba(0, 0, 0, .15)",pointerEvents:"all"});Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0});var e$n=Hn(Ahe,{position:"fixed",font:"$ui",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"max-content",padding:"$3",pointerEvents:"all",backgroundColor:"$panel",borderRadius:"$3",display:"flex",flexDirection:"column",justifyContent:"center",fontFamily:"$ui",border:"1px solid $panelContrast",boxShadow:"$panel"}),PS=Hn("button",{all:"unset",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"$2",padding:"0 15px",fontSize:"$1",lineHeight:1,fontWeight:"normal",height:36,color:"$text",cursor:"pointer",minWidth:48}),ZGe=C.forwardRef((e,t)=>{var n=e,{icon:r}=n,i=Rh(n,["icon"]);return C.createElement(t$n,null,C.createElement(n$n,Zt(mt({},i),{ref:t})),r?C.createElement(r$n,null,r):null)}),t$n=Hn("div",{position:"relative",width:"100%",height:"min-content"}),n$n=Hn("input",{color:"$text",border:"none",textAlign:"left",width:"100%",paddingLeft:"$3",paddingRight:"$6",backgroundColor:"$background",height:"32px",outline:"none",fontFamily:"$ui",fontSize:"$1","&:focus":{backgroundColor:"$hover"},borderRadius:"$2"}),r$n=Hn(L0,{top:0,right:0,position:"absolute",paddingLeft:"$3",paddingRight:"$3",pointerEvents:"none",color:"$text"}),i$n=({isOpen:e,onClose:t})=>{let n=Xa(),r=X2(),i=Jl(),[a,o]=C.useState(n.document.name),s=C.useCallback(c=>{let f=c.target.value.trimStart();o(f)},[]);function l(c){c.stopPropagation()}let u=C.useCallback(c=>{switch(c.key){case"Enter":{n.saveProjectAs(a),t();break}case"Escape":{t();break}}},[]);return C.createElement(xhe,{open:e},C.createElement(She,{container:r.current},C.createElement(o$n,{onPointerDown:t}),C.createElement(a$n,{dir:"ltr",onKeyDown:l,onKeyUp:l},C.createElement(l$n,{placeholder:i.formatMessage({id:"enter.file.name"}),value:a,onChange:s,onKeyDown:u,icon:C.createElement(ghe,null)}),C.createElement(s$n,null,C.createElement(sB,{asChild:!0},C.createElement(PS,{onClick:t},C.createElement(tr,{id:"cancel"}))),C.createElement(sB,{asChild:!0},C.createElement(PS,{css:{backgroundColor:"#2F80ED",color:"White"},onClick:()=>{let c=a.trim().replace(/\.tldr$/,"");n.saveProjectAs(c),t()}},C.createElement(tr,{id:"save"})))))))},a$n=Hn(Ahe,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",minWidth:300,maxWidth:"fit-content",maxHeight:"85vh",marginTop:"-5vh",pointerEvents:"all",backgroundColor:"$panel",padding:"$3",borderRadius:"$2",font:"$ui",zIndex:999999,"&:focus":{outline:"none"}}),o$n=Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0,zIndex:999998}),s$n=Hn("div",{width:"100%",display:"flex",alignItems:"center",gap:8,justifyContent:"flex-end",marginTop:10}),l$n=Hn(ZGe,{background:"$hover"});function Yi(e){var t=e,{onSelect:n,id:r}=t,i=Rh(t,["onSelect","id"]);return C.createElement(C$,{dir:"ltr",asChild:!0,onSelect:n,id:r},C.createElement(Ic,mt({},i)))}var ms=e=>e.preventDefault();function a0({checked:e,disabled:t=!1,variant:n,onCheckedChange:r,kbd:i,id:a,ariaLabel:o,children:s}){return C.createElement(VNt,{dir:"ltr",onSelect:ms,onCheckedChange:r,checked:e,disabled:t,asChild:!0,id:a,"aria-label":o},C.createElement(Ic,{kbd:i,variant:n,hasIndicator:!0},s))}var rd=e=>e.stopPropagation();function E3({sideOffset:e=4,alignOffset:t=0,children:n,align:r,variant:i,id:a,overflow:o=!1,side:s="bottom"}){let l=X2();return C.createElement(GNt,{container:l.current,dir:"ltr"},C.createElement(FWe,{align:r,alignOffset:t,sideOffset:e,onEscapeKeyDown:rd,asChild:!0,id:a,side:s},C.createElement(u$n,{variant:i,overflow:o},n)))}var u$n=Hn(Y2,{width:"fit-content",height:"fit-content",minWidth:0,maxHeight:"100vh",overflowY:"auto",overflowX:"hidden","&::webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none",scrollbarWidth:"none",variants:{variant:{horizontal:{flexDirection:"row"},menu:{minWidth:128}},overflow:{true:{maxHeight:"60vh"}}}});Hn(YNt,{backgroundColor:"$hover",height:1,marginTop:"$2",marginRight:"-$2",marginBottom:"$2",marginLeft:"-$2"});var gI=Hn(NWe,{height:"32px",width:"32px",backgroundColor:"$panel",borderRadius:"4px",padding:"0",margin:"0",display:"flex",alignItems:"center",justifyContent:"center",outline:"none",border:"none",pointerEvents:"all",cursor:"pointer",variants:{isActive:{true:{backgroundColor:"$selected",color:"white"},false:{}},bp:{mobile:{},small:{}}},compoundVariants:[{isActive:!1,bp:"small",css:{"&:focus":{backgroundColor:"$hover"},"&:hover:not(:disabled)":{backgroundColor:"$hover"}}}]});function kv({children:e,size:t,overflow:n=!1,disabled:r=!1,label:i,id:a}){return C.createElement(JNt,{key:a},C.createElement(ZNt,{dir:"ltr",asChild:!0},C.createElement(Ic,{disabled:r,hasArrow:!0},i)),C.createElement(QNt,{asChild:!0,sideOffset:4,alignOffset:-4},C.createElement(Y2,{size:t,overflow:n},e,C.createElement(XNt,{offset:13}))))}function QGe(e){var t=e,{id:n,children:r}=t,i=Rh(t,["id","children"]);return C.createElement(C3,{asChild:!0,id:n},C.createElement(Ea,mt({},i),r))}var c$n=e=>e.settings.dockPosition,f$n=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,d$n=e=>{let t=e.document.pages[e.appState.currentPageId],{selectedIds:n}=e.document.pageStates[e.appState.currentPageId];return n.every(r=>t.shapes[r].isLocked)},h$n=e=>{let t=e.document.pages[e.appState.currentPageId],{selectedIds:n}=e.document.pageStates[e.appState.currentPageId];return n.every(r=>t.shapes[r].isAspectRatioLocked)},p$n=e=>{let t=e.document.pages[e.appState.currentPageId],n=e.document.pageStates[e.appState.currentPageId].selectedIds.map(r=>t.shapes[r]);return n.every(r=>r.children!==void 0||r.parentId===n[0].parentId&&n[0].parentId!==e.appState.currentPageId)},g$n=e=>{let{selectedIds:t}=e.document.pageStates[e.appState.currentPageId];return t.length>0},m$n=e=>{let{selectedIds:t}=e.document.pageStates[e.appState.currentPageId];return t.length>1};function v$n(){let e=Xa(),t=Jl(),n=e.useStore(d$n),r=e.useStore(h$n),i=e.useStore(p$n),a=e.useStore(g$n),o=e.useStore(m$n),s=e.useStore(f$n),l=e.useStore(c$n),u=s>1,c=s>2,f=C.useCallback(()=>{e.rotate()},[e]),d=C.useCallback(()=>{e.duplicate()},[e]),h=C.useCallback(()=>{e.toggleLocked()},[e]),p=C.useCallback(()=>{e.toggleAspectRatioLocked()},[e]),g=C.useCallback(()=>{e.group()},[e]),b=C.useCallback(()=>{e.moveToBack()},[e]),m=C.useCallback(()=>{e.moveBackward()},[e]),v=C.useCallback(()=>{e.moveForward()},[e]),w=C.useCallback(()=>{e.moveToFront()},[e]),k=C.useCallback(()=>{e.setShapeProps({rotation:0})},[e]),E=C.useCallback(()=>{e.align("top")},[e]),S=C.useCallback(()=>{e.align("centerVertical")},[e]),T=C.useCallback(()=>{e.align("bottom")},[e]),L=C.useCallback(()=>{e.stretch("vertical")},[e]),M=C.useCallback(()=>{e.distribute("vertical")},[e]),D=C.useCallback(()=>{e.align("left")},[e]),I=C.useCallback(()=>{e.align("centerHorizontal")},[e]),B=C.useCallback(()=>{e.align("right")},[e]),N=C.useCallback(()=>{e.stretch("horizontal")},[e]),O=C.useCallback(()=>{e.distribute("horizontal")},[e]),R=C.useCallback(H=>{e.setMenuOpen(H)},[e]),P=l==="bottom"||l==="top"?"top":l;return C.createElement(V2,{dir:"ltr",onOpenChange:R},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Tools-Dots"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"shape.options"}),variant:"circle"},C.createElement(eFt,null))),C.createElement(E3,{sideOffset:16,side:P},C.createElement(C.Fragment,null,C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"duplicate"}),kbd:"#D",id:"TD-Tools-Copy"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"duplicate"}),disabled:!a,onClick:d},C.createElement(GPt,null))),C.createElement(ps,{label:t.formatMessage({id:"rotate"}),id:"TD-Tools-Rotate"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"rotate"}),disabled:!a,onClick:f},C.createElement(IFt,null))),C.createElement(ps,{label:t.formatMessage({id:n?"unlock":"lock"}),kbd:"#L",id:"TD-Tools-Lock"},C.createElement(Ea,{"aria-label":t.formatMessage({id:n?"unlock":"lock"}),disabled:!a,onClick:h},n?C.createElement(hFt,null):C.createElement(gFt,null))),C.createElement(ps,{label:t.formatMessage({id:r?"unlock.aspect.ratio":"lock.aspect.ratio"}),id:"TD-Tools-AspectRatio"},C.createElement(Ea,{"aria-label":t.formatMessage({id:r?"unlock.aspect.ratio":"lock.aspect.ratio"}),disabled:!a,onClick:p},r?C.createElement(PPt,null):C.createElement(NPt,null))),C.createElement(ps,{label:t.formatMessage({id:"group"}),kbd:"#G",id:"TD-Tools-Group"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"group"}),disabled:!a||!i&&!o,onClick:g},C.createElement(aFt,null)))),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"move.to.back"}),kbd:"#⇧[",id:"TD-Tools-PinBottom"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.to.back"}),disabled:!a,onClick:b},C.createElement(_Ft,null))),C.createElement(ps,{label:t.formatMessage({id:"move.backward"}),kbd:"#[",id:"TD-Tools-ArrowDown"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.backward"}),disabled:!a,onClick:m},C.createElement(IPt,null))),C.createElement(ps,{label:t.formatMessage({id:"move.forward"}),kbd:"#]",id:"TD-Tools-ArrowUp"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.forward"}),disabled:!a,onClick:v},C.createElement(LPt,null))),C.createElement(ps,{label:t.formatMessage({id:"move.to.front"}),kbd:"#⇧]",id:"TD-Tools-PinTop"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"move.to.front"}),disabled:!a,onClick:w},C.createElement(EFt,null))),C.createElement(ps,{label:t.formatMessage({id:"reset.angle"}),id:"TD-Tools-ResetAngle"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"reset.angle"}),disabled:!a,onClick:k},C.createElement(TPt,null)))),C.createElement(Fs,null),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"align.left"}),id:"TD-Tools-AlignLeft"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.left"}),disabled:!u,onClick:D},C.createElement(_We,null))),C.createElement(ps,{label:t.formatMessage({id:"align.center.x"}),id:"TD-Tools-AlignCenterHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.center.x"}),disabled:!u,onClick:I},C.createElement(wWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.right"}),id:"TD-Tools-AlignRight"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.right"}),disabled:!u,onClick:B},C.createElement(CWe,null))),C.createElement(ps,{label:t.formatMessage({id:"stretch.x"}),id:"TD-Tools-StretchHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"stretch.x"}),disabled:!u,onClick:N},C.createElement(TWe,null))),C.createElement(ps,{label:t.formatMessage({id:"distribute.x"}),id:"TD-Tools-SpaceEvenlyHorizontal"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"distribute.x"}),disabled:!c,onClick:O},C.createElement(SWe,null)))),C.createElement(mI,null,C.createElement(ps,{label:t.formatMessage({id:"align.top"}),id:"TD-Tools-AlignTop"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.top"}),disabled:!u,onClick:E},C.createElement(EWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.center.y"}),id:"TD-Tools-AlignCenterVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.center.y"}),disabled:!u,onClick:S},C.createElement(kWe,null))),C.createElement(ps,{label:t.formatMessage({id:"align.bottom"}),id:"TD-Tools-AlignBottom"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"align.bottom"}),disabled:!u,onClick:T},C.createElement(bWe,null))),C.createElement(ps,{label:t.formatMessage({id:"stretch.y"}),id:"TD-Tools-StretchVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"stretch.y"}),disabled:!u,onClick:L},C.createElement(DWe,null))),C.createElement(ps,{label:t.formatMessage({id:"distribute.y"}),id:"TD-Tools-SpaceEvenlyVertical"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"distribute.y"}),disabled:!c,onClick:M},C.createElement(AWe,null)))))))}var mI=Hn("div",{position:"relative",display:"flex",width:"100%",background:"none",border:"none",cursor:"pointer",outline:"none",alignItems:"center",justifyContent:"flex-start",padding:0}),y$n=e=>e.appState.isEmptyCanvas&&Object.keys(e.document.pages[e.appState.currentPageId].shapes).length>0,b$n=e=>e.settings.isDebugMode,w$n=e=>e.settings.dockPosition,k$n=C.memo(function(){let e=Xa(),t=e.useStore(y$n),n=e.useStore(w$n),r=e.useStore(b$n),i={bottom:n==="bottom"&&r?120:n==="bottom"?80:r?60:20,left:"50%",transform:"translate(-50%,0)"};return t?C.createElement(_$n,{id:"TD-Tools-Back_to_content",style:mt({},i)},C.createElement(Ic,{onClick:e.zoomToContent},C.createElement(tr,{id:"zoom.to.content"}))):null}),_$n=Hn(Y2,{pointerEvents:"all",width:"fit-content",minWidth:0,position:"fixed",bottom:0});function Pwe(e){let t=e,{size:n=16}=t,r=Rh(t,["size"]);return C.createElement("svg",mt({width:24,height:24},r),C.createElement("circle",{cx:12,cy:12,r:n/2}))}function C$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2.5,strokeLinecap:"round",strokeDasharray:50.26548*.1}))}var E$n=`${50.26548*.025} ${50.26548*.1}`;function x$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2.5,strokeLinecap:"round",strokeDasharray:E$n}))}function S$n(){return C.createElement("svg",{width:"24",height:"24",viewBox:"1 1.5 21 22",fill:"currentColor",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M10.0162 19.2768C10.0162 19.2768 9.90679 19.2517 9.6879 19.2017C9.46275 19.1454 9.12816 19.0422 8.68413 18.8921C8.23384 18.7358 7.81482 18.545 7.42707 18.3199C7.03307 18.101 6.62343 17.7883 6.19816 17.3818C5.77289 16.9753 5.33511 16.3718 4.88482 15.5713C4.43453 14.7645 4.1531 13.8545 4.04053 12.8414C3.92795 11.822 4.04991 10.8464 4.40639 9.91451C4.76286 8.98266 5.39452 8.10084 6.30135 7.26906C7.21444 6.44353 8.29325 5.83377 9.5378 5.43976C10.7823 5.05202 11.833 4.92068 12.6898 5.04576C13.5466 5.16459 14.3878 5.43664 15.2133 5.86191C16.0388 6.28718 16.7768 6.8688 17.4272 7.60678C18.0714 8.34475 18.5404 9.21406 18.8344 10.2147C19.1283 11.2153 19.1721 12.2598 18.9657 13.348C18.7593 14.4299 18.2872 15.4337 17.5492 16.3593C16.8112 17.2849 15.9263 18.0072 14.8944 18.5263C13.8624 19.0391 12.9056 19.3174 12.0238 19.3612C11.142 19.405 10.2101 19.2705 9.22823 18.9578C8.24635 18.6451 7.35828 18.151 6.56402 17.4756C5.77601 16.8002 6.08871 16.8658 7.50212 17.6726C8.90927 18.4731 10.1444 18.8484 11.2076 18.7983C12.2645 18.7545 13.2965 18.4825 14.3034 17.9822C15.3102 17.4819 16.1264 16.8221 16.7518 16.0028C17.3772 15.1835 17.7681 14.3111 17.9244 13.3855C18.0808 12.4599 18.0401 11.5781 17.8025 10.74C17.5586 9.902 17.1739 9.15464 16.6486 8.49797C16.1233 7.8413 15.2289 7.27844 13.9656 6.80939C12.7086 6.34034 11.4203 6.20901 10.1007 6.41539C8.78732 6.61552 7.69599 7.06893 6.82669 7.77564C5.96363 8.48859 5.34761 9.26409 4.97863 10.1021C4.60964 10.9402 4.45329 11.8376 4.50958 12.7945C4.56586 13.7513 4.79101 14.6238 5.18501 15.4118C5.57276 16.1998 5.96363 16.8002 6.35764 17.2129C6.75164 17.6257 7.13313 17.9509 7.50212 18.1886C7.87736 18.4325 8.28074 18.642 8.71227 18.8171C9.15005 18.9922 9.47839 19.111 9.69728 19.1736C9.91617 19.2361 10.0256 19.2705 10.0256 19.2768H10.0162Z",strokeWidth:"2"}))}function A$n(){return C.createElement("svg",{width:"24",height:"24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("circle",{cx:12,cy:12,r:8,fill:"none",strokeWidth:2,strokeLinecap:"round"}))}function T$n(e){return C.createElement("svg",mt({width:18,height:18,viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4.656a.5.5 0 01.5-.5h9.7a.5.5 0 010 1H2.5a.5.5 0 01-.5-.5z"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.272 3a.578.578 0 00-.578.578v.578h3.311v-.578A.578.578 0 008.428 3H6.272zm3.733 1.156v-.578A1.578 1.578 0 008.428 2H6.272a1.578 1.578 0 00-1.578 1.578v.578H3.578a.5.5 0 00-.5.5V12.2a1.578 1.578 0 001.577 1.578h5.39a1.578 1.578 0 001.577-1.578V4.656a.5.5 0 00-.5-.5h-1.117zm-5.927 1V12.2a.578.578 0 00.577.578h5.39a.578.578 0 00.577-.578V5.156H4.078z"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.272 6.85a.5.5 0 01.5.5v3.233a.5.5 0 11-1 0V7.35a.5.5 0 01.5-.5zM8.428 6.85a.5.5 0 01.5.5v3.233a.5.5 0 11-1 0V7.35a.5.5 0 01.5-.5z"}))}function Fwe(e){var t=e,{flipHorizontal:n}=t,r=Rh(t,["flipHorizontal"]);return C.createElement("svg",mt({width:24,height:24,viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",style:{transform:n?"scale(-1, 1)":"scale(1, 1)"}},r),C.createElement("path",{d:"M10.6707 8.5081C10.6707 10.1923 9.3004 11.5625 7.61631 11.5625H6.5351C6.35593 11.5625 6.21074 11.4173 6.21074 11.2382V11.13C6.21074 10.9508 6.35591 10.8057 6.5351 10.8057H7.61631C8.88313 10.8057 9.91387 9.77492 9.91387 8.5081C9.91387 7.24128 8.88313 6.21054 7.61631 6.21054H5.62155L6.99534 7.58433C7.14289 7.73183 7.14289 7.97195 6.99534 8.11944C6.85216 8.26251 6.60298 8.2623 6.46013 8.11944L4.44045 6.09971C4.36898 6.02824 4.32959 5.93321 4.32959 5.8321C4.32959 5.73106 4.36898 5.63598 4.44045 5.56454L6.46024 3.54472C6.60309 3.40176 6.85248 3.40176 6.99535 3.54472C7.14291 3.69218 7.14291 3.93234 6.99535 4.07979L5.62156 5.45368H7.61631C9.3004 5.45368 10.6707 6.82393 10.6707 8.5081Z"}))}function D$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M12.4239 4.62C13.3572 4.62 14.1572 4.73333 14.8239 4.96C15.4906 5.17333 15.9772 5.43333 16.2839 5.74C16.3639 5.82 16.4039 5.94 16.4039 6.1V8.86H14.0639C13.9172 8.86 13.8439 8.78666 13.8439 8.64V7.26C13.4306 7.12666 12.9572 7.06 12.4239 7.06C11.6506 7.06 11.0639 7.18 10.6639 7.42C10.2639 7.66 10.0639 8.04666 10.0639 8.58V9C10.0639 9.38666 10.1639 9.69333 10.3639 9.92C10.5772 10.1333 11.0306 10.3467 11.7239 10.56L13.6439 11.14C14.4706 11.38 15.1172 11.66 15.5839 11.98C16.0506 12.3 16.3772 12.68 16.5639 13.12C16.7639 13.5467 16.8639 14.0733 16.8639 14.7V15.62C16.8639 16.7933 16.4039 17.7133 15.4839 18.38C14.5639 19.0467 13.2839 19.38 11.6439 19.38C10.6706 19.38 9.79723 19.2867 9.0239 19.1C8.2639 18.9133 7.71056 18.6533 7.3639 18.32C7.3239 18.28 7.29056 18.24 7.2639 18.2C7.25056 18.1467 7.2439 18.06 7.2439 17.94V15.74H7.6239C8.2239 16.1533 8.85056 16.4533 9.5039 16.64C10.1572 16.8267 10.9306 16.92 11.8239 16.92C12.6506 16.92 13.2506 16.7867 13.6239 16.52C14.0106 16.2533 14.2039 15.9333 14.2039 15.56V14.88C14.2039 14.6667 14.1639 14.48 14.0839 14.32C14.0172 14.16 13.8706 14.0133 13.6439 13.88C13.4172 13.7467 13.0572 13.6067 12.5639 13.46L10.6639 12.88C9.7839 12.6133 9.11056 12.3 8.6439 11.94C8.17723 11.58 7.85056 11.18 7.6639 10.74C7.49056 10.3 7.4039 9.83333 7.4039 9.34V8.38C7.4039 7.64666 7.61056 7 8.0239 6.44C8.43723 5.88 9.01723 5.44 9.7639 5.12C10.5239 4.78666 11.4106 4.62 12.4239 4.62Z"}))}function I$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M8.16191 19H5.68191C5.53525 19 5.46191 18.9267 5.46191 18.78V5H8.76191C8.88191 5 8.97525 5.03333 9.04191 5.1C9.10858 5.15333 9.17525 5.27333 9.24191 5.46C9.72191 6.59333 10.1686 7.7 10.5819 8.78C11.0086 9.84667 11.4352 10.98 11.8619 12.18H12.1619C12.6019 10.9667 13.0352 9.79333 13.4619 8.66C13.8886 7.52667 14.3552 6.30667 14.8619 5H18.3219C18.4686 5 18.5419 5.07333 18.5419 5.22V19H16.0619C15.9152 19 15.8419 18.9267 15.8419 18.78V16.26C15.8419 15.5267 15.8486 14.8133 15.8619 14.12C15.8886 13.4267 15.9286 12.6867 15.9819 11.9C16.0486 11.1 16.1419 10.1933 16.2619 9.18H15.9019C15.4352 10.3533 14.9486 11.5667 14.4419 12.82C13.9486 14.06 13.4819 15.2333 13.0419 16.34H11.1019C11.0619 16.34 11.0152 16.3333 10.9619 16.32C10.9219 16.2933 10.8886 16.2467 10.8619 16.18C10.4619 15.18 10.0086 14.06 9.50191 12.82C9.00858 11.58 8.53525 10.3667 8.08191 9.18H7.70191C7.83525 10.18 7.93525 11.0733 8.00191 11.86C8.06858 12.6467 8.10858 13.3933 8.12191 14.1C8.14858 14.8067 8.16191 15.5267 8.16191 16.26V19Z"}))}function R$n(e){return C.createElement("svg",mt({width:24,height:24,viewBox:"-2 -2 28 28",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),C.createElement("path",{d:"M7.68191 19C7.53525 19 7.46191 18.9267 7.46191 18.78V5H10.1219C10.2686 5 10.3419 5.07333 10.3419 5.22V16.56H13.4419V15.02H15.7619C15.9086 15.02 15.9819 15.0933 15.9819 15.24V19H7.68191Z"}))}function M$n(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M1.72838 9.33987L8.84935 2.34732C9.23874 1.96494 9.86279 1.96539 10.2516 2.34831L13.5636 5.60975C13.9655 6.00555 13.9607 6.65526 13.553 7.04507L8.13212 12.2278C7.94604 12.4057 7.69851 12.505 7.44107 12.505L6.06722 12.505L3.83772 12.505C3.5673 12.505 3.30842 12.3954 3.12009 12.2014L1.7114 10.7498C1.32837 10.3551 1.33596 9.72521 1.72838 9.33987Z",stroke:"currentColor"}),C.createElement("line",{x1:"6.01807",y1:"12.5",x2:"10.7959",y2:"12.5",stroke:"currentColor",strokeLinecap:"round"}),C.createElement("line",{x1:"5.50834",y1:"5.74606",x2:"10.1984",y2:"10.4361",stroke:"currentColor"}))}function O$n(){return C.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16"},C.createElement("path",{d:"M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z"}))}function L$n(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},C.createElement("path",{d:"M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L11.1464 3.14645C11.3417 2.95118 11.6583 2.95118 11.8536 3.14645C12.0488 3.34171 12.0488 3.65829 11.8536 3.85355L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z"}))}function B$n(){let e=Xa(),t=Jl(),n=C.useCallback(()=>{e.delete()},[e]),r=e.useStore(i=>i.appState.status==="idle"&&i.document.pageStates[i.appState.currentPageId].selectedIds.length>0);return C.createElement(ps,{label:t.formatMessage({id:"delete"}),kbd:"⌫",id:"TD-Delete"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"delete"}),variant:"circle",disabled:!r,onSelect:n},C.createElement(T$n,null)))}var P$n=e=>e.settings.language,F$n=()=>{let e=Xa(),t=e.useStore(P$n),n=C.useCallback(r=>{e.setSetting("language",r)},[e]);return C.createElement(E3,{variant:"menu",overflow:!0,id:"language-menu",side:"left",sideOffset:8},Lhe.map(({locale:r,label:i})=>C.createElement(a0,{key:r,checked:t===r,onCheckedChange:()=>n(r),id:`TD-MenuItem-Language-${r}`},i)),C.createElement(Fs,null),C.createElement("a",{href:"https://github.com/tldraw/tldraw/blob/main/guides/translation.md",target:"_blank",rel:"nofollow"},C.createElement(Yi,{id:"TD-MenuItem-Translation-Link"},C.createElement(tr,{id:"translation.link"}),C.createElement(L0,null,C.createElement(xWe,null)))))};function N$n({onOpenChange:e}){let t=Jl(),n=X2(),r={Tools:[{label:t.formatMessage({id:"select"}),kbd:"1"},{label:t.formatMessage({id:"draw"}),kbd:"2"},{label:t.formatMessage({id:"eraser"}),kbd:"3"},{label:t.formatMessage({id:"rectangle"}),kbd:"4"},{label:t.formatMessage({id:"ellipse"}),kbd:"5"},{label:t.formatMessage({id:"triangle"}),kbd:"6"},{label:t.formatMessage({id:"line"}),kbd:"7"},{label:t.formatMessage({id:"arrow"}),kbd:"8"},{label:t.formatMessage({id:"text"}),kbd:"9"},{label:t.formatMessage({id:"sticky"}),kbd:"0"}],View:[{label:t.formatMessage({id:"zoom.in"}),kbd:"#+"},{label:t.formatMessage({id:"zoom.out"}),kbd:"#-"},{label:`${t.formatMessage({id:"zoom.to"})} 100%`,kbd:"⇧+0"},{label:t.formatMessage({id:"zoom.to.fit"}),kbd:"⇧+1"},{label:t.formatMessage({id:"zoom.to.selection"}),kbd:"⇧+2"},{label:t.formatMessage({id:"preferences.dark.mode"}),kbd:"#⇧D"},{label:t.formatMessage({id:"preferences.focus.mode"}),kbd:"#."},{label:t.formatMessage({id:"preferences.show.grid"}),kbd:"#⇧G"}],Transform:[{label:t.formatMessage({id:"flip.horizontal"}),kbd:"⇧H"},{label:t.formatMessage({id:"flip.vertical"}),kbd:"⇧V"},{label:`${t.formatMessage({id:"lock"})} / ${t.formatMessage({id:"unlock"})}`,kbd:"#⇧L"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"to.front"})}`,kbd:"⇧]"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"forward"})}`,kbd:"]"},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"backward"})}`,kbd:"["},{label:`${t.formatMessage({id:"move"})} ${t.formatMessage({id:"back"})}`,kbd:"⇧["}],File:[{label:t.formatMessage({id:"new.project"}),kbd:"#N"},{label:t.formatMessage({id:"open"}),kbd:"#O"},{label:t.formatMessage({id:"save"}),kbd:"#S"},{label:t.formatMessage({id:"save.as"}),kbd:"#⇧S"},{label:t.formatMessage({id:"upload.media"}),kbd:"#U"}],Edit:[{label:t.formatMessage({id:"undo"}),kbd:"#Z"},{label:t.formatMessage({id:"redo"}),kbd:"#⇧Z"},{label:t.formatMessage({id:"cut"}),kbd:"#X"},{label:t.formatMessage({id:"copy"}),kbd:"#C"},{label:t.formatMessage({id:"paste"}),kbd:"#V"},{label:t.formatMessage({id:"select.all"}),kbd:"#A"},{label:t.formatMessage({id:"delete"}),kbd:"⌫"},{label:t.formatMessage({id:"duplicate"}),kbd:"#D"}]};return C.createElement(hGe,{onOpenChange:e},C.createElement(pGe,{asChild:!0},C.createElement(Ic,{id:"TD-HelpItem-Keyboard",variant:"wide"},C.createElement(tr,{id:"keyboard.shortcuts"}))),C.createElement(gGe,{container:n.current},C.createElement(q$n,null),C.createElement(j$n,null,C.createElement(G$n,null,C.createElement(tr,{id:"keyboard.shortcuts"}),C.createElement(Ehe,{asChild:!0},C.createElement(W$n,null,C.createElement(KPt,null)))),C.createElement(H$n,{bp:sh},Object.entries(r).map(([i,a])=>C.createElement(Boe,{key:i},C.createElement($$n,null,C.createElement(tr,{id:`menu.${i.toLocaleLowerCase()}`})),C.createElement(z$n,null,a.map(o=>C.createElement(U$n,{key:o.label},o.label,C.createElement(Ohe,{variant:"menu"},o.kbd))))))))))}var $$n=Hn("h3",{fontSize:"$2",color:"$text",fontFamily:"$ui",margin:0,paddingBottom:"$5"}),Boe=Hn("div",{breakInside:"avoid",paddingBottom:24}),z$n=Hn("ul",{listStyleType:"none",width:"100%",padding:0,margin:0}),U$n=Hn("li",{display:"flex",alignItems:"center",justifyContent:"space-between",height:32,minHeight:32,width:"100%",outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,padding:"0 0"}),j$n=Hn(vGe,{borderRadius:6,boxShadow:"hsl(206 22% 7% / 35%) 0px 10px 38px -10px, hsl(206 22% 7% / 20%) 0px 10px 20px -15px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"fit-content",maxWidth:"90vw",maxHeight:"74vh",overflowY:"auto",padding:25,zIndex:9999,pointerEvents:"all",background:"$panel","&:focus":{outline:"none"}}),H$n=Hn("div",{maxWidth:"100%",width:"fit-content",height:"fit-content",overflowY:"auto",columnGap:64,variants:{bp:{mobile:{columns:1,[`& ${Boe}`]:{minWidth:"0px"}},small:{columns:2,[`& ${Boe}`]:{minWidth:"200px"}},medium:{columns:3},large:{columns:3}}}}),q$n=Hn(mGe,{backgroundColor:"$overlay",position:"fixed",inset:0,zIndex:9998}),W$n=Hn(Fhe,{fontFamily:"inherit",borderRadius:"100%",height:25,width:25,display:"inline-flex",alignItems:"center",justifyContent:"center",color:"$text",cursor:"pointer","&:hover":{backgroundColor:"$hover"}}),G$n=Hn(tUt,{fontFamily:"$body",fontSize:"$3",color:"$text",paddingBottom:32,display:"flex",alignItems:"center",justifyContent:"space-between",margin:0}),V$n=e=>e.settings.isDebugMode,K$n=e=>e.settings.dockPosition;function Y$n(){let e=Xa(),t=e.useStore(V$n),n=e.useStore(K$n),[r,i]=C.useState(!1);return C.createElement(qUt,null,C.createElement(tzn,{dir:"ltr",debug:t,side:n,bp:sh},C.createElement(GUt,{dir:"ltr",asChild:!0},C.createElement(Q$n,null,C.createElement(TFt,null)))),C.createElement(VUt,{dir:"ltr",align:"end",side:"top",alignOffset:10,sideOffset:8,asChild:!0},C.createElement(ezn,{style:{visibility:r?"hidden":"visible"}},C.createElement(X$n,null),C.createElement(N$n,{onOpenChange:i}),C.createElement(Fs,null),C.createElement(Z$n,null))))}var X$n=()=>C.createElement(V2,{dir:"ltr"},C.createElement(C3,{asChild:!0},C.createElement(Ic,{variant:"wide",hasArrow:!0},C.createElement(tr,{id:"language"}))),C.createElement(F$n,null)),J$n=[{id:"tldraw-beta",icon:xWe,url:"https://beta.tldraw.com"},{id:"github",icon:rFt,url:"https://github.com/tldraw/tldraw"},{id:"twitter",icon:KFt,url:"https://twitter.com/tldraw"},{id:"discord",icon:O$n,url:"https://discord.gg/SBBEVCA4PG"},{id:"become.a.sponsor",icon:uFt,url:"https://github.com/sponsors/steveruizok"}],Z$n=()=>C.createElement(C.Fragment,null,J$n.map(e=>C.createElement("a",{key:e.id,href:e.url,target:"_blank",rel:"nofollow"},C.createElement(Ic,{id:`TD-Link-${e.id}`,variant:"wide"},C.createElement(tr,{id:e.id}),C.createElement(L0,null,C.createElement(e.icon,null)))))),Q$n=Hn("button",{width:32,height:32,borderRadius:"100%",display:"flex",padding:0,justifyContent:"center",alignItems:"center",outline:"none",backgroundColor:"$panel",cursor:"pointer",boxShadow:"$panel",border:"1px solid $panelContrast",color:"$text","& svg":{height:12,width:12}}),ezn=Hn(Y2,{width:"fit-content",height:"fit-content",minWidth:200,maxHeight:380,overflowY:"auto","& *":{boxSizing:"border-box"},"& a":{outline:"none"},variants:{variant:{horizontal:{flexDirection:"row"},menu:{minWidth:128}}}}),tzn=Hn(WUt,{position:"absolute",zIndex:999,right:10,bottom:10,width:32,height:32,variants:{debug:{true:{},false:{}},bp:{mobile:{bottom:64},small:{bottom:20},medium:{},large:{}},side:{top:{},left:{},right:{},bottom:{}}},compoundVariants:[{debug:!0,css:{bottom:50}},{bp:"mobile",side:"bottom",debug:!0,css:{bottom:104}},{bp:"small",side:"bottom",debug:!0,css:{bottom:60}},{bp:"small",side:"bottom",debug:!0,css:{bottom:60}}]}),fB=Hn("div",{backgroundColor:"$panel",display:"flex",alignItems:"center",flexDirection:"row",boxShadow:"$panel",padding:"$2",border:"1px solid $panelContrast",gap:0,overflow:"hidden",variants:{side:{center:{borderRadius:9},left:{padding:0,borderTop:0,borderLeft:0,borderTopRightRadius:0,borderBottomRightRadius:9,borderBottomLeftRadius:0},right:{padding:0,borderTop:0,borderRight:0,borderTopLeftRadius:0,borderBottomLeftRadius:9,borderBottomRightRadius:0}}},"& hr":{height:10,width:"100%",backgroundColor:"red",border:"none"}}),iW=["rectangle","ellipse","triangle","line"],Nwe={rectangle:C.createElement(LFt,null),ellipse:C.createElement(HPt,null),triangle:C.createElement(XFt,null),line:C.createElement(L$n,null)},nzn=e=>e.settings.dockPosition,rzn=C.memo(function({activeTool:e,isToolLocked:t}){let n=Xa(),r=Jl(),i=n.useStore(nzn),[a,o]=C.useState("rectangle");C.useEffect(()=>{iW.includes(e)&&a!==e&&o(e)},[e]);let s=C.useCallback(()=>{n.selectTool(a)},[e,n]),l=C.useCallback(()=>{n.toggleToolLock()},[n]),u=C.useCallback(h=>{h.key===" "&&n.shiftKey&&h.preventDefault()},[]),c=iW.includes(e),f=i==="bottom"||i==="top"?"top":i,d=i==="bottom"||i==="top"?"row":"column";return C.createElement(V2,{dir:"ltr",onOpenChange:s},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-PrimaryTools-Shapes"},C.createElement(Ea,{disabled:c&&n.shiftKey,variant:"primary",onDoubleClick:l,isToolLocked:c&&t,isActive:c,onKeyDown:u,"aria-label":r.formatMessage({id:"shapes"})},Nwe[a])),C.createElement(FWe,{asChild:!0,side:f,sideOffset:12},C.createElement(fB,{side:"center",style:{flexDirection:d}},iW.map((h,p)=>C.createElement(ps,{key:h,label:r.formatMessage({id:h}),kbd:(4+p).toString(),id:`TD-PrimaryTools-Shapes-${h}`},C.createElement(C$,{asChild:!0},C.createElement(Ea,{"aria-label":r.formatMessage({id:h}),variant:"primary",onClick:()=>{n.selectTool(h),o(h)}},Nwe[h])))))))}),izn=e=>e.appState.activeTool,azn=e=>e.appState.isToolLocked,ozn=e=>e.settings.dockPosition,szn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(izn),r=e.useStore(azn),i=e.useStore(ozn),a=C.useCallback(()=>{e.selectTool("select")},[e]),o=C.useCallback(()=>{e.selectTool("erase")},[e]),s=C.useCallback(()=>{e.selectTool("draw")},[e]),l=C.useCallback(()=>{e.selectTool("arrow")},[e]),u=C.useCallback(()=>{e.selectTool("text")},[e]),c=C.useCallback(()=>{e.selectTool("sticky")},[e]),f=C.useCallback(()=>ai(this,null,function*(){e.openAsset()}),[e]);return C.createElement(lzn,{side:"center",id:"TD-PrimaryTools",style:{flexDirection:i==="bottom"||i==="top"?"row":"column"},bp:sh},C.createElement(cg,{kbd:"1",label:t.formatMessage({id:"select"}),onClick:a,isActive:n==="select",variant:"primary",id:"TD-PrimaryTools-CursorArrow"},C.createElement(XPt,null)),C.createElement(cg,{kbd:"2",label:t.formatMessage({id:"draw"}),onClick:s,isActive:n==="draw",variant:"primary",id:"TD-PrimaryTools-Pencil"},C.createElement(ghe,null)),C.createElement(cg,{kbd:"3",label:t.formatMessage({id:"eraser"}),onClick:o,isActive:n==="erase",variant:"primary",id:"TD-PrimaryTools-Eraser"},C.createElement(M$n,null)),C.createElement(rzn,{activeTool:n,isToolLocked:r}),C.createElement(cg,{kbd:"8",label:t.formatMessage({id:"arrow"}),onClick:l,isLocked:r,variant:"primary",isActive:n==="arrow",id:"TD-PrimaryTools-ArrowTopRight"},C.createElement(MPt,null)),C.createElement(cg,{kbd:"9",label:t.formatMessage({id:"text"}),onClick:u,isLocked:r,variant:"primary",isActive:n==="text",id:"TD-PrimaryTools-Text"},C.createElement(NFt,null)),C.createElement(cg,{kbd:"0",label:t.formatMessage({id:"sticky"}),onClick:c,isActive:n==="sticky",variant:"primary",id:"TD-PrimaryTools-Pencil2"},C.createElement(wFt,null)),C.createElement(cg,{label:t.formatMessage({id:"image"}),onClick:f,id:"TD-PrimaryTools-Image",variant:"primary"},C.createElement(fFt,null)))}),lzn=Hn(fB,{variants:{bp:{mobile:{padding:"$0",borderRadius:"10px"},small:{padding:"$2"}}}}),uzn=e=>e.appState.status,czn=e=>e.appState.activeTool;function fzn(){let e=Xa(),t=e.useStore(uzn),n=e.useStore(czn);return C.createElement(dzn,{bp:sh,id:"TD-StatusBar"},C.createElement(hzn,null,n," | ",t))}var dzn=Hn("div",{height:40,userSelect:"none",WebkitUserSelect:"none",borderTop:"1px solid $panelContrast",gridArea:"status",display:"flex",color:"$text",justifyContent:"space-between",alignItems:"center",backgroundColor:"$panel",gap:8,fontFamily:"$ui",fontSize:"$0",padding:"0 16px",variants:{bp:{small:{fontSize:"$1"}}}}),hzn=Hn("div",{whiteSpace:"nowrap",overflow:"hidden"}),pzn=e=>e.settings.isDebugMode,gzn=e=>e.settings.dockPosition,mzn=C.memo(function({onBlur:e}){let t=Xa(),n=t.useStore(gzn),r=t.useStore(pzn);return C.createElement(C.Fragment,null,C.createElement(vzn,{side:n,onBlur:e,bp:sh,debug:r},C.createElement(yzn,{id:"TD-Tools"},C.createElement(k$n,null),C.createElement(wzn,{orientation:n==="bottom"||n==="top"?"horizontal":"vertical"},C.createElement(v$n,null),C.createElement(szn,null),C.createElement(B$n,null)))),C.createElement(Y$n,null),r&&C.createElement(bzn,null,C.createElement(fzn,null)))}),vzn=Hn("div",{position:"absolute",width:"100%",minWidth:0,maxWidth:"100%",height:64,gap:"$4",display:"flex",justifyContent:"center",alignItems:"center",zIndex:200,overflow:"hidden",pointerEvents:"none","& > div > *":{pointerEvents:"all"},variants:{debug:{true:{},false:{}},bp:{mobile:{},small:{},medium:{},large:{}},side:{top:{width:"100%",height:64,left:0,right:0,top:45},right:{width:64,height:"100%",top:0,right:0},bottom:{width:"100%",left:0,right:0,bottom:4},left:{width:64,height:"100%",left:0}}},compoundVariants:[{side:"top",bp:"large",css:{top:0}},{side:"bottom",debug:!0,css:{bottom:44}}]}),yzn=Hn("div",{display:"flex",width:"fit-content",height:"fit-content",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"$4"}),bzn=Hn("div",{position:"absolute",bottom:"0px",left:"0px",right:"0px",height:"40px",width:"100%",maxWidth:"100%"}),wzn=Hn("div",{position:"relative",display:"flex",alignItems:"center",height:"fit-content",gap:"$3",variants:{orientation:{horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"}}}}),kzn=e=>e.settings,_zn=["bottom","left","right","top"];function Czn(){let e=Xa(),t=Jl(),n=e.useStore(kzn),r=C.useCallback(()=>{e.setSetting("isDebugMode",f=>!f)},[e]),i=C.useCallback(()=>{e.setSetting("isDarkMode",f=>!f)},[e]),a=C.useCallback(()=>{e.setSetting("isFocusMode",f=>!f)},[e]),o=C.useCallback(()=>{e.setSetting("showGrid",f=>!f)},[e]),s=C.useCallback(()=>{e.setSetting("keepStyleMenuOpen",f=>!f)},[e]),l=C.useCallback(()=>{e.setSetting("isCadSelectMode",f=>!f)},[e]),u=C.useCallback(f=>{e.setSetting("dockPosition",f)},[e]),c=C.useCallback(f=>{e.setSetting("exportBackground",f)},[e]);return C.createElement(kv,{label:t.formatMessage({id:"menu.preferences"}),id:"TD-MenuItem-Preferences"},C.createElement(a0,{checked:n.isDarkMode,onCheckedChange:i,kbd:"#⇧D",id:"TD-MenuItem-Preferences-Dark_Mode",ariaLabel:t.formatMessage({id:"preferences.dark.mode"})},C.createElement(tr,{id:"preferences.dark.mode"})),C.createElement(a0,{checked:n.isFocusMode,onCheckedChange:a,kbd:"#.",id:"TD-MenuItem-Preferences-Focus_Mode",ariaLabel:t.formatMessage({id:"preferences.focus.mode"})},C.createElement(tr,{id:"preferences.focus.mode"})),C.createElement(a0,{checked:n.isDebugMode,onCheckedChange:r,id:"TD-MenuItem-Preferences-Debug_Mode",ariaLabel:t.formatMessage({id:"preferences.debug.mode"})},C.createElement(tr,{id:"preferences.debug.mode"})),C.createElement(Fs,null),C.createElement(a0,{checked:n.showGrid,onCheckedChange:o,kbd:"#⇧G",id:"TD-MenuItem-Preferences-Grid",ariaLabel:t.formatMessage({id:"preferences.show.grid"})},C.createElement(tr,{id:"preferences.show.grid"})),C.createElement(a0,{checked:n.isCadSelectMode,onCheckedChange:l,id:"TD-MenuItem-Preferences-Cad_Selection",ariaLabel:t.formatMessage({id:"preferences.use.cad.selection"})},C.createElement(tr,{id:"preferences.use.cad.selection"})),C.createElement(a0,{checked:n.keepStyleMenuOpen,onCheckedChange:s,id:"TD-MenuItem-Preferences-Style_menu",ariaLabel:t.formatMessage({id:"preferences.keep.stylemenu.open"})},C.createElement(tr,{id:"preferences.keep.stylemenu.open"})),C.createElement(kv,{label:t.formatMessage({id:"dock.position"})},_zn.map(f=>C.createElement(a0,{key:f,checked:n.dockPosition===f,onCheckedChange:()=>u(f),id:`TD-MenuItem-DockPosition-${f}`,ariaLabel:`DockPosition-${f}`},C.createElement($we,null,C.createElement(tr,{id:f}))))),C.createElement(kv,{label:t.formatMessage({id:"export.background"})},Object.values(VGe).map(f=>C.createElement(a0,{key:f,checked:n.exportBackground===f,onCheckedChange:()=>c(f),id:`TD-MenuItem-ExportBackground-${f}`,ariaLabel:`ExportBackground-${f}`},C.createElement($we,null,C.createElement(tr,{id:f}))))))}var $we=Hn("span",{textTransform:"capitalize"}),Ezn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds.length,xzn=e=>e.appState.disableAssets,Szn=C.memo(function({readOnly:e}){let t=Xa(),n=Jl(),[r,i]=C.useState(!1),a=t.useStore(Ezn),o=t.useStore(xzn),[s,l]=C.useState(0);C.useEffect(()=>l(1),[]);let{onNewProject:u,onOpenProject:c,onSaveProject:f,onSaveProjectAs:d}=jGe(),h=C.useCallback(()=>{iE?t.saveProjectAs():i(!0)},[t]),p=C.useCallback(()=>{t.delete()},[t]),g=C.useCallback(()=>{t.copyImage("svg",{scale:1,quality:1,transparentBackground:!1})},[t]),b=C.useCallback(()=>{t.copyImage("png",{scale:2,quality:1,transparentBackground:!0})},[t]),m=C.useCallback(()=>ai(this,null,function*(){t.exportImage("png",{scale:2,quality:1})}),[t]),v=C.useCallback(()=>ai(this,null,function*(){t.exportImage("jpeg",{scale:2,quality:1})}),[t]),w=C.useCallback(()=>ai(this,null,function*(){t.exportImage("webp",{scale:2,quality:1})}),[t]),k=C.useCallback(()=>ai(this,null,function*(){t.exportImage("svg",{scale:2,quality:1})}),[t]),E=C.useCallback(()=>ai(this,null,function*(){t.copyJson()}),[t]),S=C.useCallback(()=>ai(this,null,function*(){t.exportJson()}),[t]),T=C.useCallback(()=>{t.cut()},[t]),L=C.useCallback(()=>{t.copy()},[t]),M=C.useCallback(()=>{t.paste()},[t]),D=C.useCallback(()=>{t.selectAll()},[t]),I=C.useCallback(()=>{t.selectNone()},[t]),B=C.useCallback(()=>{t.openAsset()},[t]),N=C.useCallback(()=>{t.zoomTo(1)},[t]),O=t.callbacks.onNewProject||t.callbacks.onOpenProject||t.callbacks.onSaveProject||t.callbacks.onSaveProjectAs||t.callbacks.onExport,R=a>0;return C.createElement(C.Fragment,null,C.createElement(V2,{dir:"ltr"},C.createElement(QGe,{id:"TD-MenuIcon"},C.createElement(sFt,null)),C.createElement(E3,{variant:"menu",id:"TD-Menu",side:"bottom",align:"start",sideOffset:4,alignOffset:4},O&&C.createElement(kv,{label:`${n.formatMessage({id:"menu.file"})}...`,id:"TD-MenuItem-File"},t.callbacks.onNewProject&&C.createElement(Yi,{onClick:u,kbd:"#N",id:"TD-MenuItem-File-New_Project"},C.createElement(tr,{id:"new.project"})),t.callbacks.onOpenProject&&C.createElement(Yi,{onClick:c,kbd:"#O",id:"TD-MenuItem-File-Open"},C.createElement(tr,{id:"open"}),"..."),t.callbacks.onSaveProject&&C.createElement(Yi,{onClick:f,kbd:"#S",id:"TD-MenuItem-File-Save"},C.createElement(tr,{id:"save"})),t.callbacks.onSaveProjectAs&&C.createElement(Yi,{onClick:h,kbd:"#⇧S",id:"TD-MenuItem-File-Save_As"},C.createElement(tr,{id:"save.as"}),"..."),C.createElement(kv,{label:`${n.formatMessage({id:"export.as"})}...`,size:"small",id:"TD-MenuItem-Export"},C.createElement(Yi,{onClick:k,id:"TD-MenuItem-Export-SVG"},"SVG"),C.createElement(Yi,{onClick:m,id:"TD-MenuItem-Export-PNG"},"PNG"),C.createElement(Yi,{onClick:v,id:"TD-MenuItem-Export-JPG"},"JPG"),C.createElement(Yi,{onClick:w,id:"TD-MenuItem-Export-WEBP"},"WEBP"),C.createElement(Yi,{onClick:S,id:"TD-MenuItem-Export-JSON"},"JSON")),!o&&C.createElement(C.Fragment,null,C.createElement(Fs,null),C.createElement(Yi,{onClick:B,kbd:"#U",id:"TD-MenuItem-File-Upload_Media"},C.createElement(tr,{id:"upload.media"})))),C.createElement(kv,{label:`${n.formatMessage({id:"menu.edit"})}...`,id:"TD-MenuItem-Edit"},C.createElement(Yi,{onSelect:ms,onClick:t.undo,disabled:e,kbd:"#Z",id:"TD-MenuItem-Edit-Undo"},C.createElement(tr,{id:"undo"})),C.createElement(Yi,{onSelect:ms,onClick:t.redo,disabled:e,kbd:"#⇧Z",id:"TD-MenuItem-Edit-Redo"},C.createElement(tr,{id:"redo"})),C.createElement(Fs,null),C.createElement(Yi,{onSelect:ms,disabled:!R||e,onClick:T,kbd:"#X",id:"TD-MenuItem-Edit-Cut"},C.createElement(tr,{id:"cut"})),C.createElement(Yi,{onSelect:ms,disabled:!R,onClick:L,kbd:"#C",id:"TD-MenuItem-Edit-Copy"},C.createElement(tr,{id:"copy"})),C.createElement(Yi,{onSelect:ms,onClick:M,kbd:"#V",id:"TD-MenuItem-Edit-Paste"},C.createElement(tr,{id:"paste"})),C.createElement(Fs,null),C.createElement(kv,{label:`${n.formatMessage({id:"copy.as"})}...`,size:"small",id:"TD-MenuItem-Copy-As"},C.createElement(Yi,{onClick:g,id:"TD-MenuItem-Copy-as-SVG"},"SVG"),C.createElement(Yi,{onClick:b,id:"TD-MenuItem-Copy-As-PNG"},"PNG"),C.createElement(Yi,{onClick:E,id:"TD-MenuItem-Copy_as_JSON"},"JSON")),C.createElement(Fs,null),C.createElement(Yi,{onSelect:ms,onClick:D,kbd:"#A",id:"TD-MenuItem-Select_All"},C.createElement(tr,{id:"select.all"})),C.createElement(Yi,{onSelect:ms,disabled:!R,onClick:I,id:"TD-MenuItem-Select_None"},C.createElement(tr,{id:"select.none"})),C.createElement(Fs,null),C.createElement(Yi,{onSelect:p,disabled:!R,kbd:"⌫",id:"TD-MenuItem-Delete"},C.createElement(tr,{id:"delete"}))),C.createElement(kv,{label:n.formatMessage({id:"menu.view"}),id:"TD-MenuItem-Edit"},C.createElement(Yi,{onSelect:ms,onClick:t.zoomIn,kbd:"#+",id:"TD-MenuItem-View-ZoomIn"},C.createElement(tr,{id:"zoom.in"})),C.createElement(Yi,{onSelect:ms,onClick:t.zoomOut,kbd:"#-",id:"TD-MenuItem-View-ZoomOut"},C.createElement(tr,{id:"zoom.out"})),C.createElement(Yi,{onSelect:ms,onClick:N,kbd:"⇧+0",id:"TD-MenuItem-View-ZoomTo100"},C.createElement(tr,{id:"zoom.to"})," 100%"),C.createElement(Yi,{onSelect:ms,onClick:t.zoomToFit,kbd:"⇧+1",id:"TD-MenuItem-View-ZoomToFit"},C.createElement(tr,{id:"zoom.to.fit"})),C.createElement(Yi,{onSelect:ms,onClick:t.zoomToSelection,kbd:"⇧+2",id:"TD-MenuItem-View-ZoomToSelection"},C.createElement(tr,{id:"zoom.to.selection"}))),C.createElement(Fs,null),C.createElement(Czn,null))),C.createElement(i$n,{isOpen:r,onClose:()=>i(!1)}))});function Azn(){return C.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"},C.createElement("path",{d:"M1.36482 4.71089C1.36482 3.21371 2.57853 2 4.07572 2C5.5729 2 6.78661 3.21371 6.78661 4.71089C6.78661 5.76842 6.18106 6.68452 5.29779 7.13136C5.80465 7.24611 6.26407 7.44186 6.66028 7.73182C7.18674 8.11711 7.57215 8.64722 7.81073 9.30983C7.81452 9.30606 7.81832 9.3023 7.82212 9.29855C8.30448 8.82317 8.91325 8.52463 9.60905 8.37275C8.68812 7.922 8.05394 6.97569 8.05394 5.88126C8.05394 4.35017 9.29513 3.10898 10.8262 3.10898C12.3573 3.10898 13.5985 4.35017 13.5985 5.88126C13.5985 6.97561 12.9644 7.92186 12.0436 8.37265C12.7396 8.52449 13.3486 8.82306 13.831 9.29854C14.5795 10.0361 14.9481 11.1249 14.9481 12.5176C14.9481 12.7799 14.7354 12.9926 14.473 12.9926C14.2107 12.9926 13.9981 12.7799 13.9981 12.5175C13.9981 11.2848 13.6738 10.4774 13.1642 9.97518C12.6532 9.4716 11.8802 9.20024 10.8266 9.20024C9.77294 9.20024 8.99993 9.4716 8.48896 9.97518C7.97939 10.4774 7.65513 11.2848 7.65513 12.5176C7.65513 12.7799 7.44247 12.9926 7.18013 12.9926C6.9178 12.9926 6.70513 12.7799 6.70513 12.5176C6.70513 11.6734 6.84053 10.941 7.11384 10.3307C7.0922 10.2895 7.0763 10.2444 7.06737 10.1962C6.91739 9.38749 6.57392 8.84586 6.09923 8.49845C5.61626 8.14499 4.94481 7.95427 4.07574 7.95427C3.05232 7.95427 2.30368 8.21784 1.80952 8.70485C1.31675 9.19047 1.00176 9.97257 1.00176 11.1702C1.00176 11.4326 0.789093 11.6452 0.526758 11.6452C0.264423 11.6452 0.0517578 11.4326 0.0517578 11.1702C0.0517578 9.81263 0.411052 8.74925 1.14268 8.02821C1.60624 7.57137 2.18892 7.28191 2.85378 7.13142C1.97043 6.68461 1.36482 5.76848 1.36482 4.71089ZM4.07572 2.95C3.1032 2.95 2.31482 3.73838 2.31482 4.71089C2.31482 5.68341 3.1032 6.47178 4.07572 6.47178C5.04823 6.47178 5.83661 5.68341 5.83661 4.71089C5.83661 3.73838 5.04823 2.95 4.07572 2.95ZM10.8262 4.05898C9.8198 4.05898 9.00394 4.87484 9.00394 5.88126C9.00394 6.88768 9.8198 7.70355 10.8262 7.70355C11.8326 7.70355 12.6485 6.88768 12.6485 5.88126C12.6485 4.87484 11.8326 4.05898 10.8262 4.05898Z"}))}var R4="-0.03em",Nhe=[.5,.5],Poe=".tldr",M$={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e*e:-1+(4-2*e)*e,easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1- --e*e*e*e,easeInOutQuart:e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1+--e*e*e*e*e,easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e<=0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e>=1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e<=0?0:e>=1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2},zwe=["#EC5E41","#F2555A","#F04F88","#E34BA9","#BD54C6","#9D5BD2","#7B66DC","#02B1CC","#11B3A3","#39B178","#55B467","#FF802B"],Tzn=typeof Window>"u"?!1:/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Dzn=typeof Window>"u"?!1:/linux/i.test(navigator.userAgent),eVe=[".png",".svg",".jpg",".jpeg",".gif"],tVe=Tzn?[]:[".mp4",".webm"];function Jf(e){if(e===null)return e;if(e instanceof Date)return new Date(e.getTime());if(typeof e=="object")if(typeof e[Symbol.iterator]=="function"){let t=[];if(e.length>0)for(let n of e)t.push(Jf(n));return t}else{let t=Object.keys(e),n={};if(t.length>0)for(let r of t)n[r]=Jf(e[r]);return n}return e}function aE(e,t){let n=bt.getFromCache(t,e,()=>{let[r,i]=e.size;return{minX:0,maxX:r,minY:0,maxY:i,width:r,height:i}});return bt.translateBounds(n,e.point)}var Izn={start:"left",middle:"center",end:"right",justify:"justify"};function Rzn(e="start"){return Izn[e]}var iv;function Mzn(){var e;(e=document.getElementById("__textLabelMeasure"))==null||e.remove();let t=document.createElement("pre");return t.id="__textLabelMeasure",Object.assign(t.style,{whiteSpace:"pre",width:"auto",border:"1px solid transparent",padding:"4px",margin:"0px",letterSpacing:R4,opacity:"0",position:"absolute",top:"-500px",left:"0px",zIndex:"9999",pointerEvents:"none",userSelect:"none","-webkit-user-select":"none",alignmentBaseline:"mathematical",dominantBaseline:"mathematical"}),t.tabIndex=-1,document.body.appendChild(t),t}typeof window<"u"&&(iv=Mzn());var Foe="",Uwe="",aW=[0,0];function Ozn(){Foe=""}function FS(e,t){if(!e)return[16,32];if(!iv)return[10,10];if(iv.parent||document.body.appendChild(iv),e===Foe&&t===Uwe)return aW;Foe=e,Uwe=t,iv.textContent=e,iv.style.font=t;let n=iv.offsetWidth||1,r=iv.offsetHeight||1;return aW=[n,r],aW}var Lzn=new RegExp(`${[32,160,4961,65792,65793,4153,4241].map(e=>String.fromCodePoint(e)).join("|")}`);function O$(e,t,n,r,i,a=!1){let o="normal",s=R4,l=Bzn({text:e,wrap:a,width:i,fontSize:t,fontWeight:o,fontFamily:n,fontStyle:"normal",textAlign:"left",letterSpacing:R4,lineHeight:1}),u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("font-size",t+"px"),u.setAttribute("font-family",n),u.setAttribute("font-weight",o),u.setAttribute("line-height",1*t+"px"),u.setAttribute("letter-spacing",s),u.setAttribute("text-align",r??"left"),u.setAttribute("dominant-baseline","mathematical"),u.setAttribute("alignment-baseline","mathematical");let c=l.map((f,d)=>{let h=document.createElementNS("http://www.w3.org/2000/svg","tspan");return h.textContent=f+` +`,h.setAttribute("y",1*t*(d+.5)+"px"),u.appendChild(h),h});switch(r){case"middle":{u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),c.forEach(f=>f.setAttribute("x",i/2+""));break}case"end":{u.setAttribute("text-align","right"),u.setAttribute("text-anchor","end"),c.forEach(f=>f.setAttribute("x",-4+i+""));break}default:u.setAttribute("text-align","left"),u.setAttribute("text-anchor","start"),c.forEach(f=>f.setAttribute("x","4"))}return u}function Bzn(e){let t=document.createElement("div");t.style.setProperty("position","absolute"),t.style.setProperty("top","-9999px"),t.style.setProperty("left","-9999px"),t.style.setProperty("width",e.width+"px"),t.style.setProperty("height","min-content"),t.style.setProperty("font-size",e.fontSize+"px"),t.style.setProperty("font-family",e.fontFamily),t.style.setProperty("font-weight",e.fontWeight),t.style.setProperty("line-height",e.lineHeight*e.fontSize+"px"),t.style.setProperty("letter-spacing",e.letterSpacing),t.style.setProperty("text-align",e.textAlign),document.body.appendChild(t);let n=e.text.split(Lzn).flatMap(o=>o.replace(` `,` -`)).join(" ").split(" ");t.innerText=n[0];let r=t.offsetHeight,i=[n[0]],a=[i];for(let o=1;or&&(r=l,i=[],a.push(i)),i.push(s)}return t.remove(),a.map(o=>o.join(" "))}function Bzn({id:e,bounds:t,labelSize:n,offset:r,scale:i=1}){return C.createElement("defs",null,C.createElement("mask",{id:e+"_clip"},C.createElement("rect",{x:-100,y:-100,width:t.width+200,height:t.height+200,fill:"white"}),C.createElement("rect",{x:t.width/2-n[0]/2*i+(r?.[0]||0),y:t.height/2-n[1]/2*i+(r?.[1]||0),width:n[0]*i,height:n[1]*i,rx:4*i,ry:4*i,fill:"black",opacity:Math.max(i,.8)})))}var vI=Math.PI*2,Yd=class{static inwardEdgeNormal(e){let t=bn.sub(e[1],e[0]),n=bn.len2(t);return[-t[0]/n,t[1]/n]}static outwardEdgeNormal(e){return bn.neg(Yd.inwardEdgeNormal(e))}static isReflexVertex(e,t){let n=e.length,r=e[(t+n-1)%n],i=e[t],a=e[(t+1)%n];return Yd.leftSide(r,a,i)<0}static getEdges(e){return e.map((t,n)=>[t,e[(n+1)%e.length]])}static edgesIntersection([e,t],[n,r]){let i=(r[1]-n[1])*(t[0]-e[0])-(r[0]-n[0])*(t[1]-e[1]);if(i==0)return null;let a=((r[0]-n[0])*(e[1]-n[1])-(r[1]-n[1])*(e[0]-n[0]))/i,o=((t[0]-e[0])*(e[1]-n[1])-(t[1]-e[1])*(e[0]-n[0]))/i;return a<0||o<0||a>1||o>1?null:[e[0]+a*(t[0]-e[0]),e[1]+a*(t[1]-e[1])]}static appendArc(e,t,n,r,i,a=!1){let o=[...e],s=Math.atan2(r[1]-t[1],r[0]-t[0]),l=Math.atan2(i[1]-t[1],i[0]-t[0]);s<0&&(s+=vI),l<0&&(l+=vI);let u=5,c=s>l?s-l:s+vI-l,f=(a?-c:vI-c)/u;o.push(r);for(let d=1;dbn.add(n,t))}static getOffsetPolygon(e,t=0){let n=Yd.getEdges(e),r=n.map(a=>Yd.createOffsetEdge(a,bn.mul(Yd.outwardEdgeNormal(a),t))),i=[];for(let a=0;aYd.createOffsetEdge(i,Yd.inwardEdgeNormal(i))),r=[];for(let i=0;i[r,e[(i+1)%n]]).map(([r,i])=>{let a=bn.mul(bn.per(bn.uni(bn.sub(i,r))),t);return[bn.add(r,a),bn.add(i,a)]}).map((r,i,a)=>{let o=xDt(r,a[(i+1)%a.length]);if(o===void 0)throw Error("Expected an intersection");return o})}var nVe="#fafafa",$he="#343d45",g_={white:"#f0f1f3",lightGray:"#c6cbd1",gray:"#788492",black:"#1d1d1d",green:"#36b24d",cyan:"#0e98ad",blue:"#1c7ed6",indigo:"#4263eb",violet:"#7746f1",red:"#ff2133",orange:"#ff9433",yellow:"#ffc936"},Nzn={light:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,nVe,.45)]))),{white:"#ffffff",black:"#3d3d3d"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(bt.lerpColor(t,"#999999",.3),$he,.4)]))),{white:"#1d1d1d",black:"#bbbbbb"})},NS={light:Zt(mt({},g_),{white:"#1d1d1d"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,$he,.1)]))),{white:"#cecece",black:"#cecece"})},Noe={light:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,nVe,.82)]))),{white:"#fefefe"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,$he,.82)]))),{white:"rgb(30,33,37)",black:"#1e1e1f"})},$zn={small:2,medium:3.5,large:5},zzn={small:28,medium:48,large:96,auto:"auto"},Uzn={script:'"Caveat Brush"',sans:'"Source Sans Pro"',serif:'"Crimson Pro"',mono:'"Source Code Pro"'},jzn={script:1,sans:1,serif:1,mono:1},Hzn={small:24,medium:36,large:48,auto:"auto"};function qzn(e){return $zn[e]}function L$(e,t="script"){return zzn[e]*jzn[t]}function oE(e="script"){return Uzn[e]}function rVe(e){return Hzn[e]}function Ig(e){let t=L$(e.size,e.font),n=oE(e.font),{scale:r=1}=e;return`${t*r}px/1 ${n}`}function Wzn(e){let t=rVe(e.size),n=oE(e.font),{scale:r=1}=e;return`${t*r}px/1 ${n}`}function jwe(e,t=!1){let{color:n}=e,r=t?"dark":"light",i=n==="white"||n==="black"?"yellow":n;return{fill:Nzn[r][i],stroke:NS[r][i],color:t?"#1d1d1d":"#0d0d0d"}}function Ya(e,t){let{color:n,size:r,isFilled:i}=e,a=qzn(r),o=t?"dark":"light";return{stroke:NS[o][n],fill:i?Noe[o][n]:"none",strokeWidth:a}}var w1={color:"black",size:"small",isFilled:!1,dash:"draw",scale:1},zhe=Zt(mt({},w1),{font:"script",textAlign:"middle"}),Hwe=" ",hc=class{static insertTextFirefox(e,t){e.setRangeText(t,e.selectionStart||0,e.selectionEnd||0,"end"),e.dispatchEvent(new InputEvent("input",{data:t,inputType:"insertText",isComposing:!1}))}static insert(e,t){let n=e.ownerDocument,r=n.activeElement;r!==e&&e.focus(),n.execCommand("insertText",!1,t)||hc.insertTextFirefox(e,t),r===n.body?e.blur():r instanceof HTMLElement&&r!==e&&r.focus()}static set(e,t){e.select(),hc.insert(e,t)}static getSelection(e){let{selectionStart:t,selectionEnd:n}=e;return e.value.slice(t||void 0,n||void 0)}static wrapSelection(e,t,n){let{selectionStart:r,selectionEnd:i}=e,a=hc.getSelection(e);hc.insert(e,t+a+(n??t)),e.selectionStart=(r||0)+t.length,e.selectionEnd=(i||0)+t.length}static replace(e,t,n){let r=0;e.value.replace(t,(...i)=>{let a=r+i[i.length-2],o=i[0].length;e.selectionStart=a,e.selectionEnd=a+o;let s=typeof n=="string"?n:n(...i);return hc.insert(e,s),e.selectionStart=a,r+=s.length-o,s})}static findLineEnd(e,t){let n=e.lastIndexOf(` +`)).join(" ").split(" ");t.innerText=n[0];let r=t.offsetHeight,i=[n[0]],a=[i];for(let o=1;or&&(r=l,i=[],a.push(i)),i.push(s)}return t.remove(),a.map(o=>o.join(" "))}function Pzn({id:e,bounds:t,labelSize:n,offset:r,scale:i=1}){return C.createElement("defs",null,C.createElement("mask",{id:e+"_clip"},C.createElement("rect",{x:-100,y:-100,width:t.width+200,height:t.height+200,fill:"white"}),C.createElement("rect",{x:t.width/2-n[0]/2*i+(r?.[0]||0),y:t.height/2-n[1]/2*i+(r?.[1]||0),width:n[0]*i,height:n[1]*i,rx:4*i,ry:4*i,fill:"black",opacity:Math.max(i,.8)})))}var vI=Math.PI*2,Yd=class{static inwardEdgeNormal(e){let t=bn.sub(e[1],e[0]),n=bn.len2(t);return[-t[0]/n,t[1]/n]}static outwardEdgeNormal(e){return bn.neg(Yd.inwardEdgeNormal(e))}static isReflexVertex(e,t){let n=e.length,r=e[(t+n-1)%n],i=e[t],a=e[(t+1)%n];return Yd.leftSide(r,a,i)<0}static getEdges(e){return e.map((t,n)=>[t,e[(n+1)%e.length]])}static edgesIntersection([e,t],[n,r]){let i=(r[1]-n[1])*(t[0]-e[0])-(r[0]-n[0])*(t[1]-e[1]);if(i==0)return null;let a=((r[0]-n[0])*(e[1]-n[1])-(r[1]-n[1])*(e[0]-n[0]))/i,o=((t[0]-e[0])*(e[1]-n[1])-(t[1]-e[1])*(e[0]-n[0]))/i;return a<0||o<0||a>1||o>1?null:[e[0]+a*(t[0]-e[0]),e[1]+a*(t[1]-e[1])]}static appendArc(e,t,n,r,i,a=!1){let o=[...e],s=Math.atan2(r[1]-t[1],r[0]-t[0]),l=Math.atan2(i[1]-t[1],i[0]-t[0]);s<0&&(s+=vI),l<0&&(l+=vI);let u=5,c=s>l?s-l:s+vI-l,f=(a?-c:vI-c)/u;o.push(r);for(let d=1;dbn.add(n,t))}static getOffsetPolygon(e,t=0){let n=Yd.getEdges(e),r=n.map(a=>Yd.createOffsetEdge(a,bn.mul(Yd.outwardEdgeNormal(a),t))),i=[];for(let a=0;aYd.createOffsetEdge(i,Yd.inwardEdgeNormal(i))),r=[];for(let i=0;i[r,e[(i+1)%n]]).map(([r,i])=>{let a=bn.mul(bn.per(bn.uni(bn.sub(i,r))),t);return[bn.add(r,a),bn.add(i,a)]}).map((r,i,a)=>{let o=SDt(r,a[(i+1)%a.length]);if(o===void 0)throw Error("Expected an intersection");return o})}var nVe="#fafafa",$he="#343d45",g_={white:"#f0f1f3",lightGray:"#c6cbd1",gray:"#788492",black:"#1d1d1d",green:"#36b24d",cyan:"#0e98ad",blue:"#1c7ed6",indigo:"#4263eb",violet:"#7746f1",red:"#ff2133",orange:"#ff9433",yellow:"#ffc936"},$zn={light:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,nVe,.45)]))),{white:"#ffffff",black:"#3d3d3d"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(bt.lerpColor(t,"#999999",.3),$he,.4)]))),{white:"#1d1d1d",black:"#bbbbbb"})},NS={light:Zt(mt({},g_),{white:"#1d1d1d"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,$he,.1)]))),{white:"#cecece",black:"#cecece"})},Noe={light:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,nVe,.82)]))),{white:"#fefefe"}),dark:Zt(mt({},Object.fromEntries(Object.entries(g_).map(([e,t])=>[e,bt.lerpColor(t,$he,.82)]))),{white:"rgb(30,33,37)",black:"#1e1e1f"})},zzn={small:2,medium:3.5,large:5},Uzn={small:28,medium:48,large:96,auto:"auto"},jzn={script:'"Caveat Brush"',sans:'"Source Sans Pro"',serif:'"Crimson Pro"',mono:'"Source Code Pro"'},Hzn={script:1,sans:1,serif:1,mono:1},qzn={small:24,medium:36,large:48,auto:"auto"};function Wzn(e){return zzn[e]}function L$(e,t="script"){return Uzn[e]*Hzn[t]}function oE(e="script"){return jzn[e]}function rVe(e){return qzn[e]}function Ig(e){let t=L$(e.size,e.font),n=oE(e.font),{scale:r=1}=e;return`${t*r}px/1 ${n}`}function Gzn(e){let t=rVe(e.size),n=oE(e.font),{scale:r=1}=e;return`${t*r}px/1 ${n}`}function jwe(e,t=!1){let{color:n}=e,r=t?"dark":"light",i=n==="white"||n==="black"?"yellow":n;return{fill:$zn[r][i],stroke:NS[r][i],color:t?"#1d1d1d":"#0d0d0d"}}function Ya(e,t){let{color:n,size:r,isFilled:i}=e,a=Wzn(r),o=t?"dark":"light";return{stroke:NS[o][n],fill:i?Noe[o][n]:"none",strokeWidth:a}}var w1={color:"black",size:"small",isFilled:!1,dash:"draw",scale:1},zhe=Zt(mt({},w1),{font:"script",textAlign:"middle"}),Hwe=" ",hc=class{static insertTextFirefox(e,t){e.setRangeText(t,e.selectionStart||0,e.selectionEnd||0,"end"),e.dispatchEvent(new InputEvent("input",{data:t,inputType:"insertText",isComposing:!1}))}static insert(e,t){let n=e.ownerDocument,r=n.activeElement;r!==e&&e.focus(),n.execCommand("insertText",!1,t)||hc.insertTextFirefox(e,t),r===n.body?e.blur():r instanceof HTMLElement&&r!==e&&r.focus()}static set(e,t){e.select(),hc.insert(e,t)}static getSelection(e){let{selectionStart:t,selectionEnd:n}=e;return e.value.slice(t||void 0,n||void 0)}static wrapSelection(e,t,n){let{selectionStart:r,selectionEnd:i}=e,a=hc.getSelection(e);hc.insert(e,t+a+(n??t)),e.selectionStart=(r||0)+t.length,e.selectionEnd=(i||0)+t.length}static replace(e,t,n){let r=0;e.value.replace(t,(...i)=>{let a=r+i[i.length-2],o=i[0].length;e.selectionStart=a,e.selectionEnd=a+o;let s=typeof n=="string"?n:n(...i);return hc.insert(e,s),e.selectionStart=a,r+=s.length-o,s})}static findLineEnd(e,t){let n=e.lastIndexOf(` `,t-1)+1;return e.charAt(n)!==" "?t:n+1}static indent(e){var t;let{selectionStart:n,selectionEnd:r,value:i}=e,a=i.slice(n,r),o=(t=/\n/g.exec(a))==null?void 0:t.length;if(o&&o>0){let s=i.lastIndexOf(` `,n-1)+1,l=e.value.slice(s,r-1),u=l.replace(/^|\n/g,`$&${Hwe}`),c=u.length-l.length;e.setSelectionRange(s,r-1),hc.insert(e,u),e.setSelectionRange(n+1,r+c)}else hc.insert(e,Hwe)}static unindent(e){let{selectionStart:t,selectionEnd:n,value:r}=e,i=r.lastIndexOf(` -`,t-1)+1,a=hc.findLineEnd(r,n),o=e.value.slice(i,a),s=o.replace(/(^|\n)(\t| {1,2})/g,"$1"),l=o.length-s.length;e.setSelectionRange(i,a),hc.insert(e,s);let u=/\t| {1,2}/.exec(r.slice(i,t)),c=u?u[0].length:0,f=t-c;e.setSelectionRange(t-c,Math.max(f,n-l))}},B$=C.memo(function({font:e,text:t,color:n,offsetX:r=0,offsetY:i=0,scale:a=1,isEditing:o=!1,onBlur:s,onChange:l}){let u=C.useRef(null),c=C.useRef(!1),f=C.useCallback(v=>{l(rn.normalizeText(v.currentTarget.value))},[l]),d=C.useCallback(v=>{if(v.key==="Escape"){v.preventDefault(),v.stopPropagation(),s?.();return}if(v.key==="Tab"&&t.length===0){v.preventDefault();return}if(!(v.key==="Meta"||v.metaKey))v.stopPropagation();else if(v.key==="z"&&v.metaKey){v.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),v.stopPropagation(),v.preventDefault();return}(v.metaKey||v.ctrlKey)&&v.key==="="&&v.preventDefault(),v.key==="Tab"&&(v.preventDefault(),v.shiftKey?hc.unindent(v.currentTarget):hc.indent(v.currentTarget),l?.(rn.normalizeText(v.currentTarget.value)))},[l]),h=C.useCallback(v=>{v.currentTarget.setSelectionRange(0,0),s?.()},[s]),p=C.useCallback(v=>{!o||!c.current||document.activeElement===v.currentTarget&&v.currentTarget.select()},[o]),g=C.useCallback(v=>{o&&v.stopPropagation()},[o]),b=C.useRef(o);C.useEffect(()=>{o?(b.current=!0,requestAnimationFrame(()=>{c.current=!0;let v=u.current;v&&(v.focus(),v.select())})):b.current&&(s?.(),b.current=!1)},[o,s]);let m=C.useRef(null);return C.useLayoutEffect(()=>{let v=m.current;if(!v)return;let w=FS(t,e);v.style.transform=`scale(${a}, ${a}) translate(${r}px, ${i}px)`,v.style.width=w[0]+1+"px",v.style.height=w[1]+1+"px"},[t,e,i,r,a]),C.createElement(Gzn,null,C.createElement(Vzn,{ref:m,hasText:!!t,isEditing:o,style:{font:e,color:n}},o?C.createElement(Kzn,{ref:u,style:{font:e,color:n},name:"text",tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,placeholder:"",spellCheck:"true",wrap:"off",dir:"auto",datatype:"wysiwyg",defaultValue:t,color:n,onFocus:p,onChange:f,onKeyDown:d,onBlur:h,onPointerDown:g,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd}):t,"​"))}),Gzn=Hn("div",{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",userSelect:"none",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}}}}),iVe={whiteSpace:"pre-wrap",overflowWrap:"break-word",letterSpacing:R4},Vzn=Hn("div",mt({position:"absolute",padding:"4px",zIndex:1,minHeight:1,minWidth:1,lineHeight:1,outline:0,fontWeight:"500",textAlign:"center",backfaceVisibility:"hidden",userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",variants:{hasText:{false:{pointerEvents:"none"},true:{pointerEvents:"all"}},isEditing:{false:{userSelect:"none"},true:{background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"}}}},iVe)),Kzn=Hn("textarea",Zt(mt({position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%",border:"none",padding:"4px",resize:"none",textAlign:"inherit",minHeight:"inherit",minWidth:"inherit",lineHeight:"inherit",outline:0,fontWeight:"inherit",overflow:"hidden",backfaceVisibility:"hidden",display:"inline-block",pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text",fontSmooth:"always",WebkitFontSmoothing:"subpixel-antialiased",MozOsxFontSmoothing:"auto"},iVe),{"&:focus":{outline:"none",border:"none"}}));function P$(e,t,{initialShape:n,transformOrigin:r,scaleX:i,scaleY:a}){if(e.rotation||n.isAspectRatioLocked){let o=bn.toFixed(bn.mul(n.size,Math.min(Math.abs(i),Math.abs(a)))),s=bn.toFixed([t.minX+(t.width-e.size[0])*(i<0?1-r[0]:r[0]),t.minY+(t.height-e.size[1])*(a<0?1-r[1]:r[1])]),l=i<0&&a>=0||a<0&&i>=0?n.rotation?-n.rotation:0:n.rotation;return{size:o,point:s,rotation:l}}else return{point:bn.toFixed([t.minX,t.minY]),size:bn.toFixed([t.width,t.height])}}function F$(e,t){return{size:bn.toFixed([t.width,t.height]),point:bn.toFixed([t.minX,t.minY])}}var Ta=class extends Kae{constructor(){super(...arguments),Ce(this,"canBind",!1),Ce(this,"canEdit",!1),Ce(this,"canClone",!1),Ce(this,"isAspectRatioLocked",!1),Ce(this,"hideResizeHandles",!1),Ce(this,"bindingDistance",16),Ce(this,"hitTestPoint",(e,t)=>bt.pointInBounds(t,this.getRotatedBounds(e))),Ce(this,"hitTestLineSegment",(e,t,n)=>{let r=bt.getBoundsFromPoints([t,n]),i=this.getBounds(e);return bt.boundsContain(i,r)||e.rotation?$de(t,n,bt.getRotatedCorners(this.getBounds(e))).didIntersect:Nde(t,n,this.getBounds(e)).length>0}),Ce(this,"create",e=>(this.refMap.set(e.id,C.createRef()),this.getShape(e))),Ce(this,"getCenter",e=>bt.getBoundsCenter(this.getBounds(e))),Ce(this,"getExpandedBounds",e=>bt.expandBounds(this.getBounds(e),this.bindingDistance)),Ce(this,"getBindingPoint",(e,t,n,r,i,a)=>{let o=this.getBounds(e),s=this.getExpandedBounds(e);if(!bt.pointInBounds(n,s))return;let l=sO(r,i,s).filter(g=>g.didIntersect).map(g=>g.points[0]);if(!l.length)return;let u=this.getCenter(e),c=l.sort((g,b)=>We.dist(b,r)-We.dist(g,r))[0],f=We.med(n,c),d,h;a?(d=We.dist(n,u)<16/2?u:n,h=0):(We.distanceToLineSegment(n,f,u)<16/2?d=u:d=f,bt.pointInBounds(n,o)?h=this.bindingDistance:h=Math.max(this.bindingDistance,bt.getBoundsSides(o).map(g=>We.distanceToLineSegment(g[1][0],g[1][1],n)).sort((g,b)=>g-b)[0]));let p=We.divV(We.sub(d,[s.minX,s.minY]),[s.width,s.height]);return{point:We.clampV(p,0,1),distance:h}}),Ce(this,"mutate",(e,t)=>t),Ce(this,"transform",(e,t,n)=>Zt(mt({},e),{point:[t.minX,t.minY]})),Ce(this,"transformSingle",(e,t,n)=>this.transform(e,t,n)),Ce(this,"updateChildren"),Ce(this,"onChildrenChange"),Ce(this,"onHandleChange"),Ce(this,"onRightPointHandle"),Ce(this,"onDoubleClickHandle"),Ce(this,"onDoubleClickBoundsHandle"),Ce(this,"onSessionComplete"),Ce(this,"getSvgElement",(e,t)=>{var n,r,i,a,o;let s=(n=document.getElementById(e.id+"_svg"))==null?void 0:n.cloneNode(!0);if(s){if((a=(i=(r=e.label)==null?void 0:r.trim())==null?void 0:i.length)!=null?a:0>0){let l=e,u=document.createElementNS("http://www.w3.org/2000/svg","g"),c=Ig(e.style),f=FS(e.label,c),d=L$(e.style.size,e.style.font)*((o=e.style.scale)!=null?o:1),h=oE(e.style.font).slice(1,-1),p=O$(l.label,d,h,"middle",f[0],!1),g=this.getBounds(e);return p.setAttribute("transform",`translate(${g.width/2-f[0]/2}, ${g.height/2-f[1]/2})`),p.setAttribute("fill",Ya(e.style,t).stroke),p.setAttribute("transform-origin","center center"),u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),u.appendChild(s),u.appendChild(p),u}return s}})}};function Yzn(e,t,n,r){return["M",e[0],e[1],"A",n[2],n[2],0,0,r<0?0:1,t[0],t[1]].join(" ")}function yI(e,t){let{start:n,end:r}=e,i=bn.dist(n.point,r.point),a=bn.med(n.point,r.point),o=i/2*t,s=bn.uni(bn.vec(n.point,r.point));return bn.toFixed(Math.abs(o)<10?a:bn.add(a,bn.mul(bn.per(s),o)))}function Xzn(e,t,n,r,i,a){let o=bt.rng(e),s=Ya(t).strokeWidth,l=i?bn.nudge(n,r,s):n,u=a?bn.nudge(r,n,s):r,c=T7([l,u],{size:s,thinning:.618+o()*.2,easing:M$.easeOutQuad,simulatePressure:!0,streamline:0,last:!0});return bt.getSvgPathFromStroke(c)}function Jzn(e,t,n,r,i,a,o,s,l,u){let c=bt.rng(e),f=Ya(t).strokeWidth,d=i?bn.rotWith(n,o,f/l):n,h=a?bn.rotWith(r,o,-(f/l)):r,p=bn.angle(o,d),g=bn.angle(o,h),b=[],m=8+Math.floor(Math.abs(l)/20*1+c()/2);for(let w=0;w0?"1":"0"} ${r}`),i&&u.push(qwe(t,l,f,d,h<0)),a&&u.push(qwe(r,l,f,d,h>=0))}return u.join(" ")}function bI(e,t,n){if(bn.dist2(t,bn.med(e,n))<=4)return[e,n];let r=[],i=Yb(e,t,n),a=[i[0],i[1]],o=i[2],s=bn.angle(a,e),l=bn.angle(a,n);for(let u=0;u<20;u++){let c=u/19,f=bt.lerpAngles(s,l,c);r.push(bn.nudgeAtAngle(a,f,o))}return r}function Qzn(e,t,n){if(n===e||n===t)return!0;let r=Math.PI*2,i=(t-e+r)%r,a=(n-e+r)%r;return i<=Math.PI!=a>i}function $S(e,t,n,r){let i=bt.getSweep(e,n,r);return t*(2*Math.PI)*(i/(2*Math.PI))}function dB({left:e,middle:t,right:n,stroke:r,strokeWidth:i}){return C.createElement("g",null,C.createElement("path",{className:"tl-stroke-hitarea",d:`M ${e} L ${t} ${n}`}),C.createElement("path",{d:`M ${e} L ${t} ${n}`,fill:"none",stroke:r,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"}))}var eUn=C.memo(function({id:e,style:t,start:n,bend:r,end:i,arrowBend:a,decorationStart:o,decorationEnd:s,isDraw:l,isDarkMode:u}){let c=bn.dist(n,i);if(c<2)return null;let f=Ya(t,u),{strokeWidth:d}=f,h=1+d*1.618,p=Yb(n,r,i),g=[p[0],p[1]],b=p[2],m=$S(g,b,n,i),v=bt.rng(e),w=M$[v()>0?"easeInOutSine":"easeInOutCubic"],k=l?Jzn(e,t,n,i,o,s,g,b,m,w):Yzn(n,i,p,a),{strokeDasharray:E,strokeDashoffset:S}=bt.getPerfectDashProps(Math.abs(m),h,t.dash,2,!1),T=Math.min(c/3,d*8),L=o?$oe(n,T,g,b,m<0):null,M=s?$oe(i,T,g,b,m>=0):null;return C.createElement(C.Fragment,null,C.createElement("path",{className:"tl-stroke-hitarea",d:k}),C.createElement("path",{d:k,fill:l?f.stroke:"none",stroke:f.stroke,strokeWidth:l?0:h,strokeDasharray:E,strokeDashoffset:S,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"}),L&&C.createElement(dB,{left:L.left,middle:n,right:L.right,stroke:f.stroke,strokeWidth:h}),M&&C.createElement(dB,{left:M.left,middle:i,right:M.right,stroke:f.stroke,strokeWidth:h}))}),tUn=C.memo(function({id:e,style:t,start:n,end:r,decorationStart:i,decorationEnd:a,isDraw:o,isDarkMode:s}){let l=bn.dist(n,r);if(l<2)return null;let u=Ya(t,s),{strokeWidth:c}=u,f=1+c*1.618,d=o?Xzn(e,t,n,r,i,a):"M"+bn.toFixed(n)+"L"+bn.toFixed(r),{strokeDasharray:h,strokeDashoffset:p}=bt.getPerfectDashProps(l,c*1.618,t.dash,2,!1),g=Math.min(l/3,c*8),b=i?zoe(n,r,g):null,m=a?zoe(r,n,g):null;return C.createElement(C.Fragment,null,C.createElement("path",{className:"tl-stroke-hitarea",d}),C.createElement("path",{d,fill:u.stroke,stroke:u.stroke,strokeWidth:o?f/2:f,strokeDasharray:h,strokeDashoffset:p,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"stroke"}),b&&C.createElement(dB,{left:b.left,middle:n,right:b.right,stroke:u.stroke,strokeWidth:f}),m&&C.createElement(dB,{left:m.left,middle:r,right:m.right,stroke:u.stroke,strokeWidth:f}))}),nUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","arrow"),Ce(this,"hideBounds",!0),Ce(this,"canEdit",!0),Ce(this,"pathCache",new WeakMap),Ce(this,"getShape",e=>{var t,n,r,i;return mt({id:"id",type:"arrow",name:"Arrow",parentId:"page",childIndex:1,point:[0,0],rotation:0,bend:0,handles:{start:mt({id:"start",index:0,point:[0,0],canBind:!0},(t=e.handles)==null?void 0:t.start),end:mt({id:"end",index:1,point:[1,1],canBind:!0},(n=e.handles)==null?void 0:n.end),bend:mt({id:"bend",index:2,point:[.5,.5]},(r=e.handles)==null?void 0:r.bend)},decorations:(i=e.decorations)!=null?i:{end:"arrow"},style:mt(Zt(mt({},w1),{isFilled:!1}),e.style),label:"",labelPoint:[.5,.5]},e)}),Ce(this,"Component",Ta.Component(({shape:e,isEditing:t,isGhost:n,meta:r,events:i,onShapeChange:a,onShapeBlur:o},s)=>{var l,u;let{id:c,label:f="",handles:{start:d,bend:h,end:p},decorations:g={},style:b}=e,m=(u=(l=f?.trim())==null?void 0:l.length)!=null?u:0>0,v=We.dist(h.point,We.toFixed(We.med(d.point,p.point)))<1,w=Ig(b),k=Ya(b,r.isDarkMode),E=m||t?FS(f,w):[0,0],S=this.getBounds(e),T=C.useMemo(()=>{let{start:B,bend:N,end:O}=e.handles;if(v)return We.dist(B.point,O.point);let R=Yb(B.point,N.point,O.point),P=R.slice(0,2),H=R[2],F=$S(P,H,B.point,O.point);return Math.abs(F)},[e.handles]),L=Math.max(.5,Math.min(1,Math.max(T/(E[1]+128),T/(E[0]+128)))),M=C.useMemo(()=>{let B=this.getBounds(e);return We.sub(e.handles.bend.point,We.toFixed([B.width/2,B.height/2]))},[e,L]),D=C.useCallback(B=>{a?.({id:c,label:B})},[a]),I=v?tUn:eUn;return C.createElement(rUn,mt({ref:s},i),C.createElement(B$,{font:w,text:f,color:k.stroke,offsetX:M[0],offsetY:M[1],scale:L,isEditing:t,onChange:D,onBlur:o}),C.createElement(gh,{id:e.id+"_svg"},C.createElement("defs",null,C.createElement("mask",{id:e.id+"_clip"},C.createElement("rect",{x:-100,y:-100,width:S.width+200,height:S.height+200,fill:"white"}),C.createElement("rect",{x:S.width/2-E[0]/2*L+M[0],y:S.height/2-E[1]/2*L+M[1],width:E[0]*L,height:E[1]*L,rx:4*L,ry:4*L,fill:"black",opacity:1}))),C.createElement("g",{pointerEvents:"none",opacity:n?.3:1,mask:m||t?`url(#${e.id}_clip)`:""},C.createElement(I,{id:c,style:b,start:d.point,end:p.point,bend:h.point,arrowBend:e.bend,decorationStart:g?.start,decorationEnd:g?.end,isDraw:b.dash==="draw",isDarkMode:r.isDarkMode}))))})),Ce(this,"Indicator",Ta.Indicator(({shape:e,bounds:t})=>{var n,r;let{style:i,decorations:a,label:o,handles:{start:s,bend:l,end:u}}=e,c=(r=(n=o?.trim())==null?void 0:n.length)!=null?r:0>0,f=Ig(i),d=c?FS(o,f):[0,0],h=We.dist(l.point,We.toFixed(We.med(s.point,u.point)))<1,p=C.useMemo(()=>{let{start:m,bend:v,end:w}=e.handles;if(h)return We.dist(m.point,w.point);let k=Yb(m.point,v.point,w.point),E=k.slice(0,2),S=k[2],T=$S(E,S,m.point,w.point);return Math.abs(T)},[e.handles]),g=Math.max(.5,Math.min(1,Math.max(p/(d[1]+128),p/(d[0]+128)))),b=C.useMemo(()=>{let m=this.getBounds(e);return We.sub(e.handles.bend.point,[m.width/2,m.height/2])},[e,g]);return C.createElement(C.Fragment,null,c&&C.createElement(Bzn,{id:e.id,scale:g,offset:b,bounds:t,labelSize:d}),C.createElement("path",{d:Zzn(i,s.point,l.point,u.point,a?.start,a?.end),mask:c?`url(#${e.id}_clip)`:""}),c&&C.createElement("rect",{x:t.width/2-d[0]/2*g+b[0],y:t.height/2-d[1]/2*g+b[1],width:d[0]*g,height:d[1]*g,rx:4*g,ry:4*g,fill:"transparent"}))})),Ce(this,"getBounds",e=>{let t=bt.getFromCache(this.boundsCache,e,()=>{let{handles:{start:n,bend:r,end:i}}=e;return bt.getBoundsFromPoints(bI(n.point,r.point,i.point))});return bt.translateBounds(t,e.point)}),Ce(this,"getRotatedBounds",e=>{let{handles:{start:t,bend:n,end:r}}=e,i=bI(t.point,n.point,r.point),{minX:a,minY:o,maxX:s,maxY:l}=bt.getBoundsFromPoints(i);return e.rotation!==0&&(i=i.map(u=>We.rotWith(u,[(a+s)/2,(o+l)/2],e.rotation||0))),bt.translateBounds(bt.getBoundsFromPoints(i),e.point)}),Ce(this,"getCenter",e=>{let{start:t,end:n}=e.handles;return We.add(e.point,We.med(t.point,n.point))}),Ce(this,"shouldRender",(e,t)=>t.decorations!==e.decorations||t.handles!==e.handles||t.style!==e.style||t.label!==e.label),Ce(this,"hitTestPoint",(e,t)=>{let{handles:{start:n,bend:r,end:i}}=e,a=We.sub(t,e.point),o=bI(n.point,r.point,i.point);for(let s=1;s{let{handles:{start:r,bend:i,end:a}}=e,o=We.sub(t,e.point),s=We.sub(n,e.point),l=bI(r.point,i.point,a.point);for(let u=1;u{let{start:n,end:r,bend:i}=e.handles,a=We.add(e.point,n.point),o=We.add(e.point,r.point);if(bt.pointInBounds(a,t)||bt.pointInBounds(o,t))return!0;if(We.isEqual(We.med(n.point,r.point),i.point))return Nde(a,o,t).length>0;{let[s,l,u]=Yb(n.point,i.point,r.point),c=We.add(e.point,[s,l]);return $Dt(c,u,a,o,t).length>0}}),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let a=this.getBounds(n),o=["start","end"],s=mt({},n.handles);o.forEach(c=>{if(c==="bend")return;let[f,d]=s[c].point,h=f/a.width,p=d/a.height;s[c]=Zt(mt({},s[c]),{point:[t.width*(r<0?1-h:h),t.height*(i<0?1-p:p)]})});let l=r>0&&i<0||r<0&&i>0?-n.bend:n.bend,u=yI(s,l);return s.bend.point=u,{point:We.toFixed([t.minX,t.minY]),handles:s,bend:l}}),Ce(this,"onDoubleClickHandle",(e,t)=>{var n,r;switch(t){case"bend":return{bend:0,handles:Zt(mt({},e.handles),{bend:Zt(mt({},e.handles.bend),{point:yI(e.handles,e.bend)})})};case"start":return{decorations:Zt(mt({},e.decorations),{start:(n=e.decorations)!=null&&n.start?void 0:"arrow"})};case"end":return{decorations:Zt(mt({},e.decorations),{end:(r=e.decorations)!=null&&r.end?void 0:"arrow"})}}return this}),Ce(this,"onHandleChange",(e,t)=>{let n=bt.deepMerge(e.handles,t),r=e.bend;if(n=bt.deepMerge(n,{start:{point:We.toFixed(n.start.point)},end:{point:We.toFixed(n.end.point)}}),We.isEqual(n.start.point,n.end.point))return;if("bend"in t){let{start:l,end:u,bend:c}=n,f=We.dist(l.point,u.point),d=We.med(l.point,u.point),h=We.angle(l.point,u.point),p=We.uni(We.vec(l.point,u.point)),g=We.add(d,We.mul(We.per(p),f)),b=We.sub(d,We.mul(We.per(p),f)),m=We.nearestPointOnLineSegment(g,b,c.point,!0),v=We.dist(d,m)/(f/2);r=bt.clamp(v,-.99,.99);let w=We.angle(l.point,m);We.isEqual(d,yI(n,r))?r=0:Qzn(h,h+Math.PI,w)&&(r*=-1)}let i={point:e.point,bend:r,handles:Zt(mt({},n),{bend:Zt(mt({},n.bend),{point:yI(n,r)})})},a=e.point,o=this.getBounds(mt({},i)),s=We.sub([o.minX,o.minY],a);return We.isEqual(s,[0,0])||(Object.values(i.handles).forEach(l=>{l.point=We.toFixed(We.sub(l.point,s))}),i.point=We.toFixed(We.add(i.point,s))),i}),Ce(this,"getSvgElement",(e,t)=>{var n,r,i,a,o;let s=(n=document.getElementById(e.id+"_svg"))==null?void 0:n.cloneNode(!0);if(s){if((a=(i=(r=e.label)==null?void 0:r.trim())==null?void 0:i.length)!=null?a:0>0){let l=e,u=document.createElementNS("http://www.w3.org/2000/svg","g"),c=Ig(e.style),f=FS(e.label,c),d=L$(e.style.size,e.style.font)*((o=e.style.scale)!=null?o:1),h=oE(e.style.font).slice(1,-1),p=O$(l.label,d,h,"start",f[0],!1),g,{start:b,bend:m,end:v}=e.handles;if(We.dist(m.point,We.toFixed(We.med(b.point,v.point)))<1)g=We.dist(b.point,v.point);else{let L=Yb(b.point,m.point,v.point),M=L.slice(0,2),D=L[2],I=$S(M,D,b.point,v.point);g=Math.abs(I)}let w=Math.max(.5,Math.min(1,Math.max(g/(f[1]+128),g/(f[0]+128)))),k=this.getBounds(e),E=We.sub(e.handles.bend.point,[k.width/2,k.height/2]),S=k.width/2-f[0]/2*w+E[0],T=k.height/2-f[1]/2*w+E[1];return p.setAttribute("transform",`translate(${S}, ${T})`),p.setAttribute("fill",Ya(e.style,t).stroke),p.setAttribute("transform-origin","center center"),u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),u.appendChild(s),u.appendChild(p),u}return s}})}},rUn=Hn("div",{width:"100%",height:"100%"}),iUn={easing:e=>Math.sin(e*Math.PI/2),simulatePressure:!0},aUn={easing:e=>e*e,simulatePressure:!1};function Uhe(e){let t=Ya(e.style);return Zt(mt({size:1+t.strokeWidth*1.5,thinning:.65,streamline:.65,smoothing:.65},e.points[1][2]===.5?iUn:aUn),{last:e.isComplete})}function oUn(e){return e.points.length<2?"":bt.getSvgPathFromStroke(QC(e.points,Uhe(e)).map(t=>t.point))}function aVe(e,t){return QC(e.points,t)}function sUn(e){if(e.points.length<2)return"";let t=Uhe(e),n=aVe(e,t);return bt.getSvgPathFromStroke(Ode(n,t))}function Gwe(e){let{points:t}=e;if(t.length<2)return"M 0 0 L 0 0";let n=Uhe(e),r=aVe(e,n),i=t[t.length-1];return bn.isEqual(r[0].point,i)||r.push({point:i}),bt.getSvgPathFromStrokePoints(r)}var lUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","draw"),Ce(this,"pointsBoundsCache",new WeakMap([])),Ce(this,"shapeBoundsCache",new Map),Ce(this,"rotatedCache",new WeakMap([])),Ce(this,"pointCache",{}),Ce(this,"canClone",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"draw",name:"Draw",parentId:"page",childIndex:1,point:[0,0],rotation:0,style:w1,points:[],isComplete:!1},e)),Ce(this,"Component",Ta.Component(({shape:e,meta:t,isSelected:n,isGhost:r,events:i},a)=>{let{points:o,style:s,isComplete:l}=e,u=C.useMemo(()=>oUn(e),[o,s.size]),c=C.useMemo(()=>s.dash==="draw"?sUn(e):Gwe(e),[o,s.size,s.dash,l]),f=Ya(s,t.isDarkMode),{stroke:d,fill:h,strokeWidth:p}=f,g=this.getBounds(e);if(g.width<=p/2&&g.height<=p/2){let k=1+p;return C.createElement(gh,mt({ref:a,id:e.id+"_svg"},i),C.createElement("circle",{r:k,fill:d,stroke:d,pointerEvents:"all",opacity:r?.3:1}))}let b=s.isFilled&&o.length>3&&We.dist(o[0],o[o.length-1]){let{points:t}=e,n=C.useMemo(()=>Gwe(e),[t]),r=this.getBounds(e);return r.width<4&&r.height<4?C.createElement("circle",{x:r.width/2,y:r.height/2,r:1}):C.createElement("path",{d:n})})),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let a=bt.getFromCache(this.boundsCache,n,()=>bt.getBoundsFromPoints(n.points)),o=n.points.map(([u,c,f])=>[t.width*(r<0?1-u/a.width:u/a.width),t.height*(i<0?1-c/a.height:c/a.height),f]),s=bt.getBoundsFromPoints(e.points),l=We.sub([t.minX,t.minY],[s.minX,s.minY]);return{points:o,point:l}}),Ce(this,"getBounds",e=>{let t=!this.pointsBoundsCache.has(e.points),n=this.pointCache[e.id]!==e.point;if(t){let r=bt.getBoundsFromPoints(e.points);this.pointsBoundsCache.set(e.points,r),this.shapeBoundsCache.set(e.id,bt.translateBounds(r,e.point)),this.pointCache[e.id]=e.point}else n&&!t&&(this.pointCache[e.id]=e.point,this.shapeBoundsCache.set(e.id,bt.translateBounds(this.pointsBoundsCache.get(e.points),e.point)));return this.shapeBoundsCache.get(e.id)}),Ce(this,"shouldRender",(e,t)=>t.points!==e.points||t.style!==e.style||t.isComplete!==e.isComplete),Ce(this,"hitTestPoint",(e,t)=>{let n=We.sub(t,e.point);return bt.pointInPolyline(n,e.points)}),Ce(this,"hitTestLineSegment",(e,t,n)=>{let{points:r,point:i}=e,a=We.sub(t,i),o=We.sub(n,i),s=this.getBounds(e);if(s.width<8&&s.height<8)return We.distanceToLineSegment(t,n,bt.getBoundsCenter(s))<5;if(Nde(a,o,s)){for(let l=1;l{if(!e.rotation){let i=this.getBounds(e);return bt.boundsContain(t,i)||(bt.boundsContain(i,t)||GDt(i,t).length>0)&&E3e(bt.translateBounds(t,We.neg(e.point)),e.points).length>0}let n=this.getRotatedBounds(e),r=bt.getFromCache(this.rotatedCache,e,()=>{let i=bt.getBoundsCenter(bt.getBoundsFromPoints(e.points));return e.points.map(a=>We.rotWith(a,i,e.rotation||0))});return bt.boundsContain(t,n)||E3e(bt.translateBounds(t,We.neg(e.point)),r).length>0})}},uUn=C.memo(function({radius:e,style:t,isSelected:n,isDarkMode:r}){let{stroke:i,strokeWidth:a,fill:o}=Ya(t,r),s=1+a*1.618,l=Math.max(0,e[0]-s/2),u=Math.max(0,e[1]-s/2),c=bt.perimeterOfEllipse(l,u),{strokeDasharray:f,strokeDashoffset:d}=bt.getPerfectDashProps(c<64?c*2:c,a*1.618,t.dash,4);return C.createElement(C.Fragment,null,C.createElement("ellipse",{className:t.isFilled||n?"tl-fill-hitarea":"tl-stroke-hitarea",cx:e[0],cy:e[1],rx:e[0],ry:e[1]}),C.createElement("ellipse",{cx:e[0],cy:e[1],rx:l,ry:u,fill:o,stroke:i,strokeWidth:s,strokeDasharray:f,strokeDashoffset:d,pointerEvents:"none",strokeLinecap:"round",strokeLinejoin:"round"}))});function oVe(e,t,n){let{strokeWidth:r}=Ya(n),i=bt.rng(e),a=t[0]+i()*r*2,o=t[1]+i()*r*2,s=bt.perimeterOfEllipse(a,o),l=[],u=Math.PI+Math.PI*i(),c=Math.abs(i()),f=Math.max(16,s/10);for(let d=0;dbt.deepMerge({id:"id",type:"ellipse",name:"Ellipse",parentId:"page",childIndex:1,point:[0,0],radius:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},t)),Ce(this,"Component",Ta.Component(({shape:t,isGhost:n,isSelected:r,isBinding:i,isEditing:a,meta:o,bounds:s,events:l,onShapeChange:u,onShapeBlur:c},f)=>{let{id:d,radius:h,style:p,label:g="",labelPoint:b=Nhe}=t,m=Ig(t.style),v=Ya(p,o.isDarkMode),w=v.strokeWidth,k=1+w*1.618,E=Math.max(0,h[0]-k/2),S=Math.max(0,h[1]-k/2),T=p.dash==="draw"?fUn:uUn,L=C.useCallback(M=>u?.({id:d,label:M}),[u]);return C.createElement(hUn,mt({ref:f},l),C.createElement(B$,{isEditing:a,onChange:L,onBlur:c,font:m,text:g,color:v.stroke,offsetX:(b[0]-.5)*s.width,offsetY:(b[1]-.5)*s.height}),C.createElement(gh,{id:t.id+"_svg",opacity:n?.3:1},i&&C.createElement("ellipse",{className:"tl-binding-indicator",cx:h[0],cy:h[1],rx:E,ry:S,strokeWidth:this.bindingDistance}),C.createElement(T,{id:d,radius:h,style:p,isSelected:r,isDarkMode:o.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:t})=>{let{id:n,radius:r,style:i}=t,a=Ya(i).strokeWidth,o=1+a*1.618,s=Math.max(0,r[0]-o/2),l=Math.max(0,r[1]-o/2);return i.dash==="draw"?C.createElement("path",{d:sVe(n,r,i)}):C.createElement("ellipse",{cx:r[0],cy:r[1],rx:s,ry:l})})),Ce(this,"hitTestPoint",(t,n)=>bt.pointInBounds(n,this.getRotatedBounds(t))&&bt.pointInEllipse(n,this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0)),Ce(this,"hitTestLineSegment",(t,n,r)=>E6(n,r,this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0).didIntersect),Ce(this,"getBounds",t=>bt.getFromCache(this.boundsCache,t,()=>bt.getRotatedEllipseBounds(t.point[0],t.point[1],t.radius[0],t.radius[1],0))),Ce(this,"getRotatedBounds",t=>bt.getRotatedEllipseBounds(t.point[0],t.point[1],t.radius[0],t.radius[1],t.rotation)),Ce(this,"hitTestBounds",(t,n)=>{let r=this.getBounds(t);return bt.boundsContained(r,n)||qDt(this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0,n).length>0}),Ce(this,"shouldRender",(t,n)=>n.radius!==t.radius||n.style!==t.style||n.label!==t.label),Ce(this,"getCenter",t=>We.add(t.point,t.radius)),Ce(this,"getBindingPoint",(t,n,r,i,a,o)=>{{let s=this.getExpandedBounds(t),l=this.getCenter(t),u,c;if(!bt.pointInEllipse(r,l,t.radius[0]+this.bindingDistance,t.radius[1]+this.bindingDistance))return;if(o)We.dist(r,this.getCenter(t))<12?u=[.5,.5]:u=We.divV(We.sub(r,[s.minX,s.minY]),[s.width,s.height]),c=0;else{let f=AHe(i,a,l,t.radius[0],t.radius[1],t.rotation||0).points.sort((h,p)=>We.dist(h,i)-We.dist(p,i))[0];if(f||(f=E6(r,l,l,t.radius[0],t.radius[1],t.rotation||0).points.sort((h,p)=>We.dist(h,r)-We.dist(p,r))[0]),!f)return;let d=We.med(r,f);if(We.distanceToLineSegment(r,d,this.getCenter(t))<12?u=[.5,.5]:u=We.divV(We.sub(d,[s.minX,s.minY]),[s.width,s.height]),bt.pointInEllipse(r,l,t.radius[0],t.radius[1],t.rotation||0))c=this.bindingDistance/2;else{let h=E6(r,l,l,t.radius[0],t.radius[1],t.rotation||0).points[0];if(!h)return;c=Math.max(this.bindingDistance/2,We.dist(r,h))}}return{point:u,distance:c}}}),Ce(this,"transform",(t,n,{scaleX:r,scaleY:i,initialShape:a})=>{let{rotation:o=0}=a;return{point:[n.minX,n.minY],radius:[n.width/2,n.height/2],rotation:r<0&&i>=0||i<0&&r>=0?-(o||0):o||0}}),Ce(this,"transformSingle",(t,n)=>({point:We.toFixed([n.minX,n.minY]),radius:We.div([n.width,n.height],2)}))}},hUn=Hn("div",{width:"100%",height:"100%"}),pUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","group"),Ce(this,"canBind",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"group",name:"Group",parentId:"page",childIndex:1,point:[0,0],size:[100,100],rotation:0,children:[],style:w1},e)),Ce(this,"Component",Ta.Component(({shape:e,isBinding:t,isGhost:n,isHovered:r,isSelected:i,events:a},o)=>{let{id:s,size:l}=e,u=2,c=Math.max(0,l[0]-u/2),f=Math.max(0,l[1]-u/2),d=[[[u/2,u/2],[c,u/2],c-u/2],[[c,u/2],[c,f],f-u/2],[[c,f],[u/2,f],c-u/2],[[u/2,f],[u/2,u/2],f-u/2]].map(([h,p],g)=>C.createElement("line",{key:s+"_"+g,x1:h[0],y1:h[1],x2:p[0],y2:p[1]}));return C.createElement(gh,mt({ref:o},a),t&&C.createElement("rect",{className:"tl-binding-indicator",strokeWidth:this.bindingDistance}),C.createElement("g",{opacity:n?.3:1},C.createElement("rect",{x:0,y:0,width:l[0],height:l[1],fill:"transparent",pointerEvents:"all"}),C.createElement(Vwe,{stroke:"black",opacity:r||i?1:0,strokeLinecap:"round",pointerEvents:"stroke"},d)))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{id:t,size:n}=e,r=2,i=Math.max(0,n[0]-r/2),a=Math.max(0,n[1]-r/2),o=[[[r/2,r/2],[i,r/2],i-r/2],[[i,r/2],[i,a],a-r/2],[[i,a],[r/2,a],i-r/2],[[r/2,a],[r/2,r/2],a-r/2]].map(([s,l],u)=>C.createElement("line",{key:t+"_"+u,x1:s[0],y1:s[1],x2:l[0],y2:l[1]}));return C.createElement(Vwe,{strokeLinecap:"round",pointerEvents:"stroke"},o)})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style)}},Vwe=Hn("g",{strokeWidth:"calc(1.5px * var(--tl-scale))",strokeDasharray:"calc(1px * var(--tl-scale)), calc(3px * var(--tl-scale))"}),gUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","image"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"isAspectRatioLocked",!0),Ce(this,"showCloneHandles",!1),Ce(this,"getShape",e=>bt.deepMerge({id:"image",type:"image",name:"Image",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:Zt(mt({},w1),{isFilled:!0}),assetId:"assetId"},e)),Ce(this,"Component",Ta.Component(({shape:e,asset:t={src:""},isBinding:n,isGhost:r,meta:i,events:a,onShapeChange:o},s)=>{let{size:l,style:u}=e,{bindingDistance:c}=this,f=C.useRef(null),d=C.useRef(null);return C.useLayoutEffect(()=>{let h=d.current;if(!h)return;let[p,g]=l;h.style.width=`${p}px`,h.style.height=`${g}px`},[l]),C.createElement(h$,mt({ref:s},a),n&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:`calc(${-c}px * var(--tl-zoom))`,left:`calc(${-c}px * var(--tl-zoom))`,width:`calc(100% + ${c*2}px * var(--tl-zoom))`,height:`calc(100% + ${c*2}px * var(--tl-zoom))`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(mUn,{ref:d,isDarkMode:i.isDarkMode,isFilled:u.isFilled,isGhost:r},C.createElement(vUn,{id:e.id+"_image",ref:f,src:t.src,alt:"tl_image_asset",draggable:!1})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:2,ry:2,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style),Ce(this,"transform",P$),Ce(this,"transformSingle",F$),Ce(this,"getSvgElement",e=>{let t=this.getBounds(e),n=document.createElementNS("http://www.w3.org/2000/svg","image");return n.setAttribute("width",`${t.width}`),n.setAttribute("height",`${t.height}`),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n})}},mUn=_$("div",{pointerEvents:"all",position:"relative",fontFamily:"sans-serif",fontSize:"2em",height:"100%",width:"100%",borderRadius:"3px",perspective:"800px",overflow:"hidden",p:{userSelect:"none"},img:{userSelect:"none"},variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isFilled:{true:{},false:{}},isDarkMode:{true:{},false:{}}},compoundVariants:[{isFilled:!0,isDarkMode:!0,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"}},{isFilled:!0,isDarkMode:!1,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}]}),vUn=_$("img",{position:"absolute",top:0,left:0,width:"100%",height:"100%",maxWidth:"100%",minWidth:"100%",pointerEvents:"none",objectFit:"cover",userSelect:"none",borderRadius:2});function yUn({strokeWidth:e,size:t}){return C.createElement("rect",{className:"tl-binding-indicator",x:e,y:e,width:Math.max(0,t[0]-e/2),height:Math.max(0,t[1]-e/2),strokeWidth:16*2})}var bUn=C.memo(function({id:e,style:t,size:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(t,i),l=1+o*1.618,u=Math.max(0,n[0]-l/2),c=Math.max(0,n[1]-l/2),f=[[[l/2,l/2],[u,l/2],u-l/2],[[u,l/2],[u,c],c-l/2],[[u,c],[l/2,c],u-l/2],[[l/2,c],[l/2,l/2],c-l/2]].map(([d,h,p],g)=>{let{strokeDasharray:b,strokeDashoffset:m}=bt.getPerfectDashProps(p,o*1.618,t.dash);return C.createElement("line",{key:e+"_"+g,x1:d[0],y1:d[1],x2:h[0],y2:h[1],strokeDasharray:b,strokeDashoffset:m})});return C.createElement(C.Fragment,null,C.createElement("rect",{className:r||t.isFilled?"tl-fill-hitarea":"tl-stroke-hitarea",x:l/2,y:l/2,width:u,height:c,strokeWidth:16}),t.isFilled&&C.createElement("rect",{x:l/2,y:l/2,width:u,height:c,fill:s,pointerEvents:"none"}),C.createElement("g",{pointerEvents:"none",stroke:a,strokeWidth:l,strokeLinecap:"round"},f))});function wUn(e,t,n){let r=Ya(t),i=bt.rng(e),a=r.strokeWidth,o=Math.max(0,n[0]),s=Math.max(0,n[1]),l=Array.from(Array(4)).map(()=>[i()*a*.75,i()*a*.75]),u=bn.add([a/2,a/2],l[0]),c=bn.add([o-a/2,a/2],l[1]),f=bn.add([o-a/2,s-a/2],l[2]),d=bn.add([a/2,s-a/2],l[3]),h=Math.round(Math.abs(i()*2*4)),p=Math.min(o/4,a*2),g=Math.min(s/4,a*2),b=Math.max(8,Math.floor(o/16)),m=Math.max(8,Math.floor(s/16)),v=bt.rotateArray([bn.pointsBetween(bn.add(u,[p,0]),bn.sub(c,[p,0]),b),bn.pointsBetween(bn.add(c,[0,g]),bn.sub(f,[0,g]),m),bn.pointsBetween(bn.sub(f,[p,0]),bn.add(d,[p,0]),b),bn.pointsBetween(bn.sub(d,[0,g]),bn.add(u,[0,g]),m)],h);return{points:[...v.flat(),...v[0]].slice(5,Math.floor((h%2===0?b:m)/-2)+3)}}function lVe(e,t,n){let{points:r}=wUn(e,t,n),{strokeWidth:i}=Ya(t);return{points:r,options:{size:i,thinning:.65,streamline:.3,smoothing:1,simulatePressure:!1,last:!0}}}function kUn(e,t,n){let{points:r,options:i}=lVe(e,t,n),a=T7(r,i);return bt.getSvgPathFromStroke(a)}function uVe(e,t,n){let{points:r,options:i}=lVe(e,t,n);return bt.getSvgPathFromStrokePoints(QC(r,i))}var _Un=C.memo(function({id:e,style:t,size:n,isSelected:r,isDarkMode:i}){let{isFilled:a}=t,{stroke:o,strokeWidth:s,fill:l}=Ya(t,i),u=kUn(e,t,n),c=uVe(e,t,n);return C.createElement(C.Fragment,null,C.createElement("path",{className:t.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",d:c}),a&&C.createElement("path",{d:c,fill:l,pointerEvents:"none"}),C.createElement("path",{d:u,fill:o,stroke:o,strokeWidth:s,pointerEvents:"none"}))}),CUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","rectangle"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"canEdit",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"rectangle",name:"Rectangle",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},e)),Ce(this,"Component",Ta.Component(({shape:e,isEditing:t,isBinding:n,isSelected:r,isGhost:i,meta:a,bounds:o,events:s,onShapeBlur:l,onShapeChange:u},c)=>{let{id:f,size:d,style:h,label:p="",labelPoint:g=Nhe}=e,b=Ig(h),m=Ya(h,a.isDarkMode),v=h.dash==="draw"?_Un:bUn,w=C.useCallback(k=>u?.({id:f,label:k}),[u]);return C.createElement(EUn,mt({ref:c},s),C.createElement(B$,{isEditing:t,onChange:w,onBlur:l,font:b,text:p,color:m.stroke,offsetX:(g[0]-.5)*o.width,offsetY:(g[1]-.5)*o.height}),C.createElement(gh,{id:e.id+"_svg",opacity:i?.3:1},n&&C.createElement(yUn,{strokeWidth:m.strokeWidth,size:d}),C.createElement(v,{id:f,style:h,size:d,isSelected:r,isDarkMode:a.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{id:t,style:n,size:r}=e,i=Ya(n,!1).strokeWidth;return n.dash==="draw"?C.createElement("path",{d:uVe(t,n,r)}):C.createElement("rect",{x:i,y:i,rx:1,ry:1,width:Math.max(1,r[0]-i*2),height:Math.max(1,r[1]-i*2)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.label!==e.label),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}},EUn=Hn("div",{width:"100%",height:"100%"}),xUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","sticky"),Ce(this,"canBind",!0),Ce(this,"canEdit",!0),Ce(this,"canClone",!0),Ce(this,"hideResizeHandles",!0),Ce(this,"showCloneHandles",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"sticky",name:"Sticky",parentId:"page",childIndex:1,point:[0,0],size:[200,200],text:"",rotation:0,style:zhe},e)),Ce(this,"Component",Ta.Component(({shape:e,meta:t,events:n,isGhost:r,isBinding:i,isEditing:a,onShapeBlur:o,onShapeChange:s},l)=>{let u=Wzn(e.style),{color:c,fill:f}=jwe(e.style,t.isDarkMode),d=C.useRef(null),h=C.useRef(null),p=C.useRef(null),g=C.useRef(!1),b=C.useCallback(T=>{T.stopPropagation()},[]),m=C.useCallback(T=>{s?.({id:e.id,type:e.type,text:rn.normalizeText(T)})},[e.id]),v=C.useCallback(T=>{m(T.currentTarget.value)},[s,m]),w=C.useCallback(T=>{if(T.key==="Escape"){T.preventDefault(),T.stopPropagation(),o?.();return}if(T.key==="Tab"&&e.text.length===0){T.preventDefault();return}if(!(T.key==="Meta"||T.metaKey))T.stopPropagation();else if(T.key==="z"&&T.metaKey){T.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),T.stopPropagation(),T.preventDefault();return}(T.metaKey||T.ctrlKey)&&T.key==="="&&T.preventDefault(),T.key==="Tab"&&(T.preventDefault(),T.shiftKey?hc.unindent(T.currentTarget):hc.indent(T.currentTarget),s?.(Zt(mt({},e),{text:rn.normalizeText(T.currentTarget.value)})))},[e,s]),k=C.useCallback(T=>{T.currentTarget.setSelectionRange(0,0),o?.()},[]),E=C.useCallback(T=>{!a||!g.current||T.currentTarget.select()},[a]);C.useEffect(()=>{if(a){g.current=!0;let T=h.current;T.focus(),T.select()}},[a]),C.useEffect(()=>{let T=p.current,{size:L}=e,{offsetHeight:M}=T,D=oW-Ep*2,I=L[1]-Ep*2;if(M===I)return;if(M>D){s?.({id:e.id,size:[L[0],M+Ep*2]});return}if(MoW){s?.({id:e.id,size:[L[0],oW]});return}let B=h.current;B?.focus()},[e.text,e.size[1],e.style]);let S={font:u,color:c,textShadow:t.isDarkMode?"0.5px 0.5px 2px rgba(255, 255, 255,.25)":"0.5px 0.5px 2px rgba(255, 255, 255,.5)"};return C.createElement(h$,mt({ref:l},n),C.createElement(SUn,{ref:d,isDarkMode:t.isDarkMode,isGhost:r,style:mt({backgroundColor:f},S)},i&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(AUn,{ref:p,isEditing:a,alignment:e.style.textAlign},e.text,"​"),a&&C.createElement(TUn,{ref:h,onPointerDown:b,value:e.text,onChange:v,onKeyDown:w,onFocus:E,onBlur:k,tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,spellCheck:!0,alignment:e.style.textAlign,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:3,ry:3,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.text!==e.text),Ce(this,"transform",(e,t,{scaleX:n,scaleY:r,transformOrigin:i})=>({point:We.toFixed([t.minX+(t.width-e.size[0])*(n<0?1-i[0]:i[0]),t.minY+(t.height-e.size[1])*(r<0?1-i[1]:i[1])])})),Ce(this,"transformSingle",e=>e),Ce(this,"getSvgElement",(e,t)=>{var n,r;let i=this.getBounds(e),a=jwe(e.style,t),o=rVe(e.style.size)*((n=e.style.scale)!=null?n:1),s=oE(e.style.font).slice(1,-1),l=(r=e.style.textAlign)!=null?r:"start",u=O$(e.text,o,s,l,i.width-Ep*2,!0);u.setAttribute("fill",a.color),u.setAttribute("transform",`translate(${Ep}, ${Ep})`);let c=document.createElementNS("http://www.w3.org/2000/svg","g"),f=document.createElementNS("http://www.w3.org/2000/svg","rect");return f.setAttribute("width",i.width+""),f.setAttribute("height",i.height+""),f.setAttribute("fill",a.fill),f.setAttribute("rx","3"),f.setAttribute("ry","3"),c.appendChild(f),c.appendChild(u),c})}},Ep=16,oW=200,SUn=Hn("div",{pointerEvents:"all",position:"relative",backgroundColor:"rgba(255, 220, 100)",fontFamily:"sans-serif",height:"100%",width:"100%",padding:Ep+"px",borderRadius:"3px",perspective:"800px",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isDarkMode:{true:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"},false:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}}}),cVe={whiteSpace:"pre-wrap",overflowWrap:"break-word",letterSpacing:R4},AUn=Hn("div",mt({position:"absolute",top:Ep,left:Ep,width:`calc(100% - ${Ep*2}px)`,height:"fit-content",font:"inherit",pointerEvents:"none",userSelect:"none",variants:{isEditing:{true:{opacity:1},false:{opacity:1}},alignment:{start:{textAlign:"left"},middle:{textAlign:"center"},end:{textAlign:"right"},justify:{textAlign:"justify"}}}},cVe)),TUn=Hn("textarea",Zt(mt({width:"100%",height:"100%",border:"none",overflow:"hidden",background:"none",outline:"none",textAlign:"left",font:"inherit",padding:0,color:"transparent",verticalAlign:"top",resize:"none",caretColor:"black"},cVe),{variants:{alignment:{start:{textAlign:"left"},middle:{textAlign:"center"},end:{textAlign:"right"},justify:{textAlign:"justify"}}},"&:focus":{outline:"none",border:"none"}})),DUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","text"),Ce(this,"isAspectRatioLocked",!0),Ce(this,"canEdit",!0),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"bindingDistance",16/2),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"text",name:"Text",parentId:"page",childIndex:1,point:[0,0],rotation:0,text:" ",style:zhe},e)),Ce(this,"texts",new Map),Ce(this,"Component",Ta.Component(({shape:e,isBinding:t,isGhost:n,isEditing:r,onShapeBlur:i,onShapeChange:a,meta:o,events:s},l)=>{let{text:u,style:c}=e,f=Ya(c,o.isDarkMode),d=Ig(e.style),h=C.useRef(null),p=C.useRef(!1),g=C.useRef(u);C.useLayoutEffect(()=>{if(u!==g.current){let S=[0,0];this.texts.set(e.id,u);let T=this.getBounds(e),L=this.getBounds(e);switch(e.style.textAlign){case"start":break;case"middle":{S=We.div([L.width-T.width,0],2);break}case"end":{S=[L.width-T.width,0];break}}g.current=u,a?.(Zt(mt({},e),{id:e.id,point:We.sub(e.point,S),text:u}))}},[u]);let b=C.useCallback(S=>{let T=[0,0],L=rn.normalizeText(S.currentTarget.value),M=this.getBounds(e);this.texts.set(e.id,L);let D=this.getBounds(Zt(mt({},e),{text:L}));switch(e.style.textAlign){case"start":break;case"middle":{T=We.div([D.width-M.width,0],2);break}case"end":{T=[D.width-M.width,0];break}}g.current=L,a?.(Zt(mt({},e),{id:e.id,point:We.sub(e.point,T),text:L}))},[e.id,e.point]),m=C.useCallback(S=>{if(S.key==="Escape"){S.preventDefault(),S.stopPropagation(),i?.();return}if(S.key==="Tab"&&e.text.length===0){S.preventDefault();return}if(S.key==="Enter"&&(S.metaKey||S.ctrlKey)){S.preventDefault(),S.stopPropagation(),h.current.blur();return}if(!(S.key==="Meta"||S.metaKey))S.stopPropagation();else if(S.key==="z"&&S.metaKey){S.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),S.stopPropagation(),S.preventDefault();return}(S.metaKey||S.ctrlKey)&&S.key==="="&&S.preventDefault(),S.key==="Tab"&&(S.preventDefault(),S.shiftKey?hc.unindent(S.currentTarget):hc.indent(S.currentTarget),a?.(Zt(mt({},e),{text:rn.normalizeText(S.currentTarget.value)})))},[e,a]),v=C.useCallback(S=>{S.currentTarget.setSelectionRange(0,0),i?.()},[]),w=C.useCallback(S=>{!r||!p.current||document.activeElement===S.currentTarget&&S.currentTarget.select()},[r]),k=C.useCallback(S=>{r&&S.stopPropagation()},[r]),E=C.useRef(r);return C.useEffect(()=>{r?(E.current=!0,this.texts.set(e.id,u),requestAnimationFrame(()=>{p.current=!0;let S=h.current;S&&(S.focus(),S.select())})):E.current&&(E.current=!1,i?.())},[r]),C.createElement(h$,mt({ref:l},s),C.createElement(RUn,{isGhost:n,isEditing:r,onPointerDown:k},C.createElement(MUn,{style:{font:d,color:f.stroke,textAlign:Izn(c.textAlign)}},t&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),r?C.createElement(OUn,{ref:h,style:{font:d,color:f.stroke},name:"text",tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,placeholder:"",spellCheck:"true",wrap:"off",dir:"auto",datatype:"wysiwyg",defaultValue:u,color:f.stroke,onFocus:w,onChange:b,onKeyDown:m,onBlur:v,onPointerDown:k,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd}):u,"​")))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{width:t,height:n}=this.getBounds(e);return C.createElement("rect",{x:0,y:0,width:t,height:n})})),Ce(this,"getBounds",e=>{let t=bt.getFromCache(this.boundsCache,e,()=>{var n;if(!av)return{minX:0,minY:0,maxX:10,maxY:10,width:10,height:10};av.parentNode||document.body.appendChild(av),av.style.font=Ig(e.style),av.textContent=(n=this.texts.get(e.id))!=null?n:e.text;let r=av.offsetWidth||1,i=av.offsetHeight||1;return{minX:0,maxX:r,minY:0,maxY:i,width:r,height:i}});return bt.translateBounds(t,e.point)}),Ce(this,"shouldRender",(e,t)=>t.text!==e.text||t.style.scale!==e.style.scale||t.style!==e.style),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let{rotation:a=0,style:{scale:o=1}}=n,s=o*Math.abs(Math.min(r,i));return{point:[t.minX,t.minY],rotation:r<0&&i>=0||i<0&&r>=0?-(a||0):a,style:Zt(mt({},n.style),{scale:s})}}),Ce(this,"transformSingle",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let{style:{scale:a=1}}=n;return{point:We.toFixed([t.minX,t.minY]),style:Zt(mt({},n.style),{scale:a*Math.max(Math.abs(i),Math.abs(r))})}}),Ce(this,"onDoubleClickBoundsHandle",e=>{let t=this.getCenter(e),n=this.getCenter(Zt(mt({},e),{style:Zt(mt({},e.style),{scale:1})}));return{style:Zt(mt({},e.style),{scale:1}),point:We.toFixed(We.add(e.point,We.sub(t,n)))}}),Ce(this,"getSvgElement",(e,t)=>{var n,r;let i=this.getBounds(e),a=Ya(e.style,t),o=L$(e.style.size,e.style.font)*((n=e.style.scale)!=null?n:1),s=oE(e.style.font).slice(1,-1),l=(r=e.style.textAlign)!=null?r:"middle",u=O$(e.text,o,s,l,i.width,!1);return u.setAttribute("fill",a.stroke),u})}},av;function IUn(){var e;(e=document.getElementById("__textMeasure"))==null||e.remove();let t=document.createElement("pre");return t.id="__textMeasure",Object.assign(t.style,{whiteSpace:"pre",width:"auto",border:"1px solid transparent",padding:"4px",margin:"0px",letterSpacing:R4,opacity:"0",position:"absolute",top:"-500px",left:"0px",zIndex:"9999",pointerEvents:"none",userSelect:"none",alignmentBaseline:"mathematical",dominantBaseline:"mathematical"}),t.tabIndex=-1,document.body.appendChild(t),t}typeof window<"u"&&(av=IUn());var RUn=Hn("div",{width:"100%",height:"100%",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isEditing:{false:{pointerEvents:"all",userSelect:"all"},true:{pointerEvents:"none",userSelect:"none"}}}}),fVe={whiteSpace:"pre-wrap",overflowWrap:"break-word"},MUn=Hn("div",mt({position:"absolute",width:"100%",height:"100%",padding:"4px",zIndex:1,minHeight:1,minWidth:1,lineHeight:1,letterSpacing:R4,outline:0,fontWeight:"500",backfaceVisibility:"hidden",userSelect:"none",pointerEvents:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",isEditing:{false:{},true:{pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"}}},fVe)),OUn=Hn("textarea",Zt(mt({position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%",border:"none",padding:"4px",resize:"none",textAlign:"inherit",minHeight:"inherit",minWidth:"inherit",lineHeight:"inherit",letterSpacing:"inherit",outline:0,fontWeight:"inherit",overflow:"hidden",backfaceVisibility:"hidden",display:"inline-block",pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"},fVe),{"&:focus":{outline:"none",border:"none"}}));function Xb(e,t=0,n=0){let[r,i]=e,a=[[r/2,0],[r,i],[0,i]];return t&&(a=Fzn(a,t)),n&&(a=a.map(o=>bn.rotWith(o,[r/2,i/2],n))),a}function Kwe(e){let[t,n]=e,r=[[t/2,0],[t,n],[0,n]];return[(r[0][0]+r[1][0]+r[2][0])/3,(r[0][1]+r[1][1]+r[2][1])/3]}function LUn(e,t,n){let[r,i]=t,a=bt.rng(e),o=Array.from(Array(3)).map(()=>[a()*n*.75,a()*n*.75]),s=[bn.add([r/2,0],o[0]),bn.add([r,i],o[1]),bn.add([0,i],o[2])],l=Math.round(Math.abs(a()*2*3)),u=bt.rotateArray([bn.pointsBetween(s[0],s[1],32),bn.pointsBetween(s[1],s[2],32),bn.pointsBetween(s[2],s[0],32)],l);return{points:[...u.flat(),...u[0]]}}function dVe(e,t,n){let{strokeWidth:r}=Ya(n),{points:i}=LUn(e,t,r);return{points:i,options:{size:r,thinning:.65,streamline:.3,smoothing:1,simulatePressure:!1,last:!0}}}function BUn(e,t,n){let{points:r,options:i}=dVe(e,t,n),a=T7(r,i);return bt.getSvgPathFromStroke(a)}function PUn(e,t,n){let{points:r,options:i}=dVe(e,t,n);return bt.getSvgPathFromStrokePoints(QC(r,i))}var FUn=C.memo(function({id:e,size:t,style:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(n,i),l=1+o*1.618,u=Xb(t),c=bt.pointsToLineSegments(u,!0).map(([d,h],p)=>{let{strokeDasharray:g,strokeDashoffset:b}=bt.getPerfectDashProps(bn.dist(d,h),o*1.618,n.dash);return C.createElement("line",{key:e+"_"+p,x1:d[0],y1:d[1],x2:h[0],y2:h[1],stroke:a,strokeWidth:l,strokeLinecap:"round",strokeDasharray:g,strokeDashoffset:b})}),f=u.join();return C.createElement(C.Fragment,null,C.createElement("polygon",{className:n.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",points:f}),n.isFilled&&C.createElement("polygon",{fill:s,points:f,pointerEvents:"none"}),C.createElement("g",{pointerEvents:"stroke"},c))}),NUn=C.memo(function({id:e,size:t,style:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(n,i),l=BUn(e,t,n),u=PUn(e,t,n);return C.createElement(C.Fragment,null,C.createElement("path",{className:n.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",d:u}),n.isFilled&&C.createElement("path",{d:u,fill:s,pointerEvents:"none"}),C.createElement("path",{d:l,fill:a,stroke:a,strokeWidth:o,pointerEvents:"none"}))});function $Un({size:e}){let t=Xb(e).join();return C.createElement("polygon",{className:"tl-binding-indicator",points:t,strokeWidth:16*2})}var zUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","triangle"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"canEdit",!0),Ce(this,"getShape",t=>bt.deepMerge({id:"id",type:"triangle",name:"Triangle",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},t)),Ce(this,"Component",Ta.Component(({shape:t,bounds:n,isBinding:r,isEditing:i,isSelected:a,isGhost:o,meta:s,events:l,onShapeChange:u,onShapeBlur:c},f)=>{let{id:d,label:h="",size:p,style:g,labelPoint:b=Nhe}=t,m=Ig(g),v=Ya(g,s.isDarkMode),w=g.dash==="draw"?NUn:FUn,k=C.useCallback(S=>u?.({id:d,label:S}),[u]),E=C.useMemo(()=>{let S=bn.div(p,2);return(Kwe(p)[1]-S[1])*.72},[p]);return C.createElement(UUn,mt({ref:f},l),C.createElement(B$,{font:m,text:h,color:v.stroke,offsetX:(b[0]-.5)*n.width,offsetY:E+(b[1]-.5)*n.height,isEditing:i,onChange:k,onBlur:c}),C.createElement(gh,{id:t.id+"_svg",opacity:o?.3:1},r&&C.createElement($Un,{size:p}),C.createElement(w,{id:d,style:g,size:p,isSelected:a,isDarkMode:s.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:t})=>{let{size:n}=t;return C.createElement("polygon",{points:Xb(n).join()})})),Ce(this,"shouldRender",(t,n)=>n.size!==t.size||n.style!==t.style||n.label!==t.label),Ce(this,"getBounds",t=>aE(t,this.boundsCache)),Ce(this,"getExpandedBounds",t=>bt.getBoundsFromPoints(Xb(t.size,this.bindingDistance).map(n=>bn.add(n,t.point)))),Ce(this,"hitTestLineSegment",(t,n,r)=>$de(n,r,this.getPoints(t)).didIntersect),Ce(this,"hitTestBounds",(t,n)=>bt.boundsContained(this.getBounds(t),n)||VDt(n,this.getPoints(t)).length>0),Ce(this,"getBindingPoint",(t,n,r,i,a,o)=>{let s=this.getExpandedBounds(t);if(!bt.pointInBounds(r,s))return;let l=Xb(t.size).map(v=>bn.add(v,t.point)),u=Xb(t.size,this.bindingDistance).map(v=>bn.add(v,t.point)),c=bt.pointsToLineSegments(l,!0).map(([v,w])=>bn.distanceToLineSegment(v,w,r)).sort((v,w)=>v-w)[0];if(!(bt.pointInPolygon(r,u)||cPde(i,a,v[0],v[1])).filter(v=>v.didIntersect).flatMap(v=>v.points);if(!f.length)return;let d=bn.add(Kwe(t.size),t.point),h=f.sort((v,w)=>bn.dist(w,i)-bn.dist(v,i))[0],p=bn.med(r,h),g,b;o?(g=bn.dist(r,d)<16/2?d:r,b=0):(bn.distanceToLineSegment(r,p,d)<16/2?g=d:g=p,bt.pointInPolygon(r,l)?b=this.bindingDistance:b=Math.max(this.bindingDistance,c));let m=bn.divV(bn.sub(g,[s.minX,s.minY]),[s.width,s.height]);return{point:bn.clampV(m,0,1),distance:b}}),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}getPoints(t){let{rotation:n=0,point:[r,i],size:[a,o]}=t;return[[r+a/2,i],[r,i+o],[r+a,i+o]].map(s=>bn.rotWith(s,this.getCenter(t),n))}},UUn=Hn("div",{width:"100%",height:"100%"}),jUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","video"),Ce(this,"canBind",!0),Ce(this,"canEdit",!0),Ce(this,"canClone",!0),Ce(this,"isAspectRatioLocked",!0),Ce(this,"showCloneHandles",!1),Ce(this,"isStateful",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"video",type:"video",name:"Video",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,assetId:"assetId",isPlaying:!0,currentTime:0},e)),Ce(this,"Component",Ta.Component(({shape:e,asset:t={src:""},isBinding:n,isEditing:r,isGhost:i,meta:a,events:o,onShapeChange:s},l)=>{let u=C.useRef(null),c=C.useRef(null),{currentTime:f=0,size:d,isPlaying:h,style:p}=e;C.useLayoutEffect(()=>{let v=c.current;if(!v)return;let[w,k]=d;v.style.width=`${w}px`,v.style.height=`${k}px`},[d]),C.useLayoutEffect(()=>{let v=u.current;!v||(h?v.play():v.pause())},[h]),C.useLayoutEffect(()=>{let v=u.current;!v||f!==v.currentTime&&(v.currentTime=f)},[f]);let g=C.useCallback(()=>{s?.({id:e.id,isPlaying:!0})},[]),b=C.useCallback(()=>{s?.({id:e.id,isPlaying:!1})},[]),m=C.useCallback(()=>{let v=u.current;!v||!r||s==null||s({id:e.id,currentTime:v.currentTime})},[r]);return C.createElement(h$,mt({ref:l},o),n&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(HUn,{ref:c,isDarkMode:a.isDarkMode,isGhost:i,isFilled:p.isFilled},C.createElement(qUn,{ref:u,id:e.id+"_video",muted:!0,loop:!0,playsInline:!0,disableRemotePlayback:!0,disablePictureInPicture:!0,controls:r,autoPlay:h,onPlay:g,onPause:b,onTimeUpdate:m},C.createElement("source",{src:t.src}))))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:2,ry:2,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.isPlaying!==e.isPlaying),Ce(this,"getSvgElement",e=>{let t=this.getBounds(e),n=document.createElementNS("http://www.w3.org/2000/svg","image");return n.setAttribute("width",`${t.width}`),n.setAttribute("height",`${t.height}`),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n}),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}},HUn=_$("div",{pointerEvents:"all",position:"relative",fontFamily:"sans-serif",fontSize:"2em",height:"100%",width:"100%",borderRadius:"3px",perspective:"800px",overflow:"hidden",p:{userSelect:"none"},img:{userSelect:"none"},variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isFilled:{true:{},false:{}},isDarkMode:{true:{},false:{}}},compoundVariants:[{isFilled:!0,isDarkMode:!0,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"}},{isFilled:!0,isDarkMode:!1,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}]}),qUn=_$("video",{position:"absolute",top:0,left:0,width:"100%",height:"100%",maxWidth:"100%",minWidth:"100%",pointerEvents:"none",objectFit:"cover",userSelect:"none",borderRadius:2}),hVe=new CUn,pVe=new zUn,gVe=new dUn,mVe=new lUn,jhe=new nUn,WUn=new DUn,GUn=new pUn,Uoe=new xUn,VUn=new gUn,KUn=new jUn,m_={rectangle:hVe,triangle:pVe,ellipse:gVe,draw:mVe,arrow:jhe,text:WUn,group:GUn,sticky:Uoe,image:VUn,video:KUn},YUn=e=>typeof e=="string"?m_[e]:m_[e.type],Wr=class{static getShapeUtil(e){return YUn(e)}static getSelectedShapes(e,t){let n=Wr.getPage(e,t);return Wr.getSelectedIds(e,t).map(r=>n.shapes[r])}static screenToWorld(e,t){let n=Wr.getPageState(e,e.appState.currentPageId).camera;return We.sub(We.div(t,n.zoom),n.point)}static getCameraZoom(e){return bt.clamp(e,.1,5)}static getPage(e,t){return e.document.pages[t]}static getPageState(e,t){return e.document.pageStates[t]}static getSelectedIds(e,t){return Wr.getPageState(e,t).selectedIds}static getShapes(e,t){return Object.values(Wr.getPage(e,t).shapes)}static getCamera(e,t){return Wr.getPageState(e,t).camera}static getShape(e,t,n){return Wr.getPage(e,n).shapes[t]}static getCenter(e){return Wr.getShapeUtil(e).getCenter(e)}static getBounds(e){return Wr.getShapeUtil(e).getBounds(e)}static getRotatedBounds(e){return Wr.getShapeUtil(e).getRotatedBounds(e)}static getSelectedBounds(e){return bt.getCommonBounds(Wr.getSelectedShapes(e,e.appState.currentPageId).map(t=>Wr.getShapeUtil(t).getBounds(t)))}static getParentId(e,t,n){return Wr.getShape(e,t,n).parentId}static getDocumentBranch(e,t,n){let r=Wr.getShape(e,t,n);return r.children===void 0?[t]:[t,...r.children.flatMap(i=>Wr.getDocumentBranch(e,i,n))]}static getSelectedBranchSnapshot(e,t,n){let r=Wr.getPage(e,t),i=Wr.getSelectedIds(e,t).flatMap(a=>Wr.getDocumentBranch(e,a,t).map(o=>r.shapes[o])).filter(a=>!a.isLocked).map(bt.deepClone);return n!==void 0?i.map(a=>mt({id:a.id},n(a))):i}static getSelectedShapeSnapshot(e,t,n){let r=Wr.getSelectedShapes(e,t).filter(i=>!i.isLocked).map(bt.deepClone);return n!==void 0?r.map(i=>mt({id:i.id},n(i))):r}static getAllEffectedShapeIds(e,t,n){let r=Wr.getPage(e,n),i=new Set(t);return t.forEach(a=>{let o=r.shapes[a];function s(u){u.children!==void 0&&u.children.filter(c=>!i.has(c)).forEach(c=>{i.add(c),s(r.shapes[c])})}s(o);function l(u){let c=u.parentId;c!==r.id&&(i.has(c)||(i.add(c),l(r.shapes[c])))}l(o),i.forEach(u=>{Object.values(r.bindings).filter(c=>c.fromId===u||c.toId===u).forEach(c=>i.add(c.fromId===u?c.toId:c.fromId))})}),Array.from(i.values())}static getLinkedShapeIds(e,t,n,r=!0){let i=Wr.getSelectedIds(e,t),a=Wr.getPage(e,t),o=new Set(i),s=new Set,l=[...i],u=new Set(Object.values(a.shapes).filter(c=>{var f;return c.type==="arrow"&&(c.handles.start.bindingId||((f=c.handles)==null?void 0:f.end.bindingId))}));for(;l.length;){let c=l.pop();if(!(c&&u.size))break;s.has(c)||(s.add(c),u.forEach(f=>{var d,h;let{handles:{start:{bindingId:p},end:{bindingId:g}}}=f,b=p?a.bindings[p]:null,m=g?a.bindings[g]:null,v=!1;b&&b.toId===c?(n==="center"?v=!0:(d=f.decorations)!=null&&d.start&&m?v=n==="left":v=n==="right",v&&(r&&o.add(f.id),o.add(c),m&&(o.add(m.toId),l.push(m.toId)))):m&&m.toId===c&&(n==="center"?v=!0:(h=f.decorations)!=null&&h.end&&b?v=n==="left":v=n==="right",v&&(r&&o.add(f.id),o.add(c),b&&(o.add(b.toId),l.push(b.toId)))),(!b||o.has(b.toId))&&(!m||o.has(m.toId))&&u.delete(f)}))}return Array.from(o.values())}static getChildIndexAbove(e,t,n){let r=e.document.pages[n],i=r.shapes[t],a;if(i.parentId===r.id)a=Object.values(r.shapes).filter(l=>l.parentId===r.id).sort((l,u)=>l.childIndex-u.childIndex);else{let l=r.shapes[i.parentId];if(!l.children)throw Error("No children in parent!");a=l.children.map(u=>r.shapes[u]).sort((u,c)=>u.childIndex-c.childIndex)}let o=a.indexOf(i),s=a[o+1];return s?s.childIndex:i.childIndex+1}static getBeforeShape(e,t){return Object.fromEntries(Object.keys(t).map(n=>[n,e[n]]))}static mutateShapes(e,t,n,r,i=!1){let a={},o={};t.forEach((l,u)=>{let c=Wr.getShape(e,l,r);if(c.isLocked)return;c?.type==="group"&&(t.length===1||i)&&c.children.forEach((d,h)=>{let p=Wr.getShape(e,d,r);if(p.isLocked)return;let g=n(p,h);g&&(a[d]=Wr.getBeforeShape(p,g),o[d]=g)});let f=n(c,u);f&&(a[l]=Wr.getBeforeShape(c,f),o[l]=f)});let s=bt.deepMerge(e,{document:{pages:{[e.appState.currentPageId]:{shapes:o}}}});return{before:a,after:o,data:s}}static createShapes(e,t,n){let r={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(t.flatMap(a=>{let o=[[a.id,void 0]];if(a.parentId!==n){let s=Wr.getShape(e,a.parentId,n);if(!s.children)throw Error("No children in parent!");o.push([s.id,{children:s.children}])}return o})))}}}},i={document:{pages:{[n]:{shapes:{shapes:mt({},Object.fromEntries(t.flatMap(a=>{let o=[[a.id,a]];if(a.parentId!==n){let s=Wr.getShape(e,a.parentId,n);if(!s.children)throw Error("No children in parent!");o.push([s.id,{children:[...s.children,a.id]}])}return o})))}}}}};return{before:r,after:i}}static deleteShapes(e,t,n){n=n||e.appState.currentPageId;let r=Wr.getPage(e,n),i=typeof t[0]=="string"?t:t.map(s=>s.id),a={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(i.flatMap(s=>{let l=r.shapes[s],u=[[l.id,l]];if(l.parentId!==n){let c=r.shapes[l.parentId];if(!c.children)throw Error("No children in parent!");u.push([c.id,{children:c.children}])}return u}))),bindings:mt({},Object.fromEntries(Object.values(r.bindings).filter(s=>i.includes(s.fromId)||i.includes(s.toId)).map(s=>[s.id,s])))}}}},o={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(i.flatMap(s=>{let l=r.shapes[s],u=[[l.id,void 0]];if(l.parentId!==r.id){let c=r.shapes[l.parentId];if(!c.children)throw Error("No children in parent!");u.push([c.id,{children:c.children.filter(f=>f!==l.id)}])}return u})))}}}};return{before:a,after:o}}static onSessionComplete(e){var t,n;let r=(n=(t=Wr.getShapeUtil(e)).onSessionComplete)==null?void 0:n.call(t,e);return r?mt(mt({},e),r):e}static onChildrenChange(e,t,n){var r,i;if(!t.children)return;let a=(i=(r=Wr.getShapeUtil(t)).onChildrenChange)==null?void 0:i.call(r,t,t.children.map(o=>Wr.getShape(e,o,n)));return a?mt(mt({},t),a):t}static updateArrowBindings(e,t){var n,r,i,a,o,s;let l={start:Jf(t.handles.start),end:Jf(t.handles.end)},u={isBound:!1,handle:t.handles.start,point:We.add(t.handles.start.point,t.point)},c={isBound:!1,handle:t.handles.end,point:We.add(t.handles.end.point,t.point)};if(t.handles.start.bindingId){let f=((n=t.decorations)==null?void 0:n.start)!==void 0,d=t.handles.start,h=e.bindings[t.handles.start.bindingId];if(!h)throw Error("Could not find a binding to match the start handle's bindingId: "+t.handles.start.bindingId);let p=e.shapes[h.toId],g=Wr.getShapeUtil(p),b=g.getBounds(p),m=g.getExpandedBounds(p),v=f?bt.expandBounds(b,h.distance):b,{minX:w,minY:k,width:E,height:S}=m,T=We.add([w,k],We.mulV([E,S],We.rotWith(h.point,[.5,.5],p.rotation||0)));u={isBound:!0,hasDecoration:f,binding:h,handle:d,point:T,util:g,target:p,bounds:b,expandedBounds:m,intersectBounds:v,center:g.getCenter(p)}}if(t.handles.end.bindingId){let f=((r=t.decorations)==null?void 0:r.end)!==void 0,d=t.handles.end,h=e.bindings[t.handles.end.bindingId];if(!h)throw Error("Could not find a binding to match the end handle's bindingId");let p=e.shapes[h.toId],g=Wr.getShapeUtil(p),b=g.getBounds(p),m=g.getExpandedBounds(p),v=f?bt.expandBounds(b,h.distance):b,{minX:w,minY:k,width:E,height:S}=m,T=We.add([w,k],We.mulV([E,S],We.rotWith(h.point,[.5,.5],p.rotation||0)));c={isBound:!0,hasDecoration:f,binding:h,handle:d,point:T,util:g,target:p,bounds:b,expandedBounds:m,intersectBounds:v,center:g.getCenter(p)}}for(let f of["end","start"]){let d=f==="start"?u:c,h=f==="start"?c:u;if(d.isBound)if(!d.binding.distance)l[f].point=We.sub(d.point,t.point);else{let p=We.uni(We.sub(d.point,h.point));switch(d.target.type){case"ellipse":{let g=AHe(h.point,p,d.center,d.target.radius[0]+(d.hasDecoration?d.binding.distance:0),d.target.radius[1]+(d.hasDecoration?d.binding.distance:0),d.target.rotation||0).points.sort((b,m)=>We.dist(b,h.point)-We.dist(m,h.point));g[0]!==void 0&&(l[f].point=We.toFixed(We.sub(g[0],t.point)));break}case"triangle":{let g=d.target.point,b=Xb(d.target.size,d.hasDecoration?16:0,d.target.rotation).map(v=>We.add(v,g)),m=bt.pointsToLineSegments(b,!0).map(([v,w])=>Pde(h.point,p,v,w)).filter(v=>v.didIntersect).flatMap(v=>v.points).sort((v,w)=>We.dist(v,h.point)-We.dist(w,h.point));m[0]!==void 0&&(l[f].point=We.toFixed(We.sub(m[0],t.point)));break}default:{let g=sO(h.point,p,d.intersectBounds,d.target.rotation).filter(m=>m.didIntersect).map(m=>m.points[0]).sort((m,v)=>We.dist(m,h.point)-We.dist(v,h.point));if(!g[0])continue;let b;if(h.isBound&&(b=sO(h.point,p,h.intersectBounds,h.target.rotation).filter(m=>m.didIntersect).map(m=>m.points[0]).sort((m,v)=>We.dist(m,h.point)-We.dist(v,h.point))[0]),h.isBound&&(g.length<2||b&&g[0]&&Math.ceil(We.dist(g[0],b))<16*2.5||bt.boundsContain(d.expandedBounds,h.expandedBounds)||bt.boundsCollide(d.expandedBounds,h.expandedBounds))){let m=We.uni(We.sub(h.point,d.point)),v=sO(d.point,m,d.bounds,d.target.rotation).filter(w=>w.didIntersect).map(w=>w.points[0]);if(!v[0])continue;l[f].point=We.toFixed(We.sub(v[0],t.point)),l[f==="start"?"end":"start"].point=We.toFixed(We.add(We.sub(v[0],t.point),We.mul(m,Math.min(We.dist(v[0],h.point),16*2.5*(bt.boundsContain(h.bounds,d.intersectBounds)?-1:1)))))}else if(!h.isBound&&(g[0]&&We.dist(g[0],h.point)<16*2.5||bt.pointInBounds(h.point,d.intersectBounds))){let m=We.uni(We.sub(d.center,h.point));return(a=(i=Wr.getShapeUtil(t)).onHandleChange)==null?void 0:a.call(i,t,{[f]:Zt(mt({},t.handles[f]),{point:We.toFixed(We.add(We.sub(h.point,t.point),We.mul(m,16*2.5)))})})}else g[0]&&(l[f].point=We.toFixed(We.sub(g[0],t.point)))}}}}return(s=(o=Wr.getShapeUtil(t)).onHandleChange)==null?void 0:s.call(o,t,l)}static transform(e,t,n){let r=Wr.getShapeUtil(e).transform(e,t,n);return r?mt(mt({},e),r):e}static transformSingle(e,t,n){let r=Wr.getShapeUtil(e).transformSingle(e,t,n);return r?mt(mt({},e),r):e}static getRotatedShapeMutation(e,t,n,r){var i,a;let o=We.sub(t,e.point),s=We.rotWith(t,n,r),l=We.toFixed(We.sub(s,o));if(e.handles!==void 0)return(a=(i=this.getShapeUtil(e)).onHandleChange)==null?void 0:a.call(i,Zt(mt({},e),{point:l}),Object.fromEntries(Object.entries(e.handles).map(([c,f])=>{let d=We.toFixed(We.rotWith(f.point,o,r));return[c,Zt(mt({},f),{point:d})]})));let u=bt.clampRadians((e.rotation||0)+r);return{point:l,rotation:u}}static updateParents(e,t,n){let r=Wr.getPage(e,t);if(n.length===0)return;let{shapes:i}=Wr.getPage(e,t),a=Array.from(new Set(n.map(o=>i[o].parentId).values())).filter(o=>o!==r.id);for(let o of a){let s=i[o];if(!s.children)throw Error("A shape is parented to a shape without a children array.");Wr.onChildrenChange(e,s,t)}Wr.updateParents(e,t,a)}static getBinding(e,t,n){return Wr.getPage(e,n).bindings[t]}static getBindings(e,t){let n=Wr.getPage(e,t);return Object.values(n.bindings)}static getBindableShapeIds(e){return Wr.getShapes(e,e.appState.currentPageId).filter(t=>Wr.getShapeUtil(t).canBind).sort((t,n)=>n.childIndex-t.childIndex).map(t=>t.id)}static getBindingsWithShapeIds(e,t,n){return Array.from(new Set(Wr.getBindings(e,n).filter(r=>t.includes(r.toId)||t.includes(r.fromId))).values())}static getRelatedBindings(e,t,n){let r=new Set(t),i=Wr.getPage(e,n),a=Object.values(i.bindings),o=new Set(a.filter(u=>r.has(u.toId)||r.has(u.fromId))),s=o.size,l=-1;for(;l!==0;)o.forEach(u=>{let c=u.fromId;for(let f of a)f.fromId===c&&o.add(f),f.toId===c&&o.add(f)}),l=o.size-s,s=o.size;return Array.from(o.values())}static normalizeText(e){return e.replace(Wr.fixNewLines,` +`,t-1)+1,a=hc.findLineEnd(r,n),o=e.value.slice(i,a),s=o.replace(/(^|\n)(\t| {1,2})/g,"$1"),l=o.length-s.length;e.setSelectionRange(i,a),hc.insert(e,s);let u=/\t| {1,2}/.exec(r.slice(i,t)),c=u?u[0].length:0,f=t-c;e.setSelectionRange(t-c,Math.max(f,n-l))}},B$=C.memo(function({font:e,text:t,color:n,offsetX:r=0,offsetY:i=0,scale:a=1,isEditing:o=!1,onBlur:s,onChange:l}){let u=C.useRef(null),c=C.useRef(!1),f=C.useCallback(v=>{l(rn.normalizeText(v.currentTarget.value))},[l]),d=C.useCallback(v=>{if(v.key==="Escape"){v.preventDefault(),v.stopPropagation(),s?.();return}if(v.key==="Tab"&&t.length===0){v.preventDefault();return}if(!(v.key==="Meta"||v.metaKey))v.stopPropagation();else if(v.key==="z"&&v.metaKey){v.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),v.stopPropagation(),v.preventDefault();return}(v.metaKey||v.ctrlKey)&&v.key==="="&&v.preventDefault(),v.key==="Tab"&&(v.preventDefault(),v.shiftKey?hc.unindent(v.currentTarget):hc.indent(v.currentTarget),l?.(rn.normalizeText(v.currentTarget.value)))},[l]),h=C.useCallback(v=>{v.currentTarget.setSelectionRange(0,0),s?.()},[s]),p=C.useCallback(v=>{!o||!c.current||document.activeElement===v.currentTarget&&v.currentTarget.select()},[o]),g=C.useCallback(v=>{o&&v.stopPropagation()},[o]),b=C.useRef(o);C.useEffect(()=>{o?(b.current=!0,requestAnimationFrame(()=>{c.current=!0;let v=u.current;v&&(v.focus(),v.select())})):b.current&&(s?.(),b.current=!1)},[o,s]);let m=C.useRef(null);return C.useLayoutEffect(()=>{let v=m.current;if(!v)return;let w=FS(t,e);v.style.transform=`scale(${a}, ${a}) translate(${r}px, ${i}px)`,v.style.width=w[0]+1+"px",v.style.height=w[1]+1+"px"},[t,e,i,r,a]),C.createElement(Vzn,null,C.createElement(Kzn,{ref:m,hasText:!!t,isEditing:o,style:{font:e,color:n}},o?C.createElement(Yzn,{ref:u,style:{font:e,color:n},name:"text",tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,placeholder:"",spellCheck:"true",wrap:"off",dir:"auto",datatype:"wysiwyg",defaultValue:t,color:n,onFocus:p,onChange:f,onKeyDown:d,onBlur:h,onPointerDown:g,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd}):t,"​"))}),Vzn=Hn("div",{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",userSelect:"none",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}}}}),iVe={whiteSpace:"pre-wrap",overflowWrap:"break-word",letterSpacing:R4},Kzn=Hn("div",mt({position:"absolute",padding:"4px",zIndex:1,minHeight:1,minWidth:1,lineHeight:1,outline:0,fontWeight:"500",textAlign:"center",backfaceVisibility:"hidden",userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",variants:{hasText:{false:{pointerEvents:"none"},true:{pointerEvents:"all"}},isEditing:{false:{userSelect:"none"},true:{background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"}}}},iVe)),Yzn=Hn("textarea",Zt(mt({position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%",border:"none",padding:"4px",resize:"none",textAlign:"inherit",minHeight:"inherit",minWidth:"inherit",lineHeight:"inherit",outline:0,fontWeight:"inherit",overflow:"hidden",backfaceVisibility:"hidden",display:"inline-block",pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text",fontSmooth:"always",WebkitFontSmoothing:"subpixel-antialiased",MozOsxFontSmoothing:"auto"},iVe),{"&:focus":{outline:"none",border:"none"}}));function P$(e,t,{initialShape:n,transformOrigin:r,scaleX:i,scaleY:a}){if(e.rotation||n.isAspectRatioLocked){let o=bn.toFixed(bn.mul(n.size,Math.min(Math.abs(i),Math.abs(a)))),s=bn.toFixed([t.minX+(t.width-e.size[0])*(i<0?1-r[0]:r[0]),t.minY+(t.height-e.size[1])*(a<0?1-r[1]:r[1])]),l=i<0&&a>=0||a<0&&i>=0?n.rotation?-n.rotation:0:n.rotation;return{size:o,point:s,rotation:l}}else return{point:bn.toFixed([t.minX,t.minY]),size:bn.toFixed([t.width,t.height])}}function F$(e,t){return{size:bn.toFixed([t.width,t.height]),point:bn.toFixed([t.minX,t.minY])}}var Ta=class extends Kae{constructor(){super(...arguments),Ce(this,"canBind",!1),Ce(this,"canEdit",!1),Ce(this,"canClone",!1),Ce(this,"isAspectRatioLocked",!1),Ce(this,"hideResizeHandles",!1),Ce(this,"bindingDistance",16),Ce(this,"hitTestPoint",(e,t)=>bt.pointInBounds(t,this.getRotatedBounds(e))),Ce(this,"hitTestLineSegment",(e,t,n)=>{let r=bt.getBoundsFromPoints([t,n]),i=this.getBounds(e);return bt.boundsContain(i,r)||e.rotation?$de(t,n,bt.getRotatedCorners(this.getBounds(e))).didIntersect:Nde(t,n,this.getBounds(e)).length>0}),Ce(this,"create",e=>(this.refMap.set(e.id,C.createRef()),this.getShape(e))),Ce(this,"getCenter",e=>bt.getBoundsCenter(this.getBounds(e))),Ce(this,"getExpandedBounds",e=>bt.expandBounds(this.getBounds(e),this.bindingDistance)),Ce(this,"getBindingPoint",(e,t,n,r,i,a)=>{let o=this.getBounds(e),s=this.getExpandedBounds(e);if(!bt.pointInBounds(n,s))return;let l=sO(r,i,s).filter(g=>g.didIntersect).map(g=>g.points[0]);if(!l.length)return;let u=this.getCenter(e),c=l.sort((g,b)=>We.dist(b,r)-We.dist(g,r))[0],f=We.med(n,c),d,h;a?(d=We.dist(n,u)<16/2?u:n,h=0):(We.distanceToLineSegment(n,f,u)<16/2?d=u:d=f,bt.pointInBounds(n,o)?h=this.bindingDistance:h=Math.max(this.bindingDistance,bt.getBoundsSides(o).map(g=>We.distanceToLineSegment(g[1][0],g[1][1],n)).sort((g,b)=>g-b)[0]));let p=We.divV(We.sub(d,[s.minX,s.minY]),[s.width,s.height]);return{point:We.clampV(p,0,1),distance:h}}),Ce(this,"mutate",(e,t)=>t),Ce(this,"transform",(e,t,n)=>Zt(mt({},e),{point:[t.minX,t.minY]})),Ce(this,"transformSingle",(e,t,n)=>this.transform(e,t,n)),Ce(this,"updateChildren"),Ce(this,"onChildrenChange"),Ce(this,"onHandleChange"),Ce(this,"onRightPointHandle"),Ce(this,"onDoubleClickHandle"),Ce(this,"onDoubleClickBoundsHandle"),Ce(this,"onSessionComplete"),Ce(this,"getSvgElement",(e,t)=>{var n,r,i,a,o;let s=(n=document.getElementById(e.id+"_svg"))==null?void 0:n.cloneNode(!0);if(s){if((a=(i=(r=e.label)==null?void 0:r.trim())==null?void 0:i.length)!=null?a:0>0){let l=e,u=document.createElementNS("http://www.w3.org/2000/svg","g"),c=Ig(e.style),f=FS(e.label,c),d=L$(e.style.size,e.style.font)*((o=e.style.scale)!=null?o:1),h=oE(e.style.font).slice(1,-1),p=O$(l.label,d,h,"middle",f[0],!1),g=this.getBounds(e);return p.setAttribute("transform",`translate(${g.width/2-f[0]/2}, ${g.height/2-f[1]/2})`),p.setAttribute("fill",Ya(e.style,t).stroke),p.setAttribute("transform-origin","center center"),u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),u.appendChild(s),u.appendChild(p),u}return s}})}};function Xzn(e,t,n,r){return["M",e[0],e[1],"A",n[2],n[2],0,0,r<0?0:1,t[0],t[1]].join(" ")}function yI(e,t){let{start:n,end:r}=e,i=bn.dist(n.point,r.point),a=bn.med(n.point,r.point),o=i/2*t,s=bn.uni(bn.vec(n.point,r.point));return bn.toFixed(Math.abs(o)<10?a:bn.add(a,bn.mul(bn.per(s),o)))}function Jzn(e,t,n,r,i,a){let o=bt.rng(e),s=Ya(t).strokeWidth,l=i?bn.nudge(n,r,s):n,u=a?bn.nudge(r,n,s):r,c=T7([l,u],{size:s,thinning:.618+o()*.2,easing:M$.easeOutQuad,simulatePressure:!0,streamline:0,last:!0});return bt.getSvgPathFromStroke(c)}function Zzn(e,t,n,r,i,a,o,s,l,u){let c=bt.rng(e),f=Ya(t).strokeWidth,d=i?bn.rotWith(n,o,f/l):n,h=a?bn.rotWith(r,o,-(f/l)):r,p=bn.angle(o,d),g=bn.angle(o,h),b=[],m=8+Math.floor(Math.abs(l)/20*1+c()/2);for(let w=0;w0?"1":"0"} ${r}`),i&&u.push(qwe(t,l,f,d,h<0)),a&&u.push(qwe(r,l,f,d,h>=0))}return u.join(" ")}function bI(e,t,n){if(bn.dist2(t,bn.med(e,n))<=4)return[e,n];let r=[],i=Yb(e,t,n),a=[i[0],i[1]],o=i[2],s=bn.angle(a,e),l=bn.angle(a,n);for(let u=0;u<20;u++){let c=u/19,f=bt.lerpAngles(s,l,c);r.push(bn.nudgeAtAngle(a,f,o))}return r}function eUn(e,t,n){if(n===e||n===t)return!0;let r=Math.PI*2,i=(t-e+r)%r,a=(n-e+r)%r;return i<=Math.PI!=a>i}function $S(e,t,n,r){let i=bt.getSweep(e,n,r);return t*(2*Math.PI)*(i/(2*Math.PI))}function dB({left:e,middle:t,right:n,stroke:r,strokeWidth:i}){return C.createElement("g",null,C.createElement("path",{className:"tl-stroke-hitarea",d:`M ${e} L ${t} ${n}`}),C.createElement("path",{d:`M ${e} L ${t} ${n}`,fill:"none",stroke:r,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"}))}var tUn=C.memo(function({id:e,style:t,start:n,bend:r,end:i,arrowBend:a,decorationStart:o,decorationEnd:s,isDraw:l,isDarkMode:u}){let c=bn.dist(n,i);if(c<2)return null;let f=Ya(t,u),{strokeWidth:d}=f,h=1+d*1.618,p=Yb(n,r,i),g=[p[0],p[1]],b=p[2],m=$S(g,b,n,i),v=bt.rng(e),w=M$[v()>0?"easeInOutSine":"easeInOutCubic"],k=l?Zzn(e,t,n,i,o,s,g,b,m,w):Xzn(n,i,p,a),{strokeDasharray:E,strokeDashoffset:S}=bt.getPerfectDashProps(Math.abs(m),h,t.dash,2,!1),T=Math.min(c/3,d*8),L=o?$oe(n,T,g,b,m<0):null,M=s?$oe(i,T,g,b,m>=0):null;return C.createElement(C.Fragment,null,C.createElement("path",{className:"tl-stroke-hitarea",d:k}),C.createElement("path",{d:k,fill:l?f.stroke:"none",stroke:f.stroke,strokeWidth:l?0:h,strokeDasharray:E,strokeDashoffset:S,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"none"}),L&&C.createElement(dB,{left:L.left,middle:n,right:L.right,stroke:f.stroke,strokeWidth:h}),M&&C.createElement(dB,{left:M.left,middle:i,right:M.right,stroke:f.stroke,strokeWidth:h}))}),nUn=C.memo(function({id:e,style:t,start:n,end:r,decorationStart:i,decorationEnd:a,isDraw:o,isDarkMode:s}){let l=bn.dist(n,r);if(l<2)return null;let u=Ya(t,s),{strokeWidth:c}=u,f=1+c*1.618,d=o?Jzn(e,t,n,r,i,a):"M"+bn.toFixed(n)+"L"+bn.toFixed(r),{strokeDasharray:h,strokeDashoffset:p}=bt.getPerfectDashProps(l,c*1.618,t.dash,2,!1),g=Math.min(l/3,c*8),b=i?zoe(n,r,g):null,m=a?zoe(r,n,g):null;return C.createElement(C.Fragment,null,C.createElement("path",{className:"tl-stroke-hitarea",d}),C.createElement("path",{d,fill:u.stroke,stroke:u.stroke,strokeWidth:o?f/2:f,strokeDasharray:h,strokeDashoffset:p,strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"stroke"}),b&&C.createElement(dB,{left:b.left,middle:n,right:b.right,stroke:u.stroke,strokeWidth:f}),m&&C.createElement(dB,{left:m.left,middle:r,right:m.right,stroke:u.stroke,strokeWidth:f}))}),rUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","arrow"),Ce(this,"hideBounds",!0),Ce(this,"canEdit",!0),Ce(this,"pathCache",new WeakMap),Ce(this,"getShape",e=>{var t,n,r,i;return mt({id:"id",type:"arrow",name:"Arrow",parentId:"page",childIndex:1,point:[0,0],rotation:0,bend:0,handles:{start:mt({id:"start",index:0,point:[0,0],canBind:!0},(t=e.handles)==null?void 0:t.start),end:mt({id:"end",index:1,point:[1,1],canBind:!0},(n=e.handles)==null?void 0:n.end),bend:mt({id:"bend",index:2,point:[.5,.5]},(r=e.handles)==null?void 0:r.bend)},decorations:(i=e.decorations)!=null?i:{end:"arrow"},style:mt(Zt(mt({},w1),{isFilled:!1}),e.style),label:"",labelPoint:[.5,.5]},e)}),Ce(this,"Component",Ta.Component(({shape:e,isEditing:t,isGhost:n,meta:r,events:i,onShapeChange:a,onShapeBlur:o},s)=>{var l,u;let{id:c,label:f="",handles:{start:d,bend:h,end:p},decorations:g={},style:b}=e,m=(u=(l=f?.trim())==null?void 0:l.length)!=null?u:0>0,v=We.dist(h.point,We.toFixed(We.med(d.point,p.point)))<1,w=Ig(b),k=Ya(b,r.isDarkMode),E=m||t?FS(f,w):[0,0],S=this.getBounds(e),T=C.useMemo(()=>{let{start:B,bend:N,end:O}=e.handles;if(v)return We.dist(B.point,O.point);let R=Yb(B.point,N.point,O.point),P=R.slice(0,2),H=R[2],F=$S(P,H,B.point,O.point);return Math.abs(F)},[e.handles]),L=Math.max(.5,Math.min(1,Math.max(T/(E[1]+128),T/(E[0]+128)))),M=C.useMemo(()=>{let B=this.getBounds(e);return We.sub(e.handles.bend.point,We.toFixed([B.width/2,B.height/2]))},[e,L]),D=C.useCallback(B=>{a?.({id:c,label:B})},[a]),I=v?nUn:tUn;return C.createElement(iUn,mt({ref:s},i),C.createElement(B$,{font:w,text:f,color:k.stroke,offsetX:M[0],offsetY:M[1],scale:L,isEditing:t,onChange:D,onBlur:o}),C.createElement(gh,{id:e.id+"_svg"},C.createElement("defs",null,C.createElement("mask",{id:e.id+"_clip"},C.createElement("rect",{x:-100,y:-100,width:S.width+200,height:S.height+200,fill:"white"}),C.createElement("rect",{x:S.width/2-E[0]/2*L+M[0],y:S.height/2-E[1]/2*L+M[1],width:E[0]*L,height:E[1]*L,rx:4*L,ry:4*L,fill:"black",opacity:1}))),C.createElement("g",{pointerEvents:"none",opacity:n?.3:1,mask:m||t?`url(#${e.id}_clip)`:""},C.createElement(I,{id:c,style:b,start:d.point,end:p.point,bend:h.point,arrowBend:e.bend,decorationStart:g?.start,decorationEnd:g?.end,isDraw:b.dash==="draw",isDarkMode:r.isDarkMode}))))})),Ce(this,"Indicator",Ta.Indicator(({shape:e,bounds:t})=>{var n,r;let{style:i,decorations:a,label:o,handles:{start:s,bend:l,end:u}}=e,c=(r=(n=o?.trim())==null?void 0:n.length)!=null?r:0>0,f=Ig(i),d=c?FS(o,f):[0,0],h=We.dist(l.point,We.toFixed(We.med(s.point,u.point)))<1,p=C.useMemo(()=>{let{start:m,bend:v,end:w}=e.handles;if(h)return We.dist(m.point,w.point);let k=Yb(m.point,v.point,w.point),E=k.slice(0,2),S=k[2],T=$S(E,S,m.point,w.point);return Math.abs(T)},[e.handles]),g=Math.max(.5,Math.min(1,Math.max(p/(d[1]+128),p/(d[0]+128)))),b=C.useMemo(()=>{let m=this.getBounds(e);return We.sub(e.handles.bend.point,[m.width/2,m.height/2])},[e,g]);return C.createElement(C.Fragment,null,c&&C.createElement(Pzn,{id:e.id,scale:g,offset:b,bounds:t,labelSize:d}),C.createElement("path",{d:Qzn(i,s.point,l.point,u.point,a?.start,a?.end),mask:c?`url(#${e.id}_clip)`:""}),c&&C.createElement("rect",{x:t.width/2-d[0]/2*g+b[0],y:t.height/2-d[1]/2*g+b[1],width:d[0]*g,height:d[1]*g,rx:4*g,ry:4*g,fill:"transparent"}))})),Ce(this,"getBounds",e=>{let t=bt.getFromCache(this.boundsCache,e,()=>{let{handles:{start:n,bend:r,end:i}}=e;return bt.getBoundsFromPoints(bI(n.point,r.point,i.point))});return bt.translateBounds(t,e.point)}),Ce(this,"getRotatedBounds",e=>{let{handles:{start:t,bend:n,end:r}}=e,i=bI(t.point,n.point,r.point),{minX:a,minY:o,maxX:s,maxY:l}=bt.getBoundsFromPoints(i);return e.rotation!==0&&(i=i.map(u=>We.rotWith(u,[(a+s)/2,(o+l)/2],e.rotation||0))),bt.translateBounds(bt.getBoundsFromPoints(i),e.point)}),Ce(this,"getCenter",e=>{let{start:t,end:n}=e.handles;return We.add(e.point,We.med(t.point,n.point))}),Ce(this,"shouldRender",(e,t)=>t.decorations!==e.decorations||t.handles!==e.handles||t.style!==e.style||t.label!==e.label),Ce(this,"hitTestPoint",(e,t)=>{let{handles:{start:n,bend:r,end:i}}=e,a=We.sub(t,e.point),o=bI(n.point,r.point,i.point);for(let s=1;s{let{handles:{start:r,bend:i,end:a}}=e,o=We.sub(t,e.point),s=We.sub(n,e.point),l=bI(r.point,i.point,a.point);for(let u=1;u{let{start:n,end:r,bend:i}=e.handles,a=We.add(e.point,n.point),o=We.add(e.point,r.point);if(bt.pointInBounds(a,t)||bt.pointInBounds(o,t))return!0;if(We.isEqual(We.med(n.point,r.point),i.point))return Nde(a,o,t).length>0;{let[s,l,u]=Yb(n.point,i.point,r.point),c=We.add(e.point,[s,l]);return zDt(c,u,a,o,t).length>0}}),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let a=this.getBounds(n),o=["start","end"],s=mt({},n.handles);o.forEach(c=>{if(c==="bend")return;let[f,d]=s[c].point,h=f/a.width,p=d/a.height;s[c]=Zt(mt({},s[c]),{point:[t.width*(r<0?1-h:h),t.height*(i<0?1-p:p)]})});let l=r>0&&i<0||r<0&&i>0?-n.bend:n.bend,u=yI(s,l);return s.bend.point=u,{point:We.toFixed([t.minX,t.minY]),handles:s,bend:l}}),Ce(this,"onDoubleClickHandle",(e,t)=>{var n,r;switch(t){case"bend":return{bend:0,handles:Zt(mt({},e.handles),{bend:Zt(mt({},e.handles.bend),{point:yI(e.handles,e.bend)})})};case"start":return{decorations:Zt(mt({},e.decorations),{start:(n=e.decorations)!=null&&n.start?void 0:"arrow"})};case"end":return{decorations:Zt(mt({},e.decorations),{end:(r=e.decorations)!=null&&r.end?void 0:"arrow"})}}return this}),Ce(this,"onHandleChange",(e,t)=>{let n=bt.deepMerge(e.handles,t),r=e.bend;if(n=bt.deepMerge(n,{start:{point:We.toFixed(n.start.point)},end:{point:We.toFixed(n.end.point)}}),We.isEqual(n.start.point,n.end.point))return;if("bend"in t){let{start:l,end:u,bend:c}=n,f=We.dist(l.point,u.point),d=We.med(l.point,u.point),h=We.angle(l.point,u.point),p=We.uni(We.vec(l.point,u.point)),g=We.add(d,We.mul(We.per(p),f)),b=We.sub(d,We.mul(We.per(p),f)),m=We.nearestPointOnLineSegment(g,b,c.point,!0),v=We.dist(d,m)/(f/2);r=bt.clamp(v,-.99,.99);let w=We.angle(l.point,m);We.isEqual(d,yI(n,r))?r=0:eUn(h,h+Math.PI,w)&&(r*=-1)}let i={point:e.point,bend:r,handles:Zt(mt({},n),{bend:Zt(mt({},n.bend),{point:yI(n,r)})})},a=e.point,o=this.getBounds(mt({},i)),s=We.sub([o.minX,o.minY],a);return We.isEqual(s,[0,0])||(Object.values(i.handles).forEach(l=>{l.point=We.toFixed(We.sub(l.point,s))}),i.point=We.toFixed(We.add(i.point,s))),i}),Ce(this,"getSvgElement",(e,t)=>{var n,r,i,a,o;let s=(n=document.getElementById(e.id+"_svg"))==null?void 0:n.cloneNode(!0);if(s){if((a=(i=(r=e.label)==null?void 0:r.trim())==null?void 0:i.length)!=null?a:0>0){let l=e,u=document.createElementNS("http://www.w3.org/2000/svg","g"),c=Ig(e.style),f=FS(e.label,c),d=L$(e.style.size,e.style.font)*((o=e.style.scale)!=null?o:1),h=oE(e.style.font).slice(1,-1),p=O$(l.label,d,h,"start",f[0],!1),g,{start:b,bend:m,end:v}=e.handles;if(We.dist(m.point,We.toFixed(We.med(b.point,v.point)))<1)g=We.dist(b.point,v.point);else{let L=Yb(b.point,m.point,v.point),M=L.slice(0,2),D=L[2],I=$S(M,D,b.point,v.point);g=Math.abs(I)}let w=Math.max(.5,Math.min(1,Math.max(g/(f[1]+128),g/(f[0]+128)))),k=this.getBounds(e),E=We.sub(e.handles.bend.point,[k.width/2,k.height/2]),S=k.width/2-f[0]/2*w+E[0],T=k.height/2-f[1]/2*w+E[1];return p.setAttribute("transform",`translate(${S}, ${T})`),p.setAttribute("fill",Ya(e.style,t).stroke),p.setAttribute("transform-origin","center center"),u.setAttribute("text-align","center"),u.setAttribute("text-anchor","middle"),u.appendChild(s),u.appendChild(p),u}return s}})}},iUn=Hn("div",{width:"100%",height:"100%"}),aUn={easing:e=>Math.sin(e*Math.PI/2),simulatePressure:!0},oUn={easing:e=>e*e,simulatePressure:!1};function Uhe(e){let t=Ya(e.style);return Zt(mt({size:1+t.strokeWidth*1.5,thinning:.65,streamline:.65,smoothing:.65},e.points[1][2]===.5?aUn:oUn),{last:e.isComplete})}function sUn(e){return e.points.length<2?"":bt.getSvgPathFromStroke(QC(e.points,Uhe(e)).map(t=>t.point))}function aVe(e,t){return QC(e.points,t)}function lUn(e){if(e.points.length<2)return"";let t=Uhe(e),n=aVe(e,t);return bt.getSvgPathFromStroke(Ode(n,t))}function Gwe(e){let{points:t}=e;if(t.length<2)return"M 0 0 L 0 0";let n=Uhe(e),r=aVe(e,n),i=t[t.length-1];return bn.isEqual(r[0].point,i)||r.push({point:i}),bt.getSvgPathFromStrokePoints(r)}var uUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","draw"),Ce(this,"pointsBoundsCache",new WeakMap([])),Ce(this,"shapeBoundsCache",new Map),Ce(this,"rotatedCache",new WeakMap([])),Ce(this,"pointCache",{}),Ce(this,"canClone",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"draw",name:"Draw",parentId:"page",childIndex:1,point:[0,0],rotation:0,style:w1,points:[],isComplete:!1},e)),Ce(this,"Component",Ta.Component(({shape:e,meta:t,isSelected:n,isGhost:r,events:i},a)=>{let{points:o,style:s,isComplete:l}=e,u=C.useMemo(()=>sUn(e),[o,s.size]),c=C.useMemo(()=>s.dash==="draw"?lUn(e):Gwe(e),[o,s.size,s.dash,l]),f=Ya(s,t.isDarkMode),{stroke:d,fill:h,strokeWidth:p}=f,g=this.getBounds(e);if(g.width<=p/2&&g.height<=p/2){let k=1+p;return C.createElement(gh,mt({ref:a,id:e.id+"_svg"},i),C.createElement("circle",{r:k,fill:d,stroke:d,pointerEvents:"all",opacity:r?.3:1}))}let b=s.isFilled&&o.length>3&&We.dist(o[0],o[o.length-1]){let{points:t}=e,n=C.useMemo(()=>Gwe(e),[t]),r=this.getBounds(e);return r.width<4&&r.height<4?C.createElement("circle",{x:r.width/2,y:r.height/2,r:1}):C.createElement("path",{d:n})})),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let a=bt.getFromCache(this.boundsCache,n,()=>bt.getBoundsFromPoints(n.points)),o=n.points.map(([u,c,f])=>[t.width*(r<0?1-u/a.width:u/a.width),t.height*(i<0?1-c/a.height:c/a.height),f]),s=bt.getBoundsFromPoints(e.points),l=We.sub([t.minX,t.minY],[s.minX,s.minY]);return{points:o,point:l}}),Ce(this,"getBounds",e=>{let t=!this.pointsBoundsCache.has(e.points),n=this.pointCache[e.id]!==e.point;if(t){let r=bt.getBoundsFromPoints(e.points);this.pointsBoundsCache.set(e.points,r),this.shapeBoundsCache.set(e.id,bt.translateBounds(r,e.point)),this.pointCache[e.id]=e.point}else n&&!t&&(this.pointCache[e.id]=e.point,this.shapeBoundsCache.set(e.id,bt.translateBounds(this.pointsBoundsCache.get(e.points),e.point)));return this.shapeBoundsCache.get(e.id)}),Ce(this,"shouldRender",(e,t)=>t.points!==e.points||t.style!==e.style||t.isComplete!==e.isComplete),Ce(this,"hitTestPoint",(e,t)=>{let n=We.sub(t,e.point);return bt.pointInPolyline(n,e.points)}),Ce(this,"hitTestLineSegment",(e,t,n)=>{let{points:r,point:i}=e,a=We.sub(t,i),o=We.sub(n,i),s=this.getBounds(e);if(s.width<8&&s.height<8)return We.distanceToLineSegment(t,n,bt.getBoundsCenter(s))<5;if(Nde(a,o,s)){for(let l=1;l{if(!e.rotation){let i=this.getBounds(e);return bt.boundsContain(t,i)||(bt.boundsContain(i,t)||VDt(i,t).length>0)&&E3e(bt.translateBounds(t,We.neg(e.point)),e.points).length>0}let n=this.getRotatedBounds(e),r=bt.getFromCache(this.rotatedCache,e,()=>{let i=bt.getBoundsCenter(bt.getBoundsFromPoints(e.points));return e.points.map(a=>We.rotWith(a,i,e.rotation||0))});return bt.boundsContain(t,n)||E3e(bt.translateBounds(t,We.neg(e.point)),r).length>0})}},cUn=C.memo(function({radius:e,style:t,isSelected:n,isDarkMode:r}){let{stroke:i,strokeWidth:a,fill:o}=Ya(t,r),s=1+a*1.618,l=Math.max(0,e[0]-s/2),u=Math.max(0,e[1]-s/2),c=bt.perimeterOfEllipse(l,u),{strokeDasharray:f,strokeDashoffset:d}=bt.getPerfectDashProps(c<64?c*2:c,a*1.618,t.dash,4);return C.createElement(C.Fragment,null,C.createElement("ellipse",{className:t.isFilled||n?"tl-fill-hitarea":"tl-stroke-hitarea",cx:e[0],cy:e[1],rx:e[0],ry:e[1]}),C.createElement("ellipse",{cx:e[0],cy:e[1],rx:l,ry:u,fill:o,stroke:i,strokeWidth:s,strokeDasharray:f,strokeDashoffset:d,pointerEvents:"none",strokeLinecap:"round",strokeLinejoin:"round"}))});function oVe(e,t,n){let{strokeWidth:r}=Ya(n),i=bt.rng(e),a=t[0]+i()*r*2,o=t[1]+i()*r*2,s=bt.perimeterOfEllipse(a,o),l=[],u=Math.PI+Math.PI*i(),c=Math.abs(i()),f=Math.max(16,s/10);for(let d=0;dbt.deepMerge({id:"id",type:"ellipse",name:"Ellipse",parentId:"page",childIndex:1,point:[0,0],radius:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},t)),Ce(this,"Component",Ta.Component(({shape:t,isGhost:n,isSelected:r,isBinding:i,isEditing:a,meta:o,bounds:s,events:l,onShapeChange:u,onShapeBlur:c},f)=>{let{id:d,radius:h,style:p,label:g="",labelPoint:b=Nhe}=t,m=Ig(t.style),v=Ya(p,o.isDarkMode),w=v.strokeWidth,k=1+w*1.618,E=Math.max(0,h[0]-k/2),S=Math.max(0,h[1]-k/2),T=p.dash==="draw"?dUn:cUn,L=C.useCallback(M=>u?.({id:d,label:M}),[u]);return C.createElement(pUn,mt({ref:f},l),C.createElement(B$,{isEditing:a,onChange:L,onBlur:c,font:m,text:g,color:v.stroke,offsetX:(b[0]-.5)*s.width,offsetY:(b[1]-.5)*s.height}),C.createElement(gh,{id:t.id+"_svg",opacity:n?.3:1},i&&C.createElement("ellipse",{className:"tl-binding-indicator",cx:h[0],cy:h[1],rx:E,ry:S,strokeWidth:this.bindingDistance}),C.createElement(T,{id:d,radius:h,style:p,isSelected:r,isDarkMode:o.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:t})=>{let{id:n,radius:r,style:i}=t,a=Ya(i).strokeWidth,o=1+a*1.618,s=Math.max(0,r[0]-o/2),l=Math.max(0,r[1]-o/2);return i.dash==="draw"?C.createElement("path",{d:sVe(n,r,i)}):C.createElement("ellipse",{cx:r[0],cy:r[1],rx:s,ry:l})})),Ce(this,"hitTestPoint",(t,n)=>bt.pointInBounds(n,this.getRotatedBounds(t))&&bt.pointInEllipse(n,this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0)),Ce(this,"hitTestLineSegment",(t,n,r)=>E6(n,r,this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0).didIntersect),Ce(this,"getBounds",t=>bt.getFromCache(this.boundsCache,t,()=>bt.getRotatedEllipseBounds(t.point[0],t.point[1],t.radius[0],t.radius[1],0))),Ce(this,"getRotatedBounds",t=>bt.getRotatedEllipseBounds(t.point[0],t.point[1],t.radius[0],t.radius[1],t.rotation)),Ce(this,"hitTestBounds",(t,n)=>{let r=this.getBounds(t);return bt.boundsContained(r,n)||WDt(this.getCenter(t),t.radius[0],t.radius[1],t.rotation||0,n).length>0}),Ce(this,"shouldRender",(t,n)=>n.radius!==t.radius||n.style!==t.style||n.label!==t.label),Ce(this,"getCenter",t=>We.add(t.point,t.radius)),Ce(this,"getBindingPoint",(t,n,r,i,a,o)=>{{let s=this.getExpandedBounds(t),l=this.getCenter(t),u,c;if(!bt.pointInEllipse(r,l,t.radius[0]+this.bindingDistance,t.radius[1]+this.bindingDistance))return;if(o)We.dist(r,this.getCenter(t))<12?u=[.5,.5]:u=We.divV(We.sub(r,[s.minX,s.minY]),[s.width,s.height]),c=0;else{let f=AHe(i,a,l,t.radius[0],t.radius[1],t.rotation||0).points.sort((h,p)=>We.dist(h,i)-We.dist(p,i))[0];if(f||(f=E6(r,l,l,t.radius[0],t.radius[1],t.rotation||0).points.sort((h,p)=>We.dist(h,r)-We.dist(p,r))[0]),!f)return;let d=We.med(r,f);if(We.distanceToLineSegment(r,d,this.getCenter(t))<12?u=[.5,.5]:u=We.divV(We.sub(d,[s.minX,s.minY]),[s.width,s.height]),bt.pointInEllipse(r,l,t.radius[0],t.radius[1],t.rotation||0))c=this.bindingDistance/2;else{let h=E6(r,l,l,t.radius[0],t.radius[1],t.rotation||0).points[0];if(!h)return;c=Math.max(this.bindingDistance/2,We.dist(r,h))}}return{point:u,distance:c}}}),Ce(this,"transform",(t,n,{scaleX:r,scaleY:i,initialShape:a})=>{let{rotation:o=0}=a;return{point:[n.minX,n.minY],radius:[n.width/2,n.height/2],rotation:r<0&&i>=0||i<0&&r>=0?-(o||0):o||0}}),Ce(this,"transformSingle",(t,n)=>({point:We.toFixed([n.minX,n.minY]),radius:We.div([n.width,n.height],2)}))}},pUn=Hn("div",{width:"100%",height:"100%"}),gUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","group"),Ce(this,"canBind",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"group",name:"Group",parentId:"page",childIndex:1,point:[0,0],size:[100,100],rotation:0,children:[],style:w1},e)),Ce(this,"Component",Ta.Component(({shape:e,isBinding:t,isGhost:n,isHovered:r,isSelected:i,events:a},o)=>{let{id:s,size:l}=e,u=2,c=Math.max(0,l[0]-u/2),f=Math.max(0,l[1]-u/2),d=[[[u/2,u/2],[c,u/2],c-u/2],[[c,u/2],[c,f],f-u/2],[[c,f],[u/2,f],c-u/2],[[u/2,f],[u/2,u/2],f-u/2]].map(([h,p],g)=>C.createElement("line",{key:s+"_"+g,x1:h[0],y1:h[1],x2:p[0],y2:p[1]}));return C.createElement(gh,mt({ref:o},a),t&&C.createElement("rect",{className:"tl-binding-indicator",strokeWidth:this.bindingDistance}),C.createElement("g",{opacity:n?.3:1},C.createElement("rect",{x:0,y:0,width:l[0],height:l[1],fill:"transparent",pointerEvents:"all"}),C.createElement(Vwe,{stroke:"black",opacity:r||i?1:0,strokeLinecap:"round",pointerEvents:"stroke"},d)))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{id:t,size:n}=e,r=2,i=Math.max(0,n[0]-r/2),a=Math.max(0,n[1]-r/2),o=[[[r/2,r/2],[i,r/2],i-r/2],[[i,r/2],[i,a],a-r/2],[[i,a],[r/2,a],i-r/2],[[r/2,a],[r/2,r/2],a-r/2]].map(([s,l],u)=>C.createElement("line",{key:t+"_"+u,x1:s[0],y1:s[1],x2:l[0],y2:l[1]}));return C.createElement(Vwe,{strokeLinecap:"round",pointerEvents:"stroke"},o)})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style)}},Vwe=Hn("g",{strokeWidth:"calc(1.5px * var(--tl-scale))",strokeDasharray:"calc(1px * var(--tl-scale)), calc(3px * var(--tl-scale))"}),mUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","image"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"isAspectRatioLocked",!0),Ce(this,"showCloneHandles",!1),Ce(this,"getShape",e=>bt.deepMerge({id:"image",type:"image",name:"Image",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:Zt(mt({},w1),{isFilled:!0}),assetId:"assetId"},e)),Ce(this,"Component",Ta.Component(({shape:e,asset:t={src:""},isBinding:n,isGhost:r,meta:i,events:a,onShapeChange:o},s)=>{let{size:l,style:u}=e,{bindingDistance:c}=this,f=C.useRef(null),d=C.useRef(null);return C.useLayoutEffect(()=>{let h=d.current;if(!h)return;let[p,g]=l;h.style.width=`${p}px`,h.style.height=`${g}px`},[l]),C.createElement(h$,mt({ref:s},a),n&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:`calc(${-c}px * var(--tl-zoom))`,left:`calc(${-c}px * var(--tl-zoom))`,width:`calc(100% + ${c*2}px * var(--tl-zoom))`,height:`calc(100% + ${c*2}px * var(--tl-zoom))`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(vUn,{ref:d,isDarkMode:i.isDarkMode,isFilled:u.isFilled,isGhost:r},C.createElement(yUn,{id:e.id+"_image",ref:f,src:t.src,alt:"tl_image_asset",draggable:!1})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:2,ry:2,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style),Ce(this,"transform",P$),Ce(this,"transformSingle",F$),Ce(this,"getSvgElement",e=>{let t=this.getBounds(e),n=document.createElementNS("http://www.w3.org/2000/svg","image");return n.setAttribute("width",`${t.width}`),n.setAttribute("height",`${t.height}`),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n})}},vUn=_$("div",{pointerEvents:"all",position:"relative",fontFamily:"sans-serif",fontSize:"2em",height:"100%",width:"100%",borderRadius:"3px",perspective:"800px",overflow:"hidden",p:{userSelect:"none"},img:{userSelect:"none"},variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isFilled:{true:{},false:{}},isDarkMode:{true:{},false:{}}},compoundVariants:[{isFilled:!0,isDarkMode:!0,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"}},{isFilled:!0,isDarkMode:!1,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}]}),yUn=_$("img",{position:"absolute",top:0,left:0,width:"100%",height:"100%",maxWidth:"100%",minWidth:"100%",pointerEvents:"none",objectFit:"cover",userSelect:"none",borderRadius:2});function bUn({strokeWidth:e,size:t}){return C.createElement("rect",{className:"tl-binding-indicator",x:e,y:e,width:Math.max(0,t[0]-e/2),height:Math.max(0,t[1]-e/2),strokeWidth:16*2})}var wUn=C.memo(function({id:e,style:t,size:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(t,i),l=1+o*1.618,u=Math.max(0,n[0]-l/2),c=Math.max(0,n[1]-l/2),f=[[[l/2,l/2],[u,l/2],u-l/2],[[u,l/2],[u,c],c-l/2],[[u,c],[l/2,c],u-l/2],[[l/2,c],[l/2,l/2],c-l/2]].map(([d,h,p],g)=>{let{strokeDasharray:b,strokeDashoffset:m}=bt.getPerfectDashProps(p,o*1.618,t.dash);return C.createElement("line",{key:e+"_"+g,x1:d[0],y1:d[1],x2:h[0],y2:h[1],strokeDasharray:b,strokeDashoffset:m})});return C.createElement(C.Fragment,null,C.createElement("rect",{className:r||t.isFilled?"tl-fill-hitarea":"tl-stroke-hitarea",x:l/2,y:l/2,width:u,height:c,strokeWidth:16}),t.isFilled&&C.createElement("rect",{x:l/2,y:l/2,width:u,height:c,fill:s,pointerEvents:"none"}),C.createElement("g",{pointerEvents:"none",stroke:a,strokeWidth:l,strokeLinecap:"round"},f))});function kUn(e,t,n){let r=Ya(t),i=bt.rng(e),a=r.strokeWidth,o=Math.max(0,n[0]),s=Math.max(0,n[1]),l=Array.from(Array(4)).map(()=>[i()*a*.75,i()*a*.75]),u=bn.add([a/2,a/2],l[0]),c=bn.add([o-a/2,a/2],l[1]),f=bn.add([o-a/2,s-a/2],l[2]),d=bn.add([a/2,s-a/2],l[3]),h=Math.round(Math.abs(i()*2*4)),p=Math.min(o/4,a*2),g=Math.min(s/4,a*2),b=Math.max(8,Math.floor(o/16)),m=Math.max(8,Math.floor(s/16)),v=bt.rotateArray([bn.pointsBetween(bn.add(u,[p,0]),bn.sub(c,[p,0]),b),bn.pointsBetween(bn.add(c,[0,g]),bn.sub(f,[0,g]),m),bn.pointsBetween(bn.sub(f,[p,0]),bn.add(d,[p,0]),b),bn.pointsBetween(bn.sub(d,[0,g]),bn.add(u,[0,g]),m)],h);return{points:[...v.flat(),...v[0]].slice(5,Math.floor((h%2===0?b:m)/-2)+3)}}function lVe(e,t,n){let{points:r}=kUn(e,t,n),{strokeWidth:i}=Ya(t);return{points:r,options:{size:i,thinning:.65,streamline:.3,smoothing:1,simulatePressure:!1,last:!0}}}function _Un(e,t,n){let{points:r,options:i}=lVe(e,t,n),a=T7(r,i);return bt.getSvgPathFromStroke(a)}function uVe(e,t,n){let{points:r,options:i}=lVe(e,t,n);return bt.getSvgPathFromStrokePoints(QC(r,i))}var CUn=C.memo(function({id:e,style:t,size:n,isSelected:r,isDarkMode:i}){let{isFilled:a}=t,{stroke:o,strokeWidth:s,fill:l}=Ya(t,i),u=_Un(e,t,n),c=uVe(e,t,n);return C.createElement(C.Fragment,null,C.createElement("path",{className:t.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",d:c}),a&&C.createElement("path",{d:c,fill:l,pointerEvents:"none"}),C.createElement("path",{d:u,fill:o,stroke:o,strokeWidth:s,pointerEvents:"none"}))}),EUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","rectangle"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"canEdit",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"rectangle",name:"Rectangle",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},e)),Ce(this,"Component",Ta.Component(({shape:e,isEditing:t,isBinding:n,isSelected:r,isGhost:i,meta:a,bounds:o,events:s,onShapeBlur:l,onShapeChange:u},c)=>{let{id:f,size:d,style:h,label:p="",labelPoint:g=Nhe}=e,b=Ig(h),m=Ya(h,a.isDarkMode),v=h.dash==="draw"?CUn:wUn,w=C.useCallback(k=>u?.({id:f,label:k}),[u]);return C.createElement(xUn,mt({ref:c},s),C.createElement(B$,{isEditing:t,onChange:w,onBlur:l,font:b,text:p,color:m.stroke,offsetX:(g[0]-.5)*o.width,offsetY:(g[1]-.5)*o.height}),C.createElement(gh,{id:e.id+"_svg",opacity:i?.3:1},n&&C.createElement(bUn,{strokeWidth:m.strokeWidth,size:d}),C.createElement(v,{id:f,style:h,size:d,isSelected:r,isDarkMode:a.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{id:t,style:n,size:r}=e,i=Ya(n,!1).strokeWidth;return n.dash==="draw"?C.createElement("path",{d:uVe(t,n,r)}):C.createElement("rect",{x:i,y:i,rx:1,ry:1,width:Math.max(1,r[0]-i*2),height:Math.max(1,r[1]-i*2)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.label!==e.label),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}},xUn=Hn("div",{width:"100%",height:"100%"}),SUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","sticky"),Ce(this,"canBind",!0),Ce(this,"canEdit",!0),Ce(this,"canClone",!0),Ce(this,"hideResizeHandles",!0),Ce(this,"showCloneHandles",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"sticky",name:"Sticky",parentId:"page",childIndex:1,point:[0,0],size:[200,200],text:"",rotation:0,style:zhe},e)),Ce(this,"Component",Ta.Component(({shape:e,meta:t,events:n,isGhost:r,isBinding:i,isEditing:a,onShapeBlur:o,onShapeChange:s},l)=>{let u=Gzn(e.style),{color:c,fill:f}=jwe(e.style,t.isDarkMode),d=C.useRef(null),h=C.useRef(null),p=C.useRef(null),g=C.useRef(!1),b=C.useCallback(T=>{T.stopPropagation()},[]),m=C.useCallback(T=>{s?.({id:e.id,type:e.type,text:rn.normalizeText(T)})},[e.id]),v=C.useCallback(T=>{m(T.currentTarget.value)},[s,m]),w=C.useCallback(T=>{if(T.key==="Escape"){T.preventDefault(),T.stopPropagation(),o?.();return}if(T.key==="Tab"&&e.text.length===0){T.preventDefault();return}if(!(T.key==="Meta"||T.metaKey))T.stopPropagation();else if(T.key==="z"&&T.metaKey){T.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),T.stopPropagation(),T.preventDefault();return}(T.metaKey||T.ctrlKey)&&T.key==="="&&T.preventDefault(),T.key==="Tab"&&(T.preventDefault(),T.shiftKey?hc.unindent(T.currentTarget):hc.indent(T.currentTarget),s?.(Zt(mt({},e),{text:rn.normalizeText(T.currentTarget.value)})))},[e,s]),k=C.useCallback(T=>{T.currentTarget.setSelectionRange(0,0),o?.()},[]),E=C.useCallback(T=>{!a||!g.current||T.currentTarget.select()},[a]);C.useEffect(()=>{if(a){g.current=!0;let T=h.current;T.focus(),T.select()}},[a]),C.useEffect(()=>{let T=p.current,{size:L}=e,{offsetHeight:M}=T,D=oW-Ep*2,I=L[1]-Ep*2;if(M===I)return;if(M>D){s?.({id:e.id,size:[L[0],M+Ep*2]});return}if(MoW){s?.({id:e.id,size:[L[0],oW]});return}let B=h.current;B?.focus()},[e.text,e.size[1],e.style]);let S={font:u,color:c,textShadow:t.isDarkMode?"0.5px 0.5px 2px rgba(255, 255, 255,.25)":"0.5px 0.5px 2px rgba(255, 255, 255,.5)"};return C.createElement(h$,mt({ref:l},n),C.createElement(AUn,{ref:d,isDarkMode:t.isDarkMode,isGhost:r,style:mt({backgroundColor:f},S)},i&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(TUn,{ref:p,isEditing:a,alignment:e.style.textAlign},e.text,"​"),a&&C.createElement(DUn,{ref:h,onPointerDown:b,value:e.text,onChange:v,onKeyDown:w,onFocus:E,onBlur:k,tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,spellCheck:!0,alignment:e.style.textAlign,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd})))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:3,ry:3,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.text!==e.text),Ce(this,"transform",(e,t,{scaleX:n,scaleY:r,transformOrigin:i})=>({point:We.toFixed([t.minX+(t.width-e.size[0])*(n<0?1-i[0]:i[0]),t.minY+(t.height-e.size[1])*(r<0?1-i[1]:i[1])])})),Ce(this,"transformSingle",e=>e),Ce(this,"getSvgElement",(e,t)=>{var n,r;let i=this.getBounds(e),a=jwe(e.style,t),o=rVe(e.style.size)*((n=e.style.scale)!=null?n:1),s=oE(e.style.font).slice(1,-1),l=(r=e.style.textAlign)!=null?r:"start",u=O$(e.text,o,s,l,i.width-Ep*2,!0);u.setAttribute("fill",a.color),u.setAttribute("transform",`translate(${Ep}, ${Ep})`);let c=document.createElementNS("http://www.w3.org/2000/svg","g"),f=document.createElementNS("http://www.w3.org/2000/svg","rect");return f.setAttribute("width",i.width+""),f.setAttribute("height",i.height+""),f.setAttribute("fill",a.fill),f.setAttribute("rx","3"),f.setAttribute("ry","3"),c.appendChild(f),c.appendChild(u),c})}},Ep=16,oW=200,AUn=Hn("div",{pointerEvents:"all",position:"relative",backgroundColor:"rgba(255, 220, 100)",fontFamily:"sans-serif",height:"100%",width:"100%",padding:Ep+"px",borderRadius:"3px",perspective:"800px",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isDarkMode:{true:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"},false:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}}}),cVe={whiteSpace:"pre-wrap",overflowWrap:"break-word",letterSpacing:R4},TUn=Hn("div",mt({position:"absolute",top:Ep,left:Ep,width:`calc(100% - ${Ep*2}px)`,height:"fit-content",font:"inherit",pointerEvents:"none",userSelect:"none",variants:{isEditing:{true:{opacity:1},false:{opacity:1}},alignment:{start:{textAlign:"left"},middle:{textAlign:"center"},end:{textAlign:"right"},justify:{textAlign:"justify"}}}},cVe)),DUn=Hn("textarea",Zt(mt({width:"100%",height:"100%",border:"none",overflow:"hidden",background:"none",outline:"none",textAlign:"left",font:"inherit",padding:0,color:"transparent",verticalAlign:"top",resize:"none",caretColor:"black"},cVe),{variants:{alignment:{start:{textAlign:"left"},middle:{textAlign:"center"},end:{textAlign:"right"},justify:{textAlign:"justify"}}},"&:focus":{outline:"none",border:"none"}})),IUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","text"),Ce(this,"isAspectRatioLocked",!0),Ce(this,"canEdit",!0),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"bindingDistance",16/2),Ce(this,"getShape",e=>bt.deepMerge({id:"id",type:"text",name:"Text",parentId:"page",childIndex:1,point:[0,0],rotation:0,text:" ",style:zhe},e)),Ce(this,"texts",new Map),Ce(this,"Component",Ta.Component(({shape:e,isBinding:t,isGhost:n,isEditing:r,onShapeBlur:i,onShapeChange:a,meta:o,events:s},l)=>{let{text:u,style:c}=e,f=Ya(c,o.isDarkMode),d=Ig(e.style),h=C.useRef(null),p=C.useRef(!1),g=C.useRef(u);C.useLayoutEffect(()=>{if(u!==g.current){let S=[0,0];this.texts.set(e.id,u);let T=this.getBounds(e),L=this.getBounds(e);switch(e.style.textAlign){case"start":break;case"middle":{S=We.div([L.width-T.width,0],2);break}case"end":{S=[L.width-T.width,0];break}}g.current=u,a?.(Zt(mt({},e),{id:e.id,point:We.sub(e.point,S),text:u}))}},[u]);let b=C.useCallback(S=>{let T=[0,0],L=rn.normalizeText(S.currentTarget.value),M=this.getBounds(e);this.texts.set(e.id,L);let D=this.getBounds(Zt(mt({},e),{text:L}));switch(e.style.textAlign){case"start":break;case"middle":{T=We.div([D.width-M.width,0],2);break}case"end":{T=[D.width-M.width,0];break}}g.current=L,a?.(Zt(mt({},e),{id:e.id,point:We.sub(e.point,T),text:L}))},[e.id,e.point]),m=C.useCallback(S=>{if(S.key==="Escape"){S.preventDefault(),S.stopPropagation(),i?.();return}if(S.key==="Tab"&&e.text.length===0){S.preventDefault();return}if(S.key==="Enter"&&(S.metaKey||S.ctrlKey)){S.preventDefault(),S.stopPropagation(),h.current.blur();return}if(!(S.key==="Meta"||S.metaKey))S.stopPropagation();else if(S.key==="z"&&S.metaKey){S.shiftKey?document.execCommand("redo",!1):document.execCommand("undo",!1),S.stopPropagation(),S.preventDefault();return}(S.metaKey||S.ctrlKey)&&S.key==="="&&S.preventDefault(),S.key==="Tab"&&(S.preventDefault(),S.shiftKey?hc.unindent(S.currentTarget):hc.indent(S.currentTarget),a?.(Zt(mt({},e),{text:rn.normalizeText(S.currentTarget.value)})))},[e,a]),v=C.useCallback(S=>{S.currentTarget.setSelectionRange(0,0),i?.()},[]),w=C.useCallback(S=>{!r||!p.current||document.activeElement===S.currentTarget&&S.currentTarget.select()},[r]),k=C.useCallback(S=>{r&&S.stopPropagation()},[r]),E=C.useRef(r);return C.useEffect(()=>{r?(E.current=!0,this.texts.set(e.id,u),requestAnimationFrame(()=>{p.current=!0;let S=h.current;S&&(S.focus(),S.select())})):E.current&&(E.current=!1,i?.())},[r]),C.createElement(h$,mt({ref:l},s),C.createElement(MUn,{isGhost:n,isEditing:r,onPointerDown:k},C.createElement(OUn,{style:{font:d,color:f.stroke,textAlign:Rzn(c.textAlign)}},t&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),r?C.createElement(LUn,{ref:h,style:{font:d,color:f.stroke},name:"text",tabIndex:-1,autoComplete:"false",autoCapitalize:"false",autoCorrect:"false",autoSave:"false",autoFocus:!0,placeholder:"",spellCheck:"true",wrap:"off",dir:"auto",datatype:"wysiwyg",defaultValue:u,color:f.stroke,onFocus:w,onChange:b,onKeyDown:m,onBlur:v,onPointerDown:k,onContextMenu:rd,onCopy:rd,onPaste:rd,onCut:rd}):u,"​")))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{width:t,height:n}=this.getBounds(e);return C.createElement("rect",{x:0,y:0,width:t,height:n})})),Ce(this,"getBounds",e=>{let t=bt.getFromCache(this.boundsCache,e,()=>{var n;if(!av)return{minX:0,minY:0,maxX:10,maxY:10,width:10,height:10};av.parentNode||document.body.appendChild(av),av.style.font=Ig(e.style),av.textContent=(n=this.texts.get(e.id))!=null?n:e.text;let r=av.offsetWidth||1,i=av.offsetHeight||1;return{minX:0,maxX:r,minY:0,maxY:i,width:r,height:i}});return bt.translateBounds(t,e.point)}),Ce(this,"shouldRender",(e,t)=>t.text!==e.text||t.style.scale!==e.style.scale||t.style!==e.style),Ce(this,"transform",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let{rotation:a=0,style:{scale:o=1}}=n,s=o*Math.abs(Math.min(r,i));return{point:[t.minX,t.minY],rotation:r<0&&i>=0||i<0&&r>=0?-(a||0):a,style:Zt(mt({},n.style),{scale:s})}}),Ce(this,"transformSingle",(e,t,{initialShape:n,scaleX:r,scaleY:i})=>{let{style:{scale:a=1}}=n;return{point:We.toFixed([t.minX,t.minY]),style:Zt(mt({},n.style),{scale:a*Math.max(Math.abs(i),Math.abs(r))})}}),Ce(this,"onDoubleClickBoundsHandle",e=>{let t=this.getCenter(e),n=this.getCenter(Zt(mt({},e),{style:Zt(mt({},e.style),{scale:1})}));return{style:Zt(mt({},e.style),{scale:1}),point:We.toFixed(We.add(e.point,We.sub(t,n)))}}),Ce(this,"getSvgElement",(e,t)=>{var n,r;let i=this.getBounds(e),a=Ya(e.style,t),o=L$(e.style.size,e.style.font)*((n=e.style.scale)!=null?n:1),s=oE(e.style.font).slice(1,-1),l=(r=e.style.textAlign)!=null?r:"middle",u=O$(e.text,o,s,l,i.width,!1);return u.setAttribute("fill",a.stroke),u})}},av;function RUn(){var e;(e=document.getElementById("__textMeasure"))==null||e.remove();let t=document.createElement("pre");return t.id="__textMeasure",Object.assign(t.style,{whiteSpace:"pre",width:"auto",border:"1px solid transparent",padding:"4px",margin:"0px",letterSpacing:R4,opacity:"0",position:"absolute",top:"-500px",left:"0px",zIndex:"9999",pointerEvents:"none",userSelect:"none",alignmentBaseline:"mathematical",dominantBaseline:"mathematical"}),t.tabIndex=-1,document.body.appendChild(t),t}typeof window<"u"&&(av=RUn());var MUn=Hn("div",{width:"100%",height:"100%",variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isEditing:{false:{pointerEvents:"all",userSelect:"all"},true:{pointerEvents:"none",userSelect:"none"}}}}),fVe={whiteSpace:"pre-wrap",overflowWrap:"break-word"},OUn=Hn("div",mt({position:"absolute",width:"100%",height:"100%",padding:"4px",zIndex:1,minHeight:1,minWidth:1,lineHeight:1,letterSpacing:R4,outline:0,fontWeight:"500",backfaceVisibility:"hidden",userSelect:"none",pointerEvents:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",isEditing:{false:{},true:{pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"}}},fVe)),LUn=Hn("textarea",Zt(mt({position:"absolute",top:0,left:0,zIndex:1,width:"100%",height:"100%",border:"none",padding:"4px",resize:"none",textAlign:"inherit",minHeight:"inherit",minWidth:"inherit",lineHeight:"inherit",letterSpacing:"inherit",outline:0,fontWeight:"inherit",overflow:"hidden",backfaceVisibility:"hidden",display:"inline-block",pointerEvents:"all",background:"$boundsBg",userSelect:"text",WebkitUserSelect:"text"},fVe),{"&:focus":{outline:"none",border:"none"}}));function Xb(e,t=0,n=0){let[r,i]=e,a=[[r/2,0],[r,i],[0,i]];return t&&(a=Nzn(a,t)),n&&(a=a.map(o=>bn.rotWith(o,[r/2,i/2],n))),a}function Kwe(e){let[t,n]=e,r=[[t/2,0],[t,n],[0,n]];return[(r[0][0]+r[1][0]+r[2][0])/3,(r[0][1]+r[1][1]+r[2][1])/3]}function BUn(e,t,n){let[r,i]=t,a=bt.rng(e),o=Array.from(Array(3)).map(()=>[a()*n*.75,a()*n*.75]),s=[bn.add([r/2,0],o[0]),bn.add([r,i],o[1]),bn.add([0,i],o[2])],l=Math.round(Math.abs(a()*2*3)),u=bt.rotateArray([bn.pointsBetween(s[0],s[1],32),bn.pointsBetween(s[1],s[2],32),bn.pointsBetween(s[2],s[0],32)],l);return{points:[...u.flat(),...u[0]]}}function dVe(e,t,n){let{strokeWidth:r}=Ya(n),{points:i}=BUn(e,t,r);return{points:i,options:{size:r,thinning:.65,streamline:.3,smoothing:1,simulatePressure:!1,last:!0}}}function PUn(e,t,n){let{points:r,options:i}=dVe(e,t,n),a=T7(r,i);return bt.getSvgPathFromStroke(a)}function FUn(e,t,n){let{points:r,options:i}=dVe(e,t,n);return bt.getSvgPathFromStrokePoints(QC(r,i))}var NUn=C.memo(function({id:e,size:t,style:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(n,i),l=1+o*1.618,u=Xb(t),c=bt.pointsToLineSegments(u,!0).map(([d,h],p)=>{let{strokeDasharray:g,strokeDashoffset:b}=bt.getPerfectDashProps(bn.dist(d,h),o*1.618,n.dash);return C.createElement("line",{key:e+"_"+p,x1:d[0],y1:d[1],x2:h[0],y2:h[1],stroke:a,strokeWidth:l,strokeLinecap:"round",strokeDasharray:g,strokeDashoffset:b})}),f=u.join();return C.createElement(C.Fragment,null,C.createElement("polygon",{className:n.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",points:f}),n.isFilled&&C.createElement("polygon",{fill:s,points:f,pointerEvents:"none"}),C.createElement("g",{pointerEvents:"stroke"},c))}),$Un=C.memo(function({id:e,size:t,style:n,isSelected:r,isDarkMode:i}){let{stroke:a,strokeWidth:o,fill:s}=Ya(n,i),l=PUn(e,t,n),u=FUn(e,t,n);return C.createElement(C.Fragment,null,C.createElement("path",{className:n.isFilled||r?"tl-fill-hitarea":"tl-stroke-hitarea",d:u}),n.isFilled&&C.createElement("path",{d:u,fill:s,pointerEvents:"none"}),C.createElement("path",{d:l,fill:a,stroke:a,strokeWidth:o,pointerEvents:"none"}))});function zUn({size:e}){let t=Xb(e).join();return C.createElement("polygon",{className:"tl-binding-indicator",points:t,strokeWidth:16*2})}var UUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","triangle"),Ce(this,"canBind",!0),Ce(this,"canClone",!0),Ce(this,"canEdit",!0),Ce(this,"getShape",t=>bt.deepMerge({id:"id",type:"triangle",name:"Triangle",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,label:"",labelPoint:[.5,.5]},t)),Ce(this,"Component",Ta.Component(({shape:t,bounds:n,isBinding:r,isEditing:i,isSelected:a,isGhost:o,meta:s,events:l,onShapeChange:u,onShapeBlur:c},f)=>{let{id:d,label:h="",size:p,style:g,labelPoint:b=Nhe}=t,m=Ig(g),v=Ya(g,s.isDarkMode),w=g.dash==="draw"?$Un:NUn,k=C.useCallback(S=>u?.({id:d,label:S}),[u]),E=C.useMemo(()=>{let S=bn.div(p,2);return(Kwe(p)[1]-S[1])*.72},[p]);return C.createElement(jUn,mt({ref:f},l),C.createElement(B$,{font:m,text:h,color:v.stroke,offsetX:(b[0]-.5)*n.width,offsetY:E+(b[1]-.5)*n.height,isEditing:i,onChange:k,onBlur:c}),C.createElement(gh,{id:t.id+"_svg",opacity:o?.3:1},r&&C.createElement(zUn,{size:p}),C.createElement(w,{id:d,style:g,size:p,isSelected:a,isDarkMode:s.isDarkMode})))})),Ce(this,"Indicator",Ta.Indicator(({shape:t})=>{let{size:n}=t;return C.createElement("polygon",{points:Xb(n).join()})})),Ce(this,"shouldRender",(t,n)=>n.size!==t.size||n.style!==t.style||n.label!==t.label),Ce(this,"getBounds",t=>aE(t,this.boundsCache)),Ce(this,"getExpandedBounds",t=>bt.getBoundsFromPoints(Xb(t.size,this.bindingDistance).map(n=>bn.add(n,t.point)))),Ce(this,"hitTestLineSegment",(t,n,r)=>$de(n,r,this.getPoints(t)).didIntersect),Ce(this,"hitTestBounds",(t,n)=>bt.boundsContained(this.getBounds(t),n)||KDt(n,this.getPoints(t)).length>0),Ce(this,"getBindingPoint",(t,n,r,i,a,o)=>{let s=this.getExpandedBounds(t);if(!bt.pointInBounds(r,s))return;let l=Xb(t.size).map(v=>bn.add(v,t.point)),u=Xb(t.size,this.bindingDistance).map(v=>bn.add(v,t.point)),c=bt.pointsToLineSegments(l,!0).map(([v,w])=>bn.distanceToLineSegment(v,w,r)).sort((v,w)=>v-w)[0];if(!(bt.pointInPolygon(r,u)||cPde(i,a,v[0],v[1])).filter(v=>v.didIntersect).flatMap(v=>v.points);if(!f.length)return;let d=bn.add(Kwe(t.size),t.point),h=f.sort((v,w)=>bn.dist(w,i)-bn.dist(v,i))[0],p=bn.med(r,h),g,b;o?(g=bn.dist(r,d)<16/2?d:r,b=0):(bn.distanceToLineSegment(r,p,d)<16/2?g=d:g=p,bt.pointInPolygon(r,l)?b=this.bindingDistance:b=Math.max(this.bindingDistance,c));let m=bn.divV(bn.sub(g,[s.minX,s.minY]),[s.width,s.height]);return{point:bn.clampV(m,0,1),distance:b}}),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}getPoints(t){let{rotation:n=0,point:[r,i],size:[a,o]}=t;return[[r+a/2,i],[r,i+o],[r+a,i+o]].map(s=>bn.rotWith(s,this.getCenter(t),n))}},jUn=Hn("div",{width:"100%",height:"100%"}),HUn=class extends Ta{constructor(){super(...arguments),Ce(this,"type","video"),Ce(this,"canBind",!0),Ce(this,"canEdit",!0),Ce(this,"canClone",!0),Ce(this,"isAspectRatioLocked",!0),Ce(this,"showCloneHandles",!1),Ce(this,"isStateful",!0),Ce(this,"getShape",e=>bt.deepMerge({id:"video",type:"video",name:"Video",parentId:"page",childIndex:1,point:[0,0],size:[1,1],rotation:0,style:w1,assetId:"assetId",isPlaying:!0,currentTime:0},e)),Ce(this,"Component",Ta.Component(({shape:e,asset:t={src:""},isBinding:n,isEditing:r,isGhost:i,meta:a,events:o,onShapeChange:s},l)=>{let u=C.useRef(null),c=C.useRef(null),{currentTime:f=0,size:d,isPlaying:h,style:p}=e;C.useLayoutEffect(()=>{let v=c.current;if(!v)return;let[w,k]=d;v.style.width=`${w}px`,v.style.height=`${k}px`},[d]),C.useLayoutEffect(()=>{let v=u.current;!v||(h?v.play():v.pause())},[h]),C.useLayoutEffect(()=>{let v=u.current;!v||f!==v.currentTime&&(v.currentTime=f)},[f]);let g=C.useCallback(()=>{s?.({id:e.id,isPlaying:!0})},[]),b=C.useCallback(()=>{s?.({id:e.id,isPlaying:!1})},[]),m=C.useCallback(()=>{let v=u.current;!v||!r||s==null||s({id:e.id,currentTime:v.currentTime})},[r]);return C.createElement(h$,mt({ref:l},o),n&&C.createElement("div",{className:"tl-binding-indicator",style:{position:"absolute",top:-this.bindingDistance,left:-this.bindingDistance,width:`calc(100% + ${this.bindingDistance*2}px)`,height:`calc(100% + ${this.bindingDistance*2}px)`,backgroundColor:"var(--tl-selectFill)"}}),C.createElement(qUn,{ref:c,isDarkMode:a.isDarkMode,isGhost:i,isFilled:p.isFilled},C.createElement(WUn,{ref:u,id:e.id+"_video",muted:!0,loop:!0,playsInline:!0,disableRemotePlayback:!0,disablePictureInPicture:!0,controls:r,autoPlay:h,onPlay:g,onPause:b,onTimeUpdate:m},C.createElement("source",{src:t.src}))))})),Ce(this,"Indicator",Ta.Indicator(({shape:e})=>{let{size:[t,n]}=e;return C.createElement("rect",{x:0,y:0,rx:2,ry:2,width:Math.max(1,t),height:Math.max(1,n)})})),Ce(this,"getBounds",e=>aE(e,this.boundsCache)),Ce(this,"shouldRender",(e,t)=>t.size!==e.size||t.style!==e.style||t.isPlaying!==e.isPlaying),Ce(this,"getSvgElement",e=>{let t=this.getBounds(e),n=document.createElementNS("http://www.w3.org/2000/svg","image");return n.setAttribute("width",`${t.width}`),n.setAttribute("height",`${t.height}`),n.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),n}),Ce(this,"transform",P$),Ce(this,"transformSingle",F$)}},qUn=_$("div",{pointerEvents:"all",position:"relative",fontFamily:"sans-serif",fontSize:"2em",height:"100%",width:"100%",borderRadius:"3px",perspective:"800px",overflow:"hidden",p:{userSelect:"none"},img:{userSelect:"none"},variants:{isGhost:{false:{opacity:1},true:{transition:"opacity .2s",opacity:.3}},isFilled:{true:{},false:{}},isDarkMode:{true:{},false:{}}},compoundVariants:[{isFilled:!0,isDarkMode:!0,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.3), 1px 1px 4px rgba(0,0,0,.3), 1px 1px 2px rgba(0,0,0,.3)"}},{isFilled:!0,isDarkMode:!1,css:{boxShadow:"2px 3px 12px -2px rgba(0,0,0,.2), 1px 1px 4px rgba(0,0,0,.16), 1px 1px 2px rgba(0,0,0,.16)"}}]}),WUn=_$("video",{position:"absolute",top:0,left:0,width:"100%",height:"100%",maxWidth:"100%",minWidth:"100%",pointerEvents:"none",objectFit:"cover",userSelect:"none",borderRadius:2}),hVe=new EUn,pVe=new UUn,gVe=new hUn,mVe=new uUn,jhe=new rUn,GUn=new IUn,VUn=new gUn,Uoe=new SUn,KUn=new mUn,YUn=new HUn,m_={rectangle:hVe,triangle:pVe,ellipse:gVe,draw:mVe,arrow:jhe,text:GUn,group:VUn,sticky:Uoe,image:KUn,video:YUn},XUn=e=>typeof e=="string"?m_[e]:m_[e.type],Wr=class{static getShapeUtil(e){return XUn(e)}static getSelectedShapes(e,t){let n=Wr.getPage(e,t);return Wr.getSelectedIds(e,t).map(r=>n.shapes[r])}static screenToWorld(e,t){let n=Wr.getPageState(e,e.appState.currentPageId).camera;return We.sub(We.div(t,n.zoom),n.point)}static getCameraZoom(e){return bt.clamp(e,.1,5)}static getPage(e,t){return e.document.pages[t]}static getPageState(e,t){return e.document.pageStates[t]}static getSelectedIds(e,t){return Wr.getPageState(e,t).selectedIds}static getShapes(e,t){return Object.values(Wr.getPage(e,t).shapes)}static getCamera(e,t){return Wr.getPageState(e,t).camera}static getShape(e,t,n){return Wr.getPage(e,n).shapes[t]}static getCenter(e){return Wr.getShapeUtil(e).getCenter(e)}static getBounds(e){return Wr.getShapeUtil(e).getBounds(e)}static getRotatedBounds(e){return Wr.getShapeUtil(e).getRotatedBounds(e)}static getSelectedBounds(e){return bt.getCommonBounds(Wr.getSelectedShapes(e,e.appState.currentPageId).map(t=>Wr.getShapeUtil(t).getBounds(t)))}static getParentId(e,t,n){return Wr.getShape(e,t,n).parentId}static getDocumentBranch(e,t,n){let r=Wr.getShape(e,t,n);return r.children===void 0?[t]:[t,...r.children.flatMap(i=>Wr.getDocumentBranch(e,i,n))]}static getSelectedBranchSnapshot(e,t,n){let r=Wr.getPage(e,t),i=Wr.getSelectedIds(e,t).flatMap(a=>Wr.getDocumentBranch(e,a,t).map(o=>r.shapes[o])).filter(a=>!a.isLocked).map(bt.deepClone);return n!==void 0?i.map(a=>mt({id:a.id},n(a))):i}static getSelectedShapeSnapshot(e,t,n){let r=Wr.getSelectedShapes(e,t).filter(i=>!i.isLocked).map(bt.deepClone);return n!==void 0?r.map(i=>mt({id:i.id},n(i))):r}static getAllEffectedShapeIds(e,t,n){let r=Wr.getPage(e,n),i=new Set(t);return t.forEach(a=>{let o=r.shapes[a];function s(u){u.children!==void 0&&u.children.filter(c=>!i.has(c)).forEach(c=>{i.add(c),s(r.shapes[c])})}s(o);function l(u){let c=u.parentId;c!==r.id&&(i.has(c)||(i.add(c),l(r.shapes[c])))}l(o),i.forEach(u=>{Object.values(r.bindings).filter(c=>c.fromId===u||c.toId===u).forEach(c=>i.add(c.fromId===u?c.toId:c.fromId))})}),Array.from(i.values())}static getLinkedShapeIds(e,t,n,r=!0){let i=Wr.getSelectedIds(e,t),a=Wr.getPage(e,t),o=new Set(i),s=new Set,l=[...i],u=new Set(Object.values(a.shapes).filter(c=>{var f;return c.type==="arrow"&&(c.handles.start.bindingId||((f=c.handles)==null?void 0:f.end.bindingId))}));for(;l.length;){let c=l.pop();if(!(c&&u.size))break;s.has(c)||(s.add(c),u.forEach(f=>{var d,h;let{handles:{start:{bindingId:p},end:{bindingId:g}}}=f,b=p?a.bindings[p]:null,m=g?a.bindings[g]:null,v=!1;b&&b.toId===c?(n==="center"?v=!0:(d=f.decorations)!=null&&d.start&&m?v=n==="left":v=n==="right",v&&(r&&o.add(f.id),o.add(c),m&&(o.add(m.toId),l.push(m.toId)))):m&&m.toId===c&&(n==="center"?v=!0:(h=f.decorations)!=null&&h.end&&b?v=n==="left":v=n==="right",v&&(r&&o.add(f.id),o.add(c),b&&(o.add(b.toId),l.push(b.toId)))),(!b||o.has(b.toId))&&(!m||o.has(m.toId))&&u.delete(f)}))}return Array.from(o.values())}static getChildIndexAbove(e,t,n){let r=e.document.pages[n],i=r.shapes[t],a;if(i.parentId===r.id)a=Object.values(r.shapes).filter(l=>l.parentId===r.id).sort((l,u)=>l.childIndex-u.childIndex);else{let l=r.shapes[i.parentId];if(!l.children)throw Error("No children in parent!");a=l.children.map(u=>r.shapes[u]).sort((u,c)=>u.childIndex-c.childIndex)}let o=a.indexOf(i),s=a[o+1];return s?s.childIndex:i.childIndex+1}static getBeforeShape(e,t){return Object.fromEntries(Object.keys(t).map(n=>[n,e[n]]))}static mutateShapes(e,t,n,r,i=!1){let a={},o={};t.forEach((l,u)=>{let c=Wr.getShape(e,l,r);if(c.isLocked)return;c?.type==="group"&&(t.length===1||i)&&c.children.forEach((d,h)=>{let p=Wr.getShape(e,d,r);if(p.isLocked)return;let g=n(p,h);g&&(a[d]=Wr.getBeforeShape(p,g),o[d]=g)});let f=n(c,u);f&&(a[l]=Wr.getBeforeShape(c,f),o[l]=f)});let s=bt.deepMerge(e,{document:{pages:{[e.appState.currentPageId]:{shapes:o}}}});return{before:a,after:o,data:s}}static createShapes(e,t,n){let r={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(t.flatMap(a=>{let o=[[a.id,void 0]];if(a.parentId!==n){let s=Wr.getShape(e,a.parentId,n);if(!s.children)throw Error("No children in parent!");o.push([s.id,{children:s.children}])}return o})))}}}},i={document:{pages:{[n]:{shapes:{shapes:mt({},Object.fromEntries(t.flatMap(a=>{let o=[[a.id,a]];if(a.parentId!==n){let s=Wr.getShape(e,a.parentId,n);if(!s.children)throw Error("No children in parent!");o.push([s.id,{children:[...s.children,a.id]}])}return o})))}}}}};return{before:r,after:i}}static deleteShapes(e,t,n){n=n||e.appState.currentPageId;let r=Wr.getPage(e,n),i=typeof t[0]=="string"?t:t.map(s=>s.id),a={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(i.flatMap(s=>{let l=r.shapes[s],u=[[l.id,l]];if(l.parentId!==n){let c=r.shapes[l.parentId];if(!c.children)throw Error("No children in parent!");u.push([c.id,{children:c.children}])}return u}))),bindings:mt({},Object.fromEntries(Object.values(r.bindings).filter(s=>i.includes(s.fromId)||i.includes(s.toId)).map(s=>[s.id,s])))}}}},o={document:{pages:{[n]:{shapes:mt({},Object.fromEntries(i.flatMap(s=>{let l=r.shapes[s],u=[[l.id,void 0]];if(l.parentId!==r.id){let c=r.shapes[l.parentId];if(!c.children)throw Error("No children in parent!");u.push([c.id,{children:c.children.filter(f=>f!==l.id)}])}return u})))}}}};return{before:a,after:o}}static onSessionComplete(e){var t,n;let r=(n=(t=Wr.getShapeUtil(e)).onSessionComplete)==null?void 0:n.call(t,e);return r?mt(mt({},e),r):e}static onChildrenChange(e,t,n){var r,i;if(!t.children)return;let a=(i=(r=Wr.getShapeUtil(t)).onChildrenChange)==null?void 0:i.call(r,t,t.children.map(o=>Wr.getShape(e,o,n)));return a?mt(mt({},t),a):t}static updateArrowBindings(e,t){var n,r,i,a,o,s;let l={start:Jf(t.handles.start),end:Jf(t.handles.end)},u={isBound:!1,handle:t.handles.start,point:We.add(t.handles.start.point,t.point)},c={isBound:!1,handle:t.handles.end,point:We.add(t.handles.end.point,t.point)};if(t.handles.start.bindingId){let f=((n=t.decorations)==null?void 0:n.start)!==void 0,d=t.handles.start,h=e.bindings[t.handles.start.bindingId];if(!h)throw Error("Could not find a binding to match the start handle's bindingId: "+t.handles.start.bindingId);let p=e.shapes[h.toId],g=Wr.getShapeUtil(p),b=g.getBounds(p),m=g.getExpandedBounds(p),v=f?bt.expandBounds(b,h.distance):b,{minX:w,minY:k,width:E,height:S}=m,T=We.add([w,k],We.mulV([E,S],We.rotWith(h.point,[.5,.5],p.rotation||0)));u={isBound:!0,hasDecoration:f,binding:h,handle:d,point:T,util:g,target:p,bounds:b,expandedBounds:m,intersectBounds:v,center:g.getCenter(p)}}if(t.handles.end.bindingId){let f=((r=t.decorations)==null?void 0:r.end)!==void 0,d=t.handles.end,h=e.bindings[t.handles.end.bindingId];if(!h)throw Error("Could not find a binding to match the end handle's bindingId");let p=e.shapes[h.toId],g=Wr.getShapeUtil(p),b=g.getBounds(p),m=g.getExpandedBounds(p),v=f?bt.expandBounds(b,h.distance):b,{minX:w,minY:k,width:E,height:S}=m,T=We.add([w,k],We.mulV([E,S],We.rotWith(h.point,[.5,.5],p.rotation||0)));c={isBound:!0,hasDecoration:f,binding:h,handle:d,point:T,util:g,target:p,bounds:b,expandedBounds:m,intersectBounds:v,center:g.getCenter(p)}}for(let f of["end","start"]){let d=f==="start"?u:c,h=f==="start"?c:u;if(d.isBound)if(!d.binding.distance)l[f].point=We.sub(d.point,t.point);else{let p=We.uni(We.sub(d.point,h.point));switch(d.target.type){case"ellipse":{let g=AHe(h.point,p,d.center,d.target.radius[0]+(d.hasDecoration?d.binding.distance:0),d.target.radius[1]+(d.hasDecoration?d.binding.distance:0),d.target.rotation||0).points.sort((b,m)=>We.dist(b,h.point)-We.dist(m,h.point));g[0]!==void 0&&(l[f].point=We.toFixed(We.sub(g[0],t.point)));break}case"triangle":{let g=d.target.point,b=Xb(d.target.size,d.hasDecoration?16:0,d.target.rotation).map(v=>We.add(v,g)),m=bt.pointsToLineSegments(b,!0).map(([v,w])=>Pde(h.point,p,v,w)).filter(v=>v.didIntersect).flatMap(v=>v.points).sort((v,w)=>We.dist(v,h.point)-We.dist(w,h.point));m[0]!==void 0&&(l[f].point=We.toFixed(We.sub(m[0],t.point)));break}default:{let g=sO(h.point,p,d.intersectBounds,d.target.rotation).filter(m=>m.didIntersect).map(m=>m.points[0]).sort((m,v)=>We.dist(m,h.point)-We.dist(v,h.point));if(!g[0])continue;let b;if(h.isBound&&(b=sO(h.point,p,h.intersectBounds,h.target.rotation).filter(m=>m.didIntersect).map(m=>m.points[0]).sort((m,v)=>We.dist(m,h.point)-We.dist(v,h.point))[0]),h.isBound&&(g.length<2||b&&g[0]&&Math.ceil(We.dist(g[0],b))<16*2.5||bt.boundsContain(d.expandedBounds,h.expandedBounds)||bt.boundsCollide(d.expandedBounds,h.expandedBounds))){let m=We.uni(We.sub(h.point,d.point)),v=sO(d.point,m,d.bounds,d.target.rotation).filter(w=>w.didIntersect).map(w=>w.points[0]);if(!v[0])continue;l[f].point=We.toFixed(We.sub(v[0],t.point)),l[f==="start"?"end":"start"].point=We.toFixed(We.add(We.sub(v[0],t.point),We.mul(m,Math.min(We.dist(v[0],h.point),16*2.5*(bt.boundsContain(h.bounds,d.intersectBounds)?-1:1)))))}else if(!h.isBound&&(g[0]&&We.dist(g[0],h.point)<16*2.5||bt.pointInBounds(h.point,d.intersectBounds))){let m=We.uni(We.sub(d.center,h.point));return(a=(i=Wr.getShapeUtil(t)).onHandleChange)==null?void 0:a.call(i,t,{[f]:Zt(mt({},t.handles[f]),{point:We.toFixed(We.add(We.sub(h.point,t.point),We.mul(m,16*2.5)))})})}else g[0]&&(l[f].point=We.toFixed(We.sub(g[0],t.point)))}}}}return(s=(o=Wr.getShapeUtil(t)).onHandleChange)==null?void 0:s.call(o,t,l)}static transform(e,t,n){let r=Wr.getShapeUtil(e).transform(e,t,n);return r?mt(mt({},e),r):e}static transformSingle(e,t,n){let r=Wr.getShapeUtil(e).transformSingle(e,t,n);return r?mt(mt({},e),r):e}static getRotatedShapeMutation(e,t,n,r){var i,a;let o=We.sub(t,e.point),s=We.rotWith(t,n,r),l=We.toFixed(We.sub(s,o));if(e.handles!==void 0)return(a=(i=this.getShapeUtil(e)).onHandleChange)==null?void 0:a.call(i,Zt(mt({},e),{point:l}),Object.fromEntries(Object.entries(e.handles).map(([c,f])=>{let d=We.toFixed(We.rotWith(f.point,o,r));return[c,Zt(mt({},f),{point:d})]})));let u=bt.clampRadians((e.rotation||0)+r);return{point:l,rotation:u}}static updateParents(e,t,n){let r=Wr.getPage(e,t);if(n.length===0)return;let{shapes:i}=Wr.getPage(e,t),a=Array.from(new Set(n.map(o=>i[o].parentId).values())).filter(o=>o!==r.id);for(let o of a){let s=i[o];if(!s.children)throw Error("A shape is parented to a shape without a children array.");Wr.onChildrenChange(e,s,t)}Wr.updateParents(e,t,a)}static getBinding(e,t,n){return Wr.getPage(e,n).bindings[t]}static getBindings(e,t){let n=Wr.getPage(e,t);return Object.values(n.bindings)}static getBindableShapeIds(e){return Wr.getShapes(e,e.appState.currentPageId).filter(t=>Wr.getShapeUtil(t).canBind).sort((t,n)=>n.childIndex-t.childIndex).map(t=>t.id)}static getBindingsWithShapeIds(e,t,n){return Array.from(new Set(Wr.getBindings(e,n).filter(r=>t.includes(r.toId)||t.includes(r.fromId))).values())}static getRelatedBindings(e,t,n){let r=new Set(t),i=Wr.getPage(e,n),a=Object.values(i.bindings),o=new Set(a.filter(u=>r.has(u.toId)||r.has(u.fromId))),s=o.size,l=-1;for(;l!==0;)o.forEach(u=>{let c=u.fromId;for(let f of a)f.fromId===c&&o.add(f),f.toId===c&&o.add(f)}),l=o.size-s,s=o.size;return Array.from(o.values())}static normalizeText(e){return e.replace(Wr.fixNewLines,` `).split(` `).map(t=>t||" ").join(` -`)}static assertShapeHasProperty(e,t){if(e[t]===void 0)throw new Error}static warn(e){}static error(e){}static getSvgString(e,t=1){let n=e.cloneNode(!0);return e.setAttribute("width",+e.getAttribute("width")*t+""),e.setAttribute("height",+e.getAttribute("height")*t+""),new XMLSerializer().serializeToString(n).replaceAll(" ","").replaceAll(/((\s|")[0-9]*\.[0-9]{2})([0-9]*)(\b|"|\))/g,"$1")}static getSvgAsDataUrl(e,t=1){let n=Wr.getSvgString(e,t);return`data:image/svg+xml;base64,${window.btoa(unescape(n))}`}static getImageForSvg(e){return ai(this,arguments,function*(t,n="png",r={}){let{scale:i=2,quality:a=1}=r,o=Wr.getSvgString(t,i);if(!o)return;let s=yield new Promise(l=>{let u=new Image;u.crossOrigin="anonymous";let c=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(o)))}`;u.onload=()=>{let f=document.createElement("canvas"),d=f.getContext("2d"),h=u.width,p=u.height;f.width=h,f.height=p,d.drawImage(u,0,0,h,p),URL.revokeObjectURL(c),l(f)},u.onerror=()=>{console.warn("Could not convert that SVG to an image.")},u.src=c});return yield new Promise(l=>s.toBlob(u=>l(u),"image/"+n,a))})}},rn=Wr;Ce(rn,"copyStringToClipboard",e=>{try{navigator.clipboard&&navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([e],{type:"text/plain"})})])}catch{let n=document.createElement("textarea");n.setAttribute("position","fixed"),n.setAttribute("top","0"),n.setAttribute("readonly","true"),n.setAttribute("contenteditable","true"),n.style.position="fixed",n.value=e,document.body.appendChild(n),n.focus(),n.select();try{let r=document.createRange();r.selectNodeContents(n);let i=window.getSelection();i&&(i.removeAllRanges(),i.addRange(r),n.setSelectionRange(0,n.value.length)),document.execCommand("copy")}catch{}finally{document.body.removeChild(n)}}}),Ce(rn,"flattenShape",(e,t)=>{var n;return[t,...((n=t.children)!=null?n:[]).map(r=>Wr.getShape(e,r,e.appState.currentPageId)).sort((r,i)=>r.childIndex-i.childIndex).flatMap(r=>Wr.flattenShape(e,r))]}),Ce(rn,"flattenPage",(e,t)=>Object.values(e.document.pages[t].shapes).sort((n,r)=>n.childIndex-r.childIndex).reduce((n,r)=>[...n,...Wr.flattenShape(e,r)],[])),Ce(rn,"getTopChildIndex",(e,t)=>{let n=Wr.getShapes(e,t);return n.length===0?1:n.filter(r=>r.parentId===t).sort((r,i)=>i.childIndex-r.childIndex)[0].childIndex+1}),Ce(rn,"fixNewLines",/\r?\n|\r/g);var XUn=e=>e.room,JUn=function(){let e=Xa(),t=e.useStore(XUn),[n,r]=C.useState(!1),i=C.useRef(0),a=C.useCallback(()=>{r(!0),rn.copyStringToClipboard(window.location.href),clearTimeout(i.current),i.current=setTimeout(()=>r(!1),1200)},[]),o=C.useCallback(()=>{r(!0);let u=window.location.href.split("/");u[u.length-2]="v",u[u.length-1]=bt.lns(u[u.length-1]),rn.copyStringToClipboard(u.join("/")),clearTimeout(i.current),i.current=setTimeout(()=>r(!1),1200)},[]),s=C.useCallback(()=>ai(this,null,function*(){e.isDirty?e.fileSystemHandle?window.confirm("Do you want to save changes to your current project?")&&(yield e.saveProject()):window.confirm("Do you want to save your current project?")&&(yield e.saveProject()):e.fileSystemHandle||window.confirm("Do you want to save your current project?")&&(yield e.saveProject())}),[]),l=C.useCallback(()=>ai(this,null,function*(){var u;let c=bt.deepClone(e.document);e.setIsLoading(!0);try{if(e.callbacks.onAssetUpload)for(let d in c.assets){let h=c.assets[d];if(h.src.includes("base64")){let p=ZUn(h.src,((u=h.fileName)!=null?u:h.type==="video")?"image.png":"image.mp4"),g=yield e.callbacks.onAssetUpload(e,p,d);g?h.src=g:h.src=""}}let f=yield fetch("/api/create",{method:"POST",mode:"no-cors",headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},body:JSON.stringify({roomId:bt.uniqueId(),pageId:e.currentPageId,document:c})}).then(d=>d.json());f?.url?window.location.href=f.url:rn.warn(f?.message)}catch(f){rn.warn(f.message)}e.setIsLoading(!1)}),[]);return C.createElement(V2,{dir:"ltr"},C.createElement(QGe,{id:"TD-MultiplayerMenuIcon",isActive:!!t},C.createElement(Szn,null)),C.createElement(E3,{variant:"menu",id:"TD-MultiplayerMenu",side:"bottom",align:"start",sideOffset:4},C.createElement(Yi,{id:"TD-Multiplayer-CopyInviteLink",onClick:a,disabled:!t},C.createElement(tr,{id:"copy.invite.link"}),C.createElement(L0,null,n?C.createElement(aB,null):C.createElement(fwe,null))),C.createElement(Yi,{id:"TD-Multiplayer-CopyReadOnlyLink",onClick:o,disabled:!t},C.createElement(tr,{id:"copy.readonly.link"}),C.createElement(L0,null,n?C.createElement(aB,null):C.createElement(fwe,null))),C.createElement(Fs,null),C.createElement(Yi,{id:"TD-Multiplayer-CreateMultiplayerProject",onClick:s},C.createElement("a",{href:`${window.location.origin}/r`},C.createElement(tr,{id:"create.multiplayer.project"}))),C.createElement(Yi,{id:"TD-Multiplayer-CopyToMultiplayerProject",onClick:l},C.createElement(tr,{id:"copy.multiplayer.project"}))))};function ZUn(e,t){var n,r;let i=e.split(","),a=(r=(n=i[0])==null?void 0:n.match(/:(.*?);/))==null?void 0:r[1],o=window.atob(i[1]),s=o.length,l=new Uint8Array(s);for(;s--;)l[s]=o.charCodeAt(s);return new File([l],t,{type:a})}var QUn=e=>Object.keys(e.document.pages).length>1;function ejn({page:e,onOpen:t,onClose:n}){let r=Xa(),i=Jl(),[a,o]=C.useState(!1),[s,l]=C.useState(e.name||"Page"),u=r.useStore(QUn),c=C.useRef(null),f=C.useCallback(()=>{o(!1)},[]),d=C.useCallback(()=>{r.duplicatePage(e.id)},[r]),h=C.useCallback(()=>{window.confirm("Are you sure you want to delete this page?")&&r.deletePage(e.id)},[r]),p=C.useCallback(S=>{if(o(S),S){t?.();return}},[r]);function g(S){S.stopPropagation()}let b=C.useRef(e.name||"Page"),m=C.useRef(b.current),v=C.useCallback(S=>{let T=S.target.value.trimStart();m.current=T,l(T)},[]),w=C.useCallback(S=>{switch(S.key){case"Enter":{m.current===b.current||(b.current=m.current,r.renamePage(e.id,m.current.trim())),o(!1);break}case"Escape":{if(m.current===b.current){o(!1);return}m.current=b.current,l(b.current),requestAnimationFrame(()=>{let T=c.current;T&&(T.focus(),T.setSelectionRange(0,T.value.length))});break}}},[]),k=C.useRef(!1);C.useEffect(()=>(a?(k.current=!0,b.current=e.name||"Page",m.current=b.current,requestAnimationFrame(()=>{let S=c.current;S&&(S.focus(),S.setSelectionRange(0,S.value.length))})):k.current&&n?.(),()=>{m.current!==b.current&&(b.current=m.current,r.renamePage(e.id,m.current))}),[a]);let E=X2();return C.createElement(xhe,{open:a,onOpenChange:p},C.createElement(mUt,{asChild:!0,"data-shy":"true"},C.createElement(Fhe,{bp:sh},C.createElement(L0,null,C.createElement(mFt,null)))),C.createElement(She,{container:E.current},C.createElement(njn,{onPointerDown:f}),C.createElement(tjn,{dir:"ltr",onKeyDown:g,onKeyUp:g},C.createElement(ZGe,{ref:c,placeholder:i.formatMessage({id:"page.name"}),value:s,onChange:v,onKeyDown:w,icon:C.createElement(ghe,null)}),C.createElement(Fs,null),C.createElement(Ywe,{onSelect:d},C.createElement(tr,{id:"duplicate"})),C.createElement(Ywe,{disabled:!u,onSelect:h},C.createElement(tr,{id:"delete"})),C.createElement(Fs,null),C.createElement(bGe,{asChild:!0},C.createElement(Ic,null,C.createElement(tr,{id:"cancel"}))))))}var tjn=Hn(Ahe,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",minWidth:240,maxWidth:"fit-content",maxHeight:"85vh",marginTop:"-5vh",pointerEvents:"all",backgroundColor:"$panel",padding:"$1",borderRadius:"$2",font:"$ui",zIndex:999999,"&:focus":{outline:"none"}}),njn=Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0,zIndex:999998});function Ywe(e){var t=e,{onSelect:n}=t,r=Rh(t,["onSelect"]);return C.createElement(sB,{asChild:!0,onClick:n,onSelect:n},C.createElement(Ic,mt({},r)))}var rjn=e=>Object.values(e.document.pages).sort((t,n)=>(t.childIndex||0)-(n.childIndex||0)),ijn=e=>e.document.pages[e.appState.currentPageId].name,ajn=e=>e.document.pages[e.appState.currentPageId].id;function ojn(){let e=Xa(),t=Jl(),n=C.useRef(!1),[r,i]=C.useState(!1);C.useEffect(()=>{n.current!==r&&(n.current=r)},[r]);let a=C.useCallback(()=>{i(!1)},[i]),o=C.useCallback(l=>{n.current!==l&&i(l)},[i]),s=e.useStore(ijn);return C.createElement(V2,{dir:"ltr",open:r,onOpenChange:o},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Page"},C.createElement(Ea,{variant:"text"},s||t.formatMessage({id:"page"}))),C.createElement(E3,{variant:"menu",align:"start",sideOffset:4},r&&C.createElement(sjn,{onClose:a})))}function sjn({onClose:e}){let t=Xa(),n=Jl(),r=t.useStore(rjn),i=t.useStore(ajn),a=n.formatMessage({id:"page"}),o=C.useCallback(()=>{let g=a+" "+(Object.keys(t.document.pages).length+1);t.createPage(void 0,g)},[t]),s=C.useCallback(g=>{e(),t.changePage(g)},[t]),[l,u]=C.useState(null),[c,f]=C.useState(null),d=C.useCallback(g=>{u(g.currentTarget.id),f(r.findIndex(b=>b.id===g.currentTarget.id)),g.dataTransfer.effectAllowed="move"},[]),h=C.useCallback(g=>{g.preventDefault();let b=r.findIndex(v=>v.id===g.currentTarget.id),m=g.currentTarget.getBoundingClientRect();b=(g.clientY-m.top)/m.height<.5?b:b+1,f(b)},[l,r]),p=C.useCallback(()=>{l!==null&&c!==null&&t.movePage(l,c),u(null),f(null)},[l,c]);return C.createElement(C.Fragment,null,C.createElement(VNt,{dir:"ltr",value:i,onValueChange:s},r.map((g,b)=>C.createElement(ljn,{key:g.id,isDropAbove:b===c&&b===0,isDropBelow:c!==null&&b===c-1},C.createElement(NWe,{title:g.name||a,value:g.id,key:g.id,id:g.id,asChild:!0,onDragOver:h,onDragStart:d,onDrop:p,draggable:!0},C.createElement(ujn,null,C.createElement("span",{id:g.id},g.name||a),C.createElement($We,null,C.createElement(L0,null,C.createElement(aB,null))))),C.createElement(ejn,{page:g,onClose:e})))),C.createElement(Fs,null),C.createElement(C$,{onSelect:o,asChild:!0},C.createElement(Ic,null,C.createElement("span",null,C.createElement(tr,{id:"create.page"})),C.createElement(L0,null,C.createElement(xFt,null)))))}var ljn=Hn("div",{position:"relative",display:"grid",gridTemplateColumns:"1fr auto",gridAutoFlow:"column",margin:0,'& > *[data-shy="true"]':{opacity:0},'&:hover > *[data-shy="true"]':{opacity:1},variants:{isDropAbove:{true:{"&::after":{content:"",display:"block",position:"absolute",top:0,width:"100%",height:"1px",backgroundColor:"$selected",zIndex:999,pointerEvents:"none"}}},isDropBelow:{true:{"&::after":{content:"",display:"block",position:"absolute",width:"100%",height:"1px",top:"100%",backgroundColor:"$selected",zIndex:999,pointerEvents:"none"}}}}}),ujn=Hn(Ic,{minWidth:128}),cjn=e=>e.appState.currentStyle,fjn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds,djn=Object.keys(zhe),Xwe={draw:C.createElement(x$n,null),solid:C.createElement(S$n,null),dashed:C.createElement(_$n,null),dotted:C.createElement(E$n,null)},hjn={small:C.createElement(T$n,null),medium:C.createElement(D$n,null),large:C.createElement(I$n,null)},pjn={start:C.createElement(HFt,null),middle:C.createElement($Ft,null),end:C.createElement(WFt,null),justify:C.createElement(UFt,null)},gjn=e=>e.settings.isDarkMode?"dark":"light",mjn=e=>e.settings.keepStyleMenuOpen,vjn=e=>{let{activeTool:t,currentPageId:n}=e.appState;switch(t){case"select":{let r=e.document.pages[n],i=!1,a=!1;for(let o of e.document.pageStates[n].selectedIds)"text"in r.shapes[o]&&(i=!0),"label"in r.shapes[o]&&(a=!0);return i?"text":a?"label":""}case"text":return"text";case"rectangle":return"label";case"ellipse":return"label";case"triangle":return"label";case"arrow":return"label";case"line":return"label"}return!1},yjn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(gjn),r=e.useStore(mjn),i=e.useStore(vjn),a=e.useStore(cjn),o=e.useStore(fjn),[s,l]=C.useState(a),u=C.useRef(a);C.useEffect(()=>{let{appState:{currentStyle:m},page:v,selectedIds:w}=e,k={};if(w.length<=0)k=m;else{let E=new Set([]);e.selectedIds.map(S=>v.shapes[S]).forEach(S=>{djn.forEach(T=>{if(!E.has(T))if(k[T]===void 0)k[T]=S.style[T];else{if(k[T]===S.style[T])return;k[T]=S.style[T],E.add(T)}})})}JSON.stringify(k)!==JSON.stringify(u.current)&&(u.current=k,l(k))},[a,o]);let c=C.useCallback(m=>{e.setSetting("keepStyleMenuOpen",m)},[]),f=C.useCallback(m=>{e.style({isFilled:m})},[]),d=C.useCallback(m=>{e.style({dash:m})},[]),h=C.useCallback(m=>{e.style({size:m})},[]),p=C.useCallback(m=>{e.style({font:m})},[]),g=C.useCallback(m=>{e.style({textAlign:m})},[]),b=C.useCallback(m=>{e.setMenuOpen(m)},[e]);return C.createElement(V2,{dir:"ltr",onOpenChange:b,open:r?!0:void 0,modal:!1},C.createElement(C3,{asChild:!0,id:"TD-Styles"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"styles"}),variant:"text"},C.createElement(tr,{id:"styles"}),C.createElement(wjn,{style:{color:NS[n][s.color]}},s.isFilled&&C.createElement(Pwe,{size:16,stroke:"none",fill:Noe[n][s.color]}),Xwe[s.dash]))),C.createElement(E3,{id:"TD-StylesMenu",side:"bottom",align:"end",sideOffset:4,alignOffset:4},C.createElement(z5,{variant:"tall",id:"TD-Styles-Color-Container"},C.createElement("span",null,C.createElement(tr,{id:"style.menu.color"})),C.createElement(bjn,null,Object.keys(NS.light).map(m=>C.createElement(C$,{key:m,onSelect:ms,asChild:!0,id:`TD-Styles-Color-Swatch-${m}`},C.createElement(Ea,{variant:"icon",isActive:s.color===m,onClick:()=>e.style({color:m}),"aria-label":t.formatMessage({id:m})},C.createElement(Pwe,{size:18,strokeWidth:2.5,fill:s.isFilled?Noe[n][m]:"transparent",stroke:NS.light[m]})))))),C.createElement(a0,{variant:"styleMenu",checked:!!s.isFilled,onCheckedChange:f,id:"TD-Styles-Fill"},C.createElement(tr,{id:"style.menu.fill"})),C.createElement(z5,{id:"TD-Styles-Dash-Container"},C.createElement(tr,{id:"style.menu.dash"}),C.createElement(wI,{dir:"ltr",value:s.dash,onValueChange:d},Object.values(qGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.dash,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Dash-${m}`,"aria-label":t.formatMessage({id:m})},Xwe[m])))),C.createElement(z5,{id:"TD-Styles-Size-Container"},C.createElement(tr,{id:"style.menu.size"}),C.createElement(wI,{dir:"ltr",value:s.size,onValueChange:h},Object.values(HGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.size,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Dash-${m}`,"aria-label":t.formatMessage({id:m})},hjn[m])))),(i==="text"||i==="label")&&C.createElement(C.Fragment,null,C.createElement(Fs,null),C.createElement(z5,{id:"TD-Styles-Font-Container"},C.createElement(tr,{id:"style.menu.font"}),C.createElement(wI,{dir:"ltr",value:s.font,onValueChange:p},Object.values(GGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.font,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Font-${m}`},C.createElement(kjn,{fontStyle:m},"Aa"))))),i==="text"&&C.createElement(z5,{id:"TD-Styles-Align-Container"},C.createElement(tr,{id:"style.menu.align"}),C.createElement(wI,{dir:"ltr",value:s.textAlign,onValueChange:g},Object.values(WGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.textAlign,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Align-${m}`},pjn[m]))))),C.createElement(Fs,null),C.createElement(a0,{variant:"styleMenu",checked:r,onCheckedChange:c,id:"TD-Styles-Keep-Open"},C.createElement(tr,{id:"style.menu.keep.open"}))))}),bjn=Hn("div",{display:"grid",gridTemplateColumns:"repeat(4, auto)",gap:0}),z5=Hn("div",{position:"relative",width:"100%",background:"none",border:"none",cursor:"pointer",minHeight:"32px",outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",padding:"$2 0 $2 $3",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,display:"flex",gap:"$3",flexDirection:"row",alignItems:"center",justifyContent:"space-between",variants:{variant:{tall:{alignItems:"flex-start",padding:"0 0 0 $3","& > span":{paddingTop:"$4"}}}}}),wI=Hn(PWe,{display:"flex",flexDirection:"row",gap:"$1"}),wjn=Hn("div",{display:"grid","& > *":{gridColumn:1,gridRow:1}}),kjn=Hn("div",{width:32,height:32,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"$3",variants:{fontStyle:{script:{fontFamily:"Caveat Brush"},sans:{fontFamily:"Recursive"},serif:{fontFamily:"Georgia"},mono:{fontFamily:"Recursive Mono"}}}}),_jn=e=>e.document.pageStates[e.appState.currentPageId].camera.zoom,Cjn=function(){let e=Xa(),t=e.useStore(_jn);return C.createElement(V2,{dir:"ltr"},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Zoom"},C.createElement(Ejn,{onDoubleClick:e.resetZoom,variant:"text"},Math.round(t*100),"%")),C.createElement(E3,{align:"end"},C.createElement(Yi,{onSelect:ms,onClick:e.zoomIn,kbd:"#+",id:"TD-Zoom-Zoom_In"},C.createElement(tr,{id:"zoom.in"})),C.createElement(Yi,{onSelect:ms,onClick:e.zoomOut,kbd:"#−",id:"TD-Zoom-Zoom_Out"},C.createElement(tr,{id:"zoom.out"})),C.createElement(Yi,{onSelect:ms,onClick:e.resetZoom,kbd:"⇧0",id:"TD-Zoom-Zoom_To_100%"},C.createElement(tr,{id:"zoom.to"})," 100%"),C.createElement(Yi,{onSelect:ms,onClick:e.zoomToFit,kbd:"⇧1",id:"TD-Zoom-To_Fit"},C.createElement(tr,{id:"zoom.to.fit"})),C.createElement(Yi,{onSelect:ms,onClick:e.zoomToSelection,kbd:"⇧2",id:"TD-Zoom-To_Selection"},C.createElement(tr,{id:"zoom.to.selection"}))))},Ejn=Hn(Ea,{minWidth:56});function xjn({readOnly:e,showPages:t,showMenu:n,showStyles:r,showZoom:i,showMultiplayerMenu:a}){let o=Xa(),s=Jl();return C.createElement(Sjn,null,(n||t)&&C.createElement(fB,{side:"left",id:"TD-MenuPanel"},n&&C.createElement(xzn,{readOnly:e}),a&&C.createElement(JUn,null),t&&C.createElement(ojn,null)),C.createElement(Ajn,null),(r||i)&&C.createElement(fB,{side:"right"},o.readOnly?C.createElement(Tjn,null,"Read Only"):C.createElement(C.Fragment,null,C.createElement(cg,{kbd:"#Z",label:s.formatMessage({id:"undo"}),onClick:o.undo,id:"TD-TopPanel-Undo","aria-label":s.formatMessage({id:"undo"})},C.createElement(Fwe,null)),C.createElement(cg,{kbd:"#⇧Z",label:s.formatMessage({id:"redo"}),onClick:o.redo,id:"TD-TopPanel-Redo","aria-label":s.formatMessage({id:"redo"})},C.createElement(Fwe,{flipHorizontal:!0}))),i&&C.createElement(Cjn,null),r&&!e&&C.createElement(yjn,null)))}var Sjn=Hn("div",{width:"100%",position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"row",pointerEvents:"none","& > *":{pointerEvents:"all"}}),Ajn=Hn("div",{flexGrow:2,pointerEvents:"none"}),Tjn=Hn("div",{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"$ui",fontSize:"$1",paddingLeft:"$4",paddingRight:"$1",userSelect:"none",WebkitUserSelect:"none"}),Djn=C.memo(xjn);function Ijn(e){gr.useEffect(()=>{let t=!1,n=!1,r=e.current;if(!r)return;let i=l=>{l.key===" "&&!n&&(n=!0,t?r.setAttribute("style","cursor: grabbing !important"):r.setAttribute("style","cursor: grab !important"))},a=l=>{l.key===" "&&(n=!1,r.setAttribute("style","cursor: initial"))},o=l=>{t=!0,l.button===1&&r.setAttribute("style","cursor: grabbing !important"),l.button===0&&n&&r.setAttribute("style","cursor: grabbing !important")},s=()=>{t=!1,n?r.setAttribute("style","cursor: grab !important"):r.setAttribute("style","cursor: initial")};return r.addEventListener("keydown",i),r.addEventListener("keyup",a),r.addEventListener("pointerdown",o),r.addEventListener("pointerup",s),()=>{r.removeEventListener("keydown",i),r.removeEventListener("keyup",a),r.removeEventListener("pointerdown",o),r.removeEventListener("pointerup",s)}},[e.current])}var vVe="tldraw_clipboard";function Rjn(){return ai(this,null,function*(){return uB(vVe)})}function Mjn(e){return ai(this,null,function*(){return BS(vVe,e)})}var Ojn=class{constructor(e,t,n,r){Ce(this,"_idbId"),Ce(this,"initialState"),Ce(this,"store"),Ce(this,"pointer",-1),Ce(this,"_state"),Ce(this,"_status","loading"),Ce(this,"stack",[]),Ce(this,"_snapshot"),Ce(this,"useStore"),Ce(this,"ready"),Ce(this,"isPaused",!1),Ce(this,"persist",(i,a)=>{if(this._status==="ready"&&(this.onPersist&&this.onPersist(this._state,i,a),this._idbId))return BS(this._idbId,this._state).catch(o=>console.error(o))}),Ce(this,"applyPatch",(i,a)=>{let o=this._state,s=bt.deepMerge(this._state,i),l=this.cleanup(s,o,i,a);return this.onStateWillChange&&this.onStateWillChange(l,a),this._state=l,this.store.setState(this._state,!0),this.onStateDidChange&&this.onStateDidChange(this._state,a),this}),Ce(this,"migrate",i=>i),Ce(this,"cleanup",(i,a,o,s)=>i),Ce(this,"onStateWillChange"),Ce(this,"onStateDidChange"),Ce(this,"patchState",(i,a)=>(this.applyPatch(i,a),this.onPatch&&this.onPatch(this._state,i,a),this)),Ce(this,"replaceState",(i,a)=>{let o=this.cleanup(i,this._state,i,a);return this.onStateWillChange&&this.onStateWillChange(o,"replace"),this._state=o,this.store.setState(this._state,!0),this.onStateDidChange&&this.onStateDidChange(this._state,"replace"),this}),Ce(this,"setState",(i,a=i.id)=>(this.pointer(this.onStateWillChange&&this.onStateWillChange(this.initialState,"reset"),this._state=this.initialState,this.store.setState(this._state,!0),this.resetHistory(),this.persist({},"reset"),this.onStateDidChange&&this.onStateDidChange(this._state,"reset"),this.onReset&&this.onReset(this._state),this)),Ce(this,"replaceHistory",(i,a=i.length-1)=>(this.stack=i,this.pointer=a,this.onReplace&&this.onReplace(this._state),this)),Ce(this,"resetHistory",()=>(this.stack=[],this.pointer=-1,this.onResetHistory&&this.onResetHistory(this._state),this)),Ce(this,"undo",()=>{if(!this.isPaused){if(!this.canUndo)return this;let i=this.stack[this.pointer];this.pointer--,this.applyPatch(i.before,"undo"),this.persist(i.before,"undo")}return this.onUndo&&this.onUndo(this._state),this}),Ce(this,"redo",()=>{if(!this.isPaused){if(!this.canRedo)return this;this.pointer++;let i=this.stack[this.pointer];this.applyPatch(i.after,"redo"),this.persist(i.after,"undo")}return this.onRedo&&this.onRedo(this._state),this}),Ce(this,"setSnapshot",()=>(this._snapshot=mt({},this._state),this)),Ce(this,"forceUpdate",()=>{this.store.setState(this._state,!0)}),this._idbId=t,this._state=Jf(e),this._snapshot=Jf(e),this.initialState=Jf(e),this.store=ojt(()=>this._state),this.useStore=cjt(this.store),this.ready=new Promise(i=>{let a="none";this._idbId?(a="restored",uB(this._idbId).then(o=>ai(this,null,function*(){if(o){let s=o;if(n){let u=yield uB(t+"_version");u&&uconsole.error(o))):(this._status="ready",i(a))}).then(i=>(this.onReady&&this.onReady(i),i))}pause(){this.isPaused=!0}resume(){this.isPaused=!1}get canUndo(){return this.pointer>-1}get canRedo(){return this.pointere.getShape(d)),a=i.map(d=>({id:d.id,point:[...d.point],bounds:rn.getBounds(d)})),o=bt.getCommonBounds(a.map(({bounds:d})=>d)),s=o.minX+o.width/2,l=o.minY+o.height/2,u=Object.fromEntries(a.map(({id:d,point:h,bounds:p})=>[d,{prev:h,next:{top:[h[0],o.minY],centerVertical:[h[0],l-p.height/2],bottom:[h[0],o.maxY-p.height],left:[o.minX,h[1]],centerHorizontal:[s-p.width/2,h[1]],right:[o.maxX-p.width,h[1]]}[n]}])),{before:c,after:f}=rn.mutateShapes(e.state,t,d=>u[d.id]?{point:u[d.id].next}:d,r,!1);return i.forEach(d=>{if(d.type==="group"){let h=We.sub(f[d.id].point,c[d.id].point);d.children.forEach(p=>{let g=e.getShape(p);c[g.id]={point:g.point},f[g.id]={point:We.add(g.point,h)}}),delete c[d.id],delete f[d.id]}}),{id:"align",before:{document:{pages:{[r]:{shapes:c}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:f}},pageStates:{[r]:{selectedIds:t}}}}}}function Bjn(e,t){return{id:"change_page",before:{appState:{currentPageId:e.currentPageId}},after:{appState:{currentPageId:t}}}}function Pjn(e,t){var n;let r=e,i=new Set(t);for(;i.has(r);)r=(n=/^.*(\d+)$/.exec(r))!=null&&n[1]?r.replace(/(\d+)(?=\D?)$/,a=>(+a+1).toString()):`${r} 1`;return r}function Fjn(e,t,n){let r={shapes:{},bindings:{}},i={shapes:{},bindings:{}},a=[],o=new Set,s=new Set;t.filter(u=>!rn.getShape(e,u,n).isLocked).forEach(u=>{o.add(u);let c=rn.getShape(e,u,n);r.shapes[u]=c,i.shapes[u]=void 0,c.children!==void 0&&c.children.forEach(f=>{o.add(f);let d=rn.getShape(e,f,n);r.shapes[f]=d,i.shapes[f]=void 0}),c.parentId!==n&&a.push(rn.getShape(e,c.parentId,n)),c.assetId&&s.add(c.assetId)}),a.forEach(u=>{var c;t.includes(u.id)||(o.add(u.id),r.shapes[u.id]={children:u.children},i.shapes[u.id]={children:u.children.filter(f=>!t.includes(f))},((c=i.shapes[u.id])==null?void 0:c.children.length)===0&&(i.shapes[u.id]=void 0,r.shapes[u.id]=rn.getShape(e,u.id,n)))});let l=rn.getPage(e,n);return Object.values(l.bindings).filter(u=>o.has(u.fromId)||o.has(u.toId)).forEach(u=>{for(let c of[u.toId,u.fromId])if(i.shapes[c]===void 0){r.bindings[u.id]=u,i.bindings[u.id]=void 0;let f=l.shapes[c];f&&f.handles&&Object.values(f.handles).filter(d=>d.bindingId===u.id).forEach(d=>{var h,p,g,b,m,v;r.shapes[c]=Zt(mt({},r.shapes[c]),{handles:Zt(mt({},(h=r.shapes[c])==null?void 0:h.handles),{[d.id]:Zt(mt({},(g=(p=r.shapes[c])==null?void 0:p.handles)==null?void 0:g[d.id]),{bindingId:u.id})})}),o.has(c)||(i.shapes[c]=Zt(mt({},i.shapes[c]),{handles:Zt(mt({},(b=i.shapes[c])==null?void 0:b.handles),{[d.id]:Zt(mt({},(v=(m=i.shapes[c])==null?void 0:m.handles)==null?void 0:v[d.id]),{bindingId:void 0})})}))})}}),Object.values(e.document.pages).flatMap(u=>Object.values(u.shapes)).forEach(u=>{"assetId"in u&&u.assetId&&!o.has(u.id)&&s.delete(u.assetId)}),{before:r,after:i,assetsToRemove:Array.from(s)}}function Njn(e,t,n=bt.uniqueId(),r="Page"){let{currentPageId:i}=e,a=Object.values(e.state.document.pages).sort((c,f)=>{var d,h;return((d=c.childIndex)!=null?d:0)-((h=f.childIndex)!=null?h:0)}),o=a[a.length-1],s=o?.childIndex?o?.childIndex+1:1,l={id:n,name:Pjn(r,a.map(c=>{var f;return(f=c.name)!=null?f:""})),childIndex:s,shapes:{},bindings:{}},u={id:n,selectedIds:[],camera:{point:t,zoom:1},editingId:void 0,bindingId:void 0,hoveredId:void 0,pointedId:void 0};return{id:"create_page",before:{appState:{currentPageId:i},document:{pages:{[n]:void 0},pageStates:{[n]:void 0}}},after:{appState:{currentPageId:l.id},document:{pages:{[n]:l},pageStates:{[n]:u}}}}}function Jwe(e,t,n=[]){let{currentPageId:r}=e,i={},a={};t.forEach(l=>{i[l.id]=void 0,a[l.id]=l});let o={},s={};return n.forEach(l=>{o[l.id]=void 0,s[l.id]=l}),{id:"create",before:{document:{pages:{[r]:{shapes:i,bindings:o}},pageStates:{[r]:{selectedIds:[...e.selectedIds]}}}},after:{document:{pages:{[r]:{shapes:a,bindings:s}},pageStates:{[r]:{selectedIds:t.map(l=>l.id)}}}}}}function $jn(e,t){let{currentPageId:n,document:{pages:r,pageStates:i}}=e,a=Object.values(r).sort((l,u)=>(l.childIndex||0)-(u.childIndex||0)),o=a.findIndex(l=>l.id===t),s;return t===n?o===a.length-1?s=a[a.length-2].id:s=a[o+1].id:s=n,{id:"delete_page",before:{appState:{currentPageId:t},document:{pages:{[t]:mt({},r[t])},pageStates:{[t]:mt({},i[t])}}},after:{appState:{currentPageId:s},document:{pages:{[t]:void 0},pageStates:{[t]:void 0}}}}}var zjn=(e,t)=>{let n=mt({},e);return t.forEach(r=>n[r]=void 0),n};function Zwe(e,t,n=e.currentPageId){let{pageState:r,selectedIds:i,document:{assets:a}}=e,{before:o,after:s,assetsToRemove:l}=Fjn(e.state,t,n),u=zjn(a,l);return{id:"delete",before:{document:{assets:a,pages:{[n]:o},pageStates:{[n]:{selectedIds:[...e.selectedIds]}}}},after:{document:{assets:u,pages:{[n]:s},pageStates:{[n]:{selectedIds:i.filter(c=>!t.includes(c)),hoveredId:r.hoveredId&&t.includes(r.hoveredId)?void 0:r.hoveredId}}}}}}function Ujn(e,t,n){let{currentPageId:r}=e,i=t.map(l=>e.getShape(l)),a=Object.fromEntries(jjn(i,n).map(l=>[l.id,l])),{before:o,after:s}=rn.mutateShapes(e.state,t.filter(l=>a[l]!==void 0),l=>{var u;return{point:(u=a[l.id])==null?void 0:u.next}},r);return i.forEach(l=>{if(l.type==="group"){let u=bn.sub(s[l.id].point,o[l.id].point);l.children.forEach(c=>{let f=e.getShape(c);o[f.id]={point:f.point},s[f.id]={point:bn.add(f.point,u)}}),delete o[l.id],delete s[l.id]}}),{id:"distribute",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}}}}}function jjn(e,t){let n=e.map(o=>{let s=rn.getShapeUtil(o);return{id:o.id,point:[...o.point],bounds:s.getBounds(o),center:s.getCenter(o)}}),r=n.length,i=bt.getCommonBounds(n.map(({bounds:o})=>o)),a=[];switch(t){case"horizontal":{let o=n.reduce((s,l)=>s+l.bounds.width,0);if(o>i.width){let s=n.sort((d,h)=>d.bounds.minX-h.bounds.minX)[0],l=n.sort((d,h)=>h.bounds.maxX-d.bounds.maxX)[0],u=n.filter(d=>d!==s&&d!==l).sort((d,h)=>d.center[0]-h.center[0]),c=(l.center[0]-s.center[0])/(r-1),f=s.center[0]+c;u.forEach(({id:d,point:h,bounds:p},g)=>{a.push({id:d,prev:h,next:[f+c*g-p.width/2,p.minY]})})}else{let s=n.sort((c,f)=>c.center[0]-f.center[0]),l=i.minX,u=(i.width-o)/(r-1);s.forEach(({id:c,point:f,bounds:d})=>{a.push({id:c,prev:f,next:[l,d.minY]}),l+=d.width+u})}break}case"vertical":{let o=n.reduce((s,l)=>s+l.bounds.height,0);if(o>i.height){let s=n.sort((d,h)=>d.bounds.minY-h.bounds.minY)[0],l=n.sort((d,h)=>h.bounds.maxY-d.bounds.maxY)[0],u=n.filter(d=>d!==s&&d!==l).sort((d,h)=>d.center[1]-h.center[1]),c=(l.center[1]-s.center[1])/(r-1),f=s.center[1]+c;u.forEach(({id:d,point:h,bounds:p},g)=>{a.push({id:d,prev:h,next:[p.minX,f+c*g-p.height/2]})})}else{let s=n.sort((c,f)=>c.center[1]-f.center[1]),l=i.minY,u=(i.height-o)/(r-1);s.forEach(({id:c,point:f,bounds:d})=>{a.push({id:c,prev:f,next:[d.minX,l]}),l+=d.height+u})}break}}return a}function Hjn(e,t){let{currentPageId:n,pageState:{camera:r}}=e,i=e.document.pages[t],a=bt.uniqueId(),o=Object.fromEntries([[i.id,a],...Object.keys(i.shapes).map(c=>[c,bt.uniqueId()]),...Object.keys(i.bindings).map(c=>[c,bt.uniqueId()])]),s=Object.fromEntries(Object.entries(i.shapes).map(([c,f])=>[o[c],Zt(mt({},bt.deepClone(f)),{id:o[c],parentId:o[f.parentId]})])),l=Object.fromEntries(Object.entries(i.bindings).map(([c,f])=>[o[c],Zt(mt({},bt.deepClone(f)),{id:o[f.id],fromId:o[f.fromId],toId:o[f.toId]})]));Object.values(i.bindings).forEach(c=>{let f=o[c.fromId],d=s[f].handles;d&&Object.values(d).forEach(g=>{g.bindingId===c.id&&(g.bindingId=o[c.id])});let h=o[c.toId],p=s[h].handles;p&&Object.values(p).forEach(g=>{g.bindingId===c.id&&(g.bindingId=o[c.id])})});let u=Zt(mt({},i),{id:o[i.id],name:i.name+" Copy",shapes:s,bindings:l});return{id:"duplicate_page",before:{appState:{currentPageId:n},document:{pages:{[a]:void 0},pageStates:{[a]:void 0}}},after:{appState:{currentPageId:a},document:{pages:{[a]:u},pageStates:{[a]:Zt(mt({},i),{id:a,selectedIds:[],camera:mt({},r),editingId:void 0,bindingId:void 0,hoveredId:void 0,pointedId:void 0})}}}}}function qjn(e,t,n){let{selectedIds:r,currentPageId:i,page:a,shapes:o}=e,s={shapes:{},bindings:{}},l={shapes:{},bindings:{}},u={},c=t.map(h=>e.getShape(h)).filter(h=>!t.includes(h.parentId));c.forEach(h=>{let p=bt.uniqueId();if(s.shapes[p]=void 0,l.shapes[p]=Zt(mt({},bt.deepClone(h)),{id:p,childIndex:rn.getChildIndexAbove(e.state,h.id,i)}),h.children&&(l.shapes[p].children=[]),h.parentId!==i){let g=e.getShape(h.parentId);s.shapes[g.id]=Zt(mt({},s.shapes[g.id]),{children:g.children}),l.shapes[g.id]=Zt(mt({},l.shapes[g.id]),{children:[...(l.shapes[g.id]||g).children,p]})}u[h.id]=p}),c.forEach(h=>{h.children&&h.children.forEach(p=>{var g,b;let m=e.getShape(p),v=bt.uniqueId(),w=u[h.id];s.shapes[v]=void 0,l.shapes[v]=Zt(mt({},bt.deepClone(m)),{id:v,parentId:w,childIndex:rn.getChildIndexAbove(e.state,m.id,i)}),u[p]=v,(b=(g=l.shapes[u[h.id]])==null?void 0:g.children)==null||b.push(v)})});let f=new Set(Object.keys(u));Object.values(a.bindings).filter(h=>f.has(h.fromId)||f.has(h.toId)).forEach(h=>{if(f.has(h.fromId))if(f.has(h.toId)){let p=bt.uniqueId(),g=Zt(mt({},bt.deepClone(h)),{id:p,fromId:u[h.fromId],toId:u[h.toId]});s.bindings[p]=void 0,l.bindings[p]=g;let b=l.shapes[g.fromId];Object.values(b.handles).forEach(m=>{m.bindingId===h.id&&(m.bindingId=p)})}else{let p=l.shapes[u[h.fromId]];Object.values(p.handles).forEach(g=>{g.bindingId===h.id&&(g.bindingId=void 0)})}});let d=Object.values(l.shapes);if(n){let h=bt.getCommonBounds(d.map(g=>rn.getBounds(g))),p=bt.getBoundsCenter(h);d.forEach(g=>{!g.point||(g.point=We.sub(n,We.sub(p,g.point)))})}else{let h=[16,16];d.forEach(p=>{!p.point||(p.point=We.add(p.point,h))})}return d.forEach(h=>{h.isLocked&&(h.isLocked=!1)}),{id:"duplicate",before:{document:{pages:{[i]:s},pageStates:{[i]:{selectedIds:r}}}},after:{document:{pages:{[i]:l},pageStates:{[i]:{selectedIds:Array.from(f.values()).map(h=>u[h])}}}}}}function Qwe(e,t,n){let{selectedIds:r,currentPageId:i,page:{shapes:a}}=e,o=t.map(f=>rn.getBounds(a[f])),s=t.length===1&&a[t[0]].type==="group",l=bt.getCommonBounds(o),{before:u,after:c}=rn.mutateShapes(e.state,t,f=>{let d=rn.getBounds(f),h=f.parentId!==i;switch(n){case"horizontal":{if(h&&!s){let g=rn.getBounds(a[f.parentId]),b=bt.getRelativeTransformedBoundingBox(l,l,g,!0,!1).minX-g.minX;return rn.getShapeUtil(f).transform(f,Zt(mt({},d),{minX:d.minX+b,maxX:d.maxX+b}),{type:b0.TopLeft,scaleX:1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}let p=bt.getRelativeTransformedBoundingBox(l,l,d,!0,!1);return rn.getShapeUtil(f).transform(f,p,{type:b0.TopLeft,scaleX:-1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}case"vertical":{if(h&&!s){let g=rn.getBounds(a[f.parentId]),b=bt.getRelativeTransformedBoundingBox(l,l,g,!1,!0).minY-g.minY;return rn.getShapeUtil(f).transform(f,Zt(mt({},d),{minY:d.minY+b,maxY:d.maxY+b}),{type:b0.TopLeft,scaleX:1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}let p=bt.getRelativeTransformedBoundingBox(l,l,d,!1,!0);return rn.getShapeUtil(f).transform(f,p,{type:b0.TopLeft,scaleX:1,scaleY:-1,initialShape:f,transformOrigin:[.5,.5]})}}},i,!0);return{id:"flip",before:{document:{pages:{[i]:{shapes:u}},pageStates:{[i]:{selectedIds:r}}}},after:{document:{pages:{[i]:{shapes:c}},pageStates:{[i]:{selectedIds:t}}}}}}function Wjn(e,t,n,r){var i,a;if(t.length<2)return;let o={},s={},l={},u={},c=[...t],f=[],d=[],h=[];for(let S of t){let T=e.getShape(S);if(!T.isLocked)if(T.children===void 0)f.push(T);else{let L=T.children.filter(M=>!e.getShape(M).isLocked);h.push(T),c.push(...L),f.push(...L.map(M=>e.getShape(M)).filter(Boolean))}}if(f.every(S=>S.parentId===f[0].parentId)&&f[0].parentId!==r&&((i=e.getShape(f[0].parentId).children)==null?void 0:i.length)===c.length)return;let p=rn.flattenPage(e.state,r),g=Object.fromEntries(f.map(S=>[S.id,p.indexOf(S)])),b=f.sort((S,T)=>g[S.id]-g[T.id]),m=r,v=(b.filter(S=>S.parentId===r)[0]||b[0]).childIndex,w=bt.getCommonBounds(f.map(S=>rn.getBounds(S)));for(o[n]=void 0,s[n]=rn.getShapeUtil("group").create({id:n,childIndex:v,parentId:m,point:[w.minX,w.minY],size:[w.width,w.height],children:b.map(S=>S.id)}),b.forEach((S,T)=>{if(S.parentId!==r){let L=e.getShape(S.parentId);h.push(L)}o[S.id]=Zt(mt({},o[S.id]),{parentId:S.parentId,childIndex:S.childIndex}),s[S.id]=Zt(mt({},s[S.id]),{parentId:n,childIndex:T+1})});h.length>0;){let S=h.pop();if(!S)break;let T=(((a=o[S.id])==null?void 0:a.children)||S.children).filter(L=>L&&!(c.includes(L)||d.includes(L)));T.length===0?(o[S.id]=S,s[S.id]=void 0,S.parentId!==r&&(d.push(S.id),h.push(e.getShape(S.parentId)))):(o[S.id]=Zt(mt({},o[S.id]),{children:S.children}),s[S.id]=Zt(mt({},s[S.id]),{children:T}))}let{bindings:k}=e,E=new Set(d);return k.forEach(S=>{for(let T of[S.toId,S.fromId])if(E.has(T)){l[S.id]=S,u[S.id]=void 0;let L=e.getShape(T);L.handles&&Object.values(L.handles).filter(M=>M.bindingId===S.id).forEach(M=>{var D,I;o[T]=Zt(mt({},o[T]),{handles:Zt(mt({},(D=o[T])==null?void 0:D.handles),{[M.id]:{bindingId:S.id}})}),d.includes(T)||(s[T]=Zt(mt({},s[T]),{handles:Zt(mt({},(I=s[T])==null?void 0:I.handles),{[M.id]:{bindingId:void 0}})}))})}}),{id:"group",before:{document:{pages:{[r]:{shapes:o,bindings:l}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s,bindings:l}},pageStates:{[r]:{selectedIds:[n]}}}}}}function Gjn(e,t,n,r,i){let{page:a}=e,o={before:{shapes:{},bindings:{}},after:{shapes:{},bindings:{}}},s={before:{shapes:{},bindings:{}},after:{shapes:{},bindings:{}}},l=new Set,u=new Set;t.map(v=>e.getShape(v,r)).filter(v=>!v.isLocked).forEach(v=>{l.add(v.id),u.add(v),v.children!==void 0&&v.children.forEach(w=>{l.add(w),u.add(e.getShape(w,r))})});let c=rn.getTopChildIndex(e.state,i),f=Array.from(u.values());f.forEach((v,w)=>{if(o.before.shapes[v.id]=v,o.after.shapes[v.id]=void 0,s.before.shapes[v.id]=void 0,s.after.shapes[v.id]=v,!l.has(v.parentId)&&(s.after.shapes[v.id]=Zt(mt({},v),{parentId:i,childIndex:c+w}),v.parentId!==r)){let k=e.getShape(v.parentId,r);o.before.shapes[k.id]={children:k.children},o.after.shapes[k.id]={children:k.children.filter(E=>E!==v.id)}}}),Object.values(a.bindings).filter(v=>l.has(v.fromId)||l.has(v.toId)).forEach(v=>{o.before.bindings[v.id]=v,o.after.bindings[v.id]=void 0;let w=e.getShape(v.fromId,r);if(l.has(v.fromId)&&l.has(v.toId))s.before.bindings[v.id]=void 0,s.after.bindings[v.id]=v;else if(l.has(v.fromId)){let k=e.getShape(v.fromId,r),E=Object.values(w.handles).find(T=>T.bindingId===v.id).id,S=s.after.shapes[k.id];S.handles=Zt(mt({},S.handles),{[E]:Zt(mt({},S.handles[E]),{bindingId:void 0})})}else{let k=e.getShape(v.fromId,r),E=Object.values(w.handles).find(S=>S.bindingId===v.id);o.before.shapes[k.id]={handles:{[E.id]:{bindingId:v.id}}},o.after.shapes[k.id]={handles:{[E.id]:{bindingId:void 0}}}}});let d=e.state.document.pageStates[i],h=bt.getCommonBounds(f.map(v=>rn.getBounds(v))),p=rn.getCameraZoom(n.width{var c,f;return((c=l.childIndex)!=null?c:0)-((f=u.childIndex)!=null?f:0)}),o=a.indexOf(i),s=[...a];return s.splice(o,1),s.splice(n>o?n-1:n,0,i),{id:"move_page",before:{document:{pages:Object.fromEntries(a.map(l=>[l.id,{childIndex:l.childIndex}]))}},after:{document:{pages:Object.fromEntries(s.map((l,u)=>[l.id,{childIndex:u}]))}}}}function kI(e,t,n){let{currentPageId:r,page:i}=e,a=new Set(t.map(c=>e.getShape(c).parentId)),o={before:{},after:{}},s,l,u;return Array.from(a.values()).forEach(c=>{let f=[];if(c===i.id)f=Object.values(i.shapes).sort((p,g)=>p.childIndex-g.childIndex);else{let p=e.getShape(c);if(!p.children)throw Error("No children in parent!");f=p.children.map(g=>e.getShape(g)).sort((g,b)=>g.childIndex-b.childIndex)}let d=f.map(p=>p.id),h=t.filter(p=>d.includes(p)).map(p=>d.indexOf(p)).sort((p,g)=>p-g);if(h.length!==d.length)switch(n){case"toBack":{for(let p=0;pf[p].id).reverse(),(p,g)=>({childIndex:l-(g+1)*u}),r);break}case"toFront":{for(let p=d.length-1;p>=0;p--)if(!h.includes(p)){s=p;break}l=f[s].childIndex,u=1,o=rn.mutateShapes(e.state,h.map(p=>f[p].id),(p,g)=>({childIndex:l+(g+1)}),r);break}case"backward":{let p={};for(let g=d.length-1;g>=0;g--)if(h.includes(g)){for(let b=g;b>=0;b--)if(!h.includes(b)){let m=f[b].childIndex,v,w;b===0?(v=m/2,w=m/2/(g-b+1)):(v=f[b-1].childIndex,w=(m-v)/(g-b+1),v+=w);for(let k=0;k0&&(o=rn.mutateShapes(e.state,h.map(g=>f[g].id),g=>({childIndex:p[g.id]}),r));break}case"forward":{let p={};for(let g=0;g0&&(o=rn.mutateShapes(e.state,h.map(g=>f[g].id),g=>({childIndex:p[g.id]}),r));break}}}),{id:"move",before:{document:{pages:{[r]:{shapes:o.before}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:o.after}},pageStates:{[r]:{selectedIds:t}}}}}}function Kjn(e,t,n){let{page:r}=e;return{id:"rename_page",before:{document:{pages:{[t]:{name:r.name}}}},after:{document:{pages:{[t]:{name:n}}}}}}function eke(e,t,n){let{currentPageId:r}=e,{before:i,after:a}=rn.mutateShapes(e.state,t,o=>{var s,l;return(l=(s=e.getShapeUtil(o)).onDoubleClickBoundsHandle)==null?void 0:l.call(s,o)},n);return{id:"reset_bounds",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:t}}}}}}var Yjn=Math.PI*2;function Xjn(e,t,n=-Yjn/4){let{currentPageId:r}=e,i={},a={},o=t.flatMap(l=>{let u=e.getShape(l);return u.children?u.children.map(c=>e.getShape(c)):u}).filter(l=>!l.isLocked),s=bt.getBoundsCenter(bt.getCommonBounds(o.map(l=>rn.getBounds(l))));return o.forEach(l=>{let u=rn.getRotatedShapeMutation(l,rn.getCenter(l),s,n);!u||(i[l.id]=rn.getBeforeShape(l,u),a[l.id]=u)}),{id:"rotate",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:t}}}}}}function Jjn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.map(f=>e.getShape(f)),o=a.map(f=>rn.getBounds(f)),s=bt.getCommonBounds(o),l=t.flatMap(f=>{let d=e.getShape(f);return d.children?d.children:d.id}).filter(f=>!e.getShape(f).isLocked),{before:u,after:c}=rn.mutateShapes(e.state,l,f=>{let d=rn.getBounds(f);switch(n){case"horizontal":{let h=Zt(mt({},d),{minX:s.minX,maxX:s.maxX,width:s.width});return rn.getShapeUtil(f).transformSingle(f,h,{type:b0.TopLeft,scaleX:h.width/d.width,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}case"vertical":{let h=Zt(mt({},d),{minY:s.minY,maxY:s.maxY,height:s.height});return rn.getShapeUtil(f).transformSingle(f,h,{type:b0.TopLeft,scaleX:1,scaleY:h.height/d.height,initialShape:f,transformOrigin:[.5,.5]})}}},r);return a.forEach(f=>{f.type==="group"&&(delete u[f.id],delete c[f.id])}),{id:"stretch",before:{document:{pages:{[r]:{shapes:u}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:c}},pageStates:{[r]:{selectedIds:t}}}}}}function Zjn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.flatMap(l=>rn.getDocumentBranch(e.state,l,r)).filter(l=>!e.getShape(l).isLocked),o={},s={};return a.map(l=>e.getShape(l)).filter(l=>!l.isLocked).forEach(l=>{o[l.id]={style:mt({},Object.fromEntries(Object.keys(n).map(u=>[u,l.style[u]])))},s[l.id]={style:n},l.type==="text"&&(o[l.id].point=l.point,s[l.id].point=We.toFixed(We.add(l.point,We.sub(e.getShapeUtil(l).getCenter(l),e.getShapeUtil(l).getCenter(Zt(mt({},l),{style:mt(mt({},l.style),n)}))))))}),{id:"style",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:i}}},appState:{currentStyle:mt({},e.appState.currentStyle)}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}},appState:{currentStyle:n}}}}function Qjn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=Object.fromEntries(t.map(s=>{var l;return[s,{decorations:{[n]:(l=e.getShape(s).decorations)==null?void 0:l[n]}}]})),o=Object.fromEntries(t.filter(s=>!e.getShape(s).isLocked).map(s=>{var l;return[s,{decorations:{[n]:(l=e.getShape(s).decorations)!=null&&l[n]?void 0:"arrow"}}]}));return{id:"toggle_decorations",before:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}}}}function sW(e,t,n){let{currentPageId:r}=e,i=t.map(l=>e.getShape(l)).filter(l=>n==="isLocked"?!0:!l.isLocked),a=i.every(l=>l[n]),o={},s={};return i.forEach(l=>{o[l.id]={[n]:l[n]},s[l.id]={[n]:!a}}),{id:"toggle",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}}}}}function eHn(e,t,n){let{currentPageId:r,selectedIds:i}=e;e.rotationInfo.selectedIds=[...i];let a={shapes:{},bindings:{}},o={shapes:{},bindings:{}},s=t.flatMap(u=>{let c=e.getShape(u);return c.children?c.children:c.id}).filter(u=>!e.getShape(u).isLocked),l=rn.mutateShapes(e.state,s,u=>({point:We.toFixed(We.add(u.point,n))}),r);return a.shapes=l.before,o.shapes=l.after,rn.getBindings(e.state,r).filter(u=>t.includes(u.fromId)&&!t.includes(u.toId)).forEach(u=>{a.bindings[u.id]=u,o.bindings[u.id]=void 0;for(let c of[u.toId,u.fromId]){let f=e.getShape(c);!f.handles||Object.values(f.handles).filter(d=>d.bindingId===u.id).forEach(d=>{var h,p;a.shapes[c]=Zt(mt({},a.shapes[c]),{handles:Zt(mt({},(h=a.shapes[c])==null?void 0:h.handles),{[d.id]:{bindingId:u.id}})}),o.shapes[c]=Zt(mt({},o.shapes[c]),{handles:Zt(mt({},(p=o.shapes[c])==null?void 0:p.handles),{[d.id]:{bindingId:void 0}})})})}}),{id:"translate",before:{document:{pages:{[r]:a},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:o},pageStates:{[r]:{selectedIds:t}}}}}}function tHn(e,t,n,r){let{bindings:i}=e,a={},o={},s={},l={},u=t,c=t.filter(f=>!n.find(d=>d.id===f));return n.filter(f=>!f.isLocked).forEach(f=>{let d=[],h=[];a[f.id]=f,o[f.id]=void 0,f.children.forEach(b=>{c.push(b);let m=e.getShape(b,r);d.push(m)});let p=f.childIndex,g=(rn.getChildIndexAbove(e.state,f.id,r)-p)/d.length;d.sort((b,m)=>b.childIndex-m.childIndex).forEach((b,m)=>{a[b.id]={parentId:b.parentId,childIndex:b.childIndex},o[b.id]={parentId:r,childIndex:p+g*m}}),i.filter(b=>b.toId===f.id||b.fromId===f.id).forEach(b=>{for(let m of[b.toId,b.fromId])if(o[m]===void 0){s[b.id]=b,l[b.id]=void 0;let v=e.getShape(m,r);v.handles&&Object.values(v.handles).filter(w=>w.bindingId===b.id).forEach(w=>{var k,E;a[m]=Zt(mt({},a[m]),{handles:Zt(mt({},(k=a[m])==null?void 0:k.handles),{[w.id]:{bindingId:b.id}})}),h.includes(m)||(o[m]=Zt(mt({},o[m]),{handles:Zt(mt({},(E=o[m])==null?void 0:E.handles),{[w.id]:{bindingId:void 0}})}))})}})}),{id:"ungroup",before:{document:{pages:{[r]:{shapes:a,bindings:s}},pageStates:{[r]:{selectedIds:u}}}},after:{document:{pages:{[r]:{shapes:o,bindings:s}},pageStates:{[r]:{selectedIds:c}}}}}}function tke(e,t,n){let r=t.map(a=>a.id),i=rn.mutateShapes(e.state,r.filter(a=>!e.getShape(a,n).isLocked),(a,o)=>t[o],n);return{id:"update",before:{document:{pages:{[n]:{shapes:i.before}}}},after:{document:{pages:{[n]:{shapes:i.after}}}}}}function nHn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.map(u=>e.getShape(u)).filter(u=>n.isLocked?!0:!u.isLocked),o={},s={},l=Object.keys(n);return a.forEach(u=>{o[u.id]=Object.fromEntries(l.map(c=>[c,u[c]])),s[u.id]=n}),{id:"set_props",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:i}}}}}}function rHn(e,t,n={}){let{currentPageId:r}=e,{point:i,select:a,overwrite:o}=n,s=e.document.pages[r],l={shapes:{},bindings:{}},u={},c={shapes:{},bindings:{}};if(o){for(let d of t.shapes)l.shapes[d.id]=s.shapes[d.id],c.shapes[d.id]=d;if(t.bindings)for(let d of t.bindings)l.bindings[d.id]=s.bindings[d.id],c.bindings[d.id]=d;if(t.assets)for(let d of t.assets)u[d.id]=d}else{let d={},h=rn.getTopChildIndex(e.state,r),p=t.shapes.sort((m,v)=>m.childIndex-v.childIndex).map(m=>{let v=bt.uniqueId();return d[m.id]=v,Zt(mt({},bt.deepClone(m)),{id:v})}),g=new Set;for(;p.length>0;){let m=p.shift();if(!m)break;if(g.add(m.id),m.parentId==="currentPageId")m.parentId=r,m.childIndex=h++;else{m.parentId=d[m.parentId];let v=c.shapes[m.parentId];if(!v){g.has(m.id)&&(m.parentId="currentPageId"),p.push(m);continue}v.children.push(m.id)}m.children&&(m.children=[]),l.shapes[m.id]=void 0,c.shapes[m.id]=m}Object.values(c.shapes).forEach(m=>{m.children&&m.children.length===0&&(delete l.shapes[m.id],delete c.shapes[m.id])}),t.bindings&&t.bindings.forEach(m=>{let v=bt.uniqueId();d[m.id]=v;let w=d[m.toId],k=d[m.fromId];if(!w||!k){if(k){let T=c.shapes[k].handles;T&&Object.values(T).forEach(L=>{L.bindingId===m.id&&(L.bindingId=void 0)})}if(w){let T=c.shapes[w].handles;T&&Object.values(T).forEach(L=>{L.bindingId===m.id&&(L.bindingId=void 0)})}return}let E=c.shapes[k].handles;E&&Object.values(E).forEach(T=>{T.bindingId===m.id&&(T.bindingId=v)}),c.shapes[w].handles&&Object.values(c.shapes[w].handles).forEach(T=>{T.bindingId===m.id&&(T.bindingId=v)});let S=Zt(mt({},bt.deepClone(m)),{id:v,toId:w,fromId:k});l.bindings[S.id]=void 0,c.bindings[S.id]=S});let b=Object.values(c.shapes);if(b.length>0)if(i){let m=bt.getCommonBounds(b.map(w=>rn.getBounds(w))),v=bt.getBoundsCenter(m);b.forEach(w=>{!w.point||(w.point=We.sub(i,We.sub(v,w.point)))})}else{let m=bt.getCommonBounds(b.map(rn.getBounds));if(!(bt.boundsContain(e.viewport,m)||bt.boundsCollide(e.viewport,m))){let v=We.toFixed(e.getPagePoint(e.centerPoint)),w=bt.centerBounds(m,v),k=We.sub(bt.getBoundsCenter(w),bt.getBoundsCenter(m));b.forEach(E=>{E.point=We.toFixed(We.add(E.point,k))})}}if(t.assets)for(let m of t.assets)u[m.id]=m}let f=document.createElement("textarea");return Object.values(c.shapes).forEach(d=>{"text"in d&&(f.innerHTML=d.text,d.text=f.value),"label"in d&&(f.innerHTML=d.label,d.label=f.value)}),f.remove(),{id:"insert",before:{document:{pages:{[r]:l},pageStates:{[r]:{selectedIds:[...e.selectedIds]}}}},after:{document:{pages:{[r]:c},assets:u,pageStates:{[r]:{selectedIds:a?Object.keys(c.shapes):[...e.selectedIds]}}}}}}var yVe={};gjt(yVe,{fileToBase64:()=>_Ve,fileToText:()=>CVe,getImageSizeFromSrc:()=>EVe,getVideoSizeFromSrc:()=>xVe,loadFileHandle:()=>bVe,migrate:()=>og,openAssetsFromFileSystem:()=>kVe,openFromFileSystem:()=>wVe,saveFileHandle:()=>Hhe,saveToFileSystem:()=>joe});function og(e,t){let{document:n,settings:r}=e,{version:i=0}=n;"assets"in n||(n.assets={});let a=new Set;return Object.values(n.pages).forEach(o=>Object.values(o.shapes).forEach(s=>{let{parentId:l,children:u,assetId:c}=s;c&&a.add(c),l!==o.id&&!o.shapes[l]&&(console.warn("Encountered a shape with a missing parent!"),s.parentId=o.id),s.type==="group"&&u&&u.forEach(f=>{o.shapes[f]||(console.warn("Encountered a parent with a missing child!",s.id,f),u?.splice(u.indexOf(f),1))})})),Object.keys(n.assets).forEach(o=>{a.has(o)||delete n.assets[o]}),i!==t&&(i<14&&Object.values(n.pages).forEach(o=>{Object.values(o.shapes).filter(s=>s.type==="text").forEach(s=>s.style.font==="script")}),i<=13&&Object.values(n.pages).forEach(o=>{Object.values(o.bindings).forEach(s=>{Object.assign(s,s.meta)}),Object.values(o.shapes).forEach(s=>{Object.entries(s.style).forEach(([l,u])=>{typeof u=="string"&&(s.style[l]=u.toLowerCase())}),s.type==="arrow"&&s.decorations&&Object.entries(s.decorations).forEach(([l,u])=>{u==="Arrow"&&(s.decorations=Zt(mt({},s.decorations),{[l]:"arrow"}))})})}),i<=13.1&&(n.name="New Document"),i<15&&(n.assets={}),Object.values(n.pages).forEach(o=>{Object.values(o.shapes).forEach(s=>{i<15.2&&(s.type==="image"||s.type==="video")&&(s.style.isFilled=!0),i<15.3&&(s.type==="rectangle"||s.type==="triangle"||s.type==="ellipse"||s.type==="arrow")&&(s.label=s.text||"",s.labelPoint=[.5,.5])})}),i<15.4&&(r.dockPosition="bottom"),i<15.5&&(r.exportBackground="transparent")),Object.values(n.pageStates).forEach(o=>{o.selectedIds=o.selectedIds.filter(s=>n.pages[o.id].shapes[s]!==void 0),o.bindingId=void 0,o.editingId=void 0,o.hoveredId=void 0,o.pointedId=void 0}),n.version=t,e}var nke={mode:"readwrite"},iHn=e=>ai(void 0,null,function*(){return(yield e.queryPermission(nke))==="granted"||(yield e.requestPermission(nke))==="granted"});function bVe(){return ai(this,null,function*(){return typeof Window>"u"||!("_location"in Window)?void 0:(yield uB(`Tldraw_file_handle_${window.location.origin}`))||null})}function Hhe(e){return ai(this,null,function*(){return BS(`Tldraw_file_handle_${window.location.origin}`,e)})}function joe(e,t,n){return ai(this,null,function*(){let r={name:e.name||"New Document",fileHandle:t??null,document:e},i=JSON.stringify(r),a=new Blob([i],{type:"application/vnd.Tldraw+json"});if(t&&!(yield iHn(t)))return null;let o=!iE&&n?.length?n:`${r.name}`,s=yield DGe(a,{fileName:`${o}${Poe}`,description:"Tldraw File",extensions:[`${Poe}`]},t);return yield Hhe(s),s})}function wVe(){return ai(this,null,function*(){var e;let t=yield Dhe({description:"Tldraw File",extensions:[`${Poe}`],multiple:!1});if(!t)return null;let n=yield new Promise(a=>{let o=new FileReader;o.onloadend=()=>{o.readyState===FileReader.DONE&&a(o.result)},o.readAsText(t,"utf8")}),r=JSON.parse(n);if("tldrawFileFormatVersion"in r)return alert("This file was created in a newer version of tldraw. Please visit beta.tldraw.com to open it."),null;let i=(e=t.handle)!=null?e:null;return yield Hhe(i),{fileHandle:i,document:r.document}})}function kVe(){return ai(this,null,function*(){return Dhe({description:"Image or Video",extensions:[...eVe,...tVe],multiple:!0})})}function _Ve(e){return new Promise((t,n)=>{if(e){let r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=i=>n(i),r.onabort=i=>n(i)}})}function CVe(e){return new Promise((t,n)=>{if(e){let r=new FileReader;r.readAsText(e),r.onload=()=>t(r.result),r.onerror=i=>n(i),r.onabort=i=>n(i)}})}function EVe(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t([r.width,r.height]),r.onerror=()=>n(new Error("Could not get image size")),r.src=e})}function xVe(e){return new Promise((t,n)=>{let r=document.createElement("video");r.onloadedmetadata=()=>t([r.videoWidth,r.videoHeight]),r.onerror=()=>n(new Error("Could not get video size")),r.src=e})}mjt(yVe,ijt);var j0=class{constructor(e){this.app=e}},aHn=class extends j0{constructor(e,t,n,r=!1){super(e),Ce(this,"type","arrow"),Ce(this,"performanceMode"),Ce(this,"status","translatingHandle"),Ce(this,"newStartBindingId",bt.uniqueId()),Ce(this,"draggedBindingId",bt.uniqueId()),Ce(this,"didBind",!1),Ce(this,"initialShape"),Ce(this,"handleId"),Ce(this,"bindableShapeIds"),Ce(this,"initialBinding"),Ce(this,"startBindingShapeId"),Ce(this,"isCreate"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{var f,d,h;let{initialShape:p}=this,{currentPoint:g,shiftKey:b,altKey:m,metaKey:v,currentGrid:w,settings:{showGrid:k}}=this.app,E=this.app.getShape(p.id);if(E.isLocked)return;let{handles:S}=p,T=this.handleId;if(!S[T].canBind)return;let L=We.sub(g,We.add(S[T].point,p.point));if(b){let F=m?We.med(S.start.point,S.end.point):S[T==="start"?"end":"start"].point,q=S[T].point,V=We.add(q,L),X=We.angle(F,V),G=We.rotWith(V,F,bt.snapAngleToSegments(X,24)-X);L=We.add(L,We.sub(G,V))}let M=We.add(S[T].point,L),D={[T]:Zt(mt({},S[T]),{point:k?We.snap(M,w):We.toFixed(M),bindingId:void 0})},I=m_.arrow,B=(f=I.onHandleChange)==null?void 0:f.call(I,p,D);if(!B)return;let N={shape:bt.deepMerge(E,B),bindings:{}},O,R=N.shape.handles[this.handleId],P=N.shape.handles[this.handleId==="start"?"end":"start"];if(this.startBindingShapeId){let F,q=this.app.page.shapes[this.startBindingShapeId],V=rn.getShapeUtil(q),X=V.getCenter(q),G=N.shape.handles.start,J=N.shape.handles.end,te=We.add(G.point,N.shape.point);We.isEqual(te,X)&&te[1]++;let re=X,Q=V.hitTestPoint(q,g),ae=We.uni(We.sub(te,re)),le=this.app.getBinding(this.newStartBindingId)!==void 0;!v&&!V.hitTestPoint(q,We.add(N.shape.point,J.point))&&(F=this.findBindingPoint(E,q,"start",this.newStartBindingId,X,re,ae,Q)),F&&!le?(this.didBind=!0,N.bindings[this.newStartBindingId]=F,N.shape=bt.deepMerge(N.shape,{handles:{start:{bindingId:F.id}}})):!F&&le&&(this.didBind=!1,N.bindings[this.newStartBindingId]=void 0,N.shape=bt.deepMerge(p,{handles:{start:{bindingId:void 0}}}))}if(!v){let F=We.add(P.point,N.shape.point),q=We.add(R.point,N.shape.point),V=We.uni(We.sub(q,F)),X=We.add(N.shape.point,N.shape.handles.start.point),G=We.add(N.shape.point,N.shape.handles.end.point),J=this.bindableShapeIds.map(te=>this.app.page.shapes[te]).sort((te,re)=>re.childIndex-te.childIndex).filter(te=>{if(te.isLocked)return!1;let re=rn.getShapeUtil(te);return![X,G].every(Q=>re.hitTestPoint(te,Q))});for(let te of J)if(O=this.findBindingPoint(E,te,this.handleId,this.draggedBindingId,q,F,V,m),O)break}if(O)this.didBind=!0,N.bindings[this.draggedBindingId]=O,N.shape=bt.deepMerge(N.shape,{handles:{[this.handleId]:{bindingId:this.draggedBindingId}}});else{this.didBind=this.didBind||!1;let F=E.handles[this.handleId].bindingId;F!==void 0&&(N.bindings[F]=void 0,N.shape=bt.deepMerge(N.shape,{handles:{[this.handleId]:{bindingId:void 0}}}))}let H=(h=(d=rn.getShapeUtil(N.shape)).onHandleChange)==null?void 0:h.call(d,N.shape,N.shape.handles);return{document:{pages:{[this.app.currentPageId]:{shapes:{[E.id]:mt(mt({},N.shape),H??{})},bindings:N.bindings}},pageStates:{[this.app.currentPageId]:{bindingId:N.shape.handles[T].bindingId}}}}}),Ce(this,"cancel",()=>{let{initialShape:f,initialBinding:d,newStartBindingId:h,draggedBindingId:p}=this,g=rn.onSessionComplete(this.app.page.shapes[f.id]),b=this.isCreate||We.dist(g.handles.start.point,g.handles.end.point)<4,m={};return m[p]=void 0,d&&(m[d.id]=b?void 0:d),h&&(m[h]=void 0),{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:b?void 0:f},bindings:m}},pageStates:{[this.app.currentPageId]:{selectedIds:b?[]:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}}}),Ce(this,"complete",()=>{let{initialShape:f,initialBinding:d,newStartBindingId:h,startBindingShapeId:p,handleId:g}=this,b=rn.onSessionComplete(this.app.page.shapes[f.id]),m=b.handles[g].bindingId,v=We.dist(b.handles.start.point,b.handles.end.point);if(!(m||d)&&v<4)return this.cancel();let w={},k={};return d&&(w[d.id]=this.isCreate?void 0:d,k[d.id]=void 0),m&&(w[m]=void 0,k[m]=this.app.page.bindings[m]),p&&(w[h]=void 0,k[h]=this.app.page.bindings[h]),{id:"arrow",before:{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:this.isCreate?void 0:f},bindings:w}},pageStates:{[this.app.currentPageId]:{selectedIds:this.isCreate?[]:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}},after:{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:b},bindings:k}},pageStates:{[this.app.currentPageId]:{selectedIds:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}}}}),Ce(this,"findBindingPoint",(f,d,h,p,g,b,m,v)=>{let w=rn.getShapeUtil(d.type).getBindingPoint(d,f,g,b,m,v);if(w)return{id:p,type:"arrow",fromId:f.id,toId:d.id,handleId:h,point:We.toFixed(w.point),distance:w.distance}});var i,a,o;this.isCreate=r;let{currentPageId:s}=e.state.appState,l=e.state.document.pages[s];this.handleId=n,this.initialShape=Jf(l.shapes[t]),this.bindableShapeIds=rn.getBindableShapeIds(e.state).filter(f=>!(f===this.initialShape.id||f===this.initialShape.parentId));let u=(i=this.initialShape.handles[n==="start"?"end":"start"])==null?void 0:i.bindingId;if(u){let f=(a=l.bindings[u])==null?void 0:a.toId;f&&(this.bindableShapeIds=this.bindableShapeIds.filter(d=>d!==f))}let{originPoint:c}=this.app;if(this.isCreate)this.startBindingShapeId=(o=this.bindableShapeIds.map(f=>l.shapes[f]).filter(f=>!f.isLocked&&bt.pointInBounds(c,rn.getShapeUtil(f).getBounds(f))).sort((f,d)=>d.childIndex-f.childIndex)[0])==null?void 0:o.id,this.startBindingShapeId&&this.bindableShapeIds.splice(this.bindableShapeIds.indexOf(this.startBindingShapeId),1);else{let f=this.initialShape.handles[this.handleId].bindingId;f?this.initialBinding=l.bindings[f]:this.initialShape.handles[this.handleId].bindingId=void 0}}},oHn=class extends j0{constructor(e){super(e),Ce(this,"type","brush"),Ce(this,"performanceMode"),Ce(this,"status","brushing"),Ce(this,"initialSelectedIds"),Ce(this,"shapesToTest"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{initialSelectedIds:n,shapesToTest:r,app:{metaKey:i,settings:a,originPoint:o,currentPoint:s}}=this,l=bt.getBoundsFromPoints([o,s]),u=a.isCadSelectMode?!i&&o[0]{let m=this.app.getShape(g);if(!c.has(b)){let v=this.app.getShapeUtil(m);(u?bt.boundsContain(l,v.getBounds(m)):v.hitTestBounds(m,l))?(c.add(b),f.has(b)||f.add(b)):f.has(b)&&f.delete(b)}});let d=this.app.selectedIds,h=f.size!==d.length||d.some(g=>!f.has(g)),p=h?Array.from(f.values()):d;return h?{appState:{selectByContain:u},document:{pageStates:{[this.app.currentPageId]:{brush:l,selectedIds:p}}}}:{appState:{selectByContain:u},document:{pageStates:{[this.app.currentPageId]:{brush:l}}}}}),Ce(this,"cancel",()=>({appState:{selectByContain:!1},document:{pageStates:{[this.app.currentPageId]:{brush:null,selectedIds:Array.from(this.initialSelectedIds.values())}}}})),Ce(this,"complete",()=>({appState:{selectByContain:!1},document:{pageStates:{[this.app.currentPageId]:{brush:null,selectedIds:[...this.app.selectedIds]}}}}));let{currentPageId:t}=e;this.initialSelectedIds=new Set(this.app.selectedIds),this.shapesToTest=this.app.shapes.filter(n=>!(n.isLocked||n.isHidden||n.parentId!==t||this.initialSelectedIds.has(n.id)||this.initialSelectedIds.has(n.parentId))).map(n=>({id:n.id,bounds:this.app.getShapeUtil(n).getBounds(n),selectId:n.id})),this.update()}},sHn=class extends j0{constructor(e,t){super(e),Ce(this,"type","draw"),Ce(this,"performanceMode"),Ce(this,"status","creating"),Ce(this,"topLeft"),Ce(this,"points"),Ce(this,"initialShape"),Ce(this,"lastAdjustedPoint"),Ce(this,"shiftedPoints",[]),Ce(this,"shapeId"),Ce(this,"isLocked"),Ce(this,"isExtending"),Ce(this,"lockedDirection"),Ce(this,"start",()=>{var l;let u=this.app.originPoint,c=[0,0,(l=u[2])!=null?l:.5];this.points.push(c);let f=[Math.min(this.topLeft[0],u[0]),Math.min(this.topLeft[1],u[1])],d=We.sub(f,u);return this.topLeft=f,this.shiftedPoints=this.points.map(h=>We.toFixed(We.sub(h,d)).concat(h[2])),{document:{pages:{[this.app.currentPageId]:{shapes:{[this.shapeId]:{point:this.topLeft,points:this.shiftedPoints}}}},pageStates:{[this.app.currentPageId]:{selectedIds:[this.shapeId]}}}}}),Ce(this,"update",()=>{let{shapeId:l}=this,{currentPoint:u,originPoint:c,shiftKey:f,zoom:d}=this.app;if(!this.lockedDirection&&this.points.length>1){let p=We.sub(u,c);We.len(p)>3/d&&(this.lockedDirection=Math.abs(p[0])>Math.abs(p[1])?"horizontal":"vertical")}if(f){if(!this.isLocked&&this.points.length>2){if(!this.lockedDirection){let g=We.sub(u,c);We.len(g)>3/d&&(this.lockedDirection=Math.abs(g[0])>Math.abs(g[1])?"horizontal":"vertical")}this.isLocked=!0;let p=[...this.lastAdjustedPoint];this.lockedDirection==="vertical"?p[0]=0:p[1]=0,this.points.push(p.concat(u[2]))}}else this.isLocked&&(this.isLocked=!1);this.isLocked&&(this.lockedDirection==="vertical"?u[0]=c[0]:u[1]=c[1]);let h=this.addPoint(u);if(h)return{document:{pages:{[this.app.currentPageId]:{shapes:{[l]:h}}},pageStates:{[this.app.currentPageId]:{selectedIds:[l]}}}}}),Ce(this,"cancel",()=>{let{shapeId:l}=this,u=this.app.currentPageId;return{document:{pages:{[u]:{shapes:{[l]:this.isExtending?this.initialShape:void 0}}},pageStates:{[u]:{selectedIds:[]}}}}}),Ce(this,"complete",()=>{let{shapeId:l}=this,u=this.app.currentPageId,c=this.app.getShape(l);return{id:"create_draw",before:{document:{pages:{[u]:{shapes:{[l]:this.isExtending?this.initialShape:void 0}}},pageStates:{[u]:{selectedIds:[]}}}},after:{document:{pages:{[u]:{shapes:{[l]:Zt(mt({},c),{point:We.toFixed(c.point),points:c.points.map(f=>We.toFixed(f)),isComplete:!0})}}},pageStates:{[this.app.currentPageId]:{selectedIds:[]}}}}}}),Ce(this,"addPoint",l=>{let{originPoint:u}=this.app,c=We.toFixed(We.sub(l,u)).concat(l[2]);if(We.isEqual(this.lastAdjustedPoint,c))return;this.points.push(c),this.lastAdjustedPoint=c;let f=[...this.topLeft],d=[Math.min(this.topLeft[0],l[0]),Math.min(this.topLeft[1],l[1])],h=We.sub(d,u),p;return f[0]!==d[0]||f[1]!==d[1]?(this.topLeft=d,p=this.points.map(g=>We.toFixed(We.sub(g,h)).concat(g[2]))):p=[...this.shiftedPoints,We.sub(c,h).concat(c[2])],this.shiftedPoints=p,{point:this.topLeft,points:p}});var n;let{originPoint:r}=this.app;this.shapeId=t,this.initialShape=this.app.getShape(t),this.topLeft=[...this.initialShape.point];let i=[0,0,(n=r[2])!=null?n:.5],a=We.sub(r,this.topLeft),o=this.initialShape.points.map(l=>We.sub(l,a).concat(l[2]));this.isExtending=o.length>0;let s=[];if(this.isExtending){let l=o[o.length-1];if(l){s.push(l,l);let u=Math.floor(We.dist(l,i)/16);if(u>1)for(let c=0;cWe.add(l,a).concat(l[2])),this.lastAdjustedPoint=this.points[this.points.length-1]}},lHn=class extends j0{constructor(e,t,n){super(e),Ce(this,"type","edit"),Ce(this,"performanceMode"),Ce(this,"initialShape"),Ce(this,"initialSelectedIds"),Ce(this,"currentPageId"),Ce(this,"isCreating"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{}),Ce(this,"cancel",()=>({document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:this.isCreating?void 0:this.initialShape}}},pageStates:{[this.currentPageId]:{selectedIds:this.isCreating?[]:this.initialSelectedIds,editingId:void 0}}}})),Ce(this,"complete",()=>{let r=this.app.getShape(this.initialShape.id);return{id:"edit",before:{document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:this.isCreating?void 0:this.initialShape}}},pageStates:{[this.currentPageId]:{selectedIds:this.isCreating?[]:this.initialSelectedIds,editingId:void 0}}}},after:{document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:r}}},pageStates:{[this.currentPageId]:{selectedIds:[r.id],editingId:void 0}}}}}}),this.initialShape=e.getShape(t,e.currentPageId),this.currentPageId=e.currentPageId,this.isCreating=n,this.initialSelectedIds=[...e.selectedIds]}},uHn=class extends j0{constructor(e){super(e),Ce(this,"type","draw"),Ce(this,"performanceMode"),Ce(this,"status","creating"),Ce(this,"isLocked"),Ce(this,"lockedDirection"),Ce(this,"erasedShapes",new Set),Ce(this,"erasedBindings",new Set),Ce(this,"initialSelectedShapes"),Ce(this,"erasableShapes"),Ce(this,"prevPoint"),Ce(this,"prevEraseShapesSize",0),Ce(this,"interval"),Ce(this,"timestamp1",0),Ce(this,"timestamp2",0),Ce(this,"prevErasePoint",[]),Ce(this,"loop",()=>{let t=Date.now(),n=t-this.timestamp1,r=t-this.timestamp2,{eraseLine:i}=this.app.appState,a=[...i],o=!1;n>16&&this.prevErasePoint!==this.prevPoint&&(o=!0,a=[...i,this.prevPoint],this.prevErasePoint=this.prevPoint),r>32&&a.length>1&&(o=!0,a.splice(0,Math.ceil(a.length*.1)),this.timestamp2=t),o&&this.app.patchState({appState:{eraseLine:a}},"eraseline"),this.interval=requestAnimationFrame(this.loop)}),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{page:t,shiftKey:n,originPoint:r,currentPoint:i,zoom:a}=this.app;if(n){let u=We.sub(i,r);if(!this.isLocked&&We.len(u)>3/a){if(!this.lockedDirection){let c=We.sub(i,r);this.lockedDirection=Math.abs(c[0])>Math.abs(c[1])?"horizontal":"vertical"}this.isLocked=!0}}else this.isLocked&&(this.isLocked=!1);this.isLocked&&(this.lockedDirection==="vertical"?i[0]=r[0]:i[1]=r[1]);let o=We.toFixed(We.add(r,We.sub(i,r))),s=new Set([]);this.erasableShapes.forEach(u=>{if(!this.erasedShapes.has(u)&&this.app.getShapeUtil(u).hitTestLineSegment(u,this.prevPoint,o)&&(this.erasedShapes.add(u),s.add(u.id),u.children!==void 0))for(let c of u.children)this.erasedShapes.add(this.app.getShape(c)),s.add(c)}),Object.values(t.bindings).forEach(u=>{for(let c of[u.toId,u.fromId])s.has(c)&&this.erasedBindings.add(u)}),this.erasedShapes.forEach(u=>{this.app.getShape(u.id)||(this.erasedShapes.delete(u),this.erasableShapes.delete(u),s.delete(u.id))});let l=Array.from(this.erasedShapes.values());if(this.prevPoint=o,l.length!==this.prevEraseShapesSize)return this.prevEraseShapesSize=l.length,{document:{pages:{[t.id]:{shapes:Object.fromEntries(l.map(u=>[u.id,{isGhost:!0}]))}}}}}),Ce(this,"cancel",()=>{let{page:t}=this.app;cancelAnimationFrame(this.interval),this.erasedShapes.forEach(r=>{this.app.getShape(r.id)||(this.erasedShapes.delete(r),this.erasableShapes.delete(r))});let n=Array.from(this.erasedShapes.values());return{document:{pages:{[t.id]:{shapes:Object.fromEntries(n.map(r=>[r.id,{isGhost:!1}]))}},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.map(r=>r.id)}}},appState:{eraseLine:[]}}}),Ce(this,"complete",()=>{let{page:t}=this.app;cancelAnimationFrame(this.interval),this.erasedShapes.forEach(l=>{this.app.getShape(l.id)||(this.erasedShapes.delete(l),this.erasableShapes.delete(l))}),this.erasedBindings.forEach(l=>{this.app.getBinding(l.id)||this.erasedBindings.delete(l)});let n=Array.from(this.erasedShapes.values()),r=Array.from(this.erasedBindings.values()),i=n.map(l=>l.id),a=r.map(l=>l.id),o={shapes:Object.fromEntries(n.map(l=>[l.id,l])),bindings:Object.fromEntries(r.map(l=>[l.id,l]))},s={shapes:Object.fromEntries(n.map(l=>[l.id,void 0])),bindings:Object.fromEntries(r.map(l=>[l.id,void 0]))};return this.app.shapes.forEach(l=>{l.handles&&!s.shapes[l.id]&&Object.values(l.handles).forEach(u=>{var c,f;u.bindingId&&a.includes(u.bindingId)&&(o.shapes[l.id]=Zt(mt({},o.shapes[l.id]),{handles:Zt(mt({},(c=o.shapes[l.id])==null?void 0:c.handles),{[u.id]:u})}),i.includes(l.id)||(s.shapes[l.id]=Zt(mt({},s.shapes[l.id]),{handles:Zt(mt({},(f=s.shapes[l.id])==null?void 0:f.handles),{[u.id]:Zt(mt({},u),{bindingId:void 0})})})))})}),{id:"erase",before:{document:{pages:{[t.id]:o},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.filter(l=>!!this.app.getShape(l.id)).map(l=>l.id)}}},appState:{eraseLine:[]}},after:{document:{pages:{[t.id]:s},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.filter(l=>!!this.app.getShape(l.id)).filter(l=>!i.includes(l.id)).map(l=>l.id)}}},appState:{eraseLine:[]}}}}),this.prevPoint=[...e.originPoint],this.initialSelectedShapes=this.app.selectedIds.map(t=>this.app.getShape(t)),this.erasableShapes=new Set(this.app.shapes.filter(t=>!t.isLocked)),this.interval=this.loop()}},cHn=class extends j0{constructor(e,t){super(e),Ce(this,"type","grid"),Ce(this,"performanceMode"),Ce(this,"status","translating"),Ce(this,"shape"),Ce(this,"bounds"),Ce(this,"initialSelectedIds"),Ce(this,"initialSiblings"),Ce(this,"grid",{}),Ce(this,"columns",1),Ce(this,"rows",1),Ce(this,"isCopying",!1),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{currentPageId:r,altKey:i,shiftKey:a,currentPoint:o}=this.app,s={},l={},u=bt.getBoundsCenter(this.bounds),c=We.sub(o,u);a&&(Math.abs(c[0])E!==this.shape.id).forEach(E=>s[E]=void 0),this.grid={"0_0":this.shape.id},this.isCopying=k);for(let E=g;E{w.has(E)||(s[S]=void 0,delete this.grid[E])}),Object.values(s).length!==0)return this.initialSiblings&&(s[this.shape.parentId]={children:[...this.initialSiblings,...Object.values(this.grid)]}),{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:l}}}}),Ce(this,"cancel",()=>{let{currentPageId:r}=this.app,i={};return Object.values(this.grid).forEach(a=>{i[a]=void 0}),i[this.shape.id]=Zt(mt({},i[this.shape.id]),{point:this.shape.point}),this.initialSiblings&&(i[this.shape.parentId]={children:[...this.initialSiblings,this.shape.id]}),{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:[this.shape.id]}}}}}),Ce(this,"complete",()=>{let{currentPageId:r}=this.app,i={},a={},o=[];if(Object.values(this.grid).forEach(s=>{i[s]=void 0,a[s]=this.app.getShape(s),o.push(s)}),i[this.shape.id]=this.shape,this.initialSiblings&&(i[this.shape.parentId]={children:[...this.initialSiblings,this.shape.id]},a[this.shape.parentId]={children:[...this.initialSiblings,...Object.values(this.grid)]}),o.length!==1)return{id:"grid",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:[],hoveredId:void 0}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:o,hoveredId:void 0}}}}}}),Ce(this,"getClone",(r,i)=>{let a=Zt(mt({},this.shape),{id:bt.uniqueId(),point:r});return i||a.type==="sticky"&&(a.text=""),a});var n;this.shape=this.app.getShape(t),this.grid["0_0"]=this.shape.id,this.bounds=this.app.getShapeBounds(t),this.initialSelectedIds=[...this.app.selectedIds],this.shape.parentId!==this.app.currentPageId&&(this.initialSiblings=(n=this.app.getShape(this.shape.parentId).children)==null?void 0:n.filter(r=>r!==this.shape.id))}},fHn=class extends j0{constructor(e,t,n,r="move_handle"){super(e),Ce(this,"type","handle"),Ce(this,"performanceMode"),Ce(this,"status","translatingHandle"),Ce(this,"commandId"),Ce(this,"topLeft"),Ce(this,"shiftKey",!1),Ce(this,"initialShape"),Ce(this,"handleId"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{var a,o;let{initialShape:s,app:{currentPageId:l,currentPoint:u}}=this,c=this.app.getShape(s.id);if(c.isLocked)return;let f=c.handles,d=this.handleId,h=We.sub(u,f[d].point),p={[d]:Zt(mt({},f[d]),{point:We.sub(We.add(f[d].point,h),c.point)})},g=(o=(a=rn.getShapeUtil(c)).onHandleChange)==null?void 0:o.call(a,c,p);if(g)return{document:{pages:{[l]:{shapes:{[c.id]:g}}}}}}),Ce(this,"cancel",()=>{let{initialShape:a,app:{currentPageId:o}}=this;return{document:{pages:{[o]:{shapes:{[a.id]:a}}}}}}),Ce(this,"complete",()=>{let{initialShape:a,app:{currentPageId:o}}=this;return{id:this.commandId,before:{document:{pages:{[o]:{shapes:{[a.id]:a}}}}},after:{document:{pages:{[o]:{shapes:{[a.id]:rn.onSessionComplete(this.app.getShape(this.initialShape.id))}}}}}}});let{originPoint:i}=e;this.topLeft=[...i],this.handleId=n,this.initialShape=this.app.getShape(t),this.commandId=r}},dHn=class extends j0{constructor(e){super(e),Ce(this,"type","rotate"),Ce(this,"status","transforming"),Ce(this,"performanceMode"),Ce(this,"delta",[0,0]),Ce(this,"commonBoundsCenter"),Ce(this,"initialAngle"),Ce(this,"initialShapes"),Ce(this,"changes",{}),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{commonBoundsCenter:a,initialShapes:o,app:{currentPageId:s,currentPoint:l,shiftKey:u}}=this,c={},f=We.angle(a,l)-this.initialAngle;return u&&(f=bt.snapAngleToSegments(f,24)),o.forEach(({center:d,shape:h})=>{let{rotation:p=0}=h,g=0;u&&(g=bt.snapAngleToSegments(p,24)-p);let b=rn.getRotatedShapeMutation(h,d,a,u?f+g:f);b&&(c[h.id]=b)}),this.changes=c,{document:{pages:{[s]:{shapes:c}}}}}),Ce(this,"cancel",()=>{let{initialShapes:a,app:{currentPageId:o}}=this,s={};return a.forEach(({shape:l})=>s[l.id]=l),{document:{pages:{[o]:{shapes:s}}}}}),Ce(this,"complete",()=>{let{initialShapes:a,app:{currentPageId:o}}=this,s={},l=this.changes;return a.forEach(({shape:{id:u,point:c,rotation:f,handles:d}})=>{s[u]={point:c,rotation:f,handles:d}}),{id:"rotate",before:{document:{pages:{[o]:{shapes:s}}}},after:{document:{pages:{[o]:{shapes:l}}}}}});let{app:{currentPageId:t,pageState:n,originPoint:r}}=this,i=rn.getSelectedBranchSnapshot(e.state,t).filter(a=>!a.isLocked);if(i.length===0)throw Error("No selected shapes!");if(e.rotationInfo.selectedIds===n.selectedIds){if(e.rotationInfo.center===void 0)throw Error("We should have a center for rotation!");this.commonBoundsCenter=e.rotationInfo.center}else this.commonBoundsCenter=bt.getBoundsCenter(bt.getCommonBounds(i.map(rn.getBounds))),e.rotationInfo.selectedIds=n.selectedIds,e.rotationInfo.center=this.commonBoundsCenter;this.initialShapes=i.filter(a=>a.children===void 0).map(a=>({shape:a,center:this.app.getShapeUtil(a).getCenter(a)})),this.initialAngle=We.angle(this.commonBoundsCenter,r)}},hHn=class extends j0{constructor(e,t=b0.BottomRight,n=!1){super(e),this.transformType=t,this.isCreate=n,Ce(this,"type","transform"),Ce(this,"performanceMode"),Ce(this,"status","transforming"),Ce(this,"scaleX",1),Ce(this,"scaleY",1),Ce(this,"initialShapes"),Ce(this,"initialShapeIds"),Ce(this,"initialSelectedIds"),Ce(this,"shapeBounds"),Ce(this,"hasUnlockedShapes"),Ce(this,"isAllAspectRatioLocked"),Ce(this,"initialCommonBounds"),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"start",()=>{this.snapInfo={state:"ready",bounds:this.app.shapes.filter(o=>!this.initialShapeIds.includes(o.id)).map(o=>bt.getBoundsWithCenter(rn.getRotatedBounds(o)))}}),Ce(this,"update",()=>{let{transformType:o,shapeBounds:s,initialCommonBounds:l,isAllAspectRatioLocked:u,app:{currentPageId:c,pageState:{camera:f},viewport:d,currentPoint:h,previousPoint:p,originPoint:g,shiftKey:b,altKey:m,metaKey:v,currentGrid:w,settings:{isSnapping:k,showGrid:E}}}=this,S={},T=m?We.mul(We.sub(h,g),2):We.sub(h,g),L=bt.getTransformedBoundingBox(l,o,T,0,b||u);m&&(L=mt(mt({},L),bt.centerBounds(L,bt.getBoundsCenter(l)))),E&&(L=mt(mt({},L),bt.snapBoundsToGrid(L,w)));let M=We.dist(h,p)-this.speed;this.speed=this.speed+M*(M>1?.5:.15);let D=[];if((k&&!v||!k&&v)&&this.speed*f.zoom<10&&this.snapInfo.state==="ready"){let I=bt.getSnapPoints(bt.getBoundsWithCenter(L),this.snapInfo.bounds.filter(B=>bt.boundsContain(d,B)||bt.boundsCollide(d,B)),5/f.zoom);I&&(D=I.snapLines,L=bt.getTransformedBoundingBox(l,o,We.sub(T,I.offset),0,b||u))}return this.scaleX=L.scaleX,this.scaleY=L.scaleY,s.forEach(({initialShape:I,initialShapeBounds:B,transformOrigin:N})=>{let O=bt.getRelativeTransformedBoundingBox(L,l,B,this.scaleX<0,this.scaleY<0);E&&(O=bt.snapBoundsToGrid(O,w));let R=rn.transform(this.app.getShape(I.id),O,{type:this.transformType,initialShape:I,scaleX:this.scaleX,scaleY:this.scaleY,transformOrigin:N});S[I.id]=R}),{appState:{snapLines:D},document:{pages:{[c]:{shapes:S}}}}}),Ce(this,"cancel",()=>{let{shapeBounds:o,app:{currentPageId:s}}=this,l={};return this.isCreate?o.forEach(u=>l[u.initialShape.id]=void 0):o.forEach(u=>l[u.initialShape.id]=u.initialShape),{appState:{snapLines:[]},document:{pages:{[s]:{shapes:l}},pageStates:{[s]:{selectedIds:this.isCreate?[]:o.map(u=>u.initialShape.id)}}}}}),Ce(this,"complete",()=>{let{isCreate:o,shapeBounds:s,hasUnlockedShapes:l,app:{currentPageId:u}}=this;if(!l)return;if(this.isCreate&&We.dist(this.app.originPoint,this.app.currentPoint)<2)return this.cancel();let c={},f={},d,h;return o?(d=[],h=[],s.forEach(({initialShape:p})=>{c[p.id]=void 0,f[p.id]=this.app.getShape(p.id)})):(d=this.initialSelectedIds,h=this.initialSelectedIds,s.forEach(({initialShape:p})=>{c[p.id]=p,f[p.id]=this.app.getShape(p.id)})),{id:"transform",before:{appState:{snapLines:[]},document:{pages:{[u]:{shapes:c}},pageStates:{[u]:{selectedIds:d,hoveredId:void 0,editingId:void 0}}}},after:{appState:{snapLines:[]},document:{pages:{[u]:{shapes:f}},pageStates:{[u]:{selectedIds:h,hoveredId:void 0,editingId:void 0}}}}}}),this.initialSelectedIds=[...this.app.selectedIds],this.app.rotationInfo.selectedIds=[...this.initialSelectedIds],this.initialShapes=rn.getSelectedBranchSnapshot(this.app.state,this.app.currentPageId).filter(o=>!o.isLocked),this.initialShapeIds=this.initialShapes.map(o=>o.id),this.hasUnlockedShapes=this.initialShapes.length>0,this.isAllAspectRatioLocked=this.initialShapes.every(o=>o.isAspectRatioLocked||rn.getShapeUtil(o).isAspectRatioLocked);let r=Object.fromEntries(this.initialShapes.map(o=>[o.id,rn.getBounds(o)])),i=Object.values(r);this.initialCommonBounds=bt.getCommonBounds(i);let a=bt.getBoundsFromPoints(i.map(bt.getBoundsCenter));this.shapeBounds=this.initialShapes.map(o=>{let s=r[o.id],l=bt.getBoundsCenter(s),u=(l[0]-a.minX)/a.width,c=(l[1]-a.minY)/a.height;return{initialShape:o,initialShapeBounds:s,transformOrigin:[u,c]}})}},pHn=class extends j0{constructor(e,t,n,r=!1){super(e),Ce(this,"type","transformSingle"),Ce(this,"status","transforming"),Ce(this,"performanceMode"),Ce(this,"transformType"),Ce(this,"scaleX",1),Ce(this,"scaleY",1),Ce(this,"isCreate"),Ce(this,"initialShape"),Ce(this,"initialShapeBounds"),Ce(this,"initialCommonBounds"),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"start",()=>{this.snapInfo={state:"ready",bounds:this.app.shapes.filter(a=>a.id!==this.initialShape.id).map(a=>bt.getBoundsWithCenter(rn.getRotatedBounds(a)))}}),Ce(this,"update",()=>{let{transformType:a,initialShape:o,initialShapeBounds:s,app:{settings:{isSnapping:l,showGrid:u},currentPageId:c,pageState:{camera:f},viewport:d,currentPoint:h,previousPoint:p,originPoint:g,currentGrid:b,shiftKey:m,altKey:v,metaKey:w}}=this;if(o.isLocked)return;let k={},E=v?We.mul(We.sub(h,g),2):We.sub(h,g),S=this.app.getShape(o.id),T=rn.getShapeUtil(S),L=bt.getTransformedBoundingBox(s,a,E,S.rotation,m||S.isAspectRatioLocked||T.isAspectRatioLocked);v&&(L=mt(mt({},L),bt.centerBounds(L,bt.getBoundsCenter(s)))),u&&(L=mt(mt({},L),bt.snapBoundsToGrid(L,b)));let M=We.dist(h,p)-this.speed;this.speed=this.speed+M*(M>1?.5:.15);let D=[];if((l&&!w||!l&&w)&&!o.rotation&&this.speed*f.zoom<10&&this.snapInfo.state==="ready"){let B=bt.getSnapPoints(bt.getBoundsWithCenter(L),this.snapInfo.bounds.filter(N=>bt.boundsContain(d,N)||bt.boundsCollide(d,N)),5/f.zoom);B&&(D=B.snapLines,L=bt.getTransformedBoundingBox(s,a,We.sub(E,B.offset),S.rotation,m||S.isAspectRatioLocked||T.isAspectRatioLocked))}let I=rn.getShapeUtil(S).transformSingle(S,L,{initialShape:o,type:this.transformType,scaleX:L.scaleX,scaleY:L.scaleY,transformOrigin:[.5,.5]});return I&&(k[S.id]=I),u&&I&&I.point&&(I.point=We.snap(I.point,b)),{appState:{snapLines:D},document:{pages:{[c]:{shapes:k}}}}}),Ce(this,"cancel",()=>{let{initialShape:a,app:{currentPageId:o}}=this,s={};return this.isCreate?s[a.id]=void 0:s[a.id]=a,{appState:{snapLines:[]},document:{pages:{[o]:{shapes:s}},pageStates:{[o]:{selectedIds:this.isCreate?[]:[a.id]}}}}}),Ce(this,"complete",()=>{let{initialShape:a,app:{currentPageId:o}}=this;if(a.isLocked)return;if(this.isCreate&&We.dist(this.app.originPoint,this.app.currentPoint)<2)return this.cancel();let s={},l={};return s[a.id]=this.isCreate?void 0:a,l[a.id]=rn.onSessionComplete(this.app.getShape(a.id)),{id:"transform_single",before:{appState:{snapLines:[]},document:{pages:{[o]:{shapes:s}},pageStates:{[o]:{selectedIds:this.isCreate?[]:[a.id],editingId:void 0,hoveredId:void 0}}}},after:{appState:{snapLines:[]},document:{pages:{[o]:{shapes:l}},pageStates:{[o]:{selectedIds:[a.id],editingId:void 0,hoveredId:void 0}}}}}}),this.isCreate=r,this.transformType=n;let i=this.app.getShape(t);this.initialShape=i,this.initialShapeBounds=rn.getBounds(i),this.initialCommonBounds=rn.getRotatedBounds(i),this.app.rotationInfo.selectedIds=[i.id]}},gHn=class extends j0{constructor(t,n=!1,r=!1){super(t),Ce(this,"performanceMode"),Ce(this,"type","translate"),Ce(this,"status","translating"),Ce(this,"delta",[0,0]),Ce(this,"prev",[0,0]),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"cloneInfo",{state:"empty"}),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"snapLines",[]),Ce(this,"isCloning",!1),Ce(this,"isCreate"),Ce(this,"link"),Ce(this,"initialIds"),Ce(this,"hasUnlockedShapes"),Ce(this,"initialSelectedIds"),Ce(this,"initialCommonBounds"),Ce(this,"initialShapes"),Ce(this,"initialParentChildren"),Ce(this,"bindingsToDelete"),Ce(this,"start",()=>{let{bindingsToDelete:u,initialIds:c,app:{currentPageId:f,page:d}}=this,h=[],p=[];if(Object.values(d.shapes).forEach(m=>{let v=bt.getBoundsWithCenter(rn.getRotatedBounds(m));h.push(v),c.has(m.id)||p.push(v)}),this.snapInfo={state:"ready",bounds:h,others:p},u.length===0)return;let g={},b={};return u.forEach(m=>{g[m.id]=void 0;let v=this.app.getShape(m.fromId);b[m.fromId]={handles:Zt(mt({},v.handles),{[m.handleId]:Zt(mt({},v.handles[m.handleId]),{bindingId:void 0})})}}),{document:{pages:{[f]:{bindings:g,shapes:b}}}}}),Ce(this,"update",()=>{let{initialParentChildren:u,initialShapes:c,initialCommonBounds:f,bindingsToDelete:d,app:{pageState:{camera:h},settings:{isSnapping:p,showGrid:g},currentPageId:b,viewport:m,selectedIds:v,currentPoint:w,previousPoint:k,originPoint:E,altKey:S,shiftKey:T,metaKey:L,currentGrid:M}}=this,D={},I={},B={},N=We.sub(w,E),O=!1;this.isCreate||(S&&!this.isCloning?(this.isCloning=!0,O=!0):!S&&this.isCloning&&(this.isCloning=!1,O=!0)),T&&(Math.abs(N[0])1?.5:.15),this.snapLines=[],(p&&!L||!p&&L)&&this.speed*h.zoom<10&&this.snapInfo.state==="ready"){let P=bt.getSnapPoints(bt.getBoundsWithCenter(g?bt.snapBoundsToGrid(bt.translateBounds(f,N),M):bt.translateBounds(f,N)),(this.isCloning?this.snapInfo.bounds:this.snapInfo.others).filter(H=>bt.boundsContain(m,H)||bt.boundsCollide(m,H)),5/h.zoom);P&&(this.snapLines=P.snapLines,N=We.sub(N,P.offset))}if(this.prev=N,this.isCloning)if(O){if(this.cloneInfo.state==="empty"&&this.createCloneInfo(),this.cloneInfo.state==="empty")throw Error;let{clones:P,clonedBindings:H}=this.cloneInfo;this.isCloning=!0,d.forEach(F=>D[F.id]=F),c.forEach(F=>I[F.id]={point:F.point}),P.forEach(F=>{var q;if(I[F.id]=mt({},F),F.parentId!==b&&!v.includes(F.parentId)){let V=((q=I[F.parentId])==null?void 0:q.children)||u[F.parentId];V.includes(F.id)||(I[F.parentId]=Zt(mt({},I[F.parentId]),{children:[...V,F.id]}))}});for(let F of H)D[F.id]=F;B.selectedIds=P.map(F=>F.id),P.forEach(F=>{I[F.id]=Zt(mt({},F),{point:g?We.snap(We.toFixed(We.add(F.point,N)),M):We.toFixed(We.add(F.point,N))})})}else{if(this.cloneInfo.state==="empty")throw Error;let{clones:P}=this.cloneInfo;P.forEach(H=>{I[H.id]={point:g?We.snap(We.toFixed(We.add(H.point,N)),M):We.toFixed(We.add(H.point,N))}})}else if(O){if(this.cloneInfo.state==="empty")throw Error;let{clones:P,clonedBindings:H}=this.cloneInfo;this.isCloning=!1,d.forEach(F=>D[F.id]=void 0),P.forEach(F=>{F.parentId!==b&&(I[F.parentId]=Zt(mt({},I[F.parentId]),{children:u[F.parentId]}))}),P.forEach(F=>I[F.id]=void 0),c.forEach(F=>{I[F.id]={point:g?We.snap(We.toFixed(We.add(F.point,N)),M):We.toFixed(We.add(F.point,N))}});for(let F of H)D[F.id]=void 0;B.selectedIds=c.map(F=>F.id)}else c.forEach(P=>{I[P.id]={point:g?We.snap(We.toFixed(We.add(P.point,N)),M):We.toFixed(We.add(P.point,N))}});return{appState:{snapLines:this.snapLines},document:{pages:{[b]:{shapes:I,bindings:D}},pageStates:{[b]:B}}}}),Ce(this,"cancel",()=>{let{initialShapes:u,initialSelectedIds:c,bindingsToDelete:f,app:{currentPageId:d}}=this,h={},p={},g={editingId:void 0,hoveredId:void 0};if(this.isCreate?(u.forEach(({id:b})=>p[b]=void 0),g.selectedIds=[]):(u.forEach(({id:b,point:m,handles:v})=>p[b]=v?Zt(mt({},p[b]),{point:m,handles:v}):Zt(mt({},p[b]),{point:m})),g.selectedIds=c,f.forEach(b=>{h[b.id]=b})),this.cloneInfo.state==="ready"){let{clones:b,clonedBindings:m}=this.cloneInfo;b.forEach(v=>p[v.id]=void 0),m.forEach(v=>h[v.id]=void 0)}return{appState:{snapLines:[]},document:{pages:{[d]:{shapes:p,bindings:h}},pageStates:{[d]:g}}}}),Ce(this,"complete",()=>{let{initialShapes:u,initialParentChildren:c,bindingsToDelete:f,app:{currentPageId:d}}=this,h={},p={},g={},b={};if(this.isCloning){if(this.cloneInfo.state==="empty"&&this.createCloneInfo(),this.cloneInfo.state!=="ready")throw Error;let{clones:m,clonedBindings:v}=this.cloneInfo;m.forEach(w=>{p[w.id]=void 0,b[w.id]=this.app.getShape(w.id),w.parentId!==d&&(p[w.parentId]=Zt(mt({},p[w.parentId]),{children:c[w.parentId]}),b[w.parentId]=Zt(mt({},b[w.parentId]),{children:this.app.getShape(w.parentId).children}))}),v.forEach(w=>{h[w.id]=void 0,g[w.id]=this.app.getBinding(w.id)})}else u.forEach(m=>{p[m.id]=this.isCreate?void 0:Zt(mt({},p[m.id]),{point:m.point}),b[m.id]=mt(mt({},b[m.id]),this.isCreate?this.app.getShape(m.id):{point:this.app.getShape(m.id).point})});return f.forEach(m=>{var v,w,k,E,S;h[m.id]=m,p[m.fromId]=Zt(mt({},p[m.fromId]),{id:m.fromId,handles:Zt(mt({},(v=p[m.fromId])==null?void 0:v.handles),{[m.handleId]:Zt(mt({},(k=(w=p[m.fromId])==null?void 0:w.handles)==null?void 0:k[m.handleId]),{bindingId:m.id})})}),b[m.fromId]=Zt(mt({},b[m.fromId]),{id:m.fromId,handles:Zt(mt({},b[m.fromId].handles),{[m.handleId]:Zt(mt({},(S=(E=b[m.fromId])==null?void 0:E.handles)==null?void 0:S[m.handleId]),{bindingId:void 0})})})}),f.forEach(m=>g[m.id]=void 0),{id:"translate",before:{appState:{snapLines:[]},document:{pages:{[d]:{shapes:p,bindings:h}},pageStates:{[d]:{selectedIds:this.isCreate?[]:[...this.initialSelectedIds]}}}},after:{appState:{snapLines:[]},document:{pages:{[d]:{shapes:b,bindings:g}},pageStates:{[d]:{selectedIds:[...this.app.selectedIds]}}}}}}),Ce(this,"createCloneInfo",()=>{let{initialShapes:u,initialParentChildren:c,app:{selectedIds:f,currentPageId:d,page:h}}=this,p={},g={},b=[],m=[];u.forEach(w=>{let k=bt.uniqueId();c[k]=c[w.id],p[w.id]=k;let E=Zt(mt({},bt.deepClone(w)),{id:k,parentId:w.parentId,childIndex:rn.getChildIndexAbove(this.app.state,w.id,d)});if(E.type==="video"){let S=document.getElementById(w.id+"_video");S&&(E.currentTime=(S.currentTime+16)%S.duration)}m.push(E)}),m.forEach(w=>{w.children!==void 0&&(w.children=w.children.map(k=>p[k]))}),m.forEach(w=>{f.includes(w.parentId)&&(w.parentId=p[w.parentId])});let v=new Set(Object.keys(p));Object.values(h.bindings).filter(w=>v.has(w.fromId)||v.has(w.toId)).forEach(w=>{if(v.has(w.fromId)&&v.has(w.toId)){let k=bt.uniqueId(),E=Zt(mt({},bt.deepClone(w)),{id:k,fromId:p[w.fromId]||w.fromId,toId:p[w.toId]||w.toId});g[w.id]=k,b.push(E)}}),m.forEach(w=>{if(w.handles&&w.handles)for(let k in w.handles){let E=w.handles[k];E.bindingId=E.bindingId?g[E.bindingId]:void 0}}),m.forEach(w=>{if(h.shapes[w.id])throw Error("uh oh, we didn't clone correctly")}),this.cloneInfo={state:"ready",clones:m,cloneMap:p,clonedBindings:b}}),this.isCreate=n,this.link=r;let{currentPageId:i,selectedIds:a,page:o}=this.app;this.initialSelectedIds=[...a];let s=(r?rn.getLinkedShapeIds(this.app.state,i,r,!1):a).map(u=>this.app.getShape(u)).filter(u=>!u.isLocked),l=new Set(s.map(u=>u.id));this.hasUnlockedShapes=s.length>0,this.initialShapes=Array.from(new Set(s.filter(u=>!l.has(u.parentId)).flatMap(u=>u.children?[u,...u.children.map(c=>this.app.getShape(c))]:[u])).values()),this.initialIds=new Set(this.initialShapes.map(u=>u.id)),this.bindingsToDelete=[],Object.values(o.bindings).filter(u=>this.initialIds.has(u.fromId)||this.initialIds.has(u.toId)).forEach(u=>{this.initialIds.has(u.fromId)&&(this.initialIds.has(u.toId)||this.bindingsToDelete.push(u))}),this.initialParentChildren={},this.initialShapes.map(u=>u.parentId).filter(u=>u!==o.id).forEach(u=>{this.initialParentChildren[u]=this.app.getShape(u).children}),this.initialCommonBounds=bt.getCommonBounds(this.initialShapes.map(rn.getRotatedBounds)),this.app.rotationInfo.selectedIds=[...this.app.selectedIds]}},mHn={arrow:aHn,brush:oHn,draw:sHn,erase:uHn,handle:fHn,rotate:dHn,transform:hHn,transformSingle:pHn,translate:gHn,grid:cHn,edit:lHn},vHn=e=>mHn[e],k1=class extends Cjt{constructor(e){super(),this.app=e,Ce(this,"type","select"),Ce(this,"previous"),Ce(this,"status","idle"),Ce(this,"setStatus",t=>{this.status=t,this.app.setStatus(this.status)}),Ce(this,"onEnter",()=>{this.setStatus("idle")}),Ce(this,"onExit",()=>{this.setStatus("idle")}),Ce(this,"onCancel",()=>{this.status==="idle"?this.app.selectTool("select"):this.setStatus("idle"),this.app.cancelSession()}),Ce(this,"getNextChildIndex",()=>{let{shapes:t,appState:{currentPageId:n}}=this.app;return t.length===0?1:t.filter(r=>r.parentId===n).sort((r,i)=>i.childIndex-r.childIndex)[0].childIndex+1}),Ce(this,"onPinchStart",()=>{this.app.cancelSession(),this.setStatus("pinching")}),Ce(this,"onPinchEnd",()=>{bt.isMobileSafari()&&this.app.undoSelect(),this.setStatus("idle")}),Ce(this,"onPinch",(t,n)=>{var r;this.status==="pinching"&&(isNaN(t.delta[0])||isNaN(t.delta[1])||(this.app.pinchZoom(t.point,t.delta,t.delta[2]),(r=this.onPointerMove)==null||r.call(this,t,n)))}),Ce(this,"onKeyDown",t=>{if(t==="Escape"){this.onCancel();return}if(t==="Meta"||t==="Control"||t==="Alt"){this.app.updateSession();return}}),Ce(this,"onKeyUp",t=>{if(t==="Meta"||t==="Control"||t==="Alt"){this.app.updateSession();return}}),Ce(this,"onPointerMove",()=>{this.status==="creating"&&this.app.updateSession()}),Ce(this,"onPointerUp",()=>{if(this.status==="creating"){this.app.completeSession();let{isToolLocked:t}=this.app.appState;t||this.app.selectTool("select")}this.setStatus("idle")})}},yHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","arrow"),Ce(this,"onPointerDown",()=>{if(this.status!=="idle")return;let{currentPoint:t,currentGrid:n,settings:{showGrid:r},appState:{currentPageId:i,currentStyle:a}}=this.app,o=this.getNextChildIndex(),s=bt.uniqueId(),l=jhe.create({id:s,parentId:i,childIndex:o,point:r?bn.snap(t,n):t,style:mt({},a)});this.app.patchCreate([l]),this.app.startSession("arrow",l.id,"end",!0),this.setStatus("creating")})}},bHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","draw"),Ce(this,"lastShapeId"),Ce(this,"onEnter",()=>{this.lastShapeId=void 0}),Ce(this,"onCancel",()=>{switch(this.status){case"idle":{this.app.selectTool("select");break}default:{this.setStatus("idle");break}}this.app.cancelSession()}),Ce(this,"onPointerDown",e=>{if(this.status!=="idle"||this.app.readOnly)return;let{currentPoint:t,appState:{currentPageId:n,currentStyle:r}}=this.app,i=this.lastShapeId&&this.app.getShape(this.lastShapeId);if(e.shiftKey&&i)this.app.startSession("draw",i.id),this.setStatus("extending");else{let a=this.getNextChildIndex(),o=bt.uniqueId(),s=mVe.create({id:o,parentId:n,childIndex:a,point:t,style:mt({},r)});this.lastShapeId=o,this.app.patchCreate([s]),this.app.startSession("draw",o),this.setStatus("creating")}}),Ce(this,"onPointerMove",()=>{if(!this.app.readOnly)switch(this.status){case"extending":case"creating":this.app.updateSession()}}),Ce(this,"onPointerUp",()=>{this.app.completeSession(),this.setStatus("idle")})}},wHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","ellipse"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=gVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},kHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","erase"),Ce(this,"status","idle"),Ce(this,"onPointerDown",()=>{this.app.readOnly||this.status==="idle"&&this.setStatus("pointing")}),Ce(this,"onPointerMove",t=>{if(!this.app.readOnly)switch(this.status){case"pointing":{bn.dist(t.origin,t.point)>3&&(this.app.startSession("erase"),this.app.updateSession(),this.setStatus("erasing"));break}case"erasing":this.app.updateSession()}}),Ce(this,"onPointerUp",()=>{if(!this.app.readOnly){switch(this.status){case"pointing":{let t=this.app.shapes.filter(n=>!n.isLocked).filter(n=>this.app.getShapeUtil(n).hitTestPoint(n,this.app.currentPoint)).flatMap(n=>n.children?[n.id,...n.children]:n.id);this.app.delete(t);break}case"erasing":this.app.completeSession()}this.setStatus("idle")}}),Ce(this,"onCancel",()=>{this.status==="idle"?this.previous?this.app.selectTool(this.previous):this.app.selectTool("select"):this.setStatus("idle"),this.app.cancelSession()})}},_Hn=class extends k1{constructor(){super(...arguments),Ce(this,"type","line"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=jhe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,decorations:{start:void 0,end:void 0},style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("arrow",s.id,"end",!0),this.setStatus("creating")})}},CHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","rectangle"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=hVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},EHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","select"),Ce(this,"pointedId"),Ce(this,"selectedGroupId"),Ce(this,"pointedHandleId"),Ce(this,"pointedBoundsHandle"),Ce(this,"pointedLinkHandleId"),Ce(this,"onEnter",()=>{this.setStatus("idle")}),Ce(this,"onExit",()=>{this.setStatus("idle")}),Ce(this,"clonePaint",e=>{if(this.app.selectedIds.length===0)return;let t=this.app.selectedIds.map(s=>this.app.getShape(s)),n=bt.expandBounds(bt.getCommonBounds(t.map(rn.getBounds)),16),r=bt.getBoundsCenter(n),i=[n.width,n.height],a=[r[0]+i[0]*Math.floor((e[0]+i[0]/2-r[0])/i[0]),r[1]+i[1]*Math.floor((e[1]+i[1]/2-r[1])/i[1])],o=bt.centerBounds(n,a);this.app.shapes.some(s=>rn.getShapeUtil(s).hitTestBounds(s,o))||this.app.duplicate(this.app.selectedIds,a)}),Ce(this,"getShapeClone",(e,t)=>{let n=this.app.getShape(e),r=rn.getShapeUtil(n);if(r.canClone){let i=r.getBounds(n),a=r.getCenter(n),o={top:[i.minX,i.minY-(i.height+32)],right:[i.maxX+32,i.minY],bottom:[i.minX,i.maxY+32],left:[i.minX-(i.width+32),i.minY],topLeft:[i.minX-(i.width+32),i.minY-(i.height+32)],topRight:[i.maxX+32,i.minY-(i.height+32)],bottomLeft:[i.minX-(i.width+32),i.maxY+32],bottomRight:[i.maxX+32,i.maxY+32]}[t];if(n.rotation!==0){let u=bn.add(o,[i.width/2,i.height/2]),c=bn.rotWith(u,a,n.rotation||0);o=bn.sub(c,[i.width/2,i.height/2])}let s=bt.uniqueId(),l=Zt(mt({},n),{id:s,point:o});return l.type==="sticky"&&(l.text=""),l}}),Ce(this,"onCancel",()=>{this.app.session?this.app.cancelSession():this.selectNone(),this.setStatus("idle")}),Ce(this,"onKeyDown",(e,t,n)=>{switch(e){case"Escape":{this.onCancel();break}case"Tab":{if(this.app.readOnly)return;if(!this.app.pageState.editingId&&this.status==="idle"&&this.app.selectedIds.length===1){let[r]=this.app.selectedIds,i=this.getShapeClone(r,"right");i&&(this.app.createShapes(i),this.setStatus("idle"),i.type==="sticky"&&(this.app.select(i.id),this.app.setEditingId(i.id)))}break}case"Meta":case"Control":case"Alt":{this.app.updateSession();break}case"Enter":{if(this.app.readOnly)return;let{pageState:r}=this.app;r.selectedIds.length===1&&!r.editingId&&(this.app.setEditingId(r.selectedIds[0]),n.preventDefault())}}}),Ce(this,"onKeyUp",(e,t)=>{if(this.status==="clonePainting"&&!(t.altKey&&t.shiftKey)){this.setStatus("idle");return}if(e==="Meta"||e==="Control"||e==="Alt"){this.app.updateSession();return}}),Ce(this,"onPointerMove",()=>{let{originPoint:e,currentPoint:t}=this.app;if(this.app.readOnly&&this.app.isPointing){this.app.session?this.app.updateSession():bn.dist(e,t)>3&&(this.app.startSession("brush"),this.setStatus("brushing"));return}switch(this.status){case"pointingBoundsHandle":{if(!this.pointedBoundsHandle)throw Error("No pointed bounds handle");if(bn.dist(e,t)>3){if(this.pointedBoundsHandle==="rotate")this.setStatus("rotating"),this.app.startSession("rotate");else if(this.pointedBoundsHandle==="center"||this.pointedBoundsHandle==="left"||this.pointedBoundsHandle==="right")this.setStatus("translating"),this.app.startSession("translate",!1,this.pointedBoundsHandle);else{this.setStatus("transforming");let n=this.app.selectedIds.flatMap(r=>rn.getDocumentBranch(this.app.state,r,this.app.currentPageId));n.length===1?this.app.startSession("transformSingle",n[0],this.pointedBoundsHandle):this.app.startSession("transform",this.pointedBoundsHandle)}this.app.updateSession()}break}case"pointingCanvas":{bn.dist(e,t)>3&&(this.app.startSession("brush"),this.setStatus("brushing"));break}case"pointingClone":{bn.dist(e,t)>3&&(this.setStatus("translatingClone"),this.app.startSession("translate"),this.app.updateSession());break}case"pointingBounds":{bn.dist(e,t)>3&&(this.setStatus("translating"),this.app.startSession("translate"),this.app.updateSession());break}case"pointingHandle":{if(!this.pointedHandleId)throw Error("No pointed handle");if(bn.dist(e,t)>3){this.setStatus("translatingHandle");let n=this.app.getShape(this.app.selectedIds[0]);n&&(this.pointedHandleId==="bend"?(this.app.startSession("handle",n.id,this.pointedHandleId),this.app.updateSession()):(this.app.startSession("arrow",n.id,this.pointedHandleId,!1),this.app.updateSession()))}break}case"clonePainting":{this.clonePaint(t);break}default:if(this.app.session){this.app.updateSession();break}}}),Ce(this,"onPointerDown",(e,t)=>{if(e.target==="canvas"&&this.status==="idle"){let{currentPoint:n}=this.app;if(e.spaceKey&&t.buttons===1)return;if(this.status==="idle"&&e.altKey&&e.shiftKey){this.setStatus("clonePainting"),this.clonePaint(n);return}if(!e.shiftKey){if(this.app.onShapeBlur(),e.altKey&&this.app.selectedIds.length>0){this.app.duplicate(this.app.selectedIds,n);return}this.selectNone()}this.setStatus("pointingCanvas")}}),Ce(this,"onPointerUp",e=>{var t;if(this.status==="translatingClone"||this.status==="pointingClone"){this.pointedId&&(this.app.completeSession(),this.app.setEditingId(this.pointedId)),this.setStatus("idle"),this.pointedId=void 0;return}if(this.status==="pointingBounds"){if(e.target==="bounds")this.selectNone();else if(this.app.isSelected(e.target))e.shiftKey?this.pointedId!==e.target&&this.deselect(e.target):this.pointedId!==e.target&&this.app.selectedIds.length>1&&this.select(e.target);else if(this.pointedId===e.target){if(this.app.getShape(e.target).isLocked)return;e.shiftKey?this.pushSelect(e.target):this.select(e.target)}}this.setStatus("idle"),this.pointedBoundsHandle=void 0,this.pointedHandleId=void 0,this.pointedId=void 0,((t=this.app.session)==null?void 0:t.type)!=="edit"&&this.app.completeSession()}),Ce(this,"onDoubleClickCanvas",()=>{this.app.readOnly}),Ce(this,"onPointShape",(e,t)=>{if(e.spaceKey&&t.buttons===1||this.app.getShape(e.target).isLocked)return;let{editingId:n,hoveredId:r}=this.app.pageState;if(n&&e.target!==n&&this.app.onShapeBlur(),(this.status==="idle"||this.status==="pointingBounds")&&e.metaKey&&e.shiftKey&&r){this.pointedId=r,this.app.isSelected(r)?this.deselect(r):(this.pushSelect(r),this.setStatus("pointingBounds"));return}if(this.status==="pointingBounds"){let{parentId:i}=this.app.getShape(e.target);this.pointedId=i===this.app.currentPageId?e.target:i;return}if(this.status==="idle"){if(this.setStatus("pointingBounds"),e.metaKey){e.shiftKey||this.selectNone(),this.app.startSession("brush"),this.setStatus("brushing");return}let i,{parentId:a}=this.app.getShape(e.target);a===this.app.currentPageId?(i=e.target,this.selectedGroupId=void 0):a===this.selectedGroupId?i=e.target:(i=a,this.selectedGroupId=void 0),this.app.isSelected(i)||(this.pointedId=i,e.shiftKey?this.pushSelect(i):this.select(i))}}),Ce(this,"onDoubleClickShape",e=>{if(this.app.readOnly)return;let t=this.app.getShape(e.target);if(t.isLocked){this.app.select(e.target);return}rn.getShapeUtil(t.type).canEdit&&(t.parentId===this.app.currentPageId||t.parentId===this.selectedGroupId)&&this.app.setEditingId(e.target),t.parentId!==this.app.currentPageId&&(this.selectedGroupId=t.parentId),this.app.select(e.target)}),Ce(this,"onRightPointShape",e=>{this.app.isSelected(e.target)||this.app.select(e.target)}),Ce(this,"onHoverShape",e=>{this.app.setHoveredId(e.target)}),Ce(this,"onUnhoverShape",e=>{let{currentPageId:t}=this.app;requestAnimationFrame(()=>{t===this.app.currentPageId&&this.app.pageState.hoveredId===e.target&&this.app.setHoveredId(void 0)})}),Ce(this,"onPointBounds",e=>{if(e.metaKey){e.shiftKey||this.selectNone(),this.app.startSession("brush"),this.setStatus("brushing");return}this.setStatus("pointingBounds")}),Ce(this,"onRightPointBounds",(e,t)=>{t.stopPropagation()}),Ce(this,"onReleaseBounds",()=>{(this.status==="translating"||this.status==="brushing")&&this.app.completeSession(),this.setStatus("idle")}),Ce(this,"onPointBoundsHandle",e=>{this.pointedBoundsHandle=e.target,this.setStatus("pointingBoundsHandle")}),Ce(this,"onDoubleClickBoundsHandle",e=>{switch(e.target){case"center":case"left":case"right":{this.app.select(...rn.getLinkedShapeIds(this.app.state,this.app.currentPageId,e.target,e.shiftKey));break}default:if(this.app.selectedIds.length===1){this.app.resetBounds(this.app.selectedIds);let t=this.app.getShape(this.app.selectedIds[0]);"label"in t&&this.app.setEditingId(t.id)}}}),Ce(this,"onReleaseBoundsHandle",()=>{this.setStatus("idle")}),Ce(this,"onPointHandle",e=>{this.pointedHandleId=e.target,this.setStatus("pointingHandle")}),Ce(this,"onDoubleClickHandle",e=>{if(e.target==="bend"){let{selectedIds:t}=this.app;if(t.length!==1)return;let n=this.app.getShape(t[0]);rn.getShapeUtil(n.type).canEdit&&(n.parentId===this.app.currentPageId||n.parentId===this.selectedGroupId)&&this.app.setEditingId(n.id);return}this.app.toggleDecoration(e.target)}),Ce(this,"onReleaseHandle",()=>{this.setStatus("idle")}),Ce(this,"onShapeClone",e=>{let t=this.app.selectedIds[0],n=this.getShapeClone(t,e.target);e.target==="left"||e.target==="right"||e.target==="top"||e.target==="bottom"?n&&(this.app.createShapes(n),this.pointedId=n.id,this.setStatus("pointingClone")):(this.setStatus("gridCloning"),this.app.startSession("grid",t))})}deselect(e){this.app.select(...this.app.selectedIds.filter(t=>t!==e))}select(e){this.app.select(e)}pushSelect(e){let t=this.app.getShape(e);this.app.select(...this.app.selectedIds.filter(n=>n!==t.parentId),e)}selectNone(){this.app.selectNone()}},xHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","sticky"),Ce(this,"shapeId"),Ce(this,"onPointerDown",()=>{if(!this.app.readOnly){if(this.status==="creating"){this.setStatus("idle"),this.app.appState.isToolLocked||this.app.selectTool("select");return}if(this.status==="idle"){let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId();this.shapeId=o;let s=Uoe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)}),l=Uoe.getBounds(s);s.point=bn.sub(s.point,[l.width/2,l.height/2]),this.app.patchCreate([s]),this.app.startSession("translate"),this.setStatus("creating")}}}),Ce(this,"onPointerUp",()=>{this.app.readOnly||this.status==="creating"&&(this.setStatus("idle"),this.app.completeSession(),this.app.selectTool("select"),this.app.setEditingId(this.shapeId))})}},SHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","text"),Ce(this,"stopEditingShape",()=>{this.setStatus("idle"),this.app.appState.isToolLocked||this.app.selectTool("select")}),Ce(this,"onKeyUp",()=>{}),Ce(this,"onKeyDown",()=>{}),Ce(this,"onPointerDown",()=>{if(this.status==="creating"){this.stopEditingShape();return}if(this.status==="idle"){let{currentPoint:e,currentGrid:t,settings:{showGrid:n}}=this.app;this.app.createTextShapeAtPoint(n?bn.snap(e,t):e,void 0,!0),this.setStatus("creating");return}}),Ce(this,"onPointerUp",()=>{}),Ce(this,"onPointShape",e=>{if(this.app.readOnly)return;let t=this.app.getShape(e.target);t.type==="text"&&(this.setStatus("idle"),this.app.setEditingId(t.id))}),Ce(this,"onShapeBlur",()=>{this.app.readOnly||this.stopEditingShape()})}},AHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","triangle"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=pVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},lW=bt.uniqueId(),El=class extends Ojn{constructor(t,n={}){super(El.defaultState,t,El.version,(r,i,a)=>og(Zt(mt({},i),{document:Zt(mt(mt({},i.document),r.document),{version:a})}),El.version)),Ce(this,"callbacks",{}),Ce(this,"tools",{select:new EHn(this),erase:new kHn(this),text:new SHn(this),draw:new bHn(this),ellipse:new wHn(this),rectangle:new CHn(this),triangle:new AHn(this),line:new _Hn(this),arrow:new yHn(this),sticky:new xHn(this)}),Ce(this,"currentTool",this.tools.select),Ce(this,"session"),Ce(this,"readOnly",!1),Ce(this,"isDirty",!1),Ce(this,"isCreating",!1),Ce(this,"originPoint",[0,0]),Ce(this,"currentPoint",[0,0]),Ce(this,"previousPoint",[0,0]),Ce(this,"shiftKey",!1),Ce(this,"altKey",!1),Ce(this,"metaKey",!1),Ce(this,"ctrlKey",!1),Ce(this,"spaceKey",!1),Ce(this,"isPointing",!1),Ce(this,"isForcePanning",!1),Ce(this,"isErasingWithPen",!1),Ce(this,"isPastePrevented",!1),Ce(this,"editingStartTime",-1),Ce(this,"fileSystemHandle",null),Ce(this,"viewport",bt.getBoundsFromPoints([[0,0],[100,100]])),Ce(this,"rendererBounds",bt.getBoundsFromPoints([[0,0],[100,100]])),Ce(this,"selectHistory",{stack:[[]],pointer:0}),Ce(this,"clipboard"),Ce(this,"rotationInfo",{selectedIds:[],center:[0,0]}),Ce(this,"migrate",r=>og(r,El.version)),Ce(this,"onReady",()=>{var r,i;this.loadDocument(this.document),bVe().then(a=>{this.fileSystemHandle=a});try{this.patchState(Zt(mt({},og(this.state,El.version)),{appState:{status:"idle"}}))}catch(a){console.error("The data appears to be corrupted. Resetting!",a),localStorage.setItem(this.document.id+"_corrupted",JSON.stringify(this.document)),this.patchState(Zt(mt({},El.defaultState),{appState:Zt(mt({},El.defaultState.appState),{status:"idle"})}))}(i=(r=this.callbacks).onMount)==null||i.call(r,this)}),Ce(this,"cleanup",(r,i)=>{var a;let o=mt({},r);o.document!==i.document&&Object.entries(o.document.pages).forEach(([u,c])=>{if(c===void 0){delete o.document.pages[u],delete o.document.pageStates[u];return}let f=i.document.pages[u],d={};if(!f||c.shapes!==f.shapes||c.bindings!==f.bindings){c.shapes=mt({},c.shapes),c.bindings=mt({},c.bindings);let p=new Set;Object.entries(c.shapes).forEach(([m,v])=>{var w;let k;v?k=v.parentId:(k=(w=f?.shapes[m])==null?void 0:w.parentId,delete c.shapes[m]),c.id===o.appState.currentPageId&&f?.shapes[m]!==v&&(d[m]=v),k&&k!==u&&c.shapes[k]!==void 0&&p.add(c.shapes[k])}),Object.keys(c.bindings).forEach(m=>{c.bindings[m]||delete c.bindings[m]}),o.document.pages[u]=c;let g=rn.getRelatedBindings(o,Object.keys(d),u),b=new Set;g.forEach(m=>{if(!c.bindings[m.id])return;let v=c.shapes[m.toId],w=c.shapes[m.fromId];if(!(v&&w)){delete o.document.pages[u].bindings[m.id];return}if(b.has(w))return;let k=rn.updateArrowBindings(c,w);if(b.add(w),k){let E=mt(mt({},w),k);c.shapes[w.id]=E}}),p.forEach(m=>{if(!m)throw Error("no group!");let v=m.children.filter(k=>c.shapes[k]!==void 0),w=bt.getCommonBounds(v.map(k=>c.shapes[k]).filter(Boolean).map(k=>rn.getRotatedBounds(k)));c.shapes[m.id]=Zt(mt({},m),{point:[w.minX,w.minY],size:[w.width,w.height],children:v})})}let h=mt({},o.document.pageStates[u]);h.brush||delete h.brush,h.hoveredId&&!c.shapes[h.hoveredId]&&delete h.hoveredId,h.bindingId&&!c.bindings[h.bindingId]&&(rn.warn(`Could not find the binding of ${u}`),delete h.bindingId),h.editingId&&!c.shapes[h.editingId]&&(rn.warn("Could not find the editing shape!"),delete h.editingId),o.document.pageStates[u]=h}),Object.keys((a=o.document.assets)!=null?a:{}).forEach(u=>{var c,f;(c=o.document.assets)!=null&&c[u]||(f=o.document.assets)==null||delete f[u]});let s=o.appState.currentPageId,l=o.document.pageStates[s];if(o.room&&o.room!==i.room){let u=Zt(mt({},o.room),{users:mt({},o.room.users)});i.room&&Object.values(i.room.users).filter(Boolean).forEach(c=>{u.users[c.id]===void 0&&delete u.users[c.id]}),o.room=u}return o.room&&(o.room.users[o.room.userId]=Zt(mt({},o.room.users[o.room.userId]),{point:this.currentPoint,selectedIds:l.selectedIds})),this.readOnly&&(o.document.pages=i.document.pages),o}),Ce(this,"broadcastPatch",(r,i)=>{var a,o,s,l,u,c,f,d,h;let p={},g={},b={},m=(s=(o=(a=r?.document)==null?void 0:a.pages)==null?void 0:o[this.currentPageId])==null?void 0:s.shapes,v=(c=(u=(l=r?.document)==null?void 0:l.pages)==null?void 0:u[this.currentPageId])==null?void 0:c.bindings,w=(f=r?.document)==null?void 0:f.assets;m&&Object.keys(m).forEach(k=>{p[k]=this.getShape(k,this.currentPageId)}),v&&Object.keys(v).forEach(k=>{g[k]=this.getBinding(k,this.currentPageId)}),w&&Object.keys(w).forEach(k=>{b[k]=this.document.assets[k]}),(h=(d=this.callbacks).onChangePage)==null||h.call(d,this,p,g,b,i)}),Ce(this,"onPatch",(r,i,a)=>{var o,s,l,u,c,f;(this.callbacks.onChangePage&&((s=(o=i?.document)==null?void 0:o.pages)!=null&&s[this.currentPageId])||(l=i?.document)!=null&&l.assets)&&((u=i?.document)!=null&&u.assets||this.session&&this.session.type!=="brush"&&this.session.type!=="erase"&&this.session.type!=="draw")&&this.broadcastPatch(i,!1),(f=(c=this.callbacks).onPatch)==null||f.call(c,this,i,a)}),Ce(this,"onCommand",(r,i,a)=>{var o,s;this.clearSelectHistory(),this.isDirty=!0,(s=(o=this.callbacks).onCommand)==null||s.call(o,this,i,a)}),Ce(this,"onReplace",()=>{this.clearSelectHistory(),this.isDirty=!1}),Ce(this,"onUndo",()=>{var r,i;this.rotationInfo.selectedIds=[...this.selectedIds],(i=(r=this.callbacks).onUndo)==null||i.call(r,this)}),Ce(this,"onRedo",()=>{var r,i;this.rotationInfo.selectedIds=[...this.selectedIds],(i=(r=this.callbacks).onRedo)==null||i.call(r,this)}),Ce(this,"onPersist",(r,i)=>{var a,o;(o=(a=this.callbacks).onPersist)==null||o.call(a,this),this.broadcastPatch(i,!0)}),Ce(this,"prevSelectedIds",this.selectedIds),Ce(this,"onStateDidChange",(r,i)=>{var a,o,s,l;(o=(a=this.callbacks).onChange)==null||o.call(a,this,i),this.room&&this.selectedIds!==this.prevSelectedIds&&((l=(s=this.callbacks).onChangePresence)==null||l.call(s,this,Zt(mt({},this.room.users[this.room.userId]),{selectedIds:this.selectedIds,session:!!this.session})),this.prevSelectedIds=this.selectedIds)}),Ce(this,"preventPaste",()=>{if(this.isPastePrevented)return;let r=a=>a.stopImmediatePropagation(),i=()=>{setTimeout(()=>{document.removeEventListener("paste",r,{capture:!0}),this.isPastePrevented=!1},50)};document.addEventListener("paste",r,{capture:!0}),window.addEventListener("pointerup",i,{once:!0}),this.isPastePrevented=!0}),Ce(this,"justSent",!1),Ce(this,"getReservedContent",(r,i=this.currentPageId)=>{let{bindings:a}=this.document.pages[i],o={},s={},l=Object.values(a),u=new Map(l.map(g=>[g.toId,g])),c=new Map(l.map(g=>[g.fromId,g])),f=[u,c],d=[];this.session&&r.forEach(g=>d.push(g)),this.pageState.editingId&&d.push(this.pageState.editingId);let h=new Set(d),p=new Set;for(;d.length>0;){let g=d.pop();if(!g)break;if(p.has(g))continue;p.add(g);let b=this.getShape(g);o[g]=b,b.parentId!==i&&d.push(b.parentId),b.children&&d.push(...b.children),f.map(m=>m.get(b.id)).filter(Boolean).forEach(m=>{s[m.id]=m,d.push(m.toId,m.fromId)})}return{reservedShapes:o,reservedBindings:s,strongReservedShapeIds:h}}),Ce(this,"replacePageContent",(r,i,a,o=this.currentPageId)=>{if(this.justSent)return this.justSent=!1,this;let s=this.document.pages[this.currentPageId];return Object.values(r).forEach(l=>{l.parentId!==o&&!(s.shapes[l.parentId]||r[l.parentId])&&(console.warn("Added a shape without a parent on the page"),l.parentId=o)}),this.useStore.setState(l=>{let{hoveredId:u,editingId:c,bindingId:f,selectedIds:d}=l.document.pageStates[o],h=[...d],p=c&&l.document.pages[this.currentPageId].shapes[c];p&&h.push(p.id);let{reservedShapes:g,reservedBindings:b,strongReservedShapeIds:m}=this.getReservedContent(h,this.currentPageId);Object.values(g).filter(M=>!("text"in M)).forEach(M=>{let D=r[M.id];if(D){if(!(M.type==="arrow"||m.has(M.id))){r[M.id]=D;return}"decorations"in D&&"decorations"in M&&(r[M.id]=Zt(mt({},M),{decorations:D.decorations})),M.style=D.style}});let v=mt(mt({},r),g);p&&(v[p.id]=p);let w=mt(mt({},i),b),k=mt({},a),E=Zt(mt({},l),{document:Zt(mt({},l.document),{pages:{[o]:Zt(mt({},l.document.pages[o]),{shapes:v,bindings:w})},assets:k,pageStates:Zt(mt({},l.document.pageStates),{[o]:Zt(mt({},l.document.pageStates[o]),{selectedIds:d.filter(M=>v[M]!==void 0),hoveredId:u?v[u]===void 0?void 0:u:void 0,editingId:c,bindingId:f?w[f]===void 0?void 0:f:void 0})})})}),S=E.document.pages[o],T=rn.getRelatedBindings(E,Object.keys(v),o),L=new Set;return T.forEach(M=>{if(!S.bindings[M.id])return;let D=S.shapes[M.fromId];if(L.has(D))return;let I=rn.updateArrowBindings(S,D);if(L.add(D),I){let B=mt(mt({},D),I);S.shapes[D.id]=B}}),Object.values(v).forEach(M=>{if(M.type!=="group")return;let D=M.children.filter(B=>S.shapes[B]!==void 0),I=bt.getCommonBounds(D.map(B=>S.shapes[B]).filter(Boolean).map(B=>rn.getRotatedBounds(B)));S.shapes[M.id]=Zt(mt({},M),{point:[I.minX,I.minY],size:[I.width,I.height],children:D})}),this.state.document=E.document,E},!0),this}),Ce(this,"updateBounds",r=>{this.rendererBounds=r;let{point:i,zoom:a}=this.camera;this.updateViewport(i,a),!this.readOnly&&this.session&&this.session.update()}),Ce(this,"updateViewport",(r,i)=>{let{width:a,height:o}=this.rendererBounds,[s,l]=We.sub(We.div([0,0],i),r),[u,c]=We.sub(We.div([a,o],i),r);this.viewport={minX:s,minY:l,maxX:u,maxY:c,width:u-s,height:c-l}}),Ce(this,"setEditingId",(r,i=!1)=>{if(!this.readOnly){if(r)this.startSession("edit",r,i);else{if(!this.pageState.editingId)return;this.completeSession()}this.editingStartTime=performance.now(),this.patchState({document:{pageStates:{[this.currentPageId]:{editingId:r}}}},"set_editing_id")}}),Ce(this,"setHoveredId",r=>{this.patchState({document:{pageStates:{[this.currentPageId]:{hoveredId:r}}}},"set_hovered_id")}),Ce(this,"setSetting",(r,i)=>{if(this.session)return this;let a={settings:{[r]:typeof i=="function"?i(this.settings[r]):i}};return this.patchState(a,`settings:${r}`),this.persist(a),this}),Ce(this,"toggleFocusMode",()=>{if(this.session)return this;let r={settings:{isFocusMode:!this.settings.isFocusMode}};return this.patchState(r,"settings:toggled_focus_mode"),this.persist(r),this}),Ce(this,"togglePenMode",()=>{if(this.session)return this;let r={settings:{isPenMode:!this.settings.isPenMode}};return this.patchState(r,"settings:toggled_pen_mode"),this.persist(r),this}),Ce(this,"toggleDarkMode",()=>{if(this.session)return this;let r={settings:{isDarkMode:!this.settings.isDarkMode}};return this.patchState(r,"settings:toggled_dark_mode"),this.persist(r),this}),Ce(this,"toggleZoomSnap",()=>{if(this.session)return this;let r={settings:{isZoomSnap:!this.settings.isZoomSnap}};return this.patchState(r,"settings:toggled_zoom_snap"),this.persist(r),this}),Ce(this,"toggleDebugMode",()=>{if(this.session)return this;let r={settings:{isDebugMode:!this.settings.isDebugMode}};return this.patchState(r,"settings:toggled_debug"),this.persist(r),this}),Ce(this,"setMenuOpen",r=>{let i={appState:{isMenuOpen:r}};return this.patchState(i,"ui:toggled_menu_opened"),this.persist(i),this}),Ce(this,"setIsLoading",r=>{let i={appState:{isLoading:r}};return this.patchState(i,"ui:toggled_is_loading"),this.persist(i),this}),Ce(this,"setDisableAssets",r=>(this.patchState({appState:{disableAssets:r}},"ui:toggled_disable_images"),this)),Ce(this,"toggleGrid",()=>{if(this.session)return this;let r={settings:{showGrid:!this.settings.showGrid}};return this.patchState(r,"settings:toggled_grid"),this.persist(r),this}),Ce(this,"selectTool",r=>{if(this.readOnly||this.session)return this;this.isPointing=!1;let i=this.tools[r];return i===this.currentTool?(this.patchState({appState:{isToolLocked:!1}}),this):(this.currentTool.onExit(),i.previous=this.currentTool.type,this.currentTool=i,this.currentTool.onEnter(),this.patchState({appState:{activeTool:r,isToolLocked:!1}},`selected_tool:${r}`))}),Ce(this,"toggleToolLock",()=>this.session?this:this.patchState({appState:{isToolLocked:!this.appState.isToolLocked}},"toggled_tool_lock")),Ce(this,"resetDocument",()=>{if(this.session)return this;this.session=void 0,this.currentTool=this.tools.select;let r=El.defaultDocument;return r.pages.page.name="Page 1",this.resetHistory().clearSelectHistory().loadDocument(El.defaultDocument).persist({}),this}),Ce(this,"updateUsers",(r,i=!1)=>{this.patchState({room:{users:Object.fromEntries(r.map(a=>[a.id,a]))}},i?"room:self:update":"room:user:update")}),Ce(this,"removeUser",r=>{this.patchState({room:{users:{[r]:void 0}}})}),Ce(this,"mergeDocument",r=>{if(this.document.id!==r.id)return this.replaceState(Zt(mt({},og(Zt(mt({},this.state),{document:r}),El.version)),{appState:Zt(mt({},this.appState),{currentPageId:Object.keys(r.pages)[0]})})),this;let i=mt({},this.document.pageStates),a=Zt(mt({},this.appState),{currentPageId:r.pages[this.currentPageId]?this.currentPageId:Object.keys(r.pages)[0],pages:Object.values(r.pages).map((s,l)=>({id:s.id,name:s.name,childIndex:s.childIndex||l}))});this.resetHistory(),Object.keys(this.document.pages).forEach(s=>{r.pages[s]||(s===this.appState.currentPageId&&(this.cancelSession(),this.selectNone()),i[s]=void 0)}),this.session&&this.selectedIds.filter(s=>!r.pages[this.currentPageId].shapes[s]).forEach(s=>r.pages[this.currentPageId].shapes[s]=this.page.shapes[s]),Object.entries(i).forEach(([s,l])=>{l.selectedIds=l.selectedIds.filter(u=>!!r.pages[s].shapes[u])});let{editingId:o}=this.pageState;return o&&(r.pages[this.currentPageId].shapes[o]=this.page.shapes[o],i[this.currentPageId].selectedIds=[o]),this.replaceState(Zt(mt({},og(Zt(mt({},this.state),{document:Zt(mt({},r),{pageStates:i})}),El.version)),{appState:a}),"merge")}),Ce(this,"updateDocument",(r,i="updated_document")=>{let a=this.state,o=Zt(mt({},a),{document:Zt(mt({},a.document),{assets:r.assets})});r.pages[this.currentPageId]||(o.appState=Zt(mt({},a.appState),{currentPageId:Object.keys(r.pages)[0]}));let s=1;for(let l of Object.values(r.pages))l!==a.document.pages[l.id]&&(o.document.pages[l.id]=l,l.name||(o.document.pages[l.id].name=`Page ${s+1}`,s++));for(let l of Object.values(r.pageStates))if(l!==a.document.pageStates[l.id]){o.document.pageStates[l.id]=l;let u=r.pages[l.id],c=["bindingId","editingId","hoveredId","pointedId"];for(let f of c)u.shapes[f]||(l[f]=void 0);l.selectedIds=l.selectedIds.filter(f=>!!r.pages[u.id].shapes[f])}return this.replaceState(og(o,o.document.version||0),`${i}:${r.id}`)}),Ce(this,"loadRoom",r=>(this.patchState({room:{id:r,userId:lW,users:{[lW]:{id:lW,color:zwe[Math.floor(Math.random()*zwe.length)],point:[100,100],selectedIds:[],activeShapes:[]}}}}),this)),Ce(this,"loadDocument",r=>{this.setIsLoading(!0),this.selectNone(),this.resetHistory(),this.clearSelectHistory(),this.session=void 0;let i=Zt(mt({},El.defaultState),{settings:mt({},this.state.settings),document:r,appState:Zt(mt(mt({},El.defaultState.appState),this.state.appState),{currentPageId:Object.keys(r.pages)[0],disableAssets:this.disableAssets})});this.replaceState(og(i,El.version),"loaded_document");let{point:a,zoom:o}=this.camera;return this.updateViewport(a,o),this.setIsLoading(!1),this}),Ce(this,"loadPageFromURL",(r,i)=>{let a=r.id,o=Zt(mt({},this.state.document),{pageStates:Zt(mt({},this.state.document.pageStates),{[a]:i}),pages:Zt(mt({},this.document.pages),{[a]:r})});this.loadDocument(o),this.persist({})}),Ce(this,"newProject",()=>{!this.isLocal||(this.fileSystemHandle=null,this.resetDocument())}),Ce(this,"saveProject",()=>ai(this,null,function*(){if(this.readOnly)return;let r=yield joe(og(this.state,El.version).document,this.fileSystemHandle);return this.fileSystemHandle=r,this.persist({}),this.isDirty=!1,this})),Ce(this,"saveProjectAs",r=>ai(this,null,function*(){try{let i=yield joe(this.document,null,r);this.fileSystemHandle=i,this.persist({}),this.isDirty=!1}catch(i){console.error(i.message)}return this})),Ce(this,"openProject",()=>ai(this,null,function*(){if(this.isLocal)try{let r=yield wVe();if(!r)throw Error();let{fileHandle:i,document:a}=r;this.loadDocument(a),this.fileSystemHandle=i,this.zoomToFit(),this.persist({})}catch(r){console.error(r)}finally{this.persist({})}})),Ce(this,"openAsset",()=>ai(this,null,function*(){if(!this.disableAssets)try{let r=yield kVe();if(Array.isArray(r))this.addMediaFromFiles(r,this.centerPoint);else{if(!r)return;this.addMediaFromFiles([r])}}catch(r){console.error(r)}finally{this.persist({})}})),Ce(this,"signOut",()=>{}),Ce(this,"getAppState",()=>this.appState),Ce(this,"getPage",(r=this.currentPageId)=>rn.getPage(this.state,r||this.currentPageId)),Ce(this,"getShapes",(r=this.currentPageId)=>rn.getShapes(this.state,r||this.currentPageId)),Ce(this,"getBindings",(r=this.currentPageId)=>rn.getBindings(this.state,r||this.currentPageId)),Ce(this,"getShape",(r,i=this.currentPageId)=>rn.getShape(this.state,r,i)),Ce(this,"getShapeBounds",(r,i=this.currentPageId)=>rn.getBounds(this.getShape(r,i))),Ce(this,"getBinding",(r,i=this.currentPageId)=>rn.getBinding(this.state,r,i)),Ce(this,"getPageState",(r=this.currentPageId)=>rn.getPageState(this.state,r||this.currentPageId)),Ce(this,"getPagePoint",(r,i=this.currentPageId)=>{let{camera:a}=this.getPageState(i);return We.sub(We.div(r,a.zoom),a.point)}),Ce(this,"createPage",(r,i)=>{if(this.readOnly)return this;let{width:a,height:o}=this.rendererBounds;return this.setState(Njn(this,[-a/2,-o/2],r,i))}),Ce(this,"changePage",r=>this.setState(Bjn(this,r))),Ce(this,"movePage",(r,i)=>this.readOnly?this:this.setState(Vjn(this,r,i))),Ce(this,"renamePage",(r,i)=>this.readOnly?this:this.setState(Kjn(this,r,i))),Ce(this,"duplicatePage",r=>this.readOnly?this:this.setState(Hjn(this,r))),Ce(this,"deletePage",r=>this.readOnly?this:Object.values(this.document.pages).length<=1?this:this.setState($jn(this,r||this.currentPageId))),Ce(this,"cut",(r=this.selectedIds,i)=>(i?.preventDefault(),this.copy(r,i),this.readOnly||this.delete(r),this)),Ce(this,"copy",(r=this.selectedIds,i)=>{var a;i?.preventDefault(),this.clipboard=this.getContent(r);let o=`${JSON.stringify(mt({type:"tldr/clipboard",shapes:[],assets:[],bindings:[]},this.clipboard))}`;return Mjn(o),i&&((a=i.clipboardData)==null||a.setData("text/html",o)),navigator.clipboard&&window.ClipboardItem&&navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([o],{type:"text/html"})})]),this}),Ce(this,"paste",(r,i)=>ai(this,null,function*(){var a,o;if(this.readOnly)return;let s=[],l=[],u,c=h=>ai(this,null,function*(){let p=document.createElement("div");p.innerHTML=h;let g=p.firstChild;g.style.setProperty("background-color","transparent");let b=yield rn.getImageForSvg(g,"svg",{scale:1,quality:1});if(b){let m=new File([b],"image.svg");s.push(m)}else f(h)}),f=h=>{let p=this.getPagePoint(r??this.centerPoint,this.currentPageId),g=h.includes(` -`);l.push(rn.getShapeUtil("text").getShape({id:bt.uniqueId(),type:"text",parentId:this.appState.currentPageId,text:rn.normalizeText(h.trim()),point:p,style:Zt(mt({},this.appState.currentStyle),{textAlign:g?"start":this.appState.currentStyle.textAlign})}))},d=h=>{var p;try{let g=(p=h.match(/(.*)<\/tldraw>/))==null?void 0:p[1];if(!g)return;let b=JSON.parse(g);if(b.type==="tldr/clipboard"){u=b;return}else throw Error("Not tldraw data!")}catch{f(h)}};if(i!==void 0){let h=Array.from((o=(a=i.clipboardData)==null?void 0:a.items)!=null?o:[]);yield Promise.all(h.map(p=>ai(this,null,function*(){var g;let{type:b,kind:m}=p;switch(m){case"string":{let v=yield new Promise(w=>p.getAsString(w));switch(b){case"text/html":{if((g=v.match(/(.*)<\/tldraw>/))!=null&&g[1]){d(v);return}break}case"text/plain":{v.startsWith("{let m=rn.getBounds(g);b===0&&(p[0]-=m.width/2,p[1]-=m.height/2),g.point=[...p],p[0]+=m.width}),this.createShapes(...l),this}return this.clipboard?this.insertContent(this.clipboard):Rjn().then(h=>{h&&d(h)}),this})),Ce(this,"getSvg",(...r)=>ai(this,[...r],function*(i=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes),a={}){if(i.length===0)return;let o=document.createElementNS("http://www.w3.org/2000/svg","svg"),s=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","style");if(typeof window<"u"&&window.focus(),a.includeFonts)try{let{fonts:g}=yield fetch(El.assetSrc,{mode:"no-cors"}).then(b=>b.json());l.textContent=` +`)}static assertShapeHasProperty(e,t){if(e[t]===void 0)throw new Error}static warn(e){}static error(e){}static getSvgString(e,t=1){let n=e.cloneNode(!0);return e.setAttribute("width",+e.getAttribute("width")*t+""),e.setAttribute("height",+e.getAttribute("height")*t+""),new XMLSerializer().serializeToString(n).replaceAll(" ","").replaceAll(/((\s|")[0-9]*\.[0-9]{2})([0-9]*)(\b|"|\))/g,"$1")}static getSvgAsDataUrl(e,t=1){let n=Wr.getSvgString(e,t);return`data:image/svg+xml;base64,${window.btoa(unescape(n))}`}static getImageForSvg(e){return ai(this,arguments,function*(t,n="png",r={}){let{scale:i=2,quality:a=1}=r,o=Wr.getSvgString(t,i);if(!o)return;let s=yield new Promise(l=>{let u=new Image;u.crossOrigin="anonymous";let c=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(o)))}`;u.onload=()=>{let f=document.createElement("canvas"),d=f.getContext("2d"),h=u.width,p=u.height;f.width=h,f.height=p,d.drawImage(u,0,0,h,p),URL.revokeObjectURL(c),l(f)},u.onerror=()=>{console.warn("Could not convert that SVG to an image.")},u.src=c});return yield new Promise(l=>s.toBlob(u=>l(u),"image/"+n,a))})}},rn=Wr;Ce(rn,"copyStringToClipboard",e=>{try{navigator.clipboard&&navigator.clipboard.write([new ClipboardItem({"text/plain":new Blob([e],{type:"text/plain"})})])}catch{let n=document.createElement("textarea");n.setAttribute("position","fixed"),n.setAttribute("top","0"),n.setAttribute("readonly","true"),n.setAttribute("contenteditable","true"),n.style.position="fixed",n.value=e,document.body.appendChild(n),n.focus(),n.select();try{let r=document.createRange();r.selectNodeContents(n);let i=window.getSelection();i&&(i.removeAllRanges(),i.addRange(r),n.setSelectionRange(0,n.value.length)),document.execCommand("copy")}catch{}finally{document.body.removeChild(n)}}}),Ce(rn,"flattenShape",(e,t)=>{var n;return[t,...((n=t.children)!=null?n:[]).map(r=>Wr.getShape(e,r,e.appState.currentPageId)).sort((r,i)=>r.childIndex-i.childIndex).flatMap(r=>Wr.flattenShape(e,r))]}),Ce(rn,"flattenPage",(e,t)=>Object.values(e.document.pages[t].shapes).sort((n,r)=>n.childIndex-r.childIndex).reduce((n,r)=>[...n,...Wr.flattenShape(e,r)],[])),Ce(rn,"getTopChildIndex",(e,t)=>{let n=Wr.getShapes(e,t);return n.length===0?1:n.filter(r=>r.parentId===t).sort((r,i)=>i.childIndex-r.childIndex)[0].childIndex+1}),Ce(rn,"fixNewLines",/\r?\n|\r/g);var JUn=e=>e.room,ZUn=function(){let e=Xa(),t=e.useStore(JUn),[n,r]=C.useState(!1),i=C.useRef(0),a=C.useCallback(()=>{r(!0),rn.copyStringToClipboard(window.location.href),clearTimeout(i.current),i.current=setTimeout(()=>r(!1),1200)},[]),o=C.useCallback(()=>{r(!0);let u=window.location.href.split("/");u[u.length-2]="v",u[u.length-1]=bt.lns(u[u.length-1]),rn.copyStringToClipboard(u.join("/")),clearTimeout(i.current),i.current=setTimeout(()=>r(!1),1200)},[]),s=C.useCallback(()=>ai(this,null,function*(){e.isDirty?e.fileSystemHandle?window.confirm("Do you want to save changes to your current project?")&&(yield e.saveProject()):window.confirm("Do you want to save your current project?")&&(yield e.saveProject()):e.fileSystemHandle||window.confirm("Do you want to save your current project?")&&(yield e.saveProject())}),[]),l=C.useCallback(()=>ai(this,null,function*(){var u;let c=bt.deepClone(e.document);e.setIsLoading(!0);try{if(e.callbacks.onAssetUpload)for(let d in c.assets){let h=c.assets[d];if(h.src.includes("base64")){let p=QUn(h.src,((u=h.fileName)!=null?u:h.type==="video")?"image.png":"image.mp4"),g=yield e.callbacks.onAssetUpload(e,p,d);g?h.src=g:h.src=""}}let f=yield fetch("/api/create",{method:"POST",mode:"no-cors",headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},body:JSON.stringify({roomId:bt.uniqueId(),pageId:e.currentPageId,document:c})}).then(d=>d.json());f?.url?window.location.href=f.url:rn.warn(f?.message)}catch(f){rn.warn(f.message)}e.setIsLoading(!1)}),[]);return C.createElement(V2,{dir:"ltr"},C.createElement(QGe,{id:"TD-MultiplayerMenuIcon",isActive:!!t},C.createElement(Azn,null)),C.createElement(E3,{variant:"menu",id:"TD-MultiplayerMenu",side:"bottom",align:"start",sideOffset:4},C.createElement(Yi,{id:"TD-Multiplayer-CopyInviteLink",onClick:a,disabled:!t},C.createElement(tr,{id:"copy.invite.link"}),C.createElement(L0,null,n?C.createElement(aB,null):C.createElement(fwe,null))),C.createElement(Yi,{id:"TD-Multiplayer-CopyReadOnlyLink",onClick:o,disabled:!t},C.createElement(tr,{id:"copy.readonly.link"}),C.createElement(L0,null,n?C.createElement(aB,null):C.createElement(fwe,null))),C.createElement(Fs,null),C.createElement(Yi,{id:"TD-Multiplayer-CreateMultiplayerProject",onClick:s},C.createElement("a",{href:`${window.location.origin}/r`},C.createElement(tr,{id:"create.multiplayer.project"}))),C.createElement(Yi,{id:"TD-Multiplayer-CopyToMultiplayerProject",onClick:l},C.createElement(tr,{id:"copy.multiplayer.project"}))))};function QUn(e,t){var n,r;let i=e.split(","),a=(r=(n=i[0])==null?void 0:n.match(/:(.*?);/))==null?void 0:r[1],o=window.atob(i[1]),s=o.length,l=new Uint8Array(s);for(;s--;)l[s]=o.charCodeAt(s);return new File([l],t,{type:a})}var ejn=e=>Object.keys(e.document.pages).length>1;function tjn({page:e,onOpen:t,onClose:n}){let r=Xa(),i=Jl(),[a,o]=C.useState(!1),[s,l]=C.useState(e.name||"Page"),u=r.useStore(ejn),c=C.useRef(null),f=C.useCallback(()=>{o(!1)},[]),d=C.useCallback(()=>{r.duplicatePage(e.id)},[r]),h=C.useCallback(()=>{window.confirm("Are you sure you want to delete this page?")&&r.deletePage(e.id)},[r]),p=C.useCallback(S=>{if(o(S),S){t?.();return}},[r]);function g(S){S.stopPropagation()}let b=C.useRef(e.name||"Page"),m=C.useRef(b.current),v=C.useCallback(S=>{let T=S.target.value.trimStart();m.current=T,l(T)},[]),w=C.useCallback(S=>{switch(S.key){case"Enter":{m.current===b.current||(b.current=m.current,r.renamePage(e.id,m.current.trim())),o(!1);break}case"Escape":{if(m.current===b.current){o(!1);return}m.current=b.current,l(b.current),requestAnimationFrame(()=>{let T=c.current;T&&(T.focus(),T.setSelectionRange(0,T.value.length))});break}}},[]),k=C.useRef(!1);C.useEffect(()=>(a?(k.current=!0,b.current=e.name||"Page",m.current=b.current,requestAnimationFrame(()=>{let S=c.current;S&&(S.focus(),S.setSelectionRange(0,S.value.length))})):k.current&&n?.(),()=>{m.current!==b.current&&(b.current=m.current,r.renamePage(e.id,m.current))}),[a]);let E=X2();return C.createElement(xhe,{open:a,onOpenChange:p},C.createElement(vUt,{asChild:!0,"data-shy":"true"},C.createElement(Fhe,{bp:sh},C.createElement(L0,null,C.createElement(vFt,null)))),C.createElement(She,{container:E.current},C.createElement(rjn,{onPointerDown:f}),C.createElement(njn,{dir:"ltr",onKeyDown:g,onKeyUp:g},C.createElement(ZGe,{ref:c,placeholder:i.formatMessage({id:"page.name"}),value:s,onChange:v,onKeyDown:w,icon:C.createElement(ghe,null)}),C.createElement(Fs,null),C.createElement(Ywe,{onSelect:d},C.createElement(tr,{id:"duplicate"})),C.createElement(Ywe,{disabled:!u,onSelect:h},C.createElement(tr,{id:"delete"})),C.createElement(Fs,null),C.createElement(bGe,{asChild:!0},C.createElement(Ic,null,C.createElement(tr,{id:"cancel"}))))))}var njn=Hn(Ahe,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",minWidth:240,maxWidth:"fit-content",maxHeight:"85vh",marginTop:"-5vh",pointerEvents:"all",backgroundColor:"$panel",padding:"$1",borderRadius:"$2",font:"$ui",zIndex:999999,"&:focus":{outline:"none"}}),rjn=Hn(I$,{backgroundColor:"rgba(0, 0, 0, .15)",position:"absolute",pointerEvents:"all",inset:0,zIndex:999998});function Ywe(e){var t=e,{onSelect:n}=t,r=Rh(t,["onSelect"]);return C.createElement(sB,{asChild:!0,onClick:n,onSelect:n},C.createElement(Ic,mt({},r)))}var ijn=e=>Object.values(e.document.pages).sort((t,n)=>(t.childIndex||0)-(n.childIndex||0)),ajn=e=>e.document.pages[e.appState.currentPageId].name,ojn=e=>e.document.pages[e.appState.currentPageId].id;function sjn(){let e=Xa(),t=Jl(),n=C.useRef(!1),[r,i]=C.useState(!1);C.useEffect(()=>{n.current!==r&&(n.current=r)},[r]);let a=C.useCallback(()=>{i(!1)},[i]),o=C.useCallback(l=>{n.current!==l&&i(l)},[i]),s=e.useStore(ajn);return C.createElement(V2,{dir:"ltr",open:r,onOpenChange:o},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Page"},C.createElement(Ea,{variant:"text"},s||t.formatMessage({id:"page"}))),C.createElement(E3,{variant:"menu",align:"start",sideOffset:4},r&&C.createElement(ljn,{onClose:a})))}function ljn({onClose:e}){let t=Xa(),n=Jl(),r=t.useStore(ijn),i=t.useStore(ojn),a=n.formatMessage({id:"page"}),o=C.useCallback(()=>{let g=a+" "+(Object.keys(t.document.pages).length+1);t.createPage(void 0,g)},[t]),s=C.useCallback(g=>{e(),t.changePage(g)},[t]),[l,u]=C.useState(null),[c,f]=C.useState(null),d=C.useCallback(g=>{u(g.currentTarget.id),f(r.findIndex(b=>b.id===g.currentTarget.id)),g.dataTransfer.effectAllowed="move"},[]),h=C.useCallback(g=>{g.preventDefault();let b=r.findIndex(v=>v.id===g.currentTarget.id),m=g.currentTarget.getBoundingClientRect();b=(g.clientY-m.top)/m.height<.5?b:b+1,f(b)},[l,r]),p=C.useCallback(()=>{l!==null&&c!==null&&t.movePage(l,c),u(null),f(null)},[l,c]);return C.createElement(C.Fragment,null,C.createElement(KNt,{dir:"ltr",value:i,onValueChange:s},r.map((g,b)=>C.createElement(ujn,{key:g.id,isDropAbove:b===c&&b===0,isDropBelow:c!==null&&b===c-1},C.createElement(NWe,{title:g.name||a,value:g.id,key:g.id,id:g.id,asChild:!0,onDragOver:h,onDragStart:d,onDrop:p,draggable:!0},C.createElement(cjn,null,C.createElement("span",{id:g.id},g.name||a),C.createElement($We,null,C.createElement(L0,null,C.createElement(aB,null))))),C.createElement(tjn,{page:g,onClose:e})))),C.createElement(Fs,null),C.createElement(C$,{onSelect:o,asChild:!0},C.createElement(Ic,null,C.createElement("span",null,C.createElement(tr,{id:"create.page"})),C.createElement(L0,null,C.createElement(SFt,null)))))}var ujn=Hn("div",{position:"relative",display:"grid",gridTemplateColumns:"1fr auto",gridAutoFlow:"column",margin:0,'& > *[data-shy="true"]':{opacity:0},'&:hover > *[data-shy="true"]':{opacity:1},variants:{isDropAbove:{true:{"&::after":{content:"",display:"block",position:"absolute",top:0,width:"100%",height:"1px",backgroundColor:"$selected",zIndex:999,pointerEvents:"none"}}},isDropBelow:{true:{"&::after":{content:"",display:"block",position:"absolute",width:"100%",height:"1px",top:"100%",backgroundColor:"$selected",zIndex:999,pointerEvents:"none"}}}}}),cjn=Hn(Ic,{minWidth:128}),fjn=e=>e.appState.currentStyle,djn=e=>e.document.pageStates[e.appState.currentPageId].selectedIds,hjn=Object.keys(zhe),Xwe={draw:C.createElement(S$n,null),solid:C.createElement(A$n,null),dashed:C.createElement(C$n,null),dotted:C.createElement(x$n,null)},pjn={small:C.createElement(D$n,null),medium:C.createElement(I$n,null),large:C.createElement(R$n,null)},gjn={start:C.createElement(qFt,null),middle:C.createElement(zFt,null),end:C.createElement(GFt,null),justify:C.createElement(jFt,null)},mjn=e=>e.settings.isDarkMode?"dark":"light",vjn=e=>e.settings.keepStyleMenuOpen,yjn=e=>{let{activeTool:t,currentPageId:n}=e.appState;switch(t){case"select":{let r=e.document.pages[n],i=!1,a=!1;for(let o of e.document.pageStates[n].selectedIds)"text"in r.shapes[o]&&(i=!0),"label"in r.shapes[o]&&(a=!0);return i?"text":a?"label":""}case"text":return"text";case"rectangle":return"label";case"ellipse":return"label";case"triangle":return"label";case"arrow":return"label";case"line":return"label"}return!1},bjn=C.memo(function(){let e=Xa(),t=Jl(),n=e.useStore(mjn),r=e.useStore(vjn),i=e.useStore(yjn),a=e.useStore(fjn),o=e.useStore(djn),[s,l]=C.useState(a),u=C.useRef(a);C.useEffect(()=>{let{appState:{currentStyle:m},page:v,selectedIds:w}=e,k={};if(w.length<=0)k=m;else{let E=new Set([]);e.selectedIds.map(S=>v.shapes[S]).forEach(S=>{hjn.forEach(T=>{if(!E.has(T))if(k[T]===void 0)k[T]=S.style[T];else{if(k[T]===S.style[T])return;k[T]=S.style[T],E.add(T)}})})}JSON.stringify(k)!==JSON.stringify(u.current)&&(u.current=k,l(k))},[a,o]);let c=C.useCallback(m=>{e.setSetting("keepStyleMenuOpen",m)},[]),f=C.useCallback(m=>{e.style({isFilled:m})},[]),d=C.useCallback(m=>{e.style({dash:m})},[]),h=C.useCallback(m=>{e.style({size:m})},[]),p=C.useCallback(m=>{e.style({font:m})},[]),g=C.useCallback(m=>{e.style({textAlign:m})},[]),b=C.useCallback(m=>{e.setMenuOpen(m)},[e]);return C.createElement(V2,{dir:"ltr",onOpenChange:b,open:r?!0:void 0,modal:!1},C.createElement(C3,{asChild:!0,id:"TD-Styles"},C.createElement(Ea,{"aria-label":t.formatMessage({id:"styles"}),variant:"text"},C.createElement(tr,{id:"styles"}),C.createElement(kjn,{style:{color:NS[n][s.color]}},s.isFilled&&C.createElement(Pwe,{size:16,stroke:"none",fill:Noe[n][s.color]}),Xwe[s.dash]))),C.createElement(E3,{id:"TD-StylesMenu",side:"bottom",align:"end",sideOffset:4,alignOffset:4},C.createElement(z5,{variant:"tall",id:"TD-Styles-Color-Container"},C.createElement("span",null,C.createElement(tr,{id:"style.menu.color"})),C.createElement(wjn,null,Object.keys(NS.light).map(m=>C.createElement(C$,{key:m,onSelect:ms,asChild:!0,id:`TD-Styles-Color-Swatch-${m}`},C.createElement(Ea,{variant:"icon",isActive:s.color===m,onClick:()=>e.style({color:m}),"aria-label":t.formatMessage({id:m})},C.createElement(Pwe,{size:18,strokeWidth:2.5,fill:s.isFilled?Noe[n][m]:"transparent",stroke:NS.light[m]})))))),C.createElement(a0,{variant:"styleMenu",checked:!!s.isFilled,onCheckedChange:f,id:"TD-Styles-Fill"},C.createElement(tr,{id:"style.menu.fill"})),C.createElement(z5,{id:"TD-Styles-Dash-Container"},C.createElement(tr,{id:"style.menu.dash"}),C.createElement(wI,{dir:"ltr",value:s.dash,onValueChange:d},Object.values(qGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.dash,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Dash-${m}`,"aria-label":t.formatMessage({id:m})},Xwe[m])))),C.createElement(z5,{id:"TD-Styles-Size-Container"},C.createElement(tr,{id:"style.menu.size"}),C.createElement(wI,{dir:"ltr",value:s.size,onValueChange:h},Object.values(HGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.size,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Dash-${m}`,"aria-label":t.formatMessage({id:m})},pjn[m])))),(i==="text"||i==="label")&&C.createElement(C.Fragment,null,C.createElement(Fs,null),C.createElement(z5,{id:"TD-Styles-Font-Container"},C.createElement(tr,{id:"style.menu.font"}),C.createElement(wI,{dir:"ltr",value:s.font,onValueChange:p},Object.values(GGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.font,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Font-${m}`},C.createElement(_jn,{fontStyle:m},"Aa"))))),i==="text"&&C.createElement(z5,{id:"TD-Styles-Align-Container"},C.createElement(tr,{id:"style.menu.align"}),C.createElement(wI,{dir:"ltr",value:s.textAlign,onValueChange:g},Object.values(WGe).map(m=>C.createElement(gI,{key:m,isActive:m===s.textAlign,value:m,onSelect:ms,bp:sh,id:`TD-Styles-Align-${m}`},gjn[m]))))),C.createElement(Fs,null),C.createElement(a0,{variant:"styleMenu",checked:r,onCheckedChange:c,id:"TD-Styles-Keep-Open"},C.createElement(tr,{id:"style.menu.keep.open"}))))}),wjn=Hn("div",{display:"grid",gridTemplateColumns:"repeat(4, auto)",gap:0}),z5=Hn("div",{position:"relative",width:"100%",background:"none",border:"none",cursor:"pointer",minHeight:"32px",outline:"none",color:"$text",fontFamily:"$ui",fontWeight:400,fontSize:"$1",padding:"$2 0 $2 $3",borderRadius:4,userSelect:"none",WebkitUserSelect:"none",margin:0,display:"flex",gap:"$3",flexDirection:"row",alignItems:"center",justifyContent:"space-between",variants:{variant:{tall:{alignItems:"flex-start",padding:"0 0 0 $3","& > span":{paddingTop:"$4"}}}}}),wI=Hn(PWe,{display:"flex",flexDirection:"row",gap:"$1"}),kjn=Hn("div",{display:"grid","& > *":{gridColumn:1,gridRow:1}}),_jn=Hn("div",{width:32,height:32,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"$3",variants:{fontStyle:{script:{fontFamily:"Caveat Brush"},sans:{fontFamily:"Recursive"},serif:{fontFamily:"Georgia"},mono:{fontFamily:"Recursive Mono"}}}}),Cjn=e=>e.document.pageStates[e.appState.currentPageId].camera.zoom,Ejn=function(){let e=Xa(),t=e.useStore(Cjn);return C.createElement(V2,{dir:"ltr"},C.createElement(C3,{dir:"ltr",asChild:!0,id:"TD-Zoom"},C.createElement(xjn,{onDoubleClick:e.resetZoom,variant:"text"},Math.round(t*100),"%")),C.createElement(E3,{align:"end"},C.createElement(Yi,{onSelect:ms,onClick:e.zoomIn,kbd:"#+",id:"TD-Zoom-Zoom_In"},C.createElement(tr,{id:"zoom.in"})),C.createElement(Yi,{onSelect:ms,onClick:e.zoomOut,kbd:"#−",id:"TD-Zoom-Zoom_Out"},C.createElement(tr,{id:"zoom.out"})),C.createElement(Yi,{onSelect:ms,onClick:e.resetZoom,kbd:"⇧0",id:"TD-Zoom-Zoom_To_100%"},C.createElement(tr,{id:"zoom.to"})," 100%"),C.createElement(Yi,{onSelect:ms,onClick:e.zoomToFit,kbd:"⇧1",id:"TD-Zoom-To_Fit"},C.createElement(tr,{id:"zoom.to.fit"})),C.createElement(Yi,{onSelect:ms,onClick:e.zoomToSelection,kbd:"⇧2",id:"TD-Zoom-To_Selection"},C.createElement(tr,{id:"zoom.to.selection"}))))},xjn=Hn(Ea,{minWidth:56});function Sjn({readOnly:e,showPages:t,showMenu:n,showStyles:r,showZoom:i,showMultiplayerMenu:a}){let o=Xa(),s=Jl();return C.createElement(Ajn,null,(n||t)&&C.createElement(fB,{side:"left",id:"TD-MenuPanel"},n&&C.createElement(Szn,{readOnly:e}),a&&C.createElement(ZUn,null),t&&C.createElement(sjn,null)),C.createElement(Tjn,null),(r||i)&&C.createElement(fB,{side:"right"},o.readOnly?C.createElement(Djn,null,"Read Only"):C.createElement(C.Fragment,null,C.createElement(cg,{kbd:"#Z",label:s.formatMessage({id:"undo"}),onClick:o.undo,id:"TD-TopPanel-Undo","aria-label":s.formatMessage({id:"undo"})},C.createElement(Fwe,null)),C.createElement(cg,{kbd:"#⇧Z",label:s.formatMessage({id:"redo"}),onClick:o.redo,id:"TD-TopPanel-Redo","aria-label":s.formatMessage({id:"redo"})},C.createElement(Fwe,{flipHorizontal:!0}))),i&&C.createElement(Ejn,null),r&&!e&&C.createElement(bjn,null)))}var Ajn=Hn("div",{width:"100%",position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"row",pointerEvents:"none","& > *":{pointerEvents:"all"}}),Tjn=Hn("div",{flexGrow:2,pointerEvents:"none"}),Djn=Hn("div",{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"$ui",fontSize:"$1",paddingLeft:"$4",paddingRight:"$1",userSelect:"none",WebkitUserSelect:"none"}),Ijn=C.memo(Sjn);function Rjn(e){gr.useEffect(()=>{let t=!1,n=!1,r=e.current;if(!r)return;let i=l=>{l.key===" "&&!n&&(n=!0,t?r.setAttribute("style","cursor: grabbing !important"):r.setAttribute("style","cursor: grab !important"))},a=l=>{l.key===" "&&(n=!1,r.setAttribute("style","cursor: initial"))},o=l=>{t=!0,l.button===1&&r.setAttribute("style","cursor: grabbing !important"),l.button===0&&n&&r.setAttribute("style","cursor: grabbing !important")},s=()=>{t=!1,n?r.setAttribute("style","cursor: grab !important"):r.setAttribute("style","cursor: initial")};return r.addEventListener("keydown",i),r.addEventListener("keyup",a),r.addEventListener("pointerdown",o),r.addEventListener("pointerup",s),()=>{r.removeEventListener("keydown",i),r.removeEventListener("keyup",a),r.removeEventListener("pointerdown",o),r.removeEventListener("pointerup",s)}},[e.current])}var vVe="tldraw_clipboard";function Mjn(){return ai(this,null,function*(){return uB(vVe)})}function Ojn(e){return ai(this,null,function*(){return BS(vVe,e)})}var Ljn=class{constructor(e,t,n,r){Ce(this,"_idbId"),Ce(this,"initialState"),Ce(this,"store"),Ce(this,"pointer",-1),Ce(this,"_state"),Ce(this,"_status","loading"),Ce(this,"stack",[]),Ce(this,"_snapshot"),Ce(this,"useStore"),Ce(this,"ready"),Ce(this,"isPaused",!1),Ce(this,"persist",(i,a)=>{if(this._status==="ready"&&(this.onPersist&&this.onPersist(this._state,i,a),this._idbId))return BS(this._idbId,this._state).catch(o=>console.error(o))}),Ce(this,"applyPatch",(i,a)=>{let o=this._state,s=bt.deepMerge(this._state,i),l=this.cleanup(s,o,i,a);return this.onStateWillChange&&this.onStateWillChange(l,a),this._state=l,this.store.setState(this._state,!0),this.onStateDidChange&&this.onStateDidChange(this._state,a),this}),Ce(this,"migrate",i=>i),Ce(this,"cleanup",(i,a,o,s)=>i),Ce(this,"onStateWillChange"),Ce(this,"onStateDidChange"),Ce(this,"patchState",(i,a)=>(this.applyPatch(i,a),this.onPatch&&this.onPatch(this._state,i,a),this)),Ce(this,"replaceState",(i,a)=>{let o=this.cleanup(i,this._state,i,a);return this.onStateWillChange&&this.onStateWillChange(o,"replace"),this._state=o,this.store.setState(this._state,!0),this.onStateDidChange&&this.onStateDidChange(this._state,"replace"),this}),Ce(this,"setState",(i,a=i.id)=>(this.pointer(this.onStateWillChange&&this.onStateWillChange(this.initialState,"reset"),this._state=this.initialState,this.store.setState(this._state,!0),this.resetHistory(),this.persist({},"reset"),this.onStateDidChange&&this.onStateDidChange(this._state,"reset"),this.onReset&&this.onReset(this._state),this)),Ce(this,"replaceHistory",(i,a=i.length-1)=>(this.stack=i,this.pointer=a,this.onReplace&&this.onReplace(this._state),this)),Ce(this,"resetHistory",()=>(this.stack=[],this.pointer=-1,this.onResetHistory&&this.onResetHistory(this._state),this)),Ce(this,"undo",()=>{if(!this.isPaused){if(!this.canUndo)return this;let i=this.stack[this.pointer];this.pointer--,this.applyPatch(i.before,"undo"),this.persist(i.before,"undo")}return this.onUndo&&this.onUndo(this._state),this}),Ce(this,"redo",()=>{if(!this.isPaused){if(!this.canRedo)return this;this.pointer++;let i=this.stack[this.pointer];this.applyPatch(i.after,"redo"),this.persist(i.after,"undo")}return this.onRedo&&this.onRedo(this._state),this}),Ce(this,"setSnapshot",()=>(this._snapshot=mt({},this._state),this)),Ce(this,"forceUpdate",()=>{this.store.setState(this._state,!0)}),this._idbId=t,this._state=Jf(e),this._snapshot=Jf(e),this.initialState=Jf(e),this.store=sjt(()=>this._state),this.useStore=fjt(this.store),this.ready=new Promise(i=>{let a="none";this._idbId?(a="restored",uB(this._idbId).then(o=>ai(this,null,function*(){if(o){let s=o;if(n){let u=yield uB(t+"_version");u&&uconsole.error(o))):(this._status="ready",i(a))}).then(i=>(this.onReady&&this.onReady(i),i))}pause(){this.isPaused=!0}resume(){this.isPaused=!1}get canUndo(){return this.pointer>-1}get canRedo(){return this.pointere.getShape(d)),a=i.map(d=>({id:d.id,point:[...d.point],bounds:rn.getBounds(d)})),o=bt.getCommonBounds(a.map(({bounds:d})=>d)),s=o.minX+o.width/2,l=o.minY+o.height/2,u=Object.fromEntries(a.map(({id:d,point:h,bounds:p})=>[d,{prev:h,next:{top:[h[0],o.minY],centerVertical:[h[0],l-p.height/2],bottom:[h[0],o.maxY-p.height],left:[o.minX,h[1]],centerHorizontal:[s-p.width/2,h[1]],right:[o.maxX-p.width,h[1]]}[n]}])),{before:c,after:f}=rn.mutateShapes(e.state,t,d=>u[d.id]?{point:u[d.id].next}:d,r,!1);return i.forEach(d=>{if(d.type==="group"){let h=We.sub(f[d.id].point,c[d.id].point);d.children.forEach(p=>{let g=e.getShape(p);c[g.id]={point:g.point},f[g.id]={point:We.add(g.point,h)}}),delete c[d.id],delete f[d.id]}}),{id:"align",before:{document:{pages:{[r]:{shapes:c}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:f}},pageStates:{[r]:{selectedIds:t}}}}}}function Pjn(e,t){return{id:"change_page",before:{appState:{currentPageId:e.currentPageId}},after:{appState:{currentPageId:t}}}}function Fjn(e,t){var n;let r=e,i=new Set(t);for(;i.has(r);)r=(n=/^.*(\d+)$/.exec(r))!=null&&n[1]?r.replace(/(\d+)(?=\D?)$/,a=>(+a+1).toString()):`${r} 1`;return r}function Njn(e,t,n){let r={shapes:{},bindings:{}},i={shapes:{},bindings:{}},a=[],o=new Set,s=new Set;t.filter(u=>!rn.getShape(e,u,n).isLocked).forEach(u=>{o.add(u);let c=rn.getShape(e,u,n);r.shapes[u]=c,i.shapes[u]=void 0,c.children!==void 0&&c.children.forEach(f=>{o.add(f);let d=rn.getShape(e,f,n);r.shapes[f]=d,i.shapes[f]=void 0}),c.parentId!==n&&a.push(rn.getShape(e,c.parentId,n)),c.assetId&&s.add(c.assetId)}),a.forEach(u=>{var c;t.includes(u.id)||(o.add(u.id),r.shapes[u.id]={children:u.children},i.shapes[u.id]={children:u.children.filter(f=>!t.includes(f))},((c=i.shapes[u.id])==null?void 0:c.children.length)===0&&(i.shapes[u.id]=void 0,r.shapes[u.id]=rn.getShape(e,u.id,n)))});let l=rn.getPage(e,n);return Object.values(l.bindings).filter(u=>o.has(u.fromId)||o.has(u.toId)).forEach(u=>{for(let c of[u.toId,u.fromId])if(i.shapes[c]===void 0){r.bindings[u.id]=u,i.bindings[u.id]=void 0;let f=l.shapes[c];f&&f.handles&&Object.values(f.handles).filter(d=>d.bindingId===u.id).forEach(d=>{var h,p,g,b,m,v;r.shapes[c]=Zt(mt({},r.shapes[c]),{handles:Zt(mt({},(h=r.shapes[c])==null?void 0:h.handles),{[d.id]:Zt(mt({},(g=(p=r.shapes[c])==null?void 0:p.handles)==null?void 0:g[d.id]),{bindingId:u.id})})}),o.has(c)||(i.shapes[c]=Zt(mt({},i.shapes[c]),{handles:Zt(mt({},(b=i.shapes[c])==null?void 0:b.handles),{[d.id]:Zt(mt({},(v=(m=i.shapes[c])==null?void 0:m.handles)==null?void 0:v[d.id]),{bindingId:void 0})})}))})}}),Object.values(e.document.pages).flatMap(u=>Object.values(u.shapes)).forEach(u=>{"assetId"in u&&u.assetId&&!o.has(u.id)&&s.delete(u.assetId)}),{before:r,after:i,assetsToRemove:Array.from(s)}}function $jn(e,t,n=bt.uniqueId(),r="Page"){let{currentPageId:i}=e,a=Object.values(e.state.document.pages).sort((c,f)=>{var d,h;return((d=c.childIndex)!=null?d:0)-((h=f.childIndex)!=null?h:0)}),o=a[a.length-1],s=o?.childIndex?o?.childIndex+1:1,l={id:n,name:Fjn(r,a.map(c=>{var f;return(f=c.name)!=null?f:""})),childIndex:s,shapes:{},bindings:{}},u={id:n,selectedIds:[],camera:{point:t,zoom:1},editingId:void 0,bindingId:void 0,hoveredId:void 0,pointedId:void 0};return{id:"create_page",before:{appState:{currentPageId:i},document:{pages:{[n]:void 0},pageStates:{[n]:void 0}}},after:{appState:{currentPageId:l.id},document:{pages:{[n]:l},pageStates:{[n]:u}}}}}function Jwe(e,t,n=[]){let{currentPageId:r}=e,i={},a={};t.forEach(l=>{i[l.id]=void 0,a[l.id]=l});let o={},s={};return n.forEach(l=>{o[l.id]=void 0,s[l.id]=l}),{id:"create",before:{document:{pages:{[r]:{shapes:i,bindings:o}},pageStates:{[r]:{selectedIds:[...e.selectedIds]}}}},after:{document:{pages:{[r]:{shapes:a,bindings:s}},pageStates:{[r]:{selectedIds:t.map(l=>l.id)}}}}}}function zjn(e,t){let{currentPageId:n,document:{pages:r,pageStates:i}}=e,a=Object.values(r).sort((l,u)=>(l.childIndex||0)-(u.childIndex||0)),o=a.findIndex(l=>l.id===t),s;return t===n?o===a.length-1?s=a[a.length-2].id:s=a[o+1].id:s=n,{id:"delete_page",before:{appState:{currentPageId:t},document:{pages:{[t]:mt({},r[t])},pageStates:{[t]:mt({},i[t])}}},after:{appState:{currentPageId:s},document:{pages:{[t]:void 0},pageStates:{[t]:void 0}}}}}var Ujn=(e,t)=>{let n=mt({},e);return t.forEach(r=>n[r]=void 0),n};function Zwe(e,t,n=e.currentPageId){let{pageState:r,selectedIds:i,document:{assets:a}}=e,{before:o,after:s,assetsToRemove:l}=Njn(e.state,t,n),u=Ujn(a,l);return{id:"delete",before:{document:{assets:a,pages:{[n]:o},pageStates:{[n]:{selectedIds:[...e.selectedIds]}}}},after:{document:{assets:u,pages:{[n]:s},pageStates:{[n]:{selectedIds:i.filter(c=>!t.includes(c)),hoveredId:r.hoveredId&&t.includes(r.hoveredId)?void 0:r.hoveredId}}}}}}function jjn(e,t,n){let{currentPageId:r}=e,i=t.map(l=>e.getShape(l)),a=Object.fromEntries(Hjn(i,n).map(l=>[l.id,l])),{before:o,after:s}=rn.mutateShapes(e.state,t.filter(l=>a[l]!==void 0),l=>{var u;return{point:(u=a[l.id])==null?void 0:u.next}},r);return i.forEach(l=>{if(l.type==="group"){let u=bn.sub(s[l.id].point,o[l.id].point);l.children.forEach(c=>{let f=e.getShape(c);o[f.id]={point:f.point},s[f.id]={point:bn.add(f.point,u)}}),delete o[l.id],delete s[l.id]}}),{id:"distribute",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}}}}}function Hjn(e,t){let n=e.map(o=>{let s=rn.getShapeUtil(o);return{id:o.id,point:[...o.point],bounds:s.getBounds(o),center:s.getCenter(o)}}),r=n.length,i=bt.getCommonBounds(n.map(({bounds:o})=>o)),a=[];switch(t){case"horizontal":{let o=n.reduce((s,l)=>s+l.bounds.width,0);if(o>i.width){let s=n.sort((d,h)=>d.bounds.minX-h.bounds.minX)[0],l=n.sort((d,h)=>h.bounds.maxX-d.bounds.maxX)[0],u=n.filter(d=>d!==s&&d!==l).sort((d,h)=>d.center[0]-h.center[0]),c=(l.center[0]-s.center[0])/(r-1),f=s.center[0]+c;u.forEach(({id:d,point:h,bounds:p},g)=>{a.push({id:d,prev:h,next:[f+c*g-p.width/2,p.minY]})})}else{let s=n.sort((c,f)=>c.center[0]-f.center[0]),l=i.minX,u=(i.width-o)/(r-1);s.forEach(({id:c,point:f,bounds:d})=>{a.push({id:c,prev:f,next:[l,d.minY]}),l+=d.width+u})}break}case"vertical":{let o=n.reduce((s,l)=>s+l.bounds.height,0);if(o>i.height){let s=n.sort((d,h)=>d.bounds.minY-h.bounds.minY)[0],l=n.sort((d,h)=>h.bounds.maxY-d.bounds.maxY)[0],u=n.filter(d=>d!==s&&d!==l).sort((d,h)=>d.center[1]-h.center[1]),c=(l.center[1]-s.center[1])/(r-1),f=s.center[1]+c;u.forEach(({id:d,point:h,bounds:p},g)=>{a.push({id:d,prev:h,next:[p.minX,f+c*g-p.height/2]})})}else{let s=n.sort((c,f)=>c.center[1]-f.center[1]),l=i.minY,u=(i.height-o)/(r-1);s.forEach(({id:c,point:f,bounds:d})=>{a.push({id:c,prev:f,next:[d.minX,l]}),l+=d.height+u})}break}}return a}function qjn(e,t){let{currentPageId:n,pageState:{camera:r}}=e,i=e.document.pages[t],a=bt.uniqueId(),o=Object.fromEntries([[i.id,a],...Object.keys(i.shapes).map(c=>[c,bt.uniqueId()]),...Object.keys(i.bindings).map(c=>[c,bt.uniqueId()])]),s=Object.fromEntries(Object.entries(i.shapes).map(([c,f])=>[o[c],Zt(mt({},bt.deepClone(f)),{id:o[c],parentId:o[f.parentId]})])),l=Object.fromEntries(Object.entries(i.bindings).map(([c,f])=>[o[c],Zt(mt({},bt.deepClone(f)),{id:o[f.id],fromId:o[f.fromId],toId:o[f.toId]})]));Object.values(i.bindings).forEach(c=>{let f=o[c.fromId],d=s[f].handles;d&&Object.values(d).forEach(g=>{g.bindingId===c.id&&(g.bindingId=o[c.id])});let h=o[c.toId],p=s[h].handles;p&&Object.values(p).forEach(g=>{g.bindingId===c.id&&(g.bindingId=o[c.id])})});let u=Zt(mt({},i),{id:o[i.id],name:i.name+" Copy",shapes:s,bindings:l});return{id:"duplicate_page",before:{appState:{currentPageId:n},document:{pages:{[a]:void 0},pageStates:{[a]:void 0}}},after:{appState:{currentPageId:a},document:{pages:{[a]:u},pageStates:{[a]:Zt(mt({},i),{id:a,selectedIds:[],camera:mt({},r),editingId:void 0,bindingId:void 0,hoveredId:void 0,pointedId:void 0})}}}}}function Wjn(e,t,n){let{selectedIds:r,currentPageId:i,page:a,shapes:o}=e,s={shapes:{},bindings:{}},l={shapes:{},bindings:{}},u={},c=t.map(h=>e.getShape(h)).filter(h=>!t.includes(h.parentId));c.forEach(h=>{let p=bt.uniqueId();if(s.shapes[p]=void 0,l.shapes[p]=Zt(mt({},bt.deepClone(h)),{id:p,childIndex:rn.getChildIndexAbove(e.state,h.id,i)}),h.children&&(l.shapes[p].children=[]),h.parentId!==i){let g=e.getShape(h.parentId);s.shapes[g.id]=Zt(mt({},s.shapes[g.id]),{children:g.children}),l.shapes[g.id]=Zt(mt({},l.shapes[g.id]),{children:[...(l.shapes[g.id]||g).children,p]})}u[h.id]=p}),c.forEach(h=>{h.children&&h.children.forEach(p=>{var g,b;let m=e.getShape(p),v=bt.uniqueId(),w=u[h.id];s.shapes[v]=void 0,l.shapes[v]=Zt(mt({},bt.deepClone(m)),{id:v,parentId:w,childIndex:rn.getChildIndexAbove(e.state,m.id,i)}),u[p]=v,(b=(g=l.shapes[u[h.id]])==null?void 0:g.children)==null||b.push(v)})});let f=new Set(Object.keys(u));Object.values(a.bindings).filter(h=>f.has(h.fromId)||f.has(h.toId)).forEach(h=>{if(f.has(h.fromId))if(f.has(h.toId)){let p=bt.uniqueId(),g=Zt(mt({},bt.deepClone(h)),{id:p,fromId:u[h.fromId],toId:u[h.toId]});s.bindings[p]=void 0,l.bindings[p]=g;let b=l.shapes[g.fromId];Object.values(b.handles).forEach(m=>{m.bindingId===h.id&&(m.bindingId=p)})}else{let p=l.shapes[u[h.fromId]];Object.values(p.handles).forEach(g=>{g.bindingId===h.id&&(g.bindingId=void 0)})}});let d=Object.values(l.shapes);if(n){let h=bt.getCommonBounds(d.map(g=>rn.getBounds(g))),p=bt.getBoundsCenter(h);d.forEach(g=>{!g.point||(g.point=We.sub(n,We.sub(p,g.point)))})}else{let h=[16,16];d.forEach(p=>{!p.point||(p.point=We.add(p.point,h))})}return d.forEach(h=>{h.isLocked&&(h.isLocked=!1)}),{id:"duplicate",before:{document:{pages:{[i]:s},pageStates:{[i]:{selectedIds:r}}}},after:{document:{pages:{[i]:l},pageStates:{[i]:{selectedIds:Array.from(f.values()).map(h=>u[h])}}}}}}function Qwe(e,t,n){let{selectedIds:r,currentPageId:i,page:{shapes:a}}=e,o=t.map(f=>rn.getBounds(a[f])),s=t.length===1&&a[t[0]].type==="group",l=bt.getCommonBounds(o),{before:u,after:c}=rn.mutateShapes(e.state,t,f=>{let d=rn.getBounds(f),h=f.parentId!==i;switch(n){case"horizontal":{if(h&&!s){let g=rn.getBounds(a[f.parentId]),b=bt.getRelativeTransformedBoundingBox(l,l,g,!0,!1).minX-g.minX;return rn.getShapeUtil(f).transform(f,Zt(mt({},d),{minX:d.minX+b,maxX:d.maxX+b}),{type:b0.TopLeft,scaleX:1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}let p=bt.getRelativeTransformedBoundingBox(l,l,d,!0,!1);return rn.getShapeUtil(f).transform(f,p,{type:b0.TopLeft,scaleX:-1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}case"vertical":{if(h&&!s){let g=rn.getBounds(a[f.parentId]),b=bt.getRelativeTransformedBoundingBox(l,l,g,!1,!0).minY-g.minY;return rn.getShapeUtil(f).transform(f,Zt(mt({},d),{minY:d.minY+b,maxY:d.maxY+b}),{type:b0.TopLeft,scaleX:1,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}let p=bt.getRelativeTransformedBoundingBox(l,l,d,!1,!0);return rn.getShapeUtil(f).transform(f,p,{type:b0.TopLeft,scaleX:1,scaleY:-1,initialShape:f,transformOrigin:[.5,.5]})}}},i,!0);return{id:"flip",before:{document:{pages:{[i]:{shapes:u}},pageStates:{[i]:{selectedIds:r}}}},after:{document:{pages:{[i]:{shapes:c}},pageStates:{[i]:{selectedIds:t}}}}}}function Gjn(e,t,n,r){var i,a;if(t.length<2)return;let o={},s={},l={},u={},c=[...t],f=[],d=[],h=[];for(let S of t){let T=e.getShape(S);if(!T.isLocked)if(T.children===void 0)f.push(T);else{let L=T.children.filter(M=>!e.getShape(M).isLocked);h.push(T),c.push(...L),f.push(...L.map(M=>e.getShape(M)).filter(Boolean))}}if(f.every(S=>S.parentId===f[0].parentId)&&f[0].parentId!==r&&((i=e.getShape(f[0].parentId).children)==null?void 0:i.length)===c.length)return;let p=rn.flattenPage(e.state,r),g=Object.fromEntries(f.map(S=>[S.id,p.indexOf(S)])),b=f.sort((S,T)=>g[S.id]-g[T.id]),m=r,v=(b.filter(S=>S.parentId===r)[0]||b[0]).childIndex,w=bt.getCommonBounds(f.map(S=>rn.getBounds(S)));for(o[n]=void 0,s[n]=rn.getShapeUtil("group").create({id:n,childIndex:v,parentId:m,point:[w.minX,w.minY],size:[w.width,w.height],children:b.map(S=>S.id)}),b.forEach((S,T)=>{if(S.parentId!==r){let L=e.getShape(S.parentId);h.push(L)}o[S.id]=Zt(mt({},o[S.id]),{parentId:S.parentId,childIndex:S.childIndex}),s[S.id]=Zt(mt({},s[S.id]),{parentId:n,childIndex:T+1})});h.length>0;){let S=h.pop();if(!S)break;let T=(((a=o[S.id])==null?void 0:a.children)||S.children).filter(L=>L&&!(c.includes(L)||d.includes(L)));T.length===0?(o[S.id]=S,s[S.id]=void 0,S.parentId!==r&&(d.push(S.id),h.push(e.getShape(S.parentId)))):(o[S.id]=Zt(mt({},o[S.id]),{children:S.children}),s[S.id]=Zt(mt({},s[S.id]),{children:T}))}let{bindings:k}=e,E=new Set(d);return k.forEach(S=>{for(let T of[S.toId,S.fromId])if(E.has(T)){l[S.id]=S,u[S.id]=void 0;let L=e.getShape(T);L.handles&&Object.values(L.handles).filter(M=>M.bindingId===S.id).forEach(M=>{var D,I;o[T]=Zt(mt({},o[T]),{handles:Zt(mt({},(D=o[T])==null?void 0:D.handles),{[M.id]:{bindingId:S.id}})}),d.includes(T)||(s[T]=Zt(mt({},s[T]),{handles:Zt(mt({},(I=s[T])==null?void 0:I.handles),{[M.id]:{bindingId:void 0}})}))})}}),{id:"group",before:{document:{pages:{[r]:{shapes:o,bindings:l}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s,bindings:l}},pageStates:{[r]:{selectedIds:[n]}}}}}}function Vjn(e,t,n,r,i){let{page:a}=e,o={before:{shapes:{},bindings:{}},after:{shapes:{},bindings:{}}},s={before:{shapes:{},bindings:{}},after:{shapes:{},bindings:{}}},l=new Set,u=new Set;t.map(v=>e.getShape(v,r)).filter(v=>!v.isLocked).forEach(v=>{l.add(v.id),u.add(v),v.children!==void 0&&v.children.forEach(w=>{l.add(w),u.add(e.getShape(w,r))})});let c=rn.getTopChildIndex(e.state,i),f=Array.from(u.values());f.forEach((v,w)=>{if(o.before.shapes[v.id]=v,o.after.shapes[v.id]=void 0,s.before.shapes[v.id]=void 0,s.after.shapes[v.id]=v,!l.has(v.parentId)&&(s.after.shapes[v.id]=Zt(mt({},v),{parentId:i,childIndex:c+w}),v.parentId!==r)){let k=e.getShape(v.parentId,r);o.before.shapes[k.id]={children:k.children},o.after.shapes[k.id]={children:k.children.filter(E=>E!==v.id)}}}),Object.values(a.bindings).filter(v=>l.has(v.fromId)||l.has(v.toId)).forEach(v=>{o.before.bindings[v.id]=v,o.after.bindings[v.id]=void 0;let w=e.getShape(v.fromId,r);if(l.has(v.fromId)&&l.has(v.toId))s.before.bindings[v.id]=void 0,s.after.bindings[v.id]=v;else if(l.has(v.fromId)){let k=e.getShape(v.fromId,r),E=Object.values(w.handles).find(T=>T.bindingId===v.id).id,S=s.after.shapes[k.id];S.handles=Zt(mt({},S.handles),{[E]:Zt(mt({},S.handles[E]),{bindingId:void 0})})}else{let k=e.getShape(v.fromId,r),E=Object.values(w.handles).find(S=>S.bindingId===v.id);o.before.shapes[k.id]={handles:{[E.id]:{bindingId:v.id}}},o.after.shapes[k.id]={handles:{[E.id]:{bindingId:void 0}}}}});let d=e.state.document.pageStates[i],h=bt.getCommonBounds(f.map(v=>rn.getBounds(v))),p=rn.getCameraZoom(n.width{var c,f;return((c=l.childIndex)!=null?c:0)-((f=u.childIndex)!=null?f:0)}),o=a.indexOf(i),s=[...a];return s.splice(o,1),s.splice(n>o?n-1:n,0,i),{id:"move_page",before:{document:{pages:Object.fromEntries(a.map(l=>[l.id,{childIndex:l.childIndex}]))}},after:{document:{pages:Object.fromEntries(s.map((l,u)=>[l.id,{childIndex:u}]))}}}}function kI(e,t,n){let{currentPageId:r,page:i}=e,a=new Set(t.map(c=>e.getShape(c).parentId)),o={before:{},after:{}},s,l,u;return Array.from(a.values()).forEach(c=>{let f=[];if(c===i.id)f=Object.values(i.shapes).sort((p,g)=>p.childIndex-g.childIndex);else{let p=e.getShape(c);if(!p.children)throw Error("No children in parent!");f=p.children.map(g=>e.getShape(g)).sort((g,b)=>g.childIndex-b.childIndex)}let d=f.map(p=>p.id),h=t.filter(p=>d.includes(p)).map(p=>d.indexOf(p)).sort((p,g)=>p-g);if(h.length!==d.length)switch(n){case"toBack":{for(let p=0;pf[p].id).reverse(),(p,g)=>({childIndex:l-(g+1)*u}),r);break}case"toFront":{for(let p=d.length-1;p>=0;p--)if(!h.includes(p)){s=p;break}l=f[s].childIndex,u=1,o=rn.mutateShapes(e.state,h.map(p=>f[p].id),(p,g)=>({childIndex:l+(g+1)}),r);break}case"backward":{let p={};for(let g=d.length-1;g>=0;g--)if(h.includes(g)){for(let b=g;b>=0;b--)if(!h.includes(b)){let m=f[b].childIndex,v,w;b===0?(v=m/2,w=m/2/(g-b+1)):(v=f[b-1].childIndex,w=(m-v)/(g-b+1),v+=w);for(let k=0;k0&&(o=rn.mutateShapes(e.state,h.map(g=>f[g].id),g=>({childIndex:p[g.id]}),r));break}case"forward":{let p={};for(let g=0;g0&&(o=rn.mutateShapes(e.state,h.map(g=>f[g].id),g=>({childIndex:p[g.id]}),r));break}}}),{id:"move",before:{document:{pages:{[r]:{shapes:o.before}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:o.after}},pageStates:{[r]:{selectedIds:t}}}}}}function Yjn(e,t,n){let{page:r}=e;return{id:"rename_page",before:{document:{pages:{[t]:{name:r.name}}}},after:{document:{pages:{[t]:{name:n}}}}}}function eke(e,t,n){let{currentPageId:r}=e,{before:i,after:a}=rn.mutateShapes(e.state,t,o=>{var s,l;return(l=(s=e.getShapeUtil(o)).onDoubleClickBoundsHandle)==null?void 0:l.call(s,o)},n);return{id:"reset_bounds",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:t}}}}}}var Xjn=Math.PI*2;function Jjn(e,t,n=-Xjn/4){let{currentPageId:r}=e,i={},a={},o=t.flatMap(l=>{let u=e.getShape(l);return u.children?u.children.map(c=>e.getShape(c)):u}).filter(l=>!l.isLocked),s=bt.getBoundsCenter(bt.getCommonBounds(o.map(l=>rn.getBounds(l))));return o.forEach(l=>{let u=rn.getRotatedShapeMutation(l,rn.getCenter(l),s,n);!u||(i[l.id]=rn.getBeforeShape(l,u),a[l.id]=u)}),{id:"rotate",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:t}}}}}}function Zjn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.map(f=>e.getShape(f)),o=a.map(f=>rn.getBounds(f)),s=bt.getCommonBounds(o),l=t.flatMap(f=>{let d=e.getShape(f);return d.children?d.children:d.id}).filter(f=>!e.getShape(f).isLocked),{before:u,after:c}=rn.mutateShapes(e.state,l,f=>{let d=rn.getBounds(f);switch(n){case"horizontal":{let h=Zt(mt({},d),{minX:s.minX,maxX:s.maxX,width:s.width});return rn.getShapeUtil(f).transformSingle(f,h,{type:b0.TopLeft,scaleX:h.width/d.width,scaleY:1,initialShape:f,transformOrigin:[.5,.5]})}case"vertical":{let h=Zt(mt({},d),{minY:s.minY,maxY:s.maxY,height:s.height});return rn.getShapeUtil(f).transformSingle(f,h,{type:b0.TopLeft,scaleX:1,scaleY:h.height/d.height,initialShape:f,transformOrigin:[.5,.5]})}}},r);return a.forEach(f=>{f.type==="group"&&(delete u[f.id],delete c[f.id])}),{id:"stretch",before:{document:{pages:{[r]:{shapes:u}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:c}},pageStates:{[r]:{selectedIds:t}}}}}}function Qjn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.flatMap(l=>rn.getDocumentBranch(e.state,l,r)).filter(l=>!e.getShape(l).isLocked),o={},s={};return a.map(l=>e.getShape(l)).filter(l=>!l.isLocked).forEach(l=>{o[l.id]={style:mt({},Object.fromEntries(Object.keys(n).map(u=>[u,l.style[u]])))},s[l.id]={style:n},l.type==="text"&&(o[l.id].point=l.point,s[l.id].point=We.toFixed(We.add(l.point,We.sub(e.getShapeUtil(l).getCenter(l),e.getShapeUtil(l).getCenter(Zt(mt({},l),{style:mt(mt({},l.style),n)}))))))}),{id:"style",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:i}}},appState:{currentStyle:mt({},e.appState.currentStyle)}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}},appState:{currentStyle:n}}}}function eHn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=Object.fromEntries(t.map(s=>{var l;return[s,{decorations:{[n]:(l=e.getShape(s).decorations)==null?void 0:l[n]}}]})),o=Object.fromEntries(t.filter(s=>!e.getShape(s).isLocked).map(s=>{var l;return[s,{decorations:{[n]:(l=e.getShape(s).decorations)!=null&&l[n]?void 0:"arrow"}}]}));return{id:"toggle_decorations",before:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}}}}function sW(e,t,n){let{currentPageId:r}=e,i=t.map(l=>e.getShape(l)).filter(l=>n==="isLocked"?!0:!l.isLocked),a=i.every(l=>l[n]),o={},s={};return i.forEach(l=>{o[l.id]={[n]:l[n]},s[l.id]={[n]:!a}}),{id:"toggle",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:t}}}}}}function tHn(e,t,n){let{currentPageId:r,selectedIds:i}=e;e.rotationInfo.selectedIds=[...i];let a={shapes:{},bindings:{}},o={shapes:{},bindings:{}},s=t.flatMap(u=>{let c=e.getShape(u);return c.children?c.children:c.id}).filter(u=>!e.getShape(u).isLocked),l=rn.mutateShapes(e.state,s,u=>({point:We.toFixed(We.add(u.point,n))}),r);return a.shapes=l.before,o.shapes=l.after,rn.getBindings(e.state,r).filter(u=>t.includes(u.fromId)&&!t.includes(u.toId)).forEach(u=>{a.bindings[u.id]=u,o.bindings[u.id]=void 0;for(let c of[u.toId,u.fromId]){let f=e.getShape(c);!f.handles||Object.values(f.handles).filter(d=>d.bindingId===u.id).forEach(d=>{var h,p;a.shapes[c]=Zt(mt({},a.shapes[c]),{handles:Zt(mt({},(h=a.shapes[c])==null?void 0:h.handles),{[d.id]:{bindingId:u.id}})}),o.shapes[c]=Zt(mt({},o.shapes[c]),{handles:Zt(mt({},(p=o.shapes[c])==null?void 0:p.handles),{[d.id]:{bindingId:void 0}})})})}}),{id:"translate",before:{document:{pages:{[r]:a},pageStates:{[r]:{selectedIds:t}}}},after:{document:{pages:{[r]:o},pageStates:{[r]:{selectedIds:t}}}}}}function nHn(e,t,n,r){let{bindings:i}=e,a={},o={},s={},l={},u=t,c=t.filter(f=>!n.find(d=>d.id===f));return n.filter(f=>!f.isLocked).forEach(f=>{let d=[],h=[];a[f.id]=f,o[f.id]=void 0,f.children.forEach(b=>{c.push(b);let m=e.getShape(b,r);d.push(m)});let p=f.childIndex,g=(rn.getChildIndexAbove(e.state,f.id,r)-p)/d.length;d.sort((b,m)=>b.childIndex-m.childIndex).forEach((b,m)=>{a[b.id]={parentId:b.parentId,childIndex:b.childIndex},o[b.id]={parentId:r,childIndex:p+g*m}}),i.filter(b=>b.toId===f.id||b.fromId===f.id).forEach(b=>{for(let m of[b.toId,b.fromId])if(o[m]===void 0){s[b.id]=b,l[b.id]=void 0;let v=e.getShape(m,r);v.handles&&Object.values(v.handles).filter(w=>w.bindingId===b.id).forEach(w=>{var k,E;a[m]=Zt(mt({},a[m]),{handles:Zt(mt({},(k=a[m])==null?void 0:k.handles),{[w.id]:{bindingId:b.id}})}),h.includes(m)||(o[m]=Zt(mt({},o[m]),{handles:Zt(mt({},(E=o[m])==null?void 0:E.handles),{[w.id]:{bindingId:void 0}})}))})}})}),{id:"ungroup",before:{document:{pages:{[r]:{shapes:a,bindings:s}},pageStates:{[r]:{selectedIds:u}}}},after:{document:{pages:{[r]:{shapes:o,bindings:s}},pageStates:{[r]:{selectedIds:c}}}}}}function tke(e,t,n){let r=t.map(a=>a.id),i=rn.mutateShapes(e.state,r.filter(a=>!e.getShape(a,n).isLocked),(a,o)=>t[o],n);return{id:"update",before:{document:{pages:{[n]:{shapes:i.before}}}},after:{document:{pages:{[n]:{shapes:i.after}}}}}}function rHn(e,t,n){let{currentPageId:r,selectedIds:i}=e,a=t.map(u=>e.getShape(u)).filter(u=>n.isLocked?!0:!u.isLocked),o={},s={},l=Object.keys(n);return a.forEach(u=>{o[u.id]=Object.fromEntries(l.map(c=>[c,u[c]])),s[u.id]=n}),{id:"set_props",before:{document:{pages:{[r]:{shapes:o}},pageStates:{[r]:{selectedIds:i}}}},after:{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:{selectedIds:i}}}}}}function iHn(e,t,n={}){let{currentPageId:r}=e,{point:i,select:a,overwrite:o}=n,s=e.document.pages[r],l={shapes:{},bindings:{}},u={},c={shapes:{},bindings:{}};if(o){for(let d of t.shapes)l.shapes[d.id]=s.shapes[d.id],c.shapes[d.id]=d;if(t.bindings)for(let d of t.bindings)l.bindings[d.id]=s.bindings[d.id],c.bindings[d.id]=d;if(t.assets)for(let d of t.assets)u[d.id]=d}else{let d={},h=rn.getTopChildIndex(e.state,r),p=t.shapes.sort((m,v)=>m.childIndex-v.childIndex).map(m=>{let v=bt.uniqueId();return d[m.id]=v,Zt(mt({},bt.deepClone(m)),{id:v})}),g=new Set;for(;p.length>0;){let m=p.shift();if(!m)break;if(g.add(m.id),m.parentId==="currentPageId")m.parentId=r,m.childIndex=h++;else{m.parentId=d[m.parentId];let v=c.shapes[m.parentId];if(!v){g.has(m.id)&&(m.parentId="currentPageId"),p.push(m);continue}v.children.push(m.id)}m.children&&(m.children=[]),l.shapes[m.id]=void 0,c.shapes[m.id]=m}Object.values(c.shapes).forEach(m=>{m.children&&m.children.length===0&&(delete l.shapes[m.id],delete c.shapes[m.id])}),t.bindings&&t.bindings.forEach(m=>{let v=bt.uniqueId();d[m.id]=v;let w=d[m.toId],k=d[m.fromId];if(!w||!k){if(k){let T=c.shapes[k].handles;T&&Object.values(T).forEach(L=>{L.bindingId===m.id&&(L.bindingId=void 0)})}if(w){let T=c.shapes[w].handles;T&&Object.values(T).forEach(L=>{L.bindingId===m.id&&(L.bindingId=void 0)})}return}let E=c.shapes[k].handles;E&&Object.values(E).forEach(T=>{T.bindingId===m.id&&(T.bindingId=v)}),c.shapes[w].handles&&Object.values(c.shapes[w].handles).forEach(T=>{T.bindingId===m.id&&(T.bindingId=v)});let S=Zt(mt({},bt.deepClone(m)),{id:v,toId:w,fromId:k});l.bindings[S.id]=void 0,c.bindings[S.id]=S});let b=Object.values(c.shapes);if(b.length>0)if(i){let m=bt.getCommonBounds(b.map(w=>rn.getBounds(w))),v=bt.getBoundsCenter(m);b.forEach(w=>{!w.point||(w.point=We.sub(i,We.sub(v,w.point)))})}else{let m=bt.getCommonBounds(b.map(rn.getBounds));if(!(bt.boundsContain(e.viewport,m)||bt.boundsCollide(e.viewport,m))){let v=We.toFixed(e.getPagePoint(e.centerPoint)),w=bt.centerBounds(m,v),k=We.sub(bt.getBoundsCenter(w),bt.getBoundsCenter(m));b.forEach(E=>{E.point=We.toFixed(We.add(E.point,k))})}}if(t.assets)for(let m of t.assets)u[m.id]=m}let f=document.createElement("textarea");return Object.values(c.shapes).forEach(d=>{"text"in d&&(f.innerHTML=d.text,d.text=f.value),"label"in d&&(f.innerHTML=d.label,d.label=f.value)}),f.remove(),{id:"insert",before:{document:{pages:{[r]:l},pageStates:{[r]:{selectedIds:[...e.selectedIds]}}}},after:{document:{pages:{[r]:c},assets:u,pageStates:{[r]:{selectedIds:a?Object.keys(c.shapes):[...e.selectedIds]}}}}}}var yVe={};mjt(yVe,{fileToBase64:()=>_Ve,fileToText:()=>CVe,getImageSizeFromSrc:()=>EVe,getVideoSizeFromSrc:()=>xVe,loadFileHandle:()=>bVe,migrate:()=>og,openAssetsFromFileSystem:()=>kVe,openFromFileSystem:()=>wVe,saveFileHandle:()=>Hhe,saveToFileSystem:()=>joe});function og(e,t){let{document:n,settings:r}=e,{version:i=0}=n;"assets"in n||(n.assets={});let a=new Set;return Object.values(n.pages).forEach(o=>Object.values(o.shapes).forEach(s=>{let{parentId:l,children:u,assetId:c}=s;c&&a.add(c),l!==o.id&&!o.shapes[l]&&(console.warn("Encountered a shape with a missing parent!"),s.parentId=o.id),s.type==="group"&&u&&u.forEach(f=>{o.shapes[f]||(console.warn("Encountered a parent with a missing child!",s.id,f),u?.splice(u.indexOf(f),1))})})),Object.keys(n.assets).forEach(o=>{a.has(o)||delete n.assets[o]}),i!==t&&(i<14&&Object.values(n.pages).forEach(o=>{Object.values(o.shapes).filter(s=>s.type==="text").forEach(s=>s.style.font==="script")}),i<=13&&Object.values(n.pages).forEach(o=>{Object.values(o.bindings).forEach(s=>{Object.assign(s,s.meta)}),Object.values(o.shapes).forEach(s=>{Object.entries(s.style).forEach(([l,u])=>{typeof u=="string"&&(s.style[l]=u.toLowerCase())}),s.type==="arrow"&&s.decorations&&Object.entries(s.decorations).forEach(([l,u])=>{u==="Arrow"&&(s.decorations=Zt(mt({},s.decorations),{[l]:"arrow"}))})})}),i<=13.1&&(n.name="New Document"),i<15&&(n.assets={}),Object.values(n.pages).forEach(o=>{Object.values(o.shapes).forEach(s=>{i<15.2&&(s.type==="image"||s.type==="video")&&(s.style.isFilled=!0),i<15.3&&(s.type==="rectangle"||s.type==="triangle"||s.type==="ellipse"||s.type==="arrow")&&(s.label=s.text||"",s.labelPoint=[.5,.5])})}),i<15.4&&(r.dockPosition="bottom"),i<15.5&&(r.exportBackground="transparent")),Object.values(n.pageStates).forEach(o=>{o.selectedIds=o.selectedIds.filter(s=>n.pages[o.id].shapes[s]!==void 0),o.bindingId=void 0,o.editingId=void 0,o.hoveredId=void 0,o.pointedId=void 0}),n.version=t,e}var nke={mode:"readwrite"},aHn=e=>ai(void 0,null,function*(){return(yield e.queryPermission(nke))==="granted"||(yield e.requestPermission(nke))==="granted"});function bVe(){return ai(this,null,function*(){return typeof Window>"u"||!("_location"in Window)?void 0:(yield uB(`Tldraw_file_handle_${window.location.origin}`))||null})}function Hhe(e){return ai(this,null,function*(){return BS(`Tldraw_file_handle_${window.location.origin}`,e)})}function joe(e,t,n){return ai(this,null,function*(){let r={name:e.name||"New Document",fileHandle:t??null,document:e},i=JSON.stringify(r),a=new Blob([i],{type:"application/vnd.Tldraw+json"});if(t&&!(yield aHn(t)))return null;let o=!iE&&n?.length?n:`${r.name}`,s=yield DGe(a,{fileName:`${o}${Poe}`,description:"Tldraw File",extensions:[`${Poe}`]},t);return yield Hhe(s),s})}function wVe(){return ai(this,null,function*(){var e;let t=yield Dhe({description:"Tldraw File",extensions:[`${Poe}`],multiple:!1});if(!t)return null;let n=yield new Promise(a=>{let o=new FileReader;o.onloadend=()=>{o.readyState===FileReader.DONE&&a(o.result)},o.readAsText(t,"utf8")}),r=JSON.parse(n);if("tldrawFileFormatVersion"in r)return alert("This file was created in a newer version of tldraw. Please visit beta.tldraw.com to open it."),null;let i=(e=t.handle)!=null?e:null;return yield Hhe(i),{fileHandle:i,document:r.document}})}function kVe(){return ai(this,null,function*(){return Dhe({description:"Image or Video",extensions:[...eVe,...tVe],multiple:!0})})}function _Ve(e){return new Promise((t,n)=>{if(e){let r=new FileReader;r.readAsDataURL(e),r.onload=()=>t(r.result),r.onerror=i=>n(i),r.onabort=i=>n(i)}})}function CVe(e){return new Promise((t,n)=>{if(e){let r=new FileReader;r.readAsText(e),r.onload=()=>t(r.result),r.onerror=i=>n(i),r.onabort=i=>n(i)}})}function EVe(e){return new Promise((t,n)=>{let r=new Image;r.onload=()=>t([r.width,r.height]),r.onerror=()=>n(new Error("Could not get image size")),r.src=e})}function xVe(e){return new Promise((t,n)=>{let r=document.createElement("video");r.onloadedmetadata=()=>t([r.videoWidth,r.videoHeight]),r.onerror=()=>n(new Error("Could not get video size")),r.src=e})}vjt(yVe,ajt);var j0=class{constructor(e){this.app=e}},oHn=class extends j0{constructor(e,t,n,r=!1){super(e),Ce(this,"type","arrow"),Ce(this,"performanceMode"),Ce(this,"status","translatingHandle"),Ce(this,"newStartBindingId",bt.uniqueId()),Ce(this,"draggedBindingId",bt.uniqueId()),Ce(this,"didBind",!1),Ce(this,"initialShape"),Ce(this,"handleId"),Ce(this,"bindableShapeIds"),Ce(this,"initialBinding"),Ce(this,"startBindingShapeId"),Ce(this,"isCreate"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{var f,d,h;let{initialShape:p}=this,{currentPoint:g,shiftKey:b,altKey:m,metaKey:v,currentGrid:w,settings:{showGrid:k}}=this.app,E=this.app.getShape(p.id);if(E.isLocked)return;let{handles:S}=p,T=this.handleId;if(!S[T].canBind)return;let L=We.sub(g,We.add(S[T].point,p.point));if(b){let F=m?We.med(S.start.point,S.end.point):S[T==="start"?"end":"start"].point,q=S[T].point,V=We.add(q,L),X=We.angle(F,V),G=We.rotWith(V,F,bt.snapAngleToSegments(X,24)-X);L=We.add(L,We.sub(G,V))}let M=We.add(S[T].point,L),D={[T]:Zt(mt({},S[T]),{point:k?We.snap(M,w):We.toFixed(M),bindingId:void 0})},I=m_.arrow,B=(f=I.onHandleChange)==null?void 0:f.call(I,p,D);if(!B)return;let N={shape:bt.deepMerge(E,B),bindings:{}},O,R=N.shape.handles[this.handleId],P=N.shape.handles[this.handleId==="start"?"end":"start"];if(this.startBindingShapeId){let F,q=this.app.page.shapes[this.startBindingShapeId],V=rn.getShapeUtil(q),X=V.getCenter(q),G=N.shape.handles.start,J=N.shape.handles.end,te=We.add(G.point,N.shape.point);We.isEqual(te,X)&&te[1]++;let re=X,Q=V.hitTestPoint(q,g),ae=We.uni(We.sub(te,re)),le=this.app.getBinding(this.newStartBindingId)!==void 0;!v&&!V.hitTestPoint(q,We.add(N.shape.point,J.point))&&(F=this.findBindingPoint(E,q,"start",this.newStartBindingId,X,re,ae,Q)),F&&!le?(this.didBind=!0,N.bindings[this.newStartBindingId]=F,N.shape=bt.deepMerge(N.shape,{handles:{start:{bindingId:F.id}}})):!F&&le&&(this.didBind=!1,N.bindings[this.newStartBindingId]=void 0,N.shape=bt.deepMerge(p,{handles:{start:{bindingId:void 0}}}))}if(!v){let F=We.add(P.point,N.shape.point),q=We.add(R.point,N.shape.point),V=We.uni(We.sub(q,F)),X=We.add(N.shape.point,N.shape.handles.start.point),G=We.add(N.shape.point,N.shape.handles.end.point),J=this.bindableShapeIds.map(te=>this.app.page.shapes[te]).sort((te,re)=>re.childIndex-te.childIndex).filter(te=>{if(te.isLocked)return!1;let re=rn.getShapeUtil(te);return![X,G].every(Q=>re.hitTestPoint(te,Q))});for(let te of J)if(O=this.findBindingPoint(E,te,this.handleId,this.draggedBindingId,q,F,V,m),O)break}if(O)this.didBind=!0,N.bindings[this.draggedBindingId]=O,N.shape=bt.deepMerge(N.shape,{handles:{[this.handleId]:{bindingId:this.draggedBindingId}}});else{this.didBind=this.didBind||!1;let F=E.handles[this.handleId].bindingId;F!==void 0&&(N.bindings[F]=void 0,N.shape=bt.deepMerge(N.shape,{handles:{[this.handleId]:{bindingId:void 0}}}))}let H=(h=(d=rn.getShapeUtil(N.shape)).onHandleChange)==null?void 0:h.call(d,N.shape,N.shape.handles);return{document:{pages:{[this.app.currentPageId]:{shapes:{[E.id]:mt(mt({},N.shape),H??{})},bindings:N.bindings}},pageStates:{[this.app.currentPageId]:{bindingId:N.shape.handles[T].bindingId}}}}}),Ce(this,"cancel",()=>{let{initialShape:f,initialBinding:d,newStartBindingId:h,draggedBindingId:p}=this,g=rn.onSessionComplete(this.app.page.shapes[f.id]),b=this.isCreate||We.dist(g.handles.start.point,g.handles.end.point)<4,m={};return m[p]=void 0,d&&(m[d.id]=b?void 0:d),h&&(m[h]=void 0),{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:b?void 0:f},bindings:m}},pageStates:{[this.app.currentPageId]:{selectedIds:b?[]:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}}}),Ce(this,"complete",()=>{let{initialShape:f,initialBinding:d,newStartBindingId:h,startBindingShapeId:p,handleId:g}=this,b=rn.onSessionComplete(this.app.page.shapes[f.id]),m=b.handles[g].bindingId,v=We.dist(b.handles.start.point,b.handles.end.point);if(!(m||d)&&v<4)return this.cancel();let w={},k={};return d&&(w[d.id]=this.isCreate?void 0:d,k[d.id]=void 0),m&&(w[m]=void 0,k[m]=this.app.page.bindings[m]),p&&(w[h]=void 0,k[h]=this.app.page.bindings[h]),{id:"arrow",before:{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:this.isCreate?void 0:f},bindings:w}},pageStates:{[this.app.currentPageId]:{selectedIds:this.isCreate?[]:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}},after:{document:{pages:{[this.app.currentPageId]:{shapes:{[f.id]:b},bindings:k}},pageStates:{[this.app.currentPageId]:{selectedIds:[f.id],bindingId:void 0,hoveredId:void 0,editingId:void 0}}}}}}),Ce(this,"findBindingPoint",(f,d,h,p,g,b,m,v)=>{let w=rn.getShapeUtil(d.type).getBindingPoint(d,f,g,b,m,v);if(w)return{id:p,type:"arrow",fromId:f.id,toId:d.id,handleId:h,point:We.toFixed(w.point),distance:w.distance}});var i,a,o;this.isCreate=r;let{currentPageId:s}=e.state.appState,l=e.state.document.pages[s];this.handleId=n,this.initialShape=Jf(l.shapes[t]),this.bindableShapeIds=rn.getBindableShapeIds(e.state).filter(f=>!(f===this.initialShape.id||f===this.initialShape.parentId));let u=(i=this.initialShape.handles[n==="start"?"end":"start"])==null?void 0:i.bindingId;if(u){let f=(a=l.bindings[u])==null?void 0:a.toId;f&&(this.bindableShapeIds=this.bindableShapeIds.filter(d=>d!==f))}let{originPoint:c}=this.app;if(this.isCreate)this.startBindingShapeId=(o=this.bindableShapeIds.map(f=>l.shapes[f]).filter(f=>!f.isLocked&&bt.pointInBounds(c,rn.getShapeUtil(f).getBounds(f))).sort((f,d)=>d.childIndex-f.childIndex)[0])==null?void 0:o.id,this.startBindingShapeId&&this.bindableShapeIds.splice(this.bindableShapeIds.indexOf(this.startBindingShapeId),1);else{let f=this.initialShape.handles[this.handleId].bindingId;f?this.initialBinding=l.bindings[f]:this.initialShape.handles[this.handleId].bindingId=void 0}}},sHn=class extends j0{constructor(e){super(e),Ce(this,"type","brush"),Ce(this,"performanceMode"),Ce(this,"status","brushing"),Ce(this,"initialSelectedIds"),Ce(this,"shapesToTest"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{initialSelectedIds:n,shapesToTest:r,app:{metaKey:i,settings:a,originPoint:o,currentPoint:s}}=this,l=bt.getBoundsFromPoints([o,s]),u=a.isCadSelectMode?!i&&o[0]{let m=this.app.getShape(g);if(!c.has(b)){let v=this.app.getShapeUtil(m);(u?bt.boundsContain(l,v.getBounds(m)):v.hitTestBounds(m,l))?(c.add(b),f.has(b)||f.add(b)):f.has(b)&&f.delete(b)}});let d=this.app.selectedIds,h=f.size!==d.length||d.some(g=>!f.has(g)),p=h?Array.from(f.values()):d;return h?{appState:{selectByContain:u},document:{pageStates:{[this.app.currentPageId]:{brush:l,selectedIds:p}}}}:{appState:{selectByContain:u},document:{pageStates:{[this.app.currentPageId]:{brush:l}}}}}),Ce(this,"cancel",()=>({appState:{selectByContain:!1},document:{pageStates:{[this.app.currentPageId]:{brush:null,selectedIds:Array.from(this.initialSelectedIds.values())}}}})),Ce(this,"complete",()=>({appState:{selectByContain:!1},document:{pageStates:{[this.app.currentPageId]:{brush:null,selectedIds:[...this.app.selectedIds]}}}}));let{currentPageId:t}=e;this.initialSelectedIds=new Set(this.app.selectedIds),this.shapesToTest=this.app.shapes.filter(n=>!(n.isLocked||n.isHidden||n.parentId!==t||this.initialSelectedIds.has(n.id)||this.initialSelectedIds.has(n.parentId))).map(n=>({id:n.id,bounds:this.app.getShapeUtil(n).getBounds(n),selectId:n.id})),this.update()}},lHn=class extends j0{constructor(e,t){super(e),Ce(this,"type","draw"),Ce(this,"performanceMode"),Ce(this,"status","creating"),Ce(this,"topLeft"),Ce(this,"points"),Ce(this,"initialShape"),Ce(this,"lastAdjustedPoint"),Ce(this,"shiftedPoints",[]),Ce(this,"shapeId"),Ce(this,"isLocked"),Ce(this,"isExtending"),Ce(this,"lockedDirection"),Ce(this,"start",()=>{var l;let u=this.app.originPoint,c=[0,0,(l=u[2])!=null?l:.5];this.points.push(c);let f=[Math.min(this.topLeft[0],u[0]),Math.min(this.topLeft[1],u[1])],d=We.sub(f,u);return this.topLeft=f,this.shiftedPoints=this.points.map(h=>We.toFixed(We.sub(h,d)).concat(h[2])),{document:{pages:{[this.app.currentPageId]:{shapes:{[this.shapeId]:{point:this.topLeft,points:this.shiftedPoints}}}},pageStates:{[this.app.currentPageId]:{selectedIds:[this.shapeId]}}}}}),Ce(this,"update",()=>{let{shapeId:l}=this,{currentPoint:u,originPoint:c,shiftKey:f,zoom:d}=this.app;if(!this.lockedDirection&&this.points.length>1){let p=We.sub(u,c);We.len(p)>3/d&&(this.lockedDirection=Math.abs(p[0])>Math.abs(p[1])?"horizontal":"vertical")}if(f){if(!this.isLocked&&this.points.length>2){if(!this.lockedDirection){let g=We.sub(u,c);We.len(g)>3/d&&(this.lockedDirection=Math.abs(g[0])>Math.abs(g[1])?"horizontal":"vertical")}this.isLocked=!0;let p=[...this.lastAdjustedPoint];this.lockedDirection==="vertical"?p[0]=0:p[1]=0,this.points.push(p.concat(u[2]))}}else this.isLocked&&(this.isLocked=!1);this.isLocked&&(this.lockedDirection==="vertical"?u[0]=c[0]:u[1]=c[1]);let h=this.addPoint(u);if(h)return{document:{pages:{[this.app.currentPageId]:{shapes:{[l]:h}}},pageStates:{[this.app.currentPageId]:{selectedIds:[l]}}}}}),Ce(this,"cancel",()=>{let{shapeId:l}=this,u=this.app.currentPageId;return{document:{pages:{[u]:{shapes:{[l]:this.isExtending?this.initialShape:void 0}}},pageStates:{[u]:{selectedIds:[]}}}}}),Ce(this,"complete",()=>{let{shapeId:l}=this,u=this.app.currentPageId,c=this.app.getShape(l);return{id:"create_draw",before:{document:{pages:{[u]:{shapes:{[l]:this.isExtending?this.initialShape:void 0}}},pageStates:{[u]:{selectedIds:[]}}}},after:{document:{pages:{[u]:{shapes:{[l]:Zt(mt({},c),{point:We.toFixed(c.point),points:c.points.map(f=>We.toFixed(f)),isComplete:!0})}}},pageStates:{[this.app.currentPageId]:{selectedIds:[]}}}}}}),Ce(this,"addPoint",l=>{let{originPoint:u}=this.app,c=We.toFixed(We.sub(l,u)).concat(l[2]);if(We.isEqual(this.lastAdjustedPoint,c))return;this.points.push(c),this.lastAdjustedPoint=c;let f=[...this.topLeft],d=[Math.min(this.topLeft[0],l[0]),Math.min(this.topLeft[1],l[1])],h=We.sub(d,u),p;return f[0]!==d[0]||f[1]!==d[1]?(this.topLeft=d,p=this.points.map(g=>We.toFixed(We.sub(g,h)).concat(g[2]))):p=[...this.shiftedPoints,We.sub(c,h).concat(c[2])],this.shiftedPoints=p,{point:this.topLeft,points:p}});var n;let{originPoint:r}=this.app;this.shapeId=t,this.initialShape=this.app.getShape(t),this.topLeft=[...this.initialShape.point];let i=[0,0,(n=r[2])!=null?n:.5],a=We.sub(r,this.topLeft),o=this.initialShape.points.map(l=>We.sub(l,a).concat(l[2]));this.isExtending=o.length>0;let s=[];if(this.isExtending){let l=o[o.length-1];if(l){s.push(l,l);let u=Math.floor(We.dist(l,i)/16);if(u>1)for(let c=0;cWe.add(l,a).concat(l[2])),this.lastAdjustedPoint=this.points[this.points.length-1]}},uHn=class extends j0{constructor(e,t,n){super(e),Ce(this,"type","edit"),Ce(this,"performanceMode"),Ce(this,"initialShape"),Ce(this,"initialSelectedIds"),Ce(this,"currentPageId"),Ce(this,"isCreating"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{}),Ce(this,"cancel",()=>({document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:this.isCreating?void 0:this.initialShape}}},pageStates:{[this.currentPageId]:{selectedIds:this.isCreating?[]:this.initialSelectedIds,editingId:void 0}}}})),Ce(this,"complete",()=>{let r=this.app.getShape(this.initialShape.id);return{id:"edit",before:{document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:this.isCreating?void 0:this.initialShape}}},pageStates:{[this.currentPageId]:{selectedIds:this.isCreating?[]:this.initialSelectedIds,editingId:void 0}}}},after:{document:{pages:{[this.currentPageId]:{shapes:{[this.initialShape.id]:r}}},pageStates:{[this.currentPageId]:{selectedIds:[r.id],editingId:void 0}}}}}}),this.initialShape=e.getShape(t,e.currentPageId),this.currentPageId=e.currentPageId,this.isCreating=n,this.initialSelectedIds=[...e.selectedIds]}},cHn=class extends j0{constructor(e){super(e),Ce(this,"type","draw"),Ce(this,"performanceMode"),Ce(this,"status","creating"),Ce(this,"isLocked"),Ce(this,"lockedDirection"),Ce(this,"erasedShapes",new Set),Ce(this,"erasedBindings",new Set),Ce(this,"initialSelectedShapes"),Ce(this,"erasableShapes"),Ce(this,"prevPoint"),Ce(this,"prevEraseShapesSize",0),Ce(this,"interval"),Ce(this,"timestamp1",0),Ce(this,"timestamp2",0),Ce(this,"prevErasePoint",[]),Ce(this,"loop",()=>{let t=Date.now(),n=t-this.timestamp1,r=t-this.timestamp2,{eraseLine:i}=this.app.appState,a=[...i],o=!1;n>16&&this.prevErasePoint!==this.prevPoint&&(o=!0,a=[...i,this.prevPoint],this.prevErasePoint=this.prevPoint),r>32&&a.length>1&&(o=!0,a.splice(0,Math.ceil(a.length*.1)),this.timestamp2=t),o&&this.app.patchState({appState:{eraseLine:a}},"eraseline"),this.interval=requestAnimationFrame(this.loop)}),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{page:t,shiftKey:n,originPoint:r,currentPoint:i,zoom:a}=this.app;if(n){let u=We.sub(i,r);if(!this.isLocked&&We.len(u)>3/a){if(!this.lockedDirection){let c=We.sub(i,r);this.lockedDirection=Math.abs(c[0])>Math.abs(c[1])?"horizontal":"vertical"}this.isLocked=!0}}else this.isLocked&&(this.isLocked=!1);this.isLocked&&(this.lockedDirection==="vertical"?i[0]=r[0]:i[1]=r[1]);let o=We.toFixed(We.add(r,We.sub(i,r))),s=new Set([]);this.erasableShapes.forEach(u=>{if(!this.erasedShapes.has(u)&&this.app.getShapeUtil(u).hitTestLineSegment(u,this.prevPoint,o)&&(this.erasedShapes.add(u),s.add(u.id),u.children!==void 0))for(let c of u.children)this.erasedShapes.add(this.app.getShape(c)),s.add(c)}),Object.values(t.bindings).forEach(u=>{for(let c of[u.toId,u.fromId])s.has(c)&&this.erasedBindings.add(u)}),this.erasedShapes.forEach(u=>{this.app.getShape(u.id)||(this.erasedShapes.delete(u),this.erasableShapes.delete(u),s.delete(u.id))});let l=Array.from(this.erasedShapes.values());if(this.prevPoint=o,l.length!==this.prevEraseShapesSize)return this.prevEraseShapesSize=l.length,{document:{pages:{[t.id]:{shapes:Object.fromEntries(l.map(u=>[u.id,{isGhost:!0}]))}}}}}),Ce(this,"cancel",()=>{let{page:t}=this.app;cancelAnimationFrame(this.interval),this.erasedShapes.forEach(r=>{this.app.getShape(r.id)||(this.erasedShapes.delete(r),this.erasableShapes.delete(r))});let n=Array.from(this.erasedShapes.values());return{document:{pages:{[t.id]:{shapes:Object.fromEntries(n.map(r=>[r.id,{isGhost:!1}]))}},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.map(r=>r.id)}}},appState:{eraseLine:[]}}}),Ce(this,"complete",()=>{let{page:t}=this.app;cancelAnimationFrame(this.interval),this.erasedShapes.forEach(l=>{this.app.getShape(l.id)||(this.erasedShapes.delete(l),this.erasableShapes.delete(l))}),this.erasedBindings.forEach(l=>{this.app.getBinding(l.id)||this.erasedBindings.delete(l)});let n=Array.from(this.erasedShapes.values()),r=Array.from(this.erasedBindings.values()),i=n.map(l=>l.id),a=r.map(l=>l.id),o={shapes:Object.fromEntries(n.map(l=>[l.id,l])),bindings:Object.fromEntries(r.map(l=>[l.id,l]))},s={shapes:Object.fromEntries(n.map(l=>[l.id,void 0])),bindings:Object.fromEntries(r.map(l=>[l.id,void 0]))};return this.app.shapes.forEach(l=>{l.handles&&!s.shapes[l.id]&&Object.values(l.handles).forEach(u=>{var c,f;u.bindingId&&a.includes(u.bindingId)&&(o.shapes[l.id]=Zt(mt({},o.shapes[l.id]),{handles:Zt(mt({},(c=o.shapes[l.id])==null?void 0:c.handles),{[u.id]:u})}),i.includes(l.id)||(s.shapes[l.id]=Zt(mt({},s.shapes[l.id]),{handles:Zt(mt({},(f=s.shapes[l.id])==null?void 0:f.handles),{[u.id]:Zt(mt({},u),{bindingId:void 0})})})))})}),{id:"erase",before:{document:{pages:{[t.id]:o},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.filter(l=>!!this.app.getShape(l.id)).map(l=>l.id)}}},appState:{eraseLine:[]}},after:{document:{pages:{[t.id]:s},pageStates:{[t.id]:{selectedIds:this.initialSelectedShapes.filter(l=>!!this.app.getShape(l.id)).filter(l=>!i.includes(l.id)).map(l=>l.id)}}},appState:{eraseLine:[]}}}}),this.prevPoint=[...e.originPoint],this.initialSelectedShapes=this.app.selectedIds.map(t=>this.app.getShape(t)),this.erasableShapes=new Set(this.app.shapes.filter(t=>!t.isLocked)),this.interval=this.loop()}},fHn=class extends j0{constructor(e,t){super(e),Ce(this,"type","grid"),Ce(this,"performanceMode"),Ce(this,"status","translating"),Ce(this,"shape"),Ce(this,"bounds"),Ce(this,"initialSelectedIds"),Ce(this,"initialSiblings"),Ce(this,"grid",{}),Ce(this,"columns",1),Ce(this,"rows",1),Ce(this,"isCopying",!1),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{currentPageId:r,altKey:i,shiftKey:a,currentPoint:o}=this.app,s={},l={},u=bt.getBoundsCenter(this.bounds),c=We.sub(o,u);a&&(Math.abs(c[0])E!==this.shape.id).forEach(E=>s[E]=void 0),this.grid={"0_0":this.shape.id},this.isCopying=k);for(let E=g;E{w.has(E)||(s[S]=void 0,delete this.grid[E])}),Object.values(s).length!==0)return this.initialSiblings&&(s[this.shape.parentId]={children:[...this.initialSiblings,...Object.values(this.grid)]}),{document:{pages:{[r]:{shapes:s}},pageStates:{[r]:l}}}}),Ce(this,"cancel",()=>{let{currentPageId:r}=this.app,i={};return Object.values(this.grid).forEach(a=>{i[a]=void 0}),i[this.shape.id]=Zt(mt({},i[this.shape.id]),{point:this.shape.point}),this.initialSiblings&&(i[this.shape.parentId]={children:[...this.initialSiblings,this.shape.id]}),{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:[this.shape.id]}}}}}),Ce(this,"complete",()=>{let{currentPageId:r}=this.app,i={},a={},o=[];if(Object.values(this.grid).forEach(s=>{i[s]=void 0,a[s]=this.app.getShape(s),o.push(s)}),i[this.shape.id]=this.shape,this.initialSiblings&&(i[this.shape.parentId]={children:[...this.initialSiblings,this.shape.id]},a[this.shape.parentId]={children:[...this.initialSiblings,...Object.values(this.grid)]}),o.length!==1)return{id:"grid",before:{document:{pages:{[r]:{shapes:i}},pageStates:{[r]:{selectedIds:[],hoveredId:void 0}}}},after:{document:{pages:{[r]:{shapes:a}},pageStates:{[r]:{selectedIds:o,hoveredId:void 0}}}}}}),Ce(this,"getClone",(r,i)=>{let a=Zt(mt({},this.shape),{id:bt.uniqueId(),point:r});return i||a.type==="sticky"&&(a.text=""),a});var n;this.shape=this.app.getShape(t),this.grid["0_0"]=this.shape.id,this.bounds=this.app.getShapeBounds(t),this.initialSelectedIds=[...this.app.selectedIds],this.shape.parentId!==this.app.currentPageId&&(this.initialSiblings=(n=this.app.getShape(this.shape.parentId).children)==null?void 0:n.filter(r=>r!==this.shape.id))}},dHn=class extends j0{constructor(e,t,n,r="move_handle"){super(e),Ce(this,"type","handle"),Ce(this,"performanceMode"),Ce(this,"status","translatingHandle"),Ce(this,"commandId"),Ce(this,"topLeft"),Ce(this,"shiftKey",!1),Ce(this,"initialShape"),Ce(this,"handleId"),Ce(this,"start",()=>{}),Ce(this,"update",()=>{var a,o;let{initialShape:s,app:{currentPageId:l,currentPoint:u}}=this,c=this.app.getShape(s.id);if(c.isLocked)return;let f=c.handles,d=this.handleId,h=We.sub(u,f[d].point),p={[d]:Zt(mt({},f[d]),{point:We.sub(We.add(f[d].point,h),c.point)})},g=(o=(a=rn.getShapeUtil(c)).onHandleChange)==null?void 0:o.call(a,c,p);if(g)return{document:{pages:{[l]:{shapes:{[c.id]:g}}}}}}),Ce(this,"cancel",()=>{let{initialShape:a,app:{currentPageId:o}}=this;return{document:{pages:{[o]:{shapes:{[a.id]:a}}}}}}),Ce(this,"complete",()=>{let{initialShape:a,app:{currentPageId:o}}=this;return{id:this.commandId,before:{document:{pages:{[o]:{shapes:{[a.id]:a}}}}},after:{document:{pages:{[o]:{shapes:{[a.id]:rn.onSessionComplete(this.app.getShape(this.initialShape.id))}}}}}}});let{originPoint:i}=e;this.topLeft=[...i],this.handleId=n,this.initialShape=this.app.getShape(t),this.commandId=r}},hHn=class extends j0{constructor(e){super(e),Ce(this,"type","rotate"),Ce(this,"status","transforming"),Ce(this,"performanceMode"),Ce(this,"delta",[0,0]),Ce(this,"commonBoundsCenter"),Ce(this,"initialAngle"),Ce(this,"initialShapes"),Ce(this,"changes",{}),Ce(this,"start",()=>{}),Ce(this,"update",()=>{let{commonBoundsCenter:a,initialShapes:o,app:{currentPageId:s,currentPoint:l,shiftKey:u}}=this,c={},f=We.angle(a,l)-this.initialAngle;return u&&(f=bt.snapAngleToSegments(f,24)),o.forEach(({center:d,shape:h})=>{let{rotation:p=0}=h,g=0;u&&(g=bt.snapAngleToSegments(p,24)-p);let b=rn.getRotatedShapeMutation(h,d,a,u?f+g:f);b&&(c[h.id]=b)}),this.changes=c,{document:{pages:{[s]:{shapes:c}}}}}),Ce(this,"cancel",()=>{let{initialShapes:a,app:{currentPageId:o}}=this,s={};return a.forEach(({shape:l})=>s[l.id]=l),{document:{pages:{[o]:{shapes:s}}}}}),Ce(this,"complete",()=>{let{initialShapes:a,app:{currentPageId:o}}=this,s={},l=this.changes;return a.forEach(({shape:{id:u,point:c,rotation:f,handles:d}})=>{s[u]={point:c,rotation:f,handles:d}}),{id:"rotate",before:{document:{pages:{[o]:{shapes:s}}}},after:{document:{pages:{[o]:{shapes:l}}}}}});let{app:{currentPageId:t,pageState:n,originPoint:r}}=this,i=rn.getSelectedBranchSnapshot(e.state,t).filter(a=>!a.isLocked);if(i.length===0)throw Error("No selected shapes!");if(e.rotationInfo.selectedIds===n.selectedIds){if(e.rotationInfo.center===void 0)throw Error("We should have a center for rotation!");this.commonBoundsCenter=e.rotationInfo.center}else this.commonBoundsCenter=bt.getBoundsCenter(bt.getCommonBounds(i.map(rn.getBounds))),e.rotationInfo.selectedIds=n.selectedIds,e.rotationInfo.center=this.commonBoundsCenter;this.initialShapes=i.filter(a=>a.children===void 0).map(a=>({shape:a,center:this.app.getShapeUtil(a).getCenter(a)})),this.initialAngle=We.angle(this.commonBoundsCenter,r)}},pHn=class extends j0{constructor(e,t=b0.BottomRight,n=!1){super(e),this.transformType=t,this.isCreate=n,Ce(this,"type","transform"),Ce(this,"performanceMode"),Ce(this,"status","transforming"),Ce(this,"scaleX",1),Ce(this,"scaleY",1),Ce(this,"initialShapes"),Ce(this,"initialShapeIds"),Ce(this,"initialSelectedIds"),Ce(this,"shapeBounds"),Ce(this,"hasUnlockedShapes"),Ce(this,"isAllAspectRatioLocked"),Ce(this,"initialCommonBounds"),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"start",()=>{this.snapInfo={state:"ready",bounds:this.app.shapes.filter(o=>!this.initialShapeIds.includes(o.id)).map(o=>bt.getBoundsWithCenter(rn.getRotatedBounds(o)))}}),Ce(this,"update",()=>{let{transformType:o,shapeBounds:s,initialCommonBounds:l,isAllAspectRatioLocked:u,app:{currentPageId:c,pageState:{camera:f},viewport:d,currentPoint:h,previousPoint:p,originPoint:g,shiftKey:b,altKey:m,metaKey:v,currentGrid:w,settings:{isSnapping:k,showGrid:E}}}=this,S={},T=m?We.mul(We.sub(h,g),2):We.sub(h,g),L=bt.getTransformedBoundingBox(l,o,T,0,b||u);m&&(L=mt(mt({},L),bt.centerBounds(L,bt.getBoundsCenter(l)))),E&&(L=mt(mt({},L),bt.snapBoundsToGrid(L,w)));let M=We.dist(h,p)-this.speed;this.speed=this.speed+M*(M>1?.5:.15);let D=[];if((k&&!v||!k&&v)&&this.speed*f.zoom<10&&this.snapInfo.state==="ready"){let I=bt.getSnapPoints(bt.getBoundsWithCenter(L),this.snapInfo.bounds.filter(B=>bt.boundsContain(d,B)||bt.boundsCollide(d,B)),5/f.zoom);I&&(D=I.snapLines,L=bt.getTransformedBoundingBox(l,o,We.sub(T,I.offset),0,b||u))}return this.scaleX=L.scaleX,this.scaleY=L.scaleY,s.forEach(({initialShape:I,initialShapeBounds:B,transformOrigin:N})=>{let O=bt.getRelativeTransformedBoundingBox(L,l,B,this.scaleX<0,this.scaleY<0);E&&(O=bt.snapBoundsToGrid(O,w));let R=rn.transform(this.app.getShape(I.id),O,{type:this.transformType,initialShape:I,scaleX:this.scaleX,scaleY:this.scaleY,transformOrigin:N});S[I.id]=R}),{appState:{snapLines:D},document:{pages:{[c]:{shapes:S}}}}}),Ce(this,"cancel",()=>{let{shapeBounds:o,app:{currentPageId:s}}=this,l={};return this.isCreate?o.forEach(u=>l[u.initialShape.id]=void 0):o.forEach(u=>l[u.initialShape.id]=u.initialShape),{appState:{snapLines:[]},document:{pages:{[s]:{shapes:l}},pageStates:{[s]:{selectedIds:this.isCreate?[]:o.map(u=>u.initialShape.id)}}}}}),Ce(this,"complete",()=>{let{isCreate:o,shapeBounds:s,hasUnlockedShapes:l,app:{currentPageId:u}}=this;if(!l)return;if(this.isCreate&&We.dist(this.app.originPoint,this.app.currentPoint)<2)return this.cancel();let c={},f={},d,h;return o?(d=[],h=[],s.forEach(({initialShape:p})=>{c[p.id]=void 0,f[p.id]=this.app.getShape(p.id)})):(d=this.initialSelectedIds,h=this.initialSelectedIds,s.forEach(({initialShape:p})=>{c[p.id]=p,f[p.id]=this.app.getShape(p.id)})),{id:"transform",before:{appState:{snapLines:[]},document:{pages:{[u]:{shapes:c}},pageStates:{[u]:{selectedIds:d,hoveredId:void 0,editingId:void 0}}}},after:{appState:{snapLines:[]},document:{pages:{[u]:{shapes:f}},pageStates:{[u]:{selectedIds:h,hoveredId:void 0,editingId:void 0}}}}}}),this.initialSelectedIds=[...this.app.selectedIds],this.app.rotationInfo.selectedIds=[...this.initialSelectedIds],this.initialShapes=rn.getSelectedBranchSnapshot(this.app.state,this.app.currentPageId).filter(o=>!o.isLocked),this.initialShapeIds=this.initialShapes.map(o=>o.id),this.hasUnlockedShapes=this.initialShapes.length>0,this.isAllAspectRatioLocked=this.initialShapes.every(o=>o.isAspectRatioLocked||rn.getShapeUtil(o).isAspectRatioLocked);let r=Object.fromEntries(this.initialShapes.map(o=>[o.id,rn.getBounds(o)])),i=Object.values(r);this.initialCommonBounds=bt.getCommonBounds(i);let a=bt.getBoundsFromPoints(i.map(bt.getBoundsCenter));this.shapeBounds=this.initialShapes.map(o=>{let s=r[o.id],l=bt.getBoundsCenter(s),u=(l[0]-a.minX)/a.width,c=(l[1]-a.minY)/a.height;return{initialShape:o,initialShapeBounds:s,transformOrigin:[u,c]}})}},gHn=class extends j0{constructor(e,t,n,r=!1){super(e),Ce(this,"type","transformSingle"),Ce(this,"status","transforming"),Ce(this,"performanceMode"),Ce(this,"transformType"),Ce(this,"scaleX",1),Ce(this,"scaleY",1),Ce(this,"isCreate"),Ce(this,"initialShape"),Ce(this,"initialShapeBounds"),Ce(this,"initialCommonBounds"),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"start",()=>{this.snapInfo={state:"ready",bounds:this.app.shapes.filter(a=>a.id!==this.initialShape.id).map(a=>bt.getBoundsWithCenter(rn.getRotatedBounds(a)))}}),Ce(this,"update",()=>{let{transformType:a,initialShape:o,initialShapeBounds:s,app:{settings:{isSnapping:l,showGrid:u},currentPageId:c,pageState:{camera:f},viewport:d,currentPoint:h,previousPoint:p,originPoint:g,currentGrid:b,shiftKey:m,altKey:v,metaKey:w}}=this;if(o.isLocked)return;let k={},E=v?We.mul(We.sub(h,g),2):We.sub(h,g),S=this.app.getShape(o.id),T=rn.getShapeUtil(S),L=bt.getTransformedBoundingBox(s,a,E,S.rotation,m||S.isAspectRatioLocked||T.isAspectRatioLocked);v&&(L=mt(mt({},L),bt.centerBounds(L,bt.getBoundsCenter(s)))),u&&(L=mt(mt({},L),bt.snapBoundsToGrid(L,b)));let M=We.dist(h,p)-this.speed;this.speed=this.speed+M*(M>1?.5:.15);let D=[];if((l&&!w||!l&&w)&&!o.rotation&&this.speed*f.zoom<10&&this.snapInfo.state==="ready"){let B=bt.getSnapPoints(bt.getBoundsWithCenter(L),this.snapInfo.bounds.filter(N=>bt.boundsContain(d,N)||bt.boundsCollide(d,N)),5/f.zoom);B&&(D=B.snapLines,L=bt.getTransformedBoundingBox(s,a,We.sub(E,B.offset),S.rotation,m||S.isAspectRatioLocked||T.isAspectRatioLocked))}let I=rn.getShapeUtil(S).transformSingle(S,L,{initialShape:o,type:this.transformType,scaleX:L.scaleX,scaleY:L.scaleY,transformOrigin:[.5,.5]});return I&&(k[S.id]=I),u&&I&&I.point&&(I.point=We.snap(I.point,b)),{appState:{snapLines:D},document:{pages:{[c]:{shapes:k}}}}}),Ce(this,"cancel",()=>{let{initialShape:a,app:{currentPageId:o}}=this,s={};return this.isCreate?s[a.id]=void 0:s[a.id]=a,{appState:{snapLines:[]},document:{pages:{[o]:{shapes:s}},pageStates:{[o]:{selectedIds:this.isCreate?[]:[a.id]}}}}}),Ce(this,"complete",()=>{let{initialShape:a,app:{currentPageId:o}}=this;if(a.isLocked)return;if(this.isCreate&&We.dist(this.app.originPoint,this.app.currentPoint)<2)return this.cancel();let s={},l={};return s[a.id]=this.isCreate?void 0:a,l[a.id]=rn.onSessionComplete(this.app.getShape(a.id)),{id:"transform_single",before:{appState:{snapLines:[]},document:{pages:{[o]:{shapes:s}},pageStates:{[o]:{selectedIds:this.isCreate?[]:[a.id],editingId:void 0,hoveredId:void 0}}}},after:{appState:{snapLines:[]},document:{pages:{[o]:{shapes:l}},pageStates:{[o]:{selectedIds:[a.id],editingId:void 0,hoveredId:void 0}}}}}}),this.isCreate=r,this.transformType=n;let i=this.app.getShape(t);this.initialShape=i,this.initialShapeBounds=rn.getBounds(i),this.initialCommonBounds=rn.getRotatedBounds(i),this.app.rotationInfo.selectedIds=[i.id]}},mHn=class extends j0{constructor(t,n=!1,r=!1){super(t),Ce(this,"performanceMode"),Ce(this,"type","translate"),Ce(this,"status","translating"),Ce(this,"delta",[0,0]),Ce(this,"prev",[0,0]),Ce(this,"prevPoint",[0,0]),Ce(this,"speed",1),Ce(this,"cloneInfo",{state:"empty"}),Ce(this,"snapInfo",{state:"empty"}),Ce(this,"snapLines",[]),Ce(this,"isCloning",!1),Ce(this,"isCreate"),Ce(this,"link"),Ce(this,"initialIds"),Ce(this,"hasUnlockedShapes"),Ce(this,"initialSelectedIds"),Ce(this,"initialCommonBounds"),Ce(this,"initialShapes"),Ce(this,"initialParentChildren"),Ce(this,"bindingsToDelete"),Ce(this,"start",()=>{let{bindingsToDelete:u,initialIds:c,app:{currentPageId:f,page:d}}=this,h=[],p=[];if(Object.values(d.shapes).forEach(m=>{let v=bt.getBoundsWithCenter(rn.getRotatedBounds(m));h.push(v),c.has(m.id)||p.push(v)}),this.snapInfo={state:"ready",bounds:h,others:p},u.length===0)return;let g={},b={};return u.forEach(m=>{g[m.id]=void 0;let v=this.app.getShape(m.fromId);b[m.fromId]={handles:Zt(mt({},v.handles),{[m.handleId]:Zt(mt({},v.handles[m.handleId]),{bindingId:void 0})})}}),{document:{pages:{[f]:{bindings:g,shapes:b}}}}}),Ce(this,"update",()=>{let{initialParentChildren:u,initialShapes:c,initialCommonBounds:f,bindingsToDelete:d,app:{pageState:{camera:h},settings:{isSnapping:p,showGrid:g},currentPageId:b,viewport:m,selectedIds:v,currentPoint:w,previousPoint:k,originPoint:E,altKey:S,shiftKey:T,metaKey:L,currentGrid:M}}=this,D={},I={},B={},N=We.sub(w,E),O=!1;this.isCreate||(S&&!this.isCloning?(this.isCloning=!0,O=!0):!S&&this.isCloning&&(this.isCloning=!1,O=!0)),T&&(Math.abs(N[0])1?.5:.15),this.snapLines=[],(p&&!L||!p&&L)&&this.speed*h.zoom<10&&this.snapInfo.state==="ready"){let P=bt.getSnapPoints(bt.getBoundsWithCenter(g?bt.snapBoundsToGrid(bt.translateBounds(f,N),M):bt.translateBounds(f,N)),(this.isCloning?this.snapInfo.bounds:this.snapInfo.others).filter(H=>bt.boundsContain(m,H)||bt.boundsCollide(m,H)),5/h.zoom);P&&(this.snapLines=P.snapLines,N=We.sub(N,P.offset))}if(this.prev=N,this.isCloning)if(O){if(this.cloneInfo.state==="empty"&&this.createCloneInfo(),this.cloneInfo.state==="empty")throw Error;let{clones:P,clonedBindings:H}=this.cloneInfo;this.isCloning=!0,d.forEach(F=>D[F.id]=F),c.forEach(F=>I[F.id]={point:F.point}),P.forEach(F=>{var q;if(I[F.id]=mt({},F),F.parentId!==b&&!v.includes(F.parentId)){let V=((q=I[F.parentId])==null?void 0:q.children)||u[F.parentId];V.includes(F.id)||(I[F.parentId]=Zt(mt({},I[F.parentId]),{children:[...V,F.id]}))}});for(let F of H)D[F.id]=F;B.selectedIds=P.map(F=>F.id),P.forEach(F=>{I[F.id]=Zt(mt({},F),{point:g?We.snap(We.toFixed(We.add(F.point,N)),M):We.toFixed(We.add(F.point,N))})})}else{if(this.cloneInfo.state==="empty")throw Error;let{clones:P}=this.cloneInfo;P.forEach(H=>{I[H.id]={point:g?We.snap(We.toFixed(We.add(H.point,N)),M):We.toFixed(We.add(H.point,N))}})}else if(O){if(this.cloneInfo.state==="empty")throw Error;let{clones:P,clonedBindings:H}=this.cloneInfo;this.isCloning=!1,d.forEach(F=>D[F.id]=void 0),P.forEach(F=>{F.parentId!==b&&(I[F.parentId]=Zt(mt({},I[F.parentId]),{children:u[F.parentId]}))}),P.forEach(F=>I[F.id]=void 0),c.forEach(F=>{I[F.id]={point:g?We.snap(We.toFixed(We.add(F.point,N)),M):We.toFixed(We.add(F.point,N))}});for(let F of H)D[F.id]=void 0;B.selectedIds=c.map(F=>F.id)}else c.forEach(P=>{I[P.id]={point:g?We.snap(We.toFixed(We.add(P.point,N)),M):We.toFixed(We.add(P.point,N))}});return{appState:{snapLines:this.snapLines},document:{pages:{[b]:{shapes:I,bindings:D}},pageStates:{[b]:B}}}}),Ce(this,"cancel",()=>{let{initialShapes:u,initialSelectedIds:c,bindingsToDelete:f,app:{currentPageId:d}}=this,h={},p={},g={editingId:void 0,hoveredId:void 0};if(this.isCreate?(u.forEach(({id:b})=>p[b]=void 0),g.selectedIds=[]):(u.forEach(({id:b,point:m,handles:v})=>p[b]=v?Zt(mt({},p[b]),{point:m,handles:v}):Zt(mt({},p[b]),{point:m})),g.selectedIds=c,f.forEach(b=>{h[b.id]=b})),this.cloneInfo.state==="ready"){let{clones:b,clonedBindings:m}=this.cloneInfo;b.forEach(v=>p[v.id]=void 0),m.forEach(v=>h[v.id]=void 0)}return{appState:{snapLines:[]},document:{pages:{[d]:{shapes:p,bindings:h}},pageStates:{[d]:g}}}}),Ce(this,"complete",()=>{let{initialShapes:u,initialParentChildren:c,bindingsToDelete:f,app:{currentPageId:d}}=this,h={},p={},g={},b={};if(this.isCloning){if(this.cloneInfo.state==="empty"&&this.createCloneInfo(),this.cloneInfo.state!=="ready")throw Error;let{clones:m,clonedBindings:v}=this.cloneInfo;m.forEach(w=>{p[w.id]=void 0,b[w.id]=this.app.getShape(w.id),w.parentId!==d&&(p[w.parentId]=Zt(mt({},p[w.parentId]),{children:c[w.parentId]}),b[w.parentId]=Zt(mt({},b[w.parentId]),{children:this.app.getShape(w.parentId).children}))}),v.forEach(w=>{h[w.id]=void 0,g[w.id]=this.app.getBinding(w.id)})}else u.forEach(m=>{p[m.id]=this.isCreate?void 0:Zt(mt({},p[m.id]),{point:m.point}),b[m.id]=mt(mt({},b[m.id]),this.isCreate?this.app.getShape(m.id):{point:this.app.getShape(m.id).point})});return f.forEach(m=>{var v,w,k,E,S;h[m.id]=m,p[m.fromId]=Zt(mt({},p[m.fromId]),{id:m.fromId,handles:Zt(mt({},(v=p[m.fromId])==null?void 0:v.handles),{[m.handleId]:Zt(mt({},(k=(w=p[m.fromId])==null?void 0:w.handles)==null?void 0:k[m.handleId]),{bindingId:m.id})})}),b[m.fromId]=Zt(mt({},b[m.fromId]),{id:m.fromId,handles:Zt(mt({},b[m.fromId].handles),{[m.handleId]:Zt(mt({},(S=(E=b[m.fromId])==null?void 0:E.handles)==null?void 0:S[m.handleId]),{bindingId:void 0})})})}),f.forEach(m=>g[m.id]=void 0),{id:"translate",before:{appState:{snapLines:[]},document:{pages:{[d]:{shapes:p,bindings:h}},pageStates:{[d]:{selectedIds:this.isCreate?[]:[...this.initialSelectedIds]}}}},after:{appState:{snapLines:[]},document:{pages:{[d]:{shapes:b,bindings:g}},pageStates:{[d]:{selectedIds:[...this.app.selectedIds]}}}}}}),Ce(this,"createCloneInfo",()=>{let{initialShapes:u,initialParentChildren:c,app:{selectedIds:f,currentPageId:d,page:h}}=this,p={},g={},b=[],m=[];u.forEach(w=>{let k=bt.uniqueId();c[k]=c[w.id],p[w.id]=k;let E=Zt(mt({},bt.deepClone(w)),{id:k,parentId:w.parentId,childIndex:rn.getChildIndexAbove(this.app.state,w.id,d)});if(E.type==="video"){let S=document.getElementById(w.id+"_video");S&&(E.currentTime=(S.currentTime+16)%S.duration)}m.push(E)}),m.forEach(w=>{w.children!==void 0&&(w.children=w.children.map(k=>p[k]))}),m.forEach(w=>{f.includes(w.parentId)&&(w.parentId=p[w.parentId])});let v=new Set(Object.keys(p));Object.values(h.bindings).filter(w=>v.has(w.fromId)||v.has(w.toId)).forEach(w=>{if(v.has(w.fromId)&&v.has(w.toId)){let k=bt.uniqueId(),E=Zt(mt({},bt.deepClone(w)),{id:k,fromId:p[w.fromId]||w.fromId,toId:p[w.toId]||w.toId});g[w.id]=k,b.push(E)}}),m.forEach(w=>{if(w.handles&&w.handles)for(let k in w.handles){let E=w.handles[k];E.bindingId=E.bindingId?g[E.bindingId]:void 0}}),m.forEach(w=>{if(h.shapes[w.id])throw Error("uh oh, we didn't clone correctly")}),this.cloneInfo={state:"ready",clones:m,cloneMap:p,clonedBindings:b}}),this.isCreate=n,this.link=r;let{currentPageId:i,selectedIds:a,page:o}=this.app;this.initialSelectedIds=[...a];let s=(r?rn.getLinkedShapeIds(this.app.state,i,r,!1):a).map(u=>this.app.getShape(u)).filter(u=>!u.isLocked),l=new Set(s.map(u=>u.id));this.hasUnlockedShapes=s.length>0,this.initialShapes=Array.from(new Set(s.filter(u=>!l.has(u.parentId)).flatMap(u=>u.children?[u,...u.children.map(c=>this.app.getShape(c))]:[u])).values()),this.initialIds=new Set(this.initialShapes.map(u=>u.id)),this.bindingsToDelete=[],Object.values(o.bindings).filter(u=>this.initialIds.has(u.fromId)||this.initialIds.has(u.toId)).forEach(u=>{this.initialIds.has(u.fromId)&&(this.initialIds.has(u.toId)||this.bindingsToDelete.push(u))}),this.initialParentChildren={},this.initialShapes.map(u=>u.parentId).filter(u=>u!==o.id).forEach(u=>{this.initialParentChildren[u]=this.app.getShape(u).children}),this.initialCommonBounds=bt.getCommonBounds(this.initialShapes.map(rn.getRotatedBounds)),this.app.rotationInfo.selectedIds=[...this.app.selectedIds]}},vHn={arrow:oHn,brush:sHn,draw:lHn,erase:cHn,handle:dHn,rotate:hHn,transform:pHn,transformSingle:gHn,translate:mHn,grid:fHn,edit:uHn},yHn=e=>vHn[e],k1=class extends Ejt{constructor(e){super(),this.app=e,Ce(this,"type","select"),Ce(this,"previous"),Ce(this,"status","idle"),Ce(this,"setStatus",t=>{this.status=t,this.app.setStatus(this.status)}),Ce(this,"onEnter",()=>{this.setStatus("idle")}),Ce(this,"onExit",()=>{this.setStatus("idle")}),Ce(this,"onCancel",()=>{this.status==="idle"?this.app.selectTool("select"):this.setStatus("idle"),this.app.cancelSession()}),Ce(this,"getNextChildIndex",()=>{let{shapes:t,appState:{currentPageId:n}}=this.app;return t.length===0?1:t.filter(r=>r.parentId===n).sort((r,i)=>i.childIndex-r.childIndex)[0].childIndex+1}),Ce(this,"onPinchStart",()=>{this.app.cancelSession(),this.setStatus("pinching")}),Ce(this,"onPinchEnd",()=>{bt.isMobileSafari()&&this.app.undoSelect(),this.setStatus("idle")}),Ce(this,"onPinch",(t,n)=>{var r;this.status==="pinching"&&(isNaN(t.delta[0])||isNaN(t.delta[1])||(this.app.pinchZoom(t.point,t.delta,t.delta[2]),(r=this.onPointerMove)==null||r.call(this,t,n)))}),Ce(this,"onKeyDown",t=>{if(t==="Escape"){this.onCancel();return}if(t==="Meta"||t==="Control"||t==="Alt"){this.app.updateSession();return}}),Ce(this,"onKeyUp",t=>{if(t==="Meta"||t==="Control"||t==="Alt"){this.app.updateSession();return}}),Ce(this,"onPointerMove",()=>{this.status==="creating"&&this.app.updateSession()}),Ce(this,"onPointerUp",()=>{if(this.status==="creating"){this.app.completeSession();let{isToolLocked:t}=this.app.appState;t||this.app.selectTool("select")}this.setStatus("idle")})}},bHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","arrow"),Ce(this,"onPointerDown",()=>{if(this.status!=="idle")return;let{currentPoint:t,currentGrid:n,settings:{showGrid:r},appState:{currentPageId:i,currentStyle:a}}=this.app,o=this.getNextChildIndex(),s=bt.uniqueId(),l=jhe.create({id:s,parentId:i,childIndex:o,point:r?bn.snap(t,n):t,style:mt({},a)});this.app.patchCreate([l]),this.app.startSession("arrow",l.id,"end",!0),this.setStatus("creating")})}},wHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","draw"),Ce(this,"lastShapeId"),Ce(this,"onEnter",()=>{this.lastShapeId=void 0}),Ce(this,"onCancel",()=>{switch(this.status){case"idle":{this.app.selectTool("select");break}default:{this.setStatus("idle");break}}this.app.cancelSession()}),Ce(this,"onPointerDown",e=>{if(this.status!=="idle"||this.app.readOnly)return;let{currentPoint:t,appState:{currentPageId:n,currentStyle:r}}=this.app,i=this.lastShapeId&&this.app.getShape(this.lastShapeId);if(e.shiftKey&&i)this.app.startSession("draw",i.id),this.setStatus("extending");else{let a=this.getNextChildIndex(),o=bt.uniqueId(),s=mVe.create({id:o,parentId:n,childIndex:a,point:t,style:mt({},r)});this.lastShapeId=o,this.app.patchCreate([s]),this.app.startSession("draw",o),this.setStatus("creating")}}),Ce(this,"onPointerMove",()=>{if(!this.app.readOnly)switch(this.status){case"extending":case"creating":this.app.updateSession()}}),Ce(this,"onPointerUp",()=>{this.app.completeSession(),this.setStatus("idle")})}},kHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","ellipse"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=gVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},_Hn=class extends k1{constructor(){super(...arguments),Ce(this,"type","erase"),Ce(this,"status","idle"),Ce(this,"onPointerDown",()=>{this.app.readOnly||this.status==="idle"&&this.setStatus("pointing")}),Ce(this,"onPointerMove",t=>{if(!this.app.readOnly)switch(this.status){case"pointing":{bn.dist(t.origin,t.point)>3&&(this.app.startSession("erase"),this.app.updateSession(),this.setStatus("erasing"));break}case"erasing":this.app.updateSession()}}),Ce(this,"onPointerUp",()=>{if(!this.app.readOnly){switch(this.status){case"pointing":{let t=this.app.shapes.filter(n=>!n.isLocked).filter(n=>this.app.getShapeUtil(n).hitTestPoint(n,this.app.currentPoint)).flatMap(n=>n.children?[n.id,...n.children]:n.id);this.app.delete(t);break}case"erasing":this.app.completeSession()}this.setStatus("idle")}}),Ce(this,"onCancel",()=>{this.status==="idle"?this.previous?this.app.selectTool(this.previous):this.app.selectTool("select"):this.setStatus("idle"),this.app.cancelSession()})}},CHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","line"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=jhe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,decorations:{start:void 0,end:void 0},style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("arrow",s.id,"end",!0),this.setStatus("creating")})}},EHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","rectangle"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=hVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},xHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","select"),Ce(this,"pointedId"),Ce(this,"selectedGroupId"),Ce(this,"pointedHandleId"),Ce(this,"pointedBoundsHandle"),Ce(this,"pointedLinkHandleId"),Ce(this,"onEnter",()=>{this.setStatus("idle")}),Ce(this,"onExit",()=>{this.setStatus("idle")}),Ce(this,"clonePaint",e=>{if(this.app.selectedIds.length===0)return;let t=this.app.selectedIds.map(s=>this.app.getShape(s)),n=bt.expandBounds(bt.getCommonBounds(t.map(rn.getBounds)),16),r=bt.getBoundsCenter(n),i=[n.width,n.height],a=[r[0]+i[0]*Math.floor((e[0]+i[0]/2-r[0])/i[0]),r[1]+i[1]*Math.floor((e[1]+i[1]/2-r[1])/i[1])],o=bt.centerBounds(n,a);this.app.shapes.some(s=>rn.getShapeUtil(s).hitTestBounds(s,o))||this.app.duplicate(this.app.selectedIds,a)}),Ce(this,"getShapeClone",(e,t)=>{let n=this.app.getShape(e),r=rn.getShapeUtil(n);if(r.canClone){let i=r.getBounds(n),a=r.getCenter(n),o={top:[i.minX,i.minY-(i.height+32)],right:[i.maxX+32,i.minY],bottom:[i.minX,i.maxY+32],left:[i.minX-(i.width+32),i.minY],topLeft:[i.minX-(i.width+32),i.minY-(i.height+32)],topRight:[i.maxX+32,i.minY-(i.height+32)],bottomLeft:[i.minX-(i.width+32),i.maxY+32],bottomRight:[i.maxX+32,i.maxY+32]}[t];if(n.rotation!==0){let u=bn.add(o,[i.width/2,i.height/2]),c=bn.rotWith(u,a,n.rotation||0);o=bn.sub(c,[i.width/2,i.height/2])}let s=bt.uniqueId(),l=Zt(mt({},n),{id:s,point:o});return l.type==="sticky"&&(l.text=""),l}}),Ce(this,"onCancel",()=>{this.app.session?this.app.cancelSession():this.selectNone(),this.setStatus("idle")}),Ce(this,"onKeyDown",(e,t,n)=>{switch(e){case"Escape":{this.onCancel();break}case"Tab":{if(this.app.readOnly)return;if(!this.app.pageState.editingId&&this.status==="idle"&&this.app.selectedIds.length===1){let[r]=this.app.selectedIds,i=this.getShapeClone(r,"right");i&&(this.app.createShapes(i),this.setStatus("idle"),i.type==="sticky"&&(this.app.select(i.id),this.app.setEditingId(i.id)))}break}case"Meta":case"Control":case"Alt":{this.app.updateSession();break}case"Enter":{if(this.app.readOnly)return;let{pageState:r}=this.app;r.selectedIds.length===1&&!r.editingId&&(this.app.setEditingId(r.selectedIds[0]),n.preventDefault())}}}),Ce(this,"onKeyUp",(e,t)=>{if(this.status==="clonePainting"&&!(t.altKey&&t.shiftKey)){this.setStatus("idle");return}if(e==="Meta"||e==="Control"||e==="Alt"){this.app.updateSession();return}}),Ce(this,"onPointerMove",()=>{let{originPoint:e,currentPoint:t}=this.app;if(this.app.readOnly&&this.app.isPointing){this.app.session?this.app.updateSession():bn.dist(e,t)>3&&(this.app.startSession("brush"),this.setStatus("brushing"));return}switch(this.status){case"pointingBoundsHandle":{if(!this.pointedBoundsHandle)throw Error("No pointed bounds handle");if(bn.dist(e,t)>3){if(this.pointedBoundsHandle==="rotate")this.setStatus("rotating"),this.app.startSession("rotate");else if(this.pointedBoundsHandle==="center"||this.pointedBoundsHandle==="left"||this.pointedBoundsHandle==="right")this.setStatus("translating"),this.app.startSession("translate",!1,this.pointedBoundsHandle);else{this.setStatus("transforming");let n=this.app.selectedIds.flatMap(r=>rn.getDocumentBranch(this.app.state,r,this.app.currentPageId));n.length===1?this.app.startSession("transformSingle",n[0],this.pointedBoundsHandle):this.app.startSession("transform",this.pointedBoundsHandle)}this.app.updateSession()}break}case"pointingCanvas":{bn.dist(e,t)>3&&(this.app.startSession("brush"),this.setStatus("brushing"));break}case"pointingClone":{bn.dist(e,t)>3&&(this.setStatus("translatingClone"),this.app.startSession("translate"),this.app.updateSession());break}case"pointingBounds":{bn.dist(e,t)>3&&(this.setStatus("translating"),this.app.startSession("translate"),this.app.updateSession());break}case"pointingHandle":{if(!this.pointedHandleId)throw Error("No pointed handle");if(bn.dist(e,t)>3){this.setStatus("translatingHandle");let n=this.app.getShape(this.app.selectedIds[0]);n&&(this.pointedHandleId==="bend"?(this.app.startSession("handle",n.id,this.pointedHandleId),this.app.updateSession()):(this.app.startSession("arrow",n.id,this.pointedHandleId,!1),this.app.updateSession()))}break}case"clonePainting":{this.clonePaint(t);break}default:if(this.app.session){this.app.updateSession();break}}}),Ce(this,"onPointerDown",(e,t)=>{if(e.target==="canvas"&&this.status==="idle"){let{currentPoint:n}=this.app;if(e.spaceKey&&t.buttons===1)return;if(this.status==="idle"&&e.altKey&&e.shiftKey){this.setStatus("clonePainting"),this.clonePaint(n);return}if(!e.shiftKey){if(this.app.onShapeBlur(),e.altKey&&this.app.selectedIds.length>0){this.app.duplicate(this.app.selectedIds,n);return}this.selectNone()}this.setStatus("pointingCanvas")}}),Ce(this,"onPointerUp",e=>{var t;if(this.status==="translatingClone"||this.status==="pointingClone"){this.pointedId&&(this.app.completeSession(),this.app.setEditingId(this.pointedId)),this.setStatus("idle"),this.pointedId=void 0;return}if(this.status==="pointingBounds"){if(e.target==="bounds")this.selectNone();else if(this.app.isSelected(e.target))e.shiftKey?this.pointedId!==e.target&&this.deselect(e.target):this.pointedId!==e.target&&this.app.selectedIds.length>1&&this.select(e.target);else if(this.pointedId===e.target){if(this.app.getShape(e.target).isLocked)return;e.shiftKey?this.pushSelect(e.target):this.select(e.target)}}this.setStatus("idle"),this.pointedBoundsHandle=void 0,this.pointedHandleId=void 0,this.pointedId=void 0,((t=this.app.session)==null?void 0:t.type)!=="edit"&&this.app.completeSession()}),Ce(this,"onDoubleClickCanvas",()=>{this.app.readOnly}),Ce(this,"onPointShape",(e,t)=>{if(e.spaceKey&&t.buttons===1||this.app.getShape(e.target).isLocked)return;let{editingId:n,hoveredId:r}=this.app.pageState;if(n&&e.target!==n&&this.app.onShapeBlur(),(this.status==="idle"||this.status==="pointingBounds")&&e.metaKey&&e.shiftKey&&r){this.pointedId=r,this.app.isSelected(r)?this.deselect(r):(this.pushSelect(r),this.setStatus("pointingBounds"));return}if(this.status==="pointingBounds"){let{parentId:i}=this.app.getShape(e.target);this.pointedId=i===this.app.currentPageId?e.target:i;return}if(this.status==="idle"){if(this.setStatus("pointingBounds"),e.metaKey){e.shiftKey||this.selectNone(),this.app.startSession("brush"),this.setStatus("brushing");return}let i,{parentId:a}=this.app.getShape(e.target);a===this.app.currentPageId?(i=e.target,this.selectedGroupId=void 0):a===this.selectedGroupId?i=e.target:(i=a,this.selectedGroupId=void 0),this.app.isSelected(i)||(this.pointedId=i,e.shiftKey?this.pushSelect(i):this.select(i))}}),Ce(this,"onDoubleClickShape",e=>{if(this.app.readOnly)return;let t=this.app.getShape(e.target);if(t.isLocked){this.app.select(e.target);return}rn.getShapeUtil(t.type).canEdit&&(t.parentId===this.app.currentPageId||t.parentId===this.selectedGroupId)&&this.app.setEditingId(e.target),t.parentId!==this.app.currentPageId&&(this.selectedGroupId=t.parentId),this.app.select(e.target)}),Ce(this,"onRightPointShape",e=>{this.app.isSelected(e.target)||this.app.select(e.target)}),Ce(this,"onHoverShape",e=>{this.app.setHoveredId(e.target)}),Ce(this,"onUnhoverShape",e=>{let{currentPageId:t}=this.app;requestAnimationFrame(()=>{t===this.app.currentPageId&&this.app.pageState.hoveredId===e.target&&this.app.setHoveredId(void 0)})}),Ce(this,"onPointBounds",e=>{if(e.metaKey){e.shiftKey||this.selectNone(),this.app.startSession("brush"),this.setStatus("brushing");return}this.setStatus("pointingBounds")}),Ce(this,"onRightPointBounds",(e,t)=>{t.stopPropagation()}),Ce(this,"onReleaseBounds",()=>{(this.status==="translating"||this.status==="brushing")&&this.app.completeSession(),this.setStatus("idle")}),Ce(this,"onPointBoundsHandle",e=>{this.pointedBoundsHandle=e.target,this.setStatus("pointingBoundsHandle")}),Ce(this,"onDoubleClickBoundsHandle",e=>{switch(e.target){case"center":case"left":case"right":{this.app.select(...rn.getLinkedShapeIds(this.app.state,this.app.currentPageId,e.target,e.shiftKey));break}default:if(this.app.selectedIds.length===1){this.app.resetBounds(this.app.selectedIds);let t=this.app.getShape(this.app.selectedIds[0]);"label"in t&&this.app.setEditingId(t.id)}}}),Ce(this,"onReleaseBoundsHandle",()=>{this.setStatus("idle")}),Ce(this,"onPointHandle",e=>{this.pointedHandleId=e.target,this.setStatus("pointingHandle")}),Ce(this,"onDoubleClickHandle",e=>{if(e.target==="bend"){let{selectedIds:t}=this.app;if(t.length!==1)return;let n=this.app.getShape(t[0]);rn.getShapeUtil(n.type).canEdit&&(n.parentId===this.app.currentPageId||n.parentId===this.selectedGroupId)&&this.app.setEditingId(n.id);return}this.app.toggleDecoration(e.target)}),Ce(this,"onReleaseHandle",()=>{this.setStatus("idle")}),Ce(this,"onShapeClone",e=>{let t=this.app.selectedIds[0],n=this.getShapeClone(t,e.target);e.target==="left"||e.target==="right"||e.target==="top"||e.target==="bottom"?n&&(this.app.createShapes(n),this.pointedId=n.id,this.setStatus("pointingClone")):(this.setStatus("gridCloning"),this.app.startSession("grid",t))})}deselect(e){this.app.select(...this.app.selectedIds.filter(t=>t!==e))}select(e){this.app.select(e)}pushSelect(e){let t=this.app.getShape(e);this.app.select(...this.app.selectedIds.filter(n=>n!==t.parentId),e)}selectNone(){this.app.selectNone()}},SHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","sticky"),Ce(this,"shapeId"),Ce(this,"onPointerDown",()=>{if(!this.app.readOnly){if(this.status==="creating"){this.setStatus("idle"),this.app.appState.isToolLocked||this.app.selectTool("select");return}if(this.status==="idle"){let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId();this.shapeId=o;let s=Uoe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)}),l=Uoe.getBounds(s);s.point=bn.sub(s.point,[l.width/2,l.height/2]),this.app.patchCreate([s]),this.app.startSession("translate"),this.setStatus("creating")}}}),Ce(this,"onPointerUp",()=>{this.app.readOnly||this.status==="creating"&&(this.setStatus("idle"),this.app.completeSession(),this.app.selectTool("select"),this.app.setEditingId(this.shapeId))})}},AHn=class extends k1{constructor(){super(...arguments),Ce(this,"type","text"),Ce(this,"stopEditingShape",()=>{this.setStatus("idle"),this.app.appState.isToolLocked||this.app.selectTool("select")}),Ce(this,"onKeyUp",()=>{}),Ce(this,"onKeyDown",()=>{}),Ce(this,"onPointerDown",()=>{if(this.status==="creating"){this.stopEditingShape();return}if(this.status==="idle"){let{currentPoint:e,currentGrid:t,settings:{showGrid:n}}=this.app;this.app.createTextShapeAtPoint(n?bn.snap(e,t):e,void 0,!0),this.setStatus("creating");return}}),Ce(this,"onPointerUp",()=>{}),Ce(this,"onPointShape",e=>{if(this.app.readOnly)return;let t=this.app.getShape(e.target);t.type==="text"&&(this.setStatus("idle"),this.app.setEditingId(t.id))}),Ce(this,"onShapeBlur",()=>{this.app.readOnly||this.stopEditingShape()})}},THn=class extends k1{constructor(){super(...arguments),Ce(this,"type","triangle"),Ce(this,"onPointerDown",()=>{if(this.app.readOnly||this.status!=="idle")return;let{currentPoint:e,currentGrid:t,settings:{showGrid:n},appState:{currentPageId:r,currentStyle:i}}=this.app,a=this.getNextChildIndex(),o=bt.uniqueId(),s=pVe.create({id:o,parentId:r,childIndex:a,point:n?bn.snap(e,t):e,style:mt({},i)});this.app.patchCreate([s]),this.app.startSession("transformSingle",s.id,b0.BottomRight,!0),this.setStatus("creating")})}},lW=bt.uniqueId(),El=class extends Ljn{constructor(t,n={}){super(El.defaultState,t,El.version,(r,i,a)=>og(Zt(mt({},i),{document:Zt(mt(mt({},i.document),r.document),{version:a})}),El.version)),Ce(this,"callbacks",{}),Ce(this,"tools",{select:new xHn(this),erase:new _Hn(this),text:new AHn(this),draw:new wHn(this),ellipse:new kHn(this),rectangle:new EHn(this),triangle:new THn(this),line:new CHn(this),arrow:new bHn(this),sticky:new SHn(this)}),Ce(this,"currentTool",this.tools.select),Ce(this,"session"),Ce(this,"readOnly",!1),Ce(this,"isDirty",!1),Ce(this,"isCreating",!1),Ce(this,"originPoint",[0,0]),Ce(this,"currentPoint",[0,0]),Ce(this,"previousPoint",[0,0]),Ce(this,"shiftKey",!1),Ce(this,"altKey",!1),Ce(this,"metaKey",!1),Ce(this,"ctrlKey",!1),Ce(this,"spaceKey",!1),Ce(this,"isPointing",!1),Ce(this,"isForcePanning",!1),Ce(this,"isErasingWithPen",!1),Ce(this,"isPastePrevented",!1),Ce(this,"editingStartTime",-1),Ce(this,"fileSystemHandle",null),Ce(this,"viewport",bt.getBoundsFromPoints([[0,0],[100,100]])),Ce(this,"rendererBounds",bt.getBoundsFromPoints([[0,0],[100,100]])),Ce(this,"selectHistory",{stack:[[]],pointer:0}),Ce(this,"clipboard"),Ce(this,"rotationInfo",{selectedIds:[],center:[0,0]}),Ce(this,"migrate",r=>og(r,El.version)),Ce(this,"onReady",()=>{var r,i;this.loadDocument(this.document),bVe().then(a=>{this.fileSystemHandle=a});try{this.patchState(Zt(mt({},og(this.state,El.version)),{appState:{status:"idle"}}))}catch(a){console.error("The data appears to be corrupted. Resetting!",a),localStorage.setItem(this.document.id+"_corrupted",JSON.stringify(this.document)),this.patchState(Zt(mt({},El.defaultState),{appState:Zt(mt({},El.defaultState.appState),{status:"idle"})}))}(i=(r=this.callbacks).onMount)==null||i.call(r,this)}),Ce(this,"cleanup",(r,i)=>{var a;let o=mt({},r);o.document!==i.document&&Object.entries(o.document.pages).forEach(([u,c])=>{if(c===void 0){delete o.document.pages[u],delete o.document.pageStates[u];return}let f=i.document.pages[u],d={};if(!f||c.shapes!==f.shapes||c.bindings!==f.bindings){c.shapes=mt({},c.shapes),c.bindings=mt({},c.bindings);let p=new Set;Object.entries(c.shapes).forEach(([m,v])=>{var w;let k;v?k=v.parentId:(k=(w=f?.shapes[m])==null?void 0:w.parentId,delete c.shapes[m]),c.id===o.appState.currentPageId&&f?.shapes[m]!==v&&(d[m]=v),k&&k!==u&&c.shapes[k]!==void 0&&p.add(c.shapes[k])}),Object.keys(c.bindings).forEach(m=>{c.bindings[m]||delete c.bindings[m]}),o.document.pages[u]=c;let g=rn.getRelatedBindings(o,Object.keys(d),u),b=new Set;g.forEach(m=>{if(!c.bindings[m.id])return;let v=c.shapes[m.toId],w=c.shapes[m.fromId];if(!(v&&w)){delete o.document.pages[u].bindings[m.id];return}if(b.has(w))return;let k=rn.updateArrowBindings(c,w);if(b.add(w),k){let E=mt(mt({},w),k);c.shapes[w.id]=E}}),p.forEach(m=>{if(!m)throw Error("no group!");let v=m.children.filter(k=>c.shapes[k]!==void 0),w=bt.getCommonBounds(v.map(k=>c.shapes[k]).filter(Boolean).map(k=>rn.getRotatedBounds(k)));c.shapes[m.id]=Zt(mt({},m),{point:[w.minX,w.minY],size:[w.width,w.height],children:v})})}let h=mt({},o.document.pageStates[u]);h.brush||delete h.brush,h.hoveredId&&!c.shapes[h.hoveredId]&&delete h.hoveredId,h.bindingId&&!c.bindings[h.bindingId]&&(rn.warn(`Could not find the binding of ${u}`),delete h.bindingId),h.editingId&&!c.shapes[h.editingId]&&(rn.warn("Could not find the editing shape!"),delete h.editingId),o.document.pageStates[u]=h}),Object.keys((a=o.document.assets)!=null?a:{}).forEach(u=>{var c,f;(c=o.document.assets)!=null&&c[u]||(f=o.document.assets)==null||delete f[u]});let s=o.appState.currentPageId,l=o.document.pageStates[s];if(o.room&&o.room!==i.room){let u=Zt(mt({},o.room),{users:mt({},o.room.users)});i.room&&Object.values(i.room.users).filter(Boolean).forEach(c=>{u.users[c.id]===void 0&&delete u.users[c.id]}),o.room=u}return o.room&&(o.room.users[o.room.userId]=Zt(mt({},o.room.users[o.room.userId]),{point:this.currentPoint,selectedIds:l.selectedIds})),this.readOnly&&(o.document.pages=i.document.pages),o}),Ce(this,"broadcastPatch",(r,i)=>{var a,o,s,l,u,c,f,d,h;let p={},g={},b={},m=(s=(o=(a=r?.document)==null?void 0:a.pages)==null?void 0:o[this.currentPageId])==null?void 0:s.shapes,v=(c=(u=(l=r?.document)==null?void 0:l.pages)==null?void 0:u[this.currentPageId])==null?void 0:c.bindings,w=(f=r?.document)==null?void 0:f.assets;m&&Object.keys(m).forEach(k=>{p[k]=this.getShape(k,this.currentPageId)}),v&&Object.keys(v).forEach(k=>{g[k]=this.getBinding(k,this.currentPageId)}),w&&Object.keys(w).forEach(k=>{b[k]=this.document.assets[k]}),(h=(d=this.callbacks).onChangePage)==null||h.call(d,this,p,g,b,i)}),Ce(this,"onPatch",(r,i,a)=>{var o,s,l,u,c,f;(this.callbacks.onChangePage&&((s=(o=i?.document)==null?void 0:o.pages)!=null&&s[this.currentPageId])||(l=i?.document)!=null&&l.assets)&&((u=i?.document)!=null&&u.assets||this.session&&this.session.type!=="brush"&&this.session.type!=="erase"&&this.session.type!=="draw")&&this.broadcastPatch(i,!1),(f=(c=this.callbacks).onPatch)==null||f.call(c,this,i,a)}),Ce(this,"onCommand",(r,i,a)=>{var o,s;this.clearSelectHistory(),this.isDirty=!0,(s=(o=this.callbacks).onCommand)==null||s.call(o,this,i,a)}),Ce(this,"onReplace",()=>{this.clearSelectHistory(),this.isDirty=!1}),Ce(this,"onUndo",()=>{var r,i;this.rotationInfo.selectedIds=[...this.selectedIds],(i=(r=this.callbacks).onUndo)==null||i.call(r,this)}),Ce(this,"onRedo",()=>{var r,i;this.rotationInfo.selectedIds=[...this.selectedIds],(i=(r=this.callbacks).onRedo)==null||i.call(r,this)}),Ce(this,"onPersist",(r,i)=>{var a,o;(o=(a=this.callbacks).onPersist)==null||o.call(a,this),this.broadcastPatch(i,!0)}),Ce(this,"prevSelectedIds",this.selectedIds),Ce(this,"onStateDidChange",(r,i)=>{var a,o,s,l;(o=(a=this.callbacks).onChange)==null||o.call(a,this,i),this.room&&this.selectedIds!==this.prevSelectedIds&&((l=(s=this.callbacks).onChangePresence)==null||l.call(s,this,Zt(mt({},this.room.users[this.room.userId]),{selectedIds:this.selectedIds,session:!!this.session})),this.prevSelectedIds=this.selectedIds)}),Ce(this,"preventPaste",()=>{if(this.isPastePrevented)return;let r=a=>a.stopImmediatePropagation(),i=()=>{setTimeout(()=>{document.removeEventListener("paste",r,{capture:!0}),this.isPastePrevented=!1},50)};document.addEventListener("paste",r,{capture:!0}),window.addEventListener("pointerup",i,{once:!0}),this.isPastePrevented=!0}),Ce(this,"justSent",!1),Ce(this,"getReservedContent",(r,i=this.currentPageId)=>{let{bindings:a}=this.document.pages[i],o={},s={},l=Object.values(a),u=new Map(l.map(g=>[g.toId,g])),c=new Map(l.map(g=>[g.fromId,g])),f=[u,c],d=[];this.session&&r.forEach(g=>d.push(g)),this.pageState.editingId&&d.push(this.pageState.editingId);let h=new Set(d),p=new Set;for(;d.length>0;){let g=d.pop();if(!g)break;if(p.has(g))continue;p.add(g);let b=this.getShape(g);o[g]=b,b.parentId!==i&&d.push(b.parentId),b.children&&d.push(...b.children),f.map(m=>m.get(b.id)).filter(Boolean).forEach(m=>{s[m.id]=m,d.push(m.toId,m.fromId)})}return{reservedShapes:o,reservedBindings:s,strongReservedShapeIds:h}}),Ce(this,"replacePageContent",(r,i,a,o=this.currentPageId)=>{if(this.justSent)return this.justSent=!1,this;let s=this.document.pages[this.currentPageId];return Object.values(r).forEach(l=>{l.parentId!==o&&!(s.shapes[l.parentId]||r[l.parentId])&&(console.warn("Added a shape without a parent on the page"),l.parentId=o)}),this.useStore.setState(l=>{let{hoveredId:u,editingId:c,bindingId:f,selectedIds:d}=l.document.pageStates[o],h=[...d],p=c&&l.document.pages[this.currentPageId].shapes[c];p&&h.push(p.id);let{reservedShapes:g,reservedBindings:b,strongReservedShapeIds:m}=this.getReservedContent(h,this.currentPageId);Object.values(g).filter(M=>!("text"in M)).forEach(M=>{let D=r[M.id];if(D){if(!(M.type==="arrow"||m.has(M.id))){r[M.id]=D;return}"decorations"in D&&"decorations"in M&&(r[M.id]=Zt(mt({},M),{decorations:D.decorations})),M.style=D.style}});let v=mt(mt({},r),g);p&&(v[p.id]=p);let w=mt(mt({},i),b),k=mt({},a),E=Zt(mt({},l),{document:Zt(mt({},l.document),{pages:{[o]:Zt(mt({},l.document.pages[o]),{shapes:v,bindings:w})},assets:k,pageStates:Zt(mt({},l.document.pageStates),{[o]:Zt(mt({},l.document.pageStates[o]),{selectedIds:d.filter(M=>v[M]!==void 0),hoveredId:u?v[u]===void 0?void 0:u:void 0,editingId:c,bindingId:f?w[f]===void 0?void 0:f:void 0})})})}),S=E.document.pages[o],T=rn.getRelatedBindings(E,Object.keys(v),o),L=new Set;return T.forEach(M=>{if(!S.bindings[M.id])return;let D=S.shapes[M.fromId];if(L.has(D))return;let I=rn.updateArrowBindings(S,D);if(L.add(D),I){let B=mt(mt({},D),I);S.shapes[D.id]=B}}),Object.values(v).forEach(M=>{if(M.type!=="group")return;let D=M.children.filter(B=>S.shapes[B]!==void 0),I=bt.getCommonBounds(D.map(B=>S.shapes[B]).filter(Boolean).map(B=>rn.getRotatedBounds(B)));S.shapes[M.id]=Zt(mt({},M),{point:[I.minX,I.minY],size:[I.width,I.height],children:D})}),this.state.document=E.document,E},!0),this}),Ce(this,"updateBounds",r=>{this.rendererBounds=r;let{point:i,zoom:a}=this.camera;this.updateViewport(i,a),!this.readOnly&&this.session&&this.session.update()}),Ce(this,"updateViewport",(r,i)=>{let{width:a,height:o}=this.rendererBounds,[s,l]=We.sub(We.div([0,0],i),r),[u,c]=We.sub(We.div([a,o],i),r);this.viewport={minX:s,minY:l,maxX:u,maxY:c,width:u-s,height:c-l}}),Ce(this,"setEditingId",(r,i=!1)=>{if(!this.readOnly){if(r)this.startSession("edit",r,i);else{if(!this.pageState.editingId)return;this.completeSession()}this.editingStartTime=performance.now(),this.patchState({document:{pageStates:{[this.currentPageId]:{editingId:r}}}},"set_editing_id")}}),Ce(this,"setHoveredId",r=>{this.patchState({document:{pageStates:{[this.currentPageId]:{hoveredId:r}}}},"set_hovered_id")}),Ce(this,"setSetting",(r,i)=>{if(this.session)return this;let a={settings:{[r]:typeof i=="function"?i(this.settings[r]):i}};return this.patchState(a,`settings:${r}`),this.persist(a),this}),Ce(this,"toggleFocusMode",()=>{if(this.session)return this;let r={settings:{isFocusMode:!this.settings.isFocusMode}};return this.patchState(r,"settings:toggled_focus_mode"),this.persist(r),this}),Ce(this,"togglePenMode",()=>{if(this.session)return this;let r={settings:{isPenMode:!this.settings.isPenMode}};return this.patchState(r,"settings:toggled_pen_mode"),this.persist(r),this}),Ce(this,"toggleDarkMode",()=>{if(this.session)return this;let r={settings:{isDarkMode:!this.settings.isDarkMode}};return this.patchState(r,"settings:toggled_dark_mode"),this.persist(r),this}),Ce(this,"toggleZoomSnap",()=>{if(this.session)return this;let r={settings:{isZoomSnap:!this.settings.isZoomSnap}};return this.patchState(r,"settings:toggled_zoom_snap"),this.persist(r),this}),Ce(this,"toggleDebugMode",()=>{if(this.session)return this;let r={settings:{isDebugMode:!this.settings.isDebugMode}};return this.patchState(r,"settings:toggled_debug"),this.persist(r),this}),Ce(this,"setMenuOpen",r=>{let i={appState:{isMenuOpen:r}};return this.patchState(i,"ui:toggled_menu_opened"),this.persist(i),this}),Ce(this,"setIsLoading",r=>{let i={appState:{isLoading:r}};return this.patchState(i,"ui:toggled_is_loading"),this.persist(i),this}),Ce(this,"setDisableAssets",r=>(this.patchState({appState:{disableAssets:r}},"ui:toggled_disable_images"),this)),Ce(this,"toggleGrid",()=>{if(this.session)return this;let r={settings:{showGrid:!this.settings.showGrid}};return this.patchState(r,"settings:toggled_grid"),this.persist(r),this}),Ce(this,"selectTool",r=>{if(this.readOnly||this.session)return this;this.isPointing=!1;let i=this.tools[r];return i===this.currentTool?(this.patchState({appState:{isToolLocked:!1}}),this):(this.currentTool.onExit(),i.previous=this.currentTool.type,this.currentTool=i,this.currentTool.onEnter(),this.patchState({appState:{activeTool:r,isToolLocked:!1}},`selected_tool:${r}`))}),Ce(this,"toggleToolLock",()=>this.session?this:this.patchState({appState:{isToolLocked:!this.appState.isToolLocked}},"toggled_tool_lock")),Ce(this,"resetDocument",()=>{if(this.session)return this;this.session=void 0,this.currentTool=this.tools.select;let r=El.defaultDocument;return r.pages.page.name="Page 1",this.resetHistory().clearSelectHistory().loadDocument(El.defaultDocument).persist({}),this}),Ce(this,"updateUsers",(r,i=!1)=>{this.patchState({room:{users:Object.fromEntries(r.map(a=>[a.id,a]))}},i?"room:self:update":"room:user:update")}),Ce(this,"removeUser",r=>{this.patchState({room:{users:{[r]:void 0}}})}),Ce(this,"mergeDocument",r=>{if(this.document.id!==r.id)return this.replaceState(Zt(mt({},og(Zt(mt({},this.state),{document:r}),El.version)),{appState:Zt(mt({},this.appState),{currentPageId:Object.keys(r.pages)[0]})})),this;let i=mt({},this.document.pageStates),a=Zt(mt({},this.appState),{currentPageId:r.pages[this.currentPageId]?this.currentPageId:Object.keys(r.pages)[0],pages:Object.values(r.pages).map((s,l)=>({id:s.id,name:s.name,childIndex:s.childIndex||l}))});this.resetHistory(),Object.keys(this.document.pages).forEach(s=>{r.pages[s]||(s===this.appState.currentPageId&&(this.cancelSession(),this.selectNone()),i[s]=void 0)}),this.session&&this.selectedIds.filter(s=>!r.pages[this.currentPageId].shapes[s]).forEach(s=>r.pages[this.currentPageId].shapes[s]=this.page.shapes[s]),Object.entries(i).forEach(([s,l])=>{l.selectedIds=l.selectedIds.filter(u=>!!r.pages[s].shapes[u])});let{editingId:o}=this.pageState;return o&&(r.pages[this.currentPageId].shapes[o]=this.page.shapes[o],i[this.currentPageId].selectedIds=[o]),this.replaceState(Zt(mt({},og(Zt(mt({},this.state),{document:Zt(mt({},r),{pageStates:i})}),El.version)),{appState:a}),"merge")}),Ce(this,"updateDocument",(r,i="updated_document")=>{let a=this.state,o=Zt(mt({},a),{document:Zt(mt({},a.document),{assets:r.assets})});r.pages[this.currentPageId]||(o.appState=Zt(mt({},a.appState),{currentPageId:Object.keys(r.pages)[0]}));let s=1;for(let l of Object.values(r.pages))l!==a.document.pages[l.id]&&(o.document.pages[l.id]=l,l.name||(o.document.pages[l.id].name=`Page ${s+1}`,s++));for(let l of Object.values(r.pageStates))if(l!==a.document.pageStates[l.id]){o.document.pageStates[l.id]=l;let u=r.pages[l.id],c=["bindingId","editingId","hoveredId","pointedId"];for(let f of c)u.shapes[f]||(l[f]=void 0);l.selectedIds=l.selectedIds.filter(f=>!!r.pages[u.id].shapes[f])}return this.replaceState(og(o,o.document.version||0),`${i}:${r.id}`)}),Ce(this,"loadRoom",r=>(this.patchState({room:{id:r,userId:lW,users:{[lW]:{id:lW,color:zwe[Math.floor(Math.random()*zwe.length)],point:[100,100],selectedIds:[],activeShapes:[]}}}}),this)),Ce(this,"loadDocument",r=>{this.setIsLoading(!0),this.selectNone(),this.resetHistory(),this.clearSelectHistory(),this.session=void 0;let i=Zt(mt({},El.defaultState),{settings:mt({},this.state.settings),document:r,appState:Zt(mt(mt({},El.defaultState.appState),this.state.appState),{currentPageId:Object.keys(r.pages)[0],disableAssets:this.disableAssets})});this.replaceState(og(i,El.version),"loaded_document");let{point:a,zoom:o}=this.camera;return this.updateViewport(a,o),this.setIsLoading(!1),this}),Ce(this,"loadPageFromURL",(r,i)=>{let a=r.id,o=Zt(mt({},this.state.document),{pageStates:Zt(mt({},this.state.document.pageStates),{[a]:i}),pages:Zt(mt({},this.document.pages),{[a]:r})});this.loadDocument(o),this.persist({})}),Ce(this,"newProject",()=>{!this.isLocal||(this.fileSystemHandle=null,this.resetDocument())}),Ce(this,"saveProject",()=>ai(this,null,function*(){if(this.readOnly)return;let r=yield joe(og(this.state,El.version).document,this.fileSystemHandle);return this.fileSystemHandle=r,this.persist({}),this.isDirty=!1,this})),Ce(this,"saveProjectAs",r=>ai(this,null,function*(){try{let i=yield joe(this.document,null,r);this.fileSystemHandle=i,this.persist({}),this.isDirty=!1}catch(i){console.error(i.message)}return this})),Ce(this,"openProject",()=>ai(this,null,function*(){if(this.isLocal)try{let r=yield wVe();if(!r)throw Error();let{fileHandle:i,document:a}=r;this.loadDocument(a),this.fileSystemHandle=i,this.zoomToFit(),this.persist({})}catch(r){console.error(r)}finally{this.persist({})}})),Ce(this,"openAsset",()=>ai(this,null,function*(){if(!this.disableAssets)try{let r=yield kVe();if(Array.isArray(r))this.addMediaFromFiles(r,this.centerPoint);else{if(!r)return;this.addMediaFromFiles([r])}}catch(r){console.error(r)}finally{this.persist({})}})),Ce(this,"signOut",()=>{}),Ce(this,"getAppState",()=>this.appState),Ce(this,"getPage",(r=this.currentPageId)=>rn.getPage(this.state,r||this.currentPageId)),Ce(this,"getShapes",(r=this.currentPageId)=>rn.getShapes(this.state,r||this.currentPageId)),Ce(this,"getBindings",(r=this.currentPageId)=>rn.getBindings(this.state,r||this.currentPageId)),Ce(this,"getShape",(r,i=this.currentPageId)=>rn.getShape(this.state,r,i)),Ce(this,"getShapeBounds",(r,i=this.currentPageId)=>rn.getBounds(this.getShape(r,i))),Ce(this,"getBinding",(r,i=this.currentPageId)=>rn.getBinding(this.state,r,i)),Ce(this,"getPageState",(r=this.currentPageId)=>rn.getPageState(this.state,r||this.currentPageId)),Ce(this,"getPagePoint",(r,i=this.currentPageId)=>{let{camera:a}=this.getPageState(i);return We.sub(We.div(r,a.zoom),a.point)}),Ce(this,"createPage",(r,i)=>{if(this.readOnly)return this;let{width:a,height:o}=this.rendererBounds;return this.setState($jn(this,[-a/2,-o/2],r,i))}),Ce(this,"changePage",r=>this.setState(Pjn(this,r))),Ce(this,"movePage",(r,i)=>this.readOnly?this:this.setState(Kjn(this,r,i))),Ce(this,"renamePage",(r,i)=>this.readOnly?this:this.setState(Yjn(this,r,i))),Ce(this,"duplicatePage",r=>this.readOnly?this:this.setState(qjn(this,r))),Ce(this,"deletePage",r=>this.readOnly?this:Object.values(this.document.pages).length<=1?this:this.setState(zjn(this,r||this.currentPageId))),Ce(this,"cut",(r=this.selectedIds,i)=>(i?.preventDefault(),this.copy(r,i),this.readOnly||this.delete(r),this)),Ce(this,"copy",(r=this.selectedIds,i)=>{var a;i?.preventDefault(),this.clipboard=this.getContent(r);let o=`${JSON.stringify(mt({type:"tldr/clipboard",shapes:[],assets:[],bindings:[]},this.clipboard))}`;return Ojn(o),i&&((a=i.clipboardData)==null||a.setData("text/html",o)),navigator.clipboard&&window.ClipboardItem&&navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([o],{type:"text/html"})})]),this}),Ce(this,"paste",(r,i)=>ai(this,null,function*(){var a,o;if(this.readOnly)return;let s=[],l=[],u,c=h=>ai(this,null,function*(){let p=document.createElement("div");p.innerHTML=h;let g=p.firstChild;g.style.setProperty("background-color","transparent");let b=yield rn.getImageForSvg(g,"svg",{scale:1,quality:1});if(b){let m=new File([b],"image.svg");s.push(m)}else f(h)}),f=h=>{let p=this.getPagePoint(r??this.centerPoint,this.currentPageId),g=h.includes(` +`);l.push(rn.getShapeUtil("text").getShape({id:bt.uniqueId(),type:"text",parentId:this.appState.currentPageId,text:rn.normalizeText(h.trim()),point:p,style:Zt(mt({},this.appState.currentStyle),{textAlign:g?"start":this.appState.currentStyle.textAlign})}))},d=h=>{var p;try{let g=(p=h.match(/(.*)<\/tldraw>/))==null?void 0:p[1];if(!g)return;let b=JSON.parse(g);if(b.type==="tldr/clipboard"){u=b;return}else throw Error("Not tldraw data!")}catch{f(h)}};if(i!==void 0){let h=Array.from((o=(a=i.clipboardData)==null?void 0:a.items)!=null?o:[]);yield Promise.all(h.map(p=>ai(this,null,function*(){var g;let{type:b,kind:m}=p;switch(m){case"string":{let v=yield new Promise(w=>p.getAsString(w));switch(b){case"text/html":{if((g=v.match(/(.*)<\/tldraw>/))!=null&&g[1]){d(v);return}break}case"text/plain":{v.startsWith("{let m=rn.getBounds(g);b===0&&(p[0]-=m.width/2,p[1]-=m.height/2),g.point=[...p],p[0]+=m.width}),this.createShapes(...l),this}return this.clipboard?this.insertContent(this.clipboard):Mjn().then(h=>{h&&d(h)}),this})),Ce(this,"getSvg",(...r)=>ai(this,[...r],function*(i=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes),a={}){if(i.length===0)return;let o=document.createElementNS("http://www.w3.org/2000/svg","svg"),s=document.createElementNS("http://www.w3.org/2000/svg","defs"),l=document.createElementNS("http://www.w3.org/2000/svg","style");if(typeof window<"u"&&window.focus(),a.includeFonts)try{let{fonts:g}=yield fetch(El.assetSrc,{mode:"no-cors"}).then(b=>b.json());l.textContent=` @font-face { font-family: 'Caveat Brush'; src: url(data:application/x-font-woff;charset=utf-8;base64,${g.caveat}) format('woff'); @@ -663,7 +663,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi font-weight: 500; font-style: normal; } - `}catch{rn.warn("Could not find tldraw-assets.json file.")}else l.textContent="@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Source+Code+Pro&family=Source+Sans+Pro&family=Crimson+Pro&display=block');";s.append(l),o.append(s);let u=i.map(g=>this.getShape(g,this.currentPageId)).sort((g,b)=>g.childIndex-b.childIndex),c=bt.getCommonBounds(u.map(rn.getRotatedBounds)),f=g=>{let b=rn.getShapeUtil(g),m=b.getBounds(g),v=b.getSvgElement(g,this.settings.isDarkMode);if(v)return g.type==="image"?v.setAttribute("xlink:href",this.document.assets[g.assetId].src):g.type==="video"&&v.setAttribute("xlink:href",this.serializeVideo(g.id)),v.setAttribute("transform",`translate(${(16+g.point[0]-c.minX).toFixed(2)}, ${(16+g.point[1]-c.minY).toFixed(2)}) rotate(${((g.rotation||0)*180/Math.PI).toFixed(2)}, ${(m.width/2).toFixed(2)}, ${(m.height/2).toFixed(2)})`),v};u.forEach(g=>{var b;if((b=g.children)!=null&&b.length){let v=document.createElementNS("http://www.w3.org/2000/svg","g");g.children.forEach(w=>{let k=this.getShape(w,this.currentPageId),E=f(k);E&&v.append(E)}),o.append(v);return}let m=f(g);m&&o.append(m)}),o.setAttribute("viewBox",[0,0,c.width+16*2,c.height+16*2].join(" ")),o.setAttribute("width",(c.width+16*2).toString()),o.setAttribute("height",(c.height+16*2).toString());let d=this.settings.exportBackground,h="#212529",p="rgb(248, 249, 250)";switch(d){case"auto":{o.style.setProperty("background-color",this.settings.isDarkMode?h:p);break}case"dark":{o.style.setProperty("background-color",h);break}case"light":{o.style.setProperty("background-color",p);break}case"transparent":default:{o.style.setProperty("background-color","transparent");break}}return o.querySelectorAll(".tl-fill-hitarea, .tl-stroke-hitarea, .tl-binding-indicator").forEach(g=>g.remove()),o})),Ce(this,"copySvg",(...r)=>ai(this,[...r],function*(i=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes)){if(i.length===0)return;let a=yield this.getSvg(i);if(!a)return;let o=rn.getSvgString(a,1);this.clipboard=this.getContent(i);let s=JSON.stringify(mt({type:"tldr/clipboard",shapes:[],assets:[],bindings:[]},this.clipboard));return navigator.clipboard&&window.ClipboardItem&&navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([s],{type:"text/html"}),"text/plain":new Blob([o],{type:"text/plain"})})]),o})),Ce(this,"getContent",r=>{let i=this.getPage(this.currentPageId);if(r&&r.length===0||(r||(r=this.selectedIds),r.length===0&&(r=Object.keys(i.shapes)),r.length===0))return;let a=r.map(u=>i.shapes[u]).flatMap(u=>{var c;return[u,...((c=u.children)!=null?c:[]).map(f=>i.shapes[f])]}).map(Jf),o=new Set(a.map(u=>u.id));a.forEach(u=>{u.parentId===this.currentPageId&&(u.parentId="currentPageId")});let s=Object.values(i.bindings).filter(u=>{if(o.has(u.fromId)||o.has(u.toId))return!0;if(o.has(u.fromId)){let c=a.find(f=>f.id===u.fromId).handles;c&&Object.values(c).forEach(f=>{f.bindingId===u.id&&(f.bindingId=void 0)})}if(o.has(u.toId)){let c=a.find(f=>f.id===u.toId).handles;c&&Object.values(c).forEach(f=>{f.bindingId===u.id&&(f.bindingId=void 0)})}return!1}).map(Jf),l=[...new Set(a.map(u=>{if(u.assetId)return this.document.assets[u.assetId]}).filter(Boolean).map(Jf))];return{shapes:a,bindings:s,assets:l}}),Ce(this,"copyJson",(r=this.selectedIds)=>{let i=this.getContent(r);return i&&rn.copyStringToClipboard(JSON.stringify(i)),this}),Ce(this,"exportJson",(r=this.selectedIds)=>{let i=this.getContent(r);if(i){let a=new Blob([JSON.stringify(i)],{type:"application/json"}),o=URL.createObjectURL(a),s=document.createElement("a");s.href=o,s.download="export.json",s.click()}return this}),Ce(this,"insertContent",(r,i={})=>this.setState(rHn(this,r,i),"insert_content")),Ce(this,"getImage",(...r)=>ai(this,[...r],function*(i="png",a={}){let{ids:o=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes)}=a,s=yield this.getSvg(o,{includeFonts:i!=="svg"});if(!s)return;if(i==="svg"){let u=rn.getSvgString(s,1);return new Blob([u],{type:"image/svg+xml"})}let l=yield rn.getImageForSvg(s,i,a);if(l)return l})),Ce(this,"copyImage",(...r)=>ai(this,[...r],function*(i="png",a={}){if(i==="svg"){this.copySvg(a.ids);return}if(!(navigator.clipboard&&window.ClipboardItem)){console.warn("Sorry, your browser does not support copying images.");return}let o=yield this.getImage(i,a);!o||navigator.clipboard.write([new ClipboardItem({[o.type]:o})])})),Ce(this,"exportImage",(...r)=>ai(this,[...r],function*(i="png",a={}){var o;let{pageId:s=this.currentPageId}=a,l=yield this.getImage(i,a);if(!l)return;let u=(o=this.document.pages[s].name)!=null?o:"export";if(this.callbacks.onExport)this.callbacks.onExport(this,{name:u,type:i,blob:l});else{let c=URL.createObjectURL(l),f=document.createElement("a");f.href=c,f.download=`${u}.${i}`,f.click()}})),Ce(this,"setCamera",(r,i,a)=>(this.updateViewport(r,i),this.patchState({document:{pageStates:{[this.currentPageId]:{camera:{point:r,zoom:i}}}}},a),this)),Ce(this,"resetCamera",()=>this.setCamera(this.centerPoint,1,"reset_camera")),Ce(this,"pan",r=>{let{camera:i}=this.pageState;return this.setCamera(We.toFixed(We.sub(i.point,r)),i.zoom,"panned")}),Ce(this,"pinchZoom",(r,i,a)=>{let{camera:o}=this.pageState,s=We.sub(o.point,We.div(i,o.zoom)),l=a,u=We.sub(We.div(r,o.zoom),s),c=We.sub(We.div(r,l),s);return this.setCamera(We.toFixed(We.add(s,We.sub(c,u))),l,"pinch_zoomed")}),Ce(this,"zoomTo",(r,i=this.centerPoint)=>{let{zoom:a,point:o}=this.camera,s=We.sub(We.div(i,a),o),l=We.sub(We.div(i,r),o);return this.setCamera(We.toFixed(We.add(o,We.sub(l,s))),r,"zoomed_camera")}),Ce(this,"zoomIn",()=>{let r=Math.round(this.camera.zoom*100/25),i=rn.getCameraZoom((r+1)*.25);return this.zoomTo(i)}),Ce(this,"zoomOut",()=>{let r=Math.round(this.camera.zoom*100/25),i=rn.getCameraZoom((r-1)*.25);return this.zoomTo(i)}),Ce(this,"zoomToFit",()=>{let{shapes:r,pageState:{camera:i}}=this;if(r.length===0)return this;let{rendererBounds:a}=this,o=bt.getCommonBounds(r.map(rn.getBounds)),s=rn.getCameraZoom(Math.min((a.width-128)/o.width,(a.height-128)/o.height));s=i.zoom===s||i.zoom<1?Math.min(1,s):s;let l=(a.width-o.width*s)/2/s,u=(a.height-o.height*s)/2/s;return this.setCamera(We.toFixed(We.sub([l,u],[o.minX,o.minY])),s,"zoomed_to_fit")}),Ce(this,"zoomToSelection",()=>{if(this.selectedIds.length===0)return this;let{rendererBounds:r}=this,i=rn.getSelectedBounds(this.state),a=rn.getCameraZoom(Math.min((r.width-128)/i.width,(r.height-128)/i.height));a=this.camera.zoom===a||this.camera.zoom<1?Math.min(1,a):a;let o=(r.width-i.width*a)/2/a,s=(r.height-i.height*a)/2/a;return this.setCamera(We.toFixed(We.sub([o,s],[i.minX,i.minY])),a,"zoomed_to_selection")}),Ce(this,"zoomToContent",()=>{let r=this.shapes,i=this.pageState;if(r.length===0)return this;let{rendererBounds:a}=this,{zoom:o}=i.camera,s=bt.getCommonBounds(r.map(rn.getBounds)),l=(a.width-s.width*o)/2/o,u=(a.height-s.height*o)/2/o;return this.setCamera(We.toFixed(We.sub([l,u],[s.minX,s.minY])),this.camera.zoom,"zoomed_to_content")}),Ce(this,"resetZoom",()=>this.zoomTo(1)),Ce(this,"zoomBy",bt.throttle((r,i)=>{let{zoom:a}=this.camera,o=rn.getCameraZoom(a-r*a);return this.zoomTo(o,i)},16)),Ce(this,"clearSelectHistory",()=>(this.selectHistory.pointer=0,this.selectHistory.stack=[this.selectedIds],this)),Ce(this,"addToSelectHistory",r=>(this.selectHistory.pointer{let a=i?[...this.pageState.selectedIds,...r]:[...r];return this.patchState({appState:{activeTool:"select"},document:{pageStates:{[this.currentPageId]:{selectedIds:a}}}},"selected")}),Ce(this,"undoSelect",()=>(this.selectHistory.pointer>0&&(this.selectHistory.pointer--,this.setSelectedIds(this.selectHistory.stack[this.selectHistory.pointer])),this)),Ce(this,"redoSelect",()=>(this.selectHistory.pointer(r.forEach(i=>{if(!this.page.shapes[i])throw Error(`That shape does not exist on page ${this.currentPageId}`)}),this.setSelectedIds(r),this.addToSelectHistory(r),this)),Ce(this,"selectAll",(r=this.currentPageId)=>this.session?this:(this.setSelectedIds(Object.values(this.document.pages[r].shapes).filter(i=>i.parentId===r).map(i=>i.id)),this.addToSelectHistory(this.selectedIds),this.selectTool("select"),this)),Ce(this,"selectNone",()=>(this.setSelectedIds([]),this.addToSelectHistory(this.selectedIds),this)),Ce(this,"startSession",(r,...i)=>{var a,o;if(this.readOnly&&r!=="brush")return this;this.session&&(rn.warn(`Already in a session! (${this.session.constructor.name})`),this.cancelSession());let s=vHn(r);this.session=new s(this,...i);let l=this.session.start();return l&&this.patchState(l,`session:start_${this.session.constructor.name}`),(o=(a=this.callbacks).onSessionStart)==null||o.call(a,this,this.session.constructor.name),this}),Ce(this,"updateSession",()=>{let{session:r}=this;if(!r)return this;let i=r.update();return i?this.patchState(i,`session:${r?.constructor.name}`):this}),Ce(this,"cancelSession",()=>{var r,i;let{session:a}=this;if(!a)return this;this.session=void 0;let o=a.cancel();return o&&this.patchState(o,`session:cancel:${a.constructor.name}`),this.setEditingId(),(i=(r=this.callbacks).onSessionEnd)==null||i.call(r,this,a.constructor.name),this}),Ce(this,"completeSession",()=>{var r,i,a,o,s,l,u,c,f;let{session:d}=this;if(!d)return this;this.session=void 0;let h=d.complete();if(h===void 0)this.isCreating=!1,this.patchState({appState:{status:"idle"},document:{pageStates:{[this.currentPageId]:{editingId:void 0,bindingId:void 0,hoveredId:void 0}}}},`session:complete:${d.constructor.name}`);else if("after"in h){if(this.isCreating){if(h.before={appState:Zt(mt({},h.before.appState),{status:"idle"}),document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(this.selectedIds.map(p=>[p,void 0]))}},pageStates:{[this.currentPageId]:{selectedIds:[],editingId:null,bindingId:null,hoveredId:null}}}},this.appState.isToolLocked){let p=((a=(i=(r=h.after)==null?void 0:r.document)==null?void 0:i.pageStates)==null?void 0:a[this.currentPageId])||{};p.selectedIds=[]}this.isCreating=!1}h.after.appState=Zt(mt({},h.after.appState),{status:"idle"}),h.after.document=Zt(mt({},h.after.document),{pageStates:Zt(mt({},(o=h.after.document)==null?void 0:o.pageStates),{[this.currentPageId]:Zt(mt({},(((s=h.after.document)==null?void 0:s.pageStates)||{})[this.currentPageId]),{editingId:null})})}),this.setState(h,`session:complete:${d.constructor.name}`)}else this.patchState(Zt(mt({},h),{appState:Zt(mt({},h.appState),{status:"idle"}),document:Zt(mt({},h.document),{pageStates:{[this.currentPageId]:Zt(mt({},(u=(l=h.document)==null?void 0:l.pageStates)==null?void 0:u[this.currentPageId]),{editingId:null})}})}),`session:complete:${d.constructor.name}`);return(f=(c=this.callbacks).onSessionEnd)==null||f.call(c,this,d.constructor.name),this}),Ce(this,"createShapes",(...r)=>r.length===0?this:this.create(r.map(i=>rn.getShapeUtil(i.type).create(mt({parentId:this.currentPageId},i))))),Ce(this,"updateShapes",(...r)=>{let i=this.document.pages[this.currentPageId].shapes,a=r.filter(o=>i[o.id]);return a.length===0?this:this.setState(tke(this,a,this.currentPageId),"updated_shapes")}),Ce(this,"create",(r=[],i=[])=>r.length===0?this:this.setState(Jwe(this,r,i))),Ce(this,"patchCreate",(r=[],i=[])=>r.length===0?this:this.patchState(Jwe(this,r,i).after)),Ce(this,"delete",(r=this.selectedIds)=>{var i,a;if(r.length===0)return this;if(this.session)return this;let o=Zwe(this,r);if(this.callbacks.onAssetDelete&&((i=o.before.document)!=null&&i.assets)&&((a=o.after.document)!=null&&a.assets)){let s=Object.keys(o.before.document.assets).filter(u=>!!o.before.document.assets[u]),l=Object.keys(o.after.document.assets).filter(u=>!!o.after.document.assets[u]);s.filter(u=>!l.includes(u)).forEach(u=>this.callbacks.onAssetDelete(this,u))}return this.setState(o)}),Ce(this,"deleteAll",()=>(this.selectAll(),this.delete(),this)),Ce(this,"style",(r,i=this.selectedIds)=>this.setState(Zjn(this,i,r))),Ce(this,"align",(r,i=this.selectedIds)=>i.length<2?this:this.setState(Ljn(this,i,r))),Ce(this,"distribute",(r,i=this.selectedIds)=>i.length<3?this:this.setState(Ujn(this,i,r))),Ce(this,"stretch",(r,i=this.selectedIds)=>i.length<2?this:this.setState(Jjn(this,i,r))),Ce(this,"flipHorizontal",(r=this.selectedIds)=>r.length===0?this:this.setState(Qwe(this,r,"horizontal"))),Ce(this,"flipVertical",(r=this.selectedIds)=>r.length===0?this:this.setState(Qwe(this,r,"vertical"))),Ce(this,"moveToPage",(r,i=this.currentPageId,a=this.selectedIds)=>{if(a.length===0)return this;let{rendererBounds:o}=this;return this.setState(Gjn(this,a,o,i,r)),this}),Ce(this,"moveToBack",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"toBack"))),Ce(this,"moveBackward",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"backward"))),Ce(this,"moveForward",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"forward"))),Ce(this,"moveToFront",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"toFront"))),Ce(this,"nudge",(r,i=!1,a=this.selectedIds)=>{if(a.length===0)return this;let o=i?this.settings.showGrid?this.currentGrid*4:10:this.settings.showGrid?this.currentGrid:1;return this.setState(eHn(this,a,We.mul(r,o)))}),Ce(this,"duplicate",(r=this.selectedIds,i)=>this.readOnly?this:r.length===0?this:this.setState(qjn(this,r,i))),Ce(this,"resetBounds",(r=this.selectedIds)=>{let i=eke(this,r,this.currentPageId);return this.setState(eke(this,r,this.currentPageId),i.id)}),Ce(this,"toggleHidden",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isHidden"))),Ce(this,"toggleLocked",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isLocked"))),Ce(this,"toggleAspectRatioLocked",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isAspectRatioLocked"))),Ce(this,"toggleDecoration",(r,i=this.selectedIds)=>i.length===0||!(r==="start"||r==="end")?this:this.setState(Qjn(this,i,r))),Ce(this,"setShapeProps",(r,i=this.selectedIds)=>this.setState(nHn(this,i,r))),Ce(this,"rotate",(r=Math.PI*-.5,i=this.selectedIds)=>{if(i.length===0)return this;let a=Xjn(this,i,r);return a?this.setState(a):this}),Ce(this,"group",(r=this.selectedIds,i=bt.uniqueId(),a=this.currentPageId)=>{if(this.readOnly)return this;if(r.length===1&&this.getShape(r[0],a).type==="group")return this.ungroup(r,a);if(r.length<2)return this;let o=Wjn(this,r,i,a);return o?this.setState(o):this}),Ce(this,"ungroup",(r=this.selectedIds,i=this.currentPageId)=>{if(this.readOnly)return this;let a=r.map(s=>this.getShape(s,i)).filter(s=>s.type==="group");if(a.length===0)return this;let o=tHn(this,r,a,i);return o?this.setState(o):this}),Ce(this,"cancel",()=>{var r,i;return(i=(r=this.currentTool).onCancel)==null||i.call(r),this}),Ce(this,"addMediaFromFiles",(r,...i)=>ai(this,[r,...i],function*(a,o=this.centerPoint){this.setIsLoading(!0);let s=[],l=this.getPagePoint(o);for(let u of a){let c=bt.uniqueId(),f=u.name.match(/\.[0-9a-z]+$/i);if(!f)throw Error("No extension");let d=eVe.includes(f[0].toLowerCase()),h=tVe.includes(f[0].toLowerCase());if(!(d||h))throw Error("Wrong extension");let p=d?"image":"video",g=d?"image":"video",b;try{if(this.callbacks.onAssetCreate){let m=yield this.callbacks.onAssetCreate(this,u,c);if(!m)throw Error("Asset creation callback returned false");b=m}else b=yield _Ve(u);if(typeof b=="string"){let m=[0,0];if(d){if(f[0]==".svg"){let k,E=yield CVe(u),S=this.getViewboxFromSVG(E);S&&(k=S.split(" "),m[0]=parseFloat(k[2]),m[1]=parseFloat(k[3]))}We.isEqual(m,[0,0])&&(m=yield EVe(b))}else m=yield xVe(b);let v=Object.values(this.document.assets).find(k=>k.type===g&&k.src===b),w;if(v)w=v.id;else{w=c;let k={id:w,type:g,name:u.name,src:b,size:m};this.patchState({document:{assets:{[w]:k}}})}s.push(this.getImageOrVideoShapeAtPoint(c,p,o,m,w))}}catch(m){console.warn(m)}}if(s.length){let u=We.add(l,[0,0]);s.forEach((f,d)=>{let h=rn.getBounds(f);d===0&&(u[0]-=h.width/2,u[1]-=h.height/2),f.point=[...u],u[0]+=h.width});let c=bt.getCommonBounds(s.map(rn.getBounds));this.createShapes(...s),bt.boundsContain(this.viewport,c)||(this.zoomToSelection(),this.zoom>1&&this.resetZoom())}return this.setIsLoading(!1),this})),Ce(this,"getViewboxFromSVG",r=>{let i=/.*?viewBox=["'](-?[\d.]+[, ]+-?[\d.]+[, ][\d.]+[, ][\d.]+)["']/;if(typeof r=="string"){let a=r.match(i);return a&&a.length>=2?a[1]:null}return this.setIsLoading(!1),null}),Ce(this,"onKeyDown",(r,i,a)=>{var o,s;switch(a.key){case"/":{if(this.status==="idle"&&!this.pageState.editingId){let{shiftKey:l,metaKey:u,altKey:c,ctrlKey:f,spaceKey:d}=this;this.onPointerDown({target:"canvas",pointerId:0,origin:i.point,point:i.point,delta:[0,0],pressure:.5,shiftKey:l,ctrlKey:f,metaKey:u,altKey:c,spaceKey:d},{shiftKey:l,altKey:c,ctrlKey:f,pointerId:0,clientX:i.point[0],clientY:i.point[1]})}break}case"Escape":{this.cancel();break}case"Meta":{this.metaKey=!0;break}case"Alt":{this.altKey=!0;break}case"Control":{this.ctrlKey=!0;break}case" ":{this.isForcePanning=!0,this.spaceKey=!0;break}}return(s=(o=this.currentTool).onKeyDown)==null||s.call(o,r,i,a),this}),Ce(this,"onKeyUp",(r,i,a)=>{var o,s;if(i){switch(a.key){case"/":{let{currentPoint:l,shiftKey:u,metaKey:c,altKey:f,ctrlKey:d,spaceKey:h}=this;this.onPointerUp({target:"canvas",pointerId:0,origin:l,point:l,delta:[0,0],pressure:.5,shiftKey:u,ctrlKey:d,metaKey:c,altKey:f,spaceKey:h},{shiftKey:u,altKey:f,ctrlKey:d,pointerId:0,clientX:l[0],clientY:l[1]});break}case"Meta":{this.metaKey=!1;break}case"Alt":{this.altKey=!1;break}case"Control":{this.ctrlKey=!1;break}case" ":{this.isForcePanning=!1,this.spaceKey=!1;break}}(s=(o=this.currentTool).onKeyUp)==null||s.call(o,r,i,a)}}),Ce(this,"refreshBoundingBoxes",()=>{let r=this.shapes.map(a=>[a.id,mt({point:[...a.point]},"label"in a&&{label:""})]),i=this.shapes.map(a=>[a.id,mt({point:[...a.point]},"label"in a&&{label:a.label})]);Mzn(),this.patchState({document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(r)}}}}),this.patchState({document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(i)}}}})}),Ce(this,"onDragOver",r=>{r.preventDefault()}),Ce(this,"onDrop",r=>ai(this,null,function*(){var i;return r.preventDefault(),this.disableAssets?this:((i=r.dataTransfer.files)!=null&&i.length&&this.addMediaFromFiles(Object.values(r.dataTransfer.files),[r.clientX,r.clientY]),this)})),Ce(this,"onPinchStart",(r,i)=>{var a,o;(o=(a=this.currentTool).onPinchStart)==null||o.call(a,r,i)}),Ce(this,"onPinchEnd",(r,i)=>{var a,o;return(o=(a=this.currentTool).onPinchEnd)==null?void 0:o.call(a,r,i)}),Ce(this,"onPinch",(r,i)=>{var a,o;return(o=(a=this.currentTool).onPinch)==null?void 0:o.call(a,r,i)}),Ce(this,"onPan",(r,i)=>{if(this.appState.status==="pinching")return;let a=We.div(r.delta,this.camera.zoom),o=this.camera.point,s=We.sub(o,a);We.isEqual(s,o)||(this.pan(a),this.isForcePanning||this.onPointerMove(r,i),Tzn&&this.isForcePanning&&this.preventPaste())}),Ce(this,"onZoom",(r,i)=>{if(this.state.appState.status!=="idle")return;let a=r.delta[2]/50;this.zoomBy(a,r.point),this.onPointerMove(r,i)}),Ce(this,"updateInputs",r=>{this.currentPoint=this.getPagePoint(r.point).concat(r.pressure),this.shiftKey=r.shiftKey,this.altKey=r.altKey,this.ctrlKey=r.ctrlKey,this.metaKey=r.metaKey}),Ce(this,"onPointerMove",(r,i)=>{var a,o,s,l,u;if(this.previousPoint=this.currentPoint,this.updateInputs(r,i),this.isForcePanning&&this.isPointing){(a=this.onPan)==null||a.call(this,Zt(mt({},r),{delta:We.neg(r.delta)}),i);return}if((s=(o=this.currentTool).onPointerMove)==null||s.call(o,r,i),this.state.room){let{users:c,userId:f}=this.state.room;(u=(l=this.callbacks).onChangePresence)==null||u.call(l,this,Zt(mt({},c[f]),{point:this.getPagePoint(r.point),session:!!this.session}))}}),Ce(this,"onPointerDown",(r,i)=>{var a,o;if(i.buttons===4)this.isForcePanning=!0;else if(this.isPointing)return;this.isPointing=!0,this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),!this.isForcePanning&&(this.currentTool.type==="draw"&&i.pointerType==="pen"&&i.button===5&&(this.selectTool("erase"),this.isErasingWithPen=!0),(o=(a=this.currentTool).onPointerDown)==null||o.call(a,r,i))}),Ce(this,"onPointerUp",(r,i)=>{var a,o;this.isPointing=!1,this.shiftKey||(this.isForcePanning=!1),this.updateInputs(r,i),(o=(a=this.currentTool).onPointerUp)==null||o.call(a,r,i),this.isErasingWithPen&&i.pointerType==="pen"&&i.button===5&&(this.selectTool("draw"),this.isErasingWithPen=!1)}),Ce(this,"onPointCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onPointCanvas)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickCanvas)==null||o.call(a,r,i)}),Ce(this,"onRightPointCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointCanvas)==null||o.call(a,r,i)}),Ce(this,"onDragCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragCanvas)==null||o.call(a,r,i)}),Ce(this,"onReleaseCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseCanvas)==null||o.call(a,r,i)}),Ce(this,"onPointShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointShape)==null||o.call(a,r,i)}),Ce(this,"onReleaseShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseShape)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickShape)==null||o.call(a,r,i)}),Ce(this,"onRightPointShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointShape)==null||o.call(a,r,i)}),Ce(this,"onDragShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragShape)==null||o.call(a,r,i)}),Ce(this,"onHoverShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverShape)==null||o.call(a,r,i)}),Ce(this,"onUnhoverShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverShape)==null||o.call(a,r,i)}),Ce(this,"onPointBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointBounds)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickBounds)==null||o.call(a,r,i)}),Ce(this,"onRightPointBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointBounds)==null||o.call(a,r,i)}),Ce(this,"onDragBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragBounds)==null||o.call(a,r,i)}),Ce(this,"onHoverBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverBounds)==null||o.call(a,r,i)}),Ce(this,"onUnhoverBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverBounds)==null||o.call(a,r,i)}),Ce(this,"onReleaseBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseBounds)==null||o.call(a,r,i)}),Ce(this,"onPointBoundsHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickBoundsHandle",(r,i)=>{var a,o;if(this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickBoundsHandle)==null||o.call(a,r,i),this.selectedIds.length!==1)return;let s=this.getShape(this.selectedIds[0]);if(s.type==="image"||s.type==="video"){let l=this.document.assets[s.assetId],u=rn.getShapeUtil(s),c=u.getCenter(s),f=u.getCenter(Zt(mt({},s),{size:l.size})),d=We.sub(f,c);this.updateShapes({id:s.id,point:We.sub(s.point,d),size:l.size})}}),Ce(this,"onRightPointBoundsHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onDragBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onHoverBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onUnhoverBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onReleaseBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onPointHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointHandle)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickHandle)==null||o.call(a,r,i)}),Ce(this,"onRightPointHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointHandle)==null||o.call(a,r,i)}),Ce(this,"onDragHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragHandle)==null||o.call(a,r,i)}),Ce(this,"onHoverHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverHandle)==null||o.call(a,r,i)}),Ce(this,"onUnhoverHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverHandle)==null||o.call(a,r,i)}),Ce(this,"onReleaseHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseHandle)==null||o.call(a,r,i)}),Ce(this,"onShapeChange",r=>{let i=this.document.pages[this.currentPageId].shapes,a=mt(mt({},i[r.id]),r),o=tke(this,[a],this.currentPageId).after;return this.patchState(o,"patched_shapes")}),Ce(this,"onShapeBlur",()=>{var r,i;if(performance.now()-this.editingStartTime<50)return;let{editingId:a}=this.pageState,{isToolLocked:o}=this.getAppState();if(a){let s=this.getShape(a);this.setEditingId(),s.type==="text"&&(s.text.trim().length<=0?this.patchState(Zwe(this,[a]).after,"delete_empty_text"):o||this.select(a))}(i=(r=this.currentTool).onShapeBlur)==null||i.call(r)}),Ce(this,"onShapeClone",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onShapeClone)==null||o.call(a,r,i)}),Ce(this,"onRenderCountChange",r=>{let i=this.getAppState();i.isEmptyCanvas&&r.length>0?this.patchState({appState:{isEmptyCanvas:!1}},"empty_canvas:false"):!i.isEmptyCanvas&&r.length<=0&&this.patchState({appState:{isEmptyCanvas:!0}},"empty_canvas:true")}),Ce(this,"onError",()=>{}),Ce(this,"getShapeUtil",rn.getShapeUtil),this.callbacks=n}setStatus(t){return this.patchState({appState:{status:t}},`set_status:${t}`)}get isMenuOpen(){return this.appState.isMenuOpen}get isLoading(){return this.appState.isLoading}get disableAssets(){return this.appState.disableAssets}get history(){return this.stack.slice(0,this.pointer+1)}set history(t){this.replaceHistory(t)}get document(){return this.state.document}get settings(){return this.state.settings}get appState(){return this.state.appState}get currentPageId(){return this.state.appState.currentPageId}get page(){return this.state.document.pages[this.currentPageId]}get shapes(){return Object.values(this.page.shapes)}get bindings(){return Object.values(this.page.bindings)}get assets(){return Object.values(this.document.assets)}get pageState(){return this.state.document.pageStates[this.currentPageId]}get camera(){return this.pageState.camera}get zoom(){return this.pageState.camera.zoom}get selectedIds(){return this.pageState.selectedIds}createTextShapeAtPoint(t,n,r){let{shapes:i,appState:{currentPageId:a,currentStyle:o}}=this,s=i.length===0?1:i.filter(f=>f.parentId===a).sort((f,d)=>d.childIndex-f.childIndex)[0].childIndex+1,l=m_.text,u=l.create({id:n||bt.uniqueId(),parentId:a,childIndex:s,point:t,style:mt({},o)}),c=l.getBounds(u);return u.point=We.sub(u.point,[c.width/2,c.height/2]),r?this.patchCreate([rn.getShapeUtil(u.type).create(u)]):this.createShapes(u),this.setEditingId(u.id,!0),this}getImageOrVideoShapeAtPoint(t,n,r,i,a){let{shapes:o,appState:{currentPageId:s,currentStyle:l}}=this,u=o.length===0?1:o.filter(f=>f.parentId===s).sort((f,d)=>d.childIndex-f.childIndex)[0].childIndex+1,c=m_[n];if(i[0]>this.viewport.width){let f=i[1]/i[0];i[0]=this.viewport.width-128/this.camera.zoom*2,i[1]=i[0]*f,(i[1]<32||i[1]<32)&&(i[1]=32,i[0]=i[1]/f)}else if(i[1]>this.viewport.height){let f=i[0]/i[1];i[1]=this.viewport.height-128/this.camera.zoom*2,i[0]=i[1]*f,(i[1]<32||i[1]<32)&&(i[0]=32,i[1]=i[0]/f)}return c.create({id:t,parentId:s,childIndex:u,point:r,size:i,style:mt({},l),assetId:a})}isSelected(t){return this.selectedIds.includes(t)}serializeVideo(t){let n=document.getElementById(t+"_video");if(n){let r=document.createElement("canvas");return r.width=n.videoWidth,r.height=n.videoHeight,r.getContext("2d").drawImage(n,0,0),r.toDataURL("image/png")}else throw new Error("Video with id "+t+" not found")}serializeImage(t){let n=document.getElementById(t+"_image");if(n){let r=document.createElement("canvas");return r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(n,0,0),r.toDataURL("image/png")}else throw new Error("Image with id "+t+" not found")}patchAssets(t){this.document.assets=mt(mt({},this.document.assets),t)}get room(){return this.state.room}get isLocal(){return this.state.room===void 0||this.state.room.id==="local"}get status(){return this.appState.status}get currentUser(){if(this.state.room)return this.state.room.users[this.state.room.userId]}get centerPoint(){let{width:t,height:n}=this.rendererBounds;return We.toFixed([t/2,n/2])}get currentGrid(){let{zoom:t}=this.camera;return t<.15?8*16:t<1?8*4:8*1}},Jk=El;Ce(Jk,"version",15.5),Ce(Jk,"defaultDocument",{id:"doc",name:"New Document",version:El.version,pages:{page:{id:"page",name:"Page 1",childIndex:1,shapes:{},bindings:{}}},pageStates:{page:{id:"page",selectedIds:[],camera:{point:[0,0],zoom:1}}},assets:{}}),Ce(Jk,"defaultState",{settings:{isCadSelectMode:!1,isPenMode:!1,isDarkMode:!1,isZoomSnap:!1,isFocusMode:!1,isSnapping:!1,isDebugMode:!1,isReadonlyMode:!1,keepStyleMenuOpen:!1,nudgeDistanceLarge:16,nudgeDistanceSmall:1,showRotateHandles:!0,showBindingHandles:!0,showCloneHandles:!1,showGrid:!1,language:"en",dockPosition:"bottom",exportBackground:"transparent"},appState:{status:"idle",activeTool:"select",hoveredId:void 0,currentPageId:"page",currentStyle:w1,isToolLocked:!1,isMenuOpen:!1,isEmptyCanvas:!1,eraseLine:[],snapLines:[],isLoading:!1,disableAssets:!1},document:El.defaultDocument}),Ce(Jk,"assetSrc","tldraw-assets.json");var THn=CRt,DHn=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches:!1;function SVe({id:e,document:t,currentPageId:n,autofocus:r=!0,showMenu:i=!0,showMultiplayerMenu:a=!0,showPages:o=!0,showTools:s=!0,showZoom:l=!0,showStyles:u=!0,showUI:c=!0,readOnly:f=!1,disableAssets:d=!1,darkMode:h=DHn,components:p,onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetCreate:N,onAssetDelete:O,onAssetUpload:R,onSessionStart:P,onSessionEnd:H,onExport:F,hideCursors:q}){let[V,X]=C.useState(e),[G,J]=C.useState(()=>new Jk(e,{onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onSessionStart:P,onSessionEnd:H})),[te,re]=C.useState(null),[Q,ae]=C.useState(null),[le,oe]=C.useState(null),[ee,ne]=C.useState(null),ue=C.useCallback((Ae,ce,be,ge)=>{ne(()=>Ae),re(()=>ge),ae(()=>ce),oe(()=>be)},[]);return C.useLayoutEffect(()=>{if(e===V)return;let Ae=new Jk(e,{onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onExport:F,onSessionStart:P,onSessionEnd:H});X(e),J(Ae)},[V,e]),C.useEffect(()=>{!t||(t.id===G.document.id?G.updateDocument(t):G.loadDocument(t))},[t,G]),C.useEffect(()=>{G.setDisableAssets(d)},[G,d]),C.useEffect(()=>{!n||G.changePage(n)},[n,G]),C.useEffect(()=>{G.readOnly=f,f||(G.selectNone(),G.cancelSession(),G.setEditingId())},[G,f]),C.useEffect(()=>{h!==G.settings.isDarkMode&&G.toggleDarkMode()},[G,h]),C.useEffect(()=>{G.callbacks={onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onExport:F,onSessionStart:P,onSessionEnd:H}},[g,b,m,v,w,k,E,S,T,L,M,D,I,B,O,N,R,F,P,H]),C.useLayoutEffect(()=>{var Ae;if(typeof window>"u"||!((Ae=window.document)!=null&&Ae.fonts))return;function ce(){G.refreshBoundingBoxes()}return window.document.fonts.addEventListener("loadingdone",ce),()=>{window.document.fonts.removeEventListener("loadingdone",ce)}},[G]),C.createElement(KGe.Provider,{value:G},C.createElement(XGe.Provider,{value:{onYes:Q,onCancel:te,onNo:le,dialogState:ee,setDialogState:ne,openDialog:ue}},C.createElement(IHn,{key:V||"Tldraw",id:V,autofocus:r,showPages:o,showMenu:i,showMultiplayerMenu:a,showStyles:u,showZoom:l,showTools:s,showUI:c,readOnly:f,components:p,hideCursors:q})))}var IHn=C.memo(function({id:e,autofocus:t,showPages:n,showMenu:r,showMultiplayerMenu:i,showZoom:a,showStyles:o,showTools:s,readOnly:l,showUI:u,components:c,hideCursors:f}){var d,h;let p=Xa(),[g,b]=C.useState(null),m=C.useRef(null),v=p.useStore(),{document:w,settings:k,appState:E,room:S}=v,T=v.appState.activeTool==="select",L=w.pages[E.currentPageId],M=w.pageStates[L.id],D=w.assets,{selectedIds:I}=M,B=I.length===1&&L.shapes[I[0]]&&rn.getShapeUtil(L.shapes[I[0]].type).hideBounds,N=I.length===1&&L.shapes[I[0]]&&rn.getShapeUtil(L.shapes[I[0]].type).hideResizeHandles,O=C.useMemo(()=>({isDarkMode:k.isDarkMode}),[k.isDarkMode]),R=k.isCadSelectMode?!E.selectByContain:E.selectByContain,P=C.useMemo(()=>{let{selectByContain:J}=E,{isDarkMode:te,isCadSelectMode:re}=k;if(te){let ae=re?J?"69, 155, 255":"105, 209, 73":"180, 180, 180";return{brushFill:`rgba(${ae}, ${re?.08:.05})`,brushStroke:`rgba(${ae}, ${re?.5:.25})`,brushDashStroke:`rgba(${ae}, .6)`,selected:"rgba(38, 150, 255, 1.000)",selectFill:"rgba(38, 150, 255, 0.05)",background:"#212529",foreground:"#49555f"}}let Q=re?J?"0, 89, 242":"51, 163, 23":"0,0,0";return{brushFill:`rgba(${Q}, ${re?.08:.05})`,brushStroke:`rgba(${Q}, ${re?.4:.25})`,brushDashStroke:`rgba(${Q}, .6)`}},[k.isDarkMode,k.isCadSelectMode,E.selectByContain]),H=p.session!==void 0,F=H&&((d=p.session)==null?void 0:d.constructor.name)!=="BrushSession"||!T||B||!!M.editingId,q=H||!T,V=H&&v.appState.status!=="brushing"||!T,X=H||!T||M.camera.zoom<.2,G=kNn(k.language);return C.useLayoutEffect(()=>{let J=m.current;!J||(k.isDarkMode?J.classList.add(Lwe):J.classList.remove(Lwe))},[k.isDarkMode]),Ijn(m),C.createElement(YGe.Provider,{value:m},C.createElement(VMt,{locale:G.locale,messages:G.messages},C.createElement(JNn,{container:g}),C.createElement(MHn,{ref:m,tabIndex:-0},C.createElement(HNn,null),C.createElement(RHn,{focusableRef:m,autofocus:t}),C.createElement(BNn,null,C.createElement(THn,{FallbackComponent:PNn},C.createElement(kRt,{id:e,containerRef:m,shapeUtils:m_,page:L,pageState:M,assets:D,snapLines:E.snapLines,eraseLine:E.eraseLine,grid:8,users:S?.users,userId:S?.userId,theme:P,meta:O,components:c,hideCursors:f,hideBounds:F,hideHandles:q,hideResizeHandles:N,hideIndicators:V,hideBindingHandles:!k.showBindingHandles,hideCloneHandles:X,hideRotateHandles:!k.showRotateHandles,hideGrid:!k.showGrid,showDashedBrush:R,performanceMode:(h=p.session)==null?void 0:h.performanceMode,onPinchStart:p.onPinchStart,onPinchEnd:p.onPinchEnd,onPinch:p.onPinch,onPan:p.onPan,onZoom:p.onZoom,onPointerDown:p.onPointerDown,onPointerMove:p.onPointerMove,onPointerUp:p.onPointerUp,onPointCanvas:p.onPointCanvas,onDoubleClickCanvas:p.onDoubleClickCanvas,onRightPointCanvas:p.onRightPointCanvas,onDragCanvas:p.onDragCanvas,onReleaseCanvas:p.onReleaseCanvas,onPointShape:p.onPointShape,onDoubleClickShape:p.onDoubleClickShape,onRightPointShape:p.onRightPointShape,onDragShape:p.onDragShape,onHoverShape:p.onHoverShape,onUnhoverShape:p.onUnhoverShape,onReleaseShape:p.onReleaseShape,onPointBounds:p.onPointBounds,onDoubleClickBounds:p.onDoubleClickBounds,onRightPointBounds:p.onRightPointBounds,onDragBounds:p.onDragBounds,onHoverBounds:p.onHoverBounds,onUnhoverBounds:p.onUnhoverBounds,onReleaseBounds:p.onReleaseBounds,onPointBoundsHandle:p.onPointBoundsHandle,onDoubleClickBoundsHandle:p.onDoubleClickBoundsHandle,onRightPointBoundsHandle:p.onRightPointBoundsHandle,onDragBoundsHandle:p.onDragBoundsHandle,onHoverBoundsHandle:p.onHoverBoundsHandle,onUnhoverBoundsHandle:p.onUnhoverBoundsHandle,onReleaseBoundsHandle:p.onReleaseBoundsHandle,onPointHandle:p.onPointHandle,onDoubleClickHandle:p.onDoubleClickHandle,onRightPointHandle:p.onRightPointHandle,onDragHandle:p.onDragHandle,onHoverHandle:p.onHoverHandle,onUnhoverHandle:p.onUnhoverHandle,onReleaseHandle:p.onReleaseHandle,onError:p.onError,onRenderCountChange:p.onRenderCountChange,onShapeChange:p.onShapeChange,onShapeBlur:p.onShapeBlur,onShapeClone:p.onShapeClone,onBoundsChange:p.updateBounds,onKeyDown:p.onKeyDown,onKeyUp:p.onKeyUp,onDragOver:p.onDragOver,onDrop:p.onDrop}))),u&&C.createElement(OHn,{ref:b},k.isFocusMode?C.createElement(zNn,{onSelect:p.toggleFocusMode}):C.createElement(C.Fragment,null,C.createElement(Djn,{readOnly:l,showPages:n,showMenu:r,showMultiplayerMenu:i,showStyles:o,showZoom:a}),C.createElement(LHn,null),s&&!l&&C.createElement(gzn,null))))))}),RHn=C.memo(function({focusableRef:e,autofocus:t}){return Fjt(e),C.useEffect(()=>{var n;t&&((n=e.current)==null||n.focus())},[t]),null}),MHn=Hn("div",{position:"absolute",height:"100%",width:"100%",minHeight:0,minWidth:0,maxHeight:"100%",maxWidth:"100%",overflow:"hidden",boxSizing:"border-box",outline:"none",userSelect:"none",WebkitUserSelect:"none","& .tl-container":{position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:1},"& input, textarea, button, select, label, button":{webkitTouchCallout:"none",webkitUserSelect:"none","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent"}}),OHn=Hn("div",{position:"absolute",top:0,left:0,height:"100%",width:"100%",padding:"8px 8px 0 8px",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",pointerEvents:"none",zIndex:2,"& > *":{pointerEvents:"all"}}),LHn=Hn("div",{flexGrow:2});const BHn=({color:e,metadata:t={name:"Anonymous"}})=>zt("div",{style:{display:"flex",width:"fit-content",alignItems:"center",gap:8},children:[me("div",{style:{width:12,height:12,background:e,borderRadius:"100%"}}),me("div",{style:{background:"white",padding:"4px 8px",borderRadius:4,whiteSpace:"nowrap"},children:t?.name})]}),PHn=e=>{const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),t},FHn=PHn,NHn=typeof performance<"u"?performance:Date,$Hn=()=>NHn.now();function rke(e,t=30,n=!1){const r=FHn(e),i=1e3/t,a=C.useRef(0),o=C.useRef(),s=()=>o.current&&clearTimeout(o.current),l=[t,n,r];function u(){a.current=0,s()}return C.useEffect(()=>u,l),C.useCallback(function(){const c=arguments,f=$Hn(),d=()=>{a.current=f,s(),r.current.apply(null,c)},h=a.current;if(n&&h===0)return d();if(f-h>i){if(h>0)return d();a.current=f}s(),o.current=setTimeout(()=>{d(),a.current=0},i)},l)}const zHn={isOver:!1},AVe=y1({name:"action",initialState:zHn,reducers:{setActionStatus(e,t){const{isOver:n}=t.payload;e.isOver=n}}}),{setActionStatus:hB}=AVe.actions,UHn=AVe.reducer;function jHn(e,t){const n=e,r=t;if(n.type!==r.type&&(n.type=r.type),n.childIndex!==r.childIndex&&(n.childIndex=r.childIndex),n.id!==r.id&&(n.id=r.id),n.label!==r.label&&(n.label=r.label),r.type==="draw"){const i=n;if(i.points.length!==r.points.length)i.points=r.points;else{let a=!1;for(let o=0;og.docState.client),r=ir(g=>g.docState.doc),i=ir(g=>g.settingState.menu),[a,o]=C.useState(),[s,l]=C.useState(!0),u=i1(()=>{a&&t(hB({isOver:!1}))},500),c=C.useCallback(u,[a,t,u]),f=C.useCallback(g=>{g.loadRoom(e),g.setIsLoading(!0),g.pause(),o(g);const b=Gje({dictionaries:[Vje]});g.updateUsers([{id:`${n.getID()}`,point:[-100,-100],color:i?.userColor||c_(),status:Loe.Connected,activeShapes:[],selectedIds:[],metadata:{name:i?.userName||b}}])},[e,n,i]),d=C.useCallback(()=>{if(!r)return;const g=r.getPresences().map(b=>b.presence.whiteboardUser).filter(Boolean);a?.updateUsers(g)},[a,r]),h=rke((g,b,m)=>{!g||n===void 0||r===void 0||r.update(v=>{const w=v;Object.entries(b).forEach(([k,E])=>{if(!E)delete w.whiteboard.shapes[k];else{const S=w.whiteboard.shapes[k];S?jHn(S,E):w.whiteboard.shapes[k]=E}}),Object.entries(m).forEach(([k,E])=>{E?w.whiteboard.bindings[k]=E:delete w.whiteboard.bindings[k]}),Object.entries(g.assets).forEach(([,k])=>{k.type==="image"&&k.src.startsWith("data:image/"),k.id?w.whiteboard.assets[k.id]=k:delete w.whiteboard.assets[k.id]})})},10,!1),p=rke((g,b)=>{!g||n===void 0||r===void 0||(r.update((m,v)=>{v.set({whiteboardUser:{id:`${n.getID()}`,point:[-100,-100],color:i?.userColor||c_(),status:Loe.Connected,activeShapes:[],selectedIds:[],metadata:{name:i?.userName},...b}})}),t(hB({isOver:!0})),c())},10,!1);return C.useEffect(()=>{if(!a)return;let g=!0,b;function m(){const w=r.getRoot(),k=JSON.parse(w.whiteboard.shapes.toJSON()),E=JSON.parse(w.whiteboard.bindings.toJSON()),S=JSON.parse(w.whiteboard.assets.toJSON());a?.replacePageContent(k,E,S)}async function v(){try{if(!r)return;b=r.subscribe("others",w=>{w.type,GL.DocEventType.Unwatched,d()}),r.update(w=>{const k=w;k.whiteboard||(k.whiteboard={shapes:{},bindings:{},assets:{}}),k.whiteboard?.shapes||(k.whiteboard.shapes={}),k.whiteboard.bindings||(k.whiteboard.bindings={}),k.whiteboard.assets||(k.whiteboard.assets={})},"create shapes/bindings/assets object if not exists"),r.subscribe(w=>{w.type==="remote-change"&&m()}),await n.sync(),g&&(m(),a&&(a.resetZoom(),a.setIsLoading(!1)),l(!1))}catch(w){console.error(w)}}return v(),d(),()=>{g=!1,b?.()}},[a,n,r,e,d]),{onMount:f,onChangePage:h,loading:s,onChangePresence:p}}const qHn=da()(()=>({root:{width:"calc(100%)",height:"calc(100vh - 75px)",overflow:"hidden",position:"absolute",borderRadius:4,borderTopLeftRadius:0,borderTopRightRadius:0,"& .tl-container":{backgroundColor:"transparent"}}}));function WHn(){const e=UGe(),{...t}=HHn(`tldraw-${new Date().toISOString().substring(0,10).replace(/-/g,"")}`),n={Cursor:BHn},{classes:r}=qHn(),i=ir(a=>a.settingState.menu);return me("div",{className:r.root,children:me(SVe,{id:"whiteboard-editor",components:n,autofocus:!0,disableAssets:!0,showPages:!1,showMultiplayerMenu:!1,...e,...t,darkMode:i.theme===Kr.Dark})})}var pB=(e=>(e[e.None=0]="None",e[e.Line=1]="Line",e[e.Eraser=2]="Eraser",e[e.Rect=3]="Rect",e[e.Selector=4]="Selector",e[e.Clear=5]="Clear",e[e.Settings=6]="Settings",e))(pB||{});const GHn={isOpen:!1,color:"#f3b328",toolType:0},TVe=y1({name:"board",initialState:GHn,reducers:{toggleBoard(e){e.isOpen=!e.isOpen},setTool(e,t){e.toolType=t.payload},setColor(e,t){e.color=t.payload}}}),{toggleBoard:rpa,setTool:ike,setColor:ipa}=TVe.actions,VHn=TVe.reducer;var DVe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(as,function(){var n=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(n),a=/MSIE \d/.test(n),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),s=/Edge\/(\d+)/.exec(n),l=a||o||s,u=l&&(a?document.documentMode||6:+(s||o)[1]),c=!s&&/WebKit\//.test(n),f=c&&/Qt\/\d+\.\d+/.test(n),d=!s&&/Chrome\/(\d+)/.exec(n),h=d&&+d[1],p=/Opera\//.test(n),g=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),m=/PhantomJS/.test(n),v=g&&(/Mobile\/\w+/.test(n)||navigator.maxTouchPoints>2),w=/Android/.test(n),k=v||w||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),E=v||/Mac/.test(r),S=/\bCrOS\b/.test(n),T=/win/i.test(r),L=p&&n.match(/Version\/(\d*\.\d*)/);L&&(L=Number(L[1])),L&&L>=15&&(p=!1,c=!0);var M=E&&(f||p&&(L==null||L<12.11)),D=i||l&&u>=9;function I(_){return new RegExp("(^|\\s)"+_+"(?:$|\\s)\\s*")}var B=function(_,A){var U=_.className,z=I(A).exec(U);if(z){var W=U.slice(z.index+z[0].length);_.className=U.slice(0,z.index)+(W?z[1]+W:"")}};function N(_){for(var A=_.childNodes.length;A>0;--A)_.removeChild(_.firstChild);return _}function O(_,A){return N(_).appendChild(A)}function R(_,A,U,z){var W=document.createElement(_);if(U&&(W.className=U),z&&(W.style.cssText=z),typeof A=="string")W.appendChild(document.createTextNode(A));else if(A)for(var se=0;se=A)return Se+(A-se);Se+=Le-se,Se+=U-Se%U,se=Le+1}}var le=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};le.prototype.onTimeout=function(_){_.id=0,_.time<=+new Date?_.f():setTimeout(_.handler,_.time-+new Date)},le.prototype.set=function(_,A){this.f=A;var U=+new Date+_;(!this.id||U=A)return z+Math.min(Se,A-W);if(W+=se-z,W+=U-W%U,z=se+1,W>=A)return z}}var ge=[""];function ve(_){for(;ge.length<=_;)ge.push(ie(ge)+" ");return ge[_]}function ie(_){return _[_.length-1]}function he(_,A){for(var U=[],z=0;z<_.length;z++)U[z]=A(_[z],z);return U}function $e(_,A,U){for(var z=0,W=U(A);z<_.length&&U(_[z])<=W;)z++;_.splice(z,0,A)}function De(){}function Ie(_,A){var U;return Object.create?U=Object.create(_):(De.prototype=_,U=new De),A&&Q(A,U),U}var Be=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function we(_){return/\w/.test(_)||_>"€"&&(_.toUpperCase()!=_.toLowerCase()||Be.test(_))}function je(_,A){return A?A.source.indexOf("\\w")>-1&&we(_)?!0:A.test(_):we(_)}function Oe(_){for(var A in _)if(_.hasOwnProperty(A)&&_[A])return!1;return!0}var Re=/[\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 ye(_){return _.charCodeAt(0)>=768&&Re.test(_)}function fe(_,A,U){for(;(U<0?A>0:A<_.length)&&ye(_.charAt(A));)A+=U;return A}function de(_,A,U){for(var z=A>U?-1:1;;){if(A==U)return A;var W=(A+U)/2,se=z<0?Math.ceil(W):Math.floor(W);if(se==A)return _(se)?A:U;_(se)?U=se:A=se+z}}function xe(_,A,U,z){if(!_)return z(A,U,"ltr",0);for(var W=!1,se=0;se<_.length;++se){var Se=_[se];(Se.fromA||A==U&&Se.to==A)&&(z(Math.max(Se.from,A),Math.min(Se.to,U),Se.level==1?"rtl":"ltr",se),W=!0)}W||z(A,U,"ltr")}var Ye=null;function Ze(_,A,U){var z;Ye=null;for(var W=0;W<_.length;++W){var se=_[W];if(se.fromA)return W;se.to==A&&(se.from!=se.to&&U=="before"?z=W:Ye=W),se.from==A&&(se.from!=se.to&&U!="before"?z=W:Ye=W)}return z??Ye}var st=function(){var _="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",A="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function U(Ge){return Ge<=247?_.charAt(Ge):1424<=Ge&&Ge<=1524?"R":1536<=Ge&&Ge<=1785?A.charAt(Ge-1536):1774<=Ge&&Ge<=2220?"r":8192<=Ge&&Ge<=8203?"w":Ge==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,W=/[stwN]/,se=/[LRr]/,Se=/[Lb1n]/,Le=/[1n]/;function Pe(Ge,lt,vt){this.level=Ge,this.from=lt,this.to=vt}return function(Ge,lt){var vt=lt=="ltr"?"L":"R";if(Ge.length==0||lt=="ltr"&&!z.test(Ge))return!1;for(var Nt=Ge.length,Mt=[],tn=0;tn-1&&(z[A]=W.slice(0,se).concat(W.slice(se+1)))}}}function xt(_,A){var U=Ot(_,A);if(U.length)for(var z=Array.prototype.slice.call(arguments,2),W=0;W0}function yt(_){_.prototype.on=function(A,U){et(this,A,U)},_.prototype.off=function(A,U){jt(this,A,U)}}function Lt(_){_.preventDefault?_.preventDefault():_.returnValue=!1}function on(_){_.stopPropagation?_.stopPropagation():_.cancelBubble=!0}function Ht(_){return _.defaultPrevented!=null?_.defaultPrevented:_.returnValue==!1}function vn(_){Lt(_),on(_)}function $t(_){return _.target||_.srcElement}function Tt(_){var A=_.which;return A==null&&(_.button&1?A=1:_.button&2?A=3:_.button&4&&(A=2)),E&&_.ctrlKey&&A==1&&(A=3),A}var Wt=function(){if(l&&u<9)return!1;var _=R("div");return"draggable"in _||"dragDrop"in _}(),Ut;function en(_){if(Ut==null){var A=R("span","​");O(_,R("span",[A,document.createTextNode("x")])),_.firstChild.offsetHeight!=0&&(Ut=A.offsetWidth<=1&&A.offsetHeight>2&&!(l&&u<8))}var U=Ut?R("span","​"):R("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return U.setAttribute("cm-text",""),U}var Gt;function gn(_){if(Gt!=null)return Gt;var A=O(_,document.createTextNode("AخA")),U=H(A,0,1).getBoundingClientRect(),z=H(A,1,2).getBoundingClientRect();return N(_),!U||U.left==U.right?!1:Gt=z.right-U.right<3}var In=` + `}catch{rn.warn("Could not find tldraw-assets.json file.")}else l.textContent="@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Source+Code+Pro&family=Source+Sans+Pro&family=Crimson+Pro&display=block');";s.append(l),o.append(s);let u=i.map(g=>this.getShape(g,this.currentPageId)).sort((g,b)=>g.childIndex-b.childIndex),c=bt.getCommonBounds(u.map(rn.getRotatedBounds)),f=g=>{let b=rn.getShapeUtil(g),m=b.getBounds(g),v=b.getSvgElement(g,this.settings.isDarkMode);if(v)return g.type==="image"?v.setAttribute("xlink:href",this.document.assets[g.assetId].src):g.type==="video"&&v.setAttribute("xlink:href",this.serializeVideo(g.id)),v.setAttribute("transform",`translate(${(16+g.point[0]-c.minX).toFixed(2)}, ${(16+g.point[1]-c.minY).toFixed(2)}) rotate(${((g.rotation||0)*180/Math.PI).toFixed(2)}, ${(m.width/2).toFixed(2)}, ${(m.height/2).toFixed(2)})`),v};u.forEach(g=>{var b;if((b=g.children)!=null&&b.length){let v=document.createElementNS("http://www.w3.org/2000/svg","g");g.children.forEach(w=>{let k=this.getShape(w,this.currentPageId),E=f(k);E&&v.append(E)}),o.append(v);return}let m=f(g);m&&o.append(m)}),o.setAttribute("viewBox",[0,0,c.width+16*2,c.height+16*2].join(" ")),o.setAttribute("width",(c.width+16*2).toString()),o.setAttribute("height",(c.height+16*2).toString());let d=this.settings.exportBackground,h="#212529",p="rgb(248, 249, 250)";switch(d){case"auto":{o.style.setProperty("background-color",this.settings.isDarkMode?h:p);break}case"dark":{o.style.setProperty("background-color",h);break}case"light":{o.style.setProperty("background-color",p);break}case"transparent":default:{o.style.setProperty("background-color","transparent");break}}return o.querySelectorAll(".tl-fill-hitarea, .tl-stroke-hitarea, .tl-binding-indicator").forEach(g=>g.remove()),o})),Ce(this,"copySvg",(...r)=>ai(this,[...r],function*(i=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes)){if(i.length===0)return;let a=yield this.getSvg(i);if(!a)return;let o=rn.getSvgString(a,1);this.clipboard=this.getContent(i);let s=JSON.stringify(mt({type:"tldr/clipboard",shapes:[],assets:[],bindings:[]},this.clipboard));return navigator.clipboard&&window.ClipboardItem&&navigator.clipboard.write([new ClipboardItem({"text/html":new Blob([s],{type:"text/html"}),"text/plain":new Blob([o],{type:"text/plain"})})]),o})),Ce(this,"getContent",r=>{let i=this.getPage(this.currentPageId);if(r&&r.length===0||(r||(r=this.selectedIds),r.length===0&&(r=Object.keys(i.shapes)),r.length===0))return;let a=r.map(u=>i.shapes[u]).flatMap(u=>{var c;return[u,...((c=u.children)!=null?c:[]).map(f=>i.shapes[f])]}).map(Jf),o=new Set(a.map(u=>u.id));a.forEach(u=>{u.parentId===this.currentPageId&&(u.parentId="currentPageId")});let s=Object.values(i.bindings).filter(u=>{if(o.has(u.fromId)||o.has(u.toId))return!0;if(o.has(u.fromId)){let c=a.find(f=>f.id===u.fromId).handles;c&&Object.values(c).forEach(f=>{f.bindingId===u.id&&(f.bindingId=void 0)})}if(o.has(u.toId)){let c=a.find(f=>f.id===u.toId).handles;c&&Object.values(c).forEach(f=>{f.bindingId===u.id&&(f.bindingId=void 0)})}return!1}).map(Jf),l=[...new Set(a.map(u=>{if(u.assetId)return this.document.assets[u.assetId]}).filter(Boolean).map(Jf))];return{shapes:a,bindings:s,assets:l}}),Ce(this,"copyJson",(r=this.selectedIds)=>{let i=this.getContent(r);return i&&rn.copyStringToClipboard(JSON.stringify(i)),this}),Ce(this,"exportJson",(r=this.selectedIds)=>{let i=this.getContent(r);if(i){let a=new Blob([JSON.stringify(i)],{type:"application/json"}),o=URL.createObjectURL(a),s=document.createElement("a");s.href=o,s.download="export.json",s.click()}return this}),Ce(this,"insertContent",(r,i={})=>this.setState(iHn(this,r,i),"insert_content")),Ce(this,"getImage",(...r)=>ai(this,[...r],function*(i="png",a={}){let{ids:o=this.selectedIds.length?this.selectedIds:Object.keys(this.page.shapes)}=a,s=yield this.getSvg(o,{includeFonts:i!=="svg"});if(!s)return;if(i==="svg"){let u=rn.getSvgString(s,1);return new Blob([u],{type:"image/svg+xml"})}let l=yield rn.getImageForSvg(s,i,a);if(l)return l})),Ce(this,"copyImage",(...r)=>ai(this,[...r],function*(i="png",a={}){if(i==="svg"){this.copySvg(a.ids);return}if(!(navigator.clipboard&&window.ClipboardItem)){console.warn("Sorry, your browser does not support copying images.");return}let o=yield this.getImage(i,a);!o||navigator.clipboard.write([new ClipboardItem({[o.type]:o})])})),Ce(this,"exportImage",(...r)=>ai(this,[...r],function*(i="png",a={}){var o;let{pageId:s=this.currentPageId}=a,l=yield this.getImage(i,a);if(!l)return;let u=(o=this.document.pages[s].name)!=null?o:"export";if(this.callbacks.onExport)this.callbacks.onExport(this,{name:u,type:i,blob:l});else{let c=URL.createObjectURL(l),f=document.createElement("a");f.href=c,f.download=`${u}.${i}`,f.click()}})),Ce(this,"setCamera",(r,i,a)=>(this.updateViewport(r,i),this.patchState({document:{pageStates:{[this.currentPageId]:{camera:{point:r,zoom:i}}}}},a),this)),Ce(this,"resetCamera",()=>this.setCamera(this.centerPoint,1,"reset_camera")),Ce(this,"pan",r=>{let{camera:i}=this.pageState;return this.setCamera(We.toFixed(We.sub(i.point,r)),i.zoom,"panned")}),Ce(this,"pinchZoom",(r,i,a)=>{let{camera:o}=this.pageState,s=We.sub(o.point,We.div(i,o.zoom)),l=a,u=We.sub(We.div(r,o.zoom),s),c=We.sub(We.div(r,l),s);return this.setCamera(We.toFixed(We.add(s,We.sub(c,u))),l,"pinch_zoomed")}),Ce(this,"zoomTo",(r,i=this.centerPoint)=>{let{zoom:a,point:o}=this.camera,s=We.sub(We.div(i,a),o),l=We.sub(We.div(i,r),o);return this.setCamera(We.toFixed(We.add(o,We.sub(l,s))),r,"zoomed_camera")}),Ce(this,"zoomIn",()=>{let r=Math.round(this.camera.zoom*100/25),i=rn.getCameraZoom((r+1)*.25);return this.zoomTo(i)}),Ce(this,"zoomOut",()=>{let r=Math.round(this.camera.zoom*100/25),i=rn.getCameraZoom((r-1)*.25);return this.zoomTo(i)}),Ce(this,"zoomToFit",()=>{let{shapes:r,pageState:{camera:i}}=this;if(r.length===0)return this;let{rendererBounds:a}=this,o=bt.getCommonBounds(r.map(rn.getBounds)),s=rn.getCameraZoom(Math.min((a.width-128)/o.width,(a.height-128)/o.height));s=i.zoom===s||i.zoom<1?Math.min(1,s):s;let l=(a.width-o.width*s)/2/s,u=(a.height-o.height*s)/2/s;return this.setCamera(We.toFixed(We.sub([l,u],[o.minX,o.minY])),s,"zoomed_to_fit")}),Ce(this,"zoomToSelection",()=>{if(this.selectedIds.length===0)return this;let{rendererBounds:r}=this,i=rn.getSelectedBounds(this.state),a=rn.getCameraZoom(Math.min((r.width-128)/i.width,(r.height-128)/i.height));a=this.camera.zoom===a||this.camera.zoom<1?Math.min(1,a):a;let o=(r.width-i.width*a)/2/a,s=(r.height-i.height*a)/2/a;return this.setCamera(We.toFixed(We.sub([o,s],[i.minX,i.minY])),a,"zoomed_to_selection")}),Ce(this,"zoomToContent",()=>{let r=this.shapes,i=this.pageState;if(r.length===0)return this;let{rendererBounds:a}=this,{zoom:o}=i.camera,s=bt.getCommonBounds(r.map(rn.getBounds)),l=(a.width-s.width*o)/2/o,u=(a.height-s.height*o)/2/o;return this.setCamera(We.toFixed(We.sub([l,u],[s.minX,s.minY])),this.camera.zoom,"zoomed_to_content")}),Ce(this,"resetZoom",()=>this.zoomTo(1)),Ce(this,"zoomBy",bt.throttle((r,i)=>{let{zoom:a}=this.camera,o=rn.getCameraZoom(a-r*a);return this.zoomTo(o,i)},16)),Ce(this,"clearSelectHistory",()=>(this.selectHistory.pointer=0,this.selectHistory.stack=[this.selectedIds],this)),Ce(this,"addToSelectHistory",r=>(this.selectHistory.pointer{let a=i?[...this.pageState.selectedIds,...r]:[...r];return this.patchState({appState:{activeTool:"select"},document:{pageStates:{[this.currentPageId]:{selectedIds:a}}}},"selected")}),Ce(this,"undoSelect",()=>(this.selectHistory.pointer>0&&(this.selectHistory.pointer--,this.setSelectedIds(this.selectHistory.stack[this.selectHistory.pointer])),this)),Ce(this,"redoSelect",()=>(this.selectHistory.pointer(r.forEach(i=>{if(!this.page.shapes[i])throw Error(`That shape does not exist on page ${this.currentPageId}`)}),this.setSelectedIds(r),this.addToSelectHistory(r),this)),Ce(this,"selectAll",(r=this.currentPageId)=>this.session?this:(this.setSelectedIds(Object.values(this.document.pages[r].shapes).filter(i=>i.parentId===r).map(i=>i.id)),this.addToSelectHistory(this.selectedIds),this.selectTool("select"),this)),Ce(this,"selectNone",()=>(this.setSelectedIds([]),this.addToSelectHistory(this.selectedIds),this)),Ce(this,"startSession",(r,...i)=>{var a,o;if(this.readOnly&&r!=="brush")return this;this.session&&(rn.warn(`Already in a session! (${this.session.constructor.name})`),this.cancelSession());let s=yHn(r);this.session=new s(this,...i);let l=this.session.start();return l&&this.patchState(l,`session:start_${this.session.constructor.name}`),(o=(a=this.callbacks).onSessionStart)==null||o.call(a,this,this.session.constructor.name),this}),Ce(this,"updateSession",()=>{let{session:r}=this;if(!r)return this;let i=r.update();return i?this.patchState(i,`session:${r?.constructor.name}`):this}),Ce(this,"cancelSession",()=>{var r,i;let{session:a}=this;if(!a)return this;this.session=void 0;let o=a.cancel();return o&&this.patchState(o,`session:cancel:${a.constructor.name}`),this.setEditingId(),(i=(r=this.callbacks).onSessionEnd)==null||i.call(r,this,a.constructor.name),this}),Ce(this,"completeSession",()=>{var r,i,a,o,s,l,u,c,f;let{session:d}=this;if(!d)return this;this.session=void 0;let h=d.complete();if(h===void 0)this.isCreating=!1,this.patchState({appState:{status:"idle"},document:{pageStates:{[this.currentPageId]:{editingId:void 0,bindingId:void 0,hoveredId:void 0}}}},`session:complete:${d.constructor.name}`);else if("after"in h){if(this.isCreating){if(h.before={appState:Zt(mt({},h.before.appState),{status:"idle"}),document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(this.selectedIds.map(p=>[p,void 0]))}},pageStates:{[this.currentPageId]:{selectedIds:[],editingId:null,bindingId:null,hoveredId:null}}}},this.appState.isToolLocked){let p=((a=(i=(r=h.after)==null?void 0:r.document)==null?void 0:i.pageStates)==null?void 0:a[this.currentPageId])||{};p.selectedIds=[]}this.isCreating=!1}h.after.appState=Zt(mt({},h.after.appState),{status:"idle"}),h.after.document=Zt(mt({},h.after.document),{pageStates:Zt(mt({},(o=h.after.document)==null?void 0:o.pageStates),{[this.currentPageId]:Zt(mt({},(((s=h.after.document)==null?void 0:s.pageStates)||{})[this.currentPageId]),{editingId:null})})}),this.setState(h,`session:complete:${d.constructor.name}`)}else this.patchState(Zt(mt({},h),{appState:Zt(mt({},h.appState),{status:"idle"}),document:Zt(mt({},h.document),{pageStates:{[this.currentPageId]:Zt(mt({},(u=(l=h.document)==null?void 0:l.pageStates)==null?void 0:u[this.currentPageId]),{editingId:null})}})}),`session:complete:${d.constructor.name}`);return(f=(c=this.callbacks).onSessionEnd)==null||f.call(c,this,d.constructor.name),this}),Ce(this,"createShapes",(...r)=>r.length===0?this:this.create(r.map(i=>rn.getShapeUtil(i.type).create(mt({parentId:this.currentPageId},i))))),Ce(this,"updateShapes",(...r)=>{let i=this.document.pages[this.currentPageId].shapes,a=r.filter(o=>i[o.id]);return a.length===0?this:this.setState(tke(this,a,this.currentPageId),"updated_shapes")}),Ce(this,"create",(r=[],i=[])=>r.length===0?this:this.setState(Jwe(this,r,i))),Ce(this,"patchCreate",(r=[],i=[])=>r.length===0?this:this.patchState(Jwe(this,r,i).after)),Ce(this,"delete",(r=this.selectedIds)=>{var i,a;if(r.length===0)return this;if(this.session)return this;let o=Zwe(this,r);if(this.callbacks.onAssetDelete&&((i=o.before.document)!=null&&i.assets)&&((a=o.after.document)!=null&&a.assets)){let s=Object.keys(o.before.document.assets).filter(u=>!!o.before.document.assets[u]),l=Object.keys(o.after.document.assets).filter(u=>!!o.after.document.assets[u]);s.filter(u=>!l.includes(u)).forEach(u=>this.callbacks.onAssetDelete(this,u))}return this.setState(o)}),Ce(this,"deleteAll",()=>(this.selectAll(),this.delete(),this)),Ce(this,"style",(r,i=this.selectedIds)=>this.setState(Qjn(this,i,r))),Ce(this,"align",(r,i=this.selectedIds)=>i.length<2?this:this.setState(Bjn(this,i,r))),Ce(this,"distribute",(r,i=this.selectedIds)=>i.length<3?this:this.setState(jjn(this,i,r))),Ce(this,"stretch",(r,i=this.selectedIds)=>i.length<2?this:this.setState(Zjn(this,i,r))),Ce(this,"flipHorizontal",(r=this.selectedIds)=>r.length===0?this:this.setState(Qwe(this,r,"horizontal"))),Ce(this,"flipVertical",(r=this.selectedIds)=>r.length===0?this:this.setState(Qwe(this,r,"vertical"))),Ce(this,"moveToPage",(r,i=this.currentPageId,a=this.selectedIds)=>{if(a.length===0)return this;let{rendererBounds:o}=this;return this.setState(Vjn(this,a,o,i,r)),this}),Ce(this,"moveToBack",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"toBack"))),Ce(this,"moveBackward",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"backward"))),Ce(this,"moveForward",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"forward"))),Ce(this,"moveToFront",(r=this.selectedIds)=>r.length===0?this:this.setState(kI(this,r,"toFront"))),Ce(this,"nudge",(r,i=!1,a=this.selectedIds)=>{if(a.length===0)return this;let o=i?this.settings.showGrid?this.currentGrid*4:10:this.settings.showGrid?this.currentGrid:1;return this.setState(tHn(this,a,We.mul(r,o)))}),Ce(this,"duplicate",(r=this.selectedIds,i)=>this.readOnly?this:r.length===0?this:this.setState(Wjn(this,r,i))),Ce(this,"resetBounds",(r=this.selectedIds)=>{let i=eke(this,r,this.currentPageId);return this.setState(eke(this,r,this.currentPageId),i.id)}),Ce(this,"toggleHidden",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isHidden"))),Ce(this,"toggleLocked",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isLocked"))),Ce(this,"toggleAspectRatioLocked",(r=this.selectedIds)=>r.length===0?this:this.setState(sW(this,r,"isAspectRatioLocked"))),Ce(this,"toggleDecoration",(r,i=this.selectedIds)=>i.length===0||!(r==="start"||r==="end")?this:this.setState(eHn(this,i,r))),Ce(this,"setShapeProps",(r,i=this.selectedIds)=>this.setState(rHn(this,i,r))),Ce(this,"rotate",(r=Math.PI*-.5,i=this.selectedIds)=>{if(i.length===0)return this;let a=Jjn(this,i,r);return a?this.setState(a):this}),Ce(this,"group",(r=this.selectedIds,i=bt.uniqueId(),a=this.currentPageId)=>{if(this.readOnly)return this;if(r.length===1&&this.getShape(r[0],a).type==="group")return this.ungroup(r,a);if(r.length<2)return this;let o=Gjn(this,r,i,a);return o?this.setState(o):this}),Ce(this,"ungroup",(r=this.selectedIds,i=this.currentPageId)=>{if(this.readOnly)return this;let a=r.map(s=>this.getShape(s,i)).filter(s=>s.type==="group");if(a.length===0)return this;let o=nHn(this,r,a,i);return o?this.setState(o):this}),Ce(this,"cancel",()=>{var r,i;return(i=(r=this.currentTool).onCancel)==null||i.call(r),this}),Ce(this,"addMediaFromFiles",(r,...i)=>ai(this,[r,...i],function*(a,o=this.centerPoint){this.setIsLoading(!0);let s=[],l=this.getPagePoint(o);for(let u of a){let c=bt.uniqueId(),f=u.name.match(/\.[0-9a-z]+$/i);if(!f)throw Error("No extension");let d=eVe.includes(f[0].toLowerCase()),h=tVe.includes(f[0].toLowerCase());if(!(d||h))throw Error("Wrong extension");let p=d?"image":"video",g=d?"image":"video",b;try{if(this.callbacks.onAssetCreate){let m=yield this.callbacks.onAssetCreate(this,u,c);if(!m)throw Error("Asset creation callback returned false");b=m}else b=yield _Ve(u);if(typeof b=="string"){let m=[0,0];if(d){if(f[0]==".svg"){let k,E=yield CVe(u),S=this.getViewboxFromSVG(E);S&&(k=S.split(" "),m[0]=parseFloat(k[2]),m[1]=parseFloat(k[3]))}We.isEqual(m,[0,0])&&(m=yield EVe(b))}else m=yield xVe(b);let v=Object.values(this.document.assets).find(k=>k.type===g&&k.src===b),w;if(v)w=v.id;else{w=c;let k={id:w,type:g,name:u.name,src:b,size:m};this.patchState({document:{assets:{[w]:k}}})}s.push(this.getImageOrVideoShapeAtPoint(c,p,o,m,w))}}catch(m){console.warn(m)}}if(s.length){let u=We.add(l,[0,0]);s.forEach((f,d)=>{let h=rn.getBounds(f);d===0&&(u[0]-=h.width/2,u[1]-=h.height/2),f.point=[...u],u[0]+=h.width});let c=bt.getCommonBounds(s.map(rn.getBounds));this.createShapes(...s),bt.boundsContain(this.viewport,c)||(this.zoomToSelection(),this.zoom>1&&this.resetZoom())}return this.setIsLoading(!1),this})),Ce(this,"getViewboxFromSVG",r=>{let i=/.*?viewBox=["'](-?[\d.]+[, ]+-?[\d.]+[, ][\d.]+[, ][\d.]+)["']/;if(typeof r=="string"){let a=r.match(i);return a&&a.length>=2?a[1]:null}return this.setIsLoading(!1),null}),Ce(this,"onKeyDown",(r,i,a)=>{var o,s;switch(a.key){case"/":{if(this.status==="idle"&&!this.pageState.editingId){let{shiftKey:l,metaKey:u,altKey:c,ctrlKey:f,spaceKey:d}=this;this.onPointerDown({target:"canvas",pointerId:0,origin:i.point,point:i.point,delta:[0,0],pressure:.5,shiftKey:l,ctrlKey:f,metaKey:u,altKey:c,spaceKey:d},{shiftKey:l,altKey:c,ctrlKey:f,pointerId:0,clientX:i.point[0],clientY:i.point[1]})}break}case"Escape":{this.cancel();break}case"Meta":{this.metaKey=!0;break}case"Alt":{this.altKey=!0;break}case"Control":{this.ctrlKey=!0;break}case" ":{this.isForcePanning=!0,this.spaceKey=!0;break}}return(s=(o=this.currentTool).onKeyDown)==null||s.call(o,r,i,a),this}),Ce(this,"onKeyUp",(r,i,a)=>{var o,s;if(i){switch(a.key){case"/":{let{currentPoint:l,shiftKey:u,metaKey:c,altKey:f,ctrlKey:d,spaceKey:h}=this;this.onPointerUp({target:"canvas",pointerId:0,origin:l,point:l,delta:[0,0],pressure:.5,shiftKey:u,ctrlKey:d,metaKey:c,altKey:f,spaceKey:h},{shiftKey:u,altKey:f,ctrlKey:d,pointerId:0,clientX:l[0],clientY:l[1]});break}case"Meta":{this.metaKey=!1;break}case"Alt":{this.altKey=!1;break}case"Control":{this.ctrlKey=!1;break}case" ":{this.isForcePanning=!1,this.spaceKey=!1;break}}(s=(o=this.currentTool).onKeyUp)==null||s.call(o,r,i,a)}}),Ce(this,"refreshBoundingBoxes",()=>{let r=this.shapes.map(a=>[a.id,mt({point:[...a.point]},"label"in a&&{label:""})]),i=this.shapes.map(a=>[a.id,mt({point:[...a.point]},"label"in a&&{label:a.label})]);Ozn(),this.patchState({document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(r)}}}}),this.patchState({document:{pages:{[this.currentPageId]:{shapes:Object.fromEntries(i)}}}})}),Ce(this,"onDragOver",r=>{r.preventDefault()}),Ce(this,"onDrop",r=>ai(this,null,function*(){var i;return r.preventDefault(),this.disableAssets?this:((i=r.dataTransfer.files)!=null&&i.length&&this.addMediaFromFiles(Object.values(r.dataTransfer.files),[r.clientX,r.clientY]),this)})),Ce(this,"onPinchStart",(r,i)=>{var a,o;(o=(a=this.currentTool).onPinchStart)==null||o.call(a,r,i)}),Ce(this,"onPinchEnd",(r,i)=>{var a,o;return(o=(a=this.currentTool).onPinchEnd)==null?void 0:o.call(a,r,i)}),Ce(this,"onPinch",(r,i)=>{var a,o;return(o=(a=this.currentTool).onPinch)==null?void 0:o.call(a,r,i)}),Ce(this,"onPan",(r,i)=>{if(this.appState.status==="pinching")return;let a=We.div(r.delta,this.camera.zoom),o=this.camera.point,s=We.sub(o,a);We.isEqual(s,o)||(this.pan(a),this.isForcePanning||this.onPointerMove(r,i),Dzn&&this.isForcePanning&&this.preventPaste())}),Ce(this,"onZoom",(r,i)=>{if(this.state.appState.status!=="idle")return;let a=r.delta[2]/50;this.zoomBy(a,r.point),this.onPointerMove(r,i)}),Ce(this,"updateInputs",r=>{this.currentPoint=this.getPagePoint(r.point).concat(r.pressure),this.shiftKey=r.shiftKey,this.altKey=r.altKey,this.ctrlKey=r.ctrlKey,this.metaKey=r.metaKey}),Ce(this,"onPointerMove",(r,i)=>{var a,o,s,l,u;if(this.previousPoint=this.currentPoint,this.updateInputs(r,i),this.isForcePanning&&this.isPointing){(a=this.onPan)==null||a.call(this,Zt(mt({},r),{delta:We.neg(r.delta)}),i);return}if((s=(o=this.currentTool).onPointerMove)==null||s.call(o,r,i),this.state.room){let{users:c,userId:f}=this.state.room;(u=(l=this.callbacks).onChangePresence)==null||u.call(l,this,Zt(mt({},c[f]),{point:this.getPagePoint(r.point),session:!!this.session}))}}),Ce(this,"onPointerDown",(r,i)=>{var a,o;if(i.buttons===4)this.isForcePanning=!0;else if(this.isPointing)return;this.isPointing=!0,this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),!this.isForcePanning&&(this.currentTool.type==="draw"&&i.pointerType==="pen"&&i.button===5&&(this.selectTool("erase"),this.isErasingWithPen=!0),(o=(a=this.currentTool).onPointerDown)==null||o.call(a,r,i))}),Ce(this,"onPointerUp",(r,i)=>{var a,o;this.isPointing=!1,this.shiftKey||(this.isForcePanning=!1),this.updateInputs(r,i),(o=(a=this.currentTool).onPointerUp)==null||o.call(a,r,i),this.isErasingWithPen&&i.pointerType==="pen"&&i.button===5&&(this.selectTool("draw"),this.isErasingWithPen=!1)}),Ce(this,"onPointCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onPointCanvas)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickCanvas)==null||o.call(a,r,i)}),Ce(this,"onRightPointCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointCanvas)==null||o.call(a,r,i)}),Ce(this,"onDragCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragCanvas)==null||o.call(a,r,i)}),Ce(this,"onReleaseCanvas",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseCanvas)==null||o.call(a,r,i)}),Ce(this,"onPointShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointShape)==null||o.call(a,r,i)}),Ce(this,"onReleaseShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseShape)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickShape)==null||o.call(a,r,i)}),Ce(this,"onRightPointShape",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointShape)==null||o.call(a,r,i)}),Ce(this,"onDragShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragShape)==null||o.call(a,r,i)}),Ce(this,"onHoverShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverShape)==null||o.call(a,r,i)}),Ce(this,"onUnhoverShape",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverShape)==null||o.call(a,r,i)}),Ce(this,"onPointBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointBounds)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickBounds)==null||o.call(a,r,i)}),Ce(this,"onRightPointBounds",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointBounds)==null||o.call(a,r,i)}),Ce(this,"onDragBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragBounds)==null||o.call(a,r,i)}),Ce(this,"onHoverBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverBounds)==null||o.call(a,r,i)}),Ce(this,"onUnhoverBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverBounds)==null||o.call(a,r,i)}),Ce(this,"onReleaseBounds",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseBounds)==null||o.call(a,r,i)}),Ce(this,"onPointBoundsHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickBoundsHandle",(r,i)=>{var a,o;if(this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickBoundsHandle)==null||o.call(a,r,i),this.selectedIds.length!==1)return;let s=this.getShape(this.selectedIds[0]);if(s.type==="image"||s.type==="video"){let l=this.document.assets[s.assetId],u=rn.getShapeUtil(s),c=u.getCenter(s),f=u.getCenter(Zt(mt({},s),{size:l.size})),d=We.sub(f,c);this.updateShapes({id:s.id,point:We.sub(s.point,d),size:l.size})}}),Ce(this,"onRightPointBoundsHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onDragBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onHoverBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onUnhoverBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onReleaseBoundsHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseBoundsHandle)==null||o.call(a,r,i)}),Ce(this,"onPointHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onPointHandle)==null||o.call(a,r,i)}),Ce(this,"onDoubleClickHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onDoubleClickHandle)==null||o.call(a,r,i)}),Ce(this,"onRightPointHandle",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onRightPointHandle)==null||o.call(a,r,i)}),Ce(this,"onDragHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onDragHandle)==null||o.call(a,r,i)}),Ce(this,"onHoverHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onHoverHandle)==null||o.call(a,r,i)}),Ce(this,"onUnhoverHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onUnhoverHandle)==null||o.call(a,r,i)}),Ce(this,"onReleaseHandle",(r,i)=>{var a,o;this.updateInputs(r,i),(o=(a=this.currentTool).onReleaseHandle)==null||o.call(a,r,i)}),Ce(this,"onShapeChange",r=>{let i=this.document.pages[this.currentPageId].shapes,a=mt(mt({},i[r.id]),r),o=tke(this,[a],this.currentPageId).after;return this.patchState(o,"patched_shapes")}),Ce(this,"onShapeBlur",()=>{var r,i;if(performance.now()-this.editingStartTime<50)return;let{editingId:a}=this.pageState,{isToolLocked:o}=this.getAppState();if(a){let s=this.getShape(a);this.setEditingId(),s.type==="text"&&(s.text.trim().length<=0?this.patchState(Zwe(this,[a]).after,"delete_empty_text"):o||this.select(a))}(i=(r=this.currentTool).onShapeBlur)==null||i.call(r)}),Ce(this,"onShapeClone",(r,i)=>{var a,o;this.originPoint=this.getPagePoint(r.point).concat(r.pressure),this.updateInputs(r,i),(o=(a=this.currentTool).onShapeClone)==null||o.call(a,r,i)}),Ce(this,"onRenderCountChange",r=>{let i=this.getAppState();i.isEmptyCanvas&&r.length>0?this.patchState({appState:{isEmptyCanvas:!1}},"empty_canvas:false"):!i.isEmptyCanvas&&r.length<=0&&this.patchState({appState:{isEmptyCanvas:!0}},"empty_canvas:true")}),Ce(this,"onError",()=>{}),Ce(this,"getShapeUtil",rn.getShapeUtil),this.callbacks=n}setStatus(t){return this.patchState({appState:{status:t}},`set_status:${t}`)}get isMenuOpen(){return this.appState.isMenuOpen}get isLoading(){return this.appState.isLoading}get disableAssets(){return this.appState.disableAssets}get history(){return this.stack.slice(0,this.pointer+1)}set history(t){this.replaceHistory(t)}get document(){return this.state.document}get settings(){return this.state.settings}get appState(){return this.state.appState}get currentPageId(){return this.state.appState.currentPageId}get page(){return this.state.document.pages[this.currentPageId]}get shapes(){return Object.values(this.page.shapes)}get bindings(){return Object.values(this.page.bindings)}get assets(){return Object.values(this.document.assets)}get pageState(){return this.state.document.pageStates[this.currentPageId]}get camera(){return this.pageState.camera}get zoom(){return this.pageState.camera.zoom}get selectedIds(){return this.pageState.selectedIds}createTextShapeAtPoint(t,n,r){let{shapes:i,appState:{currentPageId:a,currentStyle:o}}=this,s=i.length===0?1:i.filter(f=>f.parentId===a).sort((f,d)=>d.childIndex-f.childIndex)[0].childIndex+1,l=m_.text,u=l.create({id:n||bt.uniqueId(),parentId:a,childIndex:s,point:t,style:mt({},o)}),c=l.getBounds(u);return u.point=We.sub(u.point,[c.width/2,c.height/2]),r?this.patchCreate([rn.getShapeUtil(u.type).create(u)]):this.createShapes(u),this.setEditingId(u.id,!0),this}getImageOrVideoShapeAtPoint(t,n,r,i,a){let{shapes:o,appState:{currentPageId:s,currentStyle:l}}=this,u=o.length===0?1:o.filter(f=>f.parentId===s).sort((f,d)=>d.childIndex-f.childIndex)[0].childIndex+1,c=m_[n];if(i[0]>this.viewport.width){let f=i[1]/i[0];i[0]=this.viewport.width-128/this.camera.zoom*2,i[1]=i[0]*f,(i[1]<32||i[1]<32)&&(i[1]=32,i[0]=i[1]/f)}else if(i[1]>this.viewport.height){let f=i[0]/i[1];i[1]=this.viewport.height-128/this.camera.zoom*2,i[0]=i[1]*f,(i[1]<32||i[1]<32)&&(i[0]=32,i[1]=i[0]/f)}return c.create({id:t,parentId:s,childIndex:u,point:r,size:i,style:mt({},l),assetId:a})}isSelected(t){return this.selectedIds.includes(t)}serializeVideo(t){let n=document.getElementById(t+"_video");if(n){let r=document.createElement("canvas");return r.width=n.videoWidth,r.height=n.videoHeight,r.getContext("2d").drawImage(n,0,0),r.toDataURL("image/png")}else throw new Error("Video with id "+t+" not found")}serializeImage(t){let n=document.getElementById(t+"_image");if(n){let r=document.createElement("canvas");return r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(n,0,0),r.toDataURL("image/png")}else throw new Error("Image with id "+t+" not found")}patchAssets(t){this.document.assets=mt(mt({},this.document.assets),t)}get room(){return this.state.room}get isLocal(){return this.state.room===void 0||this.state.room.id==="local"}get status(){return this.appState.status}get currentUser(){if(this.state.room)return this.state.room.users[this.state.room.userId]}get centerPoint(){let{width:t,height:n}=this.rendererBounds;return We.toFixed([t/2,n/2])}get currentGrid(){let{zoom:t}=this.camera;return t<.15?8*16:t<1?8*4:8*1}},Jk=El;Ce(Jk,"version",15.5),Ce(Jk,"defaultDocument",{id:"doc",name:"New Document",version:El.version,pages:{page:{id:"page",name:"Page 1",childIndex:1,shapes:{},bindings:{}}},pageStates:{page:{id:"page",selectedIds:[],camera:{point:[0,0],zoom:1}}},assets:{}}),Ce(Jk,"defaultState",{settings:{isCadSelectMode:!1,isPenMode:!1,isDarkMode:!1,isZoomSnap:!1,isFocusMode:!1,isSnapping:!1,isDebugMode:!1,isReadonlyMode:!1,keepStyleMenuOpen:!1,nudgeDistanceLarge:16,nudgeDistanceSmall:1,showRotateHandles:!0,showBindingHandles:!0,showCloneHandles:!1,showGrid:!1,language:"en",dockPosition:"bottom",exportBackground:"transparent"},appState:{status:"idle",activeTool:"select",hoveredId:void 0,currentPageId:"page",currentStyle:w1,isToolLocked:!1,isMenuOpen:!1,isEmptyCanvas:!1,eraseLine:[],snapLines:[],isLoading:!1,disableAssets:!1},document:El.defaultDocument}),Ce(Jk,"assetSrc","tldraw-assets.json");var DHn=ERt,IHn=window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)").matches:!1;function SVe({id:e,document:t,currentPageId:n,autofocus:r=!0,showMenu:i=!0,showMultiplayerMenu:a=!0,showPages:o=!0,showTools:s=!0,showZoom:l=!0,showStyles:u=!0,showUI:c=!0,readOnly:f=!1,disableAssets:d=!1,darkMode:h=IHn,components:p,onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetCreate:N,onAssetDelete:O,onAssetUpload:R,onSessionStart:P,onSessionEnd:H,onExport:F,hideCursors:q}){let[V,X]=C.useState(e),[G,J]=C.useState(()=>new Jk(e,{onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onSessionStart:P,onSessionEnd:H})),[te,re]=C.useState(null),[Q,ae]=C.useState(null),[le,oe]=C.useState(null),[ee,ne]=C.useState(null),ue=C.useCallback((Ae,ce,be,ge)=>{ne(()=>Ae),re(()=>ge),ae(()=>ce),oe(()=>be)},[]);return C.useLayoutEffect(()=>{if(e===V)return;let Ae=new Jk(e,{onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onExport:F,onSessionStart:P,onSessionEnd:H});X(e),J(Ae)},[V,e]),C.useEffect(()=>{!t||(t.id===G.document.id?G.updateDocument(t):G.loadDocument(t))},[t,G]),C.useEffect(()=>{G.setDisableAssets(d)},[G,d]),C.useEffect(()=>{!n||G.changePage(n)},[n,G]),C.useEffect(()=>{G.readOnly=f,f||(G.selectNone(),G.cancelSession(),G.setEditingId())},[G,f]),C.useEffect(()=>{h!==G.settings.isDarkMode&&G.toggleDarkMode()},[G,h]),C.useEffect(()=>{G.callbacks={onMount:g,onChange:b,onChangePresence:m,onNewProject:v,onSaveProject:w,onSaveProjectAs:k,onOpenProject:E,onOpenMedia:S,onUndo:T,onRedo:L,onPersist:M,onPatch:D,onCommand:I,onChangePage:B,onAssetDelete:O,onAssetCreate:N,onAssetUpload:R,onExport:F,onSessionStart:P,onSessionEnd:H}},[g,b,m,v,w,k,E,S,T,L,M,D,I,B,O,N,R,F,P,H]),C.useLayoutEffect(()=>{var Ae;if(typeof window>"u"||!((Ae=window.document)!=null&&Ae.fonts))return;function ce(){G.refreshBoundingBoxes()}return window.document.fonts.addEventListener("loadingdone",ce),()=>{window.document.fonts.removeEventListener("loadingdone",ce)}},[G]),C.createElement(KGe.Provider,{value:G},C.createElement(XGe.Provider,{value:{onYes:Q,onCancel:te,onNo:le,dialogState:ee,setDialogState:ne,openDialog:ue}},C.createElement(RHn,{key:V||"Tldraw",id:V,autofocus:r,showPages:o,showMenu:i,showMultiplayerMenu:a,showStyles:u,showZoom:l,showTools:s,showUI:c,readOnly:f,components:p,hideCursors:q})))}var RHn=C.memo(function({id:e,autofocus:t,showPages:n,showMenu:r,showMultiplayerMenu:i,showZoom:a,showStyles:o,showTools:s,readOnly:l,showUI:u,components:c,hideCursors:f}){var d,h;let p=Xa(),[g,b]=C.useState(null),m=C.useRef(null),v=p.useStore(),{document:w,settings:k,appState:E,room:S}=v,T=v.appState.activeTool==="select",L=w.pages[E.currentPageId],M=w.pageStates[L.id],D=w.assets,{selectedIds:I}=M,B=I.length===1&&L.shapes[I[0]]&&rn.getShapeUtil(L.shapes[I[0]].type).hideBounds,N=I.length===1&&L.shapes[I[0]]&&rn.getShapeUtil(L.shapes[I[0]].type).hideResizeHandles,O=C.useMemo(()=>({isDarkMode:k.isDarkMode}),[k.isDarkMode]),R=k.isCadSelectMode?!E.selectByContain:E.selectByContain,P=C.useMemo(()=>{let{selectByContain:J}=E,{isDarkMode:te,isCadSelectMode:re}=k;if(te){let ae=re?J?"69, 155, 255":"105, 209, 73":"180, 180, 180";return{brushFill:`rgba(${ae}, ${re?.08:.05})`,brushStroke:`rgba(${ae}, ${re?.5:.25})`,brushDashStroke:`rgba(${ae}, .6)`,selected:"rgba(38, 150, 255, 1.000)",selectFill:"rgba(38, 150, 255, 0.05)",background:"#212529",foreground:"#49555f"}}let Q=re?J?"0, 89, 242":"51, 163, 23":"0,0,0";return{brushFill:`rgba(${Q}, ${re?.08:.05})`,brushStroke:`rgba(${Q}, ${re?.4:.25})`,brushDashStroke:`rgba(${Q}, .6)`}},[k.isDarkMode,k.isCadSelectMode,E.selectByContain]),H=p.session!==void 0,F=H&&((d=p.session)==null?void 0:d.constructor.name)!=="BrushSession"||!T||B||!!M.editingId,q=H||!T,V=H&&v.appState.status!=="brushing"||!T,X=H||!T||M.camera.zoom<.2,G=_Nn(k.language);return C.useLayoutEffect(()=>{let J=m.current;!J||(k.isDarkMode?J.classList.add(Lwe):J.classList.remove(Lwe))},[k.isDarkMode]),Rjn(m),C.createElement(YGe.Provider,{value:m},C.createElement(KMt,{locale:G.locale,messages:G.messages},C.createElement(ZNn,{container:g}),C.createElement(OHn,{ref:m,tabIndex:-0},C.createElement(qNn,null),C.createElement(MHn,{focusableRef:m,autofocus:t}),C.createElement(PNn,null,C.createElement(DHn,{FallbackComponent:FNn},C.createElement(_Rt,{id:e,containerRef:m,shapeUtils:m_,page:L,pageState:M,assets:D,snapLines:E.snapLines,eraseLine:E.eraseLine,grid:8,users:S?.users,userId:S?.userId,theme:P,meta:O,components:c,hideCursors:f,hideBounds:F,hideHandles:q,hideResizeHandles:N,hideIndicators:V,hideBindingHandles:!k.showBindingHandles,hideCloneHandles:X,hideRotateHandles:!k.showRotateHandles,hideGrid:!k.showGrid,showDashedBrush:R,performanceMode:(h=p.session)==null?void 0:h.performanceMode,onPinchStart:p.onPinchStart,onPinchEnd:p.onPinchEnd,onPinch:p.onPinch,onPan:p.onPan,onZoom:p.onZoom,onPointerDown:p.onPointerDown,onPointerMove:p.onPointerMove,onPointerUp:p.onPointerUp,onPointCanvas:p.onPointCanvas,onDoubleClickCanvas:p.onDoubleClickCanvas,onRightPointCanvas:p.onRightPointCanvas,onDragCanvas:p.onDragCanvas,onReleaseCanvas:p.onReleaseCanvas,onPointShape:p.onPointShape,onDoubleClickShape:p.onDoubleClickShape,onRightPointShape:p.onRightPointShape,onDragShape:p.onDragShape,onHoverShape:p.onHoverShape,onUnhoverShape:p.onUnhoverShape,onReleaseShape:p.onReleaseShape,onPointBounds:p.onPointBounds,onDoubleClickBounds:p.onDoubleClickBounds,onRightPointBounds:p.onRightPointBounds,onDragBounds:p.onDragBounds,onHoverBounds:p.onHoverBounds,onUnhoverBounds:p.onUnhoverBounds,onReleaseBounds:p.onReleaseBounds,onPointBoundsHandle:p.onPointBoundsHandle,onDoubleClickBoundsHandle:p.onDoubleClickBoundsHandle,onRightPointBoundsHandle:p.onRightPointBoundsHandle,onDragBoundsHandle:p.onDragBoundsHandle,onHoverBoundsHandle:p.onHoverBoundsHandle,onUnhoverBoundsHandle:p.onUnhoverBoundsHandle,onReleaseBoundsHandle:p.onReleaseBoundsHandle,onPointHandle:p.onPointHandle,onDoubleClickHandle:p.onDoubleClickHandle,onRightPointHandle:p.onRightPointHandle,onDragHandle:p.onDragHandle,onHoverHandle:p.onHoverHandle,onUnhoverHandle:p.onUnhoverHandle,onReleaseHandle:p.onReleaseHandle,onError:p.onError,onRenderCountChange:p.onRenderCountChange,onShapeChange:p.onShapeChange,onShapeBlur:p.onShapeBlur,onShapeClone:p.onShapeClone,onBoundsChange:p.updateBounds,onKeyDown:p.onKeyDown,onKeyUp:p.onKeyUp,onDragOver:p.onDragOver,onDrop:p.onDrop}))),u&&C.createElement(LHn,{ref:b},k.isFocusMode?C.createElement(UNn,{onSelect:p.toggleFocusMode}):C.createElement(C.Fragment,null,C.createElement(Ijn,{readOnly:l,showPages:n,showMenu:r,showMultiplayerMenu:i,showStyles:o,showZoom:a}),C.createElement(BHn,null),s&&!l&&C.createElement(mzn,null))))))}),MHn=C.memo(function({focusableRef:e,autofocus:t}){return Njt(e),C.useEffect(()=>{var n;t&&((n=e.current)==null||n.focus())},[t]),null}),OHn=Hn("div",{position:"absolute",height:"100%",width:"100%",minHeight:0,minWidth:0,maxHeight:"100%",maxWidth:"100%",overflow:"hidden",boxSizing:"border-box",outline:"none",userSelect:"none",WebkitUserSelect:"none","& .tl-container":{position:"absolute",top:0,left:0,height:"100%",width:"100%",zIndex:1},"& input, textarea, button, select, label, button":{webkitTouchCallout:"none",webkitUserSelect:"none","-webkit-tap-highlight-color":"transparent","tap-highlight-color":"transparent"}}),LHn=Hn("div",{position:"absolute",top:0,left:0,height:"100%",width:"100%",padding:"8px 8px 0 8px",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",pointerEvents:"none",zIndex:2,"& > *":{pointerEvents:"all"}}),BHn=Hn("div",{flexGrow:2});const PHn=({color:e,metadata:t={name:"Anonymous"}})=>zt("div",{style:{display:"flex",width:"fit-content",alignItems:"center",gap:8},children:[me("div",{style:{width:12,height:12,background:e,borderRadius:"100%"}}),me("div",{style:{background:"white",padding:"4px 8px",borderRadius:4,whiteSpace:"nowrap"},children:t?.name})]}),FHn=e=>{const t=C.useRef(e);return C.useEffect(()=>{t.current=e}),t},NHn=FHn,$Hn=typeof performance<"u"?performance:Date,zHn=()=>$Hn.now();function rke(e,t=30,n=!1){const r=NHn(e),i=1e3/t,a=C.useRef(0),o=C.useRef(),s=()=>o.current&&clearTimeout(o.current),l=[t,n,r];function u(){a.current=0,s()}return C.useEffect(()=>u,l),C.useCallback(function(){const c=arguments,f=zHn(),d=()=>{a.current=f,s(),r.current.apply(null,c)},h=a.current;if(n&&h===0)return d();if(f-h>i){if(h>0)return d();a.current=f}s(),o.current=setTimeout(()=>{d(),a.current=0},i)},l)}const UHn={isOver:!1},AVe=y1({name:"action",initialState:UHn,reducers:{setActionStatus(e,t){const{isOver:n}=t.payload;e.isOver=n}}}),{setActionStatus:hB}=AVe.actions,jHn=AVe.reducer;function HHn(e,t){const n=e,r=t;if(n.type!==r.type&&(n.type=r.type),n.childIndex!==r.childIndex&&(n.childIndex=r.childIndex),n.id!==r.id&&(n.id=r.id),n.label!==r.label&&(n.label=r.label),r.type==="draw"){const i=n;if(i.points.length!==r.points.length)i.points=r.points;else{let a=!1;for(let o=0;og.docState.client),r=ir(g=>g.docState.doc),i=ir(g=>g.settingState.menu),[a,o]=C.useState(),[s,l]=C.useState(!0),u=i1(()=>{a&&t(hB({isOver:!1}))},500),c=C.useCallback(u,[a,t,u]),f=C.useCallback(g=>{g.loadRoom(e),g.setIsLoading(!0),g.pause(),o(g);const b=Gje({dictionaries:[Vje]});g.updateUsers([{id:`${n.getID()}`,point:[-100,-100],color:i?.userColor||c_(),status:Loe.Connected,activeShapes:[],selectedIds:[],metadata:{name:i?.userName||b}}])},[e,n,i]),d=C.useCallback(()=>{if(!r)return;const g=r.getPresences().map(b=>b.presence.whiteboardUser).filter(Boolean);a?.updateUsers(g)},[a,r]),h=rke((g,b,m)=>{!g||n===void 0||r===void 0||r.update(v=>{const w=v;Object.entries(b).forEach(([k,E])=>{if(!E)delete w.whiteboard.shapes[k];else{const S=w.whiteboard.shapes[k];S?HHn(S,E):w.whiteboard.shapes[k]=E}}),Object.entries(m).forEach(([k,E])=>{E?w.whiteboard.bindings[k]=E:delete w.whiteboard.bindings[k]}),Object.entries(g.assets).forEach(([,k])=>{k.type==="image"&&k.src.startsWith("data:image/"),k.id?w.whiteboard.assets[k.id]=k:delete w.whiteboard.assets[k.id]})})},10,!1),p=rke((g,b)=>{!g||n===void 0||r===void 0||(r.update((m,v)=>{v.set({whiteboardUser:{id:`${n.getID()}`,point:[-100,-100],color:i?.userColor||c_(),status:Loe.Connected,activeShapes:[],selectedIds:[],metadata:{name:i?.userName},...b}})}),t(hB({isOver:!0})),c())},10,!1);return C.useEffect(()=>{if(!a)return;let g=!0,b;function m(){const w=r.getRoot(),k=JSON.parse(w.whiteboard.shapes.toJSON()),E=JSON.parse(w.whiteboard.bindings.toJSON()),S=JSON.parse(w.whiteboard.assets.toJSON());a?.replacePageContent(k,E,S)}async function v(){try{if(!r)return;b=r.subscribe("others",w=>{w.type,GL.DocEventType.Unwatched,d()}),r.update(w=>{const k=w;k.whiteboard||(k.whiteboard={shapes:{},bindings:{},assets:{}}),k.whiteboard?.shapes||(k.whiteboard.shapes={}),k.whiteboard.bindings||(k.whiteboard.bindings={}),k.whiteboard.assets||(k.whiteboard.assets={})},"create shapes/bindings/assets object if not exists"),r.subscribe(w=>{w.type==="remote-change"&&m()}),await n.sync(),g&&(m(),a&&(a.resetZoom(),a.setIsLoading(!1)),l(!1))}catch(w){console.error(w)}}return v(),d(),()=>{g=!1,b?.()}},[a,n,r,e,d]),{onMount:f,onChangePage:h,loading:s,onChangePresence:p}}const WHn=da()(()=>({root:{width:"calc(100%)",height:"calc(100vh - 75px)",overflow:"hidden",position:"absolute",borderRadius:4,borderTopLeftRadius:0,borderTopRightRadius:0,"& .tl-container":{backgroundColor:"transparent"}}}));function GHn(){const e=UGe(),{...t}=qHn(`tldraw-${new Date().toISOString().substring(0,10).replace(/-/g,"")}`),n={Cursor:PHn},{classes:r}=WHn(),i=ir(a=>a.settingState.menu);return me("div",{className:r.root,children:me(SVe,{id:"whiteboard-editor",components:n,autofocus:!0,disableAssets:!0,showPages:!1,showMultiplayerMenu:!1,...e,...t,darkMode:i.theme===Kr.Dark})})}var pB=(e=>(e[e.None=0]="None",e[e.Line=1]="Line",e[e.Eraser=2]="Eraser",e[e.Rect=3]="Rect",e[e.Selector=4]="Selector",e[e.Clear=5]="Clear",e[e.Settings=6]="Settings",e))(pB||{});const VHn={isOpen:!1,color:"#f3b328",toolType:0},TVe=y1({name:"board",initialState:VHn,reducers:{toggleBoard(e){e.isOpen=!e.isOpen},setTool(e,t){e.toolType=t.payload},setColor(e,t){e.color=t.payload}}}),{toggleBoard:rpa,setTool:ike,setColor:ipa}=TVe.actions,KHn=TVe.reducer;var DVe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(as,function(){var n=navigator.userAgent,r=navigator.platform,i=/gecko\/\d/i.test(n),a=/MSIE \d/.test(n),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),s=/Edge\/(\d+)/.exec(n),l=a||o||s,u=l&&(a?document.documentMode||6:+(s||o)[1]),c=!s&&/WebKit\//.test(n),f=c&&/Qt\/\d+\.\d+/.test(n),d=!s&&/Chrome\/(\d+)/.exec(n),h=d&&+d[1],p=/Opera\//.test(n),g=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),m=/PhantomJS/.test(n),v=g&&(/Mobile\/\w+/.test(n)||navigator.maxTouchPoints>2),w=/Android/.test(n),k=v||w||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),E=v||/Mac/.test(r),S=/\bCrOS\b/.test(n),T=/win/i.test(r),L=p&&n.match(/Version\/(\d*\.\d*)/);L&&(L=Number(L[1])),L&&L>=15&&(p=!1,c=!0);var M=E&&(f||p&&(L==null||L<12.11)),D=i||l&&u>=9;function I(_){return new RegExp("(^|\\s)"+_+"(?:$|\\s)\\s*")}var B=function(_,A){var U=_.className,z=I(A).exec(U);if(z){var W=U.slice(z.index+z[0].length);_.className=U.slice(0,z.index)+(W?z[1]+W:"")}};function N(_){for(var A=_.childNodes.length;A>0;--A)_.removeChild(_.firstChild);return _}function O(_,A){return N(_).appendChild(A)}function R(_,A,U,z){var W=document.createElement(_);if(U&&(W.className=U),z&&(W.style.cssText=z),typeof A=="string")W.appendChild(document.createTextNode(A));else if(A)for(var se=0;se=A)return Se+(A-se);Se+=Le-se,Se+=U-Se%U,se=Le+1}}var le=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};le.prototype.onTimeout=function(_){_.id=0,_.time<=+new Date?_.f():setTimeout(_.handler,_.time-+new Date)},le.prototype.set=function(_,A){this.f=A;var U=+new Date+_;(!this.id||U=A)return z+Math.min(Se,A-W);if(W+=se-z,W+=U-W%U,z=se+1,W>=A)return z}}var ge=[""];function ve(_){for(;ge.length<=_;)ge.push(ie(ge)+" ");return ge[_]}function ie(_){return _[_.length-1]}function he(_,A){for(var U=[],z=0;z<_.length;z++)U[z]=A(_[z],z);return U}function $e(_,A,U){for(var z=0,W=U(A);z<_.length&&U(_[z])<=W;)z++;_.splice(z,0,A)}function De(){}function Ie(_,A){var U;return Object.create?U=Object.create(_):(De.prototype=_,U=new De),A&&Q(A,U),U}var Be=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function we(_){return/\w/.test(_)||_>"€"&&(_.toUpperCase()!=_.toLowerCase()||Be.test(_))}function je(_,A){return A?A.source.indexOf("\\w")>-1&&we(_)?!0:A.test(_):we(_)}function Oe(_){for(var A in _)if(_.hasOwnProperty(A)&&_[A])return!1;return!0}var Re=/[\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 ye(_){return _.charCodeAt(0)>=768&&Re.test(_)}function fe(_,A,U){for(;(U<0?A>0:A<_.length)&&ye(_.charAt(A));)A+=U;return A}function de(_,A,U){for(var z=A>U?-1:1;;){if(A==U)return A;var W=(A+U)/2,se=z<0?Math.ceil(W):Math.floor(W);if(se==A)return _(se)?A:U;_(se)?U=se:A=se+z}}function xe(_,A,U,z){if(!_)return z(A,U,"ltr",0);for(var W=!1,se=0;se<_.length;++se){var Se=_[se];(Se.fromA||A==U&&Se.to==A)&&(z(Math.max(Se.from,A),Math.min(Se.to,U),Se.level==1?"rtl":"ltr",se),W=!0)}W||z(A,U,"ltr")}var Ye=null;function Ze(_,A,U){var z;Ye=null;for(var W=0;W<_.length;++W){var se=_[W];if(se.fromA)return W;se.to==A&&(se.from!=se.to&&U=="before"?z=W:Ye=W),se.from==A&&(se.from!=se.to&&U!="before"?z=W:Ye=W)}return z??Ye}var st=function(){var _="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",A="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function U(Ge){return Ge<=247?_.charAt(Ge):1424<=Ge&&Ge<=1524?"R":1536<=Ge&&Ge<=1785?A.charAt(Ge-1536):1774<=Ge&&Ge<=2220?"r":8192<=Ge&&Ge<=8203?"w":Ge==8204?"b":"L"}var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,W=/[stwN]/,se=/[LRr]/,Se=/[Lb1n]/,Le=/[1n]/;function Pe(Ge,lt,vt){this.level=Ge,this.from=lt,this.to=vt}return function(Ge,lt){var vt=lt=="ltr"?"L":"R";if(Ge.length==0||lt=="ltr"&&!z.test(Ge))return!1;for(var Nt=Ge.length,Mt=[],tn=0;tn-1&&(z[A]=W.slice(0,se).concat(W.slice(se+1)))}}}function xt(_,A){var U=Ot(_,A);if(U.length)for(var z=Array.prototype.slice.call(arguments,2),W=0;W0}function yt(_){_.prototype.on=function(A,U){et(this,A,U)},_.prototype.off=function(A,U){jt(this,A,U)}}function Lt(_){_.preventDefault?_.preventDefault():_.returnValue=!1}function on(_){_.stopPropagation?_.stopPropagation():_.cancelBubble=!0}function Ht(_){return _.defaultPrevented!=null?_.defaultPrevented:_.returnValue==!1}function vn(_){Lt(_),on(_)}function $t(_){return _.target||_.srcElement}function Tt(_){var A=_.which;return A==null&&(_.button&1?A=1:_.button&2?A=3:_.button&4&&(A=2)),E&&_.ctrlKey&&A==1&&(A=3),A}var Wt=function(){if(l&&u<9)return!1;var _=R("div");return"draggable"in _||"dragDrop"in _}(),Ut;function en(_){if(Ut==null){var A=R("span","​");O(_,R("span",[A,document.createTextNode("x")])),_.firstChild.offsetHeight!=0&&(Ut=A.offsetWidth<=1&&A.offsetHeight>2&&!(l&&u<8))}var U=Ut?R("span","​"):R("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return U.setAttribute("cm-text",""),U}var Gt;function gn(_){if(Gt!=null)return Gt;var A=O(_,document.createTextNode("AخA")),U=H(A,0,1).getBoundingClientRect(),z=H(A,1,2).getBoundingClientRect();return N(_),!U||U.left==U.right?!1:Gt=z.right-U.right<3}var In=` b`.split(/\n/).length!=3?function(_){for(var A=0,U=[],z=_.length;A<=z;){var W=_.indexOf(` `,A);W==-1&&(W=_.length);var se=_.slice(A,_.charAt(W-1)=="\r"?W-1:W),Se=se.indexOf("\r");Se!=-1?(U.push(se.slice(0,Se)),A+=Se+1):(U.push(se),A=W+1)}return U}:function(_){return _.split(/\r\n?|\n/)},Wn=window.getSelection?function(_){try{return _.selectionStart!=_.selectionEnd}catch{return!1}}:function(_){var A;try{A=_.ownerDocument.selection.createRange()}catch{}return!A||A.parentElement()!=_?!1:A.compareEndPoints("StartToEnd",A)!=0},yn=function(){var _=R("div");return"oncopy"in _?!0:(_.setAttribute("oncopy","return;"),typeof _.oncopy=="function")}(),Gn=null;function na(_){if(Gn!=null)return Gn;var A=O(_,R("span","x")),U=A.getBoundingClientRect(),z=H(A,0,1).getBoundingClientRect();return Gn=Math.abs(U.left-z.left)>1}var yi={},gi={};function Dr(_,A){arguments.length>2&&(A.dependencies=Array.prototype.slice.call(arguments,2)),yi[_]=A}function mi(_,A){gi[_]=A}function $n(_){if(typeof _=="string"&&gi.hasOwnProperty(_))_=gi[_];else if(_&&typeof _.name=="string"&&gi.hasOwnProperty(_.name)){var A=gi[_.name];typeof A=="string"&&(A={name:A}),_=Ie(A,_),_.name=A.name}else{if(typeof _=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(_))return $n("application/xml");if(typeof _=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(_))return $n("application/json")}return typeof _=="string"?{name:_}:_||{name:"null"}}function Dt(_,A){A=$n(A);var U=yi[A.name];if(!U)return Dt(_,"text/plain");var z=U(_,A);if(qt.hasOwnProperty(A.name)){var W=qt[A.name];for(var se in W)W.hasOwnProperty(se)&&(z.hasOwnProperty(se)&&(z["_"+se]=z[se]),z[se]=W[se])}if(z.name=A.name,A.helperType&&(z.helperType=A.helperType),A.modeProps)for(var Se in A.modeProps)z[Se]=A.modeProps[Se];return z}var qt={};function cn(_,A){var U=qt.hasOwnProperty(_)?qt[_]:qt[_]={};Q(A,U)}function fr(_,A){if(A===!0)return A;if(_.copyState)return _.copyState(A);var U={};for(var z in A){var W=A[z];W instanceof Array&&(W=W.concat([])),U[z]=W}return U}function Mr(_,A){for(var U;_.innerMode&&(U=_.innerMode(A),!(!U||U.mode==_));)A=U.state,_=U.mode;return U||{mode:_,state:A}}function si(_,A,U){return _.startState?_.startState(A,U):!0}var Bn=function(_,A,U){this.pos=this.start=0,this.string=_,this.tabSize=A||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=U};Bn.prototype.eol=function(){return this.pos>=this.string.length},Bn.prototype.sol=function(){return this.pos==this.lineStart},Bn.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Bn.prototype.next=function(){if(this.posA},Bn.prototype.eatSpace=function(){for(var _=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>_},Bn.prototype.skipToEnd=function(){this.pos=this.string.length},Bn.prototype.skipTo=function(_){var A=this.string.indexOf(_,this.pos);if(A>-1)return this.pos=A,!0},Bn.prototype.backUp=function(_){this.pos-=_},Bn.prototype.column=function(){return this.lastColumnPos0?null:(se&&A!==!1&&(this.pos+=se[0].length),se)}},Bn.prototype.current=function(){return this.string.slice(this.start,this.pos)},Bn.prototype.hideFirstChars=function(_,A){this.lineStart+=_;try{return A()}finally{this.lineStart-=_}},Bn.prototype.lookAhead=function(_){var A=this.lineOracle;return A&&A.lookAhead(_)},Bn.prototype.baseToken=function(){var _=this.lineOracle;return _&&_.baseToken(this.pos)};function An(_,A){if(A-=_.first,A<0||A>=_.size)throw new Error("There is no line "+(A+_.first)+" in the document.");for(var U=_;!U.lines;)for(var z=0;;++z){var W=U.children[z],se=W.chunkSize();if(A=_.first&&A<_.first+_.size}function gt(_,A){return String(_.lineNumberFormatter(A+_.firstLineNumber))}function Ct(_,A,U){if(U===void 0&&(U=null),!(this instanceof Ct))return new Ct(_,A,U);this.line=_,this.ch=A,this.sticky=U}function Yt(_,A){return _.line-A.line||_.ch-A.ch}function or(_,A){return _.sticky==A.sticky&&Yt(_,A)==0}function kn(_){return Ct(_.line,_.ch)}function Rn(_,A){return Yt(_,A)<0?A:_}function Ke(_,A){return Yt(_,A)<0?_:A}function wn(_,A){return Math.max(_.first,Math.min(A,_.first+_.size-1))}function Zn(_,A){if(A.line<_.first)return Ct(_.first,0);var U=_.first+_.size-1;return A.line>U?Ct(U,An(_,U).text.length):wt(A,An(_,A.line).text.length)}function wt(_,A){var U=_.ch;return U==null||U>A?Ct(_.line,A):U<0?Ct(_.line,0):_}function Jr(_,A){for(var U=[],z=0;zthis.maxLookAhead&&(this.maxLookAhead=_),A},li.prototype.baseToken=function(_){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=_;)this.baseTokenPos+=2;var A=this.baseTokens[this.baseTokenPos+1];return{type:A&&A.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-_}},li.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},li.fromSaved=function(_,A,U){return A instanceof Rt?new li(_,fr(_.mode,A.state),U,A.lookAhead):new li(_,fr(_.mode,A),U)},li.prototype.save=function(_){var A=_!==!1?fr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Rt(A,this.maxLookAhead):A};function go(_,A,U,z){var W=[_.state.modeGen],se={};tu(_,A.text,_.doc.mode,U,function(Ge,lt){return W.push(Ge,lt)},se,z);for(var Se=U.state,Le=function(Ge){U.baseTokens=W;var lt=_.state.overlays[Ge],vt=1,Nt=0;U.state=!0,tu(_,A.text,lt.mode,U,function(Mt,tn){for(var hn=vt;NtMt&&W.splice(vt,1,Mt,W[vt+1],Tn),vt+=2,Nt=Math.min(Mt,Tn)}if(tn)if(lt.opaque)W.splice(hn,vt-hn,Mt,"overlay "+tn),vt=hn+2;else for(;hn_.options.maxHighlightLength&&fr(_.doc.mode,z.state),se=go(_,A,z);W&&(z.state=W),A.stateAfter=z.save(!W),A.styles=se.styles,se.classes?A.styleClasses=se.classes:A.styleClasses&&(A.styleClasses=null),U===_.doc.highlightFrontier&&(_.doc.modeFrontier=Math.max(_.doc.modeFrontier,++_.doc.highlightFrontier))}return A.styles}function Ja(_,A,U){var z=_.doc,W=_.display;if(!z.mode.startState)return new li(z,!0,A);var se=Za(_,A,U),Se=se>z.first&&An(z,se-1).stateAfter,Le=Se?li.fromSaved(z,Se,se):new li(z,si(z.mode),se);return z.iter(se,A,function(Pe){Ia(_,Pe.text,Le);var Ge=Le.line;Pe.stateAfter=Ge==A-1||Ge%5==0||Ge>=W.viewFrom&&GeA.start)return se}throw new Error("Mode "+_.name+" failed to advance stream.")}var Fi=function(_,A,U){this.start=_.start,this.end=_.pos,this.string=_.current(),this.type=A||null,this.state=U};function Ra(_,A,U,z){var W=_.doc,se=W.mode,Se;A=Zn(W,A);var Le=An(W,A.line),Pe=Ja(_,A.line,U),Ge=new Bn(Le.text,_.options.tabSize,Pe),lt;for(z&&(lt=[]);(z||Ge.pos_.options.maxHighlightLength?(Le=!1,Se&&Ia(_,A,z,lt.pos),lt.pos=A.length,vt=null):vt=vu(Sa(U,lt,z.state,Nt),se),Nt){var Mt=Nt[0].name;Mt&&(vt="m-"+(vt?Mt+" "+vt:Mt))}if(!Le||Ge!=vt){for(;PeSe;--Le){if(Le<=se.first)return se.first;var Pe=An(se,Le-1),Ge=Pe.stateAfter;if(Ge&&(!U||Le+(Ge instanceof Rt?Ge.lookAhead:0)<=se.modeFrontier))return Le;var lt=ae(Pe.text,null,_.options.tabSize);(W==null||z>lt)&&(W=Le-1,z=lt)}return W}function fs(_,A){if(_.modeFrontier=Math.min(_.modeFrontier,A),!(_.highlightFrontierU;z--){var W=An(_,z).stateAfter;if(W&&(!(W instanceof Rt)||z+W.lookAhead=A:se.to>A);(z||(z=[])).push(new Qa(Se,se.from,Pe?null:se.to))}}return z}function sr(_,A,U){var z;if(_)for(var W=0;W<_.length;++W){var se=_[W],Se=se.marker,Le=se.to==null||(Se.inclusiveRight?se.to>=A:se.to>A);if(Le||se.from==A&&Se.type=="bookmark"&&(!U||se.marker.insertLeft)){var Pe=se.from==null||(Se.inclusiveLeft?se.from<=A:se.from0&&Le)for(var rr=0;rr0)){var lt=[Pe,1],vt=Yt(Ge.from,Le.from),Nt=Yt(Ge.to,Le.to);(vt<0||!Se.inclusiveLeft&&!vt)&<.push({from:Ge.from,to:Le.from}),(Nt>0||!Se.inclusiveRight&&!Nt)&<.push({from:Le.to,to:Ge.to}),W.splice.apply(W,lt),Pe+=lt.length-3}}return W}function Aa(_){var A=_.markedSpans;if(A){for(var U=0;UA)&&(!z||Nl(z,se.marker)<0)&&(z=se.marker)}return z}function Ee(_,A,U,z,W){var se=An(_,A),Se=Ma&&se.markedSpans;if(Se)for(var Le=0;Le=0&&vt<=0||lt<=0&&vt>=0)&&(lt<=0&&(Pe.marker.inclusiveRight&&W.inclusiveLeft?Yt(Ge.to,U)>=0:Yt(Ge.to,U)>0)||lt>=0&&(Pe.marker.inclusiveRight&&W.inclusiveLeft?Yt(Ge.from,z)<=0:Yt(Ge.from,z)<0)))return!0}}}function Me(_){for(var A;A=jh(_);)_=A.find(-1,!0).line;return _}function Ue(_){for(var A;A=Y(_);)_=A.find(1,!0).line;return _}function qe(_){for(var A,U;A=Y(_);)_=A.find(1,!0).line,(U||(U=[])).push(_);return U}function tt(_,A){var U=An(_,A),z=Me(U);return U==z?A:Pr(z)}function dt(_,A){if(A>_.lastLine())return A;var U=An(_,A),z;if(!ot(_,U))return A;for(;z=Y(U);)U=z.find(1,!0).line;return Pr(U)+1}function ot(_,A){var U=Ma&&A.markedSpans;if(U){for(var z=void 0,W=0;WA.maxLineLength&&(A.maxLineLength=W,A.maxLine=z)})}var Qt=function(_,A,U){this.text=_,nu(this,A),this.height=U?U(this):1};Qt.prototype.lineNo=function(){return Pr(this)},yt(Qt);function Jt(_,A,U,z){_.text=A,_.stateAfter&&(_.stateAfter=null),_.styles&&(_.styles=null),_.order!=null&&(_.order=null),Aa(_),nu(_,U);var W=z?z(_):1;W!=_.height&&Ei(_,W)}function qn(_){_.parent=null,Aa(_)}var xn={},br={};function $r(_,A){if(!_||/^\s*$/.test(_))return null;var U=A.addModeClass?br:xn;return U[_]||(U[_]=_.replace(/\S+/g,"cm-$&"))}function Tr(_,A){var U=P("span",null,null,c?"padding-right: .1px":null),z={pre:P("pre",[U],"CodeMirror-line"),content:U,col:0,pos:0,cm:_,trailingSpace:!1,splitSpaces:_.getOption("lineWrapping")};A.measure={};for(var W=0;W<=(A.rest?A.rest.length:0);W++){var se=W?A.rest[W-1]:A.line,Se=void 0;z.pos=0,z.addToken=to,gn(_.display.measure)&&(Se=at(se,_.doc.direction))&&(z.addToken=Ho(z.addToken,Se)),z.map=[];var Le=A!=_.display.externalMeasured&&Pr(se);wi(se,z,Ua(_,se,Le)),se.styleClasses&&(se.styleClasses.bgClass&&(z.bgClass=X(se.styleClasses.bgClass,z.bgClass||"")),se.styleClasses.textClass&&(z.textClass=X(se.styleClasses.textClass,z.textClass||""))),z.map.length==0&&z.map.push(0,0,z.content.appendChild(en(_.display.measure))),W==0?(A.measure.map=z.map,A.measure.cache={}):((A.measure.maps||(A.measure.maps=[])).push(z.map),(A.measure.caches||(A.measure.caches=[])).push({}))}if(c){var Pe=z.content.lastChild;(/\bcm-tab\b/.test(Pe.className)||Pe.querySelector&&Pe.querySelector(".cm-tab"))&&(z.content.className="cm-tab-wrap-hack")}return xt(_,"renderLine",_,A.line,z.pre),z.pre.className&&(z.textClass=X(z.pre.className,z.textClass||"")),z}function hi(_){var A=R("span","•","cm-invalidchar");return A.title="\\u"+_.charCodeAt(0).toString(16),A.setAttribute("aria-label",A.title),A}function to(_,A,U,z,W,se,Se){if(A){var Le=_.splitSpaces?nr(A,_.trailingSpace):A,Pe=_.cm.state.specialChars,Ge=!1,lt;if(!Pe.test(A))_.col+=A.length,lt=document.createTextNode(Le),_.map.push(_.pos,_.pos+A.length,lt),l&&u<9&&(Ge=!0),_.pos+=A.length;else{lt=document.createDocumentFragment();for(var vt=0;;){Pe.lastIndex=vt;var Nt=Pe.exec(A),Mt=Nt?Nt.index-vt:A.length-vt;if(Mt){var tn=document.createTextNode(Le.slice(vt,vt+Mt));l&&u<9?lt.appendChild(R("span",[tn])):lt.appendChild(tn),_.map.push(_.pos,_.pos+Mt,tn),_.col+=Mt,_.pos+=Mt}if(!Nt)break;vt+=Mt+1;var hn=void 0;if(Nt[0]==" "){var Tn=_.cm.options.tabSize,Fn=Tn-_.col%Tn;hn=lt.appendChild(R("span",ve(Fn),"cm-tab")),hn.setAttribute("role","presentation"),hn.setAttribute("cm-text"," "),_.col+=Fn}else Nt[0]=="\r"||Nt[0]==` @@ -689,15 +689,15 @@ b`.split(/\n/).length!=3?function(_){for(var A=0,U=[],z=_.length;A<=z;){var W=_. outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var vt;c&&(vt=W.ownerDocument.defaultView.scrollY),z.input.focus(),c&&W.ownerDocument.defaultView.scrollTo(null,vt),z.input.reset(),U.somethingSelected()||(W.value=A.prevInput=" "),A.contextMenuPending=Mt,z.selForContextMenu=U.doc.sel,clearTimeout(z.detectingSelectAll);function Nt(){if(W.selectionStart!=null){var hn=U.somethingSelected(),Tn="​"+(hn?W.value:"");W.value="⇚",W.value=Tn,A.prevInput=hn?"":"​",W.selectionStart=1,W.selectionEnd=Tn.length,z.selForContextMenu=U.doc.sel}}function Mt(){if(A.contextMenuPending==Mt&&(A.contextMenuPending=!1,A.wrapper.style.cssText=Ge,W.style.cssText=Pe,l&&u<9&&z.scrollbars.setScrollTop(z.scroller.scrollTop=Se),W.selectionStart!=null)){(!l||l&&u<9)&&Nt();var hn=0,Tn=function(){z.selForContextMenu==U.doc.sel&&W.selectionStart==0&&W.selectionEnd>0&&A.prevInput=="​"?qo(U,Mm)(U):hn++<10?z.detectingSelectAll=setTimeout(Tn,500):(z.selForContextMenu=null,z.input.reset())};z.detectingSelectAll=setTimeout(Tn,200)}}if(l&&u>=9&&Nt(),D){vn(_);var tn=function(){jt(window,"mouseup",tn),setTimeout(Mt,20)};et(window,"mouseup",tn)}else setTimeout(Mt,50)},Go.prototype.readOnlyChanged=function(_){_||this.reset(),this.textarea.disabled=_=="nocursor",this.textarea.readOnly=!!_},Go.prototype.setUneditable=function(){},Go.prototype.needsContentAttribute=!1;function EH(_,A){if(A=A?Q(A):{},A.value=_.value,!A.tabindex&&_.tabIndex&&(A.tabindex=_.tabIndex),!A.placeholder&&_.placeholder&&(A.placeholder=_.placeholder),A.autofocus==null){var U=q(_.ownerDocument);A.autofocus=U==_||_.getAttribute("autofocus")!=null&&U==document.body}function z(){_.value=Le.getValue()}var W;if(_.form&&(et(_.form,"submit",z),!A.leaveSubmitMethodAlone)){var se=_.form;W=se.submit;try{var Se=se.submit=function(){z(),se.submit=W,se.submit(),se.submit=Se}}catch{}}A.finishInit=function(Pe){Pe.save=z,Pe.getTextArea=function(){return _},Pe.toTextArea=function(){Pe.toTextArea=isNaN,z(),_.parentNode.removeChild(Pe.getWrapperElement()),_.style.display="",_.form&&(jt(_.form,"submit",z),!A.leaveSubmitMethodAlone&&typeof _.form.submit=="function"&&(_.form.submit=W))}},_.style.display="none";var Le=no(function(Pe){return _.parentNode.insertBefore(Pe,_.nextSibling)},A);return Le}function xH(_){_.off=jt,_.on=et,_.wheelEventPixels=By,_.Doc=Ul,_.splitLines=In,_.countColumn=ae,_.findColumn=be,_.isWordChar=we,_.Pass=ne,_.signal=xt,_.Line=Qt,_.changeEnd=Zs,_.scrollbarModel=Ry,_.Pos=Ct,_.cmpPos=Yt,_.modes=yi,_.mimeModes=gi,_.resolveMode=$n,_.getMode=Dt,_.modeExtensions=qt,_.extendMode=cn,_.copyState=fr,_.startState=si,_.innerMode=Mr,_.commands=Um,_.keyMap=Eu,_.keyName=rD,_.isModifierKey=V1,_.lookupKey=tl,_.normalizeKeyMap=Pd,_.StringStream=Bn,_.SharedTextMarker=Nm,_.TextMarker=ap,_.LineWidget=Pm,_.e_preventDefault=Lt,_.e_stopPropagation=on,_.e_stop=vn,_.addClass=V,_.contains=F,_.rmClass=B,_.keyNames=kl}wH(no),kH(no);var m5="iter insert remove copy getEditor constructor".split(" ");for(var Wm in Ul.prototype)Ul.prototype.hasOwnProperty(Wm)&&oe(m5,Wm)<0&&(no.prototype[Wm]=function(_){return function(){return _.apply(this.doc,arguments)}}(Ul.prototype[Wm]));return yt(Ul),no.inputStyles={textarea:Go,contenteditable:aa},no.defineMode=function(_){!no.defaults.mode&&_!="null"&&(no.defaults.mode=_),Dr.apply(this,arguments)},no.defineMIME=mi,no.defineMode("null",function(){return{token:function(_){return _.skipToEnd()}}}),no.defineMIME("text/plain","null"),no.defineExtension=function(_,A){no.prototype[_]=A},no.defineDocExtension=function(_,A){Ul.prototype[_]=A},no.fromTextArea=EH,xH(no),no.version="5.65.12",no})})(DVe);var jr=DVe.exports;const ts=ls(jr);(function(e,t){(function(n){n(jr)})(function(n){var r=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,i=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,a=/[*+-]\s/;n.commands.newlineAndIndentContinueMarkdownList=function(s){if(s.getOption("disableInput"))return n.Pass;for(var l=s.listSelections(),u=[],c=0;c\s*$/.test(b),k=!/>\s*$/.test(b);(w||k)&&s.replaceRange("",{line:f.line,ch:0},{line:f.line,ch:f.ch+1}),u[c]=` `}else{var E=m[1],S=m[5],T=!(a.test(m[2])||m[2].indexOf(">")>=0),L=T?parseInt(m[3],10)+1+m[4]:m[2].replace("x"," ");u[c]=` `+E+L+S,T&&o(s,f)}}s.replaceSelections(u)};function o(s,l){var u=l.line,c=0,f=0,d=r.exec(s.getLine(u)),h=d[1];do{c+=1;var p=u+c,g=s.getLine(p),b=r.exec(g);if(b){var m=b[1],v=parseInt(d[3],10)+c-f,w=parseInt(b[3],10),k=w;if(h===m&&!isNaN(w))v===w&&(k=w+1),v>w&&(k=v+1),s.replaceRange(g.replace(r,m+k+b[4]+b[5]),{line:p,ch:0},{line:p,ch:g.length});else{if(h.length>m.length||h.length`,triples:"",explode:"[]{}"},i=n.Pos;n.defineOption("autoCloseBrackets",!1,function(m,v,w){w&&w!=n.Init&&(m.removeKeyMap(o),m.state.closeBrackets=null),v&&(s(a(v,"pairs")),m.state.closeBrackets=v,m.addKeyMap(o))});function a(m,v){return v=="pairs"&&typeof m=="string"?m:typeof m=="object"&&m[v]!=null?m[v]:r[v]}var o={Backspace:c,Enter:f};function s(m){for(var v=0;v=0;E--){var T=k[E].head;m.replaceRange("",i(T.line,T.ch-1),i(T.line,T.ch+1),"+delete")}}function f(m){var v=u(m),w=v&&a(v,"explode");if(!w||m.getOption("disableInput"))return n.Pass;for(var k=m.listSelections(),E=0;E0?{line:T.head.line,ch:T.head.ch+v}:{line:T.head.line-1};w.push({anchor:L,head:L})}m.setSelections(w,E)}function h(m){var v=n.cmpPos(m.anchor,m.head)>0;return{anchor:new i(m.anchor.line,m.anchor.ch+(v?-1:1)),head:new i(m.head.line,m.head.ch+(v?1:-1))}}function p(m,v){var w=u(m);if(!w||m.getOption("disableInput"))return n.Pass;var k=a(w,"pairs"),E=k.indexOf(v);if(E==-1)return n.Pass;for(var S=a(w,"closeBefore"),T=a(w,"triples"),L=k.charAt(E+1)==v,M=m.listSelections(),D=E%2==0,I,B=0;B=0&&m.getRange(O,i(O.line,O.ch+3))==v+v+v?R="skipThree":R="skip";else if(L&&O.ch>1&&T.indexOf(v)>=0&&m.getRange(i(O.line,O.ch-2),O)==v+v){if(O.ch>2&&/\bstring/.test(m.getTokenTypeAt(i(O.line,O.ch-2))))return n.Pass;R="addFour"}else if(L){var H=O.ch==0?" ":m.getRange(i(O.line,O.ch-1),O);if(!n.isWordChar(P)&&H!=v&&!n.isWordChar(H))R="both";else return n.Pass}else if(D&&(P.length===0||/\s/.test(P)||S.indexOf(P)>-1))R="both";else return n.Pass;if(!I)I=R;else if(I!=R)return n.Pass}var F=E%2?k.charAt(E-1):v,q=E%2?v:k.charAt(E+1);m.operation(function(){if(I=="skip")d(m,1);else if(I=="skipThree")d(m,3);else if(I=="surround"){for(var V=m.getSelections(),X=0;X=v.max))return v.ch=0,v.text=v.cm.getLine(++v.line),!0}function f(v){if(!(v.line<=v.min))return v.text=v.cm.getLine(--v.line),v.ch=v.text.length,!0}function d(v){for(;;){var w=v.text.indexOf(">",v.ch);if(w==-1){if(c(v))continue;return}if(!u(v,w+1)){v.ch=w+1;continue}var k=v.text.lastIndexOf("/",w),E=k>-1&&!/\S/.test(v.text.slice(k+1,w));return v.ch=w+1,E?"selfClose":"regular"}}function h(v){for(;;){var w=v.ch?v.text.lastIndexOf("<",v.ch-1):-1;if(w==-1){if(f(v))continue;return}if(!u(v,w+1)){v.ch=w;continue}s.lastIndex=w,v.ch=w;var k=s.exec(v.text);if(k&&k.index==w)return k}}function p(v){for(;;){s.lastIndex=v.ch;var w=s.exec(v.text);if(!w){if(c(v))continue;return}if(!u(v,w.index+1)){v.ch=w.index+1;continue}return v.ch=w.index+w[0].length,w}}function g(v){for(;;){var w=v.ch?v.text.lastIndexOf(">",v.ch-1):-1;if(w==-1){if(f(v))continue;return}if(!u(v,w+1)){v.ch=w;continue}var k=v.text.lastIndexOf("/",w),E=k>-1&&!/\S/.test(v.text.slice(k+1,w));return v.ch=w+1,E?"selfClose":"regular"}}function b(v,w){for(var k=[];;){var E=p(v),S,T=v.line,L=v.ch-(E?E[0].length:0);if(!E||!(S=d(v)))return;if(S!="selfClose")if(E[1]){for(var M=k.length-1;M>=0;--M)if(k[M]==E[2]){k.length=M;break}if(M<0&&(!w||w==E[2]))return{tag:E[2],from:r(T,L),to:r(v.line,v.ch)}}else k.push(E[2])}}function m(v,w){for(var k=[];;){var E=g(v);if(!E)return;if(E=="selfClose"){h(v);continue}var S=v.line,T=v.ch,L=h(v);if(!L)return;if(L[1])k.push(L[2]);else{for(var M=k.length-1;M>=0;--M)if(k[M]==L[2]){k.length=M;break}if(M<0&&(!w||w==L[2]))return{tag:L[2],from:r(v.line,v.ch),to:r(S,T)}}}}n.registerHelper("fold","xml",function(v,w){for(var k=new l(v,w.line,0);;){var E=p(k);if(!E||k.line!=w.line)return;var S=d(k);if(!S)return;if(!E[1]&&S!="selfClose"){var T=r(k.line,k.ch),L=b(k,E[2]);return L&&i(L.from,T)>0?{from:T,to:L.from}:null}}}),n.findMatchingTag=function(v,w,k){var E=new l(v,w.line,w.ch,k);if(!(E.text.indexOf(">")==-1&&E.text.indexOf("<")==-1)){var S=d(E),T=S&&r(E.line,E.ch),L=S&&h(E);if(!(!S||!L||i(E,w)>0)){var M={from:r(E.line,E.ch),to:T,tag:L[2]};return S=="selfClose"?{open:M,close:null,at:"open"}:L[1]?{open:m(E,L[2]),close:M,at:"close"}:(E=new l(v,T.line,T.ch,k),{open:M,close:b(E,L[2]),at:"open"})}}},n.findEnclosingTag=function(v,w,k,E){for(var S=new l(v,w.line,w.ch,k);;){var T=m(S,E);if(!T)break;var L=new l(v,w.line,w.ch,k),M=b(L,T.tag);if(M)return{open:T,close:M}}},n.scanForClosingTag=function(v,w,k,E){var S=new l(v,w.line,w.ch,E?{from:0,to:E}:null);return b(S,k)}})}()),ake.exports}(function(e,t){(function(n){n(jr,KHn())})(function(n){n.defineOption("autoCloseTags",!1,function(c,f,d){if(d!=n.Init&&d&&c.removeKeyMap("autoCloseTags"),!!f){var h={name:"autoCloseTags"};(typeof f!="object"||f.whenClosing!==!1)&&(h["'/'"]=function(p){return s(p)}),(typeof f!="object"||f.whenOpening!==!1)&&(h["'>'"]=function(p){return a(p)}),c.addKeyMap(h)}});var r=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],i=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function a(c){if(c.getOption("disableInput"))return n.Pass;for(var f=c.listSelections(),d=[],h=c.getOption("autoCloseTags"),p=0;pg.ch&&(k=k.slice(0,k.length-b.end+g.ch));var L=k.toLowerCase();if(!k||b.type=="string"&&(b.end!=g.ch||!/[\"\']/.test(b.string.charAt(b.string.length-1))||b.string.length==1)||b.type=="tag"&&w.close||b.string.indexOf("/")==g.ch-b.start-1||S&&l(S,L)>-1||u(c,m.mode.xmlCurrentContext&&m.mode.xmlCurrentContext(v)||[],k,g,!0))return n.Pass;var M=typeof h=="object"&&h.emptyTags;if(M&&l(M,k)>-1){d[p]={text:"/>",newPos:n.Pos(g.line,g.ch+2)};continue}var D=T&&l(T,L)>-1;d[p]={indent:D,text:">"+(D?` +`;m.replaceSelection(T+T,null),d(m,-1),k=m.listSelections();for(var L=0;L0?{line:T.head.line,ch:T.head.ch+v}:{line:T.head.line-1};w.push({anchor:L,head:L})}m.setSelections(w,E)}function h(m){var v=n.cmpPos(m.anchor,m.head)>0;return{anchor:new i(m.anchor.line,m.anchor.ch+(v?-1:1)),head:new i(m.head.line,m.head.ch+(v?1:-1))}}function p(m,v){var w=u(m);if(!w||m.getOption("disableInput"))return n.Pass;var k=a(w,"pairs"),E=k.indexOf(v);if(E==-1)return n.Pass;for(var S=a(w,"closeBefore"),T=a(w,"triples"),L=k.charAt(E+1)==v,M=m.listSelections(),D=E%2==0,I,B=0;B=0&&m.getRange(O,i(O.line,O.ch+3))==v+v+v?R="skipThree":R="skip";else if(L&&O.ch>1&&T.indexOf(v)>=0&&m.getRange(i(O.line,O.ch-2),O)==v+v){if(O.ch>2&&/\bstring/.test(m.getTokenTypeAt(i(O.line,O.ch-2))))return n.Pass;R="addFour"}else if(L){var H=O.ch==0?" ":m.getRange(i(O.line,O.ch-1),O);if(!n.isWordChar(P)&&H!=v&&!n.isWordChar(H))R="both";else return n.Pass}else if(D&&(P.length===0||/\s/.test(P)||S.indexOf(P)>-1))R="both";else return n.Pass;if(!I)I=R;else if(I!=R)return n.Pass}var F=E%2?k.charAt(E-1):v,q=E%2?v:k.charAt(E+1);m.operation(function(){if(I=="skip")d(m,1);else if(I=="skipThree")d(m,3);else if(I=="surround"){for(var V=m.getSelections(),X=0;X=v.max))return v.ch=0,v.text=v.cm.getLine(++v.line),!0}function f(v){if(!(v.line<=v.min))return v.text=v.cm.getLine(--v.line),v.ch=v.text.length,!0}function d(v){for(;;){var w=v.text.indexOf(">",v.ch);if(w==-1){if(c(v))continue;return}if(!u(v,w+1)){v.ch=w+1;continue}var k=v.text.lastIndexOf("/",w),E=k>-1&&!/\S/.test(v.text.slice(k+1,w));return v.ch=w+1,E?"selfClose":"regular"}}function h(v){for(;;){var w=v.ch?v.text.lastIndexOf("<",v.ch-1):-1;if(w==-1){if(f(v))continue;return}if(!u(v,w+1)){v.ch=w;continue}s.lastIndex=w,v.ch=w;var k=s.exec(v.text);if(k&&k.index==w)return k}}function p(v){for(;;){s.lastIndex=v.ch;var w=s.exec(v.text);if(!w){if(c(v))continue;return}if(!u(v,w.index+1)){v.ch=w.index+1;continue}return v.ch=w.index+w[0].length,w}}function g(v){for(;;){var w=v.ch?v.text.lastIndexOf(">",v.ch-1):-1;if(w==-1){if(f(v))continue;return}if(!u(v,w+1)){v.ch=w;continue}var k=v.text.lastIndexOf("/",w),E=k>-1&&!/\S/.test(v.text.slice(k+1,w));return v.ch=w+1,E?"selfClose":"regular"}}function b(v,w){for(var k=[];;){var E=p(v),S,T=v.line,L=v.ch-(E?E[0].length:0);if(!E||!(S=d(v)))return;if(S!="selfClose")if(E[1]){for(var M=k.length-1;M>=0;--M)if(k[M]==E[2]){k.length=M;break}if(M<0&&(!w||w==E[2]))return{tag:E[2],from:r(T,L),to:r(v.line,v.ch)}}else k.push(E[2])}}function m(v,w){for(var k=[];;){var E=g(v);if(!E)return;if(E=="selfClose"){h(v);continue}var S=v.line,T=v.ch,L=h(v);if(!L)return;if(L[1])k.push(L[2]);else{for(var M=k.length-1;M>=0;--M)if(k[M]==L[2]){k.length=M;break}if(M<0&&(!w||w==L[2]))return{tag:L[2],from:r(v.line,v.ch),to:r(S,T)}}}}n.registerHelper("fold","xml",function(v,w){for(var k=new l(v,w.line,0);;){var E=p(k);if(!E||k.line!=w.line)return;var S=d(k);if(!S)return;if(!E[1]&&S!="selfClose"){var T=r(k.line,k.ch),L=b(k,E[2]);return L&&i(L.from,T)>0?{from:T,to:L.from}:null}}}),n.findMatchingTag=function(v,w,k){var E=new l(v,w.line,w.ch,k);if(!(E.text.indexOf(">")==-1&&E.text.indexOf("<")==-1)){var S=d(E),T=S&&r(E.line,E.ch),L=S&&h(E);if(!(!S||!L||i(E,w)>0)){var M={from:r(E.line,E.ch),to:T,tag:L[2]};return S=="selfClose"?{open:M,close:null,at:"open"}:L[1]?{open:m(E,L[2]),close:M,at:"close"}:(E=new l(v,T.line,T.ch,k),{open:M,close:b(E,L[2]),at:"open"})}}},n.findEnclosingTag=function(v,w,k,E){for(var S=new l(v,w.line,w.ch,k);;){var T=m(S,E);if(!T)break;var L=new l(v,w.line,w.ch,k),M=b(L,T.tag);if(M)return{open:T,close:M}}},n.scanForClosingTag=function(v,w,k,E){var S=new l(v,w.line,w.ch,E?{from:0,to:E}:null);return b(S,k)}})}()),ake.exports}(function(e,t){(function(n){n(jr,YHn())})(function(n){n.defineOption("autoCloseTags",!1,function(c,f,d){if(d!=n.Init&&d&&c.removeKeyMap("autoCloseTags"),!!f){var h={name:"autoCloseTags"};(typeof f!="object"||f.whenClosing!==!1)&&(h["'/'"]=function(p){return s(p)}),(typeof f!="object"||f.whenOpening!==!1)&&(h["'>'"]=function(p){return a(p)}),c.addKeyMap(h)}});var r=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],i=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function a(c){if(c.getOption("disableInput"))return n.Pass;for(var f=c.listSelections(),d=[],h=c.getOption("autoCloseTags"),p=0;pg.ch&&(k=k.slice(0,k.length-b.end+g.ch));var L=k.toLowerCase();if(!k||b.type=="string"&&(b.end!=g.ch||!/[\"\']/.test(b.string.charAt(b.string.length-1))||b.string.length==1)||b.type=="tag"&&w.close||b.string.indexOf("/")==g.ch-b.start-1||S&&l(S,L)>-1||u(c,m.mode.xmlCurrentContext&&m.mode.xmlCurrentContext(v)||[],k,g,!0))return n.Pass;var M=typeof h=="object"&&h.emptyTags;if(M&&l(M,k)>-1){d[p]={text:"/>",newPos:n.Pos(g.line,g.ch+2)};continue}var D=T&&l(T,L)>-1;d[p]={indent:D,text:">"+(D?` -`:"")+"",newPos:D?n.Pos(g.line+1,0):n.Pos(g.line,g.ch+1)}}for(var I=typeof h=="object"&&h.dontIndentOnAutoClose,p=f.length-1;p>=0;p--){var B=d[p];c.replaceRange(B.text,f[p].head,f[p].anchor,"+insert");var N=c.listSelections().slice(0);N[p]={head:B.newPos,anchor:B.newPos},c.setSelections(N),!I&&B.indent&&(c.indentLine(B.newPos.line,null,!0),c.indentLine(B.newPos.line+1,null,!0))}}function o(c,f){for(var d=c.listSelections(),h=[],p=f?"/":""&&(S+=">"),h[m]=S}if(c.replaceSelections(h),d=c.listSelections(),!b)for(var m=0;m=0&&f[v]==d;v--)++m;h=b.to;for(var v=1;v")):null:R.match("--")?H(b("comment","-->")):R.match("DOCTYPE",!0,!0)?(R.eatWhile(/[\w\._\-]/),H(m(1))):null:R.eat("?")?(R.eatWhile(/[\w\._\-]/),P.tokenize=b("meta","?>"),"meta"):(f=R.eat("/")?"closeTag":"openTag",P.tokenize=p,"tag bracket");if(F=="&"){var q;return R.eat("#")?R.eat("x")?q=R.eatWhile(/[a-fA-F\d]/)&&R.eat(";"):q=R.eatWhile(/[\d]/)&&R.eat(";"):q=R.eatWhile(/[\w\.\-:]/)&&R.eat(";"),q?"atom":"error"}else return R.eatWhile(/[^&<]/),null}h.isInText=!0;function p(R,P){var H=R.next();if(H==">"||H=="/"&&R.eat(">"))return P.tokenize=h,f=H==">"?"endTag":"selfcloseTag","tag bracket";if(H=="=")return f="equals",null;if(H=="<"){P.tokenize=h,P.state=S,P.tagName=P.tagStart=null;var F=P.tokenize(R,P);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(H)?(P.tokenize=g(H),P.stringStartCol=R.column(),P.tokenize(R,P)):(R.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g(R){var P=function(H,F){for(;!H.eol();)if(H.next()==R){F.tokenize=p;break}return"string"};return P.isInAttribute=!0,P}function b(R,P){return function(H,F){for(;!H.eol();){if(H.match(P)){F.tokenize=h;break}H.next()}return R}}function m(R){return function(P,H){for(var F;(F=P.next())!=null;){if(F=="<")return H.tokenize=m(R+1),H.tokenize(P,H);if(F==">")if(R==1){H.tokenize=h;break}else return H.tokenize=m(R-1),H.tokenize(P,H)}return"meta"}}function v(R){return R&&R.toLowerCase()}function w(R,P,H){this.prev=R.context,this.tagName=P||"",this.indent=R.indented,this.startOfLine=H,(l.doNotIndent.hasOwnProperty(P)||R.context&&R.context.noIndent)&&(this.noIndent=!0)}function k(R){R.context&&(R.context=R.context.prev)}function E(R,P){for(var H;;){if(!R.context||(H=R.context.tagName,!l.contextGrabbers.hasOwnProperty(v(H))||!l.contextGrabbers[v(H)].hasOwnProperty(v(P))))return;k(R)}}function S(R,P,H){return R=="openTag"?(H.tagStart=P.column(),T):R=="closeTag"?L:S}function T(R,P,H){return R=="word"?(H.tagName=P.current(),d="tag",I):l.allowMissingTagName&&R=="endTag"?(d="tag bracket",I(R,P,H)):(d="error",T)}function L(R,P,H){if(R=="word"){var F=P.current();return H.context&&H.context.tagName!=F&&l.implicitlyClosed.hasOwnProperty(v(H.context.tagName))&&k(H),H.context&&H.context.tagName==F||l.matchClosing===!1?(d="tag",M):(d="tag error",D)}else return l.allowMissingTagName&&R=="endTag"?(d="tag bracket",M(R,P,H)):(d="error",D)}function M(R,P,H){return R!="endTag"?(d="error",M):(k(H),S)}function D(R,P,H){return d="error",M(R,P,H)}function I(R,P,H){if(R=="word")return d="attribute",B;if(R=="endTag"||R=="selfcloseTag"){var F=H.tagName,q=H.tagStart;return H.tagName=H.tagStart=null,R=="selfcloseTag"||l.autoSelfClosers.hasOwnProperty(v(F))?E(H,F):(E(H,F),H.context=new w(H,F,q==H.indented)),S}return d="error",I}function B(R,P,H){return R=="equals"?N:(l.allowMissing||(d="error"),I(R,P,H))}function N(R,P,H){return R=="string"?O:R=="word"&&l.allowUnquoted?(d="string",I):(d="error",I(R,P,H))}function O(R,P,H){return R=="string"?O:I(R,P,H)}return{startState:function(R){var P={tokenize:h,state:S,indented:R||0,tagName:null,tagStart:null,context:null};return R!=null&&(P.baseIndent=R),P},token:function(R,P){if(!P.tagName&&R.sol()&&(P.indented=R.indentation()),R.eatSpace())return null;f=null;var H=P.tokenize(R,P);return(H||f)&&H!="comment"&&(d=null,P.state=P.state(f||H,R,P),d&&(H=d=="error"?H+" error":d)),H},indent:function(R,P,H){var F=R.context;if(R.tokenize.isInAttribute)return R.tagStart==R.indented?R.stringStartCol+1:R.indented+s;if(F&&F.noIndent)return n.Pass;if(R.tokenize!=p&&R.tokenize!=h)return H?H.match(/^(\s*)/)[0].length:0;if(R.tagName)return l.multilineTagIndentPastTag!==!1?R.tagStart+R.tagName.length+2:R.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(R){R.state==N&&(R.state=I)},xmlCurrentTag:function(R){return R.tagName?{name:R.tagName,close:R.type=="closeTag"}:null},xmlCurrentContext:function(R){for(var P=[],H=R.context;H;H=H.prev)P.push(H.tagName);return P.reverse()}}}),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();var N$=XHn.exports,ske={exports:{}},lke;function JHn(){return lke||(lke=1,function(e,t){(function(n){n(jr)})(function(n){n.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 r=0;r-1&&a.substring(l+1,a.length);if(u)return n.findModeByExtension(u)},n.findModeByName=function(a){a=a.toLowerCase();for(var o=0;o` "'(~:]+/,b=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,v=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,w=" ";function k(G,J,te){return J.f=J.inline=te,te(G,J)}function E(G,J,te){return J.f=J.block=te,te(G,J)}function S(G){return!G||!/\S/.test(G.string)}function T(G){if(G.linkTitle=!1,G.linkHref=!1,G.linkText=!1,G.em=!1,G.strong=!1,G.strikethrough=!1,G.quote=0,G.indentedCode=!1,G.f==M){var J=o;if(!J){var te=n.innerMode(a,G.htmlState);J=te.mode.name=="xml"&&te.state.tagStart===null&&!te.state.context&&te.state.tokenize.isInText}J&&(G.f=N,G.block=L,G.htmlState=null)}return G.trailingSpace=0,G.trailingSpaceNewLine=!1,G.prevLine=G.thisLine,G.thisLine={stream:null},null}function L(G,J){var te=G.column()===J.indentation,re=S(J.prevLine.stream),Q=J.indentedCode,ae=J.prevLine.hr,le=J.list!==!1,oe=(J.listStack[J.listStack.length-1]||0)+3;J.indentedCode=!1;var ee=J.indentation;if(J.indentationDiff===null&&(J.indentationDiff=J.indentation,le)){for(J.list=null;ee=4&&(Q||J.prevLine.fencedCodeEnd||J.prevLine.header||re))return G.skipToEnd(),J.indentedCode=!0,l.code;if(G.eatSpace())return null;if(te&&J.indentation<=oe&&(Ae=G.match(h))&&Ae[1].length<=6)return J.quote=0,J.header=Ae[1].length,J.thisLine.header=!0,i.highlightFormatting&&(J.formatting="header"),J.f=J.inline,I(J);if(J.indentation<=oe&&G.eat(">"))return J.quote=te?1:J.quote+1,i.highlightFormatting&&(J.formatting="quote"),G.eatSpace(),I(J);if(!ue&&!J.setext&&te&&J.indentation<=oe&&(Ae=G.match(f))){var ce=Ae[1]?"ol":"ul";return J.indentation=ee+G.current().length,J.list=!0,J.quote=0,J.listStack.push(J.indentation),J.em=!1,J.strong=!1,J.code=!1,J.strikethrough=!1,i.taskLists&&G.match(d,!1)&&(J.taskList=!0),J.f=J.inline,i.highlightFormatting&&(J.formatting=["list","list-"+ce]),I(J)}else{if(te&&J.indentation<=oe&&(Ae=G.match(b,!0)))return J.quote=0,J.fencedEndRE=new RegExp(Ae[1]+"+ *$"),J.localMode=i.fencedCodeBlockHighlighting&&s(Ae[2]||i.fencedCodeBlockDefaultMode),J.localMode&&(J.localState=n.startState(J.localMode)),J.f=J.block=D,i.highlightFormatting&&(J.formatting="code-block"),J.code=-1,I(J);if(J.setext||(!ne||!le)&&!J.quote&&J.list===!1&&!J.code&&!ue&&!m.test(G.string)&&(Ae=G.lookAhead(1))&&(Ae=Ae.match(p)))return J.setext?(J.header=J.setext,J.setext=0,G.skipToEnd(),i.highlightFormatting&&(J.formatting="header")):(J.header=Ae[0].charAt(0)=="="?1:2,J.setext=J.header),J.thisLine.header=!0,J.f=J.inline,I(J);if(ue)return G.skipToEnd(),J.hr=!0,J.thisLine.hr=!0,l.hr;if(G.peek()==="[")return k(G,J,F)}return k(G,J,J.inline)}function M(G,J){var te=a.token(G,J.htmlState);if(!o){var re=n.innerMode(a,J.htmlState);(re.mode.name=="xml"&&re.state.tagStart===null&&!re.state.context&&re.state.tokenize.isInText||J.md_inside&&G.current().indexOf(">")>-1)&&(J.f=N,J.block=L,J.htmlState=null)}return te}function D(G,J){var te=J.listStack[J.listStack.length-1]||0,re=J.indentation=G.quote?J.push(l.formatting+"-"+G.formatting[te]+"-"+G.quote):J.push("error"))}if(G.taskOpen)return J.push("meta"),J.length?J.join(" "):null;if(G.taskClosed)return J.push("property"),J.length?J.join(" "):null;if(G.linkHref?J.push(l.linkHref,"url"):(G.strong&&J.push(l.strong),G.em&&J.push(l.em),G.strikethrough&&J.push(l.strikethrough),G.emoji&&J.push(l.emoji),G.linkText&&J.push(l.linkText),G.code&&J.push(l.code),G.image&&J.push(l.image),G.imageAltText&&J.push(l.imageAltText,"link"),G.imageMarker&&J.push(l.imageMarker)),G.header&&J.push(l.header,l.header+"-"+G.header),G.quote&&(J.push(l.quote),!i.maxBlockquoteDepth||i.maxBlockquoteDepth>=G.quote?J.push(l.quote+"-"+G.quote):J.push(l.quote+"-"+i.maxBlockquoteDepth)),G.list!==!1){var re=(G.listStack.length-1)%3;re?re===1?J.push(l.list2):J.push(l.list3):J.push(l.list1)}return G.trailingSpaceNewLine?J.push("trailing-space-new-line"):G.trailingSpace&&J.push("trailing-space-"+(G.trailingSpace%2?"a":"b")),J.length?J.join(" "):null}function B(G,J){if(G.match(g,!0))return I(J)}function N(G,J){var te=J.text(G,J);if(typeof te<"u")return te;if(J.list)return J.list=null,I(J);if(J.taskList){var re=G.match(d,!0)[1]===" ";return re?J.taskOpen=!0:J.taskClosed=!0,i.highlightFormatting&&(J.formatting="task"),J.taskList=!1,I(J)}if(J.taskOpen=!1,J.taskClosed=!1,J.header&&G.match(/^#+$/,!0))return i.highlightFormatting&&(J.formatting="header"),I(J);var Q=G.next();if(J.linkTitle){J.linkTitle=!1;var ae=Q;Q==="("&&(ae=")"),ae=(ae+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var le="^\\s*(?:[^"+ae+"\\\\]+|\\\\\\\\|\\\\.)"+ae;if(G.match(new RegExp(le),!0))return l.linkHref}if(Q==="`"){var oe=J.formatting;i.highlightFormatting&&(J.formatting="code"),G.eatWhile("`");var ee=G.current().length;if(J.code==0&&(!J.quote||ee==1))return J.code=ee,I(J);if(ee==J.code){var ne=I(J);return J.code=0,ne}else return J.formatting=oe,I(J)}else if(J.code)return I(J);if(Q==="\\"&&(G.next(),i.highlightFormatting)){var ue=I(J),Ae=l.formatting+"-escape";return ue?ue+" "+Ae:Ae}if(Q==="!"&&G.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return J.imageMarker=!0,J.image=!0,i.highlightFormatting&&(J.formatting="image"),I(J);if(Q==="["&&J.imageMarker&&G.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return J.imageMarker=!1,J.imageAltText=!0,i.highlightFormatting&&(J.formatting="image"),I(J);if(Q==="]"&&J.imageAltText){i.highlightFormatting&&(J.formatting="image");var ue=I(J);return J.imageAltText=!1,J.image=!1,J.inline=J.f=R,ue}if(Q==="["&&!J.image)return J.linkText&&G.match(/^.*?\]/)||(J.linkText=!0,i.highlightFormatting&&(J.formatting="link")),I(J);if(Q==="]"&&J.linkText){i.highlightFormatting&&(J.formatting="link");var ue=I(J);return J.linkText=!1,J.inline=J.f=G.match(/\(.*?\)| ?\[.*?\]/,!1)?R:N,ue}if(Q==="<"&&G.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){J.f=J.inline=O,i.highlightFormatting&&(J.formatting="link");var ue=I(J);return ue?ue+=" ":ue="",ue+l.linkInline}if(Q==="<"&&G.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){J.f=J.inline=O,i.highlightFormatting&&(J.formatting="link");var ue=I(J);return ue?ue+=" ":ue="",ue+l.linkEmail}if(i.xml&&Q==="<"&&G.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ce=G.string.indexOf(">",G.pos);if(ce!=-1){var be=G.string.substring(G.start,ce);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(be)&&(J.md_inside=!0)}return G.backUp(1),J.htmlState=n.startState(a),E(G,J,M)}if(i.xml&&Q==="<"&&G.match(/^\/\w*?>/))return J.md_inside=!1,"tag";if(Q==="*"||Q==="_"){for(var ge=1,ve=G.pos==1?" ":G.string.charAt(G.pos-2);ge<3&&G.eat(Q);)ge++;var ie=G.peek()||" ",he=!/\s/.test(ie)&&(!v.test(ie)||/\s/.test(ve)||v.test(ve)),$e=!/\s/.test(ve)&&(!v.test(ve)||/\s/.test(ie)||v.test(ie)),De=null,Ie=null;if(ge%2&&(!J.em&&he&&(Q==="*"||!$e||v.test(ve))?De=!0:J.em==Q&&$e&&(Q==="*"||!he||v.test(ie))&&(De=!1)),ge>1&&(!J.strong&&he&&(Q==="*"||!$e||v.test(ve))?Ie=!0:J.strong==Q&&$e&&(Q==="*"||!he||v.test(ie))&&(Ie=!1)),Ie!=null||De!=null){i.highlightFormatting&&(J.formatting=De==null?"strong":Ie==null?"em":"strong em"),De===!0&&(J.em=Q),Ie===!0&&(J.strong=Q);var ne=I(J);return De===!1&&(J.em=!1),Ie===!1&&(J.strong=!1),ne}}else if(Q===" "&&(G.eat("*")||G.eat("_"))){if(G.peek()===" ")return I(J);G.backUp(1)}if(i.strikethrough){if(Q==="~"&&G.eatWhile(Q)){if(J.strikethrough){i.highlightFormatting&&(J.formatting="strikethrough");var ne=I(J);return J.strikethrough=!1,ne}else if(G.match(/^[^\s]/,!1))return J.strikethrough=!0,i.highlightFormatting&&(J.formatting="strikethrough"),I(J)}else if(Q===" "&&G.match("~~",!0)){if(G.peek()===" ")return I(J);G.backUp(2)}}if(i.emoji&&Q===":"&&G.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){J.emoji=!0,i.highlightFormatting&&(J.formatting="emoji");var Be=I(J);return J.emoji=!1,Be}return Q===" "&&(G.match(/^ +$/,!1)?J.trailingSpace++:J.trailingSpace&&(J.trailingSpaceNewLine=!0)),I(J)}function O(G,J){var te=G.next();if(te===">"){J.f=J.inline=N,i.highlightFormatting&&(J.formatting="link");var re=I(J);return re?re+=" ":re="",re+l.linkInline}return G.match(/^[^>]+/,!0),l.linkInline}function R(G,J){if(G.eatSpace())return null;var te=G.next();return te==="("||te==="["?(J.f=J.inline=H(te==="("?")":"]"),i.highlightFormatting&&(J.formatting="link-string"),J.linkHref=!0,I(J)):"error"}var P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function H(G){return function(J,te){var re=J.next();if(re===G){te.f=te.inline=N,i.highlightFormatting&&(te.formatting="link-string");var Q=I(te);return te.linkHref=!1,Q}return J.match(P[G]),te.linkHref=!0,I(te)}}function F(G,J){return G.match(/^([^\]\\]|\\.)*\]:/,!1)?(J.f=q,G.next(),i.highlightFormatting&&(J.formatting="link"),J.linkText=!0,I(J)):k(G,J,N)}function q(G,J){if(G.match("]:",!0)){J.f=J.inline=V,i.highlightFormatting&&(J.formatting="link");var te=I(J);return J.linkText=!1,te}return G.match(/^([^\]\\]|\\.)+/,!0),l.linkText}function V(G,J){return G.eatSpace()?null:(G.match(/^[^\s]+/,!0),G.peek()===void 0?J.linkTitle=!0:G.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),J.f=J.inline=N,l.linkHref+" url")}var X={startState:function(){return{f:L,prevLine:{stream:null},thisLine:{stream:null},block:L,htmlState:null,indentation:0,inline:N,text:B,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(G){return{f:G.f,prevLine:G.prevLine,thisLine:G.thisLine,block:G.block,htmlState:G.htmlState&&n.copyState(a,G.htmlState),indentation:G.indentation,localMode:G.localMode,localState:G.localMode?n.copyState(G.localMode,G.localState):null,inline:G.inline,text:G.text,formatting:!1,linkText:G.linkText,linkTitle:G.linkTitle,linkHref:G.linkHref,code:G.code,em:G.em,strong:G.strong,strikethrough:G.strikethrough,emoji:G.emoji,header:G.header,setext:G.setext,hr:G.hr,taskList:G.taskList,list:G.list,listStack:G.listStack.slice(0),quote:G.quote,indentedCode:G.indentedCode,trailingSpace:G.trailingSpace,trailingSpaceNewLine:G.trailingSpaceNewLine,md_inside:G.md_inside,fencedEndRE:G.fencedEndRE}},token:function(G,J){if(J.formatting=!1,G!=J.thisLine.stream){if(J.header=0,J.hr=!1,G.match(/^\s*$/,!0))return T(J),null;if(J.prevLine=J.thisLine,J.thisLine={stream:G},J.taskList=!1,J.trailingSpace=0,J.trailingSpaceNewLine=!1,!J.localState&&(J.f=J.block,J.f!=M)){var te=G.match(/^\s*/,!0)[0].replace(/\t/g,w).length;if(J.indentation=te,J.indentationDiff=null,te>0)return null}}return J.f(G,J)},innerMode:function(G){return G.block==M?{state:G.htmlState,mode:a}:G.localState?{state:G.localState,mode:G.localMode}:{state:G,mode:X}},indent:function(G,J,te){return G.block==M&&a.indent?a.indent(G.htmlState,J,te):G.localState&&G.localMode.indent?G.localMode.indent(G.localState,J,te):n.Pass},blankLine:T,getType:I,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return X},"xml"),n.defineMIME("text/markdown","markdown"),n.defineMIME("text/x-markdown","markdown")})})();var ZHn=YHn.exports,QHn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.overlayMode=function(r,i,a){return{startState:function(){return{base:n.startState(r),overlay:n.startState(i),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:n.copyState(r,o.base),overlay:n.copyState(i,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(o,s){return(o!=s.streamSeen||Math.min(s.basePos,s.overlayPos)=p.line,S=E?p:o(k,0),T=d.markText(w,S,{className:m});if(g==null?b.push(T):b.splice(g++,0,T),E)break;v=k}}function u(d){for(var h=d.state.markedSelection,p=0;p1)return c(d);var h=d.getCursor("start"),p=d.getCursor("end"),g=d.state.markedSelection;if(!g.length)return l(d,h,p);var b=g[0].find(),m=g[g.length-1].find();if(!b||!m||p.line-h.line<=a||s(h,m.to)>=0||s(p,b.from)<=0)return c(d);for(;s(h,b.from)>0;)g.shift().clear(),b=g[0].find();for(s(h,b.from)<0&&(b.to.line-h.line0&&(p.line-m.from.lineL);M++){var D=v.getLine(T++);E=E==null?D:E+` +`:"")+"",newPos:D?n.Pos(g.line+1,0):n.Pos(g.line,g.ch+1)}}for(var I=typeof h=="object"&&h.dontIndentOnAutoClose,p=f.length-1;p>=0;p--){var B=d[p];c.replaceRange(B.text,f[p].head,f[p].anchor,"+insert");var N=c.listSelections().slice(0);N[p]={head:B.newPos,anchor:B.newPos},c.setSelections(N),!I&&B.indent&&(c.indentLine(B.newPos.line,null,!0),c.indentLine(B.newPos.line+1,null,!0))}}function o(c,f){for(var d=c.listSelections(),h=[],p=f?"/":""&&(S+=">"),h[m]=S}if(c.replaceSelections(h),d=c.listSelections(),!b)for(var m=0;m=0&&f[v]==d;v--)++m;h=b.to;for(var v=1;v")):null:R.match("--")?H(b("comment","-->")):R.match("DOCTYPE",!0,!0)?(R.eatWhile(/[\w\._\-]/),H(m(1))):null:R.eat("?")?(R.eatWhile(/[\w\._\-]/),P.tokenize=b("meta","?>"),"meta"):(f=R.eat("/")?"closeTag":"openTag",P.tokenize=p,"tag bracket");if(F=="&"){var q;return R.eat("#")?R.eat("x")?q=R.eatWhile(/[a-fA-F\d]/)&&R.eat(";"):q=R.eatWhile(/[\d]/)&&R.eat(";"):q=R.eatWhile(/[\w\.\-:]/)&&R.eat(";"),q?"atom":"error"}else return R.eatWhile(/[^&<]/),null}h.isInText=!0;function p(R,P){var H=R.next();if(H==">"||H=="/"&&R.eat(">"))return P.tokenize=h,f=H==">"?"endTag":"selfcloseTag","tag bracket";if(H=="=")return f="equals",null;if(H=="<"){P.tokenize=h,P.state=S,P.tagName=P.tagStart=null;var F=P.tokenize(R,P);return F?F+" tag error":"tag error"}else return/[\'\"]/.test(H)?(P.tokenize=g(H),P.stringStartCol=R.column(),P.tokenize(R,P)):(R.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g(R){var P=function(H,F){for(;!H.eol();)if(H.next()==R){F.tokenize=p;break}return"string"};return P.isInAttribute=!0,P}function b(R,P){return function(H,F){for(;!H.eol();){if(H.match(P)){F.tokenize=h;break}H.next()}return R}}function m(R){return function(P,H){for(var F;(F=P.next())!=null;){if(F=="<")return H.tokenize=m(R+1),H.tokenize(P,H);if(F==">")if(R==1){H.tokenize=h;break}else return H.tokenize=m(R-1),H.tokenize(P,H)}return"meta"}}function v(R){return R&&R.toLowerCase()}function w(R,P,H){this.prev=R.context,this.tagName=P||"",this.indent=R.indented,this.startOfLine=H,(l.doNotIndent.hasOwnProperty(P)||R.context&&R.context.noIndent)&&(this.noIndent=!0)}function k(R){R.context&&(R.context=R.context.prev)}function E(R,P){for(var H;;){if(!R.context||(H=R.context.tagName,!l.contextGrabbers.hasOwnProperty(v(H))||!l.contextGrabbers[v(H)].hasOwnProperty(v(P))))return;k(R)}}function S(R,P,H){return R=="openTag"?(H.tagStart=P.column(),T):R=="closeTag"?L:S}function T(R,P,H){return R=="word"?(H.tagName=P.current(),d="tag",I):l.allowMissingTagName&&R=="endTag"?(d="tag bracket",I(R,P,H)):(d="error",T)}function L(R,P,H){if(R=="word"){var F=P.current();return H.context&&H.context.tagName!=F&&l.implicitlyClosed.hasOwnProperty(v(H.context.tagName))&&k(H),H.context&&H.context.tagName==F||l.matchClosing===!1?(d="tag",M):(d="tag error",D)}else return l.allowMissingTagName&&R=="endTag"?(d="tag bracket",M(R,P,H)):(d="error",D)}function M(R,P,H){return R!="endTag"?(d="error",M):(k(H),S)}function D(R,P,H){return d="error",M(R,P,H)}function I(R,P,H){if(R=="word")return d="attribute",B;if(R=="endTag"||R=="selfcloseTag"){var F=H.tagName,q=H.tagStart;return H.tagName=H.tagStart=null,R=="selfcloseTag"||l.autoSelfClosers.hasOwnProperty(v(F))?E(H,F):(E(H,F),H.context=new w(H,F,q==H.indented)),S}return d="error",I}function B(R,P,H){return R=="equals"?N:(l.allowMissing||(d="error"),I(R,P,H))}function N(R,P,H){return R=="string"?O:R=="word"&&l.allowUnquoted?(d="string",I):(d="error",I(R,P,H))}function O(R,P,H){return R=="string"?O:I(R,P,H)}return{startState:function(R){var P={tokenize:h,state:S,indented:R||0,tagName:null,tagStart:null,context:null};return R!=null&&(P.baseIndent=R),P},token:function(R,P){if(!P.tagName&&R.sol()&&(P.indented=R.indentation()),R.eatSpace())return null;f=null;var H=P.tokenize(R,P);return(H||f)&&H!="comment"&&(d=null,P.state=P.state(f||H,R,P),d&&(H=d=="error"?H+" error":d)),H},indent:function(R,P,H){var F=R.context;if(R.tokenize.isInAttribute)return R.tagStart==R.indented?R.stringStartCol+1:R.indented+s;if(F&&F.noIndent)return n.Pass;if(R.tokenize!=p&&R.tokenize!=h)return H?H.match(/^(\s*)/)[0].length:0;if(R.tagName)return l.multilineTagIndentPastTag!==!1?R.tagStart+R.tagName.length+2:R.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/$/,blockCommentStart:"",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(R){R.state==N&&(R.state=I)},xmlCurrentTag:function(R){return R.tagName?{name:R.tagName,close:R.type=="closeTag"}:null},xmlCurrentContext:function(R){for(var P=[],H=R.context;H;H=H.prev)P.push(H.tagName);return P.reverse()}}}),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();var N$=JHn.exports,ske={exports:{}},lke;function ZHn(){return lke||(lke=1,function(e,t){(function(n){n(jr)})(function(n){n.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 r=0;r-1&&a.substring(l+1,a.length);if(u)return n.findModeByExtension(u)},n.findModeByName=function(a){a=a.toLowerCase();for(var o=0;o` "'(~:]+/,b=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,v=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,w=" ";function k(G,J,te){return J.f=J.inline=te,te(G,J)}function E(G,J,te){return J.f=J.block=te,te(G,J)}function S(G){return!G||!/\S/.test(G.string)}function T(G){if(G.linkTitle=!1,G.linkHref=!1,G.linkText=!1,G.em=!1,G.strong=!1,G.strikethrough=!1,G.quote=0,G.indentedCode=!1,G.f==M){var J=o;if(!J){var te=n.innerMode(a,G.htmlState);J=te.mode.name=="xml"&&te.state.tagStart===null&&!te.state.context&&te.state.tokenize.isInText}J&&(G.f=N,G.block=L,G.htmlState=null)}return G.trailingSpace=0,G.trailingSpaceNewLine=!1,G.prevLine=G.thisLine,G.thisLine={stream:null},null}function L(G,J){var te=G.column()===J.indentation,re=S(J.prevLine.stream),Q=J.indentedCode,ae=J.prevLine.hr,le=J.list!==!1,oe=(J.listStack[J.listStack.length-1]||0)+3;J.indentedCode=!1;var ee=J.indentation;if(J.indentationDiff===null&&(J.indentationDiff=J.indentation,le)){for(J.list=null;ee=4&&(Q||J.prevLine.fencedCodeEnd||J.prevLine.header||re))return G.skipToEnd(),J.indentedCode=!0,l.code;if(G.eatSpace())return null;if(te&&J.indentation<=oe&&(Ae=G.match(h))&&Ae[1].length<=6)return J.quote=0,J.header=Ae[1].length,J.thisLine.header=!0,i.highlightFormatting&&(J.formatting="header"),J.f=J.inline,I(J);if(J.indentation<=oe&&G.eat(">"))return J.quote=te?1:J.quote+1,i.highlightFormatting&&(J.formatting="quote"),G.eatSpace(),I(J);if(!ue&&!J.setext&&te&&J.indentation<=oe&&(Ae=G.match(f))){var ce=Ae[1]?"ol":"ul";return J.indentation=ee+G.current().length,J.list=!0,J.quote=0,J.listStack.push(J.indentation),J.em=!1,J.strong=!1,J.code=!1,J.strikethrough=!1,i.taskLists&&G.match(d,!1)&&(J.taskList=!0),J.f=J.inline,i.highlightFormatting&&(J.formatting=["list","list-"+ce]),I(J)}else{if(te&&J.indentation<=oe&&(Ae=G.match(b,!0)))return J.quote=0,J.fencedEndRE=new RegExp(Ae[1]+"+ *$"),J.localMode=i.fencedCodeBlockHighlighting&&s(Ae[2]||i.fencedCodeBlockDefaultMode),J.localMode&&(J.localState=n.startState(J.localMode)),J.f=J.block=D,i.highlightFormatting&&(J.formatting="code-block"),J.code=-1,I(J);if(J.setext||(!ne||!le)&&!J.quote&&J.list===!1&&!J.code&&!ue&&!m.test(G.string)&&(Ae=G.lookAhead(1))&&(Ae=Ae.match(p)))return J.setext?(J.header=J.setext,J.setext=0,G.skipToEnd(),i.highlightFormatting&&(J.formatting="header")):(J.header=Ae[0].charAt(0)=="="?1:2,J.setext=J.header),J.thisLine.header=!0,J.f=J.inline,I(J);if(ue)return G.skipToEnd(),J.hr=!0,J.thisLine.hr=!0,l.hr;if(G.peek()==="[")return k(G,J,F)}return k(G,J,J.inline)}function M(G,J){var te=a.token(G,J.htmlState);if(!o){var re=n.innerMode(a,J.htmlState);(re.mode.name=="xml"&&re.state.tagStart===null&&!re.state.context&&re.state.tokenize.isInText||J.md_inside&&G.current().indexOf(">")>-1)&&(J.f=N,J.block=L,J.htmlState=null)}return te}function D(G,J){var te=J.listStack[J.listStack.length-1]||0,re=J.indentation=G.quote?J.push(l.formatting+"-"+G.formatting[te]+"-"+G.quote):J.push("error"))}if(G.taskOpen)return J.push("meta"),J.length?J.join(" "):null;if(G.taskClosed)return J.push("property"),J.length?J.join(" "):null;if(G.linkHref?J.push(l.linkHref,"url"):(G.strong&&J.push(l.strong),G.em&&J.push(l.em),G.strikethrough&&J.push(l.strikethrough),G.emoji&&J.push(l.emoji),G.linkText&&J.push(l.linkText),G.code&&J.push(l.code),G.image&&J.push(l.image),G.imageAltText&&J.push(l.imageAltText,"link"),G.imageMarker&&J.push(l.imageMarker)),G.header&&J.push(l.header,l.header+"-"+G.header),G.quote&&(J.push(l.quote),!i.maxBlockquoteDepth||i.maxBlockquoteDepth>=G.quote?J.push(l.quote+"-"+G.quote):J.push(l.quote+"-"+i.maxBlockquoteDepth)),G.list!==!1){var re=(G.listStack.length-1)%3;re?re===1?J.push(l.list2):J.push(l.list3):J.push(l.list1)}return G.trailingSpaceNewLine?J.push("trailing-space-new-line"):G.trailingSpace&&J.push("trailing-space-"+(G.trailingSpace%2?"a":"b")),J.length?J.join(" "):null}function B(G,J){if(G.match(g,!0))return I(J)}function N(G,J){var te=J.text(G,J);if(typeof te<"u")return te;if(J.list)return J.list=null,I(J);if(J.taskList){var re=G.match(d,!0)[1]===" ";return re?J.taskOpen=!0:J.taskClosed=!0,i.highlightFormatting&&(J.formatting="task"),J.taskList=!1,I(J)}if(J.taskOpen=!1,J.taskClosed=!1,J.header&&G.match(/^#+$/,!0))return i.highlightFormatting&&(J.formatting="header"),I(J);var Q=G.next();if(J.linkTitle){J.linkTitle=!1;var ae=Q;Q==="("&&(ae=")"),ae=(ae+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var le="^\\s*(?:[^"+ae+"\\\\]+|\\\\\\\\|\\\\.)"+ae;if(G.match(new RegExp(le),!0))return l.linkHref}if(Q==="`"){var oe=J.formatting;i.highlightFormatting&&(J.formatting="code"),G.eatWhile("`");var ee=G.current().length;if(J.code==0&&(!J.quote||ee==1))return J.code=ee,I(J);if(ee==J.code){var ne=I(J);return J.code=0,ne}else return J.formatting=oe,I(J)}else if(J.code)return I(J);if(Q==="\\"&&(G.next(),i.highlightFormatting)){var ue=I(J),Ae=l.formatting+"-escape";return ue?ue+" "+Ae:Ae}if(Q==="!"&&G.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return J.imageMarker=!0,J.image=!0,i.highlightFormatting&&(J.formatting="image"),I(J);if(Q==="["&&J.imageMarker&&G.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return J.imageMarker=!1,J.imageAltText=!0,i.highlightFormatting&&(J.formatting="image"),I(J);if(Q==="]"&&J.imageAltText){i.highlightFormatting&&(J.formatting="image");var ue=I(J);return J.imageAltText=!1,J.image=!1,J.inline=J.f=R,ue}if(Q==="["&&!J.image)return J.linkText&&G.match(/^.*?\]/)||(J.linkText=!0,i.highlightFormatting&&(J.formatting="link")),I(J);if(Q==="]"&&J.linkText){i.highlightFormatting&&(J.formatting="link");var ue=I(J);return J.linkText=!1,J.inline=J.f=G.match(/\(.*?\)| ?\[.*?\]/,!1)?R:N,ue}if(Q==="<"&&G.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){J.f=J.inline=O,i.highlightFormatting&&(J.formatting="link");var ue=I(J);return ue?ue+=" ":ue="",ue+l.linkInline}if(Q==="<"&&G.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){J.f=J.inline=O,i.highlightFormatting&&(J.formatting="link");var ue=I(J);return ue?ue+=" ":ue="",ue+l.linkEmail}if(i.xml&&Q==="<"&&G.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ce=G.string.indexOf(">",G.pos);if(ce!=-1){var be=G.string.substring(G.start,ce);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(be)&&(J.md_inside=!0)}return G.backUp(1),J.htmlState=n.startState(a),E(G,J,M)}if(i.xml&&Q==="<"&&G.match(/^\/\w*?>/))return J.md_inside=!1,"tag";if(Q==="*"||Q==="_"){for(var ge=1,ve=G.pos==1?" ":G.string.charAt(G.pos-2);ge<3&&G.eat(Q);)ge++;var ie=G.peek()||" ",he=!/\s/.test(ie)&&(!v.test(ie)||/\s/.test(ve)||v.test(ve)),$e=!/\s/.test(ve)&&(!v.test(ve)||/\s/.test(ie)||v.test(ie)),De=null,Ie=null;if(ge%2&&(!J.em&&he&&(Q==="*"||!$e||v.test(ve))?De=!0:J.em==Q&&$e&&(Q==="*"||!he||v.test(ie))&&(De=!1)),ge>1&&(!J.strong&&he&&(Q==="*"||!$e||v.test(ve))?Ie=!0:J.strong==Q&&$e&&(Q==="*"||!he||v.test(ie))&&(Ie=!1)),Ie!=null||De!=null){i.highlightFormatting&&(J.formatting=De==null?"strong":Ie==null?"em":"strong em"),De===!0&&(J.em=Q),Ie===!0&&(J.strong=Q);var ne=I(J);return De===!1&&(J.em=!1),Ie===!1&&(J.strong=!1),ne}}else if(Q===" "&&(G.eat("*")||G.eat("_"))){if(G.peek()===" ")return I(J);G.backUp(1)}if(i.strikethrough){if(Q==="~"&&G.eatWhile(Q)){if(J.strikethrough){i.highlightFormatting&&(J.formatting="strikethrough");var ne=I(J);return J.strikethrough=!1,ne}else if(G.match(/^[^\s]/,!1))return J.strikethrough=!0,i.highlightFormatting&&(J.formatting="strikethrough"),I(J)}else if(Q===" "&&G.match("~~",!0)){if(G.peek()===" ")return I(J);G.backUp(2)}}if(i.emoji&&Q===":"&&G.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){J.emoji=!0,i.highlightFormatting&&(J.formatting="emoji");var Be=I(J);return J.emoji=!1,Be}return Q===" "&&(G.match(/^ +$/,!1)?J.trailingSpace++:J.trailingSpace&&(J.trailingSpaceNewLine=!0)),I(J)}function O(G,J){var te=G.next();if(te===">"){J.f=J.inline=N,i.highlightFormatting&&(J.formatting="link");var re=I(J);return re?re+=" ":re="",re+l.linkInline}return G.match(/^[^>]+/,!0),l.linkInline}function R(G,J){if(G.eatSpace())return null;var te=G.next();return te==="("||te==="["?(J.f=J.inline=H(te==="("?")":"]"),i.highlightFormatting&&(J.formatting="link-string"),J.linkHref=!0,I(J)):"error"}var P={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function H(G){return function(J,te){var re=J.next();if(re===G){te.f=te.inline=N,i.highlightFormatting&&(te.formatting="link-string");var Q=I(te);return te.linkHref=!1,Q}return J.match(P[G]),te.linkHref=!0,I(te)}}function F(G,J){return G.match(/^([^\]\\]|\\.)*\]:/,!1)?(J.f=q,G.next(),i.highlightFormatting&&(J.formatting="link"),J.linkText=!0,I(J)):k(G,J,N)}function q(G,J){if(G.match("]:",!0)){J.f=J.inline=V,i.highlightFormatting&&(J.formatting="link");var te=I(J);return J.linkText=!1,te}return G.match(/^([^\]\\]|\\.)+/,!0),l.linkText}function V(G,J){return G.eatSpace()?null:(G.match(/^[^\s]+/,!0),G.peek()===void 0?J.linkTitle=!0:G.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),J.f=J.inline=N,l.linkHref+" url")}var X={startState:function(){return{f:L,prevLine:{stream:null},thisLine:{stream:null},block:L,htmlState:null,indentation:0,inline:N,text:B,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(G){return{f:G.f,prevLine:G.prevLine,thisLine:G.thisLine,block:G.block,htmlState:G.htmlState&&n.copyState(a,G.htmlState),indentation:G.indentation,localMode:G.localMode,localState:G.localMode?n.copyState(G.localMode,G.localState):null,inline:G.inline,text:G.text,formatting:!1,linkText:G.linkText,linkTitle:G.linkTitle,linkHref:G.linkHref,code:G.code,em:G.em,strong:G.strong,strikethrough:G.strikethrough,emoji:G.emoji,header:G.header,setext:G.setext,hr:G.hr,taskList:G.taskList,list:G.list,listStack:G.listStack.slice(0),quote:G.quote,indentedCode:G.indentedCode,trailingSpace:G.trailingSpace,trailingSpaceNewLine:G.trailingSpaceNewLine,md_inside:G.md_inside,fencedEndRE:G.fencedEndRE}},token:function(G,J){if(J.formatting=!1,G!=J.thisLine.stream){if(J.header=0,J.hr=!1,G.match(/^\s*$/,!0))return T(J),null;if(J.prevLine=J.thisLine,J.thisLine={stream:G},J.taskList=!1,J.trailingSpace=0,J.trailingSpaceNewLine=!1,!J.localState&&(J.f=J.block,J.f!=M)){var te=G.match(/^\s*/,!0)[0].replace(/\t/g,w).length;if(J.indentation=te,J.indentationDiff=null,te>0)return null}}return J.f(G,J)},innerMode:function(G){return G.block==M?{state:G.htmlState,mode:a}:G.localState?{state:G.localState,mode:G.localMode}:{state:G,mode:X}},indent:function(G,J,te){return G.block==M&&a.indent?a.indent(G.htmlState,J,te):G.localState&&G.localMode.indent?G.localMode.indent(G.localState,J,te):n.Pass},blankLine:T,getType:I,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return X},"xml"),n.defineMIME("text/markdown","markdown"),n.defineMIME("text/x-markdown","markdown")})})();var QHn=XHn.exports,eqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.overlayMode=function(r,i,a){return{startState:function(){return{base:n.startState(r),overlay:n.startState(i),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:n.copyState(r,o.base),overlay:n.copyState(i,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(o,s){return(o!=s.streamSeen||Math.min(s.basePos,s.overlayPos)=p.line,S=E?p:o(k,0),T=d.markText(w,S,{className:m});if(g==null?b.push(T):b.splice(g++,0,T),E)break;v=k}}function u(d){for(var h=d.state.markedSelection,p=0;p1)return c(d);var h=d.getCursor("start"),p=d.getCursor("end"),g=d.state.markedSelection;if(!g.length)return l(d,h,p);var b=g[0].find(),m=g[g.length-1].find();if(!b||!m||p.line-h.line<=a||s(h,m.to)>=0||s(p,b.from)<=0)return c(d);for(;s(h,b.from)>0;)g.shift().clear(),b=g[0].find();for(s(h,b.from)<0&&(b.to.line-h.line0&&(p.line-m.from.lineL);M++){var D=v.getLine(T++);E=E==null?D:E+` `+D}S=S*2,w.lastIndex=k.ch;var I=w.exec(E);if(I){var B=E.slice(0,I.index).split(` `),N=I[0].split(` `),O=k.line+B.length-1,R=B[B.length-1].length;return{from:r(O,R),to:r(O+N.length-1,N.length==1?R+N[0].length:N[N.length-1].length),match:I}}}}function u(v,w,k){for(var E,S=0;S<=v.length;){w.lastIndex=S;var T=w.exec(v);if(!T)break;var L=T.index+T[0].length;if(L>v.length-k)break;(!E||L>E.index+E[0].length)&&(E=T),S=T.index+1}return E}function c(v,w,k){w=a(w,"g");for(var E=k.line,S=k.ch,T=v.firstLine();E>=T;E--,S=-1){var L=v.getLine(E),M=u(L,w,S<0?0:L.length-S);if(M)return{from:r(E,M.index),to:r(E,M.index+M[0].length),match:M}}}function f(v,w,k){if(!o(w))return c(v,w,k);w=a(w,"gm");for(var E,S=1,T=v.getLine(k.line).length-k.ch,L=k.line,M=v.firstLine();L>=M;){for(var D=0;D=M;D++){var I=v.getLine(L--);E=E==null?I:I+` `+E}S*=2;var B=u(E,w,T);if(B){var N=E.slice(0,B.index).split(` `),O=B[0].split(` -`),R=L+N.length,P=N[N.length-1].length;return{from:r(R,P),to:r(R+O.length-1,O.length==1?P+O[0].length:O[O.length-1].length),match:B}}}}var d,h;String.prototype.normalize?(d=function(v){return v.normalize("NFD").toLowerCase()},h=function(v){return v.normalize("NFD")}):(d=function(v){return v.toLowerCase()},h=function(v){return v});function p(v,w,k,E){if(v.length==w.length)return k;for(var S=0,T=k+Math.max(0,v.length-w.length);;){if(S==T)return S;var L=S+T>>1,M=E(v.slice(0,L)).length;if(M==k)return L;M>k?T=L:S=L+1}}function g(v,w,k,E){if(!w.length)return null;var S=E?d:h,T=S(w).split(/\r|\n\r?/);e:for(var L=k.line,M=k.ch,D=v.lastLine()+1-T.length;L<=D;L++,M=0){var I=v.getLine(L).slice(M),B=S(I);if(T.length==1){var N=B.indexOf(T[0]);if(N==-1)continue e;var k=p(I,B,N,S)+M;return{from:r(L,p(I,B,N,S)+M),to:r(L,p(I,B,N+T[0].length,S)+M)}}else{var O=B.length-T[0].length;if(B.slice(O)!=T[0])continue e;for(var R=1;R=D;L--,M=-1){var I=v.getLine(L);M>-1&&(I=I.slice(0,M));var B=S(I);if(T.length==1){var N=B.lastIndexOf(T[0]);if(N==-1)continue e;return{from:r(L,p(I,B,N,S)),to:r(L,p(I,B,N+T[0].length,S))}}else{var O=T[T.length-1];if(B.slice(0,O.length)!=O)continue e;for(var R=1,k=L-T.length+1;R(this.doc.getLine(w.line)||"").length&&(w.ch=0,w.line++)),n.cmpPos(w,this.doc.clipPos(w))!=0))return this.atOccurrence=!1;var k=this.matches(v,w);if(this.afterEmptyMatch=k&&n.cmpPos(k.from,k.to)==0,k)return this.pos=k,this.atOccurrence=!0,this.pos.match||!0;var E=r(v?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:E,to:E},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(v,w){if(this.atOccurrence){var k=n.splitLines(v);this.doc.replaceRange(k,this.pos.from,this.pos.to,w),this.pos.to=r(this.pos.from.line+k.length-1,k[k.length-1].length+(k.length==1?this.pos.from.ch:0))}}},n.defineExtension("getSearchCursor",function(v,w,k){return new m(this.doc,v,w,k)}),n.defineDocExtension("getSearchCursor",function(v,w,k){return new m(this,v,w,k)}),n.defineExtension("selectMatches",function(v,w){for(var k=[],E=this.getSearchCursor(v,this.getCursor("from"),w);E.findNext()&&!(n.cmpPos(E.to(),this.getCursor("to"))>0);)k.push({anchor:E.from(),head:E.to()});k.length&&this.setSelections(k,0)})})}()),uke.exports}(function(e,t){(function(n){n(jr,ZHn,qhe)})(function(n){var r=/^((?:(?: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;n.defineMode("gfm",function(i,a){var o=0;function s(f){return f.code=!1,null}var l={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(f){return{code:f.code,codeBlock:f.codeBlock,ateSpace:f.ateSpace}},token:function(f,d){if(d.combineTokens=null,d.codeBlock)return f.match(/^```+/)?(d.codeBlock=!1,null):(f.skipToEnd(),null);if(f.sol()&&(d.code=!1),f.sol()&&f.match(/^```+/))return f.skipToEnd(),d.codeBlock=!0,null;if(f.peek()==="`"){f.next();var h=f.pos;f.eatWhile("`");var p=1+f.pos-h;return d.code?p===o&&(d.code=!1):(o=p,d.code=!0),null}else if(d.code)return f.next(),null;if(f.eatSpace())return d.ateSpace=!0,null;if((f.sol()||d.ateSpace)&&(d.ateSpace=!1,a.gitHubSpice!==!1)){if(f.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return d.combineTokens=!0,"link";if(f.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return d.combineTokens=!0,"link"}return f.match(r)&&f.string.slice(f.start-2,f.start)!="]("&&(f.start==0||/\W/.test(f.string.charAt(f.start-1)))?(d.combineTokens=!0,"link"):(f.next(),null)},blankLine:s},u={taskLists:!0,strikethrough:!0,emoji:!0};for(var c in a)u[c]=a[c];return u.name="markdown",n.overlayMode(n.getMode(i,u),l)},"markdown"),n.defineMIME("text/x-gfm","gfm")})})();function dm(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var RVe={exports:{}};const eqn={},tqn=Object.freeze(Object.defineProperty({__proto__:null,default:eqn},Symbol.toStringTag,{value:"Module"})),Mh=u3(tqn);(function(e){var t;(function(){t=function(n,r,i,a){a=a||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=a.flags||{},this.memoized={},this.loaded=!1;var o=this,s,l,u,c,f;n&&(o.dictionary=n,r&&i?g():typeof window<"u"&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(a.dictionaryPath?s=a.dictionaryPath:s="typo/dictionaries",r||d(chrome.extension.getURL(s+"/"+n+"/"+n+".aff"),h),i||d(chrome.extension.getURL(s+"/"+n+"/"+n+".dic"),p)):(a.dictionaryPath?s=a.dictionaryPath:typeof __dirname<"u"?s=__dirname+"/dictionaries":s="./dictionaries",r||d(s+"/"+n+"/"+n+".aff",h),i||d(s+"/"+n+"/"+n+".dic",p)));function d(b,m){var v=o._readFile(b,null,a.asyncLoad);a.asyncLoad?v.then(function(w){m(w)}):m(v)}function h(b){r=b,i&&g()}function p(b){i=b,r&&g()}function g(){for(o.rules=o._parseAFF(r),o.compoundRuleCodes={},l=0,c=o.compoundRules.length;l0&&(T.continuationClasses=E),S!=="."&&(p==="SFX"?T.match=new RegExp(S+"$"):T.match=new RegExp("^"+S)),v!="0"&&(p==="SFX"?T.remove=new RegExp(v+"$"):T.remove=v),m.push(T)}r[g]={type:p,combineable:b=="Y",entries:m},l+=o}else if(p==="COMPOUNDRULE"){for(o=parseInt(h[1],10),u=l+1,f=l+1+o;u0&&(i[I]===null&&(i[I]=[]),i[I].push(B))}for(var o=1,s=r.length;o1){var f=this.parseRuleCodes(u[1]);(!("NEEDAFFIX"in this.flags)||f.indexOf(this.flags.NEEDAFFIX)==-1)&&a(c,f);for(var d=0,h=f.length;d"u"){if("COMPOUNDMIN"in this.flags&&n.length>=this.flags.COMPOUNDMIN){for(i=0,a=this.compoundRules.length;i"u"&&(i=Array.prototype.concat.apply([],this.dictionaryTable[n])),i&&i.indexOf(this.flags[r])!==-1))},alphabet:"",suggest:function(n,r){if(!this.loaded)throw"Dictionary not loaded.";if(r=r||5,this.memoized.hasOwnProperty(n)){var i=this.memoized[n].limit;if(r<=i||this.memoized[n].suggestions.length1&&E[1][1]!==E[1][0]&&(v=E[0]+E[1][1]+E[1][0]+E[1].substring(2),(!h||u.check(v))&&(v in p?p[v]+=1:p[v]=1)),E[1]){var S=E[1].substring(0,1).toUpperCase()===E[1].substring(0,1)?"uppercase":"lowercase";for(b=0;bD?1:L[0].localeCompare(T[0])}v.sort(w).reverse();var k=[],E="lowercase";d.toUpperCase()===d?E="uppercase":d.substr(0,1).toUpperCase()+d.substr(1).toLowerCase()===d&&(E="capitalized");var S=r;for(m=0;mDe.length)&&(Ie=De.length);for(var Be=0,we=new Array(Ie);Be=De.length?{done:!0}:{done:!1,value:De[we++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +`),R=L+N.length,P=N[N.length-1].length;return{from:r(R,P),to:r(R+O.length-1,O.length==1?P+O[0].length:O[O.length-1].length),match:B}}}}var d,h;String.prototype.normalize?(d=function(v){return v.normalize("NFD").toLowerCase()},h=function(v){return v.normalize("NFD")}):(d=function(v){return v.toLowerCase()},h=function(v){return v});function p(v,w,k,E){if(v.length==w.length)return k;for(var S=0,T=k+Math.max(0,v.length-w.length);;){if(S==T)return S;var L=S+T>>1,M=E(v.slice(0,L)).length;if(M==k)return L;M>k?T=L:S=L+1}}function g(v,w,k,E){if(!w.length)return null;var S=E?d:h,T=S(w).split(/\r|\n\r?/);e:for(var L=k.line,M=k.ch,D=v.lastLine()+1-T.length;L<=D;L++,M=0){var I=v.getLine(L).slice(M),B=S(I);if(T.length==1){var N=B.indexOf(T[0]);if(N==-1)continue e;var k=p(I,B,N,S)+M;return{from:r(L,p(I,B,N,S)+M),to:r(L,p(I,B,N+T[0].length,S)+M)}}else{var O=B.length-T[0].length;if(B.slice(O)!=T[0])continue e;for(var R=1;R=D;L--,M=-1){var I=v.getLine(L);M>-1&&(I=I.slice(0,M));var B=S(I);if(T.length==1){var N=B.lastIndexOf(T[0]);if(N==-1)continue e;return{from:r(L,p(I,B,N,S)),to:r(L,p(I,B,N+T[0].length,S))}}else{var O=T[T.length-1];if(B.slice(0,O.length)!=O)continue e;for(var R=1,k=L-T.length+1;R(this.doc.getLine(w.line)||"").length&&(w.ch=0,w.line++)),n.cmpPos(w,this.doc.clipPos(w))!=0))return this.atOccurrence=!1;var k=this.matches(v,w);if(this.afterEmptyMatch=k&&n.cmpPos(k.from,k.to)==0,k)return this.pos=k,this.atOccurrence=!0,this.pos.match||!0;var E=r(v?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:E,to:E},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(v,w){if(this.atOccurrence){var k=n.splitLines(v);this.doc.replaceRange(k,this.pos.from,this.pos.to,w),this.pos.to=r(this.pos.from.line+k.length-1,k[k.length-1].length+(k.length==1?this.pos.from.ch:0))}}},n.defineExtension("getSearchCursor",function(v,w,k){return new m(this.doc,v,w,k)}),n.defineDocExtension("getSearchCursor",function(v,w,k){return new m(this,v,w,k)}),n.defineExtension("selectMatches",function(v,w){for(var k=[],E=this.getSearchCursor(v,this.getCursor("from"),w);E.findNext()&&!(n.cmpPos(E.to(),this.getCursor("to"))>0);)k.push({anchor:E.from(),head:E.to()});k.length&&this.setSelections(k,0)})})}()),uke.exports}(function(e,t){(function(n){n(jr,QHn,qhe)})(function(n){var r=/^((?:(?: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;n.defineMode("gfm",function(i,a){var o=0;function s(f){return f.code=!1,null}var l={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(f){return{code:f.code,codeBlock:f.codeBlock,ateSpace:f.ateSpace}},token:function(f,d){if(d.combineTokens=null,d.codeBlock)return f.match(/^```+/)?(d.codeBlock=!1,null):(f.skipToEnd(),null);if(f.sol()&&(d.code=!1),f.sol()&&f.match(/^```+/))return f.skipToEnd(),d.codeBlock=!0,null;if(f.peek()==="`"){f.next();var h=f.pos;f.eatWhile("`");var p=1+f.pos-h;return d.code?p===o&&(d.code=!1):(o=p,d.code=!0),null}else if(d.code)return f.next(),null;if(f.eatSpace())return d.ateSpace=!0,null;if((f.sol()||d.ateSpace)&&(d.ateSpace=!1,a.gitHubSpice!==!1)){if(f.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return d.combineTokens=!0,"link";if(f.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return d.combineTokens=!0,"link"}return f.match(r)&&f.string.slice(f.start-2,f.start)!="]("&&(f.start==0||/\W/.test(f.string.charAt(f.start-1)))?(d.combineTokens=!0,"link"):(f.next(),null)},blankLine:s},u={taskLists:!0,strikethrough:!0,emoji:!0};for(var c in a)u[c]=a[c];return u.name="markdown",n.overlayMode(n.getMode(i,u),l)},"markdown"),n.defineMIME("text/x-gfm","gfm")})})();function dm(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var RVe={exports:{}};const tqn={},nqn=Object.freeze(Object.defineProperty({__proto__:null,default:tqn},Symbol.toStringTag,{value:"Module"})),Mh=u3(nqn);(function(e){var t;(function(){t=function(n,r,i,a){a=a||{},this.dictionary=null,this.rules={},this.dictionaryTable={},this.compoundRules=[],this.compoundRuleCodes={},this.replacementTable=[],this.flags=a.flags||{},this.memoized={},this.loaded=!1;var o=this,s,l,u,c,f;n&&(o.dictionary=n,r&&i?g():typeof window<"u"&&"chrome"in window&&"extension"in window.chrome&&"getURL"in window.chrome.extension?(a.dictionaryPath?s=a.dictionaryPath:s="typo/dictionaries",r||d(chrome.extension.getURL(s+"/"+n+"/"+n+".aff"),h),i||d(chrome.extension.getURL(s+"/"+n+"/"+n+".dic"),p)):(a.dictionaryPath?s=a.dictionaryPath:typeof __dirname<"u"?s=__dirname+"/dictionaries":s="./dictionaries",r||d(s+"/"+n+"/"+n+".aff",h),i||d(s+"/"+n+"/"+n+".dic",p)));function d(b,m){var v=o._readFile(b,null,a.asyncLoad);a.asyncLoad?v.then(function(w){m(w)}):m(v)}function h(b){r=b,i&&g()}function p(b){i=b,r&&g()}function g(){for(o.rules=o._parseAFF(r),o.compoundRuleCodes={},l=0,c=o.compoundRules.length;l0&&(T.continuationClasses=E),S!=="."&&(p==="SFX"?T.match=new RegExp(S+"$"):T.match=new RegExp("^"+S)),v!="0"&&(p==="SFX"?T.remove=new RegExp(v+"$"):T.remove=v),m.push(T)}r[g]={type:p,combineable:b=="Y",entries:m},l+=o}else if(p==="COMPOUNDRULE"){for(o=parseInt(h[1],10),u=l+1,f=l+1+o;u0&&(i[I]===null&&(i[I]=[]),i[I].push(B))}for(var o=1,s=r.length;o1){var f=this.parseRuleCodes(u[1]);(!("NEEDAFFIX"in this.flags)||f.indexOf(this.flags.NEEDAFFIX)==-1)&&a(c,f);for(var d=0,h=f.length;d"u"){if("COMPOUNDMIN"in this.flags&&n.length>=this.flags.COMPOUNDMIN){for(i=0,a=this.compoundRules.length;i"u"&&(i=Array.prototype.concat.apply([],this.dictionaryTable[n])),i&&i.indexOf(this.flags[r])!==-1))},alphabet:"",suggest:function(n,r){if(!this.loaded)throw"Dictionary not loaded.";if(r=r||5,this.memoized.hasOwnProperty(n)){var i=this.memoized[n].limit;if(r<=i||this.memoized[n].suggestions.length1&&E[1][1]!==E[1][0]&&(v=E[0]+E[1][1]+E[1][0]+E[1].substring(2),(!h||u.check(v))&&(v in p?p[v]+=1:p[v]=1)),E[1]){var S=E[1].substring(0,1).toUpperCase()===E[1].substring(0,1)?"uppercase":"lowercase";for(b=0;bD?1:L[0].localeCompare(T[0])}v.sort(w).reverse();var k=[],E="lowercase";d.toUpperCase()===d?E="uppercase":d.substr(0,1).toUpperCase()+d.substr(1).toLowerCase()===d&&(E="capitalized");var S=r;for(m=0;mDe.length)&&(Ie=De.length);for(var Be=0,we=new Array(Ie);Be=De.length?{done:!0}:{done:!1,value:De[we++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(De,Ie){if(typeof De!="object"||De===null)return De;var Be=De[Symbol.toPrimitive];if(Be!==void 0){var we=Be.call(De,Ie||"default");if(typeof we!="object")return we;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ie==="string"?String:Number)(De)}function s(De){var Ie=o(De,"string");return typeof Ie=="symbol"?Ie:String(Ie)}function l(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.defaults=l();function u(De){e.defaults=De}var c=/[&<>"']/,f=new RegExp(c.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,h=new RegExp(d.source,"g"),p={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(Ie){return p[Ie]};function b(De,Ie){if(Ie){if(c.test(De))return De.replace(f,g)}else if(d.test(De))return De.replace(h,g);return De}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function v(De){return De.replace(m,function(Ie,Be){return Be=Be.toLowerCase(),Be==="colon"?":":Be.charAt(0)==="#"?Be.charAt(1)==="x"?String.fromCharCode(parseInt(Be.substring(2),16)):String.fromCharCode(+Be.substring(1)):""})}var w=/(^|[^\[])\^/g;function k(De,Ie){De=typeof De=="string"?De:De.source,Ie=Ie||"";var Be={replace:function(je,Oe){return Oe=Oe.source||Oe,Oe=Oe.replace(w,"$1"),De=De.replace(je,Oe),Be},getRegex:function(){return new RegExp(De,Ie)}};return Be}var E=/[^\w:]/g,S=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function T(De,Ie,Be){if(De){var we;try{we=decodeURIComponent(v(Be)).replace(E,"").toLowerCase()}catch{return null}if(we.indexOf("javascript:")===0||we.indexOf("vbscript:")===0||we.indexOf("data:")===0)return null}Ie&&!S.test(Be)&&(Be=B(Ie,Be));try{Be=encodeURI(Be).replace(/%25/g,"%")}catch{return null}return Be}var L={},M=/^[^:]+:\/*[^/]*$/,D=/^([^:]+:)[\s\S]*$/,I=/^([^:]+:\/*[^/]*)[\s\S]*$/;function B(De,Ie){L[" "+De]||(M.test(De)?L[" "+De]=De+"/":L[" "+De]=P(De,"/",!0)),De=L[" "+De];var Be=De.indexOf(":")===-1;return Ie.substring(0,2)==="//"?Be?Ie:De.replace(D,"$1")+Ie:Ie.charAt(0)==="/"?Be?Ie:De.replace(I,"$1")+Ie:De+Ie}var N={exec:function(){}};function O(De){for(var Ie=1,Be,we;Ie=0&&ye[de]==="\\";)fe=!fe;return fe?"|":" |"}),we=Be.split(/ \|/),je=0;if(we[0].trim()||we.shift(),we.length>0&&!we[we.length-1].trim()&&we.pop(),we.length>Ie)we.splice(Ie);else for(;we.length1;)Ie&1&&(Be+=De),Ie>>=1,De+=De;return Be+De}function V(De,Ie,Be,we){var je=Ie.href,Oe=Ie.title?b(Ie.title):null,Re=De[1].replace(/\\([\[\]])/g,"$1");if(De[0].charAt(0)!=="!"){we.state.inLink=!0;var ye={type:"link",raw:Be,href:je,title:Oe,text:Re,tokens:we.inlineTokens(Re)};return we.state.inLink=!1,ye}return{type:"image",raw:Be,href:je,title:Oe,text:b(Re)}}function X(De,Ie){var Be=De.match(/^(\s+)(?:```)/);if(Be===null)return Ie;var we=Be[1];return Ie.split(` `).map(function(je){var Oe=je.match(/^\s+/);if(Oe===null)return je;var Re=Oe[0];return Re.length>=we.length?je.slice(we.length):je}).join(` `)}var G=function(){function De(Be){this.options=Be||e.defaults}var Ie=De.prototype;return Ie.space=function(we){var je=this.rules.block.newline.exec(we);if(je&&je[0].length>0)return{type:"space",raw:je[0]}},Ie.code=function(we){var je=this.rules.block.code.exec(we);if(je){var Oe=je[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:je[0],codeBlockStyle:"indented",text:this.options.pedantic?Oe:P(Oe,` @@ -744,15 +744,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `)},Ie.strong=function(we){return""+we+""},Ie.em=function(we){return""+we+""},Ie.codespan=function(we){return""+we+""},Ie.br=function(){return this.options.xhtml?"
":"
"},Ie.del=function(we){return""+we+""},Ie.link=function(we,je,Oe){if(we=T(this.options.sanitize,this.options.baseUrl,we),we===null)return Oe;var Re='",Re},Ie.image=function(we,je,Oe){if(we=T(this.options.sanitize,this.options.baseUrl,we),we===null)return Oe;var Re=''+Oe+'":">",Re},Ie.text=function(we){return we},De}(),oe=function(){function De(){}var Ie=De.prototype;return Ie.strong=function(we){return we},Ie.em=function(we){return we},Ie.codespan=function(we){return we},Ie.del=function(we){return we},Ie.html=function(we){return we},Ie.text=function(we){return we},Ie.link=function(we,je,Oe){return""+Oe},Ie.image=function(we,je,Oe){return""+Oe},Ie.br=function(){return""},De}(),ee=function(){function De(){this.seen={}}var Ie=De.prototype;return Ie.serialize=function(we){return we.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ie.getNextSafeSlug=function(we,je){var Oe=we,Re=0;if(this.seen.hasOwnProperty(Oe)){Re=this.seen[we];do Re++,Oe=we+"-"+Re;while(this.seen.hasOwnProperty(Oe))}return je||(this.seen[we]=Re,this.seen[Oe]=0),Oe},Ie.slug=function(we,je){je===void 0&&(je={});var Oe=this.serialize(we);return this.getNextSafeSlug(Oe,je.dryrun)},De}(),ne=function(){function De(Be){this.options=Be||e.defaults,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new oe,this.slugger=new ee}De.parse=function(we,je){var Oe=new De(je);return Oe.parse(we)},De.parseInline=function(we,je){var Oe=new De(je);return Oe.parseInline(we)};var Ie=De.prototype;return Ie.parse=function(we,je){je===void 0&&(je=!0);var Oe="",Re,ye,fe,de,xe,Ye,Ze,st,at,rt,et,Ot,jt,xt,pt,_t,ht,yt,Lt,on=we.length;for(Re=0;Re0&&pt.tokens[0].type==="paragraph"?(pt.tokens[0].text=yt+" "+pt.tokens[0].text,pt.tokens[0].tokens&&pt.tokens[0].tokens.length>0&&pt.tokens[0].tokens[0].type==="text"&&(pt.tokens[0].tokens[0].text=yt+" "+pt.tokens[0].tokens[0].text)):pt.tokens.unshift({type:"text",text:yt}):xt+=yt),xt+=this.parse(pt.tokens,jt),at+=this.renderer.listitem(xt,ht,_t);Oe+=this.renderer.list(at,et,Ot);continue}case"html":{Oe+=this.renderer.html(rt.text);continue}case"paragraph":{Oe+=this.renderer.paragraph(this.parseInline(rt.tokens));continue}case"text":{for(at=rt.tokens?this.parseInline(rt.tokens):rt.text;Re+1"u"||De===null)throw new Error("marked(): input parameter is undefined or null");if(typeof De!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(De)+", string expected");if(typeof Ie=="function"&&(Be=Ie,Ie=null),Ie=O({},ue.defaults,Ie||{}),F(Ie),Be){var we=Ie.highlight,je;try{je=ae.lex(De,Ie)}catch(de){return Be(de)}var Oe=function(xe){var Ye;if(!xe)try{Ie.walkTokens&&ue.walkTokens(je,Ie.walkTokens),Ye=ne.parse(je,Ie)}catch(Ze){xe=Ze}return Ie.highlight=we,xe?Be(xe):Be(null,Ye)};if(!we||we.length<3||(delete Ie.highlight,!je.length))return Oe();var Re=0;ue.walkTokens(je,function(de){de.type==="code"&&(Re++,setTimeout(function(){we(de.text,de.lang,function(xe,Ye){if(xe)return Oe(xe);Ye!=null&&Ye!==de.text&&(de.text=Ye,de.escaped=!0),Re--,Re===0&&Oe()})},0))}),Re===0&&Oe();return}function ye(de){if(de.message+=` Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"

An error occurred:

"+b(de.message+"",!0)+"
";throw de}try{var fe=ae.lex(De,Ie);if(Ie.walkTokens){if(Ie.async)return Promise.all(ue.walkTokens(fe,Ie.walkTokens)).then(function(){return ne.parse(fe,Ie)}).catch(ye);ue.walkTokens(fe,Ie.walkTokens)}return ne.parse(fe,Ie)}catch(de){ye(de)}}ue.options=ue.setOptions=function(De){return O(ue.defaults,De),u(ue.defaults),ue},ue.getDefaults=l,ue.defaults=e.defaults,ue.use=function(){for(var De=ue.defaults.extensions||{renderers:{},childTokens:{}},Ie=arguments.length,Be=new Array(Ie),we=0;we"u"||De===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof De!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(De)+", string expected");Ie=O({},ue.defaults,Ie||{}),F(Ie);try{var Be=ae.lexInline(De,Ie);return Ie.walkTokens&&ue.walkTokens(Be,Ie.walkTokens),ne.parseInline(Be,Ie)}catch(we){if(we.message+=` -Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"

An error occurred:

"+b(we.message+"",!0)+"
";throw we}},ue.Parser=ne,ue.parser=ne.parse,ue.Renderer=le,ue.TextRenderer=oe,ue.Lexer=ae,ue.lexer=ae.lex,ue.Tokenizer=G,ue.Slugger=ee,ue.parse=ue;var Ae=ue.options,ce=ue.setOptions,be=ue.use,ge=ue.walkTokens,ve=ue.parseInline,ie=ue,he=ne.parse,$e=ae.lex;e.Lexer=ae,e.Parser=ne,e.Renderer=le,e.Slugger=ee,e.TextRenderer=oe,e.Tokenizer=G,e.getDefaults=l,e.lexer=$e,e.marked=ue,e.options=Ae,e.parse=ie,e.parseInline=ve,e.parser=he,e.setOptions=ce,e.use=be,e.walkTokens=ge})(MVe);var iqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("javascript",function(r,i){var a=r.indentUnit,o=i.statementIndent,s=i.jsonld,l=i.json||s,u=i.trackScope!==!1,c=i.typescript,f=i.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function Xe(Ke){return{type:Ke,style:"keyword"}}var gt=Xe("keyword a"),Ct=Xe("keyword b"),Yt=Xe("keyword c"),or=Xe("keyword d"),kn=Xe("operator"),Rn={type:"atom",style:"atom"};return{if:Xe("if"),while:gt,with:gt,else:Ct,do:Ct,try:Ct,finally:Ct,return:or,break:or,continue:or,new:Xe("new"),delete:Yt,void:Yt,throw:Yt,debugger:Xe("debugger"),var:Xe("var"),const:Xe("var"),let:Xe("var"),function:Xe("function"),catch:Xe("catch"),for:Xe("for"),switch:Xe("switch"),case:Xe("case"),default:Xe("default"),in:kn,typeof:kn,instanceof:kn,true:Rn,false:Rn,null:Rn,undefined:Rn,NaN:Rn,Infinity:Rn,this:Xe("this"),class:Xe("class"),super:Xe("atom"),yield:Yt,export:Xe("export"),import:Xe("import"),extends:Yt,await:Yt}}(),h=/[+\-*&%=<>!?|~^@]/,p=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(Xe){for(var gt=!1,Ct,Yt=!1;(Ct=Xe.next())!=null;){if(!gt){if(Ct=="/"&&!Yt)return;Ct=="["?Yt=!0:Yt&&Ct=="]"&&(Yt=!1)}gt=!gt&&Ct=="\\"}}var b,m;function v(Xe,gt,Ct){return b=Xe,m=Ct,gt}function w(Xe,gt){var Ct=Xe.next();if(Ct=='"'||Ct=="'")return gt.tokenize=k(Ct),gt.tokenize(Xe,gt);if(Ct=="."&&Xe.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return v("number","number");if(Ct=="."&&Xe.match(".."))return v("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Ct))return v(Ct);if(Ct=="="&&Xe.eat(">"))return v("=>","operator");if(Ct=="0"&&Xe.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return v("number","number");if(/\d/.test(Ct))return Xe.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),v("number","number");if(Ct=="/")return Xe.eat("*")?(gt.tokenize=E,E(Xe,gt)):Xe.eat("/")?(Xe.skipToEnd(),v("comment","comment")):ra(Xe,gt,1)?(g(Xe),Xe.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),v("regexp","string-2")):(Xe.eat("="),v("operator","operator",Xe.current()));if(Ct=="`")return gt.tokenize=S,S(Xe,gt);if(Ct=="#"&&Xe.peek()=="!")return Xe.skipToEnd(),v("meta","meta");if(Ct=="#"&&Xe.eatWhile(f))return v("variable","property");if(Ct=="<"&&Xe.match("!--")||Ct=="-"&&Xe.match("->")&&!/\S/.test(Xe.string.slice(0,Xe.start)))return Xe.skipToEnd(),v("comment","comment");if(h.test(Ct))return(Ct!=">"||!gt.lexical||gt.lexical.type!=">")&&(Xe.eat("=")?(Ct=="!"||Ct=="=")&&Xe.eat("="):/[<>*+\-|&?]/.test(Ct)&&(Xe.eat(Ct),Ct==">"&&Xe.eat(Ct))),Ct=="?"&&Xe.eat(".")?v("."):v("operator","operator",Xe.current());if(f.test(Ct)){Xe.eatWhile(f);var Yt=Xe.current();if(gt.lastType!="."){if(d.propertyIsEnumerable(Yt)){var or=d[Yt];return v(or.type,or.style,Yt)}if(Yt=="async"&&Xe.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return v("async","keyword",Yt)}return v("variable","variable",Yt)}}function k(Xe){return function(gt,Ct){var Yt=!1,or;if(s&>.peek()=="@"&>.match(p))return Ct.tokenize=w,v("jsonld-keyword","meta");for(;(or=gt.next())!=null&&!(or==Xe&&!Yt);)Yt=!Yt&&or=="\\";return Yt||(Ct.tokenize=w),v("string","string")}}function E(Xe,gt){for(var Ct=!1,Yt;Yt=Xe.next();){if(Yt=="/"&&Ct){gt.tokenize=w;break}Ct=Yt=="*"}return v("comment","comment")}function S(Xe,gt){for(var Ct=!1,Yt;(Yt=Xe.next())!=null;){if(!Ct&&(Yt=="`"||Yt=="$"&&Xe.eat("{"))){gt.tokenize=w;break}Ct=!Ct&&Yt=="\\"}return v("quasi","string-2",Xe.current())}var T="([{}])";function L(Xe,gt){gt.fatArrowAt&&(gt.fatArrowAt=null);var Ct=Xe.string.indexOf("=>",Xe.start);if(!(Ct<0)){if(c){var Yt=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(Xe.string.slice(Xe.start,Ct));Yt&&(Ct=Yt.index)}for(var or=0,kn=!1,Rn=Ct-1;Rn>=0;--Rn){var Ke=Xe.string.charAt(Rn),wn=T.indexOf(Ke);if(wn>=0&&wn<3){if(!or){++Rn;break}if(--or==0){Ke=="("&&(kn=!0);break}}else if(wn>=3&&wn<6)++or;else if(f.test(Ke))kn=!0;else if(/["'\/`]/.test(Ke))for(;;--Rn){if(Rn==0)return;var Zn=Xe.string.charAt(Rn-1);if(Zn==Ke&&Xe.string.charAt(Rn-2)!="\\"){Rn--;break}}else if(kn&&!or){++Rn;break}}kn&&!or&&(gt.fatArrowAt=Rn)}}var M={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function D(Xe,gt,Ct,Yt,or,kn){this.indented=Xe,this.column=gt,this.type=Ct,this.prev=or,this.info=kn,Yt!=null&&(this.align=Yt)}function I(Xe,gt){if(!u)return!1;for(var Ct=Xe.localVars;Ct;Ct=Ct.next)if(Ct.name==gt)return!0;for(var Yt=Xe.context;Yt;Yt=Yt.prev)for(var Ct=Yt.vars;Ct;Ct=Ct.next)if(Ct.name==gt)return!0}function B(Xe,gt,Ct,Yt,or){var kn=Xe.cc;for(N.state=Xe,N.stream=or,N.marked=null,N.cc=kn,N.style=gt,Xe.lexical.hasOwnProperty("align")||(Xe.lexical.align=!0);;){var Rn=kn.length?kn.pop():l?ne:oe;if(Rn(Ct,Yt)){for(;kn.length&&kn[kn.length-1].lex;)kn.pop()();return N.marked?N.marked:Ct=="variable"&&I(Xe,Yt)?"variable-2":gt}}}var N={state:null,column:null,marked:null,cc:null};function O(){for(var Xe=arguments.length-1;Xe>=0;Xe--)N.cc.push(arguments[Xe])}function R(){return O.apply(null,arguments),!0}function P(Xe,gt){for(var Ct=gt;Ct;Ct=Ct.next)if(Ct.name==Xe)return!0;return!1}function H(Xe){var gt=N.state;if(N.marked="def",!!u){if(gt.context){if(gt.lexical.info=="var"&>.context&>.context.block){var Ct=F(Xe,gt.context);if(Ct!=null){gt.context=Ct;return}}else if(!P(Xe,gt.localVars)){gt.localVars=new X(Xe,gt.localVars);return}}i.globalVars&&!P(Xe,gt.globalVars)&&(gt.globalVars=new X(Xe,gt.globalVars))}}function F(Xe,gt){if(gt)if(gt.block){var Ct=F(Xe,gt.prev);return Ct?Ct==gt.prev?gt:new V(Ct,gt.vars,!0):null}else return P(Xe,gt.vars)?gt:new V(gt.prev,new X(Xe,gt.vars),!1);else return null}function q(Xe){return Xe=="public"||Xe=="private"||Xe=="protected"||Xe=="abstract"||Xe=="readonly"}function V(Xe,gt,Ct){this.prev=Xe,this.vars=gt,this.block=Ct}function X(Xe,gt){this.name=Xe,this.next=gt}var G=new X("this",new X("arguments",null));function J(){N.state.context=new V(N.state.context,N.state.localVars,!1),N.state.localVars=G}function te(){N.state.context=new V(N.state.context,N.state.localVars,!0),N.state.localVars=null}J.lex=te.lex=!0;function re(){N.state.localVars=N.state.context.vars,N.state.context=N.state.context.prev}re.lex=!0;function Q(Xe,gt){var Ct=function(){var Yt=N.state,or=Yt.indented;if(Yt.lexical.type=="stat")or=Yt.lexical.indented;else for(var kn=Yt.lexical;kn&&kn.type==")"&&kn.align;kn=kn.prev)or=kn.indented;Yt.lexical=new D(or,N.stream.column(),Xe,null,Yt.lexical,gt)};return Ct.lex=!0,Ct}function ae(){var Xe=N.state;Xe.lexical.prev&&(Xe.lexical.type==")"&&(Xe.indented=Xe.lexical.indented),Xe.lexical=Xe.lexical.prev)}ae.lex=!0;function le(Xe){function gt(Ct){return Ct==Xe?R():Xe==";"||Ct=="}"||Ct==")"||Ct=="]"?O():R(gt)}return gt}function oe(Xe,gt){return Xe=="var"?R(Q("vardef",gt),vn,le(";"),ae):Xe=="keyword a"?R(Q("form"),Ae,oe,ae):Xe=="keyword b"?R(Q("form"),oe,ae):Xe=="keyword d"?N.stream.match(/^\s*$/,!1)?R():R(Q("stat"),be,le(";"),ae):Xe=="debugger"?R(le(";")):Xe=="{"?R(Q("}"),te,Ye,ae,re):Xe==";"?R():Xe=="if"?(N.state.lexical.info=="else"&&N.state.cc[N.state.cc.length-1]==ae&&N.state.cc.pop()(),R(Q("form"),Ae,oe,ae,Gt)):Xe=="function"?R(yn):Xe=="for"?R(Q("form"),te,gn,oe,re,ae):Xe=="class"||c&>=="interface"?(N.marked="keyword",R(Q("form",Xe=="class"?Xe:gt),Dr,ae)):Xe=="variable"?c&>=="declare"?(N.marked="keyword",R(oe)):c&&(gt=="module"||gt=="enum"||gt=="type")&&N.stream.match(/^\s*\w/,!1)?(N.marked="keyword",gt=="enum"?R(Pi):gt=="type"?R(na,le("operator"),et,le(";")):R(Q("form"),$t,le("{"),Q("}"),Ye,ae,ae)):c&>=="namespace"?(N.marked="keyword",R(Q("form"),ne,oe,ae)):c&>=="abstract"?(N.marked="keyword",R(oe)):R(Q("stat"),je):Xe=="switch"?R(Q("form"),Ae,le("{"),Q("}","switch"),te,Ye,ae,ae,re):Xe=="case"?R(ne,le(":")):Xe=="default"?R(le(":")):Xe=="catch"?R(Q("form"),J,ee,oe,ae,re):Xe=="export"?R(Q("stat"),qt,ae):Xe=="import"?R(Q("stat"),fr,ae):Xe=="async"?R(oe):gt=="@"?R(ne,oe):O(Q("stat"),ne,le(";"),ae)}function ee(Xe){if(Xe=="(")return R(yi,le(")"))}function ne(Xe,gt){return ce(Xe,gt,!1)}function ue(Xe,gt){return ce(Xe,gt,!0)}function Ae(Xe){return Xe!="("?O():R(Q(")"),be,le(")"),ae)}function ce(Xe,gt,Ct){if(N.state.fatArrowAt==N.stream.start){var Yt=Ct?De:$e;if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,le("=>"),Yt,re);if(Xe=="variable")return O(J,$t,le("=>"),Yt,re)}var or=Ct?ve:ge;return M.hasOwnProperty(Xe)?R(or):Xe=="function"?R(yn,or):Xe=="class"||c&>=="interface"?(N.marked="keyword",R(Q("form"),gi,ae)):Xe=="keyword c"||Xe=="async"?R(Ct?ue:ne):Xe=="("?R(Q(")"),be,le(")"),ae,or):Xe=="operator"||Xe=="spread"?R(Ct?ue:ne):Xe=="["?R(Q("]"),Hr,ae,or):Xe=="{"?xe(Re,"}",null,or):Xe=="quasi"?O(ie,or):Xe=="new"?R(Ie(Ct)):R()}function be(Xe){return Xe.match(/[;\}\)\],]/)?O():O(ne)}function ge(Xe,gt){return Xe==","?R(be):ve(Xe,gt,!1)}function ve(Xe,gt,Ct){var Yt=Ct==!1?ge:ve,or=Ct==!1?ne:ue;if(Xe=="=>")return R(J,Ct?De:$e,re);if(Xe=="operator")return/\+\+|--/.test(gt)||c&>=="!"?R(Yt):c&>=="<"&&N.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?R(Q(">"),de(et,">"),ae,Yt):gt=="?"?R(ne,le(":"),or):R(or);if(Xe=="quasi")return O(ie,Yt);if(Xe!=";"){if(Xe=="(")return xe(ue,")","call",Yt);if(Xe==".")return R(Oe,Yt);if(Xe=="[")return R(Q("]"),be,le("]"),ae,Yt);if(c&>=="as")return N.marked="keyword",R(et,Yt);if(Xe=="regexp")return N.state.lastType=N.marked="operator",N.stream.backUp(N.stream.pos-N.stream.start-1),R(or)}}function ie(Xe,gt){return Xe!="quasi"?O():gt.slice(gt.length-2)!="${"?R(ie):R(be,he)}function he(Xe){if(Xe=="}")return N.marked="string-2",N.state.tokenize=S,R(ie)}function $e(Xe){return L(N.stream,N.state),O(Xe=="{"?oe:ne)}function De(Xe){return L(N.stream,N.state),O(Xe=="{"?oe:ue)}function Ie(Xe){return function(gt){return gt=="."?R(Xe?we:Be):gt=="variable"&&c?R(Lt,Xe?ve:ge):O(Xe?ue:ne)}}function Be(Xe,gt){if(gt=="target")return N.marked="keyword",R(ge)}function we(Xe,gt){if(gt=="target")return N.marked="keyword",R(ve)}function je(Xe){return Xe==":"?R(ae,oe):O(ge,le(";"),ae)}function Oe(Xe){if(Xe=="variable")return N.marked="property",R()}function Re(Xe,gt){if(Xe=="async")return N.marked="property",R(Re);if(Xe=="variable"||N.style=="keyword"){if(N.marked="property",gt=="get"||gt=="set")return R(ye);var Ct;return c&&N.state.fatArrowAt==N.stream.start&&(Ct=N.stream.match(/^\s*:\s*/,!1))&&(N.state.fatArrowAt=N.stream.pos+Ct[0].length),R(fe)}else{if(Xe=="number"||Xe=="string")return N.marked=s?"property":N.style+" property",R(fe);if(Xe=="jsonld-keyword")return R(fe);if(c&&q(gt))return N.marked="keyword",R(Re);if(Xe=="[")return R(ne,Ze,le("]"),fe);if(Xe=="spread")return R(ue,fe);if(gt=="*")return N.marked="keyword",R(Re);if(Xe==":")return O(fe)}}function ye(Xe){return Xe!="variable"?O(fe):(N.marked="property",R(yn))}function fe(Xe){if(Xe==":")return R(ue);if(Xe=="(")return O(yn)}function de(Xe,gt,Ct){function Yt(or,kn){if(Ct?Ct.indexOf(or)>-1:or==","){var Rn=N.state.lexical;return Rn.info=="call"&&(Rn.pos=(Rn.pos||0)+1),R(function(Ke,wn){return Ke==gt||wn==gt?O():O(Xe)},Yt)}return or==gt||kn==gt?R():Ct&&Ct.indexOf(";")>-1?O(Xe):R(le(gt))}return function(or,kn){return or==gt||kn==gt?R():O(Xe,Yt)}}function xe(Xe,gt,Ct){for(var Yt=3;Yt"),et);if(Xe=="quasi")return O(pt,yt)}function Ot(Xe){if(Xe=="=>")return R(et)}function jt(Xe){return Xe.match(/[\}\)\]]/)?R():Xe==","||Xe==";"?R(jt):O(xt,jt)}function xt(Xe,gt){if(Xe=="variable"||N.style=="keyword")return N.marked="property",R(xt);if(gt=="?"||Xe=="number"||Xe=="string")return R(xt);if(Xe==":")return R(et);if(Xe=="[")return R(le("variable"),st,le("]"),xt);if(Xe=="(")return O(Gn,xt);if(!Xe.match(/[;\}\)\],]/))return R()}function pt(Xe,gt){return Xe!="quasi"?O():gt.slice(gt.length-2)!="${"?R(pt):R(et,_t)}function _t(Xe){if(Xe=="}")return N.marked="string-2",N.state.tokenize=S,R(pt)}function ht(Xe,gt){return Xe=="variable"&&N.stream.match(/^\s*[?:]/,!1)||gt=="?"?R(ht):Xe==":"?R(et):Xe=="spread"?R(ht):O(et)}function yt(Xe,gt){if(gt=="<")return R(Q(">"),de(et,">"),ae,yt);if(gt=="|"||Xe=="."||gt=="&")return R(et);if(Xe=="[")return R(et,le("]"),yt);if(gt=="extends"||gt=="implements")return N.marked="keyword",R(et);if(gt=="?")return R(et,le(":"),et)}function Lt(Xe,gt){if(gt=="<")return R(Q(">"),de(et,">"),ae,yt)}function on(){return O(et,Ht)}function Ht(Xe,gt){if(gt=="=")return R(et)}function vn(Xe,gt){return gt=="enum"?(N.marked="keyword",R(Pi)):O($t,Ze,Ut,en)}function $t(Xe,gt){if(c&&q(gt))return N.marked="keyword",R($t);if(Xe=="variable")return H(gt),R();if(Xe=="spread")return R($t);if(Xe=="[")return xe(Wt,"]");if(Xe=="{")return xe(Tt,"}")}function Tt(Xe,gt){return Xe=="variable"&&!N.stream.match(/^\s*:/,!1)?(H(gt),R(Ut)):(Xe=="variable"&&(N.marked="property"),Xe=="spread"?R($t):Xe=="}"?O():Xe=="["?R(ne,le("]"),le(":"),Tt):R(le(":"),$t,Ut))}function Wt(){return O($t,Ut)}function Ut(Xe,gt){if(gt=="=")return R(ue)}function en(Xe){if(Xe==",")return R(vn)}function Gt(Xe,gt){if(Xe=="keyword b"&>=="else")return R(Q("form","else"),oe,ae)}function gn(Xe,gt){if(gt=="await")return R(gn);if(Xe=="(")return R(Q(")"),In,ae)}function In(Xe){return Xe=="var"?R(vn,Wn):Xe=="variable"?R(Wn):O(Wn)}function Wn(Xe,gt){return Xe==")"?R():Xe==";"?R(Wn):gt=="in"||gt=="of"?(N.marked="keyword",R(ne,Wn)):O(ne,Wn)}function yn(Xe,gt){if(gt=="*")return N.marked="keyword",R(yn);if(Xe=="variable")return H(gt),R(yn);if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,at,oe,re);if(c&>=="<")return R(Q(">"),de(on,">"),ae,yn)}function Gn(Xe,gt){if(gt=="*")return N.marked="keyword",R(Gn);if(Xe=="variable")return H(gt),R(Gn);if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,at,re);if(c&>=="<")return R(Q(">"),de(on,">"),ae,Gn)}function na(Xe,gt){if(Xe=="keyword"||Xe=="variable")return N.marked="type",R(na);if(gt=="<")return R(Q(">"),de(on,">"),ae)}function yi(Xe,gt){return gt=="@"&&R(ne,yi),Xe=="spread"?R(yi):c&&q(gt)?(N.marked="keyword",R(yi)):c&&Xe=="this"?R(Ze,Ut):O($t,Ze,Ut)}function gi(Xe,gt){return Xe=="variable"?Dr(Xe,gt):mi(Xe,gt)}function Dr(Xe,gt){if(Xe=="variable")return H(gt),R(mi)}function mi(Xe,gt){if(gt=="<")return R(Q(">"),de(on,">"),ae,mi);if(gt=="extends"||gt=="implements"||c&&Xe==",")return gt=="implements"&&(N.marked="keyword"),R(c?et:ne,mi);if(Xe=="{")return R(Q("}"),$n,ae)}function $n(Xe,gt){if(Xe=="async"||Xe=="variable"&&(gt=="static"||gt=="get"||gt=="set"||c&&q(gt))&&N.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return N.marked="keyword",R($n);if(Xe=="variable"||N.style=="keyword")return N.marked="property",R(Dt,$n);if(Xe=="number"||Xe=="string")return R(Dt,$n);if(Xe=="[")return R(ne,Ze,le("]"),Dt,$n);if(gt=="*")return N.marked="keyword",R($n);if(c&&Xe=="(")return O(Gn,$n);if(Xe==";"||Xe==",")return R($n);if(Xe=="}")return R();if(gt=="@")return R(ne,$n)}function Dt(Xe,gt){if(gt=="!"||gt=="?")return R(Dt);if(Xe==":")return R(et,Ut);if(gt=="=")return R(ue);var Ct=N.state.lexical.prev,Yt=Ct&&Ct.info=="interface";return O(Yt?Gn:yn)}function qt(Xe,gt){return gt=="*"?(N.marked="keyword",R(An,le(";"))):gt=="default"?(N.marked="keyword",R(ne,le(";"))):Xe=="{"?R(de(cn,"}"),An,le(";")):O(oe)}function cn(Xe,gt){if(gt=="as")return N.marked="keyword",R(le("variable"));if(Xe=="variable")return O(ue,cn)}function fr(Xe){return Xe=="string"?R():Xe=="("?O(ne):Xe=="."?O(ge):O(Mr,si,An)}function Mr(Xe,gt){return Xe=="{"?xe(Mr,"}"):(Xe=="variable"&&H(gt),gt=="*"&&(N.marked="keyword"),R(Bn))}function si(Xe){if(Xe==",")return R(Mr,si)}function Bn(Xe,gt){if(gt=="as")return N.marked="keyword",R(Mr)}function An(Xe,gt){if(gt=="from")return N.marked="keyword",R(ne)}function Hr(Xe){return Xe=="]"?R():O(de(ue,"]"))}function Pi(){return O(Q("form"),$t,le("{"),Q("}"),de(Ei,"}"),ae,ae)}function Ei(){return O($t,Ut)}function Pr(Xe,gt){return Xe.lastType=="operator"||Xe.lastType==","||h.test(gt.charAt(0))||/[,.]/.test(gt.charAt(0))}function ra(Xe,gt,Ct){return gt.tokenize==w&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(gt.lastType)||gt.lastType=="quasi"&&/\{\s*$/.test(Xe.string.slice(0,Xe.pos-(Ct||0)))}return{startState:function(Xe){var gt={tokenize:w,lastType:"sof",cc:[],lexical:new D((Xe||0)-a,0,"block",!1),localVars:i.localVars,context:i.localVars&&new V(null,null,!1),indented:Xe||0};return i.globalVars&&typeof i.globalVars=="object"&&(gt.globalVars=i.globalVars),gt},token:function(Xe,gt){if(Xe.sol()&&(gt.lexical.hasOwnProperty("align")||(gt.lexical.align=!1),gt.indented=Xe.indentation(),L(Xe,gt)),gt.tokenize!=E&&Xe.eatSpace())return null;var Ct=gt.tokenize(Xe,gt);return b=="comment"?Ct:(gt.lastType=b=="operator"&&(m=="++"||m=="--")?"incdec":b,B(gt,Ct,b,m,Xe))},indent:function(Xe,gt){if(Xe.tokenize==E||Xe.tokenize==S)return n.Pass;if(Xe.tokenize!=w)return 0;var Ct=gt&>.charAt(0),Yt=Xe.lexical,or;if(!/^\s*else\b/.test(gt))for(var kn=Xe.cc.length-1;kn>=0;--kn){var Rn=Xe.cc[kn];if(Rn==ae)Yt=Yt.prev;else if(Rn!=Gt&&Rn!=re)break}for(;(Yt.type=="stat"||Yt.type=="form")&&(Ct=="}"||(or=Xe.cc[Xe.cc.length-1])&&(or==ge||or==ve)&&!/^[,\.=+\-*:?[\(]/.test(gt));)Yt=Yt.prev;o&&Yt.type==")"&&Yt.prev.type=="stat"&&(Yt=Yt.prev);var Ke=Yt.type,wn=Ct==Ke;return Ke=="vardef"?Yt.indented+(Xe.lastType=="operator"||Xe.lastType==","?Yt.info.length+1:0):Ke=="form"&&Ct=="{"?Yt.indented:Ke=="form"?Yt.indented+a:Ke=="stat"?Yt.indented+(Pr(Xe,gt)?o||a:0):Yt.info=="switch"&&!wn&&i.doubleIndentSwitch!=!1?Yt.indented+(/^(?:case|default)\b/.test(gt)?a:2*a):Yt.align?Yt.column+(wn?0:1):Yt.indented+(wn?0:a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:ra,skipExpression:function(Xe){B(Xe,"atom","atom","true",new n.StringStream("",2,null))}}}),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/manifest+json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var $$=iqn.exports;(function(e,t){(function(n){n(jr)})(function(n){function r(u){return new RegExp("^(("+u.join(")|(")+"))\\b")}var i=r(["and","or","not","is"]),a=["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"],o=["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__"];n.registerHelper("hintWords","python",a.concat(o).concat(["exec","print"]));function s(u){return u.scopes[u.scopes.length-1]}n.defineMode("python",function(u,c){for(var f="error",d=c.delimiters||c.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,h=[c.singleOperators,c.doubleOperators,c.doubleDelimiters,c.tripleDelimiters,c.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],p=0;pq?I(H):V0&&N(P,H)&&(X+=" "+f),X}}return L(P,H)}function L(P,H,F){if(P.eatSpace())return null;if(!F&&P.match(/^#.*/))return"comment";if(P.match(/^[0-9\.]/,!1)){var q=!1;if(P.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(q=!0),P.match(/^[\d_]+\.\d*/)&&(q=!0),P.match(/^\.\d+/)&&(q=!0),q)return P.eat(/J/i),"number";var V=!1;if(P.match(/^0x[0-9a-f_]+/i)&&(V=!0),P.match(/^0b[01_]+/i)&&(V=!0),P.match(/^0o[0-7_]+/i)&&(V=!0),P.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(P.eat(/J/i),V=!0),P.match(/^0(?![\dx])/i)&&(V=!0),V)return P.eat(/L/i),"number"}if(P.match(k)){var X=P.current().toLowerCase().indexOf("f")!==-1;return X?(H.tokenize=M(P.current(),H.tokenize),H.tokenize(P,H)):(H.tokenize=D(P.current(),H.tokenize),H.tokenize(P,H))}for(var G=0;G=0;)P=P.substr(1);var F=P.length==1,q="string";function V(G){return function(J,te){var re=L(J,te,!0);return re=="punctuation"&&(J.current()=="{"?te.tokenize=V(G+1):J.current()=="}"&&(G>1?te.tokenize=V(G-1):te.tokenize=X)),re}}function X(G,J){for(;!G.eol();)if(G.eatWhile(/[^'"\{\}\\]/),G.eat("\\")){if(G.next(),F&&G.eol())return q}else{if(G.match(P))return J.tokenize=H,q;if(G.match("{{"))return q;if(G.match("{",!1))return J.tokenize=V(0),G.current()?q:J.tokenize(G,J);if(G.match("}}"))return q;if(G.match("}"))return f;G.eat(/['"]/)}if(F){if(c.singleLineStringErrors)return f;J.tokenize=H}return q}return X.isString=!0,X}function D(P,H){for(;"rubf".indexOf(P.charAt(0).toLowerCase())>=0;)P=P.substr(1);var F=P.length==1,q="string";function V(X,G){for(;!X.eol();)if(X.eatWhile(/[^'"\\]/),X.eat("\\")){if(X.next(),F&&X.eol())return q}else{if(X.match(P))return G.tokenize=H,q;X.eat(/['"]/)}if(F){if(c.singleLineStringErrors)return f;G.tokenize=H}return q}return V.isString=!0,V}function I(P){for(;s(P).type!="py";)P.scopes.pop();P.scopes.push({offset:s(P).offset+u.indentUnit,type:"py",align:null})}function B(P,H,F){var q=P.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:P.column()+1;H.scopes.push({offset:H.indent+g,type:F,align:q})}function N(P,H){for(var F=P.indentation();H.scopes.length>1&&s(H).offset>F;){if(s(H).type!="py")return!0;H.scopes.pop()}return s(H).offset!=F}function O(P,H){P.sol()&&(H.beginningOfLine=!0,H.dedent=!1);var F=H.tokenize(P,H),q=P.current();if(H.beginningOfLine&&q=="@")return P.match(w,!1)?"meta":v?"operator":f;if(/\S/.test(q)&&(H.beginningOfLine=!1),(F=="variable"||F=="builtin")&&H.lastToken=="meta"&&(F="meta"),(q=="pass"||q=="return")&&(H.dedent=!0),q=="lambda"&&(H.lambda=!0),q==":"&&!H.lambda&&s(H).type=="py"&&P.match(/^\s*(?:#|$)/,!1)&&I(H),q.length==1&&!/string|comment/.test(F)){var V="[({".indexOf(q);if(V!=-1&&B(P,H,"])}".slice(V,V+1)),V="])}".indexOf(q),V!=-1)if(s(H).type==q)H.indent=H.scopes.pop().offset-g;else return f}return H.dedent&&P.eol()&&s(H).type=="py"&&H.scopes.length>1&&H.scopes.pop(),F}var R={startState:function(P){return{tokenize:T,scopes:[{offset:P||0,type:"py",align:null}],indent:P||0,lastToken:null,lambda:!1,dedent:0}},token:function(P,H){var F=H.errorToken;F&&(H.errorToken=!1);var q=O(P,H);return q&&q!="comment"&&(H.lastToken=q=="keyword"||q=="punctuation"?P.current():q),q=="punctuation"&&(q=null),P.eol()&&H.lambda&&(H.lambda=!1),F?q+" "+f:q},indent:function(P,H){if(P.tokenize!=T)return P.tokenize.isString?n.Pass:0;var F=s(P),q=F.type==H.charAt(0)||F.type=="py"&&!P.dedent&&/^(else:|elif |except |finally:)/.test(H);return F.align!=null?F.align-(q?1:0):F.offset-(q?g:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return R}),n.defineMIME("text/x-python","python");var l=function(u){return u.split(" ")};n.defineMIME("text/x-cython",{name:"python",extra_keywords:l("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var aqn={exports:{}},oqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("css",function(D,I){var B=I.inline;I.propertyKeywords||(I=n.resolveMode("text/css"));var N=D.indentUnit,O=I.tokenHooks,R=I.documentTypes||{},P=I.mediaTypes||{},H=I.mediaFeatures||{},F=I.mediaValueKeywords||{},q=I.propertyKeywords||{},V=I.nonStandardPropertyKeywords||{},X=I.fontProperties||{},G=I.counterDescriptors||{},J=I.colorKeywords||{},te=I.valueKeywords||{},re=I.allowNested,Q=I.lineComment,ae=I.supportsAtComponent===!0,le=D.highlightNonStandardPropertyKeywords!==!1,oe,ee;function ne(Ie,Be){return oe=Be,Ie}function ue(Ie,Be){var we=Ie.next();if(O[we]){var je=O[we](Ie,Be);if(je!==!1)return je}if(we=="@")return Ie.eatWhile(/[\w\\\-]/),ne("def",Ie.current());if(we=="="||(we=="~"||we=="|")&&Ie.eat("="))return ne(null,"compare");if(we=='"'||we=="'")return Be.tokenize=Ae(we),Be.tokenize(Ie,Be);if(we=="#")return Ie.eatWhile(/[\w\\\-]/),ne("atom","hash");if(we=="!")return Ie.match(/^\s*\w*/),ne("keyword","important");if(/\d/.test(we)||we=="."&&Ie.eat(/\d/))return Ie.eatWhile(/[\w.%]/),ne("number","unit");if(we==="-"){if(/[\d.]/.test(Ie.peek()))return Ie.eatWhile(/[\w.%]/),ne("number","unit");if(Ie.match(/^-[\w\\\-]*/))return Ie.eatWhile(/[\w\\\-]/),Ie.match(/^\s*:/,!1)?ne("variable-2","variable-definition"):ne("variable-2","variable");if(Ie.match(/^\w+-/))return ne("meta","meta")}else return/[,+>*\/]/.test(we)?ne(null,"select-op"):we=="."&&Ie.match(/^-?[_a-z][_a-z0-9-]*/i)?ne("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(we)?ne(null,we):Ie.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Ie.current())&&(Be.tokenize=ce),ne("variable callee","variable")):/[\w\\\-]/.test(we)?(Ie.eatWhile(/[\w\\\-]/),ne("property","word")):ne(null,null)}function Ae(Ie){return function(Be,we){for(var je=!1,Oe;(Oe=Be.next())!=null;){if(Oe==Ie&&!je){Ie==")"&&Be.backUp(1);break}je=!je&&Oe=="\\"}return(Oe==Ie||!je&&Ie!=")")&&(we.tokenize=null),ne("string","string")}}function ce(Ie,Be){return Ie.next(),Ie.match(/^\s*[\"\')]/,!1)?Be.tokenize=null:Be.tokenize=Ae(")"),ne(null,"(")}function be(Ie,Be,we){this.type=Ie,this.indent=Be,this.prev=we}function ge(Ie,Be,we,je){return Ie.context=new be(we,Be.indentation()+(je===!1?0:N),Ie.context),we}function ve(Ie){return Ie.context.prev&&(Ie.context=Ie.context.prev),Ie.context.type}function ie(Ie,Be,we){return De[we.context.type](Ie,Be,we)}function he(Ie,Be,we,je){for(var Oe=je||1;Oe>0;Oe--)we.context=we.context.prev;return ie(Ie,Be,we)}function $e(Ie){var Be=Ie.current().toLowerCase();te.hasOwnProperty(Be)?ee="atom":J.hasOwnProperty(Be)?ee="keyword":ee="variable"}var De={};return De.top=function(Ie,Be,we){if(Ie=="{")return ge(we,Be,"block");if(Ie=="}"&&we.context.prev)return ve(we);if(ae&&/@component/i.test(Ie))return ge(we,Be,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Ie))return ge(we,Be,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Ie))return ge(we,Be,"atBlock");if(/^@(font-face|counter-style)/i.test(Ie))return we.stateArg=Ie,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Ie))return"keyframes";if(Ie&&Ie.charAt(0)=="@")return ge(we,Be,"at");if(Ie=="hash")ee="builtin";else if(Ie=="word")ee="tag";else{if(Ie=="variable-definition")return"maybeprop";if(Ie=="interpolation")return ge(we,Be,"interpolation");if(Ie==":")return"pseudo";if(re&&Ie=="(")return ge(we,Be,"parens")}return we.context.type},De.block=function(Ie,Be,we){if(Ie=="word"){var je=Be.current().toLowerCase();return q.hasOwnProperty(je)?(ee="property","maybeprop"):V.hasOwnProperty(je)?(ee=le?"string-2":"property","maybeprop"):re?(ee=Be.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ee+=" error","maybeprop")}else return Ie=="meta"?"block":!re&&(Ie=="hash"||Ie=="qualifier")?(ee="error","block"):De.top(Ie,Be,we)},De.maybeprop=function(Ie,Be,we){return Ie==":"?ge(we,Be,"prop"):ie(Ie,Be,we)},De.prop=function(Ie,Be,we){if(Ie==";")return ve(we);if(Ie=="{"&&re)return ge(we,Be,"propBlock");if(Ie=="}"||Ie=="{")return he(Ie,Be,we);if(Ie=="(")return ge(we,Be,"parens");if(Ie=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Be.current()))ee+=" error";else if(Ie=="word")$e(Be);else if(Ie=="interpolation")return ge(we,Be,"interpolation");return"prop"},De.propBlock=function(Ie,Be,we){return Ie=="}"?ve(we):Ie=="word"?(ee="property","maybeprop"):we.context.type},De.parens=function(Ie,Be,we){return Ie=="{"||Ie=="}"?he(Ie,Be,we):Ie==")"?ve(we):Ie=="("?ge(we,Be,"parens"):Ie=="interpolation"?ge(we,Be,"interpolation"):(Ie=="word"&&$e(Be),"parens")},De.pseudo=function(Ie,Be,we){return Ie=="meta"?"pseudo":Ie=="word"?(ee="variable-3",we.context.type):ie(Ie,Be,we)},De.documentTypes=function(Ie,Be,we){return Ie=="word"&&R.hasOwnProperty(Be.current())?(ee="tag",we.context.type):De.atBlock(Ie,Be,we)},De.atBlock=function(Ie,Be,we){if(Ie=="(")return ge(we,Be,"atBlock_parens");if(Ie=="}"||Ie==";")return he(Ie,Be,we);if(Ie=="{")return ve(we)&&ge(we,Be,re?"block":"top");if(Ie=="interpolation")return ge(we,Be,"interpolation");if(Ie=="word"){var je=Be.current().toLowerCase();je=="only"||je=="not"||je=="and"||je=="or"?ee="keyword":P.hasOwnProperty(je)?ee="attribute":H.hasOwnProperty(je)?ee="property":F.hasOwnProperty(je)?ee="keyword":q.hasOwnProperty(je)?ee="property":V.hasOwnProperty(je)?ee=le?"string-2":"property":te.hasOwnProperty(je)?ee="atom":J.hasOwnProperty(je)?ee="keyword":ee="error"}return we.context.type},De.atComponentBlock=function(Ie,Be,we){return Ie=="}"?he(Ie,Be,we):Ie=="{"?ve(we)&&ge(we,Be,re?"block":"top",!1):(Ie=="word"&&(ee="error"),we.context.type)},De.atBlock_parens=function(Ie,Be,we){return Ie==")"?ve(we):Ie=="{"||Ie=="}"?he(Ie,Be,we,2):De.atBlock(Ie,Be,we)},De.restricted_atBlock_before=function(Ie,Be,we){return Ie=="{"?ge(we,Be,"restricted_atBlock"):Ie=="word"&&we.stateArg=="@counter-style"?(ee="variable","restricted_atBlock_before"):ie(Ie,Be,we)},De.restricted_atBlock=function(Ie,Be,we){return Ie=="}"?(we.stateArg=null,ve(we)):Ie=="word"?(we.stateArg=="@font-face"&&!X.hasOwnProperty(Be.current().toLowerCase())||we.stateArg=="@counter-style"&&!G.hasOwnProperty(Be.current().toLowerCase())?ee="error":ee="property","maybeprop"):"restricted_atBlock"},De.keyframes=function(Ie,Be,we){return Ie=="word"?(ee="variable","keyframes"):Ie=="{"?ge(we,Be,"top"):ie(Ie,Be,we)},De.at=function(Ie,Be,we){return Ie==";"?ve(we):Ie=="{"||Ie=="}"?he(Ie,Be,we):(Ie=="word"?ee="tag":Ie=="hash"&&(ee="builtin"),"at")},De.interpolation=function(Ie,Be,we){return Ie=="}"?ve(we):Ie=="{"||Ie==";"?he(Ie,Be,we):(Ie=="word"?ee="variable":Ie!="variable"&&Ie!="("&&Ie!=")"&&(ee="error"),"interpolation")},{startState:function(Ie){return{tokenize:null,state:B?"block":"top",stateArg:null,context:new be(B?"block":"top",Ie||0,null)}},token:function(Ie,Be){if(!Be.tokenize&&Ie.eatSpace())return null;var we=(Be.tokenize||ue)(Ie,Be);return we&&typeof we=="object"&&(oe=we[1],we=we[0]),ee=we,oe!="comment"&&(Be.state=De[Be.state](oe,Ie,Be)),ee},indent:function(Ie,Be){var we=Ie.context,je=Be&&Be.charAt(0),Oe=we.indent;return we.type=="prop"&&(je=="}"||je==")")&&(we=we.prev),we.prev&&(je=="}"&&(we.type=="block"||we.type=="top"||we.type=="interpolation"||we.type=="restricted_atBlock")?(we=we.prev,Oe=we.indent):(je==")"&&(we.type=="parens"||we.type=="atBlock_parens")||je=="{"&&(we.type=="at"||we.type=="atBlock"))&&(Oe=Math.max(0,we.indent-N))),Oe},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Q,fold:"brace"}});function r(D){for(var I={},B=0;B-1?f.backUp(p.length-g):p.match(/<\/?$/)&&(f.backUp(p.length),f.match(d,!1)||f.match(p)),h}var a={};function o(f){var d=a[f];return d||(a[f]=new RegExp("\\s+"+f+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function s(f,d){var h=f.match(o(d));return h?/^\s*(.*?)\s*$/.exec(h[2])[1]:""}function l(f,d){return new RegExp((d?"^":"")+"","i")}function u(f,d){for(var h in f)for(var p=d[h]||(d[h]=[]),g=f[h],b=g.length-1;b>=0;b--)p.unshift(g[b])}function c(f,d){for(var h=0;h=0;m--)p.script.unshift(["type",b[m].matches,b[m].mode]);function v(w,k){var E=h.token(w,k.htmlState),S=/\btag\b/.test(E),T;if(S&&!/[<>\s\/]/.test(w.current())&&(T=k.htmlState.tagName&&k.htmlState.tagName.toLowerCase())&&p.hasOwnProperty(T))k.inTag=T+" ";else if(k.inTag&&S&&/>$/.test(w.current())){var L=/^([\S]+) (.*)/.exec(k.inTag);k.inTag=null;var M=w.current()==">"&&c(p[L[1]],L[2]),D=n.getMode(f,M),I=l(L[1],!0),B=l(L[1],!1);k.token=function(N,O){return N.match(I,!1)?(O.token=v,O.localState=O.localMode=null,null):i(N,B,O.localMode.token(N,O.localState))},k.localMode=D,k.localState=n.startState(D,h.indent(k.htmlState,"",""))}else k.inTag&&(k.inTag+=w.current(),w.eol()&&(k.inTag+=" "));return E}return{startState:function(){var w=n.startState(h);return{token:v,inTag:null,localMode:null,localState:null,htmlState:w}},copyState:function(w){var k;return w.localState&&(k=n.copyState(w.localMode,w.localState)),{token:w.token,inTag:w.inTag,localMode:w.localMode,localState:k,htmlState:n.copyState(h,w.htmlState)}},token:function(w,k){return k.token(w,k)},indent:function(w,k,E){return!w.localMode||/^\s*<\//.test(k)?h.indent(w.htmlState,k,E):w.localMode.indent?w.localMode.indent(w.localState,k,E):n.Pass},innerMode:function(w){return{state:w.localState||w.htmlState,mode:w.localMode||h}}}},"xml","javascript","css"),n.defineMIME("text/html","htmlmixed")})})();var Ghe=aqn.exports,dke={exports:{}},hke;function sqn(){return hke||(hke=1,function(e,t){(function(n){n(jr)})(function(n){function r(F,q,V,X,G,J){this.indented=F,this.column=q,this.type=V,this.info=X,this.align=G,this.prev=J}function i(F,q,V,X){var G=F.indented;return F.context&&F.context.type=="statement"&&V!="statement"&&(G=F.context.indented),F.context=new r(G,q,V,X,null,F.context)}function a(F){var q=F.context.type;return(q==")"||q=="]"||q=="}")&&(F.indented=F.context.indented),F.context=F.context.prev}function o(F,q,V){if(q.prevToken=="variable"||q.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(F.string.slice(0,V))||q.typeAtEndOfLine&&F.column()==F.indentation())return!0}function s(F){for(;;){if(!F||F.type=="top")return!0;if(F.type=="}"&&F.prev.info!="namespace")return!1;F=F.prev}}n.defineMode("clike",function(F,q){var V=F.indentUnit,X=q.statementIndentUnit||V,G=q.dontAlignCalls,J=q.keywords||{},te=q.types||{},re=q.builtin||{},Q=q.blockKeywords||{},ae=q.defKeywords||{},le=q.atoms||{},oe=q.hooks||{},ee=q.multiLineStrings,ne=q.indentStatements!==!1,ue=q.indentSwitch!==!1,Ae=q.namespaceSeparator,ce=q.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,be=q.numberStart||/[\d\.]/,ge=q.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,ve=q.isOperatorChar||/[+\-*&%=<>!?|\/]/,ie=q.isIdentifierChar||/[\w\$_\xa1-\uffff]/,he=q.isReservedIdentifier||!1,$e,De;function Ie(Oe,Re){var ye=Oe.next();if(oe[ye]){var fe=oe[ye](Oe,Re);if(fe!==!1)return fe}if(ye=='"'||ye=="'")return Re.tokenize=Be(ye),Re.tokenize(Oe,Re);if(be.test(ye)){if(Oe.backUp(1),Oe.match(ge))return"number";Oe.next()}if(ce.test(ye))return $e=ye,null;if(ye=="/"){if(Oe.eat("*"))return Re.tokenize=we,we(Oe,Re);if(Oe.eat("/"))return Oe.skipToEnd(),"comment"}if(ve.test(ye)){for(;!Oe.match(/^\/[\/*]/,!1)&&Oe.eat(ve););return"operator"}if(Oe.eatWhile(ie),Ae)for(;Oe.match(Ae);)Oe.eatWhile(ie);var de=Oe.current();return u(J,de)?(u(Q,de)&&($e="newstatement"),u(ae,de)&&(De=!0),"keyword"):u(te,de)?"type":u(re,de)||he&&he(de)?(u(Q,de)&&($e="newstatement"),"builtin"):u(le,de)?"atom":"variable"}function Be(Oe){return function(Re,ye){for(var fe=!1,de,xe=!1;(de=Re.next())!=null;){if(de==Oe&&!fe){xe=!0;break}fe=!fe&&de=="\\"}return(xe||!(fe||ee))&&(ye.tokenize=null),"string"}}function we(Oe,Re){for(var ye=!1,fe;fe=Oe.next();){if(fe=="/"&&ye){Re.tokenize=null;break}ye=fe=="*"}return"comment"}function je(Oe,Re){q.typeFirstDefinitions&&Oe.eol()&&s(Re.context)&&(Re.typeAtEndOfLine=o(Oe,Re,Oe.pos))}return{startState:function(Oe){return{tokenize:null,context:new r((Oe||0)-V,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(Oe,Re){var ye=Re.context;if(Oe.sol()&&(ye.align==null&&(ye.align=!1),Re.indented=Oe.indentation(),Re.startOfLine=!0),Oe.eatSpace())return je(Oe,Re),null;$e=De=null;var fe=(Re.tokenize||Ie)(Oe,Re);if(fe=="comment"||fe=="meta")return fe;if(ye.align==null&&(ye.align=!0),$e==";"||$e==":"||$e==","&&Oe.match(/^\s*(?:\/\/.*)?$/,!1))for(;Re.context.type=="statement";)a(Re);else if($e=="{")i(Re,Oe.column(),"}");else if($e=="[")i(Re,Oe.column(),"]");else if($e=="(")i(Re,Oe.column(),")");else if($e=="}"){for(;ye.type=="statement";)ye=a(Re);for(ye.type=="}"&&(ye=a(Re));ye.type=="statement";)ye=a(Re)}else $e==ye.type?a(Re):ne&&((ye.type=="}"||ye.type=="top")&&$e!=";"||ye.type=="statement"&&$e=="newstatement")&&i(Re,Oe.column(),"statement",Oe.current());if(fe=="variable"&&(Re.prevToken=="def"||q.typeFirstDefinitions&&o(Oe,Re,Oe.start)&&s(Re.context)&&Oe.match(/^\s*\(/,!1))&&(fe="def"),oe.token){var de=oe.token(Oe,Re,fe);de!==void 0&&(fe=de)}return fe=="def"&&q.styleDefs===!1&&(fe="variable"),Re.startOfLine=!1,Re.prevToken=De?"def":fe||$e,je(Oe,Re),fe},indent:function(Oe,Re){if(Oe.tokenize!=Ie&&Oe.tokenize!=null||Oe.typeAtEndOfLine)return n.Pass;var ye=Oe.context,fe=Re&&Re.charAt(0),de=fe==ye.type;if(ye.type=="statement"&&fe=="}"&&(ye=ye.prev),q.dontIndentStatements)for(;ye.type=="statement"&&q.dontIndentStatements.test(ye.info);)ye=ye.prev;if(oe.indent){var xe=oe.indent(Oe,ye,Re,V);if(typeof xe=="number")return xe}var Ye=ye.prev&&ye.prev.info=="switch";if(q.allmanIndentation&&/[{(]/.test(fe)){for(;ye.type!="top"&&ye.type!="}";)ye=ye.prev;return ye.indented}return ye.type=="statement"?ye.indented+(fe=="{"?0:X):ye.align&&(!G||ye.type!=")")?ye.column+(de?0:1):ye.type==")"&&!de?ye.indented+X:ye.indented+(de?0:V)+(!de&&Ye&&!/^(?:case|default)\b/.test(Re)?V:0)},electricInput:ue?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function l(F){for(var q={},V=F.split(" "),X=0;X!?|\/#:@]/,hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},'"':function(F,q){return F.match('""')?(q.tokenize=N,q.tokenize(F,q)):!1},"'":function(F){return F.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(F,q){var V=q.context;return V.type=="}"&&V.align&&F.eat(">")?(q.context=new r(V.indented,V.column,V.type,V.info,null,V.prev),"operator"):!1},"/":function(F,q){return F.eat("*")?(q.tokenize=O(1),q.tokenize(F,q)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function R(F){return function(q,V){for(var X=!1,G,J=!1;!q.eol();){if(!F&&!X&&q.match('"')){J=!0;break}if(F&&q.match('"""')){J=!0;break}G=q.next(),!X&&G=="$"&&q.match("{")&&q.skipTo("}"),X=!X&&G=="\\"&&!F}return(J||!F)&&(V.tokenize=null),"string"}}B("text/x-kotlin",{name:"clike",keywords:l("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:l("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:l("catch class do else finally for if where try while enum"),defKeywords:l("class val var object interface fun"),atoms:l("true false null this"),hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},"*":function(F,q){return q.prevToken=="."?"variable":"operator"},'"':function(F,q){return q.tokenize=R(F.match('""')),q.tokenize(F,q)},"/":function(F,q){return F.eat("*")?(q.tokenize=O(1),q.tokenize(F,q)):!1},indent:function(F,q,V,X){var G=V&&V.charAt(0);if((F.prevToken=="}"||F.prevToken==")")&&V=="")return F.indented;if(F.prevToken=="operator"&&V!="}"&&F.context.type!="}"||F.prevToken=="variable"&&G=="."||(F.prevToken=="}"||F.prevToken==")")&&G==".")return X*2+q.indented;if(q.align&&q.type=="}")return q.indented+(F.context.type==(V||"").charAt(0)?0:X)}},modeProps:{closeBrackets:{triples:'"'}}}),B(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:l("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:l("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:l("for while do if else struct"),builtin:l("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:l("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:{"#":k},modeProps:{fold:["brace","include"]}}),B("text/x-nesc",{name:"clike",keywords:l(c+" 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:b,blockKeywords:l(v),atoms:l("null true false"),hooks:{"#":k},modeProps:{fold:["brace","include"]}}),B("text/x-objectivec",{name:"clike",keywords:l(c+" "+d),types:m,builtin:l(h),blockKeywords:l(v+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:l(w+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:l("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:S,hooks:{"#":k,"*":E},modeProps:{fold:["brace","include"]}}),B("text/x-objectivec++",{name:"clike",keywords:l(c+" "+d+" "+f),types:m,builtin:l(h),blockKeywords:l(v+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:l(w+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:l("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:S,hooks:{"#":k,"*":E,u:L,U:L,L,R:L,0:T,1:T,2:T,3:T,4:T,5:T,6:T,7:T,8:T,9:T,token:function(F,q,V){if(V=="variable"&&F.peek()=="("&&(q.prevToken==";"||q.prevToken==null||q.prevToken=="}")&&M(F.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),B("text/x-squirrel",{name:"clike",keywords:l("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:b,blockKeywords:l("case catch class else for foreach if switch try while"),defKeywords:l("function local class"),typeFirstDefinitions:!0,atoms:l("true false null"),hooks:{"#":k},modeProps:{fold:["brace","include"]}});var P=null;function H(F){return function(q,V){for(var X=!1,G,J=!1;!q.eol();){if(!X&&q.match('"')&&(F=="single"||q.match('""'))){J=!0;break}if(!X&&q.match("``")){P=H(F),J=!0;break}G=q.next(),X=F=="single"&&!X&&G=="\\"}return J&&(V.tokenize=null),"string"}}B("text/x-ceylon",{name:"clike",keywords:l("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(F){var q=F.charAt(0);return q===q.toUpperCase()&&q!==q.toLowerCase()},blockKeywords:l("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:l("class dynamic function interface module object package value"),builtin:l("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:l("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},'"':function(F,q){return q.tokenize=H(F.match('""')?"triple":"single"),q.tokenize(F,q)},"`":function(F,q){return!P||!F.match("`")?!1:(q.tokenize=P,P=null,q.tokenize(F,q))},"'":function(F){return F.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(F,q,V){if((V=="variable"||V=="type")&&q.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})}()),dke.exports}(function(e,t){(function(n){n(jr,Ghe,sqn())})(function(n){function r(f){for(var d={},h=f.split(" "),p=0;p\w/,!1)&&(d.tokenize=i([[["->",null]],[[/[\w]+/,"variable"]]],h,p)),"variable-2";for(var g=!1;!f.eol()&&(g||p===!1||!f.match("{$",!1)&&!f.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!g&&f.match(h)){d.tokenize=null,d.tokStack.pop(),d.tokStack.pop();break}g=f.next()=="\\"&&!g}return"string"}var s="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",l="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",u="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";n.registerHelper("hintWords","php",[s,l,u].join(" ").split(" ")),n.registerHelper("wordChars","php",/[\w$]/);var c={name:"clike",helperType:"php",keywords:r(s),blockKeywords:r("catch do else elseif for foreach if switch try while finally"),defKeywords:r("class enum function interface namespace trait"),atoms:r(l),builtin:r(u),multiLineStrings:!0,hooks:{$:function(f){return f.eatWhile(/[\w\$_]/),"variable-2"},"<":function(f,d){var h;if(h=f.match(/^<<\s*/)){var p=f.eat(/['"]/);f.eatWhile(/[\w\.]/);var g=f.current().slice(h[0].length+(p?2:1));if(p&&f.eat(p),g)return(d.tokStack||(d.tokStack=[])).push(g,0),d.tokenize=a(g,p!="'"),"string"}return!1},"#":function(f){for(;!f.eol()&&!f.match("?>",!1);)f.next();return"comment"},"/":function(f){if(f.eat("/")){for(;!f.eol()&&!f.match("?>",!1);)f.next();return"comment"}return!1},'"':function(f,d){return(d.tokStack||(d.tokStack=[])).push('"',0),d.tokenize=a('"'),"string"},"{":function(f,d){return d.tokStack&&d.tokStack.length&&d.tokStack[d.tokStack.length-1]++,!1},"}":function(f,d){return d.tokStack&&d.tokStack.length>0&&!--d.tokStack[d.tokStack.length-1]&&(d.tokenize=a(d.tokStack[d.tokStack.length-2])),!1}}};n.defineMode("php",function(f,d){var h=n.getMode(f,d&&d.htmlMode||"text/html"),p=n.getMode(f,c);function g(b,m){var v=m.curMode==p;if(b.sol()&&m.pending&&m.pending!='"'&&m.pending!="'"&&(m.pending=null),v)return v&&m.php.tokenize==null&&b.match("?>")?(m.curMode=h,m.curState=m.html,m.php.context.prev||(m.php=null),"meta"):p.token(b,m.curState);if(b.match(/^<\?\w*/))return m.curMode=p,m.php||(m.php=n.startState(p,h.indent(m.html,"",""))),m.curState=m.php,"meta";if(m.pending=='"'||m.pending=="'"){for(;!b.eol()&&b.next()!=m.pending;);var w="string"}else if(m.pending&&b.pos/.test(k)?m.pending=S[0]:m.pending={end:b.pos,style:w},b.backUp(k.length-E)),w}return{startState:function(){var b=n.startState(h),m=d.startOpen?n.startState(p):null;return{html:b,php:m,curMode:d.startOpen?p:h,curState:d.startOpen?m:b,pending:null}},copyState:function(b){var m=b.html,v=n.copyState(h,m),w=b.php,k=w&&n.copyState(p,w),E;return b.curMode==h?E=v:E=k,{html:v,php:k,curMode:b.curMode,curState:E,pending:b.pending}},token:g,indent:function(b,m,v){return b.curMode!=p&&/^\s*<\//.test(m)||b.curMode==p&&/^\?>/.test(m)?h.indent(b.html,m,v):b.curMode.indent(b.curState,m,v)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(b){return{state:b.curState,mode:b.curMode}}}},"htmlmixed","clike"),n.defineMIME("application/x-httpd-php","php"),n.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),n.defineMIME("text/x-php",c)})})();(function(e,t){(function(n){n(jr)})(function(n){function r(c){for(var f={},d=0,h=c.length;d]/)?(k.eat(/[\<\>]/),"atom"):k.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":k.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(k.eatWhile(/[\w$\xa1-\uffff]/),k.eat(/[\?\!\=]/),"atom"):"operator";if(S=="@"&&k.match(/^@?[a-zA-Z_\xa1-\uffff]/))return k.eat("@"),k.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(S=="$")return k.eat(/[a-zA-Z_]/)?k.eatWhile(/[\w]/):k.eat(/\d/)?k.eat(/\d/):k.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(S))return k.eatWhile(/[\w\xa1-\uffff]/),k.eat(/[\?\!]/),k.eat(":")?"atom":"ident";if(S=="|"&&(E.varList||E.lastTok=="{"||E.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(S))return f=S,null;if(S=="-"&&k.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(S)){var I=k.eatWhile(/[=+\-\/*:\.^%<>~|]/);return S=="."&&!I&&(f="."),"operator"}else return null}}}function p(k){for(var E=k.pos,S=0,T,L=!1,M=!1;(T=k.next())!=null;)if(M)M=!1;else{if("[{(".indexOf(T)>-1)S++;else if("]})".indexOf(T)>-1){if(S--,S<0)break}else if(T=="/"&&S==0){L=!0;break}M=T=="\\"}return k.backUp(k.pos-E),L}function g(k){return k||(k=1),function(E,S){if(E.peek()=="}"){if(k==1)return S.tokenize.pop(),S.tokenize[S.tokenize.length-1](E,S);S.tokenize[S.tokenize.length-1]=g(k-1)}else E.peek()=="{"&&(S.tokenize[S.tokenize.length-1]=g(k+1));return h(E,S)}}function b(){var k=!1;return function(E,S){return k?(S.tokenize.pop(),S.tokenize[S.tokenize.length-1](E,S)):(k=!0,h(E,S))}}function m(k,E,S,T){return function(L,M){var D=!1,I;for(M.context.type==="read-quoted-paused"&&(M.context=M.context.prev,L.eat("}"));(I=L.next())!=null;){if(I==k&&(T||!D)){M.tokenize.pop();break}if(S&&I=="#"&&!D){if(L.eat("{")){k=="}"&&(M.context={prev:M.context,type:"read-quoted-paused"}),M.tokenize.push(g());break}else if(/[@\$]/.test(L.peek())){M.tokenize.push(b());break}}D=!D&&I=="\\"}return E}}function v(k,E){return function(S,T){return E&&S.eatSpace(),S.match(k)?T.tokenize.pop():S.skipToEnd(),"string"}}function w(k,E){return k.sol()&&k.match("=end")&&k.eol()&&E.tokenize.pop(),k.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[h],indented:0,context:{type:"top",indented:-c.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(k,E){f=null,k.sol()&&(E.indented=k.indentation());var S=E.tokenize[E.tokenize.length-1](k,E),T,L=f;if(S=="ident"){var M=k.current();S=E.lastTok=="."?"property":a.propertyIsEnumerable(k.current())?"keyword":/^[A-Z]/.test(M)?"tag":E.lastTok=="def"||E.lastTok=="class"||E.varList?"def":"variable",S=="keyword"&&(L=M,o.propertyIsEnumerable(M)?T="indent":s.propertyIsEnumerable(M)?T="dedent":((M=="if"||M=="unless")&&k.column()==k.indentation()||M=="do"&&E.context.indented","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],h=u(d),p=/^::?[a-zA-Z_][\w\-]*/,g;function b(M){return!M.peek()||M.match(/\s+$/,!1)}function m(M,D){var I=M.peek();return I===")"?(M.next(),D.tokenizer=T,"operator"):I==="("?(M.next(),M.eatSpace(),"operator"):I==="'"||I==='"'?(D.tokenizer=w(M.next()),"string"):(D.tokenizer=w(")",!1),"string")}function v(M,D){return function(I,B){return I.sol()&&I.indentation()<=M?(B.tokenizer=T,T(I,B)):(D&&I.skipTo("*/")?(I.next(),I.next(),B.tokenizer=T):I.skipToEnd(),"comment")}}function w(M,D){D==null&&(D=!0);function I(B,N){var O=B.next(),R=B.peek(),P=B.string.charAt(B.pos-2),H=O!=="\\"&&R===M||O===M&&P!=="\\";return H?(O!==M&&D&&B.next(),b(B)&&(N.cursorHalf=0),N.tokenizer=T,"string"):O==="#"&&R==="{"?(N.tokenizer=k(I),B.next(),"operator"):"string"}return I}function k(M){return function(D,I){return D.peek()==="}"?(D.next(),I.tokenizer=M,"operator"):T(D,I)}}function E(M){if(M.indentCount==0){M.indentCount++;var D=M.scopes[0].offset,I=D+r.indentUnit;M.scopes.unshift({offset:I})}}function S(M){M.scopes.length!=1&&M.scopes.shift()}function T(M,D){var I=M.peek();if(M.match("/*"))return D.tokenizer=v(M.indentation(),!0),D.tokenizer(M,D);if(M.match("//"))return D.tokenizer=v(M.indentation(),!1),D.tokenizer(M,D);if(M.match("#{"))return D.tokenizer=k(T),"operator";if(I==='"'||I==="'")return M.next(),D.tokenizer=w(I),"string";if(D.cursorHalf){if(I==="#"&&(M.next(),M.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||M.match(/^-?[0-9\.]+/))return b(M)&&(D.cursorHalf=0),"number";if(M.match(/^(px|em|in)\b/))return b(M)&&(D.cursorHalf=0),"unit";if(M.match(f))return b(M)&&(D.cursorHalf=0),"keyword";if(M.match(/^url/)&&M.peek()==="(")return D.tokenizer=m,b(M)&&(D.cursorHalf=0),"atom";if(I==="$")return M.next(),M.eatWhile(/[\w-]/),b(M)&&(D.cursorHalf=0),"variable-2";if(I==="!")return M.next(),D.cursorHalf=0,M.match(/^[\w]+/)?"keyword":"operator";if(M.match(h))return b(M)&&(D.cursorHalf=0),"operator";if(M.eatWhile(/[\w-]/))return b(M)&&(D.cursorHalf=0),g=M.current().toLowerCase(),s.hasOwnProperty(g)?"atom":o.hasOwnProperty(g)?"keyword":a.hasOwnProperty(g)?(D.prevProp=M.current().toLowerCase(),"property"):"tag";if(b(M))return D.cursorHalf=0,null}else{if(I==="-"&&M.match(/^-\w+-/))return"meta";if(I==="."){if(M.next(),M.match(/^[\w-]+/))return E(D),"qualifier";if(M.peek()==="#")return E(D),"tag"}if(I==="#"){if(M.next(),M.match(/^[\w-]+/))return E(D),"builtin";if(M.peek()==="#")return E(D),"tag"}if(I==="$")return M.next(),M.eatWhile(/[\w-]/),"variable-2";if(M.match(/^-?[0-9\.]+/))return"number";if(M.match(/^(px|em|in)\b/))return"unit";if(M.match(f))return"keyword";if(M.match(/^url/)&&M.peek()==="(")return D.tokenizer=m,"atom";if(I==="="&&M.match(/^=[\w-]+/))return E(D),"meta";if(I==="+"&&M.match(/^\+[\w-]+/))return"variable-3";if(I==="@"&&M.match("@extend")&&(M.match(/\s*[\w]/)||S(D)),M.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return E(D),"def";if(I==="@")return M.next(),M.eatWhile(/[\w-]/),"def";if(M.eatWhile(/[\w-]/))if(M.match(/ *: *[\w-\+\$#!\("']/,!1)){g=M.current().toLowerCase();var B=D.prevProp+"-"+g;return a.hasOwnProperty(B)?"property":a.hasOwnProperty(g)?(D.prevProp=g,"property"):l.hasOwnProperty(g)?"property":"tag"}else return M.match(/ *:/,!1)?(E(D),D.cursorHalf=1,D.prevProp=M.current().toLowerCase(),"property"):(M.match(/ *,/,!1)||E(D),"tag");if(I===":")return M.match(p)?"variable-3":(M.next(),D.cursorHalf=1,"operator")}return M.match(h)?"operator":(M.next(),null)}function L(M,D){M.sol()&&(D.indentCount=0);var I=D.tokenizer(M,D),B=M.current();if((B==="@return"||B==="}")&&S(D),I!==null){for(var N=M.pos-B.length,O=N+r.indentUnit*D.indentCount,R=[],P=0;P1&&p.eat("$");var b=p.next();return/['"({]/.test(b)?(g.tokens[0]=u(b,b=="("?"quote":b=="{"?"def":"string"),h(p,g)):(/\d/.test(b)||p.eatWhile(/\w/),g.tokens.shift(),"def")};function d(p){return function(g,b){return g.sol()&&g.string==p&&b.tokens.shift(),g.skipToEnd(),"string-2"}}function h(p,g){return(g.tokens[0]||l)(p,g)}return{startState:function(){return{tokens:[]}},token:function(p,g){return h(p,g)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),n.defineMIME("text/x-sh","shell"),n.defineMIME("application/x-sh","shell")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("sql",function(c,f){var d=f.client||{},h=f.atoms||{false:!0,true:!0,null:!0},p=f.builtin||l(u),g=f.keywords||l(s),b=f.operatorChars||/^[*+\-%<>!=&|~^\/]/,m=f.support||{},v=f.hooks||{},w=f.dateSQL||{date:!0,time:!0,timestamp:!0},k=f.backslashStringEscapes!==!1,E=f.brackets||/^[\{}\(\)\[\]]/,S=f.punctuation||/^[;.,:]/;function T(B,N){var O=B.next();if(v[O]){var R=v[O](B,N);if(R!==!1)return R}if(m.hexNumber&&(O=="0"&&B.match(/^[xX][0-9a-fA-F]+/)||(O=="x"||O=="X")&&B.match(/^'[0-9a-fA-F]*'/)))return"number";if(m.binaryNumber&&((O=="b"||O=="B")&&B.match(/^'[01]*'/)||O=="0"&&B.match(/^b[01]+/)))return"number";if(O.charCodeAt(0)>47&&O.charCodeAt(0)<58)return B.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),m.decimallessFloat&&B.match(/^\.(?!\.)/),"number";if(O=="?"&&(B.eatSpace()||B.eol()||B.eat(";")))return"variable-3";if(O=="'"||O=='"'&&m.doubleQuote)return N.tokenize=L(O),N.tokenize(B,N);if((m.nCharCast&&(O=="n"||O=="N")||m.charsetCast&&O=="_"&&B.match(/[a-z][a-z0-9]*/i))&&(B.peek()=="'"||B.peek()=='"'))return"keyword";if(m.escapeConstant&&(O=="e"||O=="E")&&(B.peek()=="'"||B.peek()=='"'&&m.doubleQuote))return N.tokenize=function(H,F){return(F.tokenize=L(H.next(),!0))(H,F)},"keyword";if(m.commentSlashSlash&&O=="/"&&B.eat("/"))return B.skipToEnd(),"comment";if(m.commentHash&&O=="#"||O=="-"&&B.eat("-")&&(!m.commentSpaceRequired||B.eat(" ")))return B.skipToEnd(),"comment";if(O=="/"&&B.eat("*"))return N.tokenize=M(1),N.tokenize(B,N);if(O=="."){if(m.zerolessFloat&&B.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(B.match(/^\.+/))return null;if(B.match(/^[\w\d_$#]+/))return"variable-2"}else{if(b.test(O))return B.eatWhile(b),"operator";if(E.test(O))return"bracket";if(S.test(O))return B.eatWhile(S),"punctuation";if(O=="{"&&(B.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||B.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";B.eatWhile(/^[_\w\d]/);var P=B.current().toLowerCase();return w.hasOwnProperty(P)&&(B.match(/^( )+'[^']*'/)||B.match(/^( )+"[^"]*"/))?"number":h.hasOwnProperty(P)?"atom":p.hasOwnProperty(P)?"type":g.hasOwnProperty(P)?"keyword":d.hasOwnProperty(P)?"builtin":null}}function L(B,N){return function(O,R){for(var P=!1,H;(H=O.next())!=null;){if(H==B&&!P){R.tokenize=T;break}P=(k||N)&&!P&&H=="\\"}return"string"}}function M(B){return function(N,O){var R=N.match(/^.*?(\/\*|\*\/)/);return R?R[1]=="/*"?O.tokenize=M(B+1):B>1?O.tokenize=M(B-1):O.tokenize=T:N.skipToEnd(),"comment"}}function D(B,N,O){N.context={prev:N.context,indent:B.indentation(),col:B.column(),type:O}}function I(B){B.indent=B.context.indent,B.context=B.context.prev}return{startState:function(){return{tokenize:T,context:null}},token:function(B,N){if(B.sol()&&N.context&&N.context.align==null&&(N.context.align=!1),N.tokenize==T&&B.eatSpace())return null;var O=N.tokenize(B,N);if(O=="comment")return O;N.context&&N.context.align==null&&(N.context.align=!0);var R=B.current();return R=="("?D(B,N,")"):R=="["?D(B,N,"]"):N.context&&N.context.type==R&&I(N),O},indent:function(B,N){var O=B.context;if(!O)return n.Pass;var R=N.charAt(0)==O.type;return O.align?O.col+(R?0:1):O.indent+(R?0:c.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:m.commentSlashSlash?"//":m.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:f}});function r(c){for(var f;(f=c.next())!=null;)if(f=="`"&&!c.eat("`"))return"variable-2";return c.backUp(c.current().length-1),c.eatWhile(/\w/)?"variable-2":null}function i(c){for(var f;(f=c.next())!=null;)if(f=='"'&&!c.eat('"'))return"variable-2";return c.backUp(c.current().length-1),c.eatWhile(/\w/)?"variable-2":null}function a(c){return c.eat("@")&&(c.match("session."),c.match("local."),c.match("global.")),c.eat("'")?(c.match(/^.*'/),"variable-2"):c.eat('"')?(c.match(/^.*"/),"variable-2"):c.eat("`")?(c.match(/^.*`/),"variable-2"):c.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function o(c){return c.eat("N")?"atom":c.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var s="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 l(c){for(var f={},d=c.split(" "),h=0;h!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:l("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":a}}),n.defineMIME("text/x-mysql",{name:"sql",client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":a,"`":r,"\\":o}}),n.defineMIME("text/x-mariadb",{name:"sql",client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":a,"`":r,"\\":o}}),n.defineMIME("text/x-sqlite",{name:"sql",client:l("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:l(s+"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:l("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:l("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:l("date time timestamp datetime"),support:l("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":a,":":a,"?":a,$:a,'"':i,"`":r}}),n.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:l("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:l("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:l("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:l("commentSlashSlash decimallessFloat"),hooks:{}}),n.defineMIME("text/x-plsql",{name:"sql",client:l("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:l("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:l("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:l("date time timestamp"),support:l("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),n.defineMIME("text/x-hive",{name:"sql",keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:l("date timestamp"),support:l("doubleQuote binaryNumber hexNumber")}),n.defineMIME("text/x-pgsql",{name:"sql",client:l("source"),keywords:l(s+"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:l("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 without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),n.defineMIME("text/x-gql",{name:"sql",keywords:l("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:l("false true"),builtin:l("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),n.defineMIME("text/x-gpsql",{name:"sql",client:l("source"),keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),n.defineMIME("text/x-sparksql",{name:"sql",keywords:l("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:l("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:l("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:l("date time timestamp"),support:l("doubleQuote zerolessFloat")}),n.defineMIME("text/x-esper",{name:"sql",client:l("source"),keywords:l("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:l("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("time"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber")}),n.defineMIME("text/x-trino",{name:"sql",keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:l("date time timestamp zone"),support:l("decimallessFloat zerolessFloat hexNumber")})})})();var cqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("stylus",function(k){for(var E=k.indentUnit,S="",T=v(r),L=/^(a|b|i|s|col|em)$/i,M=v(s),D=v(l),I=v(f),B=v(c),N=v(i),O=m(i),R=v(o),P=v(a),H=v(u),F=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,q=m(d),V=v(h),X=new RegExp(/^\-(moz|ms|o|webkit)-/i),G=v(p),J="",te={},re,Q,ae,le;S.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),de.context.line.firstWord=J?J[0].replace(/^\s*/,""):"",de.context.line.indent=fe.indentation(),re=fe.peek(),fe.match("//"))return fe.skipToEnd(),["comment","comment"];if(fe.match("/*"))return de.tokenize=ee,ee(fe,de);if(re=='"'||re=="'")return fe.next(),de.tokenize=ne(re),de.tokenize(fe,de);if(re=="@")return fe.next(),fe.eatWhile(/[\w\\-]/),["def",fe.current()];if(re=="#"){if(fe.next(),fe.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(fe.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return fe.match(X)?["meta","vendor-prefixes"]:fe.match(/^-?[0-9]?\.?[0-9]/)?(fe.eatWhile(/[a-z%]/i),["number","unit"]):re=="!"?(fe.next(),[fe.match(/^(important|optional)/i)?"keyword":"operator","important"]):re=="."&&fe.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:fe.match(O)?(fe.peek()=="("&&(de.tokenize=ue),["property","word"]):fe.match(/^[a-z][\w-]*\(/i)?(fe.backUp(1),["keyword","mixin"]):fe.match(/^(\+|-)[a-z][\w-]*\(/i)?(fe.backUp(1),["keyword","block-mixin"]):fe.string.match(/^\s*&/)&&fe.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:fe.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(fe.backUp(1),["variable-3","reference"]):fe.match(/^&{1}\s*$/)?["variable-3","reference"]:fe.match(q)?["operator","operator"]:fe.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?fe.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!ie(fe.current())?(fe.match("."),["variable-2","variable-name"]):["variable-2","word"]:fe.match(F)?["operator",fe.current()]:/[:;,{}\[\]\(\)]/.test(re)?(fe.next(),[null,re]):(fe.next(),[null,null])}function ee(fe,de){for(var xe=!1,Ye;(Ye=fe.next())!=null;){if(xe&&Ye=="/"){de.tokenize=null;break}xe=Ye=="*"}return["comment","comment"]}function ne(fe){return function(de,xe){for(var Ye=!1,Ze;(Ze=de.next())!=null;){if(Ze==fe&&!Ye){fe==")"&&de.backUp(1);break}Ye=!Ye&&Ze=="\\"}return(Ze==fe||!Ye&&fe!=")")&&(xe.tokenize=null),["string","string"]}}function ue(fe,de){return fe.next(),fe.match(/\s*[\"\')]/,!1)?de.tokenize=null:de.tokenize=ne(")"),[null,"("]}function Ae(fe,de,xe,Ye){this.type=fe,this.indent=de,this.prev=xe,this.line=Ye||{firstWord:"",indent:0}}function ce(fe,de,xe,Ye){return Ye=Ye>=0?Ye:E,fe.context=new Ae(xe,de.indentation()+Ye,fe.context),xe}function be(fe,de){var xe=fe.context.indent-E;return de=de||!1,fe.context=fe.context.prev,de&&(fe.context.indent=xe),fe.context.type}function ge(fe,de,xe){return te[xe.context.type](fe,de,xe)}function ve(fe,de,xe,Ye){for(var Ze=Ye||1;Ze>0;Ze--)xe.context=xe.context.prev;return ge(fe,de,xe)}function ie(fe){return fe.toLowerCase()in T}function he(fe){return fe=fe.toLowerCase(),fe in M||fe in H}function $e(fe){return fe.toLowerCase()in V}function De(fe){return fe.toLowerCase().match(X)}function Ie(fe){var de=fe.toLowerCase(),xe="variable-2";return ie(fe)?xe="tag":$e(fe)?xe="block-keyword":he(fe)?xe="property":de in I||de in G?xe="atom":de=="return"||de in B?xe="keyword":fe.match(/^[A-Z]/)&&(xe="string"),xe}function Be(fe,de){return Re(de)&&(fe=="{"||fe=="]"||fe=="hash"||fe=="qualifier")||fe=="block-mixin"}function we(fe,de){return fe=="{"&&de.match(/^\s*\$?[\w-]+/i,!1)}function je(fe,de){return fe==":"&&de.match(/^[a-z-]+/,!1)}function Oe(fe){return fe.sol()||fe.string.match(new RegExp("^\\s*"+w(fe.current())))}function Re(fe){return fe.eol()||fe.match(/^\s*$/,!1)}function ye(fe){var de=/^\s*[-_]*[a-z0-9]+[\w-]*/i,xe=typeof fe=="string"?fe.match(de):fe.string.match(de);return xe?xe[0].replace(/^\s*/,""):""}return te.block=function(fe,de,xe){if(fe=="comment"&&Oe(de)||fe==","&&Re(de)||fe=="mixin")return ce(xe,de,"block",0);if(we(fe,de))return ce(xe,de,"interpolation");if(Re(de)&&fe=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(de.string)&&!ie(ye(de)))return ce(xe,de,"block",0);if(Be(fe,de))return ce(xe,de,"block");if(fe=="}"&&Re(de))return ce(xe,de,"block",0);if(fe=="variable-name")return de.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||$e(ye(de))?ce(xe,de,"variableName"):ce(xe,de,"variableName",0);if(fe=="=")return!Re(de)&&!$e(ye(de))?ce(xe,de,"block",0):ce(xe,de,"block");if(fe=="*"&&(Re(de)||de.match(/\s*(,|\.|#|\[|:|{)/,!1)))return le="tag",ce(xe,de,"block");if(je(fe,de))return ce(xe,de,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(fe))return ce(xe,de,Re(de)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(fe))return ce(xe,de,"keyframes");if(/@extends?/.test(fe))return ce(xe,de,"extend",0);if(fe&&fe.charAt(0)=="@")return de.indentation()>0&&he(de.current().slice(1))?(le="variable-2","block"):/(@import|@require|@charset)/.test(fe)?ce(xe,de,"block",0):ce(xe,de,"block");if(fe=="reference"&&Re(de))return ce(xe,de,"block");if(fe=="(")return ce(xe,de,"parens");if(fe=="vendor-prefixes")return ce(xe,de,"vendorPrefixes");if(fe=="word"){var Ye=de.current();if(le=Ie(Ye),le=="property")return Oe(de)?ce(xe,de,"block",0):(le="atom","block");if(le=="tag"){if(/embed|menu|pre|progress|sub|table/.test(Ye)&&he(ye(de))||de.string.match(new RegExp("\\[\\s*"+Ye+"|"+Ye+"\\s*\\]")))return le="atom","block";if(L.test(Ye)&&(Oe(de)&&de.string.match(/=/)||!Oe(de)&&!de.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!ie(ye(de))))return le="variable-2",$e(ye(de))?"block":ce(xe,de,"block",0);if(Re(de))return ce(xe,de,"block")}if(le=="block-keyword")return le="keyword",de.current(/(if|unless)/)&&!Oe(de)?"block":ce(xe,de,"block");if(Ye=="return")return ce(xe,de,"block",0);if(le=="variable-2"&&de.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return ce(xe,de,"block")}return xe.context.type},te.parens=function(fe,de,xe){if(fe=="(")return ce(xe,de,"parens");if(fe==")")return xe.context.prev.type=="parens"?be(xe):de.string.match(/^[a-z][\w-]*\(/i)&&Re(de)||$e(ye(de))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ye(de))||!de.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&ie(ye(de))?ce(xe,de,"block"):de.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||de.string.match(/^\s*(\(|\)|[0-9])/)||de.string.match(/^\s+[a-z][\w-]*\(/i)||de.string.match(/^\s+[\$-]?[a-z]/i)?ce(xe,de,"block",0):Re(de)?ce(xe,de,"block"):ce(xe,de,"block",0);if(fe&&fe.charAt(0)=="@"&&he(de.current().slice(1))&&(le="variable-2"),fe=="word"){var Ye=de.current();le=Ie(Ye),le=="tag"&&L.test(Ye)&&(le="variable-2"),(le=="property"||Ye=="to")&&(le="atom")}return fe=="variable-name"?ce(xe,de,"variableName"):je(fe,de)?ce(xe,de,"pseudo"):xe.context.type},te.vendorPrefixes=function(fe,de,xe){return fe=="word"?(le="property",ce(xe,de,"block",0)):be(xe)},te.pseudo=function(fe,de,xe){return he(ye(de.string))?ve(fe,de,xe):(de.match(/^[a-z-]+/),le="variable-3",Re(de)?ce(xe,de,"block"):be(xe))},te.atBlock=function(fe,de,xe){if(fe=="(")return ce(xe,de,"atBlock_parens");if(Be(fe,de))return ce(xe,de,"block");if(we(fe,de))return ce(xe,de,"interpolation");if(fe=="word"){var Ye=de.current().toLowerCase();if(/^(only|not|and|or)$/.test(Ye)?le="keyword":N.hasOwnProperty(Ye)?le="tag":P.hasOwnProperty(Ye)?le="attribute":R.hasOwnProperty(Ye)?le="property":D.hasOwnProperty(Ye)?le="string-2":le=Ie(de.current()),le=="tag"&&Re(de))return ce(xe,de,"block")}return fe=="operator"&&/^(not|and|or)$/.test(de.current())&&(le="keyword"),xe.context.type},te.atBlock_parens=function(fe,de,xe){if(fe=="{"||fe=="}")return xe.context.type;if(fe==")")return Re(de)?ce(xe,de,"block"):ce(xe,de,"atBlock");if(fe=="word"){var Ye=de.current().toLowerCase();return le=Ie(Ye),/^(max|min)/.test(Ye)&&(le="property"),le=="tag"&&(L.test(Ye)?le="variable-2":le="atom"),xe.context.type}return te.atBlock(fe,de,xe)},te.keyframes=function(fe,de,xe){return de.indentation()=="0"&&(fe=="}"&&Oe(de)||fe=="]"||fe=="hash"||fe=="qualifier"||ie(de.current()))?ve(fe,de,xe):fe=="{"?ce(xe,de,"keyframes"):fe=="}"?Oe(de)?be(xe,!0):ce(xe,de,"keyframes"):fe=="unit"&&/^[0-9]+\%$/.test(de.current())?ce(xe,de,"keyframes"):fe=="word"&&(le=Ie(de.current()),le=="block-keyword")?(le="keyword",ce(xe,de,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(fe)?ce(xe,de,Re(de)?"block":"atBlock"):fe=="mixin"?ce(xe,de,"block",0):xe.context.type},te.interpolation=function(fe,de,xe){return fe=="{"&&be(xe)&&ce(xe,de,"block"),fe=="}"?de.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||de.string.match(/^\s*[a-z]/i)&&ie(ye(de))?ce(xe,de,"block"):!de.string.match(/^(\{|\s*\&)/)||de.match(/\s*[\w-]/,!1)?ce(xe,de,"block",0):ce(xe,de,"block"):fe=="variable-name"?ce(xe,de,"variableName",0):(fe=="word"&&(le=Ie(de.current()),le=="tag"&&(le="atom")),xe.context.type)},te.extend=function(fe,de,xe){return fe=="["||fe=="="?"extend":fe=="]"?be(xe):fe=="word"?(le=Ie(de.current()),"extend"):be(xe)},te.variableName=function(fe,de,xe){return fe=="string"||fe=="["||fe=="]"||de.current().match(/^(\.|\$)/)?(de.current().match(/^\.[\w-]+/i)&&(le="variable-2"),"variableName"):ve(fe,de,xe)},{startState:function(fe){return{tokenize:null,state:"block",context:new Ae("block",fe||0,null)}},token:function(fe,de){return!de.tokenize&&fe.eatSpace()?null:(Q=(de.tokenize||oe)(fe,de),Q&&typeof Q=="object"&&(ae=Q[1],Q=Q[0]),le=Q,de.state=te[de.state](ae,fe,de),le)},indent:function(fe,de,xe){var Ye=fe.context,Ze=de&&de.charAt(0),st=Ye.indent,at=ye(de),rt=xe.match(/^\s*/)[0].replace(/\t/g,S).length,et=fe.context.prev?fe.context.prev.line.firstWord:"",Ot=fe.context.prev?fe.context.prev.line.indent:rt;return Ye.prev&&(Ze=="}"&&(Ye.type=="block"||Ye.type=="atBlock"||Ye.type=="keyframes")||Ze==")"&&(Ye.type=="parens"||Ye.type=="atBlock_parens")||Ze=="{"&&Ye.type=="at")?st=Ye.indent-E:/(\})/.test(Ze)||(/@|\$|\d/.test(Ze)||/^\{/.test(de)||/^\s*\/(\/|\*)/.test(de)||/^\s*\/\*/.test(et)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(de)||/^(\+|-)?[a-z][\w-]*\(/i.test(de)||/^return/.test(de)||$e(at)?st=rt:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(Ze)||ie(at)?/\,\s*$/.test(et)?st=Ot:/^\s+/.test(xe)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(et)||ie(et))?st=rt<=Ot?Ot:Ot+E:st=rt:!/,\s*$/.test(xe)&&(De(at)||he(at))&&($e(et)?st=rt<=Ot?Ot:Ot+E:/^\{/.test(et)?st=rt<=Ot?rt:Ot+E:De(et)||he(et)?st=rt>=Ot?Ot:rt:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(et)||/=\s*$/.test(et)||ie(et)||/^\$[\w-\.\[\]\'\"]/.test(et)?st=Ot+E:st=rt)),st},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var r=["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"],i=["domain","regexp","url-prefix","url"],a=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=["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"],s=["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"],l=["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"],u=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],c=["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"],f=["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"],d=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],h=["for","if","else","unless","from","to"],p=["null","true","false","href","title","type","not-allowed","readonly","disabled"],g=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],b=r.concat(i,a,o,s,l,c,f,u,d,h,p,g);function m(k){return k=k.sort(function(E,S){return S>E}),new RegExp("^(("+k.join(")|(")+"))\\b")}function v(k){for(var E={},S=0;S~^?!",u=":;,.(){}[]",c=/^\-?0b[01][01_]*/,f=/^\-?0o[0-7][0-7_]*/,d=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,h=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,p=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,g=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,b=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function v(M,D,I){if(M.sol()&&(D.indented=M.indentation()),M.eatSpace())return null;var B=M.peek();if(B=="/"){if(M.match("//"))return M.skipToEnd(),"comment";if(M.match("/*"))return D.tokenize.push(E),E(M,D)}if(M.match(b))return"builtin";if(M.match(m))return"attribute";if(M.match(c)||M.match(f)||M.match(d)||M.match(h))return"number";if(M.match(g))return"property";if(l.indexOf(B)>-1)return M.next(),"operator";if(u.indexOf(B)>-1)return M.next(),M.match(".."),"punctuation";var N;if(N=M.match(/("""|"|')/)){var O=k.bind(null,N[0]);return D.tokenize.push(O),O(M,D)}if(M.match(p)){var R=M.current();return s.hasOwnProperty(R)?"variable-2":o.hasOwnProperty(R)?"atom":i.hasOwnProperty(R)?(a.hasOwnProperty(R)&&(D.prev="define"),"keyword"):I=="define"?"def":"variable"}return M.next(),null}function w(){var M=0;return function(D,I,B){var N=v(D,I,B);if(N=="punctuation"){if(D.current()=="(")++M;else if(D.current()==")"){if(M==0)return D.backUp(1),I.tokenize.pop(),I.tokenize[I.tokenize.length-1](D,I);--M}}return N}}function k(M,D,I){for(var B=M.length==1,N,O=!1;N=D.peek();)if(O){if(D.next(),N=="(")return I.tokenize.push(w()),"string";O=!1}else{if(D.match(M))return I.tokenize.pop(),"string";D.next(),O=N=="\\"}return B&&I.tokenize.pop(),"string"}function E(M,D){for(var I;I=M.next();)if(I==="/"&&M.eat("*"))D.tokenize.push(E);else if(I==="*"&&M.eat("/")){D.tokenize.pop();break}return"comment"}function S(M,D,I){this.prev=M,this.align=D,this.indented=I}function T(M,D){var I=D.match(/^\s*($|\/[\/\*])/,!1)?null:D.column()+1;M.context=new S(M.context,I,M.indented)}function L(M){M.context&&(M.indented=M.context.indented,M.context=M.context.prev)}n.defineMode("swift",function(M){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(D,I){var B=I.prev;I.prev=null;var N=I.tokenize[I.tokenize.length-1]||v,O=N(D,I,B);if(!O||O=="comment"?I.prev=B:I.prev||(I.prev=O),O=="punctuation"){var R=/[\(\[\{]|([\]\)\}])/.exec(D.current());R&&(R[1]?L:T)(I,D)}return O},indent:function(D,I){var B=D.context;if(!B)return 0;var N=/^[\]\}\)]/.test(I);return B.align!=null?B.align-(N?1:0):B.indented+(N?0:M.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),n.defineMIME("text/x-swift","swift")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("yaml",function(){var r=["true","false","on","off","yes","no"],i=new RegExp("\\b(("+r.join(")|(")+"))$","i");return{token:function(a,o){var s=a.peek(),l=o.escaped;if(o.escaped=!1,s=="#"&&(a.pos==0||/\s/.test(a.string.charAt(a.pos-1))))return a.skipToEnd(),"comment";if(a.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(o.literal&&a.indentation()>o.keyCol)return a.skipToEnd(),"string";if(o.literal&&(o.literal=!1),a.sol()){if(o.keyCol=0,o.pair=!1,o.pairStart=!1,a.match("---")||a.match("..."))return"def";if(a.match(/\s*-\s+/))return"meta"}if(a.match(/^(\{|\}|\[|\])/))return s=="{"?o.inlinePairs++:s=="}"?o.inlinePairs--:s=="["?o.inlineList++:o.inlineList--,"meta";if(o.inlineList>0&&!l&&s==",")return a.next(),"meta";if(o.inlinePairs>0&&!l&&s==",")return o.keyCol=0,o.pair=!1,o.pairStart=!1,a.next(),"meta";if(o.pairStart){if(a.match(/^\s*(\||\>)\s*/))return o.literal=!0,"meta";if(a.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(o.inlinePairs==0&&a.match(/^\s*-?[0-9\.\,]+\s?$/)||o.inlinePairs>0&&a.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(a.match(i))return"keyword"}return!o.pair&&a.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(o.pair=!0,o.keyCol=a.indentation(),"atom"):o.pair&&a.match(/^:\s*/)?(o.pairStart=!0,"meta"):(o.pairStart=!1,o.escaped=s=="\\",a.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 pke={exports:{}},gke;function dqn(){return gke||(gke=1,function(e,t){(function(n){n(jr)})(function(n){n.defineMode("coffeescript",function(r,i){var a="error";function o(D){return new RegExp("^(("+D.join(")|(")+"))\\b")}var s=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,l=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,u=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,f=o(["and","or","not","is","isnt","in","instanceof","typeof"]),d=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],h=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],p=o(d.concat(h));d=o(d);var g=/^('{3}|\"{3}|['\"])/,b=/^(\/{3}|\/)/,m=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],v=o(m);function w(D,I){if(D.sol()){I.scope.align===null&&(I.scope.align=!1);var B=I.scope.offset;if(D.eatSpace()){var N=D.indentation();return N>B&&I.scope.type=="coffee"?"indent":N0&&T(D,I)}if(D.eatSpace())return null;var O=D.peek();if(D.match("####"))return D.skipToEnd(),"comment";if(D.match("###"))return I.tokenize=E,I.tokenize(D,I);if(O==="#")return D.skipToEnd(),"comment";if(D.match(/^-?[0-9\.]/,!1)){var R=!1;if(D.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(R=!0),D.match(/^-?\d+\.\d*/)&&(R=!0),D.match(/^-?\.\d+/)&&(R=!0),R)return D.peek()=="."&&D.backUp(1),"number";var P=!1;if(D.match(/^-?0x[0-9a-f]+/i)&&(P=!0),D.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(P=!0),D.match(/^-?0(?![\dx])/i)&&(P=!0),P)return"number"}if(D.match(g))return I.tokenize=k(D.current(),!1,"string"),I.tokenize(D,I);if(D.match(b)){if(D.current()!="/"||D.match(/^.*\//,!1))return I.tokenize=k(D.current(),!0,"string-2"),I.tokenize(D,I);D.backUp(1)}return D.match(s)||D.match(f)?"operator":D.match(l)?"punctuation":D.match(v)?"atom":D.match(c)||I.prop&&D.match(u)?"property":D.match(p)?"keyword":D.match(u)?"variable":(D.next(),a)}function k(D,I,B){return function(N,O){for(;!N.eol();)if(N.eatWhile(/[^'"\/\\]/),N.eat("\\")){if(N.next(),I&&N.eol())return B}else{if(N.match(D))return O.tokenize=w,B;N.eat(/['"\/]/)}return I&&(i.singleLineStringErrors?B=a:O.tokenize=w),B}}function E(D,I){for(;!D.eol();){if(D.eatWhile(/[^#]/),D.match("###")){I.tokenize=w;break}D.eatWhile("#")}return"comment"}function S(D,I,B){B=B||"coffee";for(var N=0,O=!1,R=null,P=I.scope;P;P=P.prev)if(P.type==="coffee"||P.type=="}"){N=P.offset+r.indentUnit;break}B!=="coffee"?(O=null,R=D.column()+D.current().length):I.scope.align&&(I.scope.align=!1),I.scope={offset:N,type:B,prev:I.scope,align:O,alignOffset:R}}function T(D,I){if(I.scope.prev)if(I.scope.type==="coffee"){for(var B=D.indentation(),N=!1,O=I.scope;O;O=O.prev)if(B===O.offset){N=!0;break}if(!N)return!0;for(;I.scope.prev&&I.scope.offset!==B;)I.scope=I.scope.prev;return!1}else return I.scope=I.scope.prev,!1}function L(D,I){var B=I.tokenize(D,I),N=D.current();N==="return"&&(I.dedent=!0),((N==="->"||N==="=>")&&D.eol()||B==="indent")&&S(D,I);var O="[({".indexOf(N);if(O!==-1&&S(D,I,"])}".slice(O,O+1)),d.exec(N)&&S(D,I),N=="then"&&T(D,I),B==="dedent"&&T(D,I))return a;if(O="])}".indexOf(N),O!==-1){for(;I.scope.type=="coffee"&&I.scope.prev;)I.scope=I.scope.prev;I.scope.type==N&&(I.scope=I.scope.prev)}return I.dedent&&D.eol()&&(I.scope.type=="coffee"&&I.scope.prev&&(I.scope=I.scope.prev),I.dedent=!1),B}var M={startState:function(D){return{tokenize:w,scope:{offset:D||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(D,I){var B=I.scope.align===null&&I.scope;B&&D.sol()&&(B.align=!1);var N=L(D,I);return N&&N!="comment"&&(B&&(B.align=!0),I.prop=N=="punctuation"&&D.current()=="."),N},indent:function(D,I){if(D.tokenize!=w)return 0;var B=D.scope,N=I&&"])}".indexOf(I.charAt(0))>-1;if(N)for(;B.type=="coffee"&&B.prev;)B=B.prev;var O=N&&B.type===I.charAt(0);return B.align?B.alignOffset-(O?1:0):(O?B.prev:B).offset},lineComment:"#",fold:"indent"};return M}),n.defineMIME("application/vnd.coffeescript","coffeescript"),n.defineMIME("text/x-coffeescript","coffeescript"),n.defineMIME("text/coffeescript","coffeescript")})}()),pke.exports}var mke={exports:{}},vke;function hqn(){return vke||(vke=1,function(e,t){(function(n){n(jr,$$,z$,Ghe)})(function(n){n.defineMode("pug",function(r){var i="keyword",a="meta",o="builtin",s="qualifier",l={"{":"}","(":")","[":"]"},u=n.getMode(r,"javascript");function c(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=n.startState(u),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}c.prototype.copy=function(){var ie=new c;return ie.javaScriptLine=this.javaScriptLine,ie.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,ie.javaScriptArguments=this.javaScriptArguments,ie.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,ie.isInterpolating=this.isInterpolating,ie.interpolationNesting=this.interpolationNesting,ie.jsState=n.copyState(u,this.jsState),ie.innerMode=this.innerMode,this.innerMode&&this.innerState&&(ie.innerState=n.copyState(this.innerMode,this.innerState)),ie.restOfLine=this.restOfLine,ie.isIncludeFiltered=this.isIncludeFiltered,ie.isEach=this.isEach,ie.lastTag=this.lastTag,ie.scriptType=this.scriptType,ie.isAttrs=this.isAttrs,ie.attrsNest=this.attrsNest.slice(),ie.inAttributeName=this.inAttributeName,ie.attributeIsType=this.attributeIsType,ie.attrValue=this.attrValue,ie.indentOf=this.indentOf,ie.indentToken=this.indentToken,ie.innerModeForLine=this.innerModeForLine,ie};function f(ie,he){if(ie.sol()&&(he.javaScriptLine=!1,he.javaScriptLineExcludesColon=!1),he.javaScriptLine){if(he.javaScriptLineExcludesColon&&ie.peek()===":"){he.javaScriptLine=!1,he.javaScriptLineExcludesColon=!1;return}var $e=u.token(ie,he.jsState);return ie.eol()&&(he.javaScriptLine=!1),$e||!0}}function d(ie,he){if(he.javaScriptArguments){if(he.javaScriptArgumentsDepth===0&&ie.peek()!=="("){he.javaScriptArguments=!1;return}if(ie.peek()==="("?he.javaScriptArgumentsDepth++:ie.peek()===")"&&he.javaScriptArgumentsDepth--,he.javaScriptArgumentsDepth===0){he.javaScriptArguments=!1;return}var $e=u.token(ie,he.jsState);return $e||!0}}function h(ie){if(ie.match(/^yield\b/))return"keyword"}function p(ie){if(ie.match(/^(?:doctype) *([^\n]+)?/))return a}function g(ie,he){if(ie.match("#{"))return he.isInterpolating=!0,he.interpolationNesting=0,"punctuation"}function b(ie,he){if(he.isInterpolating){if(ie.peek()==="}"){if(he.interpolationNesting--,he.interpolationNesting<0)return ie.next(),he.isInterpolating=!1,"punctuation"}else ie.peek()==="{"&&he.interpolationNesting++;return u.token(ie,he.jsState)||!0}}function m(ie,he){if(ie.match(/^case\b/))return he.javaScriptLine=!0,i}function v(ie,he){if(ie.match(/^when\b/))return he.javaScriptLine=!0,he.javaScriptLineExcludesColon=!0,i}function w(ie){if(ie.match(/^default\b/))return i}function k(ie,he){if(ie.match(/^extends?\b/))return he.restOfLine="string",i}function E(ie,he){if(ie.match(/^append\b/))return he.restOfLine="variable",i}function S(ie,he){if(ie.match(/^prepend\b/))return he.restOfLine="variable",i}function T(ie,he){if(ie.match(/^block\b *(?:(prepend|append)\b)?/))return he.restOfLine="variable",i}function L(ie,he){if(ie.match(/^include\b/))return he.restOfLine="string",i}function M(ie,he){if(ie.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&ie.match("include"))return he.isIncludeFiltered=!0,i}function D(ie,he){if(he.isIncludeFiltered){var $e=q(ie,he);return he.isIncludeFiltered=!1,he.restOfLine="string",$e}}function I(ie,he){if(ie.match(/^mixin\b/))return he.javaScriptLine=!0,i}function B(ie,he){if(ie.match(/^\+([-\w]+)/))return ie.match(/^\( *[-\w]+ *=/,!1)||(he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0),"variable";if(ie.match("+#{",!1))return ie.next(),he.mixinCallAfter=!0,g(ie,he)}function N(ie,he){if(he.mixinCallAfter)return he.mixinCallAfter=!1,ie.match(/^\( *[-\w]+ *=/,!1)||(he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0),!0}function O(ie,he){if(ie.match(/^(if|unless|else if|else)\b/))return he.javaScriptLine=!0,i}function R(ie,he){if(ie.match(/^(- *)?(each|for)\b/))return he.isEach=!0,i}function P(ie,he){if(he.isEach){if(ie.match(/^ in\b/))return he.javaScriptLine=!0,he.isEach=!1,i;if(ie.sol()||ie.eol())he.isEach=!1;else if(ie.next()){for(;!ie.match(/^ in\b/,!1)&&ie.next(););return"variable"}}}function H(ie,he){if(ie.match(/^while\b/))return he.javaScriptLine=!0,i}function F(ie,he){var $e;if($e=ie.match(/^(\w(?:[-:\w]*\w)?)\/?/))return he.lastTag=$e[1].toLowerCase(),he.lastTag==="script"&&(he.scriptType="application/javascript"),"tag"}function q(ie,he){if(ie.match(/^:([\w\-]+)/)){var $e;return r&&r.innerModes&&($e=r.innerModes(ie.current().substring(1))),$e||($e=ie.current().substring(1)),typeof $e=="string"&&($e=n.getMode(r,$e)),ue(ie,he,$e),"atom"}}function V(ie,he){if(ie.match(/^(!?=|-)/))return he.javaScriptLine=!0,"punctuation"}function X(ie){if(ie.match(/^#([\w-]+)/))return o}function G(ie){if(ie.match(/^\.([\w-]+)/))return s}function J(ie,he){if(ie.peek()=="(")return ie.next(),he.isAttrs=!0,he.attrsNest=[],he.inAttributeName=!0,he.attrValue="",he.attributeIsType=!1,"punctuation"}function te(ie,he){if(he.isAttrs){if(l[ie.peek()]&&he.attrsNest.push(l[ie.peek()]),he.attrsNest[he.attrsNest.length-1]===ie.peek())he.attrsNest.pop();else if(ie.eat(")"))return he.isAttrs=!1,"punctuation";if(he.inAttributeName&&ie.match(/^[^=,\)!]+/))return(ie.peek()==="="||ie.peek()==="!")&&(he.inAttributeName=!1,he.jsState=n.startState(u),he.lastTag==="script"&&ie.current().trim().toLowerCase()==="type"?he.attributeIsType=!0:he.attributeIsType=!1),"attribute";var $e=u.token(ie,he.jsState);if(he.attributeIsType&&$e==="string"&&(he.scriptType=ie.current().toString()),he.attrsNest.length===0&&($e==="string"||$e==="variable"||$e==="keyword"))try{return Function("","var x "+he.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),he.inAttributeName=!0,he.attrValue="",ie.backUp(ie.current().length),te(ie,he)}catch{}return he.attrValue+=ie.current(),$e||!0}}function re(ie,he){if(ie.match(/^&attributes\b/))return he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0,"keyword"}function Q(ie){if(ie.sol()&&ie.eatSpace())return"indent"}function ae(ie,he){if(ie.match(/^ *\/\/(-)?([^\n]*)/))return he.indentOf=ie.indentation(),he.indentToken="comment","comment"}function le(ie){if(ie.match(/^: */))return"colon"}function oe(ie,he){if(ie.match(/^(?:\| ?| )([^\n]+)/))return"string";if(ie.match(/^(<[^\n]*)/,!1))return ue(ie,he,"htmlmixed"),he.innerModeForLine=!0,Ae(ie,he,!0)}function ee(ie,he){if(ie.eat(".")){var $e=null;return he.lastTag==="script"&&he.scriptType.toLowerCase().indexOf("javascript")!=-1?$e=he.scriptType.toLowerCase().replace(/"|'/g,""):he.lastTag==="style"&&($e="css"),ue(ie,he,$e),"dot"}}function ne(ie){return ie.next(),null}function ue(ie,he,$e){$e=n.mimeModes[$e]||$e,$e=r.innerModes&&r.innerModes($e)||$e,$e=n.mimeModes[$e]||$e,$e=n.getMode(r,$e),he.indentOf=ie.indentation(),$e&&$e.name!=="null"?he.innerMode=$e:he.indentToken="string"}function Ae(ie,he,$e){if(ie.indentation()>he.indentOf||he.innerModeForLine&&!ie.sol()||$e)return he.innerMode?(he.innerState||(he.innerState=he.innerMode.startState?n.startState(he.innerMode,ie.indentation()):{}),ie.hideFirstChars(he.indentOf+2,function(){return he.innerMode.token(ie,he.innerState)||!0})):(ie.skipToEnd(),he.indentToken);ie.sol()&&(he.indentOf=1/0,he.indentToken=null,he.innerMode=null,he.innerState=null)}function ce(ie,he){if(ie.sol()&&(he.restOfLine=""),he.restOfLine){ie.skipToEnd();var $e=he.restOfLine;return he.restOfLine="",$e}}function be(){return new c}function ge(ie){return ie.copy()}function ve(ie,he){var $e=Ae(ie,he)||ce(ie,he)||b(ie,he)||D(ie,he)||P(ie,he)||te(ie,he)||f(ie,he)||d(ie,he)||N(ie,he)||h(ie)||p(ie)||g(ie,he)||m(ie,he)||v(ie,he)||w(ie)||k(ie,he)||E(ie,he)||S(ie,he)||T(ie,he)||L(ie,he)||M(ie,he)||I(ie,he)||B(ie,he)||O(ie,he)||R(ie,he)||H(ie,he)||F(ie,he)||q(ie,he)||V(ie,he)||X(ie)||G(ie)||J(ie,he)||re(ie,he)||Q(ie)||oe(ie,he)||ae(ie,he)||le(ie)||ee(ie,he)||ne(ie);return $e===!0?null:$e}return{startState:be,copyState:ge,token:ve}},"javascript","css","htmlmixed"),n.defineMIME("text/x-pug","pug"),n.defineMIME("text/x-jade","pug")})}()),mke.exports}var yke={exports:{}},bke={exports:{}},wke;function Vhe(){return wke||(wke=1,function(e,t){(function(n){n(jr)})(function(n){n.defineSimpleMode=function(d,h){n.defineMode(d,function(p){return n.simpleMode(p,h)})},n.simpleMode=function(d,h){r(h,"start");var p={},g=h.meta||{},b=!1;for(var m in h)if(m!=g&&h.hasOwnProperty(m))for(var v=p[m]=[],w=h[m],k=0;k2&&E.token&&typeof E.token!="string"){for(var L=2;L-1)return n.Pass;var m=p.indent.length-1,v=d[p.state];e:for(;;){for(var w=0;w-1?c+s.length:c}var f=s.exec(l?o.slice(l):o);return f?f.index+l+(u?f[0].length:0):-1}return{startState:function(){return{outer:n.startState(r),innerActive:null,inner:null,startingInner:!1}},copyState:function(o){return{outer:n.copyState(r,o.outer),innerActive:o.innerActive,inner:o.innerActive&&n.copyState(o.innerActive.mode,o.inner),startingInner:o.startingInner}},token:function(o,s){if(s.innerActive){var b=s.innerActive,u=o.string;if(!b.close&&o.sol())return s.innerActive=s.inner=null,this.token(o,s);var d=b.close&&!s.startingInner?a(u,b.close,o.pos,b.parseDelimiters):-1;if(d==o.pos&&!b.parseDelimiters)return o.match(b.close),s.innerActive=s.inner=null,b.delimStyle&&b.delimStyle+" "+b.delimStyle+"-close";d>-1&&(o.string=u.slice(0,d));var m=b.mode.token(o,s.inner);return d>-1?o.string=u:o.pos>o.start&&(s.startingInner=!1),d==o.pos&&b.parseDelimiters&&(s.innerActive=s.inner=null),b.innerStyle&&(m?m=m+" "+b.innerStyle:m=b.innerStyle),m}else{for(var l=1/0,u=o.string,c=0;cAn error occurred:

"+b(we.message+"",!0)+"
";throw we}},ue.Parser=ne,ue.parser=ne.parse,ue.Renderer=le,ue.TextRenderer=oe,ue.Lexer=ae,ue.lexer=ae.lex,ue.Tokenizer=G,ue.Slugger=ee,ue.parse=ue;var Ae=ue.options,ce=ue.setOptions,be=ue.use,ge=ue.walkTokens,ve=ue.parseInline,ie=ue,he=ne.parse,$e=ae.lex;e.Lexer=ae,e.Parser=ne,e.Renderer=le,e.Slugger=ee,e.TextRenderer=oe,e.Tokenizer=G,e.getDefaults=l,e.lexer=$e,e.marked=ue,e.options=Ae,e.parse=ie,e.parseInline=ve,e.parser=he,e.setOptions=ce,e.use=be,e.walkTokens=ge})(MVe);var aqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("javascript",function(r,i){var a=r.indentUnit,o=i.statementIndent,s=i.jsonld,l=i.json||s,u=i.trackScope!==!1,c=i.typescript,f=i.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function Xe(Ke){return{type:Ke,style:"keyword"}}var gt=Xe("keyword a"),Ct=Xe("keyword b"),Yt=Xe("keyword c"),or=Xe("keyword d"),kn=Xe("operator"),Rn={type:"atom",style:"atom"};return{if:Xe("if"),while:gt,with:gt,else:Ct,do:Ct,try:Ct,finally:Ct,return:or,break:or,continue:or,new:Xe("new"),delete:Yt,void:Yt,throw:Yt,debugger:Xe("debugger"),var:Xe("var"),const:Xe("var"),let:Xe("var"),function:Xe("function"),catch:Xe("catch"),for:Xe("for"),switch:Xe("switch"),case:Xe("case"),default:Xe("default"),in:kn,typeof:kn,instanceof:kn,true:Rn,false:Rn,null:Rn,undefined:Rn,NaN:Rn,Infinity:Rn,this:Xe("this"),class:Xe("class"),super:Xe("atom"),yield:Yt,export:Xe("export"),import:Xe("import"),extends:Yt,await:Yt}}(),h=/[+\-*&%=<>!?|~^@]/,p=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(Xe){for(var gt=!1,Ct,Yt=!1;(Ct=Xe.next())!=null;){if(!gt){if(Ct=="/"&&!Yt)return;Ct=="["?Yt=!0:Yt&&Ct=="]"&&(Yt=!1)}gt=!gt&&Ct=="\\"}}var b,m;function v(Xe,gt,Ct){return b=Xe,m=Ct,gt}function w(Xe,gt){var Ct=Xe.next();if(Ct=='"'||Ct=="'")return gt.tokenize=k(Ct),gt.tokenize(Xe,gt);if(Ct=="."&&Xe.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return v("number","number");if(Ct=="."&&Xe.match(".."))return v("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Ct))return v(Ct);if(Ct=="="&&Xe.eat(">"))return v("=>","operator");if(Ct=="0"&&Xe.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return v("number","number");if(/\d/.test(Ct))return Xe.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),v("number","number");if(Ct=="/")return Xe.eat("*")?(gt.tokenize=E,E(Xe,gt)):Xe.eat("/")?(Xe.skipToEnd(),v("comment","comment")):ra(Xe,gt,1)?(g(Xe),Xe.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),v("regexp","string-2")):(Xe.eat("="),v("operator","operator",Xe.current()));if(Ct=="`")return gt.tokenize=S,S(Xe,gt);if(Ct=="#"&&Xe.peek()=="!")return Xe.skipToEnd(),v("meta","meta");if(Ct=="#"&&Xe.eatWhile(f))return v("variable","property");if(Ct=="<"&&Xe.match("!--")||Ct=="-"&&Xe.match("->")&&!/\S/.test(Xe.string.slice(0,Xe.start)))return Xe.skipToEnd(),v("comment","comment");if(h.test(Ct))return(Ct!=">"||!gt.lexical||gt.lexical.type!=">")&&(Xe.eat("=")?(Ct=="!"||Ct=="=")&&Xe.eat("="):/[<>*+\-|&?]/.test(Ct)&&(Xe.eat(Ct),Ct==">"&&Xe.eat(Ct))),Ct=="?"&&Xe.eat(".")?v("."):v("operator","operator",Xe.current());if(f.test(Ct)){Xe.eatWhile(f);var Yt=Xe.current();if(gt.lastType!="."){if(d.propertyIsEnumerable(Yt)){var or=d[Yt];return v(or.type,or.style,Yt)}if(Yt=="async"&&Xe.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return v("async","keyword",Yt)}return v("variable","variable",Yt)}}function k(Xe){return function(gt,Ct){var Yt=!1,or;if(s&>.peek()=="@"&>.match(p))return Ct.tokenize=w,v("jsonld-keyword","meta");for(;(or=gt.next())!=null&&!(or==Xe&&!Yt);)Yt=!Yt&&or=="\\";return Yt||(Ct.tokenize=w),v("string","string")}}function E(Xe,gt){for(var Ct=!1,Yt;Yt=Xe.next();){if(Yt=="/"&&Ct){gt.tokenize=w;break}Ct=Yt=="*"}return v("comment","comment")}function S(Xe,gt){for(var Ct=!1,Yt;(Yt=Xe.next())!=null;){if(!Ct&&(Yt=="`"||Yt=="$"&&Xe.eat("{"))){gt.tokenize=w;break}Ct=!Ct&&Yt=="\\"}return v("quasi","string-2",Xe.current())}var T="([{}])";function L(Xe,gt){gt.fatArrowAt&&(gt.fatArrowAt=null);var Ct=Xe.string.indexOf("=>",Xe.start);if(!(Ct<0)){if(c){var Yt=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(Xe.string.slice(Xe.start,Ct));Yt&&(Ct=Yt.index)}for(var or=0,kn=!1,Rn=Ct-1;Rn>=0;--Rn){var Ke=Xe.string.charAt(Rn),wn=T.indexOf(Ke);if(wn>=0&&wn<3){if(!or){++Rn;break}if(--or==0){Ke=="("&&(kn=!0);break}}else if(wn>=3&&wn<6)++or;else if(f.test(Ke))kn=!0;else if(/["'\/`]/.test(Ke))for(;;--Rn){if(Rn==0)return;var Zn=Xe.string.charAt(Rn-1);if(Zn==Ke&&Xe.string.charAt(Rn-2)!="\\"){Rn--;break}}else if(kn&&!or){++Rn;break}}kn&&!or&&(gt.fatArrowAt=Rn)}}var M={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function D(Xe,gt,Ct,Yt,or,kn){this.indented=Xe,this.column=gt,this.type=Ct,this.prev=or,this.info=kn,Yt!=null&&(this.align=Yt)}function I(Xe,gt){if(!u)return!1;for(var Ct=Xe.localVars;Ct;Ct=Ct.next)if(Ct.name==gt)return!0;for(var Yt=Xe.context;Yt;Yt=Yt.prev)for(var Ct=Yt.vars;Ct;Ct=Ct.next)if(Ct.name==gt)return!0}function B(Xe,gt,Ct,Yt,or){var kn=Xe.cc;for(N.state=Xe,N.stream=or,N.marked=null,N.cc=kn,N.style=gt,Xe.lexical.hasOwnProperty("align")||(Xe.lexical.align=!0);;){var Rn=kn.length?kn.pop():l?ne:oe;if(Rn(Ct,Yt)){for(;kn.length&&kn[kn.length-1].lex;)kn.pop()();return N.marked?N.marked:Ct=="variable"&&I(Xe,Yt)?"variable-2":gt}}}var N={state:null,column:null,marked:null,cc:null};function O(){for(var Xe=arguments.length-1;Xe>=0;Xe--)N.cc.push(arguments[Xe])}function R(){return O.apply(null,arguments),!0}function P(Xe,gt){for(var Ct=gt;Ct;Ct=Ct.next)if(Ct.name==Xe)return!0;return!1}function H(Xe){var gt=N.state;if(N.marked="def",!!u){if(gt.context){if(gt.lexical.info=="var"&>.context&>.context.block){var Ct=F(Xe,gt.context);if(Ct!=null){gt.context=Ct;return}}else if(!P(Xe,gt.localVars)){gt.localVars=new X(Xe,gt.localVars);return}}i.globalVars&&!P(Xe,gt.globalVars)&&(gt.globalVars=new X(Xe,gt.globalVars))}}function F(Xe,gt){if(gt)if(gt.block){var Ct=F(Xe,gt.prev);return Ct?Ct==gt.prev?gt:new V(Ct,gt.vars,!0):null}else return P(Xe,gt.vars)?gt:new V(gt.prev,new X(Xe,gt.vars),!1);else return null}function q(Xe){return Xe=="public"||Xe=="private"||Xe=="protected"||Xe=="abstract"||Xe=="readonly"}function V(Xe,gt,Ct){this.prev=Xe,this.vars=gt,this.block=Ct}function X(Xe,gt){this.name=Xe,this.next=gt}var G=new X("this",new X("arguments",null));function J(){N.state.context=new V(N.state.context,N.state.localVars,!1),N.state.localVars=G}function te(){N.state.context=new V(N.state.context,N.state.localVars,!0),N.state.localVars=null}J.lex=te.lex=!0;function re(){N.state.localVars=N.state.context.vars,N.state.context=N.state.context.prev}re.lex=!0;function Q(Xe,gt){var Ct=function(){var Yt=N.state,or=Yt.indented;if(Yt.lexical.type=="stat")or=Yt.lexical.indented;else for(var kn=Yt.lexical;kn&&kn.type==")"&&kn.align;kn=kn.prev)or=kn.indented;Yt.lexical=new D(or,N.stream.column(),Xe,null,Yt.lexical,gt)};return Ct.lex=!0,Ct}function ae(){var Xe=N.state;Xe.lexical.prev&&(Xe.lexical.type==")"&&(Xe.indented=Xe.lexical.indented),Xe.lexical=Xe.lexical.prev)}ae.lex=!0;function le(Xe){function gt(Ct){return Ct==Xe?R():Xe==";"||Ct=="}"||Ct==")"||Ct=="]"?O():R(gt)}return gt}function oe(Xe,gt){return Xe=="var"?R(Q("vardef",gt),vn,le(";"),ae):Xe=="keyword a"?R(Q("form"),Ae,oe,ae):Xe=="keyword b"?R(Q("form"),oe,ae):Xe=="keyword d"?N.stream.match(/^\s*$/,!1)?R():R(Q("stat"),be,le(";"),ae):Xe=="debugger"?R(le(";")):Xe=="{"?R(Q("}"),te,Ye,ae,re):Xe==";"?R():Xe=="if"?(N.state.lexical.info=="else"&&N.state.cc[N.state.cc.length-1]==ae&&N.state.cc.pop()(),R(Q("form"),Ae,oe,ae,Gt)):Xe=="function"?R(yn):Xe=="for"?R(Q("form"),te,gn,oe,re,ae):Xe=="class"||c&>=="interface"?(N.marked="keyword",R(Q("form",Xe=="class"?Xe:gt),Dr,ae)):Xe=="variable"?c&>=="declare"?(N.marked="keyword",R(oe)):c&&(gt=="module"||gt=="enum"||gt=="type")&&N.stream.match(/^\s*\w/,!1)?(N.marked="keyword",gt=="enum"?R(Pi):gt=="type"?R(na,le("operator"),et,le(";")):R(Q("form"),$t,le("{"),Q("}"),Ye,ae,ae)):c&>=="namespace"?(N.marked="keyword",R(Q("form"),ne,oe,ae)):c&>=="abstract"?(N.marked="keyword",R(oe)):R(Q("stat"),je):Xe=="switch"?R(Q("form"),Ae,le("{"),Q("}","switch"),te,Ye,ae,ae,re):Xe=="case"?R(ne,le(":")):Xe=="default"?R(le(":")):Xe=="catch"?R(Q("form"),J,ee,oe,ae,re):Xe=="export"?R(Q("stat"),qt,ae):Xe=="import"?R(Q("stat"),fr,ae):Xe=="async"?R(oe):gt=="@"?R(ne,oe):O(Q("stat"),ne,le(";"),ae)}function ee(Xe){if(Xe=="(")return R(yi,le(")"))}function ne(Xe,gt){return ce(Xe,gt,!1)}function ue(Xe,gt){return ce(Xe,gt,!0)}function Ae(Xe){return Xe!="("?O():R(Q(")"),be,le(")"),ae)}function ce(Xe,gt,Ct){if(N.state.fatArrowAt==N.stream.start){var Yt=Ct?De:$e;if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,le("=>"),Yt,re);if(Xe=="variable")return O(J,$t,le("=>"),Yt,re)}var or=Ct?ve:ge;return M.hasOwnProperty(Xe)?R(or):Xe=="function"?R(yn,or):Xe=="class"||c&>=="interface"?(N.marked="keyword",R(Q("form"),gi,ae)):Xe=="keyword c"||Xe=="async"?R(Ct?ue:ne):Xe=="("?R(Q(")"),be,le(")"),ae,or):Xe=="operator"||Xe=="spread"?R(Ct?ue:ne):Xe=="["?R(Q("]"),Hr,ae,or):Xe=="{"?xe(Re,"}",null,or):Xe=="quasi"?O(ie,or):Xe=="new"?R(Ie(Ct)):R()}function be(Xe){return Xe.match(/[;\}\)\],]/)?O():O(ne)}function ge(Xe,gt){return Xe==","?R(be):ve(Xe,gt,!1)}function ve(Xe,gt,Ct){var Yt=Ct==!1?ge:ve,or=Ct==!1?ne:ue;if(Xe=="=>")return R(J,Ct?De:$e,re);if(Xe=="operator")return/\+\+|--/.test(gt)||c&>=="!"?R(Yt):c&>=="<"&&N.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?R(Q(">"),de(et,">"),ae,Yt):gt=="?"?R(ne,le(":"),or):R(or);if(Xe=="quasi")return O(ie,Yt);if(Xe!=";"){if(Xe=="(")return xe(ue,")","call",Yt);if(Xe==".")return R(Oe,Yt);if(Xe=="[")return R(Q("]"),be,le("]"),ae,Yt);if(c&>=="as")return N.marked="keyword",R(et,Yt);if(Xe=="regexp")return N.state.lastType=N.marked="operator",N.stream.backUp(N.stream.pos-N.stream.start-1),R(or)}}function ie(Xe,gt){return Xe!="quasi"?O():gt.slice(gt.length-2)!="${"?R(ie):R(be,he)}function he(Xe){if(Xe=="}")return N.marked="string-2",N.state.tokenize=S,R(ie)}function $e(Xe){return L(N.stream,N.state),O(Xe=="{"?oe:ne)}function De(Xe){return L(N.stream,N.state),O(Xe=="{"?oe:ue)}function Ie(Xe){return function(gt){return gt=="."?R(Xe?we:Be):gt=="variable"&&c?R(Lt,Xe?ve:ge):O(Xe?ue:ne)}}function Be(Xe,gt){if(gt=="target")return N.marked="keyword",R(ge)}function we(Xe,gt){if(gt=="target")return N.marked="keyword",R(ve)}function je(Xe){return Xe==":"?R(ae,oe):O(ge,le(";"),ae)}function Oe(Xe){if(Xe=="variable")return N.marked="property",R()}function Re(Xe,gt){if(Xe=="async")return N.marked="property",R(Re);if(Xe=="variable"||N.style=="keyword"){if(N.marked="property",gt=="get"||gt=="set")return R(ye);var Ct;return c&&N.state.fatArrowAt==N.stream.start&&(Ct=N.stream.match(/^\s*:\s*/,!1))&&(N.state.fatArrowAt=N.stream.pos+Ct[0].length),R(fe)}else{if(Xe=="number"||Xe=="string")return N.marked=s?"property":N.style+" property",R(fe);if(Xe=="jsonld-keyword")return R(fe);if(c&&q(gt))return N.marked="keyword",R(Re);if(Xe=="[")return R(ne,Ze,le("]"),fe);if(Xe=="spread")return R(ue,fe);if(gt=="*")return N.marked="keyword",R(Re);if(Xe==":")return O(fe)}}function ye(Xe){return Xe!="variable"?O(fe):(N.marked="property",R(yn))}function fe(Xe){if(Xe==":")return R(ue);if(Xe=="(")return O(yn)}function de(Xe,gt,Ct){function Yt(or,kn){if(Ct?Ct.indexOf(or)>-1:or==","){var Rn=N.state.lexical;return Rn.info=="call"&&(Rn.pos=(Rn.pos||0)+1),R(function(Ke,wn){return Ke==gt||wn==gt?O():O(Xe)},Yt)}return or==gt||kn==gt?R():Ct&&Ct.indexOf(";")>-1?O(Xe):R(le(gt))}return function(or,kn){return or==gt||kn==gt?R():O(Xe,Yt)}}function xe(Xe,gt,Ct){for(var Yt=3;Yt"),et);if(Xe=="quasi")return O(pt,yt)}function Ot(Xe){if(Xe=="=>")return R(et)}function jt(Xe){return Xe.match(/[\}\)\]]/)?R():Xe==","||Xe==";"?R(jt):O(xt,jt)}function xt(Xe,gt){if(Xe=="variable"||N.style=="keyword")return N.marked="property",R(xt);if(gt=="?"||Xe=="number"||Xe=="string")return R(xt);if(Xe==":")return R(et);if(Xe=="[")return R(le("variable"),st,le("]"),xt);if(Xe=="(")return O(Gn,xt);if(!Xe.match(/[;\}\)\],]/))return R()}function pt(Xe,gt){return Xe!="quasi"?O():gt.slice(gt.length-2)!="${"?R(pt):R(et,_t)}function _t(Xe){if(Xe=="}")return N.marked="string-2",N.state.tokenize=S,R(pt)}function ht(Xe,gt){return Xe=="variable"&&N.stream.match(/^\s*[?:]/,!1)||gt=="?"?R(ht):Xe==":"?R(et):Xe=="spread"?R(ht):O(et)}function yt(Xe,gt){if(gt=="<")return R(Q(">"),de(et,">"),ae,yt);if(gt=="|"||Xe=="."||gt=="&")return R(et);if(Xe=="[")return R(et,le("]"),yt);if(gt=="extends"||gt=="implements")return N.marked="keyword",R(et);if(gt=="?")return R(et,le(":"),et)}function Lt(Xe,gt){if(gt=="<")return R(Q(">"),de(et,">"),ae,yt)}function on(){return O(et,Ht)}function Ht(Xe,gt){if(gt=="=")return R(et)}function vn(Xe,gt){return gt=="enum"?(N.marked="keyword",R(Pi)):O($t,Ze,Ut,en)}function $t(Xe,gt){if(c&&q(gt))return N.marked="keyword",R($t);if(Xe=="variable")return H(gt),R();if(Xe=="spread")return R($t);if(Xe=="[")return xe(Wt,"]");if(Xe=="{")return xe(Tt,"}")}function Tt(Xe,gt){return Xe=="variable"&&!N.stream.match(/^\s*:/,!1)?(H(gt),R(Ut)):(Xe=="variable"&&(N.marked="property"),Xe=="spread"?R($t):Xe=="}"?O():Xe=="["?R(ne,le("]"),le(":"),Tt):R(le(":"),$t,Ut))}function Wt(){return O($t,Ut)}function Ut(Xe,gt){if(gt=="=")return R(ue)}function en(Xe){if(Xe==",")return R(vn)}function Gt(Xe,gt){if(Xe=="keyword b"&>=="else")return R(Q("form","else"),oe,ae)}function gn(Xe,gt){if(gt=="await")return R(gn);if(Xe=="(")return R(Q(")"),In,ae)}function In(Xe){return Xe=="var"?R(vn,Wn):Xe=="variable"?R(Wn):O(Wn)}function Wn(Xe,gt){return Xe==")"?R():Xe==";"?R(Wn):gt=="in"||gt=="of"?(N.marked="keyword",R(ne,Wn)):O(ne,Wn)}function yn(Xe,gt){if(gt=="*")return N.marked="keyword",R(yn);if(Xe=="variable")return H(gt),R(yn);if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,at,oe,re);if(c&>=="<")return R(Q(">"),de(on,">"),ae,yn)}function Gn(Xe,gt){if(gt=="*")return N.marked="keyword",R(Gn);if(Xe=="variable")return H(gt),R(Gn);if(Xe=="(")return R(J,Q(")"),de(yi,")"),ae,at,re);if(c&>=="<")return R(Q(">"),de(on,">"),ae,Gn)}function na(Xe,gt){if(Xe=="keyword"||Xe=="variable")return N.marked="type",R(na);if(gt=="<")return R(Q(">"),de(on,">"),ae)}function yi(Xe,gt){return gt=="@"&&R(ne,yi),Xe=="spread"?R(yi):c&&q(gt)?(N.marked="keyword",R(yi)):c&&Xe=="this"?R(Ze,Ut):O($t,Ze,Ut)}function gi(Xe,gt){return Xe=="variable"?Dr(Xe,gt):mi(Xe,gt)}function Dr(Xe,gt){if(Xe=="variable")return H(gt),R(mi)}function mi(Xe,gt){if(gt=="<")return R(Q(">"),de(on,">"),ae,mi);if(gt=="extends"||gt=="implements"||c&&Xe==",")return gt=="implements"&&(N.marked="keyword"),R(c?et:ne,mi);if(Xe=="{")return R(Q("}"),$n,ae)}function $n(Xe,gt){if(Xe=="async"||Xe=="variable"&&(gt=="static"||gt=="get"||gt=="set"||c&&q(gt))&&N.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return N.marked="keyword",R($n);if(Xe=="variable"||N.style=="keyword")return N.marked="property",R(Dt,$n);if(Xe=="number"||Xe=="string")return R(Dt,$n);if(Xe=="[")return R(ne,Ze,le("]"),Dt,$n);if(gt=="*")return N.marked="keyword",R($n);if(c&&Xe=="(")return O(Gn,$n);if(Xe==";"||Xe==",")return R($n);if(Xe=="}")return R();if(gt=="@")return R(ne,$n)}function Dt(Xe,gt){if(gt=="!"||gt=="?")return R(Dt);if(Xe==":")return R(et,Ut);if(gt=="=")return R(ue);var Ct=N.state.lexical.prev,Yt=Ct&&Ct.info=="interface";return O(Yt?Gn:yn)}function qt(Xe,gt){return gt=="*"?(N.marked="keyword",R(An,le(";"))):gt=="default"?(N.marked="keyword",R(ne,le(";"))):Xe=="{"?R(de(cn,"}"),An,le(";")):O(oe)}function cn(Xe,gt){if(gt=="as")return N.marked="keyword",R(le("variable"));if(Xe=="variable")return O(ue,cn)}function fr(Xe){return Xe=="string"?R():Xe=="("?O(ne):Xe=="."?O(ge):O(Mr,si,An)}function Mr(Xe,gt){return Xe=="{"?xe(Mr,"}"):(Xe=="variable"&&H(gt),gt=="*"&&(N.marked="keyword"),R(Bn))}function si(Xe){if(Xe==",")return R(Mr,si)}function Bn(Xe,gt){if(gt=="as")return N.marked="keyword",R(Mr)}function An(Xe,gt){if(gt=="from")return N.marked="keyword",R(ne)}function Hr(Xe){return Xe=="]"?R():O(de(ue,"]"))}function Pi(){return O(Q("form"),$t,le("{"),Q("}"),de(Ei,"}"),ae,ae)}function Ei(){return O($t,Ut)}function Pr(Xe,gt){return Xe.lastType=="operator"||Xe.lastType==","||h.test(gt.charAt(0))||/[,.]/.test(gt.charAt(0))}function ra(Xe,gt,Ct){return gt.tokenize==w&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(gt.lastType)||gt.lastType=="quasi"&&/\{\s*$/.test(Xe.string.slice(0,Xe.pos-(Ct||0)))}return{startState:function(Xe){var gt={tokenize:w,lastType:"sof",cc:[],lexical:new D((Xe||0)-a,0,"block",!1),localVars:i.localVars,context:i.localVars&&new V(null,null,!1),indented:Xe||0};return i.globalVars&&typeof i.globalVars=="object"&&(gt.globalVars=i.globalVars),gt},token:function(Xe,gt){if(Xe.sol()&&(gt.lexical.hasOwnProperty("align")||(gt.lexical.align=!1),gt.indented=Xe.indentation(),L(Xe,gt)),gt.tokenize!=E&&Xe.eatSpace())return null;var Ct=gt.tokenize(Xe,gt);return b=="comment"?Ct:(gt.lastType=b=="operator"&&(m=="++"||m=="--")?"incdec":b,B(gt,Ct,b,m,Xe))},indent:function(Xe,gt){if(Xe.tokenize==E||Xe.tokenize==S)return n.Pass;if(Xe.tokenize!=w)return 0;var Ct=gt&>.charAt(0),Yt=Xe.lexical,or;if(!/^\s*else\b/.test(gt))for(var kn=Xe.cc.length-1;kn>=0;--kn){var Rn=Xe.cc[kn];if(Rn==ae)Yt=Yt.prev;else if(Rn!=Gt&&Rn!=re)break}for(;(Yt.type=="stat"||Yt.type=="form")&&(Ct=="}"||(or=Xe.cc[Xe.cc.length-1])&&(or==ge||or==ve)&&!/^[,\.=+\-*:?[\(]/.test(gt));)Yt=Yt.prev;o&&Yt.type==")"&&Yt.prev.type=="stat"&&(Yt=Yt.prev);var Ke=Yt.type,wn=Ct==Ke;return Ke=="vardef"?Yt.indented+(Xe.lastType=="operator"||Xe.lastType==","?Yt.info.length+1:0):Ke=="form"&&Ct=="{"?Yt.indented:Ke=="form"?Yt.indented+a:Ke=="stat"?Yt.indented+(Pr(Xe,gt)?o||a:0):Yt.info=="switch"&&!wn&&i.doubleIndentSwitch!=!1?Yt.indented+(/^(?:case|default)\b/.test(gt)?a:2*a):Yt.align?Yt.column+(wn?0:1):Yt.indented+(wn?0:a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:ra,skipExpression:function(Xe){B(Xe,"atom","atom","true",new n.StringStream("",2,null))}}}),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/manifest+json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var $$=aqn.exports;(function(e,t){(function(n){n(jr)})(function(n){function r(u){return new RegExp("^(("+u.join(")|(")+"))\\b")}var i=r(["and","or","not","is"]),a=["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"],o=["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__"];n.registerHelper("hintWords","python",a.concat(o).concat(["exec","print"]));function s(u){return u.scopes[u.scopes.length-1]}n.defineMode("python",function(u,c){for(var f="error",d=c.delimiters||c.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,h=[c.singleOperators,c.doubleOperators,c.doubleDelimiters,c.tripleDelimiters,c.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],p=0;pq?I(H):V0&&N(P,H)&&(X+=" "+f),X}}return L(P,H)}function L(P,H,F){if(P.eatSpace())return null;if(!F&&P.match(/^#.*/))return"comment";if(P.match(/^[0-9\.]/,!1)){var q=!1;if(P.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(q=!0),P.match(/^[\d_]+\.\d*/)&&(q=!0),P.match(/^\.\d+/)&&(q=!0),q)return P.eat(/J/i),"number";var V=!1;if(P.match(/^0x[0-9a-f_]+/i)&&(V=!0),P.match(/^0b[01_]+/i)&&(V=!0),P.match(/^0o[0-7_]+/i)&&(V=!0),P.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(P.eat(/J/i),V=!0),P.match(/^0(?![\dx])/i)&&(V=!0),V)return P.eat(/L/i),"number"}if(P.match(k)){var X=P.current().toLowerCase().indexOf("f")!==-1;return X?(H.tokenize=M(P.current(),H.tokenize),H.tokenize(P,H)):(H.tokenize=D(P.current(),H.tokenize),H.tokenize(P,H))}for(var G=0;G=0;)P=P.substr(1);var F=P.length==1,q="string";function V(G){return function(J,te){var re=L(J,te,!0);return re=="punctuation"&&(J.current()=="{"?te.tokenize=V(G+1):J.current()=="}"&&(G>1?te.tokenize=V(G-1):te.tokenize=X)),re}}function X(G,J){for(;!G.eol();)if(G.eatWhile(/[^'"\{\}\\]/),G.eat("\\")){if(G.next(),F&&G.eol())return q}else{if(G.match(P))return J.tokenize=H,q;if(G.match("{{"))return q;if(G.match("{",!1))return J.tokenize=V(0),G.current()?q:J.tokenize(G,J);if(G.match("}}"))return q;if(G.match("}"))return f;G.eat(/['"]/)}if(F){if(c.singleLineStringErrors)return f;J.tokenize=H}return q}return X.isString=!0,X}function D(P,H){for(;"rubf".indexOf(P.charAt(0).toLowerCase())>=0;)P=P.substr(1);var F=P.length==1,q="string";function V(X,G){for(;!X.eol();)if(X.eatWhile(/[^'"\\]/),X.eat("\\")){if(X.next(),F&&X.eol())return q}else{if(X.match(P))return G.tokenize=H,q;X.eat(/['"]/)}if(F){if(c.singleLineStringErrors)return f;G.tokenize=H}return q}return V.isString=!0,V}function I(P){for(;s(P).type!="py";)P.scopes.pop();P.scopes.push({offset:s(P).offset+u.indentUnit,type:"py",align:null})}function B(P,H,F){var q=P.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:P.column()+1;H.scopes.push({offset:H.indent+g,type:F,align:q})}function N(P,H){for(var F=P.indentation();H.scopes.length>1&&s(H).offset>F;){if(s(H).type!="py")return!0;H.scopes.pop()}return s(H).offset!=F}function O(P,H){P.sol()&&(H.beginningOfLine=!0,H.dedent=!1);var F=H.tokenize(P,H),q=P.current();if(H.beginningOfLine&&q=="@")return P.match(w,!1)?"meta":v?"operator":f;if(/\S/.test(q)&&(H.beginningOfLine=!1),(F=="variable"||F=="builtin")&&H.lastToken=="meta"&&(F="meta"),(q=="pass"||q=="return")&&(H.dedent=!0),q=="lambda"&&(H.lambda=!0),q==":"&&!H.lambda&&s(H).type=="py"&&P.match(/^\s*(?:#|$)/,!1)&&I(H),q.length==1&&!/string|comment/.test(F)){var V="[({".indexOf(q);if(V!=-1&&B(P,H,"])}".slice(V,V+1)),V="])}".indexOf(q),V!=-1)if(s(H).type==q)H.indent=H.scopes.pop().offset-g;else return f}return H.dedent&&P.eol()&&s(H).type=="py"&&H.scopes.length>1&&H.scopes.pop(),F}var R={startState:function(P){return{tokenize:T,scopes:[{offset:P||0,type:"py",align:null}],indent:P||0,lastToken:null,lambda:!1,dedent:0}},token:function(P,H){var F=H.errorToken;F&&(H.errorToken=!1);var q=O(P,H);return q&&q!="comment"&&(H.lastToken=q=="keyword"||q=="punctuation"?P.current():q),q=="punctuation"&&(q=null),P.eol()&&H.lambda&&(H.lambda=!1),F?q+" "+f:q},indent:function(P,H){if(P.tokenize!=T)return P.tokenize.isString?n.Pass:0;var F=s(P),q=F.type==H.charAt(0)||F.type=="py"&&!P.dedent&&/^(else:|elif |except |finally:)/.test(H);return F.align!=null?F.align-(q?1:0):F.offset-(q?g:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:`'"`},lineComment:"#",fold:"indent"};return R}),n.defineMIME("text/x-python","python");var l=function(u){return u.split(" ")};n.defineMIME("text/x-cython",{name:"python",extra_keywords:l("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var oqn={exports:{}},sqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("css",function(D,I){var B=I.inline;I.propertyKeywords||(I=n.resolveMode("text/css"));var N=D.indentUnit,O=I.tokenHooks,R=I.documentTypes||{},P=I.mediaTypes||{},H=I.mediaFeatures||{},F=I.mediaValueKeywords||{},q=I.propertyKeywords||{},V=I.nonStandardPropertyKeywords||{},X=I.fontProperties||{},G=I.counterDescriptors||{},J=I.colorKeywords||{},te=I.valueKeywords||{},re=I.allowNested,Q=I.lineComment,ae=I.supportsAtComponent===!0,le=D.highlightNonStandardPropertyKeywords!==!1,oe,ee;function ne(Ie,Be){return oe=Be,Ie}function ue(Ie,Be){var we=Ie.next();if(O[we]){var je=O[we](Ie,Be);if(je!==!1)return je}if(we=="@")return Ie.eatWhile(/[\w\\\-]/),ne("def",Ie.current());if(we=="="||(we=="~"||we=="|")&&Ie.eat("="))return ne(null,"compare");if(we=='"'||we=="'")return Be.tokenize=Ae(we),Be.tokenize(Ie,Be);if(we=="#")return Ie.eatWhile(/[\w\\\-]/),ne("atom","hash");if(we=="!")return Ie.match(/^\s*\w*/),ne("keyword","important");if(/\d/.test(we)||we=="."&&Ie.eat(/\d/))return Ie.eatWhile(/[\w.%]/),ne("number","unit");if(we==="-"){if(/[\d.]/.test(Ie.peek()))return Ie.eatWhile(/[\w.%]/),ne("number","unit");if(Ie.match(/^-[\w\\\-]*/))return Ie.eatWhile(/[\w\\\-]/),Ie.match(/^\s*:/,!1)?ne("variable-2","variable-definition"):ne("variable-2","variable");if(Ie.match(/^\w+-/))return ne("meta","meta")}else return/[,+>*\/]/.test(we)?ne(null,"select-op"):we=="."&&Ie.match(/^-?[_a-z][_a-z0-9-]*/i)?ne("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(we)?ne(null,we):Ie.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(Ie.current())&&(Be.tokenize=ce),ne("variable callee","variable")):/[\w\\\-]/.test(we)?(Ie.eatWhile(/[\w\\\-]/),ne("property","word")):ne(null,null)}function Ae(Ie){return function(Be,we){for(var je=!1,Oe;(Oe=Be.next())!=null;){if(Oe==Ie&&!je){Ie==")"&&Be.backUp(1);break}je=!je&&Oe=="\\"}return(Oe==Ie||!je&&Ie!=")")&&(we.tokenize=null),ne("string","string")}}function ce(Ie,Be){return Ie.next(),Ie.match(/^\s*[\"\')]/,!1)?Be.tokenize=null:Be.tokenize=Ae(")"),ne(null,"(")}function be(Ie,Be,we){this.type=Ie,this.indent=Be,this.prev=we}function ge(Ie,Be,we,je){return Ie.context=new be(we,Be.indentation()+(je===!1?0:N),Ie.context),we}function ve(Ie){return Ie.context.prev&&(Ie.context=Ie.context.prev),Ie.context.type}function ie(Ie,Be,we){return De[we.context.type](Ie,Be,we)}function he(Ie,Be,we,je){for(var Oe=je||1;Oe>0;Oe--)we.context=we.context.prev;return ie(Ie,Be,we)}function $e(Ie){var Be=Ie.current().toLowerCase();te.hasOwnProperty(Be)?ee="atom":J.hasOwnProperty(Be)?ee="keyword":ee="variable"}var De={};return De.top=function(Ie,Be,we){if(Ie=="{")return ge(we,Be,"block");if(Ie=="}"&&we.context.prev)return ve(we);if(ae&&/@component/i.test(Ie))return ge(we,Be,"atComponentBlock");if(/^@(-moz-)?document$/i.test(Ie))return ge(we,Be,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(Ie))return ge(we,Be,"atBlock");if(/^@(font-face|counter-style)/i.test(Ie))return we.stateArg=Ie,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(Ie))return"keyframes";if(Ie&&Ie.charAt(0)=="@")return ge(we,Be,"at");if(Ie=="hash")ee="builtin";else if(Ie=="word")ee="tag";else{if(Ie=="variable-definition")return"maybeprop";if(Ie=="interpolation")return ge(we,Be,"interpolation");if(Ie==":")return"pseudo";if(re&&Ie=="(")return ge(we,Be,"parens")}return we.context.type},De.block=function(Ie,Be,we){if(Ie=="word"){var je=Be.current().toLowerCase();return q.hasOwnProperty(je)?(ee="property","maybeprop"):V.hasOwnProperty(je)?(ee=le?"string-2":"property","maybeprop"):re?(ee=Be.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ee+=" error","maybeprop")}else return Ie=="meta"?"block":!re&&(Ie=="hash"||Ie=="qualifier")?(ee="error","block"):De.top(Ie,Be,we)},De.maybeprop=function(Ie,Be,we){return Ie==":"?ge(we,Be,"prop"):ie(Ie,Be,we)},De.prop=function(Ie,Be,we){if(Ie==";")return ve(we);if(Ie=="{"&&re)return ge(we,Be,"propBlock");if(Ie=="}"||Ie=="{")return he(Ie,Be,we);if(Ie=="(")return ge(we,Be,"parens");if(Ie=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Be.current()))ee+=" error";else if(Ie=="word")$e(Be);else if(Ie=="interpolation")return ge(we,Be,"interpolation");return"prop"},De.propBlock=function(Ie,Be,we){return Ie=="}"?ve(we):Ie=="word"?(ee="property","maybeprop"):we.context.type},De.parens=function(Ie,Be,we){return Ie=="{"||Ie=="}"?he(Ie,Be,we):Ie==")"?ve(we):Ie=="("?ge(we,Be,"parens"):Ie=="interpolation"?ge(we,Be,"interpolation"):(Ie=="word"&&$e(Be),"parens")},De.pseudo=function(Ie,Be,we){return Ie=="meta"?"pseudo":Ie=="word"?(ee="variable-3",we.context.type):ie(Ie,Be,we)},De.documentTypes=function(Ie,Be,we){return Ie=="word"&&R.hasOwnProperty(Be.current())?(ee="tag",we.context.type):De.atBlock(Ie,Be,we)},De.atBlock=function(Ie,Be,we){if(Ie=="(")return ge(we,Be,"atBlock_parens");if(Ie=="}"||Ie==";")return he(Ie,Be,we);if(Ie=="{")return ve(we)&&ge(we,Be,re?"block":"top");if(Ie=="interpolation")return ge(we,Be,"interpolation");if(Ie=="word"){var je=Be.current().toLowerCase();je=="only"||je=="not"||je=="and"||je=="or"?ee="keyword":P.hasOwnProperty(je)?ee="attribute":H.hasOwnProperty(je)?ee="property":F.hasOwnProperty(je)?ee="keyword":q.hasOwnProperty(je)?ee="property":V.hasOwnProperty(je)?ee=le?"string-2":"property":te.hasOwnProperty(je)?ee="atom":J.hasOwnProperty(je)?ee="keyword":ee="error"}return we.context.type},De.atComponentBlock=function(Ie,Be,we){return Ie=="}"?he(Ie,Be,we):Ie=="{"?ve(we)&&ge(we,Be,re?"block":"top",!1):(Ie=="word"&&(ee="error"),we.context.type)},De.atBlock_parens=function(Ie,Be,we){return Ie==")"?ve(we):Ie=="{"||Ie=="}"?he(Ie,Be,we,2):De.atBlock(Ie,Be,we)},De.restricted_atBlock_before=function(Ie,Be,we){return Ie=="{"?ge(we,Be,"restricted_atBlock"):Ie=="word"&&we.stateArg=="@counter-style"?(ee="variable","restricted_atBlock_before"):ie(Ie,Be,we)},De.restricted_atBlock=function(Ie,Be,we){return Ie=="}"?(we.stateArg=null,ve(we)):Ie=="word"?(we.stateArg=="@font-face"&&!X.hasOwnProperty(Be.current().toLowerCase())||we.stateArg=="@counter-style"&&!G.hasOwnProperty(Be.current().toLowerCase())?ee="error":ee="property","maybeprop"):"restricted_atBlock"},De.keyframes=function(Ie,Be,we){return Ie=="word"?(ee="variable","keyframes"):Ie=="{"?ge(we,Be,"top"):ie(Ie,Be,we)},De.at=function(Ie,Be,we){return Ie==";"?ve(we):Ie=="{"||Ie=="}"?he(Ie,Be,we):(Ie=="word"?ee="tag":Ie=="hash"&&(ee="builtin"),"at")},De.interpolation=function(Ie,Be,we){return Ie=="}"?ve(we):Ie=="{"||Ie==";"?he(Ie,Be,we):(Ie=="word"?ee="variable":Ie!="variable"&&Ie!="("&&Ie!=")"&&(ee="error"),"interpolation")},{startState:function(Ie){return{tokenize:null,state:B?"block":"top",stateArg:null,context:new be(B?"block":"top",Ie||0,null)}},token:function(Ie,Be){if(!Be.tokenize&&Ie.eatSpace())return null;var we=(Be.tokenize||ue)(Ie,Be);return we&&typeof we=="object"&&(oe=we[1],we=we[0]),ee=we,oe!="comment"&&(Be.state=De[Be.state](oe,Ie,Be)),ee},indent:function(Ie,Be){var we=Ie.context,je=Be&&Be.charAt(0),Oe=we.indent;return we.type=="prop"&&(je=="}"||je==")")&&(we=we.prev),we.prev&&(je=="}"&&(we.type=="block"||we.type=="top"||we.type=="interpolation"||we.type=="restricted_atBlock")?(we=we.prev,Oe=we.indent):(je==")"&&(we.type=="parens"||we.type=="atBlock_parens")||je=="{"&&(we.type=="at"||we.type=="atBlock"))&&(Oe=Math.max(0,we.indent-N))),Oe},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Q,fold:"brace"}});function r(D){for(var I={},B=0;B-1?f.backUp(p.length-g):p.match(/<\/?$/)&&(f.backUp(p.length),f.match(d,!1)||f.match(p)),h}var a={};function o(f){var d=a[f];return d||(a[f]=new RegExp("\\s+"+f+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function s(f,d){var h=f.match(o(d));return h?/^\s*(.*?)\s*$/.exec(h[2])[1]:""}function l(f,d){return new RegExp((d?"^":"")+"","i")}function u(f,d){for(var h in f)for(var p=d[h]||(d[h]=[]),g=f[h],b=g.length-1;b>=0;b--)p.unshift(g[b])}function c(f,d){for(var h=0;h=0;m--)p.script.unshift(["type",b[m].matches,b[m].mode]);function v(w,k){var E=h.token(w,k.htmlState),S=/\btag\b/.test(E),T;if(S&&!/[<>\s\/]/.test(w.current())&&(T=k.htmlState.tagName&&k.htmlState.tagName.toLowerCase())&&p.hasOwnProperty(T))k.inTag=T+" ";else if(k.inTag&&S&&/>$/.test(w.current())){var L=/^([\S]+) (.*)/.exec(k.inTag);k.inTag=null;var M=w.current()==">"&&c(p[L[1]],L[2]),D=n.getMode(f,M),I=l(L[1],!0),B=l(L[1],!1);k.token=function(N,O){return N.match(I,!1)?(O.token=v,O.localState=O.localMode=null,null):i(N,B,O.localMode.token(N,O.localState))},k.localMode=D,k.localState=n.startState(D,h.indent(k.htmlState,"",""))}else k.inTag&&(k.inTag+=w.current(),w.eol()&&(k.inTag+=" "));return E}return{startState:function(){var w=n.startState(h);return{token:v,inTag:null,localMode:null,localState:null,htmlState:w}},copyState:function(w){var k;return w.localState&&(k=n.copyState(w.localMode,w.localState)),{token:w.token,inTag:w.inTag,localMode:w.localMode,localState:k,htmlState:n.copyState(h,w.htmlState)}},token:function(w,k){return k.token(w,k)},indent:function(w,k,E){return!w.localMode||/^\s*<\//.test(k)?h.indent(w.htmlState,k,E):w.localMode.indent?w.localMode.indent(w.localState,k,E):n.Pass},innerMode:function(w){return{state:w.localState||w.htmlState,mode:w.localMode||h}}}},"xml","javascript","css"),n.defineMIME("text/html","htmlmixed")})})();var Ghe=oqn.exports,dke={exports:{}},hke;function lqn(){return hke||(hke=1,function(e,t){(function(n){n(jr)})(function(n){function r(F,q,V,X,G,J){this.indented=F,this.column=q,this.type=V,this.info=X,this.align=G,this.prev=J}function i(F,q,V,X){var G=F.indented;return F.context&&F.context.type=="statement"&&V!="statement"&&(G=F.context.indented),F.context=new r(G,q,V,X,null,F.context)}function a(F){var q=F.context.type;return(q==")"||q=="]"||q=="}")&&(F.indented=F.context.indented),F.context=F.context.prev}function o(F,q,V){if(q.prevToken=="variable"||q.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(F.string.slice(0,V))||q.typeAtEndOfLine&&F.column()==F.indentation())return!0}function s(F){for(;;){if(!F||F.type=="top")return!0;if(F.type=="}"&&F.prev.info!="namespace")return!1;F=F.prev}}n.defineMode("clike",function(F,q){var V=F.indentUnit,X=q.statementIndentUnit||V,G=q.dontAlignCalls,J=q.keywords||{},te=q.types||{},re=q.builtin||{},Q=q.blockKeywords||{},ae=q.defKeywords||{},le=q.atoms||{},oe=q.hooks||{},ee=q.multiLineStrings,ne=q.indentStatements!==!1,ue=q.indentSwitch!==!1,Ae=q.namespaceSeparator,ce=q.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,be=q.numberStart||/[\d\.]/,ge=q.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,ve=q.isOperatorChar||/[+\-*&%=<>!?|\/]/,ie=q.isIdentifierChar||/[\w\$_\xa1-\uffff]/,he=q.isReservedIdentifier||!1,$e,De;function Ie(Oe,Re){var ye=Oe.next();if(oe[ye]){var fe=oe[ye](Oe,Re);if(fe!==!1)return fe}if(ye=='"'||ye=="'")return Re.tokenize=Be(ye),Re.tokenize(Oe,Re);if(be.test(ye)){if(Oe.backUp(1),Oe.match(ge))return"number";Oe.next()}if(ce.test(ye))return $e=ye,null;if(ye=="/"){if(Oe.eat("*"))return Re.tokenize=we,we(Oe,Re);if(Oe.eat("/"))return Oe.skipToEnd(),"comment"}if(ve.test(ye)){for(;!Oe.match(/^\/[\/*]/,!1)&&Oe.eat(ve););return"operator"}if(Oe.eatWhile(ie),Ae)for(;Oe.match(Ae);)Oe.eatWhile(ie);var de=Oe.current();return u(J,de)?(u(Q,de)&&($e="newstatement"),u(ae,de)&&(De=!0),"keyword"):u(te,de)?"type":u(re,de)||he&&he(de)?(u(Q,de)&&($e="newstatement"),"builtin"):u(le,de)?"atom":"variable"}function Be(Oe){return function(Re,ye){for(var fe=!1,de,xe=!1;(de=Re.next())!=null;){if(de==Oe&&!fe){xe=!0;break}fe=!fe&&de=="\\"}return(xe||!(fe||ee))&&(ye.tokenize=null),"string"}}function we(Oe,Re){for(var ye=!1,fe;fe=Oe.next();){if(fe=="/"&&ye){Re.tokenize=null;break}ye=fe=="*"}return"comment"}function je(Oe,Re){q.typeFirstDefinitions&&Oe.eol()&&s(Re.context)&&(Re.typeAtEndOfLine=o(Oe,Re,Oe.pos))}return{startState:function(Oe){return{tokenize:null,context:new r((Oe||0)-V,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(Oe,Re){var ye=Re.context;if(Oe.sol()&&(ye.align==null&&(ye.align=!1),Re.indented=Oe.indentation(),Re.startOfLine=!0),Oe.eatSpace())return je(Oe,Re),null;$e=De=null;var fe=(Re.tokenize||Ie)(Oe,Re);if(fe=="comment"||fe=="meta")return fe;if(ye.align==null&&(ye.align=!0),$e==";"||$e==":"||$e==","&&Oe.match(/^\s*(?:\/\/.*)?$/,!1))for(;Re.context.type=="statement";)a(Re);else if($e=="{")i(Re,Oe.column(),"}");else if($e=="[")i(Re,Oe.column(),"]");else if($e=="(")i(Re,Oe.column(),")");else if($e=="}"){for(;ye.type=="statement";)ye=a(Re);for(ye.type=="}"&&(ye=a(Re));ye.type=="statement";)ye=a(Re)}else $e==ye.type?a(Re):ne&&((ye.type=="}"||ye.type=="top")&&$e!=";"||ye.type=="statement"&&$e=="newstatement")&&i(Re,Oe.column(),"statement",Oe.current());if(fe=="variable"&&(Re.prevToken=="def"||q.typeFirstDefinitions&&o(Oe,Re,Oe.start)&&s(Re.context)&&Oe.match(/^\s*\(/,!1))&&(fe="def"),oe.token){var de=oe.token(Oe,Re,fe);de!==void 0&&(fe=de)}return fe=="def"&&q.styleDefs===!1&&(fe="variable"),Re.startOfLine=!1,Re.prevToken=De?"def":fe||$e,je(Oe,Re),fe},indent:function(Oe,Re){if(Oe.tokenize!=Ie&&Oe.tokenize!=null||Oe.typeAtEndOfLine)return n.Pass;var ye=Oe.context,fe=Re&&Re.charAt(0),de=fe==ye.type;if(ye.type=="statement"&&fe=="}"&&(ye=ye.prev),q.dontIndentStatements)for(;ye.type=="statement"&&q.dontIndentStatements.test(ye.info);)ye=ye.prev;if(oe.indent){var xe=oe.indent(Oe,ye,Re,V);if(typeof xe=="number")return xe}var Ye=ye.prev&&ye.prev.info=="switch";if(q.allmanIndentation&&/[{(]/.test(fe)){for(;ye.type!="top"&&ye.type!="}";)ye=ye.prev;return ye.indented}return ye.type=="statement"?ye.indented+(fe=="{"?0:X):ye.align&&(!G||ye.type!=")")?ye.column+(de?0:1):ye.type==")"&&!de?ye.indented+X:ye.indented+(de?0:V)+(!de&&Ye&&!/^(?:case|default)\b/.test(Re)?V:0)},electricInput:ue?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function l(F){for(var q={},V=F.split(" "),X=0;X!?|\/#:@]/,hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},'"':function(F,q){return F.match('""')?(q.tokenize=N,q.tokenize(F,q)):!1},"'":function(F){return F.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(F,q){var V=q.context;return V.type=="}"&&V.align&&F.eat(">")?(q.context=new r(V.indented,V.column,V.type,V.info,null,V.prev),"operator"):!1},"/":function(F,q){return F.eat("*")?(q.tokenize=O(1),q.tokenize(F,q)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function R(F){return function(q,V){for(var X=!1,G,J=!1;!q.eol();){if(!F&&!X&&q.match('"')){J=!0;break}if(F&&q.match('"""')){J=!0;break}G=q.next(),!X&&G=="$"&&q.match("{")&&q.skipTo("}"),X=!X&&G=="\\"&&!F}return(J||!F)&&(V.tokenize=null),"string"}}B("text/x-kotlin",{name:"clike",keywords:l("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:l("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:l("catch class do else finally for if where try while enum"),defKeywords:l("class val var object interface fun"),atoms:l("true false null this"),hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},"*":function(F,q){return q.prevToken=="."?"variable":"operator"},'"':function(F,q){return q.tokenize=R(F.match('""')),q.tokenize(F,q)},"/":function(F,q){return F.eat("*")?(q.tokenize=O(1),q.tokenize(F,q)):!1},indent:function(F,q,V,X){var G=V&&V.charAt(0);if((F.prevToken=="}"||F.prevToken==")")&&V=="")return F.indented;if(F.prevToken=="operator"&&V!="}"&&F.context.type!="}"||F.prevToken=="variable"&&G=="."||(F.prevToken=="}"||F.prevToken==")")&&G==".")return X*2+q.indented;if(q.align&&q.type=="}")return q.indented+(F.context.type==(V||"").charAt(0)?0:X)}},modeProps:{closeBrackets:{triples:'"'}}}),B(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:l("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:l("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:l("for while do if else struct"),builtin:l("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:l("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:{"#":k},modeProps:{fold:["brace","include"]}}),B("text/x-nesc",{name:"clike",keywords:l(c+" 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:b,blockKeywords:l(v),atoms:l("null true false"),hooks:{"#":k},modeProps:{fold:["brace","include"]}}),B("text/x-objectivec",{name:"clike",keywords:l(c+" "+d),types:m,builtin:l(h),blockKeywords:l(v+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:l(w+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:l("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:S,hooks:{"#":k,"*":E},modeProps:{fold:["brace","include"]}}),B("text/x-objectivec++",{name:"clike",keywords:l(c+" "+d+" "+f),types:m,builtin:l(h),blockKeywords:l(v+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:l(w+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:l("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:S,hooks:{"#":k,"*":E,u:L,U:L,L,R:L,0:T,1:T,2:T,3:T,4:T,5:T,6:T,7:T,8:T,9:T,token:function(F,q,V){if(V=="variable"&&F.peek()=="("&&(q.prevToken==";"||q.prevToken==null||q.prevToken=="}")&&M(F.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),B("text/x-squirrel",{name:"clike",keywords:l("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:b,blockKeywords:l("case catch class else for foreach if switch try while"),defKeywords:l("function local class"),typeFirstDefinitions:!0,atoms:l("true false null"),hooks:{"#":k},modeProps:{fold:["brace","include"]}});var P=null;function H(F){return function(q,V){for(var X=!1,G,J=!1;!q.eol();){if(!X&&q.match('"')&&(F=="single"||q.match('""'))){J=!0;break}if(!X&&q.match("``")){P=H(F),J=!0;break}G=q.next(),X=F=="single"&&!X&&G=="\\"}return J&&(V.tokenize=null),"string"}}B("text/x-ceylon",{name:"clike",keywords:l("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(F){var q=F.charAt(0);return q===q.toUpperCase()&&q!==q.toLowerCase()},blockKeywords:l("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:l("class dynamic function interface module object package value"),builtin:l("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:l("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(F){return F.eatWhile(/[\w\$_]/),"meta"},'"':function(F,q){return q.tokenize=H(F.match('""')?"triple":"single"),q.tokenize(F,q)},"`":function(F,q){return!P||!F.match("`")?!1:(q.tokenize=P,P=null,q.tokenize(F,q))},"'":function(F){return F.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(F,q,V){if((V=="variable"||V=="type")&&q.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})}()),dke.exports}(function(e,t){(function(n){n(jr,Ghe,lqn())})(function(n){function r(f){for(var d={},h=f.split(" "),p=0;p\w/,!1)&&(d.tokenize=i([[["->",null]],[[/[\w]+/,"variable"]]],h,p)),"variable-2";for(var g=!1;!f.eol()&&(g||p===!1||!f.match("{$",!1)&&!f.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!g&&f.match(h)){d.tokenize=null,d.tokStack.pop(),d.tokStack.pop();break}g=f.next()=="\\"&&!g}return"string"}var s="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",l="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",u="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";n.registerHelper("hintWords","php",[s,l,u].join(" ").split(" ")),n.registerHelper("wordChars","php",/[\w$]/);var c={name:"clike",helperType:"php",keywords:r(s),blockKeywords:r("catch do else elseif for foreach if switch try while finally"),defKeywords:r("class enum function interface namespace trait"),atoms:r(l),builtin:r(u),multiLineStrings:!0,hooks:{$:function(f){return f.eatWhile(/[\w\$_]/),"variable-2"},"<":function(f,d){var h;if(h=f.match(/^<<\s*/)){var p=f.eat(/['"]/);f.eatWhile(/[\w\.]/);var g=f.current().slice(h[0].length+(p?2:1));if(p&&f.eat(p),g)return(d.tokStack||(d.tokStack=[])).push(g,0),d.tokenize=a(g,p!="'"),"string"}return!1},"#":function(f){for(;!f.eol()&&!f.match("?>",!1);)f.next();return"comment"},"/":function(f){if(f.eat("/")){for(;!f.eol()&&!f.match("?>",!1);)f.next();return"comment"}return!1},'"':function(f,d){return(d.tokStack||(d.tokStack=[])).push('"',0),d.tokenize=a('"'),"string"},"{":function(f,d){return d.tokStack&&d.tokStack.length&&d.tokStack[d.tokStack.length-1]++,!1},"}":function(f,d){return d.tokStack&&d.tokStack.length>0&&!--d.tokStack[d.tokStack.length-1]&&(d.tokenize=a(d.tokStack[d.tokStack.length-2])),!1}}};n.defineMode("php",function(f,d){var h=n.getMode(f,d&&d.htmlMode||"text/html"),p=n.getMode(f,c);function g(b,m){var v=m.curMode==p;if(b.sol()&&m.pending&&m.pending!='"'&&m.pending!="'"&&(m.pending=null),v)return v&&m.php.tokenize==null&&b.match("?>")?(m.curMode=h,m.curState=m.html,m.php.context.prev||(m.php=null),"meta"):p.token(b,m.curState);if(b.match(/^<\?\w*/))return m.curMode=p,m.php||(m.php=n.startState(p,h.indent(m.html,"",""))),m.curState=m.php,"meta";if(m.pending=='"'||m.pending=="'"){for(;!b.eol()&&b.next()!=m.pending;);var w="string"}else if(m.pending&&b.pos/.test(k)?m.pending=S[0]:m.pending={end:b.pos,style:w},b.backUp(k.length-E)),w}return{startState:function(){var b=n.startState(h),m=d.startOpen?n.startState(p):null;return{html:b,php:m,curMode:d.startOpen?p:h,curState:d.startOpen?m:b,pending:null}},copyState:function(b){var m=b.html,v=n.copyState(h,m),w=b.php,k=w&&n.copyState(p,w),E;return b.curMode==h?E=v:E=k,{html:v,php:k,curMode:b.curMode,curState:E,pending:b.pending}},token:g,indent:function(b,m,v){return b.curMode!=p&&/^\s*<\//.test(m)||b.curMode==p&&/^\?>/.test(m)?h.indent(b.html,m,v):b.curMode.indent(b.curState,m,v)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(b){return{state:b.curState,mode:b.curMode}}}},"htmlmixed","clike"),n.defineMIME("application/x-httpd-php","php"),n.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),n.defineMIME("text/x-php",c)})})();(function(e,t){(function(n){n(jr)})(function(n){function r(c){for(var f={},d=0,h=c.length;d]/)?(k.eat(/[\<\>]/),"atom"):k.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":k.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(k.eatWhile(/[\w$\xa1-\uffff]/),k.eat(/[\?\!\=]/),"atom"):"operator";if(S=="@"&&k.match(/^@?[a-zA-Z_\xa1-\uffff]/))return k.eat("@"),k.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(S=="$")return k.eat(/[a-zA-Z_]/)?k.eatWhile(/[\w]/):k.eat(/\d/)?k.eat(/\d/):k.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(S))return k.eatWhile(/[\w\xa1-\uffff]/),k.eat(/[\?\!]/),k.eat(":")?"atom":"ident";if(S=="|"&&(E.varList||E.lastTok=="{"||E.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(S))return f=S,null;if(S=="-"&&k.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(S)){var I=k.eatWhile(/[=+\-\/*:\.^%<>~|]/);return S=="."&&!I&&(f="."),"operator"}else return null}}}function p(k){for(var E=k.pos,S=0,T,L=!1,M=!1;(T=k.next())!=null;)if(M)M=!1;else{if("[{(".indexOf(T)>-1)S++;else if("]})".indexOf(T)>-1){if(S--,S<0)break}else if(T=="/"&&S==0){L=!0;break}M=T=="\\"}return k.backUp(k.pos-E),L}function g(k){return k||(k=1),function(E,S){if(E.peek()=="}"){if(k==1)return S.tokenize.pop(),S.tokenize[S.tokenize.length-1](E,S);S.tokenize[S.tokenize.length-1]=g(k-1)}else E.peek()=="{"&&(S.tokenize[S.tokenize.length-1]=g(k+1));return h(E,S)}}function b(){var k=!1;return function(E,S){return k?(S.tokenize.pop(),S.tokenize[S.tokenize.length-1](E,S)):(k=!0,h(E,S))}}function m(k,E,S,T){return function(L,M){var D=!1,I;for(M.context.type==="read-quoted-paused"&&(M.context=M.context.prev,L.eat("}"));(I=L.next())!=null;){if(I==k&&(T||!D)){M.tokenize.pop();break}if(S&&I=="#"&&!D){if(L.eat("{")){k=="}"&&(M.context={prev:M.context,type:"read-quoted-paused"}),M.tokenize.push(g());break}else if(/[@\$]/.test(L.peek())){M.tokenize.push(b());break}}D=!D&&I=="\\"}return E}}function v(k,E){return function(S,T){return E&&S.eatSpace(),S.match(k)?T.tokenize.pop():S.skipToEnd(),"string"}}function w(k,E){return k.sol()&&k.match("=end")&&k.eol()&&E.tokenize.pop(),k.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[h],indented:0,context:{type:"top",indented:-c.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(k,E){f=null,k.sol()&&(E.indented=k.indentation());var S=E.tokenize[E.tokenize.length-1](k,E),T,L=f;if(S=="ident"){var M=k.current();S=E.lastTok=="."?"property":a.propertyIsEnumerable(k.current())?"keyword":/^[A-Z]/.test(M)?"tag":E.lastTok=="def"||E.lastTok=="class"||E.varList?"def":"variable",S=="keyword"&&(L=M,o.propertyIsEnumerable(M)?T="indent":s.propertyIsEnumerable(M)?T="dedent":((M=="if"||M=="unless")&&k.column()==k.indentation()||M=="do"&&E.context.indented","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],h=u(d),p=/^::?[a-zA-Z_][\w\-]*/,g;function b(M){return!M.peek()||M.match(/\s+$/,!1)}function m(M,D){var I=M.peek();return I===")"?(M.next(),D.tokenizer=T,"operator"):I==="("?(M.next(),M.eatSpace(),"operator"):I==="'"||I==='"'?(D.tokenizer=w(M.next()),"string"):(D.tokenizer=w(")",!1),"string")}function v(M,D){return function(I,B){return I.sol()&&I.indentation()<=M?(B.tokenizer=T,T(I,B)):(D&&I.skipTo("*/")?(I.next(),I.next(),B.tokenizer=T):I.skipToEnd(),"comment")}}function w(M,D){D==null&&(D=!0);function I(B,N){var O=B.next(),R=B.peek(),P=B.string.charAt(B.pos-2),H=O!=="\\"&&R===M||O===M&&P!=="\\";return H?(O!==M&&D&&B.next(),b(B)&&(N.cursorHalf=0),N.tokenizer=T,"string"):O==="#"&&R==="{"?(N.tokenizer=k(I),B.next(),"operator"):"string"}return I}function k(M){return function(D,I){return D.peek()==="}"?(D.next(),I.tokenizer=M,"operator"):T(D,I)}}function E(M){if(M.indentCount==0){M.indentCount++;var D=M.scopes[0].offset,I=D+r.indentUnit;M.scopes.unshift({offset:I})}}function S(M){M.scopes.length!=1&&M.scopes.shift()}function T(M,D){var I=M.peek();if(M.match("/*"))return D.tokenizer=v(M.indentation(),!0),D.tokenizer(M,D);if(M.match("//"))return D.tokenizer=v(M.indentation(),!1),D.tokenizer(M,D);if(M.match("#{"))return D.tokenizer=k(T),"operator";if(I==='"'||I==="'")return M.next(),D.tokenizer=w(I),"string";if(D.cursorHalf){if(I==="#"&&(M.next(),M.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||M.match(/^-?[0-9\.]+/))return b(M)&&(D.cursorHalf=0),"number";if(M.match(/^(px|em|in)\b/))return b(M)&&(D.cursorHalf=0),"unit";if(M.match(f))return b(M)&&(D.cursorHalf=0),"keyword";if(M.match(/^url/)&&M.peek()==="(")return D.tokenizer=m,b(M)&&(D.cursorHalf=0),"atom";if(I==="$")return M.next(),M.eatWhile(/[\w-]/),b(M)&&(D.cursorHalf=0),"variable-2";if(I==="!")return M.next(),D.cursorHalf=0,M.match(/^[\w]+/)?"keyword":"operator";if(M.match(h))return b(M)&&(D.cursorHalf=0),"operator";if(M.eatWhile(/[\w-]/))return b(M)&&(D.cursorHalf=0),g=M.current().toLowerCase(),s.hasOwnProperty(g)?"atom":o.hasOwnProperty(g)?"keyword":a.hasOwnProperty(g)?(D.prevProp=M.current().toLowerCase(),"property"):"tag";if(b(M))return D.cursorHalf=0,null}else{if(I==="-"&&M.match(/^-\w+-/))return"meta";if(I==="."){if(M.next(),M.match(/^[\w-]+/))return E(D),"qualifier";if(M.peek()==="#")return E(D),"tag"}if(I==="#"){if(M.next(),M.match(/^[\w-]+/))return E(D),"builtin";if(M.peek()==="#")return E(D),"tag"}if(I==="$")return M.next(),M.eatWhile(/[\w-]/),"variable-2";if(M.match(/^-?[0-9\.]+/))return"number";if(M.match(/^(px|em|in)\b/))return"unit";if(M.match(f))return"keyword";if(M.match(/^url/)&&M.peek()==="(")return D.tokenizer=m,"atom";if(I==="="&&M.match(/^=[\w-]+/))return E(D),"meta";if(I==="+"&&M.match(/^\+[\w-]+/))return"variable-3";if(I==="@"&&M.match("@extend")&&(M.match(/\s*[\w]/)||S(D)),M.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return E(D),"def";if(I==="@")return M.next(),M.eatWhile(/[\w-]/),"def";if(M.eatWhile(/[\w-]/))if(M.match(/ *: *[\w-\+\$#!\("']/,!1)){g=M.current().toLowerCase();var B=D.prevProp+"-"+g;return a.hasOwnProperty(B)?"property":a.hasOwnProperty(g)?(D.prevProp=g,"property"):l.hasOwnProperty(g)?"property":"tag"}else return M.match(/ *:/,!1)?(E(D),D.cursorHalf=1,D.prevProp=M.current().toLowerCase(),"property"):(M.match(/ *,/,!1)||E(D),"tag");if(I===":")return M.match(p)?"variable-3":(M.next(),D.cursorHalf=1,"operator")}return M.match(h)?"operator":(M.next(),null)}function L(M,D){M.sol()&&(D.indentCount=0);var I=D.tokenizer(M,D),B=M.current();if((B==="@return"||B==="}")&&S(D),I!==null){for(var N=M.pos-B.length,O=N+r.indentUnit*D.indentCount,R=[],P=0;P1&&p.eat("$");var b=p.next();return/['"({]/.test(b)?(g.tokens[0]=u(b,b=="("?"quote":b=="{"?"def":"string"),h(p,g)):(/\d/.test(b)||p.eatWhile(/\w/),g.tokens.shift(),"def")};function d(p){return function(g,b){return g.sol()&&g.string==p&&b.tokens.shift(),g.skipToEnd(),"string-2"}}function h(p,g){return(g.tokens[0]||l)(p,g)}return{startState:function(){return{tokens:[]}},token:function(p,g){return h(p,g)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),n.defineMIME("text/x-sh","shell"),n.defineMIME("application/x-sh","shell")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("sql",function(c,f){var d=f.client||{},h=f.atoms||{false:!0,true:!0,null:!0},p=f.builtin||l(u),g=f.keywords||l(s),b=f.operatorChars||/^[*+\-%<>!=&|~^\/]/,m=f.support||{},v=f.hooks||{},w=f.dateSQL||{date:!0,time:!0,timestamp:!0},k=f.backslashStringEscapes!==!1,E=f.brackets||/^[\{}\(\)\[\]]/,S=f.punctuation||/^[;.,:]/;function T(B,N){var O=B.next();if(v[O]){var R=v[O](B,N);if(R!==!1)return R}if(m.hexNumber&&(O=="0"&&B.match(/^[xX][0-9a-fA-F]+/)||(O=="x"||O=="X")&&B.match(/^'[0-9a-fA-F]*'/)))return"number";if(m.binaryNumber&&((O=="b"||O=="B")&&B.match(/^'[01]*'/)||O=="0"&&B.match(/^b[01]+/)))return"number";if(O.charCodeAt(0)>47&&O.charCodeAt(0)<58)return B.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),m.decimallessFloat&&B.match(/^\.(?!\.)/),"number";if(O=="?"&&(B.eatSpace()||B.eol()||B.eat(";")))return"variable-3";if(O=="'"||O=='"'&&m.doubleQuote)return N.tokenize=L(O),N.tokenize(B,N);if((m.nCharCast&&(O=="n"||O=="N")||m.charsetCast&&O=="_"&&B.match(/[a-z][a-z0-9]*/i))&&(B.peek()=="'"||B.peek()=='"'))return"keyword";if(m.escapeConstant&&(O=="e"||O=="E")&&(B.peek()=="'"||B.peek()=='"'&&m.doubleQuote))return N.tokenize=function(H,F){return(F.tokenize=L(H.next(),!0))(H,F)},"keyword";if(m.commentSlashSlash&&O=="/"&&B.eat("/"))return B.skipToEnd(),"comment";if(m.commentHash&&O=="#"||O=="-"&&B.eat("-")&&(!m.commentSpaceRequired||B.eat(" ")))return B.skipToEnd(),"comment";if(O=="/"&&B.eat("*"))return N.tokenize=M(1),N.tokenize(B,N);if(O=="."){if(m.zerolessFloat&&B.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(B.match(/^\.+/))return null;if(B.match(/^[\w\d_$#]+/))return"variable-2"}else{if(b.test(O))return B.eatWhile(b),"operator";if(E.test(O))return"bracket";if(S.test(O))return B.eatWhile(S),"punctuation";if(O=="{"&&(B.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||B.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";B.eatWhile(/^[_\w\d]/);var P=B.current().toLowerCase();return w.hasOwnProperty(P)&&(B.match(/^( )+'[^']*'/)||B.match(/^( )+"[^"]*"/))?"number":h.hasOwnProperty(P)?"atom":p.hasOwnProperty(P)?"type":g.hasOwnProperty(P)?"keyword":d.hasOwnProperty(P)?"builtin":null}}function L(B,N){return function(O,R){for(var P=!1,H;(H=O.next())!=null;){if(H==B&&!P){R.tokenize=T;break}P=(k||N)&&!P&&H=="\\"}return"string"}}function M(B){return function(N,O){var R=N.match(/^.*?(\/\*|\*\/)/);return R?R[1]=="/*"?O.tokenize=M(B+1):B>1?O.tokenize=M(B-1):O.tokenize=T:N.skipToEnd(),"comment"}}function D(B,N,O){N.context={prev:N.context,indent:B.indentation(),col:B.column(),type:O}}function I(B){B.indent=B.context.indent,B.context=B.context.prev}return{startState:function(){return{tokenize:T,context:null}},token:function(B,N){if(B.sol()&&N.context&&N.context.align==null&&(N.context.align=!1),N.tokenize==T&&B.eatSpace())return null;var O=N.tokenize(B,N);if(O=="comment")return O;N.context&&N.context.align==null&&(N.context.align=!0);var R=B.current();return R=="("?D(B,N,")"):R=="["?D(B,N,"]"):N.context&&N.context.type==R&&I(N),O},indent:function(B,N){var O=B.context;if(!O)return n.Pass;var R=N.charAt(0)==O.type;return O.align?O.col+(R?0:1):O.indent+(R?0:c.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:m.commentSlashSlash?"//":m.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:f}});function r(c){for(var f;(f=c.next())!=null;)if(f=="`"&&!c.eat("`"))return"variable-2";return c.backUp(c.current().length-1),c.eatWhile(/\w/)?"variable-2":null}function i(c){for(var f;(f=c.next())!=null;)if(f=='"'&&!c.eat('"'))return"variable-2";return c.backUp(c.current().length-1),c.eatWhile(/\w/)?"variable-2":null}function a(c){return c.eat("@")&&(c.match("session."),c.match("local."),c.match("global.")),c.eat("'")?(c.match(/^.*'/),"variable-2"):c.eat('"')?(c.match(/^.*"/),"variable-2"):c.eat("`")?(c.match(/^.*`/),"variable-2"):c.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function o(c){return c.eat("N")?"atom":c.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var s="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 l(c){for(var f={},d=c.split(" "),h=0;h!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:l("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":a}}),n.defineMIME("text/x-mysql",{name:"sql",client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":a,"`":r,"\\":o}}),n.defineMIME("text/x-mariadb",{name:"sql",client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":a,"`":r,"\\":o}}),n.defineMIME("text/x-sqlite",{name:"sql",client:l("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:l(s+"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:l("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:l("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:l("date time timestamp datetime"),support:l("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":a,":":a,"?":a,$:a,'"':i,"`":r}}),n.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:l("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:l("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:l("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:l("commentSlashSlash decimallessFloat"),hooks:{}}),n.defineMIME("text/x-plsql",{name:"sql",client:l("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:l("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:l("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:l("date time timestamp"),support:l("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),n.defineMIME("text/x-hive",{name:"sql",keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:l("date timestamp"),support:l("doubleQuote binaryNumber hexNumber")}),n.defineMIME("text/x-pgsql",{name:"sql",client:l("source"),keywords:l(s+"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:l("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 without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),n.defineMIME("text/x-gql",{name:"sql",keywords:l("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:l("false true"),builtin:l("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),n.defineMIME("text/x-gpsql",{name:"sql",client:l("source"),keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("date time timestamp"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),n.defineMIME("text/x-sparksql",{name:"sql",keywords:l("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:l("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:l("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:l("date time timestamp"),support:l("doubleQuote zerolessFloat")}),n.defineMIME("text/x-esper",{name:"sql",client:l("source"),keywords:l("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:l("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("time"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber")}),n.defineMIME("text/x-trino",{name:"sql",keywords:l("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:l("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:l("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:l("date time timestamp zone"),support:l("decimallessFloat zerolessFloat hexNumber")})})})();var fqn={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("stylus",function(k){for(var E=k.indentUnit,S="",T=v(r),L=/^(a|b|i|s|col|em)$/i,M=v(s),D=v(l),I=v(f),B=v(c),N=v(i),O=m(i),R=v(o),P=v(a),H=v(u),F=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,q=m(d),V=v(h),X=new RegExp(/^\-(moz|ms|o|webkit)-/i),G=v(p),J="",te={},re,Q,ae,le;S.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),de.context.line.firstWord=J?J[0].replace(/^\s*/,""):"",de.context.line.indent=fe.indentation(),re=fe.peek(),fe.match("//"))return fe.skipToEnd(),["comment","comment"];if(fe.match("/*"))return de.tokenize=ee,ee(fe,de);if(re=='"'||re=="'")return fe.next(),de.tokenize=ne(re),de.tokenize(fe,de);if(re=="@")return fe.next(),fe.eatWhile(/[\w\\-]/),["def",fe.current()];if(re=="#"){if(fe.next(),fe.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(fe.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return fe.match(X)?["meta","vendor-prefixes"]:fe.match(/^-?[0-9]?\.?[0-9]/)?(fe.eatWhile(/[a-z%]/i),["number","unit"]):re=="!"?(fe.next(),[fe.match(/^(important|optional)/i)?"keyword":"operator","important"]):re=="."&&fe.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:fe.match(O)?(fe.peek()=="("&&(de.tokenize=ue),["property","word"]):fe.match(/^[a-z][\w-]*\(/i)?(fe.backUp(1),["keyword","mixin"]):fe.match(/^(\+|-)[a-z][\w-]*\(/i)?(fe.backUp(1),["keyword","block-mixin"]):fe.string.match(/^\s*&/)&&fe.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:fe.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(fe.backUp(1),["variable-3","reference"]):fe.match(/^&{1}\s*$/)?["variable-3","reference"]:fe.match(q)?["operator","operator"]:fe.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?fe.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!ie(fe.current())?(fe.match("."),["variable-2","variable-name"]):["variable-2","word"]:fe.match(F)?["operator",fe.current()]:/[:;,{}\[\]\(\)]/.test(re)?(fe.next(),[null,re]):(fe.next(),[null,null])}function ee(fe,de){for(var xe=!1,Ye;(Ye=fe.next())!=null;){if(xe&&Ye=="/"){de.tokenize=null;break}xe=Ye=="*"}return["comment","comment"]}function ne(fe){return function(de,xe){for(var Ye=!1,Ze;(Ze=de.next())!=null;){if(Ze==fe&&!Ye){fe==")"&&de.backUp(1);break}Ye=!Ye&&Ze=="\\"}return(Ze==fe||!Ye&&fe!=")")&&(xe.tokenize=null),["string","string"]}}function ue(fe,de){return fe.next(),fe.match(/\s*[\"\')]/,!1)?de.tokenize=null:de.tokenize=ne(")"),[null,"("]}function Ae(fe,de,xe,Ye){this.type=fe,this.indent=de,this.prev=xe,this.line=Ye||{firstWord:"",indent:0}}function ce(fe,de,xe,Ye){return Ye=Ye>=0?Ye:E,fe.context=new Ae(xe,de.indentation()+Ye,fe.context),xe}function be(fe,de){var xe=fe.context.indent-E;return de=de||!1,fe.context=fe.context.prev,de&&(fe.context.indent=xe),fe.context.type}function ge(fe,de,xe){return te[xe.context.type](fe,de,xe)}function ve(fe,de,xe,Ye){for(var Ze=Ye||1;Ze>0;Ze--)xe.context=xe.context.prev;return ge(fe,de,xe)}function ie(fe){return fe.toLowerCase()in T}function he(fe){return fe=fe.toLowerCase(),fe in M||fe in H}function $e(fe){return fe.toLowerCase()in V}function De(fe){return fe.toLowerCase().match(X)}function Ie(fe){var de=fe.toLowerCase(),xe="variable-2";return ie(fe)?xe="tag":$e(fe)?xe="block-keyword":he(fe)?xe="property":de in I||de in G?xe="atom":de=="return"||de in B?xe="keyword":fe.match(/^[A-Z]/)&&(xe="string"),xe}function Be(fe,de){return Re(de)&&(fe=="{"||fe=="]"||fe=="hash"||fe=="qualifier")||fe=="block-mixin"}function we(fe,de){return fe=="{"&&de.match(/^\s*\$?[\w-]+/i,!1)}function je(fe,de){return fe==":"&&de.match(/^[a-z-]+/,!1)}function Oe(fe){return fe.sol()||fe.string.match(new RegExp("^\\s*"+w(fe.current())))}function Re(fe){return fe.eol()||fe.match(/^\s*$/,!1)}function ye(fe){var de=/^\s*[-_]*[a-z0-9]+[\w-]*/i,xe=typeof fe=="string"?fe.match(de):fe.string.match(de);return xe?xe[0].replace(/^\s*/,""):""}return te.block=function(fe,de,xe){if(fe=="comment"&&Oe(de)||fe==","&&Re(de)||fe=="mixin")return ce(xe,de,"block",0);if(we(fe,de))return ce(xe,de,"interpolation");if(Re(de)&&fe=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(de.string)&&!ie(ye(de)))return ce(xe,de,"block",0);if(Be(fe,de))return ce(xe,de,"block");if(fe=="}"&&Re(de))return ce(xe,de,"block",0);if(fe=="variable-name")return de.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||$e(ye(de))?ce(xe,de,"variableName"):ce(xe,de,"variableName",0);if(fe=="=")return!Re(de)&&!$e(ye(de))?ce(xe,de,"block",0):ce(xe,de,"block");if(fe=="*"&&(Re(de)||de.match(/\s*(,|\.|#|\[|:|{)/,!1)))return le="tag",ce(xe,de,"block");if(je(fe,de))return ce(xe,de,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(fe))return ce(xe,de,Re(de)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(fe))return ce(xe,de,"keyframes");if(/@extends?/.test(fe))return ce(xe,de,"extend",0);if(fe&&fe.charAt(0)=="@")return de.indentation()>0&&he(de.current().slice(1))?(le="variable-2","block"):/(@import|@require|@charset)/.test(fe)?ce(xe,de,"block",0):ce(xe,de,"block");if(fe=="reference"&&Re(de))return ce(xe,de,"block");if(fe=="(")return ce(xe,de,"parens");if(fe=="vendor-prefixes")return ce(xe,de,"vendorPrefixes");if(fe=="word"){var Ye=de.current();if(le=Ie(Ye),le=="property")return Oe(de)?ce(xe,de,"block",0):(le="atom","block");if(le=="tag"){if(/embed|menu|pre|progress|sub|table/.test(Ye)&&he(ye(de))||de.string.match(new RegExp("\\[\\s*"+Ye+"|"+Ye+"\\s*\\]")))return le="atom","block";if(L.test(Ye)&&(Oe(de)&&de.string.match(/=/)||!Oe(de)&&!de.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!ie(ye(de))))return le="variable-2",$e(ye(de))?"block":ce(xe,de,"block",0);if(Re(de))return ce(xe,de,"block")}if(le=="block-keyword")return le="keyword",de.current(/(if|unless)/)&&!Oe(de)?"block":ce(xe,de,"block");if(Ye=="return")return ce(xe,de,"block",0);if(le=="variable-2"&&de.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return ce(xe,de,"block")}return xe.context.type},te.parens=function(fe,de,xe){if(fe=="(")return ce(xe,de,"parens");if(fe==")")return xe.context.prev.type=="parens"?be(xe):de.string.match(/^[a-z][\w-]*\(/i)&&Re(de)||$e(ye(de))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ye(de))||!de.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&ie(ye(de))?ce(xe,de,"block"):de.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||de.string.match(/^\s*(\(|\)|[0-9])/)||de.string.match(/^\s+[a-z][\w-]*\(/i)||de.string.match(/^\s+[\$-]?[a-z]/i)?ce(xe,de,"block",0):Re(de)?ce(xe,de,"block"):ce(xe,de,"block",0);if(fe&&fe.charAt(0)=="@"&&he(de.current().slice(1))&&(le="variable-2"),fe=="word"){var Ye=de.current();le=Ie(Ye),le=="tag"&&L.test(Ye)&&(le="variable-2"),(le=="property"||Ye=="to")&&(le="atom")}return fe=="variable-name"?ce(xe,de,"variableName"):je(fe,de)?ce(xe,de,"pseudo"):xe.context.type},te.vendorPrefixes=function(fe,de,xe){return fe=="word"?(le="property",ce(xe,de,"block",0)):be(xe)},te.pseudo=function(fe,de,xe){return he(ye(de.string))?ve(fe,de,xe):(de.match(/^[a-z-]+/),le="variable-3",Re(de)?ce(xe,de,"block"):be(xe))},te.atBlock=function(fe,de,xe){if(fe=="(")return ce(xe,de,"atBlock_parens");if(Be(fe,de))return ce(xe,de,"block");if(we(fe,de))return ce(xe,de,"interpolation");if(fe=="word"){var Ye=de.current().toLowerCase();if(/^(only|not|and|or)$/.test(Ye)?le="keyword":N.hasOwnProperty(Ye)?le="tag":P.hasOwnProperty(Ye)?le="attribute":R.hasOwnProperty(Ye)?le="property":D.hasOwnProperty(Ye)?le="string-2":le=Ie(de.current()),le=="tag"&&Re(de))return ce(xe,de,"block")}return fe=="operator"&&/^(not|and|or)$/.test(de.current())&&(le="keyword"),xe.context.type},te.atBlock_parens=function(fe,de,xe){if(fe=="{"||fe=="}")return xe.context.type;if(fe==")")return Re(de)?ce(xe,de,"block"):ce(xe,de,"atBlock");if(fe=="word"){var Ye=de.current().toLowerCase();return le=Ie(Ye),/^(max|min)/.test(Ye)&&(le="property"),le=="tag"&&(L.test(Ye)?le="variable-2":le="atom"),xe.context.type}return te.atBlock(fe,de,xe)},te.keyframes=function(fe,de,xe){return de.indentation()=="0"&&(fe=="}"&&Oe(de)||fe=="]"||fe=="hash"||fe=="qualifier"||ie(de.current()))?ve(fe,de,xe):fe=="{"?ce(xe,de,"keyframes"):fe=="}"?Oe(de)?be(xe,!0):ce(xe,de,"keyframes"):fe=="unit"&&/^[0-9]+\%$/.test(de.current())?ce(xe,de,"keyframes"):fe=="word"&&(le=Ie(de.current()),le=="block-keyword")?(le="keyword",ce(xe,de,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(fe)?ce(xe,de,Re(de)?"block":"atBlock"):fe=="mixin"?ce(xe,de,"block",0):xe.context.type},te.interpolation=function(fe,de,xe){return fe=="{"&&be(xe)&&ce(xe,de,"block"),fe=="}"?de.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||de.string.match(/^\s*[a-z]/i)&&ie(ye(de))?ce(xe,de,"block"):!de.string.match(/^(\{|\s*\&)/)||de.match(/\s*[\w-]/,!1)?ce(xe,de,"block",0):ce(xe,de,"block"):fe=="variable-name"?ce(xe,de,"variableName",0):(fe=="word"&&(le=Ie(de.current()),le=="tag"&&(le="atom")),xe.context.type)},te.extend=function(fe,de,xe){return fe=="["||fe=="="?"extend":fe=="]"?be(xe):fe=="word"?(le=Ie(de.current()),"extend"):be(xe)},te.variableName=function(fe,de,xe){return fe=="string"||fe=="["||fe=="]"||de.current().match(/^(\.|\$)/)?(de.current().match(/^\.[\w-]+/i)&&(le="variable-2"),"variableName"):ve(fe,de,xe)},{startState:function(fe){return{tokenize:null,state:"block",context:new Ae("block",fe||0,null)}},token:function(fe,de){return!de.tokenize&&fe.eatSpace()?null:(Q=(de.tokenize||oe)(fe,de),Q&&typeof Q=="object"&&(ae=Q[1],Q=Q[0]),le=Q,de.state=te[de.state](ae,fe,de),le)},indent:function(fe,de,xe){var Ye=fe.context,Ze=de&&de.charAt(0),st=Ye.indent,at=ye(de),rt=xe.match(/^\s*/)[0].replace(/\t/g,S).length,et=fe.context.prev?fe.context.prev.line.firstWord:"",Ot=fe.context.prev?fe.context.prev.line.indent:rt;return Ye.prev&&(Ze=="}"&&(Ye.type=="block"||Ye.type=="atBlock"||Ye.type=="keyframes")||Ze==")"&&(Ye.type=="parens"||Ye.type=="atBlock_parens")||Ze=="{"&&Ye.type=="at")?st=Ye.indent-E:/(\})/.test(Ze)||(/@|\$|\d/.test(Ze)||/^\{/.test(de)||/^\s*\/(\/|\*)/.test(de)||/^\s*\/\*/.test(et)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(de)||/^(\+|-)?[a-z][\w-]*\(/i.test(de)||/^return/.test(de)||$e(at)?st=rt:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(Ze)||ie(at)?/\,\s*$/.test(et)?st=Ot:/^\s+/.test(xe)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(et)||ie(et))?st=rt<=Ot?Ot:Ot+E:st=rt:!/,\s*$/.test(xe)&&(De(at)||he(at))&&($e(et)?st=rt<=Ot?Ot:Ot+E:/^\{/.test(et)?st=rt<=Ot?rt:Ot+E:De(et)||he(et)?st=rt>=Ot?Ot:rt:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(et)||/=\s*$/.test(et)||ie(et)||/^\$[\w-\.\[\]\'\"]/.test(et)?st=Ot+E:st=rt)),st},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var r=["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"],i=["domain","regexp","url-prefix","url"],a=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=["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"],s=["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"],l=["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"],u=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],c=["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"],f=["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"],d=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],h=["for","if","else","unless","from","to"],p=["null","true","false","href","title","type","not-allowed","readonly","disabled"],g=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],b=r.concat(i,a,o,s,l,c,f,u,d,h,p,g);function m(k){return k=k.sort(function(E,S){return S>E}),new RegExp("^(("+k.join(")|(")+"))\\b")}function v(k){for(var E={},S=0;S~^?!",u=":;,.(){}[]",c=/^\-?0b[01][01_]*/,f=/^\-?0o[0-7][0-7_]*/,d=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,h=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,p=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,g=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,b=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function v(M,D,I){if(M.sol()&&(D.indented=M.indentation()),M.eatSpace())return null;var B=M.peek();if(B=="/"){if(M.match("//"))return M.skipToEnd(),"comment";if(M.match("/*"))return D.tokenize.push(E),E(M,D)}if(M.match(b))return"builtin";if(M.match(m))return"attribute";if(M.match(c)||M.match(f)||M.match(d)||M.match(h))return"number";if(M.match(g))return"property";if(l.indexOf(B)>-1)return M.next(),"operator";if(u.indexOf(B)>-1)return M.next(),M.match(".."),"punctuation";var N;if(N=M.match(/("""|"|')/)){var O=k.bind(null,N[0]);return D.tokenize.push(O),O(M,D)}if(M.match(p)){var R=M.current();return s.hasOwnProperty(R)?"variable-2":o.hasOwnProperty(R)?"atom":i.hasOwnProperty(R)?(a.hasOwnProperty(R)&&(D.prev="define"),"keyword"):I=="define"?"def":"variable"}return M.next(),null}function w(){var M=0;return function(D,I,B){var N=v(D,I,B);if(N=="punctuation"){if(D.current()=="(")++M;else if(D.current()==")"){if(M==0)return D.backUp(1),I.tokenize.pop(),I.tokenize[I.tokenize.length-1](D,I);--M}}return N}}function k(M,D,I){for(var B=M.length==1,N,O=!1;N=D.peek();)if(O){if(D.next(),N=="(")return I.tokenize.push(w()),"string";O=!1}else{if(D.match(M))return I.tokenize.pop(),"string";D.next(),O=N=="\\"}return B&&I.tokenize.pop(),"string"}function E(M,D){for(var I;I=M.next();)if(I==="/"&&M.eat("*"))D.tokenize.push(E);else if(I==="*"&&M.eat("/")){D.tokenize.pop();break}return"comment"}function S(M,D,I){this.prev=M,this.align=D,this.indented=I}function T(M,D){var I=D.match(/^\s*($|\/[\/\*])/,!1)?null:D.column()+1;M.context=new S(M.context,I,M.indented)}function L(M){M.context&&(M.indented=M.context.indented,M.context=M.context.prev)}n.defineMode("swift",function(M){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(D,I){var B=I.prev;I.prev=null;var N=I.tokenize[I.tokenize.length-1]||v,O=N(D,I,B);if(!O||O=="comment"?I.prev=B:I.prev||(I.prev=O),O=="punctuation"){var R=/[\(\[\{]|([\]\)\}])/.exec(D.current());R&&(R[1]?L:T)(I,D)}return O},indent:function(D,I){var B=D.context;if(!B)return 0;var N=/^[\]\}\)]/.test(I);return B.align!=null?B.align-(N?1:0):B.indented+(N?0:M.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),n.defineMIME("text/x-swift","swift")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("yaml",function(){var r=["true","false","on","off","yes","no"],i=new RegExp("\\b(("+r.join(")|(")+"))$","i");return{token:function(a,o){var s=a.peek(),l=o.escaped;if(o.escaped=!1,s=="#"&&(a.pos==0||/\s/.test(a.string.charAt(a.pos-1))))return a.skipToEnd(),"comment";if(a.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(o.literal&&a.indentation()>o.keyCol)return a.skipToEnd(),"string";if(o.literal&&(o.literal=!1),a.sol()){if(o.keyCol=0,o.pair=!1,o.pairStart=!1,a.match("---")||a.match("..."))return"def";if(a.match(/\s*-\s+/))return"meta"}if(a.match(/^(\{|\}|\[|\])/))return s=="{"?o.inlinePairs++:s=="}"?o.inlinePairs--:s=="["?o.inlineList++:o.inlineList--,"meta";if(o.inlineList>0&&!l&&s==",")return a.next(),"meta";if(o.inlinePairs>0&&!l&&s==",")return o.keyCol=0,o.pair=!1,o.pairStart=!1,a.next(),"meta";if(o.pairStart){if(a.match(/^\s*(\||\>)\s*/))return o.literal=!0,"meta";if(a.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(o.inlinePairs==0&&a.match(/^\s*-?[0-9\.\,]+\s?$/)||o.inlinePairs>0&&a.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(a.match(i))return"keyword"}return!o.pair&&a.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(o.pair=!0,o.keyCol=a.indentation(),"atom"):o.pair&&a.match(/^:\s*/)?(o.pairStart=!0,"meta"):(o.pairStart=!1,o.escaped=s=="\\",a.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 pke={exports:{}},gke;function hqn(){return gke||(gke=1,function(e,t){(function(n){n(jr)})(function(n){n.defineMode("coffeescript",function(r,i){var a="error";function o(D){return new RegExp("^(("+D.join(")|(")+"))\\b")}var s=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,l=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,u=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,f=o(["and","or","not","is","isnt","in","instanceof","typeof"]),d=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],h=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],p=o(d.concat(h));d=o(d);var g=/^('{3}|\"{3}|['\"])/,b=/^(\/{3}|\/)/,m=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],v=o(m);function w(D,I){if(D.sol()){I.scope.align===null&&(I.scope.align=!1);var B=I.scope.offset;if(D.eatSpace()){var N=D.indentation();return N>B&&I.scope.type=="coffee"?"indent":N0&&T(D,I)}if(D.eatSpace())return null;var O=D.peek();if(D.match("####"))return D.skipToEnd(),"comment";if(D.match("###"))return I.tokenize=E,I.tokenize(D,I);if(O==="#")return D.skipToEnd(),"comment";if(D.match(/^-?[0-9\.]/,!1)){var R=!1;if(D.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(R=!0),D.match(/^-?\d+\.\d*/)&&(R=!0),D.match(/^-?\.\d+/)&&(R=!0),R)return D.peek()=="."&&D.backUp(1),"number";var P=!1;if(D.match(/^-?0x[0-9a-f]+/i)&&(P=!0),D.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(P=!0),D.match(/^-?0(?![\dx])/i)&&(P=!0),P)return"number"}if(D.match(g))return I.tokenize=k(D.current(),!1,"string"),I.tokenize(D,I);if(D.match(b)){if(D.current()!="/"||D.match(/^.*\//,!1))return I.tokenize=k(D.current(),!0,"string-2"),I.tokenize(D,I);D.backUp(1)}return D.match(s)||D.match(f)?"operator":D.match(l)?"punctuation":D.match(v)?"atom":D.match(c)||I.prop&&D.match(u)?"property":D.match(p)?"keyword":D.match(u)?"variable":(D.next(),a)}function k(D,I,B){return function(N,O){for(;!N.eol();)if(N.eatWhile(/[^'"\/\\]/),N.eat("\\")){if(N.next(),I&&N.eol())return B}else{if(N.match(D))return O.tokenize=w,B;N.eat(/['"\/]/)}return I&&(i.singleLineStringErrors?B=a:O.tokenize=w),B}}function E(D,I){for(;!D.eol();){if(D.eatWhile(/[^#]/),D.match("###")){I.tokenize=w;break}D.eatWhile("#")}return"comment"}function S(D,I,B){B=B||"coffee";for(var N=0,O=!1,R=null,P=I.scope;P;P=P.prev)if(P.type==="coffee"||P.type=="}"){N=P.offset+r.indentUnit;break}B!=="coffee"?(O=null,R=D.column()+D.current().length):I.scope.align&&(I.scope.align=!1),I.scope={offset:N,type:B,prev:I.scope,align:O,alignOffset:R}}function T(D,I){if(I.scope.prev)if(I.scope.type==="coffee"){for(var B=D.indentation(),N=!1,O=I.scope;O;O=O.prev)if(B===O.offset){N=!0;break}if(!N)return!0;for(;I.scope.prev&&I.scope.offset!==B;)I.scope=I.scope.prev;return!1}else return I.scope=I.scope.prev,!1}function L(D,I){var B=I.tokenize(D,I),N=D.current();N==="return"&&(I.dedent=!0),((N==="->"||N==="=>")&&D.eol()||B==="indent")&&S(D,I);var O="[({".indexOf(N);if(O!==-1&&S(D,I,"])}".slice(O,O+1)),d.exec(N)&&S(D,I),N=="then"&&T(D,I),B==="dedent"&&T(D,I))return a;if(O="])}".indexOf(N),O!==-1){for(;I.scope.type=="coffee"&&I.scope.prev;)I.scope=I.scope.prev;I.scope.type==N&&(I.scope=I.scope.prev)}return I.dedent&&D.eol()&&(I.scope.type=="coffee"&&I.scope.prev&&(I.scope=I.scope.prev),I.dedent=!1),B}var M={startState:function(D){return{tokenize:w,scope:{offset:D||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(D,I){var B=I.scope.align===null&&I.scope;B&&D.sol()&&(B.align=!1);var N=L(D,I);return N&&N!="comment"&&(B&&(B.align=!0),I.prop=N=="punctuation"&&D.current()=="."),N},indent:function(D,I){if(D.tokenize!=w)return 0;var B=D.scope,N=I&&"])}".indexOf(I.charAt(0))>-1;if(N)for(;B.type=="coffee"&&B.prev;)B=B.prev;var O=N&&B.type===I.charAt(0);return B.align?B.alignOffset-(O?1:0):(O?B.prev:B).offset},lineComment:"#",fold:"indent"};return M}),n.defineMIME("application/vnd.coffeescript","coffeescript"),n.defineMIME("text/x-coffeescript","coffeescript"),n.defineMIME("text/coffeescript","coffeescript")})}()),pke.exports}var mke={exports:{}},vke;function pqn(){return vke||(vke=1,function(e,t){(function(n){n(jr,$$,z$,Ghe)})(function(n){n.defineMode("pug",function(r){var i="keyword",a="meta",o="builtin",s="qualifier",l={"{":"}","(":")","[":"]"},u=n.getMode(r,"javascript");function c(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=n.startState(u),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}c.prototype.copy=function(){var ie=new c;return ie.javaScriptLine=this.javaScriptLine,ie.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,ie.javaScriptArguments=this.javaScriptArguments,ie.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,ie.isInterpolating=this.isInterpolating,ie.interpolationNesting=this.interpolationNesting,ie.jsState=n.copyState(u,this.jsState),ie.innerMode=this.innerMode,this.innerMode&&this.innerState&&(ie.innerState=n.copyState(this.innerMode,this.innerState)),ie.restOfLine=this.restOfLine,ie.isIncludeFiltered=this.isIncludeFiltered,ie.isEach=this.isEach,ie.lastTag=this.lastTag,ie.scriptType=this.scriptType,ie.isAttrs=this.isAttrs,ie.attrsNest=this.attrsNest.slice(),ie.inAttributeName=this.inAttributeName,ie.attributeIsType=this.attributeIsType,ie.attrValue=this.attrValue,ie.indentOf=this.indentOf,ie.indentToken=this.indentToken,ie.innerModeForLine=this.innerModeForLine,ie};function f(ie,he){if(ie.sol()&&(he.javaScriptLine=!1,he.javaScriptLineExcludesColon=!1),he.javaScriptLine){if(he.javaScriptLineExcludesColon&&ie.peek()===":"){he.javaScriptLine=!1,he.javaScriptLineExcludesColon=!1;return}var $e=u.token(ie,he.jsState);return ie.eol()&&(he.javaScriptLine=!1),$e||!0}}function d(ie,he){if(he.javaScriptArguments){if(he.javaScriptArgumentsDepth===0&&ie.peek()!=="("){he.javaScriptArguments=!1;return}if(ie.peek()==="("?he.javaScriptArgumentsDepth++:ie.peek()===")"&&he.javaScriptArgumentsDepth--,he.javaScriptArgumentsDepth===0){he.javaScriptArguments=!1;return}var $e=u.token(ie,he.jsState);return $e||!0}}function h(ie){if(ie.match(/^yield\b/))return"keyword"}function p(ie){if(ie.match(/^(?:doctype) *([^\n]+)?/))return a}function g(ie,he){if(ie.match("#{"))return he.isInterpolating=!0,he.interpolationNesting=0,"punctuation"}function b(ie,he){if(he.isInterpolating){if(ie.peek()==="}"){if(he.interpolationNesting--,he.interpolationNesting<0)return ie.next(),he.isInterpolating=!1,"punctuation"}else ie.peek()==="{"&&he.interpolationNesting++;return u.token(ie,he.jsState)||!0}}function m(ie,he){if(ie.match(/^case\b/))return he.javaScriptLine=!0,i}function v(ie,he){if(ie.match(/^when\b/))return he.javaScriptLine=!0,he.javaScriptLineExcludesColon=!0,i}function w(ie){if(ie.match(/^default\b/))return i}function k(ie,he){if(ie.match(/^extends?\b/))return he.restOfLine="string",i}function E(ie,he){if(ie.match(/^append\b/))return he.restOfLine="variable",i}function S(ie,he){if(ie.match(/^prepend\b/))return he.restOfLine="variable",i}function T(ie,he){if(ie.match(/^block\b *(?:(prepend|append)\b)?/))return he.restOfLine="variable",i}function L(ie,he){if(ie.match(/^include\b/))return he.restOfLine="string",i}function M(ie,he){if(ie.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&ie.match("include"))return he.isIncludeFiltered=!0,i}function D(ie,he){if(he.isIncludeFiltered){var $e=q(ie,he);return he.isIncludeFiltered=!1,he.restOfLine="string",$e}}function I(ie,he){if(ie.match(/^mixin\b/))return he.javaScriptLine=!0,i}function B(ie,he){if(ie.match(/^\+([-\w]+)/))return ie.match(/^\( *[-\w]+ *=/,!1)||(he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0),"variable";if(ie.match("+#{",!1))return ie.next(),he.mixinCallAfter=!0,g(ie,he)}function N(ie,he){if(he.mixinCallAfter)return he.mixinCallAfter=!1,ie.match(/^\( *[-\w]+ *=/,!1)||(he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0),!0}function O(ie,he){if(ie.match(/^(if|unless|else if|else)\b/))return he.javaScriptLine=!0,i}function R(ie,he){if(ie.match(/^(- *)?(each|for)\b/))return he.isEach=!0,i}function P(ie,he){if(he.isEach){if(ie.match(/^ in\b/))return he.javaScriptLine=!0,he.isEach=!1,i;if(ie.sol()||ie.eol())he.isEach=!1;else if(ie.next()){for(;!ie.match(/^ in\b/,!1)&&ie.next(););return"variable"}}}function H(ie,he){if(ie.match(/^while\b/))return he.javaScriptLine=!0,i}function F(ie,he){var $e;if($e=ie.match(/^(\w(?:[-:\w]*\w)?)\/?/))return he.lastTag=$e[1].toLowerCase(),he.lastTag==="script"&&(he.scriptType="application/javascript"),"tag"}function q(ie,he){if(ie.match(/^:([\w\-]+)/)){var $e;return r&&r.innerModes&&($e=r.innerModes(ie.current().substring(1))),$e||($e=ie.current().substring(1)),typeof $e=="string"&&($e=n.getMode(r,$e)),ue(ie,he,$e),"atom"}}function V(ie,he){if(ie.match(/^(!?=|-)/))return he.javaScriptLine=!0,"punctuation"}function X(ie){if(ie.match(/^#([\w-]+)/))return o}function G(ie){if(ie.match(/^\.([\w-]+)/))return s}function J(ie,he){if(ie.peek()=="(")return ie.next(),he.isAttrs=!0,he.attrsNest=[],he.inAttributeName=!0,he.attrValue="",he.attributeIsType=!1,"punctuation"}function te(ie,he){if(he.isAttrs){if(l[ie.peek()]&&he.attrsNest.push(l[ie.peek()]),he.attrsNest[he.attrsNest.length-1]===ie.peek())he.attrsNest.pop();else if(ie.eat(")"))return he.isAttrs=!1,"punctuation";if(he.inAttributeName&&ie.match(/^[^=,\)!]+/))return(ie.peek()==="="||ie.peek()==="!")&&(he.inAttributeName=!1,he.jsState=n.startState(u),he.lastTag==="script"&&ie.current().trim().toLowerCase()==="type"?he.attributeIsType=!0:he.attributeIsType=!1),"attribute";var $e=u.token(ie,he.jsState);if(he.attributeIsType&&$e==="string"&&(he.scriptType=ie.current().toString()),he.attrsNest.length===0&&($e==="string"||$e==="variable"||$e==="keyword"))try{return Function("","var x "+he.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),he.inAttributeName=!0,he.attrValue="",ie.backUp(ie.current().length),te(ie,he)}catch{}return he.attrValue+=ie.current(),$e||!0}}function re(ie,he){if(ie.match(/^&attributes\b/))return he.javaScriptArguments=!0,he.javaScriptArgumentsDepth=0,"keyword"}function Q(ie){if(ie.sol()&&ie.eatSpace())return"indent"}function ae(ie,he){if(ie.match(/^ *\/\/(-)?([^\n]*)/))return he.indentOf=ie.indentation(),he.indentToken="comment","comment"}function le(ie){if(ie.match(/^: */))return"colon"}function oe(ie,he){if(ie.match(/^(?:\| ?| )([^\n]+)/))return"string";if(ie.match(/^(<[^\n]*)/,!1))return ue(ie,he,"htmlmixed"),he.innerModeForLine=!0,Ae(ie,he,!0)}function ee(ie,he){if(ie.eat(".")){var $e=null;return he.lastTag==="script"&&he.scriptType.toLowerCase().indexOf("javascript")!=-1?$e=he.scriptType.toLowerCase().replace(/"|'/g,""):he.lastTag==="style"&&($e="css"),ue(ie,he,$e),"dot"}}function ne(ie){return ie.next(),null}function ue(ie,he,$e){$e=n.mimeModes[$e]||$e,$e=r.innerModes&&r.innerModes($e)||$e,$e=n.mimeModes[$e]||$e,$e=n.getMode(r,$e),he.indentOf=ie.indentation(),$e&&$e.name!=="null"?he.innerMode=$e:he.indentToken="string"}function Ae(ie,he,$e){if(ie.indentation()>he.indentOf||he.innerModeForLine&&!ie.sol()||$e)return he.innerMode?(he.innerState||(he.innerState=he.innerMode.startState?n.startState(he.innerMode,ie.indentation()):{}),ie.hideFirstChars(he.indentOf+2,function(){return he.innerMode.token(ie,he.innerState)||!0})):(ie.skipToEnd(),he.indentToken);ie.sol()&&(he.indentOf=1/0,he.indentToken=null,he.innerMode=null,he.innerState=null)}function ce(ie,he){if(ie.sol()&&(he.restOfLine=""),he.restOfLine){ie.skipToEnd();var $e=he.restOfLine;return he.restOfLine="",$e}}function be(){return new c}function ge(ie){return ie.copy()}function ve(ie,he){var $e=Ae(ie,he)||ce(ie,he)||b(ie,he)||D(ie,he)||P(ie,he)||te(ie,he)||f(ie,he)||d(ie,he)||N(ie,he)||h(ie)||p(ie)||g(ie,he)||m(ie,he)||v(ie,he)||w(ie)||k(ie,he)||E(ie,he)||S(ie,he)||T(ie,he)||L(ie,he)||M(ie,he)||I(ie,he)||B(ie,he)||O(ie,he)||R(ie,he)||H(ie,he)||F(ie,he)||q(ie,he)||V(ie,he)||X(ie)||G(ie)||J(ie,he)||re(ie,he)||Q(ie)||oe(ie,he)||ae(ie,he)||le(ie)||ee(ie,he)||ne(ie);return $e===!0?null:$e}return{startState:be,copyState:ge,token:ve}},"javascript","css","htmlmixed"),n.defineMIME("text/x-pug","pug"),n.defineMIME("text/x-jade","pug")})}()),mke.exports}var yke={exports:{}},bke={exports:{}},wke;function Vhe(){return wke||(wke=1,function(e,t){(function(n){n(jr)})(function(n){n.defineSimpleMode=function(d,h){n.defineMode(d,function(p){return n.simpleMode(p,h)})},n.simpleMode=function(d,h){r(h,"start");var p={},g=h.meta||{},b=!1;for(var m in h)if(m!=g&&h.hasOwnProperty(m))for(var v=p[m]=[],w=h[m],k=0;k2&&E.token&&typeof E.token!="string"){for(var L=2;L-1)return n.Pass;var m=p.indent.length-1,v=d[p.state];e:for(;;){for(var w=0;w-1?c+s.length:c}var f=s.exec(l?o.slice(l):o);return f?f.index+l+(u?f[0].length:0):-1}return{startState:function(){return{outer:n.startState(r),innerActive:null,inner:null,startingInner:!1}},copyState:function(o){return{outer:n.copyState(r,o.outer),innerActive:o.innerActive,inner:o.innerActive&&n.copyState(o.innerActive.mode,o.inner),startingInner:o.startingInner}},token:function(o,s){if(s.innerActive){var b=s.innerActive,u=o.string;if(!b.close&&o.sol())return s.innerActive=s.inner=null,this.token(o,s);var d=b.close&&!s.startingInner?a(u,b.close,o.pos,b.parseDelimiters):-1;if(d==o.pos&&!b.parseDelimiters)return o.match(b.close),s.innerActive=s.inner=null,b.delimStyle&&b.delimStyle+" "+b.delimStyle+"-close";d>-1&&(o.string=u.slice(0,d));var m=b.mode.token(o,s.inner);return d>-1?o.string=u:o.pos>o.start&&(s.startingInner=!1),d==o.pos&&b.parseDelimiters&&(s.innerActive=s.inner=null),b.innerStyle&&(m?m=m+" "+b.innerStyle:m=b.innerStyle),m}else{for(var l=1/0,u=o.string,c=0;c|[#\/]([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:"--}}"}}),n.defineMode("handlebars",function(r,i){var a=n.getMode(r,"handlebars-tags");return!i||!i.base?a:n.multiplexingMode(n.getMode(r,i.base),{open:"{{",close:/\}\}\}?/,mode:a,parseDelimiters:!0})}),n.defineMIME("text/x-handlebars-template","handlebars")})}()),yke.exports}(function(e,t){(function(n){n(jr,qhe,N$,$$,dqn(),z$,uqn,fqn,hqn(),gqn())})(function(n){var r={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"]]};n.defineMode("vue-template",function(i,a){var o={token:function(s){if(s.match(/^\{\{.*?\}\}/))return"meta mustache";for(;s.next()&&!s.match("{{",!1););return null}};return n.overlayMode(n.getMode(i,a.backdrop||"text/html"),o)}),n.defineMode("vue",function(i){return n.getMode(i,{name:"htmlmixed",tags:r})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),n.defineMIME("script/x-vue","vue"),n.defineMIME("text/x-vue","vue")})})();(function(e,t){(function(n){n(jr,Vhe())})(function(n){n.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"}}),n.defineMIME("text/x-rustsrc","rust"),n.defineMIME("text/rust","rust")})})();(function(e,t){(function(n){n(jr)})(function(n){function r(l){return new RegExp("^(("+l.join(")|(")+"))\\b","i")}var i=["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"],a=r(i);n.registerHelper("hintWords","protobuf",i);var o=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function s(l){return l.eatSpace()?null:l.match("//")?(l.skipToEnd(),"comment"):l.match(/^[0-9\.+-]/,!1)&&(l.match(/^[+-]?0x[0-9a-fA-F]+/)||l.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||l.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":l.match(/^"([^"]|(""))*"/)||l.match(/^'([^']|(''))*'/)?"string":l.match(a)?"keyword":l.match(o)?"variable":(l.next(),null)}n.defineMode("protobuf",function(){return{token:s,fold:"brace"}}),n.defineMIME("text/x-protobuf","protobuf")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("perl",function(){var s={"->":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},l="string-2",u=/[goseximacplud]/;function c(h,p,g,b,m){return p.chain=null,p.style=null,p.tail=null,p.tokenize=function(v,w){for(var k=!1,E,S=0;E=v.next();){if(E===g[S]&&!k)return g[++S]!==void 0?(w.chain=g[S],w.style=b,w.tail=m):m&&v.eatWhile(m),w.tokenize=d,b;k=!k&&E=="\\"}return b},p.tokenize(h,p)}function f(h,p,g){return p.tokenize=function(b,m){return b.string==g&&(m.tokenize=d),b.skipToEnd(),"string"},p.tokenize(h,p)}function d(h,p){if(h.eatSpace())return null;if(p.chain)return c(h,p,p.chain,p.style,p.tail);if(h.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(h.match(/^<<(?=[_a-zA-Z])/))return h.eatWhile(/\w/),f(h,p,h.current().substr(2));if(h.sol()&&h.match(/^\=item(?!\w)/))return f(h,p,"=cut");var g=h.next();if(g=='"'||g=="'"){if(i(h,3)=="<<"+g){var b=h.pos;h.eatWhile(/\w/);var m=h.current().substr(1);if(m&&h.eat(g))return f(h,p,m);h.pos=b}return c(h,p,[g],"string")}if(g=="q"){var v=r(h,-2);if(!(v&&/\w/.test(v))){if(v=r(h,0),v=="x"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],l,u);if(v=="[")return o(h,2),c(h,p,["]"],l,u);if(v=="{")return o(h,2),c(h,p,["}"],l,u);if(v=="<")return o(h,2),c(h,p,[">"],l,u);if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],l,u)}else if(v=="q"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],"string");if(v=="[")return o(h,2),c(h,p,["]"],"string");if(v=="{")return o(h,2),c(h,p,["}"],"string");if(v=="<")return o(h,2),c(h,p,[">"],"string");if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],"string")}else if(v=="w"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],"bracket");if(v=="[")return o(h,2),c(h,p,["]"],"bracket");if(v=="{")return o(h,2),c(h,p,["}"],"bracket");if(v=="<")return o(h,2),c(h,p,[">"],"bracket");if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],"bracket")}else if(v=="r"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],l,u);if(v=="[")return o(h,2),c(h,p,["]"],l,u);if(v=="{")return o(h,2),c(h,p,["}"],l,u);if(v=="<")return o(h,2),c(h,p,[">"],l,u);if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],l,u)}else if(/[\^'"!~\/(\[{<]/.test(v)){if(v=="(")return o(h,1),c(h,p,[")"],"string");if(v=="[")return o(h,1),c(h,p,["]"],"string");if(v=="{")return o(h,1),c(h,p,["}"],"string");if(v=="<")return o(h,1),c(h,p,[">"],"string");if(/[\^'"!~\/]/.test(v))return c(h,p,[h.eat(v)],"string")}}}if(g=="m"){var v=r(h,-2);if(!(v&&/\w/.test(v))&&(v=h.eat(/[(\[{<\^'"!~\/]/),v)){if(/[\^'"!~\/]/.test(v))return c(h,p,[v],l,u);if(v=="(")return c(h,p,[")"],l,u);if(v=="[")return c(h,p,["]"],l,u);if(v=="{")return c(h,p,["}"],l,u);if(v=="<")return c(h,p,[">"],l,u)}}if(g=="s"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="y"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="t"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat("r"),v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v)))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="`")return c(h,p,[g],"variable-2");if(g=="/")return/~\s*$/.test(i(h))?c(h,p,[g],l,u):"operator";if(g=="$"){var b=h.pos;if(h.eatWhile(/\d/)||h.eat("{")&&h.eatWhile(/\d/)&&h.eat("}"))return"variable-2";h.pos=b}if(/[$@%]/.test(g)){var b=h.pos;if(h.eat("^")&&h.eat(/[A-Z]/)||!/[@$%&]/.test(r(h,-2))&&h.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var v=h.current();if(s[v])return"variable-2"}h.pos=b}if(/[$@%&]/.test(g)&&(h.eatWhile(/[\w$]/)||h.eat("{")&&h.eatWhile(/[\w$]/)&&h.eat("}"))){var v=h.current();return s[v]?"variable-2":"variable"}if(g=="#"&&r(h,-2)!="$")return h.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(g)){var b=h.pos;if(h.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),s[h.current()])return"operator";h.pos=b}if(g=="_"&&h.pos==1){if(a(h,6)=="_END__")return c(h,p,["\0"],"comment");if(a(h,7)=="_DATA__")return c(h,p,["\0"],"variable-2");if(a(h,7)=="_C__")return c(h,p,["\0"],"string")}if(/\w/.test(g)){var b=h.pos;if(r(h,-2)=="{"&&(r(h,0)=="}"||h.eatWhile(/\w/)&&r(h,0)=="}"))return"string";h.pos=b}if(/[A-Z]/.test(g)){var w=r(h,-2),b=h.pos;if(h.eatWhile(/[A-Z_]/),/[\da-z]/.test(r(h,0)))h.pos=b;else{var v=s[h.current()];return v?(v[1]&&(v=v[0]),w!=":"?v==1?"keyword":v==2?"def":v==3?"atom":v==4?"operator":v==5?"variable-2":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(g)){var w=r(h,-2);h.eatWhile(/\w/);var v=s[h.current()];return v?(v[1]&&(v=v[0]),w!=":"?v==1?"keyword":v==2?"def":v==3?"atom":v==4?"operator":v==5?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:d,chain:null,style:null,tail:null}},token:function(h,p){return(p.tokenize||d)(h,p)},lineComment:"#"}}),n.registerHelper("wordChars","perl",/[\w$]/),n.defineMIME("text/x-perl","perl");function r(s,l){return s.string.charAt(s.pos+(l||0))}function i(s,l){if(l){var u=s.pos-l;return s.string.substr(u>=0?u:0,l)}else return s.string.substr(0,s.pos-1)}function a(s,l){var u=s.string.length,c=u-s.pos+1;return s.string.substr(s.pos,l&&l=(c=s.string.length-1)?s.pos=c:s.pos=u}})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("pascal",function(){function r(f){for(var d={},h=f.split(" "),p=0;p!?|\/]/;function s(f,d){var h=f.next();if(h=="#"&&d.startOfLine)return f.skipToEnd(),"meta";if(h=='"'||h=="'")return d.tokenize=l(h),d.tokenize(f,d);if(h=="("&&f.eat("*"))return d.tokenize=u,u(f,d);if(h=="{")return d.tokenize=c,c(f,d);if(/[\[\]\(\),;\:\.]/.test(h))return null;if(/\d/.test(h))return f.eatWhile(/[\w\.]/),"number";if(h=="/"&&f.eat("/"))return f.skipToEnd(),"comment";if(o.test(h))return f.eatWhile(o),"operator";f.eatWhile(/[\w\$_]/);var p=f.current();return i.propertyIsEnumerable(p)?"keyword":a.propertyIsEnumerable(p)?"atom":"variable"}function l(f){return function(d,h){for(var p=!1,g,b=!1;(g=d.next())!=null;){if(g==f&&!p){b=!0;break}p=!p&&g=="\\"}return(b||!p)&&(h.tokenize=null),"string"}}function u(f,d){for(var h=!1,p;p=f.next();){if(p==")"&&h){d.tokenize=null;break}h=p=="*"}return"comment"}function c(f,d){for(var h;h=f.next();)if(h=="}"){d.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(f,d){if(f.eatSpace())return null;var h=(d.tokenize||s)(f,d);return h=="comment"||h=="meta",h},electricChars:"{}"}}),n.defineMIME("text/x-pascal","pascal")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("nginx",function(r){function i(g){for(var b={},m=g.split(" "),v=0;v*\/]/.test(v)?c(null,"select-op"):/[;{}:\[\]]/.test(v)?c(null,v):(g.eatWhile(/[\w\\\-]/),c("variable","variable"))}function d(g,b){for(var m=!1,v;(v=g.next())!=null;){if(m&&v=="/"){b.tokenize=f;break}m=v=="*"}return c("comment","comment")}function h(g,b){for(var m=0,v;(v=g.next())!=null;){if(m>=2&&v==">"){b.tokenize=f;break}m=v=="-"?m+1:0}return c("comment","comment")}function p(g){return function(b,m){for(var v=!1,w;(w=b.next())!=null&&!(w==g&&!v);)v=!v&&w=="\\";return v||(m.tokenize=f),c("string","string")}}return{startState:function(g){return{tokenize:f,baseIndent:g||0,stack:[]}},token:function(g,b){if(g.eatSpace())return null;u=null;var m=b.tokenize(g,b),v=b.stack[b.stack.length-1];return u=="hash"&&v=="rule"?m="atom":m=="variable"&&(v=="rule"?m="number":(!v||v=="@media{")&&(m="tag")),v=="rule"&&/^[\{\};]$/.test(u)&&b.stack.pop(),u=="{"?v=="@media"?b.stack[b.stack.length-1]="@media{":b.stack.push("{"):u=="}"?b.stack.pop():u=="@media"?b.stack.push("@media"):v=="{"&&u!="comment"&&b.stack.push("rule"),m},indent:function(g,b){var m=g.stack.length;return/^\}/.test(b)&&(m-=g.stack[g.stack.length-1]=="rule"?2:1),g.baseIndent+m*l},electricChars:"}"}}),n.defineMIME("text/x-nginx-conf","nginx")})})();(function(e,t){(function(n){n(jr,N$,$$)})(function(n){function r(a,o,s,l){this.state=a,this.mode=o,this.depth=s,this.prev=l}function i(a){return new r(n.copyState(a.mode,a.state),a.mode,a.depth,a.prev&&i(a.prev))}n.defineMode("jsx",function(a,o){var s=n.getMode(a,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),l=n.getMode(a,o&&o.base||"javascript");function u(h){var p=h.tagName;h.tagName=null;var g=s.indent(h,"","");return h.tagName=p,g}function c(h,p){return p.context.mode==s?f(h,p,p.context):d(h,p,p.context)}function f(h,p,g){if(g.depth==2)return h.match(/^.*?\*\//)?g.depth=1:h.skipToEnd(),"comment";if(h.peek()=="{"){s.skipAttribute(g.state);var b=u(g.state),m=g.state.context;if(m&&h.match(/^[^>]*>\s*$/,!1)){for(;m.prev&&!m.startOfLine;)m=m.prev;m.startOfLine?b-=a.indentUnit:g.prev.state.lexical&&(b=g.prev.state.lexical.indented)}else g.depth==1&&(b+=a.indentUnit);return p.context=new r(n.startState(l,b),l,0,p.context),null}if(g.depth==1){if(h.peek()=="<")return s.skipAttribute(g.state),p.context=new r(n.startState(s,u(g.state)),s,0,p.context),null;if(h.match("//"))return h.skipToEnd(),"comment";if(h.match("/*"))return g.depth=2,c(h,p)}var v=s.token(h,g.state),w=h.current(),k;return/\btag\b/.test(v)?/>$/.test(w)?g.state.context?g.depth=0:p.context=p.context.prev:/^-1&&h.backUp(w.length-k),v}function d(h,p,g){if(h.peek()=="<"&&l.expressionAllowed(h,g.state))return p.context=new r(n.startState(s,l.indent(g.state,"","")),s,0,p.context),l.skipExpression(g.state),null;var b=l.token(h,g.state);if(!b&&g.depth!=null){var m=h.current();m=="{"?g.depth++:m=="}"&&--g.depth==0&&(p.context=p.context.prev)}return b}return{startState:function(){return{context:new r(n.startState(l),l)}},copyState:function(h){return{context:i(h.context)}},token:c,indent:function(h,p,g){return h.context.mode.indent(h.context.state,p,g)},innerMode:function(h){return h.context}}},"xml","javascript"),n.defineMIME("text/jsx","jsx"),n.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("jinja2",function(){var r=["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"],i=/^[+\-*&%=<>!?|~^]/,a=/^[:\[\(\{]/,o=["true","false"],s=/^(\d[+\-\*\/])?\d+(\.\d+)?/;r=new RegExp("(("+r.join(")|(")+"))\\b"),o=new RegExp("(("+o.join(")|(")+"))\\b");function l(u,c){var f=u.peek();if(c.incomment)return u.skipTo("#}")?(u.eatWhile(/\#|}/),c.incomment=!1):u.skipToEnd(),"comment";if(c.intag){if(c.operator){if(c.operator=!1,u.match(o))return"atom";if(u.match(s))return"number"}if(c.sign){if(c.sign=!1,u.match(o))return"atom";if(u.match(s))return"number"}if(c.instring)return f==c.instring&&(c.instring=!1),u.next(),"string";if(f=="'"||f=='"')return c.instring=f,u.next(),"string";if(c.inbraces>0&&f==")")u.next(),c.inbraces--;else if(f=="(")u.next(),c.inbraces++;else if(c.inbrackets>0&&f=="]")u.next(),c.inbrackets--;else if(f=="[")u.next(),c.inbrackets++;else{if(!c.lineTag&&(u.match(c.intag+"}")||u.eat("-")&&u.match(c.intag+"}")))return c.intag=!1,"tag";if(u.match(i))return c.operator=!0,"operator";if(u.match(a))c.sign=!0;else{if(u.column()==1&&c.lineTag&&u.match(r))return"keyword";if(u.eat(" ")||u.sol()){if(u.match(r))return"keyword";if(u.match(o))return"atom";if(u.match(s))return"number";u.sol()&&u.next()}else u.next()}}return"variable"}else if(u.eat("{")){if(u.eat("#"))return c.incomment=!0,u.skipTo("#}")?(u.eatWhile(/\#|}/),c.incomment=!1):u.skipToEnd(),"comment";if(f=u.eat(/\{|%/))return c.intag=f,c.inbraces=0,c.inbrackets=0,f=="{"&&(c.intag="}"),u.eat("-"),"tag"}else if(u.eat("#")){if(u.peek()=="#")return u.skipToEnd(),"comment";if(!u.eol())return c.intag=!0,c.lineTag=!0,c.inbraces=0,c.inbrackets=0,"tag"}u.next()}return{startState:function(){return{tokenize:l,inbrackets:0,inbraces:0}},token:function(u,c){var f=c.tokenize(u,c);return u.eol()&&c.lineTag&&!c.instring&&c.inbraces==0&&c.inbrackets==0&&(c.intag=!1,c.lineTag=!1),f},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}}),n.defineMIME("text/jinja2","jinja2")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("http",function(){function r(f,d){return f.skipToEnd(),d.cur=u,"error"}function i(f,d){return f.match(/^HTTP\/\d\.\d/)?(d.cur=a,"keyword"):f.match(/^[A-Z]+/)&&/[ \t]/.test(f.peek())?(d.cur=s,"keyword"):r(f,d)}function a(f,d){var h=f.match(/^\d+/);if(!h)return r(f,d);d.cur=o;var p=Number(h[0]);return p>=100&&p<200?"positive informational":p>=200&&p<300?"positive success":p>=300&&p<400?"positive redirect":p>=400&&p<500?"negative client-error":p>=500&&p<600?"negative server-error":"error"}function o(f,d){return f.skipToEnd(),d.cur=u,null}function s(f,d){return f.eatWhile(/\S/),d.cur=l,"string-2"}function l(f,d){return f.match(/^HTTP\/\d\.\d$/)?(d.cur=u,"keyword"):r(f,d)}function u(f){return f.sol()&&!f.eat(/[ \t]/)?f.match(/^.*?:/)?"atom":(f.skipToEnd(),"error"):(f.skipToEnd(),"string")}function c(f){return f.skipToEnd(),null}return{token:function(f,d){var h=d.cur;return h!=u&&h!=c&&f.eatSpace()?null:h(f,d)},blankLine:function(f){f.cur=c},startState:function(){return{cur:i}}}}),n.defineMIME("message/http","http")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("go",function(r){var i=r.indentUnit,a={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},o={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},s=/[+\-*&^%:=<>!|\/]/,l;function u(g,b){var m=g.next();if(m=='"'||m=="'"||m=="`")return b.tokenize=c(m),b.tokenize(g,b);if(/[\d\.]/.test(m))return m=="."?g.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):m=="0"?g.match(/^[xX][0-9a-fA-F]+/)||g.match(/^0[0-7]+/):g.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(m))return l=m,null;if(m=="/"){if(g.eat("*"))return b.tokenize=f,f(g,b);if(g.eat("/"))return g.skipToEnd(),"comment"}if(s.test(m))return g.eatWhile(s),"operator";g.eatWhile(/[\w\$_\xa1-\uffff]/);var v=g.current();return a.propertyIsEnumerable(v)?((v=="case"||v=="default")&&(l="case"),"keyword"):o.propertyIsEnumerable(v)?"atom":"variable"}function c(g){return function(b,m){for(var v=!1,w,k=!1;(w=b.next())!=null;){if(w==g&&!v){k=!0;break}v=!v&&g!="`"&&w=="\\"}return(k||!(v||g=="`"))&&(m.tokenize=u),"string"}}function f(g,b){for(var m=!1,v;v=g.next();){if(v=="/"&&m){b.tokenize=u;break}m=v=="*"}return"comment"}function d(g,b,m,v,w){this.indented=g,this.column=b,this.type=m,this.align=v,this.prev=w}function h(g,b,m){return g.context=new d(g.indented,b,m,null,g.context)}function p(g){if(g.context.prev){var b=g.context.type;return(b==")"||b=="]"||b=="}")&&(g.indented=g.context.indented),g.context=g.context.prev}}return{startState:function(g){return{tokenize:null,context:new d((g||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(g,b){var m=b.context;if(g.sol()&&(m.align==null&&(m.align=!1),b.indented=g.indentation(),b.startOfLine=!0,m.type=="case"&&(m.type="}")),g.eatSpace())return null;l=null;var v=(b.tokenize||u)(g,b);return v=="comment"||(m.align==null&&(m.align=!0),l=="{"?h(b,g.column(),"}"):l=="["?h(b,g.column(),"]"):l=="("?h(b,g.column(),")"):l=="case"?m.type="case":(l=="}"&&m.type=="}"||l==m.type)&&p(b),b.startOfLine=!1),v},indent:function(g,b){if(g.tokenize!=u&&g.tokenize!=null)return n.Pass;var m=g.context,v=b&&b.charAt(0);if(m.type=="case"&&/^(?:case|default)\b/.test(b))return g.context.type="}",m.indented;var w=v==m.type;return m.align?m.column+(w?0:1):m.indented+(w?0:i)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),n.defineMIME("text/x-go","go")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("diff",function(){var r={"+":"positive","-":"negative","@":"meta"};return{token:function(i){var a=i.string.search(/[\t ]+?$/);if(!i.sol()||a===0)return i.skipToEnd(),("error "+(r[i.string.charAt(0)]||"")).replace(/ $/,"");var o=r[i.peek()]||i.skipToEnd();return a===-1?i.skipToEnd():i.pos=a,o}}}),n.defineMIME("text/x-diff","diff")})})();(function(e,t){(function(n){n(jr,Ghe,qhe)})(function(n){n.defineMode("django:inner",function(){var r=["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"],i=["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"],a=["==","!=","<",">","<=",">="],o=["in","not","or","and"];r=new RegExp("^\\b("+r.join("|")+")\\b"),i=new RegExp("^\\b("+i.join("|")+")\\b"),a=new RegExp("^\\b("+a.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b");function s(h,p){if(h.match("{{"))return p.tokenize=u,"tag";if(h.match("{%"))return p.tokenize=c,"tag";if(h.match("{#"))return p.tokenize=f,"comment";for(;h.next()!=null&&!h.match(/\{[{%#]/,!1););return null}function l(h,p){return function(g,b){if(!b.escapeNext&&g.eat(h))b.tokenize=p;else{b.escapeNext&&(b.escapeNext=!1);var m=g.next();m=="\\"&&(b.escapeNext=!0)}return"string"}}function u(h,p){if(p.waitDot){if(p.waitDot=!1,h.peek()!=".")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return p.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(p.waitPipe){if(p.waitPipe=!1,h.peek()!="|")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return p.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return p.waitProperty&&(p.waitProperty=!1,h.match(/\b(\w+)\b/))?(p.waitDot=!0,p.waitPipe=!0,"property"):p.waitFilter&&(p.waitFilter=!1,h.match(i))?"variable-2":h.eatSpace()?(p.waitProperty=!1,"null"):h.match(/\b\d+(\.\d+)?\b/)?"number":h.match("'")?(p.tokenize=l("'",p.tokenize),"string"):h.match('"')?(p.tokenize=l('"',p.tokenize),"string"):h.match(/\b(\w+)\b/)&&!p.foundVariable?(p.waitDot=!0,p.waitPipe=!0,"variable"):h.match("}}")?(p.waitProperty=null,p.waitFilter=null,p.waitDot=null,p.waitPipe=null,p.tokenize=s,"tag"):(h.next(),"null")}function c(h,p){if(p.waitDot){if(p.waitDot=!1,h.peek()!=".")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return p.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(p.waitPipe){if(p.waitPipe=!1,h.peek()!="|")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return p.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(p.waitProperty&&(p.waitProperty=!1,h.match(/\b(\w+)\b/)))return p.waitDot=!0,p.waitPipe=!0,"property";if(p.waitFilter&&(p.waitFilter=!1,h.match(i)))return"variable-2";if(h.eatSpace())return p.waitProperty=!1,"null";if(h.match(/\b\d+(\.\d+)?\b/))return"number";if(h.match("'"))return p.tokenize=l("'",p.tokenize),"string";if(h.match('"'))return p.tokenize=l('"',p.tokenize),"string";if(h.match(a))return"operator";if(h.match(o))return"keyword";var g=h.match(r);return g?(g[0]=="comment"&&(p.blockCommentTag=!0),"keyword"):h.match(/\b(\w+)\b/)?(p.waitDot=!0,p.waitPipe=!0,"variable"):h.match("%}")?(p.waitProperty=null,p.waitFilter=null,p.waitDot=null,p.waitPipe=null,p.blockCommentTag?(p.blockCommentTag=!1,p.tokenize=d):p.tokenize=s,"tag"):(h.next(),"null")}function f(h,p){return h.match(/^.*?#\}/)?p.tokenize=s:h.skipToEnd(),"comment"}function d(h,p){return h.match(/\{%\s*endcomment\s*%\}/,!1)?(p.tokenize=c,h.match("{%"),"tag"):(h.next(),"comment")}return{startState:function(){return{tokenize:s}},token:function(h,p){return p.tokenize(h,p)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),n.defineMode("django",function(r){var i=n.getMode(r,"text/html"),a=n.getMode(r,"django:inner");return n.overlayMode(i,a)}),n.defineMIME("text/x-django","django")})})();(function(e,t){(function(n){n(jr,Vhe())})(function(n){var r="from",i=new RegExp("^(\\s*)\\b("+r+")\\b","i"),a=["run","cmd","entrypoint","shell"],o=new RegExp("^(\\s*)("+a.join("|")+")(\\s+\\[)","i"),s="expose",l=new RegExp("^(\\s*)("+s+")(\\s+)","i"),u=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],c=[r,s].concat(a).concat(u),f="("+c.join("|")+")",d=new RegExp("^(\\s*)"+f+"(\\s*)(#.*)?$","i"),h=new RegExp("^(\\s*)"+f+"(\\s+)","i");n.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:i,token:[null,"keyword"],sol:!0,next:"from"},{regex:d,token:[null,"keyword",null,"error"],sol:!0},{regex:o,token:[null,"keyword",null],sol:!0,next:"array"},{regex:l,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:h,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:"#"}}),n.defineMIME("text/x-dockerfile","dockerfile")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("cmake",function(){var r=/({)?[a-zA-Z0-9_]+(})?/;function i(o,s){for(var l,u,c=!1;!o.eol()&&(l=o.next())!=s.pending;){if(l==="$"&&u!="\\"&&s.pending=='"'){c=!0;break}u=l}return c&&o.backUp(1),l==s.pending?s.continueString=!1:s.continueString=!0,"string"}function a(o,s){var l=o.next();return l==="$"?o.match(r)?"variable-2":"variable":s.continueString?(o.backUp(1),i(o,s)):o.match(/(\s+)?\w+\(/)||o.match(/(\s+)?\w+\ \(/)?(o.backUp(1),"def"):l=="#"?(o.skipToEnd(),"comment"):l=="'"||l=='"'?(s.pending=l,i(o,s)):l=="("||l==")"?"bracket":l.match(/[0-9]/)?"number":(o.eatWhile(/[\w-]/),null)}return{startState:function(){var o={};return o.inDefinition=!1,o.inInclude=!1,o.continueString=!1,o.pending=!1,o},token:function(o,s){return o.eatSpace()?null:a(o,s)}}}),n.defineMIME("text/x-cmake","cmake")})})();var Qw=jr;Whe();var mqn=rqn,uW=MVe.marked,OVe=/Mac/.test(navigator.platform),vqn=new RegExp(/()+?/g),YA={toggleBold:U$,toggleItalic:j$,drawLink:Q$,toggleHeadingSmaller:XA,toggleHeadingBigger:G$,drawImage:ez,toggleBlockquote:W$,toggleOrderedList:J$,toggleUnorderedList:X$,toggleCodeBlock:q$,togglePreview:az,toggleStrikethrough:H$,toggleHeading1:V$,toggleHeading2:K$,toggleHeading3:Y$,toggleHeading4:Khe,toggleHeading5:Yhe,toggleHeading6:Xhe,cleanBlock:Z$,drawTable:tz,drawHorizontalRule:nz,undo:rz,redo:iz,toggleSideBySide:lE,toggleFullScreen:sE},yqn={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",toggleHeading1:"Ctrl+Alt+1",toggleHeading2:"Ctrl+Alt+2",toggleHeading3:"Ctrl+Alt+3",toggleHeading4:"Ctrl+Alt+4",toggleHeading5:"Ctrl+Alt+5",toggleHeading6:"Ctrl+Alt+6",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},bqn=function(e){for(var t in YA)if(YA[t]===e)return t;return null},Hoe=function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e};function wqn(e){for(var t;(t=vqn.exec(e))!==null;){var n=t[0];if(n.indexOf("target=")===-1){var r=n.replace(/>$/,' target="_blank">');e=e.replace(n,r)}}return e}function kqn(e){for(var t=new DOMParser,n=t.parseFromString(e,"text/html"),r=n.getElementsByTagName("li"),i=0;i0){for(var d=document.createElement("i"),h=0;h|[#\/]([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:"--}}"}}),n.defineMode("handlebars",function(r,i){var a=n.getMode(r,"handlebars-tags");return!i||!i.base?a:n.multiplexingMode(n.getMode(r,i.base),{open:"{{",close:/\}\}\}?/,mode:a,parseDelimiters:!0})}),n.defineMIME("text/x-handlebars-template","handlebars")})}()),yke.exports}(function(e,t){(function(n){n(jr,qhe,N$,$$,hqn(),z$,cqn,dqn,pqn(),mqn())})(function(n){var r={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"]]};n.defineMode("vue-template",function(i,a){var o={token:function(s){if(s.match(/^\{\{.*?\}\}/))return"meta mustache";for(;s.next()&&!s.match("{{",!1););return null}};return n.overlayMode(n.getMode(i,a.backdrop||"text/html"),o)}),n.defineMode("vue",function(i){return n.getMode(i,{name:"htmlmixed",tags:r})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),n.defineMIME("script/x-vue","vue"),n.defineMIME("text/x-vue","vue")})})();(function(e,t){(function(n){n(jr,Vhe())})(function(n){n.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"}}),n.defineMIME("text/x-rustsrc","rust"),n.defineMIME("text/rust","rust")})})();(function(e,t){(function(n){n(jr)})(function(n){function r(l){return new RegExp("^(("+l.join(")|(")+"))\\b","i")}var i=["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"],a=r(i);n.registerHelper("hintWords","protobuf",i);var o=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function s(l){return l.eatSpace()?null:l.match("//")?(l.skipToEnd(),"comment"):l.match(/^[0-9\.+-]/,!1)&&(l.match(/^[+-]?0x[0-9a-fA-F]+/)||l.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||l.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":l.match(/^"([^"]|(""))*"/)||l.match(/^'([^']|(''))*'/)?"string":l.match(a)?"keyword":l.match(o)?"variable":(l.next(),null)}n.defineMode("protobuf",function(){return{token:s,fold:"brace"}}),n.defineMIME("text/x-protobuf","protobuf")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("perl",function(){var s={"->":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},l="string-2",u=/[goseximacplud]/;function c(h,p,g,b,m){return p.chain=null,p.style=null,p.tail=null,p.tokenize=function(v,w){for(var k=!1,E,S=0;E=v.next();){if(E===g[S]&&!k)return g[++S]!==void 0?(w.chain=g[S],w.style=b,w.tail=m):m&&v.eatWhile(m),w.tokenize=d,b;k=!k&&E=="\\"}return b},p.tokenize(h,p)}function f(h,p,g){return p.tokenize=function(b,m){return b.string==g&&(m.tokenize=d),b.skipToEnd(),"string"},p.tokenize(h,p)}function d(h,p){if(h.eatSpace())return null;if(p.chain)return c(h,p,p.chain,p.style,p.tail);if(h.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(h.match(/^<<(?=[_a-zA-Z])/))return h.eatWhile(/\w/),f(h,p,h.current().substr(2));if(h.sol()&&h.match(/^\=item(?!\w)/))return f(h,p,"=cut");var g=h.next();if(g=='"'||g=="'"){if(i(h,3)=="<<"+g){var b=h.pos;h.eatWhile(/\w/);var m=h.current().substr(1);if(m&&h.eat(g))return f(h,p,m);h.pos=b}return c(h,p,[g],"string")}if(g=="q"){var v=r(h,-2);if(!(v&&/\w/.test(v))){if(v=r(h,0),v=="x"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],l,u);if(v=="[")return o(h,2),c(h,p,["]"],l,u);if(v=="{")return o(h,2),c(h,p,["}"],l,u);if(v=="<")return o(h,2),c(h,p,[">"],l,u);if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],l,u)}else if(v=="q"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],"string");if(v=="[")return o(h,2),c(h,p,["]"],"string");if(v=="{")return o(h,2),c(h,p,["}"],"string");if(v=="<")return o(h,2),c(h,p,[">"],"string");if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],"string")}else if(v=="w"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],"bracket");if(v=="[")return o(h,2),c(h,p,["]"],"bracket");if(v=="{")return o(h,2),c(h,p,["}"],"bracket");if(v=="<")return o(h,2),c(h,p,[">"],"bracket");if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],"bracket")}else if(v=="r"){if(v=r(h,1),v=="(")return o(h,2),c(h,p,[")"],l,u);if(v=="[")return o(h,2),c(h,p,["]"],l,u);if(v=="{")return o(h,2),c(h,p,["}"],l,u);if(v=="<")return o(h,2),c(h,p,[">"],l,u);if(/[\^'"!~\/]/.test(v))return o(h,1),c(h,p,[h.eat(v)],l,u)}else if(/[\^'"!~\/(\[{<]/.test(v)){if(v=="(")return o(h,1),c(h,p,[")"],"string");if(v=="[")return o(h,1),c(h,p,["]"],"string");if(v=="{")return o(h,1),c(h,p,["}"],"string");if(v=="<")return o(h,1),c(h,p,[">"],"string");if(/[\^'"!~\/]/.test(v))return c(h,p,[h.eat(v)],"string")}}}if(g=="m"){var v=r(h,-2);if(!(v&&/\w/.test(v))&&(v=h.eat(/[(\[{<\^'"!~\/]/),v)){if(/[\^'"!~\/]/.test(v))return c(h,p,[v],l,u);if(v=="(")return c(h,p,[")"],l,u);if(v=="[")return c(h,p,["]"],l,u);if(v=="{")return c(h,p,["}"],l,u);if(v=="<")return c(h,p,[">"],l,u)}}if(g=="s"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="y"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="t"){var v=/[\/>\]})\w]/.test(r(h,-2));if(!v&&(v=h.eat("r"),v&&(v=h.eat(/[(\[{<\^'"!~\/]/),v)))return v=="["?c(h,p,["]","]"],l,u):v=="{"?c(h,p,["}","}"],l,u):v=="<"?c(h,p,[">",">"],l,u):v=="("?c(h,p,[")",")"],l,u):c(h,p,[v,v],l,u)}if(g=="`")return c(h,p,[g],"variable-2");if(g=="/")return/~\s*$/.test(i(h))?c(h,p,[g],l,u):"operator";if(g=="$"){var b=h.pos;if(h.eatWhile(/\d/)||h.eat("{")&&h.eatWhile(/\d/)&&h.eat("}"))return"variable-2";h.pos=b}if(/[$@%]/.test(g)){var b=h.pos;if(h.eat("^")&&h.eat(/[A-Z]/)||!/[@$%&]/.test(r(h,-2))&&h.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var v=h.current();if(s[v])return"variable-2"}h.pos=b}if(/[$@%&]/.test(g)&&(h.eatWhile(/[\w$]/)||h.eat("{")&&h.eatWhile(/[\w$]/)&&h.eat("}"))){var v=h.current();return s[v]?"variable-2":"variable"}if(g=="#"&&r(h,-2)!="$")return h.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(g)){var b=h.pos;if(h.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),s[h.current()])return"operator";h.pos=b}if(g=="_"&&h.pos==1){if(a(h,6)=="_END__")return c(h,p,["\0"],"comment");if(a(h,7)=="_DATA__")return c(h,p,["\0"],"variable-2");if(a(h,7)=="_C__")return c(h,p,["\0"],"string")}if(/\w/.test(g)){var b=h.pos;if(r(h,-2)=="{"&&(r(h,0)=="}"||h.eatWhile(/\w/)&&r(h,0)=="}"))return"string";h.pos=b}if(/[A-Z]/.test(g)){var w=r(h,-2),b=h.pos;if(h.eatWhile(/[A-Z_]/),/[\da-z]/.test(r(h,0)))h.pos=b;else{var v=s[h.current()];return v?(v[1]&&(v=v[0]),w!=":"?v==1?"keyword":v==2?"def":v==3?"atom":v==4?"operator":v==5?"variable-2":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(g)){var w=r(h,-2);h.eatWhile(/\w/);var v=s[h.current()];return v?(v[1]&&(v=v[0]),w!=":"?v==1?"keyword":v==2?"def":v==3?"atom":v==4?"operator":v==5?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:d,chain:null,style:null,tail:null}},token:function(h,p){return(p.tokenize||d)(h,p)},lineComment:"#"}}),n.registerHelper("wordChars","perl",/[\w$]/),n.defineMIME("text/x-perl","perl");function r(s,l){return s.string.charAt(s.pos+(l||0))}function i(s,l){if(l){var u=s.pos-l;return s.string.substr(u>=0?u:0,l)}else return s.string.substr(0,s.pos-1)}function a(s,l){var u=s.string.length,c=u-s.pos+1;return s.string.substr(s.pos,l&&l=(c=s.string.length-1)?s.pos=c:s.pos=u}})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("pascal",function(){function r(f){for(var d={},h=f.split(" "),p=0;p!?|\/]/;function s(f,d){var h=f.next();if(h=="#"&&d.startOfLine)return f.skipToEnd(),"meta";if(h=='"'||h=="'")return d.tokenize=l(h),d.tokenize(f,d);if(h=="("&&f.eat("*"))return d.tokenize=u,u(f,d);if(h=="{")return d.tokenize=c,c(f,d);if(/[\[\]\(\),;\:\.]/.test(h))return null;if(/\d/.test(h))return f.eatWhile(/[\w\.]/),"number";if(h=="/"&&f.eat("/"))return f.skipToEnd(),"comment";if(o.test(h))return f.eatWhile(o),"operator";f.eatWhile(/[\w\$_]/);var p=f.current();return i.propertyIsEnumerable(p)?"keyword":a.propertyIsEnumerable(p)?"atom":"variable"}function l(f){return function(d,h){for(var p=!1,g,b=!1;(g=d.next())!=null;){if(g==f&&!p){b=!0;break}p=!p&&g=="\\"}return(b||!p)&&(h.tokenize=null),"string"}}function u(f,d){for(var h=!1,p;p=f.next();){if(p==")"&&h){d.tokenize=null;break}h=p=="*"}return"comment"}function c(f,d){for(var h;h=f.next();)if(h=="}"){d.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(f,d){if(f.eatSpace())return null;var h=(d.tokenize||s)(f,d);return h=="comment"||h=="meta",h},electricChars:"{}"}}),n.defineMIME("text/x-pascal","pascal")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("nginx",function(r){function i(g){for(var b={},m=g.split(" "),v=0;v*\/]/.test(v)?c(null,"select-op"):/[;{}:\[\]]/.test(v)?c(null,v):(g.eatWhile(/[\w\\\-]/),c("variable","variable"))}function d(g,b){for(var m=!1,v;(v=g.next())!=null;){if(m&&v=="/"){b.tokenize=f;break}m=v=="*"}return c("comment","comment")}function h(g,b){for(var m=0,v;(v=g.next())!=null;){if(m>=2&&v==">"){b.tokenize=f;break}m=v=="-"?m+1:0}return c("comment","comment")}function p(g){return function(b,m){for(var v=!1,w;(w=b.next())!=null&&!(w==g&&!v);)v=!v&&w=="\\";return v||(m.tokenize=f),c("string","string")}}return{startState:function(g){return{tokenize:f,baseIndent:g||0,stack:[]}},token:function(g,b){if(g.eatSpace())return null;u=null;var m=b.tokenize(g,b),v=b.stack[b.stack.length-1];return u=="hash"&&v=="rule"?m="atom":m=="variable"&&(v=="rule"?m="number":(!v||v=="@media{")&&(m="tag")),v=="rule"&&/^[\{\};]$/.test(u)&&b.stack.pop(),u=="{"?v=="@media"?b.stack[b.stack.length-1]="@media{":b.stack.push("{"):u=="}"?b.stack.pop():u=="@media"?b.stack.push("@media"):v=="{"&&u!="comment"&&b.stack.push("rule"),m},indent:function(g,b){var m=g.stack.length;return/^\}/.test(b)&&(m-=g.stack[g.stack.length-1]=="rule"?2:1),g.baseIndent+m*l},electricChars:"}"}}),n.defineMIME("text/x-nginx-conf","nginx")})})();(function(e,t){(function(n){n(jr,N$,$$)})(function(n){function r(a,o,s,l){this.state=a,this.mode=o,this.depth=s,this.prev=l}function i(a){return new r(n.copyState(a.mode,a.state),a.mode,a.depth,a.prev&&i(a.prev))}n.defineMode("jsx",function(a,o){var s=n.getMode(a,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),l=n.getMode(a,o&&o.base||"javascript");function u(h){var p=h.tagName;h.tagName=null;var g=s.indent(h,"","");return h.tagName=p,g}function c(h,p){return p.context.mode==s?f(h,p,p.context):d(h,p,p.context)}function f(h,p,g){if(g.depth==2)return h.match(/^.*?\*\//)?g.depth=1:h.skipToEnd(),"comment";if(h.peek()=="{"){s.skipAttribute(g.state);var b=u(g.state),m=g.state.context;if(m&&h.match(/^[^>]*>\s*$/,!1)){for(;m.prev&&!m.startOfLine;)m=m.prev;m.startOfLine?b-=a.indentUnit:g.prev.state.lexical&&(b=g.prev.state.lexical.indented)}else g.depth==1&&(b+=a.indentUnit);return p.context=new r(n.startState(l,b),l,0,p.context),null}if(g.depth==1){if(h.peek()=="<")return s.skipAttribute(g.state),p.context=new r(n.startState(s,u(g.state)),s,0,p.context),null;if(h.match("//"))return h.skipToEnd(),"comment";if(h.match("/*"))return g.depth=2,c(h,p)}var v=s.token(h,g.state),w=h.current(),k;return/\btag\b/.test(v)?/>$/.test(w)?g.state.context?g.depth=0:p.context=p.context.prev:/^-1&&h.backUp(w.length-k),v}function d(h,p,g){if(h.peek()=="<"&&l.expressionAllowed(h,g.state))return p.context=new r(n.startState(s,l.indent(g.state,"","")),s,0,p.context),l.skipExpression(g.state),null;var b=l.token(h,g.state);if(!b&&g.depth!=null){var m=h.current();m=="{"?g.depth++:m=="}"&&--g.depth==0&&(p.context=p.context.prev)}return b}return{startState:function(){return{context:new r(n.startState(l),l)}},copyState:function(h){return{context:i(h.context)}},token:c,indent:function(h,p,g){return h.context.mode.indent(h.context.state,p,g)},innerMode:function(h){return h.context}}},"xml","javascript"),n.defineMIME("text/jsx","jsx"),n.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("jinja2",function(){var r=["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"],i=/^[+\-*&%=<>!?|~^]/,a=/^[:\[\(\{]/,o=["true","false"],s=/^(\d[+\-\*\/])?\d+(\.\d+)?/;r=new RegExp("(("+r.join(")|(")+"))\\b"),o=new RegExp("(("+o.join(")|(")+"))\\b");function l(u,c){var f=u.peek();if(c.incomment)return u.skipTo("#}")?(u.eatWhile(/\#|}/),c.incomment=!1):u.skipToEnd(),"comment";if(c.intag){if(c.operator){if(c.operator=!1,u.match(o))return"atom";if(u.match(s))return"number"}if(c.sign){if(c.sign=!1,u.match(o))return"atom";if(u.match(s))return"number"}if(c.instring)return f==c.instring&&(c.instring=!1),u.next(),"string";if(f=="'"||f=='"')return c.instring=f,u.next(),"string";if(c.inbraces>0&&f==")")u.next(),c.inbraces--;else if(f=="(")u.next(),c.inbraces++;else if(c.inbrackets>0&&f=="]")u.next(),c.inbrackets--;else if(f=="[")u.next(),c.inbrackets++;else{if(!c.lineTag&&(u.match(c.intag+"}")||u.eat("-")&&u.match(c.intag+"}")))return c.intag=!1,"tag";if(u.match(i))return c.operator=!0,"operator";if(u.match(a))c.sign=!0;else{if(u.column()==1&&c.lineTag&&u.match(r))return"keyword";if(u.eat(" ")||u.sol()){if(u.match(r))return"keyword";if(u.match(o))return"atom";if(u.match(s))return"number";u.sol()&&u.next()}else u.next()}}return"variable"}else if(u.eat("{")){if(u.eat("#"))return c.incomment=!0,u.skipTo("#}")?(u.eatWhile(/\#|}/),c.incomment=!1):u.skipToEnd(),"comment";if(f=u.eat(/\{|%/))return c.intag=f,c.inbraces=0,c.inbrackets=0,f=="{"&&(c.intag="}"),u.eat("-"),"tag"}else if(u.eat("#")){if(u.peek()=="#")return u.skipToEnd(),"comment";if(!u.eol())return c.intag=!0,c.lineTag=!0,c.inbraces=0,c.inbrackets=0,"tag"}u.next()}return{startState:function(){return{tokenize:l,inbrackets:0,inbraces:0}},token:function(u,c){var f=c.tokenize(u,c);return u.eol()&&c.lineTag&&!c.instring&&c.inbraces==0&&c.inbrackets==0&&(c.intag=!1,c.lineTag=!1),f},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}}),n.defineMIME("text/jinja2","jinja2")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("http",function(){function r(f,d){return f.skipToEnd(),d.cur=u,"error"}function i(f,d){return f.match(/^HTTP\/\d\.\d/)?(d.cur=a,"keyword"):f.match(/^[A-Z]+/)&&/[ \t]/.test(f.peek())?(d.cur=s,"keyword"):r(f,d)}function a(f,d){var h=f.match(/^\d+/);if(!h)return r(f,d);d.cur=o;var p=Number(h[0]);return p>=100&&p<200?"positive informational":p>=200&&p<300?"positive success":p>=300&&p<400?"positive redirect":p>=400&&p<500?"negative client-error":p>=500&&p<600?"negative server-error":"error"}function o(f,d){return f.skipToEnd(),d.cur=u,null}function s(f,d){return f.eatWhile(/\S/),d.cur=l,"string-2"}function l(f,d){return f.match(/^HTTP\/\d\.\d$/)?(d.cur=u,"keyword"):r(f,d)}function u(f){return f.sol()&&!f.eat(/[ \t]/)?f.match(/^.*?:/)?"atom":(f.skipToEnd(),"error"):(f.skipToEnd(),"string")}function c(f){return f.skipToEnd(),null}return{token:function(f,d){var h=d.cur;return h!=u&&h!=c&&f.eatSpace()?null:h(f,d)},blankLine:function(f){f.cur=c},startState:function(){return{cur:i}}}}),n.defineMIME("message/http","http")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("go",function(r){var i=r.indentUnit,a={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},o={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},s=/[+\-*&^%:=<>!|\/]/,l;function u(g,b){var m=g.next();if(m=='"'||m=="'"||m=="`")return b.tokenize=c(m),b.tokenize(g,b);if(/[\d\.]/.test(m))return m=="."?g.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):m=="0"?g.match(/^[xX][0-9a-fA-F]+/)||g.match(/^0[0-7]+/):g.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(m))return l=m,null;if(m=="/"){if(g.eat("*"))return b.tokenize=f,f(g,b);if(g.eat("/"))return g.skipToEnd(),"comment"}if(s.test(m))return g.eatWhile(s),"operator";g.eatWhile(/[\w\$_\xa1-\uffff]/);var v=g.current();return a.propertyIsEnumerable(v)?((v=="case"||v=="default")&&(l="case"),"keyword"):o.propertyIsEnumerable(v)?"atom":"variable"}function c(g){return function(b,m){for(var v=!1,w,k=!1;(w=b.next())!=null;){if(w==g&&!v){k=!0;break}v=!v&&g!="`"&&w=="\\"}return(k||!(v||g=="`"))&&(m.tokenize=u),"string"}}function f(g,b){for(var m=!1,v;v=g.next();){if(v=="/"&&m){b.tokenize=u;break}m=v=="*"}return"comment"}function d(g,b,m,v,w){this.indented=g,this.column=b,this.type=m,this.align=v,this.prev=w}function h(g,b,m){return g.context=new d(g.indented,b,m,null,g.context)}function p(g){if(g.context.prev){var b=g.context.type;return(b==")"||b=="]"||b=="}")&&(g.indented=g.context.indented),g.context=g.context.prev}}return{startState:function(g){return{tokenize:null,context:new d((g||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(g,b){var m=b.context;if(g.sol()&&(m.align==null&&(m.align=!1),b.indented=g.indentation(),b.startOfLine=!0,m.type=="case"&&(m.type="}")),g.eatSpace())return null;l=null;var v=(b.tokenize||u)(g,b);return v=="comment"||(m.align==null&&(m.align=!0),l=="{"?h(b,g.column(),"}"):l=="["?h(b,g.column(),"]"):l=="("?h(b,g.column(),")"):l=="case"?m.type="case":(l=="}"&&m.type=="}"||l==m.type)&&p(b),b.startOfLine=!1),v},indent:function(g,b){if(g.tokenize!=u&&g.tokenize!=null)return n.Pass;var m=g.context,v=b&&b.charAt(0);if(m.type=="case"&&/^(?:case|default)\b/.test(b))return g.context.type="}",m.indented;var w=v==m.type;return m.align?m.column+(w?0:1):m.indented+(w?0:i)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),n.defineMIME("text/x-go","go")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("diff",function(){var r={"+":"positive","-":"negative","@":"meta"};return{token:function(i){var a=i.string.search(/[\t ]+?$/);if(!i.sol()||a===0)return i.skipToEnd(),("error "+(r[i.string.charAt(0)]||"")).replace(/ $/,"");var o=r[i.peek()]||i.skipToEnd();return a===-1?i.skipToEnd():i.pos=a,o}}}),n.defineMIME("text/x-diff","diff")})})();(function(e,t){(function(n){n(jr,Ghe,qhe)})(function(n){n.defineMode("django:inner",function(){var r=["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"],i=["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"],a=["==","!=","<",">","<=",">="],o=["in","not","or","and"];r=new RegExp("^\\b("+r.join("|")+")\\b"),i=new RegExp("^\\b("+i.join("|")+")\\b"),a=new RegExp("^\\b("+a.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b");function s(h,p){if(h.match("{{"))return p.tokenize=u,"tag";if(h.match("{%"))return p.tokenize=c,"tag";if(h.match("{#"))return p.tokenize=f,"comment";for(;h.next()!=null&&!h.match(/\{[{%#]/,!1););return null}function l(h,p){return function(g,b){if(!b.escapeNext&&g.eat(h))b.tokenize=p;else{b.escapeNext&&(b.escapeNext=!1);var m=g.next();m=="\\"&&(b.escapeNext=!0)}return"string"}}function u(h,p){if(p.waitDot){if(p.waitDot=!1,h.peek()!=".")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return p.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(p.waitPipe){if(p.waitPipe=!1,h.peek()!="|")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return p.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return p.waitProperty&&(p.waitProperty=!1,h.match(/\b(\w+)\b/))?(p.waitDot=!0,p.waitPipe=!0,"property"):p.waitFilter&&(p.waitFilter=!1,h.match(i))?"variable-2":h.eatSpace()?(p.waitProperty=!1,"null"):h.match(/\b\d+(\.\d+)?\b/)?"number":h.match("'")?(p.tokenize=l("'",p.tokenize),"string"):h.match('"')?(p.tokenize=l('"',p.tokenize),"string"):h.match(/\b(\w+)\b/)&&!p.foundVariable?(p.waitDot=!0,p.waitPipe=!0,"variable"):h.match("}}")?(p.waitProperty=null,p.waitFilter=null,p.waitDot=null,p.waitPipe=null,p.tokenize=s,"tag"):(h.next(),"null")}function c(h,p){if(p.waitDot){if(p.waitDot=!1,h.peek()!=".")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("."))return p.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(p.waitPipe){if(p.waitPipe=!1,h.peek()!="|")return"null";if(h.match(/\.\W+/))return"error";if(h.eat("|"))return p.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(p.waitProperty&&(p.waitProperty=!1,h.match(/\b(\w+)\b/)))return p.waitDot=!0,p.waitPipe=!0,"property";if(p.waitFilter&&(p.waitFilter=!1,h.match(i)))return"variable-2";if(h.eatSpace())return p.waitProperty=!1,"null";if(h.match(/\b\d+(\.\d+)?\b/))return"number";if(h.match("'"))return p.tokenize=l("'",p.tokenize),"string";if(h.match('"'))return p.tokenize=l('"',p.tokenize),"string";if(h.match(a))return"operator";if(h.match(o))return"keyword";var g=h.match(r);return g?(g[0]=="comment"&&(p.blockCommentTag=!0),"keyword"):h.match(/\b(\w+)\b/)?(p.waitDot=!0,p.waitPipe=!0,"variable"):h.match("%}")?(p.waitProperty=null,p.waitFilter=null,p.waitDot=null,p.waitPipe=null,p.blockCommentTag?(p.blockCommentTag=!1,p.tokenize=d):p.tokenize=s,"tag"):(h.next(),"null")}function f(h,p){return h.match(/^.*?#\}/)?p.tokenize=s:h.skipToEnd(),"comment"}function d(h,p){return h.match(/\{%\s*endcomment\s*%\}/,!1)?(p.tokenize=c,h.match("{%"),"tag"):(h.next(),"comment")}return{startState:function(){return{tokenize:s}},token:function(h,p){return p.tokenize(h,p)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),n.defineMode("django",function(r){var i=n.getMode(r,"text/html"),a=n.getMode(r,"django:inner");return n.overlayMode(i,a)}),n.defineMIME("text/x-django","django")})})();(function(e,t){(function(n){n(jr,Vhe())})(function(n){var r="from",i=new RegExp("^(\\s*)\\b("+r+")\\b","i"),a=["run","cmd","entrypoint","shell"],o=new RegExp("^(\\s*)("+a.join("|")+")(\\s+\\[)","i"),s="expose",l=new RegExp("^(\\s*)("+s+")(\\s+)","i"),u=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],c=[r,s].concat(a).concat(u),f="("+c.join("|")+")",d=new RegExp("^(\\s*)"+f+"(\\s*)(#.*)?$","i"),h=new RegExp("^(\\s*)"+f+"(\\s+)","i");n.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:i,token:[null,"keyword"],sol:!0,next:"from"},{regex:d,token:[null,"keyword",null,"error"],sol:!0},{regex:o,token:[null,"keyword",null],sol:!0,next:"array"},{regex:l,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:h,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:"#"}}),n.defineMIME("text/x-dockerfile","dockerfile")})})();(function(e,t){(function(n){n(jr)})(function(n){n.defineMode("cmake",function(){var r=/({)?[a-zA-Z0-9_]+(})?/;function i(o,s){for(var l,u,c=!1;!o.eol()&&(l=o.next())!=s.pending;){if(l==="$"&&u!="\\"&&s.pending=='"'){c=!0;break}u=l}return c&&o.backUp(1),l==s.pending?s.continueString=!1:s.continueString=!0,"string"}function a(o,s){var l=o.next();return l==="$"?o.match(r)?"variable-2":"variable":s.continueString?(o.backUp(1),i(o,s)):o.match(/(\s+)?\w+\(/)||o.match(/(\s+)?\w+\ \(/)?(o.backUp(1),"def"):l=="#"?(o.skipToEnd(),"comment"):l=="'"||l=='"'?(s.pending=l,i(o,s)):l=="("||l==")"?"bracket":l.match(/[0-9]/)?"number":(o.eatWhile(/[\w-]/),null)}return{startState:function(){var o={};return o.inDefinition=!1,o.inInclude=!1,o.continueString=!1,o.pending=!1,o},token:function(o,s){return o.eatSpace()?null:a(o,s)}}}),n.defineMIME("text/x-cmake","cmake")})})();var Qw=jr;Whe();var vqn=iqn,uW=MVe.marked,OVe=/Mac/.test(navigator.platform),yqn=new RegExp(/()+?/g),YA={toggleBold:U$,toggleItalic:j$,drawLink:Q$,toggleHeadingSmaller:XA,toggleHeadingBigger:G$,drawImage:ez,toggleBlockquote:W$,toggleOrderedList:J$,toggleUnorderedList:X$,toggleCodeBlock:q$,togglePreview:az,toggleStrikethrough:H$,toggleHeading1:V$,toggleHeading2:K$,toggleHeading3:Y$,toggleHeading4:Khe,toggleHeading5:Yhe,toggleHeading6:Xhe,cleanBlock:Z$,drawTable:tz,drawHorizontalRule:nz,undo:rz,redo:iz,toggleSideBySide:lE,toggleFullScreen:sE},bqn={toggleBold:"Cmd-B",toggleItalic:"Cmd-I",drawLink:"Cmd-K",toggleHeadingSmaller:"Cmd-H",toggleHeadingBigger:"Shift-Cmd-H",toggleHeading1:"Ctrl+Alt+1",toggleHeading2:"Ctrl+Alt+2",toggleHeading3:"Ctrl+Alt+3",toggleHeading4:"Ctrl+Alt+4",toggleHeading5:"Ctrl+Alt+5",toggleHeading6:"Ctrl+Alt+6",cleanBlock:"Cmd-E",drawImage:"Cmd-Alt-I",toggleBlockquote:"Cmd-'",toggleOrderedList:"Cmd-Alt-L",toggleUnorderedList:"Cmd-L",toggleCodeBlock:"Cmd-Alt-C",togglePreview:"Cmd-P",toggleSideBySide:"F9",toggleFullScreen:"F11"},wqn=function(e){for(var t in YA)if(YA[t]===e)return t;return null},Hoe=function(){var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e};function kqn(e){for(var t;(t=yqn.exec(e))!==null;){var n=t[0];if(n.indexOf("target=")===-1){var r=n.replace(/>$/,' target="_blank">');e=e.replace(n,r)}}return e}function _qn(e){for(var t=new DOMParser,n=t.parseFromString(e,"text/html"),r=n.getElementsByTagName("li"),i=0;i0){for(var d=document.createElement("i"),h=0;h=0&&(c=o.getLineHandle(d),!n(c));d--);var m=o.getTokenAt({line:d,ch:1}),v=r(m).fencedChars,w,k,E,S;n(o.getLineHandle(s.line))?(w="",k=s.line):n(o.getLineHandle(s.line-1))?(w="",k=s.line-1):(w=v+` `,k=s.line),n(o.getLineHandle(l.line))?(E="",S=l.line,l.ch===0&&(S+=1)):l.ch!==0&&n(o.getLineHandle(l.line+1))?(E="",S=l.line+1):(E=v+` `,S=l.line+1),l.ch===0&&(S-=1),o.operation(function(){o.replaceRange(E,{line:S,ch:0},{line:S+(E?0:1),ch:0}),o.replaceRange(w,{line:k,ch:0},{line:k+(w?0:1),ch:0})}),o.setSelection({line:k+(w?1:0),ch:0},{line:S+(w?1:-1),ch:0}),o.focus()}else{var T=s.line;if(n(o.getLineHandle(s.line))&&(i(o,s.line+1)==="fenced"?(d=s.line,T=s.line+1):(h=s.line,T=s.line-1)),d===void 0)for(d=T;d>=0&&(c=o.getLineHandle(d),!n(c));d--);if(h===void 0)for(p=o.lineCount(),h=T;h=0;d--)if(c=o.getLineHandle(d),!c.text.match(/^\s*$/)&&i(o,d,c)!=="indented"){d+=1;break}for(p=o.lineCount(),h=s.line;h\s+/,"unordered-list":r,"ordered-list":r},u=function(p,g){var b={quote:">","unordered-list":n,"ordered-list":"%%i."};return b[p].replace("%%i",g)},c=function(p,g){var b={quote:">","unordered-list":"\\"+n,"ordered-list":"\\d+."},m=new RegExp(b[p]);return g&&m.test(g)},f=function(p,g,b){var m=r.exec(g),v=u(p,d);return m!==null?(c(p,m[2])&&(v=""),g=m[1]+v+m[3]+g.replace(i,"").replace(l[p],"$1")):b==!1&&(g=v+" "+g),g},d=1,h=o.line;h<=s.line;h++)(function(p){var g=e.getLine(p);a[t]?g=g.replace(l[t],"$1"):(t=="unordered-list"&&(g=f("ordered-list",g,!0)),g=f(t,g,!1),d+=1),e.replaceRange(g,{line:p,ch:0},{line:p,ch:99999999999999})})(h);e.focus()}}function FVe(e,t,n,r){if(!(!e.codemirror||e.isPreviewActive())){var i=e.codemirror,a=J2(i),o=a[t];if(!o){M4(i,o,n,r);return}var s=i.getCursor("start"),l=i.getCursor("end"),u=i.getLine(s.line),c=u.slice(0,s.ch),f=u.slice(s.ch);t=="link"?c=c.replace(/(.*)\[/,"$1"):t=="image"&&(c=c.replace(/(.*)!\[$/,"$1")),f=f.replace(/]\(.*?\)/,""),i.replaceRange(c+f,{line:s.line,ch:0},{line:s.line,ch:99999999999999}),s.ch-=n[0].length,s!==l&&(l.ch-=n[0].length),i.setSelection(s,l),i.focus()}}function Qhe(e,t,n,r){if(!(!e.codemirror||e.isPreviewActive())){r=typeof r>"u"?n:r;var i=e.codemirror,a=J2(i),o,s=n,l=r,u=i.getCursor("start"),c=i.getCursor("end");a[t]?(o=i.getLine(u.line),s=o.slice(0,u.ch),l=o.slice(u.ch),t=="bold"?(s=s.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),l=l.replace(/(\*\*|__)/,"")):t=="italic"?(s=s.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),l=l.replace(/(\*|_)/,"")):t=="strikethrough"&&(s=s.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),l=l.replace(/(\*\*|~~)/,"")),i.replaceRange(s+l,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),t=="bold"||t=="strikethrough"?(u.ch-=2,u!==c&&(c.ch-=2)):t=="italic"&&(u.ch-=1,u!==c&&(c.ch-=1))):(o=i.getSelection(),t=="bold"?(o=o.split("**").join(""),o=o.split("__").join("")):t=="italic"?(o=o.split("*").join(""),o=o.split("_").join("")):t=="strikethrough"&&(o=o.split("~~").join("")),i.replaceSelection(s+o+l),u.ch+=n.length,c.ch=u.ch+o.length),i.setSelection(u,c),i.focus()}}function xqn(e){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active"))for(var t=e.getCursor("start"),n=e.getCursor("end"),r,i=t.line;i<=n.line;i++)r=e.getLine(i),r=r.replace(/^[ ]*([# ]+|\*|-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(r,{line:i,ch:0},{line:i,ch:99999999999999})}function gB(e,t){if(Math.abs(e)<1024)return""+e+t[0];var n=0;do e/=1024,++n;while(Math.abs(e)>=1024&&n=19968?r+=n[i].length:r+=1;return r}var wo={bold:"fa fa-bold",italic:"fa fa-italic",strikethrough:"fa fa-strikethrough",heading:"fa fa-header fa-heading","heading-smaller":"fa fa-header fa-heading header-smaller","heading-bigger":"fa fa-header fa-heading header-bigger","heading-1":"fa fa-header fa-heading header-1","heading-2":"fa fa-header fa-heading header-2","heading-3":"fa fa-header fa-heading header-3",code:"fa fa-code",quote:"fa fa-quote-left","ordered-list":"fa fa-list-ol","unordered-list":"fa fa-list-ul","clean-block":"fa fa-eraser",link:"fa fa-link",image:"fa fa-image","upload-image":"fa fa-image",table:"fa fa-table","horizontal-rule":"fa fa-minus",preview:"fa fa-eye","side-by-side":"fa fa-columns",fullscreen:"fa fa-arrows-alt",guide:"fa fa-question-circle",undo:"fa fa-undo",redo:"fa fa-repeat fa-redo"},l4={bold:{name:"bold",action:U$,className:wo.bold,title:"Bold",default:!0},italic:{name:"italic",action:j$,className:wo.italic,title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:H$,className:wo.strikethrough,title:"Strikethrough"},heading:{name:"heading",action:XA,className:wo.heading,title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:XA,className:wo["heading-smaller"],title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:G$,className:wo["heading-bigger"],title:"Bigger Heading"},"heading-1":{name:"heading-1",action:V$,className:wo["heading-1"],title:"Big Heading"},"heading-2":{name:"heading-2",action:K$,className:wo["heading-2"],title:"Medium Heading"},"heading-3":{name:"heading-3",action:Y$,className:wo["heading-3"],title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:q$,className:wo.code,title:"Code"},quote:{name:"quote",action:W$,className:wo.quote,title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:X$,className:wo["unordered-list"],title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:J$,className:wo["ordered-list"],title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:Z$,className:wo["clean-block"],title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:Q$,className:wo.link,title:"Create Link",default:!0},image:{name:"image",action:ez,className:wo.image,title:"Insert Image",default:!0},"upload-image":{name:"upload-image",action:Jhe,className:wo["upload-image"],title:"Import an image"},table:{name:"table",action:tz,className:wo.table,title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:nz,className:wo["horizontal-rule"],title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:az,className:wo.preview,noDisable:!0,title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:lE,className:wo["side-by-side"],noDisable:!0,noMobile:!0,title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:sE,className:wo.fullscreen,noDisable:!0,noMobile:!0,title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://www.markdownguide.org/basic-syntax/",className:wo.guide,noDisable:!0,title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:rz,className:wo.undo,noDisable:!0,title:"Undo"},redo:{name:"redo",action:iz,className:wo.redo,noDisable:!0,title:"Redo"}},Sqn={link:["[","](#url#)"],image:["![","](#url#)"],uploadedImage:["![](#url#)",""],table:["",` +`,{line:h+1,ch:0});for(var I=d;I<=h;I++)o.indentLine(I,"subtract");o.focus()}else{var B=s.line===l.line&&s.ch===l.ch&&s.ch===0,N=s.line!==l.line;B||N?a(o,s,l,t):M4(o,!1,["`","`"])}}function W$(e){Zhe(e.codemirror,"quote")}function XA(e){Z2(e.codemirror,"smaller")}function G$(e){Z2(e.codemirror,"bigger")}function V$(e){Z2(e.codemirror,void 0,1)}function K$(e){Z2(e.codemirror,void 0,2)}function Y$(e){Z2(e.codemirror,void 0,3)}function Khe(e){Z2(e.codemirror,void 0,4)}function Yhe(e){Z2(e.codemirror,void 0,5)}function Xhe(e){Z2(e.codemirror,void 0,6)}function X$(e){var t=e.codemirror,n="*";["-","+","*"].includes(e.options.unorderedListStyle)&&(n=e.options.unorderedListStyle),Zhe(t,"unordered-list",n)}function J$(e){Zhe(e.codemirror,"ordered-list")}function Z$(e){Sqn(e.codemirror)}function Q$(e){var t=e.options,n="https://";if(t.promptURLs){var r=prompt(t.promptTexts.link,n);if(!r)return!1;n=BVe(r)}FVe(e,"link",t.insertTexts.link,n)}function ez(e){var t=e.options,n="https://";if(t.promptURLs){var r=prompt(t.promptTexts.image,n);if(!r)return!1;n=BVe(r)}FVe(e,"image",t.insertTexts.image,n)}function BVe(e){return encodeURI(e).replace(/([\\()])/g,"\\$1")}function Jhe(e){e.openBrowseFileWindow()}function PVe(e,t){var n=e.codemirror,r=J2(n),i=e.options,a=t.substr(t.lastIndexOf("/")+1),o=a.substring(a.lastIndexOf(".")+1).replace(/\?.*$/,"").toLowerCase();if(["png","jpg","jpeg","gif","svg","apng","avif","webp"].includes(o))M4(n,r.image,i.insertTexts.uploadedImage,t);else{var s=i.insertTexts.link;s[0]="["+a,M4(n,r.link,s,t)}e.updateStatusBar("upload-image",e.options.imageTexts.sbOnUploaded.replace("#image_name#",a)),setTimeout(function(){e.updateStatusBar("upload-image",e.options.imageTexts.sbInit)},1e3)}function tz(e){var t=e.codemirror,n=J2(t),r=e.options;M4(t,n.table,r.insertTexts.table)}function nz(e){var t=e.codemirror,n=J2(t),r=e.options;M4(t,n.image,r.insertTexts.horizontalRule)}function rz(e){var t=e.codemirror;t.undo(),t.focus()}function iz(e){var t=e.codemirror;t.redo(),t.focus()}function lE(e){var t=e.codemirror,n=t.getWrapperElement(),r=n.nextSibling,i=e.toolbarElements&&e.toolbarElements["side-by-side"],a=!1,o=n.parentNode;r.classList.contains("editor-preview-active-side")?(e.options.sideBySideFullscreen===!1&&o.classList.remove("sided--no-fullscreen"),r.classList.remove("editor-preview-active-side"),i&&i.classList.remove("active"),n.classList.remove("CodeMirror-sided")):(setTimeout(function(){t.getOption("fullScreen")||(e.options.sideBySideFullscreen===!1?o.classList.add("sided--no-fullscreen"):sE(e)),r.classList.add("editor-preview-active-side")},1),i&&i.classList.add("active"),n.classList.add("CodeMirror-sided"),a=!0);var s=n.lastChild;if(s.classList.contains("editor-preview-active")){s.classList.remove("editor-preview-active");var l=e.toolbarElements.preview,u=e.toolbar_div;l.classList.remove("active"),u.classList.remove("disabled-for-preview")}var c=function(){var d=e.options.previewRender(e.value(),r);d!=null&&(r.innerHTML=d)};if(t.sideBySideRenderingFunction||(t.sideBySideRenderingFunction=c),a){var f=e.options.previewRender(e.value(),r);f!=null&&(r.innerHTML=f),t.on("update",t.sideBySideRenderingFunction)}else t.off("update",t.sideBySideRenderingFunction);t.refresh()}function az(e){var t=e.codemirror,n=t.getWrapperElement(),r=e.toolbar_div,i=e.options.toolbar?e.toolbarElements.preview:!1,a=n.lastChild,o=t.getWrapperElement().nextSibling;if(o.classList.contains("editor-preview-active-side")&&lE(e),!a||!a.classList.contains("editor-preview-full")){if(a=document.createElement("div"),a.className="editor-preview-full",e.options.previewClass)if(Array.isArray(e.options.previewClass))for(var s=0;s\s+/,"unordered-list":r,"ordered-list":r},u=function(p,g){var b={quote:">","unordered-list":n,"ordered-list":"%%i."};return b[p].replace("%%i",g)},c=function(p,g){var b={quote:">","unordered-list":"\\"+n,"ordered-list":"\\d+."},m=new RegExp(b[p]);return g&&m.test(g)},f=function(p,g,b){var m=r.exec(g),v=u(p,d);return m!==null?(c(p,m[2])&&(v=""),g=m[1]+v+m[3]+g.replace(i,"").replace(l[p],"$1")):b==!1&&(g=v+" "+g),g},d=1,h=o.line;h<=s.line;h++)(function(p){var g=e.getLine(p);a[t]?g=g.replace(l[t],"$1"):(t=="unordered-list"&&(g=f("ordered-list",g,!0)),g=f(t,g,!1),d+=1),e.replaceRange(g,{line:p,ch:0},{line:p,ch:99999999999999})})(h);e.focus()}}function FVe(e,t,n,r){if(!(!e.codemirror||e.isPreviewActive())){var i=e.codemirror,a=J2(i),o=a[t];if(!o){M4(i,o,n,r);return}var s=i.getCursor("start"),l=i.getCursor("end"),u=i.getLine(s.line),c=u.slice(0,s.ch),f=u.slice(s.ch);t=="link"?c=c.replace(/(.*)\[/,"$1"):t=="image"&&(c=c.replace(/(.*)!\[$/,"$1")),f=f.replace(/]\(.*?\)/,""),i.replaceRange(c+f,{line:s.line,ch:0},{line:s.line,ch:99999999999999}),s.ch-=n[0].length,s!==l&&(l.ch-=n[0].length),i.setSelection(s,l),i.focus()}}function Qhe(e,t,n,r){if(!(!e.codemirror||e.isPreviewActive())){r=typeof r>"u"?n:r;var i=e.codemirror,a=J2(i),o,s=n,l=r,u=i.getCursor("start"),c=i.getCursor("end");a[t]?(o=i.getLine(u.line),s=o.slice(0,u.ch),l=o.slice(u.ch),t=="bold"?(s=s.replace(/(\*\*|__)(?![\s\S]*(\*\*|__))/,""),l=l.replace(/(\*\*|__)/,"")):t=="italic"?(s=s.replace(/(\*|_)(?![\s\S]*(\*|_))/,""),l=l.replace(/(\*|_)/,"")):t=="strikethrough"&&(s=s.replace(/(\*\*|~~)(?![\s\S]*(\*\*|~~))/,""),l=l.replace(/(\*\*|~~)/,"")),i.replaceRange(s+l,{line:u.line,ch:0},{line:u.line,ch:99999999999999}),t=="bold"||t=="strikethrough"?(u.ch-=2,u!==c&&(c.ch-=2)):t=="italic"&&(u.ch-=1,u!==c&&(c.ch-=1))):(o=i.getSelection(),t=="bold"?(o=o.split("**").join(""),o=o.split("__").join("")):t=="italic"?(o=o.split("*").join(""),o=o.split("_").join("")):t=="strikethrough"&&(o=o.split("~~").join("")),i.replaceSelection(s+o+l),u.ch+=n.length,c.ch=u.ch+o.length),i.setSelection(u,c),i.focus()}}function Sqn(e){if(!e.getWrapperElement().lastChild.classList.contains("editor-preview-active"))for(var t=e.getCursor("start"),n=e.getCursor("end"),r,i=t.line;i<=n.line;i++)r=e.getLine(i),r=r.replace(/^[ ]*([# ]+|\*|-|[> ]+|[0-9]+(.|\)))[ ]*/,""),e.replaceRange(r,{line:i,ch:0},{line:i,ch:99999999999999})}function gB(e,t){if(Math.abs(e)<1024)return""+e+t[0];var n=0;do e/=1024,++n;while(Math.abs(e)>=1024&&n=19968?r+=n[i].length:r+=1;return r}var wo={bold:"fa fa-bold",italic:"fa fa-italic",strikethrough:"fa fa-strikethrough",heading:"fa fa-header fa-heading","heading-smaller":"fa fa-header fa-heading header-smaller","heading-bigger":"fa fa-header fa-heading header-bigger","heading-1":"fa fa-header fa-heading header-1","heading-2":"fa fa-header fa-heading header-2","heading-3":"fa fa-header fa-heading header-3",code:"fa fa-code",quote:"fa fa-quote-left","ordered-list":"fa fa-list-ol","unordered-list":"fa fa-list-ul","clean-block":"fa fa-eraser",link:"fa fa-link",image:"fa fa-image","upload-image":"fa fa-image",table:"fa fa-table","horizontal-rule":"fa fa-minus",preview:"fa fa-eye","side-by-side":"fa fa-columns",fullscreen:"fa fa-arrows-alt",guide:"fa fa-question-circle",undo:"fa fa-undo",redo:"fa fa-repeat fa-redo"},l4={bold:{name:"bold",action:U$,className:wo.bold,title:"Bold",default:!0},italic:{name:"italic",action:j$,className:wo.italic,title:"Italic",default:!0},strikethrough:{name:"strikethrough",action:H$,className:wo.strikethrough,title:"Strikethrough"},heading:{name:"heading",action:XA,className:wo.heading,title:"Heading",default:!0},"heading-smaller":{name:"heading-smaller",action:XA,className:wo["heading-smaller"],title:"Smaller Heading"},"heading-bigger":{name:"heading-bigger",action:G$,className:wo["heading-bigger"],title:"Bigger Heading"},"heading-1":{name:"heading-1",action:V$,className:wo["heading-1"],title:"Big Heading"},"heading-2":{name:"heading-2",action:K$,className:wo["heading-2"],title:"Medium Heading"},"heading-3":{name:"heading-3",action:Y$,className:wo["heading-3"],title:"Small Heading"},"separator-1":{name:"separator-1"},code:{name:"code",action:q$,className:wo.code,title:"Code"},quote:{name:"quote",action:W$,className:wo.quote,title:"Quote",default:!0},"unordered-list":{name:"unordered-list",action:X$,className:wo["unordered-list"],title:"Generic List",default:!0},"ordered-list":{name:"ordered-list",action:J$,className:wo["ordered-list"],title:"Numbered List",default:!0},"clean-block":{name:"clean-block",action:Z$,className:wo["clean-block"],title:"Clean block"},"separator-2":{name:"separator-2"},link:{name:"link",action:Q$,className:wo.link,title:"Create Link",default:!0},image:{name:"image",action:ez,className:wo.image,title:"Insert Image",default:!0},"upload-image":{name:"upload-image",action:Jhe,className:wo["upload-image"],title:"Import an image"},table:{name:"table",action:tz,className:wo.table,title:"Insert Table"},"horizontal-rule":{name:"horizontal-rule",action:nz,className:wo["horizontal-rule"],title:"Insert Horizontal Line"},"separator-3":{name:"separator-3"},preview:{name:"preview",action:az,className:wo.preview,noDisable:!0,title:"Toggle Preview",default:!0},"side-by-side":{name:"side-by-side",action:lE,className:wo["side-by-side"],noDisable:!0,noMobile:!0,title:"Toggle Side by Side",default:!0},fullscreen:{name:"fullscreen",action:sE,className:wo.fullscreen,noDisable:!0,noMobile:!0,title:"Toggle Fullscreen",default:!0},"separator-4":{name:"separator-4"},guide:{name:"guide",action:"https://www.markdownguide.org/basic-syntax/",className:wo.guide,noDisable:!0,title:"Markdown Guide",default:!0},"separator-5":{name:"separator-5"},undo:{name:"undo",action:rz,className:wo.undo,noDisable:!0,title:"Undo"},redo:{name:"redo",action:iz,className:wo.redo,noDisable:!0,title:"Redo"}},Aqn={link:["[","](#url#)"],image:["![","](#url#)"],uploadedImage:["![](#url#)",""],table:["",` | Column 1 | Column 2 | Column 3 | | -------- | -------- | -------- | @@ -762,42 +762,42 @@ Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"

A ----- -`]},Aqn={link:"URL for the link:",image:"URL of the image:"},Tqn={locale:"en-US",format:{hour:"2-digit",minute:"2-digit"}},Dqn={bold:"**",code:"```",italic:"*"},Iqn={sbInit:"Attach files by drag and dropping or pasting from clipboard.",sbOnDragEnter:"Drop image to upload it.",sbOnDrop:"Uploading image #images_names#...",sbProgress:"Uploading #file_name#: #progress#%",sbOnUploaded:"Uploaded #image_name#",sizeUnits:" B, KB, MB"},Rqn={noFileGiven:"You must select a file.",typeNotAllowed:"This image type is not allowed.",fileTooLarge:`Image #image_name# is too big (#image_size#). -Maximum file size is #image_max_size#.`,importError:"Something went wrong when uploading the image #image_name#."};function ar(e){e=e||{},e.parent=this;var t=!0;if(e.autoDownloadFontAwesome===!1&&(t=!1),e.autoDownloadFontAwesome!==!0)for(var n=document.styleSheets,r=0;r-1&&(t=!1);if(t){var i=document.createElement("link");i.rel="stylesheet",i.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(i)}if(e.element)this.element=e.element;else if(e.element===null){console.log("EasyMDE: Error. No element was found.");return}if(e.toolbar===void 0){e.toolbar=[];for(var a in l4)Object.prototype.hasOwnProperty.call(l4,a)&&(a.indexOf("separator-")!=-1&&e.toolbar.push("|"),(l4[a].default===!0||e.showIcons&&e.showIcons.constructor===Array&&e.showIcons.indexOf(a)!=-1)&&e.toolbar.push(a))}if(Object.prototype.hasOwnProperty.call(e,"previewClass")||(e.previewClass="editor-preview"),Object.prototype.hasOwnProperty.call(e,"status")||(e.status=["autosave","lines","words","cursor"],e.uploadImage&&e.status.unshift("upload-image")),e.previewRender||(e.previewRender=function(s){return this.parent.markdown(s)}),e.parsingConfig=X1({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=X1({},Sqn,e.insertTexts||{}),e.promptTexts=X1({},Aqn,e.promptTexts||{}),e.blockStyles=X1({},Dqn,e.blockStyles||{}),e.autosave!=null&&(e.autosave.timeFormat=X1({},Tqn,e.autosave.timeFormat||{})),e.iconClassMap=X1({},wo,e.iconClassMap||{}),e.shortcuts=X1({},yqn,e.shortcuts||{}),e.maxHeight=e.maxHeight||void 0,e.direction=e.direction||"ltr",typeof e.maxHeight<"u"?e.minHeight=e.maxHeight:e.minHeight=e.minHeight||"300px",e.errorCallback=e.errorCallback||function(s){alert(s)},e.uploadImage=e.uploadImage||!1,e.imageMaxSize=e.imageMaxSize||2097152,e.imageAccept=e.imageAccept||"image/png, image/jpeg, image/gif, image/avif",e.imageTexts=X1({},Iqn,e.imageTexts||{}),e.errorMessages=X1({},Rqn,e.errorMessages||{}),e.imagePathAbsolute=e.imagePathAbsolute||!1,e.imageCSRFName=e.imageCSRFName||"csrfmiddlewaretoken",e.imageCSRFHeader=e.imageCSRFHeader||!1,e.autosave!=null&&e.autosave.unique_id!=null&&e.autosave.unique_id!=""&&(e.autosave.uniqueId=e.autosave.unique_id),e.overlayMode&&e.overlayMode.combine===void 0&&(e.overlayMode.combine=!0),this.options=e,this.render(),e.initialValue&&(!this.options.autosave||this.options.autosave.foundSavedValue!==!0)&&this.value(e.initialValue),e.uploadImage){var o=this;this.codemirror.on("dragenter",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragend",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragleave",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragover",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("drop",function(s,l){l.stopPropagation(),l.preventDefault(),e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,l.dataTransfer.files):o.uploadImages(l.dataTransfer.files)}),this.codemirror.on("paste",function(s,l){e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,l.clipboardData.files):o.uploadImages(l.clipboardData.files)})}}ar.prototype.uploadImages=function(e,t,n){if(e.length!==0){for(var r=[],i=0;i=2){var w=v[1];if(t.imagesPreviewHandler){var k=t.imagesPreviewHandler(v[1]);typeof k=="string"&&(w=k)}if(window.EMDEimagesCache[w])h(m,window.EMDEimagesCache[w]);else{var E=document.createElement("img");E.onload=function(){window.EMDEimagesCache[w]={naturalWidth:E.naturalWidth,naturalHeight:E.naturalHeight,url:w},h(m,window.EMDEimagesCache[w])},E.src=w}}}})}this.codemirror.on("update",function(){p()}),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element,(t.autofocus===!0||e.autofocus)&&this.codemirror.focus();var g=this.codemirror;setTimeout(function(){g.refresh()}.bind(g),0)};ar.prototype.cleanup=function(){document.removeEventListener("keydown",this.documentOnKeyDown)};function $Ve(){if(typeof localStorage=="object")try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch{return!1}else return!1;return!0}ar.prototype.autosave=function(){if($Ve()){var e=this;if(this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to use the autosave feature");return}this.options.autosave.binded!==!0&&(e.element.form!=null&&e.element.form!=null&&e.element.form.addEventListener("submit",function(){clearTimeout(e.autosaveTimeoutId),e.autosaveTimeoutId=void 0,localStorage.removeItem("smde_"+e.options.autosave.uniqueId)}),this.options.autosave.binded=!0),this.options.autosave.loaded!==!0&&(typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)=="string"&&localStorage.getItem("smde_"+this.options.autosave.uniqueId)!=""&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0);var t=e.value();t!==""?localStorage.setItem("smde_"+this.options.autosave.uniqueId,t):localStorage.removeItem("smde_"+this.options.autosave.uniqueId);var n=document.getElementById("autosaved");if(n!=null&&n!=null&&n!=""){var r=new Date,i=new Intl.DateTimeFormat([this.options.autosave.timeFormat.locale,"en-US"],this.options.autosave.timeFormat.format).format(r),a=this.options.autosave.text==null?"Autosaved: ":this.options.autosave.text;n.innerHTML=a+i}}else console.log("EasyMDE: localStorage not available, cannot autosave")};ar.prototype.clearAutosavedValue=function(){if($Ve()){if(this.options.autosave==null||this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to clear the autosave value");return}localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("EasyMDE: localStorage not available, cannot autosave")};ar.prototype.openBrowseFileWindow=function(e,t){var n=this,r=this.gui.toolbar.getElementsByClassName("imageInput")[0];r.click();function i(a){n.options.imageUploadFunction?n.uploadImagesUsingCustomFunction(n.options.imageUploadFunction,a.target.files):n.uploadImages(a.target.files,e,t),r.removeEventListener("change",i)}r.addEventListener("change",i)};ar.prototype.uploadImage=function(e,t,n){var r=this;t=t||function(u){PVe(r,u)};function i(l){r.updateStatusBar("upload-image",l),setTimeout(function(){r.updateStatusBar("upload-image",r.options.imageTexts.sbInit)},1e4),n&&typeof n=="function"&&n(l),r.options.errorCallback(l)}function a(l){var u=r.options.imageTexts.sizeUnits.split(",");return l.replace("#image_name#",e.name).replace("#image_size#",gB(e.size,u)).replace("#image_max_size#",gB(r.options.imageMaxSize,u))}if(e.size>this.options.imageMaxSize){i(a(this.options.errorMessages.fileTooLarge));return}var o=new FormData;o.append("image",e),r.options.imageCSRFToken&&!r.options.imageCSRFHeader&&o.append(r.options.imageCSRFName,r.options.imageCSRFToken);var s=new XMLHttpRequest;s.upload.onprogress=function(l){if(l.lengthComputable){var u=""+Math.round(l.loaded*100/l.total);r.updateStatusBar("upload-image",r.options.imageTexts.sbProgress.replace("#file_name#",e.name).replace("#progress#",u))}},s.open("POST",this.options.imageUploadEndpoint),r.options.imageCSRFToken&&r.options.imageCSRFHeader&&s.setRequestHeader(r.options.imageCSRFName,r.options.imageCSRFToken),s.onload=function(){try{var l=JSON.parse(this.responseText)}catch{console.error("EasyMDE: The server did not return a valid json."),i(a(r.options.errorMessages.importError));return}this.status===200&&l&&!l.error&&l.data&&l.data.filePath?t((r.options.imagePathAbsolute?"":window.location.origin+"/")+l.data.filePath):l.error&&l.error in r.options.errorMessages?i(a(r.options.errorMessages[l.error])):l.error?i(a(l.error)):(console.error("EasyMDE: Received an unexpected response after uploading the image."+this.status+" ("+this.statusText+")"),i(a(r.options.errorMessages.importError)))},s.onerror=function(l){console.error("EasyMDE: An unexpected error occurred when trying to upload the image."+l.target.status+" ("+l.target.statusText+")"),i(r.options.errorMessages.importError)},s.send(o)};ar.prototype.uploadImageUsingCustomFunction=function(e,t){var n=this;function r(o){PVe(n,o)}function i(o){var s=a(o);n.updateStatusBar("upload-image",s),setTimeout(function(){n.updateStatusBar("upload-image",n.options.imageTexts.sbInit)},1e4),n.options.errorCallback(s)}function a(o){var s=n.options.imageTexts.sizeUnits.split(",");return o.replace("#image_name#",t.name).replace("#image_size#",gB(t.size,s)).replace("#image_max_size#",gB(n.options.imageMaxSize,s))}e.apply(this,[t,r,i])};ar.prototype.setPreviewMaxHeight=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling,r=parseInt(window.getComputedStyle(t).paddingTop),i=parseInt(window.getComputedStyle(t).borderTopWidth),a=parseInt(this.options.maxHeight),o=a+r*2+i*2,s=o.toString()+"px";n.style.height=s};ar.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;if(!n||!n.classList.contains("editor-preview-side")){if(n=document.createElement("div"),n.className="editor-preview-side",this.options.previewClass)if(Array.isArray(this.options.previewClass))for(var r=0;r`simplemde-editor-${++Lqn}`,Pqn=({options:e,id:t,currentValueRef:n,textRef:r})=>{const[i,a]=C.useState(null),o=C.useCallback((u,c,f)=>{const d=e?.imageUploadFunction;d&&d(u,p=>{c(p)},f)},[e?.imageUploadFunction]),s=C.useRef(i);s.current=i,C.useEffect(()=>{let u;if(r){const c={element:r,initialValue:n.current},f=e?.imageUploadFunction?o:void 0;u=new Oqn(Object.assign({},c,e,{imageUploadFunction:f})),a(u)}return()=>{u?.toTextArea(),u?.cleanup()}},[r,n,t,o,e]);const l=C.useMemo(()=>i?.codemirror,[i?.codemirror]);return{editor:i,codemirror:l}},zVe=gr.forwardRef((e,t)=>{const{events:n,value:r,options:i,children:a,extraKeys:o,getLineAndCursor:s,getMdeInstance:l,getCodemirrorInstance:u,onChange:c,id:f,placeholder:d,textareaProps:h,...p}=e,g=C.useMemo(()=>f??Bqn(),[f]),b=C.useRef(null),m=C.useRef(!0),v=C.useRef(r);v.current=r;const[w,k]=C.useState(null),{editor:E,codemirror:S}=Pqn({options:i,id:g,currentValueRef:v,textRef:w});C.useEffect(()=>{m.current&&E?.value(r??""),m.current=!0},[E,r]);const T=C.useCallback((D,I)=>{E?.value()!==v.current&&(m.current=!1,c?.(E?.value()??"",I))},[E,c]);C.useEffect(()=>{i?.autofocus&&(S?.focus(),S?.setCursor(S?.lineCount(),0))},[S,i?.autofocus]);const L=C.useCallback(()=>{S&&s?.(S.getDoc().getCursor())},[S,s]);C.useEffect(()=>{L()},[L]),C.useEffect(()=>{E&&l?.(E)},[E,l]),C.useEffect(()=>{S&&u?.(S)},[S,u,l]),C.useEffect(()=>{o&&S&&S.setOption("extraKeys",Object.assign({},S.getOption("extraKeys"),o))},[S,o]),C.useEffect(()=>{var D;const I=(D=b.current)==null?void 0:D.getElementsByClassName("editor-toolbarNode")[0],B=S&&T;return B?(I?.addEventListener("click",B),()=>{I?.removeEventListener("click",B)}):()=>{}},[S,T]),C.useEffect(()=>(S?.on("change",T),S?.on("cursorActivity",L),()=>{S?.off("change",T),S?.off("cursorActivity",L)}),[S,L,T]);const M=C.useRef(n);return C.useEffect(()=>(n!==M.current&&M.current&&Object.entries(M.current).forEach(([I,B])=>{B&&S?.off(I,B)}),n&&Object.entries(n).forEach(([I,B])=>{B&&S?.on(I,B)}),M.current=n,()=>{n&&Object.entries(n).forEach(([I,B])=>{B&&S?.off(I,B)})}),[S,n]),gr.createElement("div",{id:`${g}-wrapper`,...p,ref:D=>{typeof t=="function"?t(D):t&&(t.current=D),b.current=D}},gr.createElement("textarea",{...h,id:g,placeholder:d,ref:k,style:{display:"none"}}))});zVe.displayName="SimpleMdeReact";var UVe=zVe;const Ske=["http","https","mailto","tel"];function Fqn(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! +`]},Tqn={link:"URL for the link:",image:"URL of the image:"},Dqn={locale:"en-US",format:{hour:"2-digit",minute:"2-digit"}},Iqn={bold:"**",code:"```",italic:"*"},Rqn={sbInit:"Attach files by drag and dropping or pasting from clipboard.",sbOnDragEnter:"Drop image to upload it.",sbOnDrop:"Uploading image #images_names#...",sbProgress:"Uploading #file_name#: #progress#%",sbOnUploaded:"Uploaded #image_name#",sizeUnits:" B, KB, MB"},Mqn={noFileGiven:"You must select a file.",typeNotAllowed:"This image type is not allowed.",fileTooLarge:`Image #image_name# is too big (#image_size#). +Maximum file size is #image_max_size#.`,importError:"Something went wrong when uploading the image #image_name#."};function ar(e){e=e||{},e.parent=this;var t=!0;if(e.autoDownloadFontAwesome===!1&&(t=!1),e.autoDownloadFontAwesome!==!0)for(var n=document.styleSheets,r=0;r-1&&(t=!1);if(t){var i=document.createElement("link");i.rel="stylesheet",i.href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css",document.getElementsByTagName("head")[0].appendChild(i)}if(e.element)this.element=e.element;else if(e.element===null){console.log("EasyMDE: Error. No element was found.");return}if(e.toolbar===void 0){e.toolbar=[];for(var a in l4)Object.prototype.hasOwnProperty.call(l4,a)&&(a.indexOf("separator-")!=-1&&e.toolbar.push("|"),(l4[a].default===!0||e.showIcons&&e.showIcons.constructor===Array&&e.showIcons.indexOf(a)!=-1)&&e.toolbar.push(a))}if(Object.prototype.hasOwnProperty.call(e,"previewClass")||(e.previewClass="editor-preview"),Object.prototype.hasOwnProperty.call(e,"status")||(e.status=["autosave","lines","words","cursor"],e.uploadImage&&e.status.unshift("upload-image")),e.previewRender||(e.previewRender=function(s){return this.parent.markdown(s)}),e.parsingConfig=X1({highlightFormatting:!0},e.parsingConfig||{}),e.insertTexts=X1({},Aqn,e.insertTexts||{}),e.promptTexts=X1({},Tqn,e.promptTexts||{}),e.blockStyles=X1({},Iqn,e.blockStyles||{}),e.autosave!=null&&(e.autosave.timeFormat=X1({},Dqn,e.autosave.timeFormat||{})),e.iconClassMap=X1({},wo,e.iconClassMap||{}),e.shortcuts=X1({},bqn,e.shortcuts||{}),e.maxHeight=e.maxHeight||void 0,e.direction=e.direction||"ltr",typeof e.maxHeight<"u"?e.minHeight=e.maxHeight:e.minHeight=e.minHeight||"300px",e.errorCallback=e.errorCallback||function(s){alert(s)},e.uploadImage=e.uploadImage||!1,e.imageMaxSize=e.imageMaxSize||2097152,e.imageAccept=e.imageAccept||"image/png, image/jpeg, image/gif, image/avif",e.imageTexts=X1({},Rqn,e.imageTexts||{}),e.errorMessages=X1({},Mqn,e.errorMessages||{}),e.imagePathAbsolute=e.imagePathAbsolute||!1,e.imageCSRFName=e.imageCSRFName||"csrfmiddlewaretoken",e.imageCSRFHeader=e.imageCSRFHeader||!1,e.autosave!=null&&e.autosave.unique_id!=null&&e.autosave.unique_id!=""&&(e.autosave.uniqueId=e.autosave.unique_id),e.overlayMode&&e.overlayMode.combine===void 0&&(e.overlayMode.combine=!0),this.options=e,this.render(),e.initialValue&&(!this.options.autosave||this.options.autosave.foundSavedValue!==!0)&&this.value(e.initialValue),e.uploadImage){var o=this;this.codemirror.on("dragenter",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragend",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragleave",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbInit),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("dragover",function(s,l){o.updateStatusBar("upload-image",o.options.imageTexts.sbOnDragEnter),l.stopPropagation(),l.preventDefault()}),this.codemirror.on("drop",function(s,l){l.stopPropagation(),l.preventDefault(),e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,l.dataTransfer.files):o.uploadImages(l.dataTransfer.files)}),this.codemirror.on("paste",function(s,l){e.imageUploadFunction?o.uploadImagesUsingCustomFunction(e.imageUploadFunction,l.clipboardData.files):o.uploadImages(l.clipboardData.files)})}}ar.prototype.uploadImages=function(e,t,n){if(e.length!==0){for(var r=[],i=0;i=2){var w=v[1];if(t.imagesPreviewHandler){var k=t.imagesPreviewHandler(v[1]);typeof k=="string"&&(w=k)}if(window.EMDEimagesCache[w])h(m,window.EMDEimagesCache[w]);else{var E=document.createElement("img");E.onload=function(){window.EMDEimagesCache[w]={naturalWidth:E.naturalWidth,naturalHeight:E.naturalHeight,url:w},h(m,window.EMDEimagesCache[w])},E.src=w}}}})}this.codemirror.on("update",function(){p()}),this.gui.sideBySide=this.createSideBySide(),this._rendered=this.element,(t.autofocus===!0||e.autofocus)&&this.codemirror.focus();var g=this.codemirror;setTimeout(function(){g.refresh()}.bind(g),0)};ar.prototype.cleanup=function(){document.removeEventListener("keydown",this.documentOnKeyDown)};function $Ve(){if(typeof localStorage=="object")try{localStorage.setItem("smde_localStorage",1),localStorage.removeItem("smde_localStorage")}catch{return!1}else return!1;return!0}ar.prototype.autosave=function(){if($Ve()){var e=this;if(this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to use the autosave feature");return}this.options.autosave.binded!==!0&&(e.element.form!=null&&e.element.form!=null&&e.element.form.addEventListener("submit",function(){clearTimeout(e.autosaveTimeoutId),e.autosaveTimeoutId=void 0,localStorage.removeItem("smde_"+e.options.autosave.uniqueId)}),this.options.autosave.binded=!0),this.options.autosave.loaded!==!0&&(typeof localStorage.getItem("smde_"+this.options.autosave.uniqueId)=="string"&&localStorage.getItem("smde_"+this.options.autosave.uniqueId)!=""&&(this.codemirror.setValue(localStorage.getItem("smde_"+this.options.autosave.uniqueId)),this.options.autosave.foundSavedValue=!0),this.options.autosave.loaded=!0);var t=e.value();t!==""?localStorage.setItem("smde_"+this.options.autosave.uniqueId,t):localStorage.removeItem("smde_"+this.options.autosave.uniqueId);var n=document.getElementById("autosaved");if(n!=null&&n!=null&&n!=""){var r=new Date,i=new Intl.DateTimeFormat([this.options.autosave.timeFormat.locale,"en-US"],this.options.autosave.timeFormat.format).format(r),a=this.options.autosave.text==null?"Autosaved: ":this.options.autosave.text;n.innerHTML=a+i}}else console.log("EasyMDE: localStorage not available, cannot autosave")};ar.prototype.clearAutosavedValue=function(){if($Ve()){if(this.options.autosave==null||this.options.autosave.uniqueId==null||this.options.autosave.uniqueId==""){console.log("EasyMDE: You must set a uniqueId to clear the autosave value");return}localStorage.removeItem("smde_"+this.options.autosave.uniqueId)}else console.log("EasyMDE: localStorage not available, cannot autosave")};ar.prototype.openBrowseFileWindow=function(e,t){var n=this,r=this.gui.toolbar.getElementsByClassName("imageInput")[0];r.click();function i(a){n.options.imageUploadFunction?n.uploadImagesUsingCustomFunction(n.options.imageUploadFunction,a.target.files):n.uploadImages(a.target.files,e,t),r.removeEventListener("change",i)}r.addEventListener("change",i)};ar.prototype.uploadImage=function(e,t,n){var r=this;t=t||function(u){PVe(r,u)};function i(l){r.updateStatusBar("upload-image",l),setTimeout(function(){r.updateStatusBar("upload-image",r.options.imageTexts.sbInit)},1e4),n&&typeof n=="function"&&n(l),r.options.errorCallback(l)}function a(l){var u=r.options.imageTexts.sizeUnits.split(",");return l.replace("#image_name#",e.name).replace("#image_size#",gB(e.size,u)).replace("#image_max_size#",gB(r.options.imageMaxSize,u))}if(e.size>this.options.imageMaxSize){i(a(this.options.errorMessages.fileTooLarge));return}var o=new FormData;o.append("image",e),r.options.imageCSRFToken&&!r.options.imageCSRFHeader&&o.append(r.options.imageCSRFName,r.options.imageCSRFToken);var s=new XMLHttpRequest;s.upload.onprogress=function(l){if(l.lengthComputable){var u=""+Math.round(l.loaded*100/l.total);r.updateStatusBar("upload-image",r.options.imageTexts.sbProgress.replace("#file_name#",e.name).replace("#progress#",u))}},s.open("POST",this.options.imageUploadEndpoint),r.options.imageCSRFToken&&r.options.imageCSRFHeader&&s.setRequestHeader(r.options.imageCSRFName,r.options.imageCSRFToken),s.onload=function(){try{var l=JSON.parse(this.responseText)}catch{console.error("EasyMDE: The server did not return a valid json."),i(a(r.options.errorMessages.importError));return}this.status===200&&l&&!l.error&&l.data&&l.data.filePath?t((r.options.imagePathAbsolute?"":window.location.origin+"/")+l.data.filePath):l.error&&l.error in r.options.errorMessages?i(a(r.options.errorMessages[l.error])):l.error?i(a(l.error)):(console.error("EasyMDE: Received an unexpected response after uploading the image."+this.status+" ("+this.statusText+")"),i(a(r.options.errorMessages.importError)))},s.onerror=function(l){console.error("EasyMDE: An unexpected error occurred when trying to upload the image."+l.target.status+" ("+l.target.statusText+")"),i(r.options.errorMessages.importError)},s.send(o)};ar.prototype.uploadImageUsingCustomFunction=function(e,t){var n=this;function r(o){PVe(n,o)}function i(o){var s=a(o);n.updateStatusBar("upload-image",s),setTimeout(function(){n.updateStatusBar("upload-image",n.options.imageTexts.sbInit)},1e4),n.options.errorCallback(s)}function a(o){var s=n.options.imageTexts.sizeUnits.split(",");return o.replace("#image_name#",t.name).replace("#image_size#",gB(t.size,s)).replace("#image_max_size#",gB(n.options.imageMaxSize,s))}e.apply(this,[t,r,i])};ar.prototype.setPreviewMaxHeight=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling,r=parseInt(window.getComputedStyle(t).paddingTop),i=parseInt(window.getComputedStyle(t).borderTopWidth),a=parseInt(this.options.maxHeight),o=a+r*2+i*2,s=o.toString()+"px";n.style.height=s};ar.prototype.createSideBySide=function(){var e=this.codemirror,t=e.getWrapperElement(),n=t.nextSibling;if(!n||!n.classList.contains("editor-preview-side")){if(n=document.createElement("div"),n.className="editor-preview-side",this.options.previewClass)if(Array.isArray(this.options.previewClass))for(var r=0;r`simplemde-editor-${++Bqn}`,Fqn=({options:e,id:t,currentValueRef:n,textRef:r})=>{const[i,a]=C.useState(null),o=C.useCallback((u,c,f)=>{const d=e?.imageUploadFunction;d&&d(u,p=>{c(p)},f)},[e?.imageUploadFunction]),s=C.useRef(i);s.current=i,C.useEffect(()=>{let u;if(r){const c={element:r,initialValue:n.current},f=e?.imageUploadFunction?o:void 0;u=new Lqn(Object.assign({},c,e,{imageUploadFunction:f})),a(u)}return()=>{u?.toTextArea(),u?.cleanup()}},[r,n,t,o,e]);const l=C.useMemo(()=>i?.codemirror,[i?.codemirror]);return{editor:i,codemirror:l}},zVe=gr.forwardRef((e,t)=>{const{events:n,value:r,options:i,children:a,extraKeys:o,getLineAndCursor:s,getMdeInstance:l,getCodemirrorInstance:u,onChange:c,id:f,placeholder:d,textareaProps:h,...p}=e,g=C.useMemo(()=>f??Pqn(),[f]),b=C.useRef(null),m=C.useRef(!0),v=C.useRef(r);v.current=r;const[w,k]=C.useState(null),{editor:E,codemirror:S}=Fqn({options:i,id:g,currentValueRef:v,textRef:w});C.useEffect(()=>{m.current&&E?.value(r??""),m.current=!0},[E,r]);const T=C.useCallback((D,I)=>{E?.value()!==v.current&&(m.current=!1,c?.(E?.value()??"",I))},[E,c]);C.useEffect(()=>{i?.autofocus&&(S?.focus(),S?.setCursor(S?.lineCount(),0))},[S,i?.autofocus]);const L=C.useCallback(()=>{S&&s?.(S.getDoc().getCursor())},[S,s]);C.useEffect(()=>{L()},[L]),C.useEffect(()=>{E&&l?.(E)},[E,l]),C.useEffect(()=>{S&&u?.(S)},[S,u,l]),C.useEffect(()=>{o&&S&&S.setOption("extraKeys",Object.assign({},S.getOption("extraKeys"),o))},[S,o]),C.useEffect(()=>{var D;const I=(D=b.current)==null?void 0:D.getElementsByClassName("editor-toolbarNode")[0],B=S&&T;return B?(I?.addEventListener("click",B),()=>{I?.removeEventListener("click",B)}):()=>{}},[S,T]),C.useEffect(()=>(S?.on("change",T),S?.on("cursorActivity",L),()=>{S?.off("change",T),S?.off("cursorActivity",L)}),[S,L,T]);const M=C.useRef(n);return C.useEffect(()=>(n!==M.current&&M.current&&Object.entries(M.current).forEach(([I,B])=>{B&&S?.off(I,B)}),n&&Object.entries(n).forEach(([I,B])=>{B&&S?.on(I,B)}),M.current=n,()=>{n&&Object.entries(n).forEach(([I,B])=>{B&&S?.off(I,B)})}),[S,n]),gr.createElement("div",{id:`${g}-wrapper`,...p,ref:D=>{typeof t=="function"?t(D):t&&(t.current=D),b.current=D}},gr.createElement("textarea",{...h,id:g,placeholder:d,ref:k,style:{display:"none"}}))});zVe.displayName="SimpleMdeReact";var UVe=zVe;const Ske=["http","https","mailto","tel"];function Nqn(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++ii||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT - */var Nqn=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const jVe=ls(Nqn);function zS(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ake(e.position):"start"in e||"end"in e?Ake(e):"line"in e||"column"in e?qoe(e):""}function qoe(e){return Tke(e&&e.line)+":"+Tke(e&&e.column)}function Ake(e){return qoe(e&&e.start)+"-"+qoe(e&&e.end)}function Tke(e){return e&&typeof e=="number"?e:1}class Oh extends Error{constructor(t,n,r){const i=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}n&&("type"in n||"position"in n?n.position&&(a=n.position):"start"in n||"end"in n?a=n:("line"in n||"column"in n)&&(a.start=n)),this.name=zS(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Oh.prototype.file="";Oh.prototype.name="";Oh.prototype.reason="";Oh.prototype.message="";Oh.prototype.stack="";Oh.prototype.fatal=null;Oh.prototype.column=null;Oh.prototype.line=null;Oh.prototype.source=null;Oh.prototype.ruleId=null;Oh.prototype.position=null;const yp={basename:$qn,dirname:zqn,extname:Uqn,join:jqn,sep:"/"};function $qn(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');P7(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function zqn(e){if(P7(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function Uqn(e){P7(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function jqn(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function qqn(e,t){let n="",r=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function P7(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Wqn={cwd:Gqn};function Gqn(){return"/"}function Woe(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Vqn(e){if(typeof e=="string")e=new URL(e);else if(!Woe(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Kqn(e)}function Kqn(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||fO.call(t,i)},Bke=function(t,n){Rke&&n.name==="__proto__"?Rke(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Pke=function(t,n){if(n==="__proto__")if(fO.call(t,n)){if(Mke)return Mke(t,n).value}else return;return t[n]},Xqn=function e(){var t,n,r,i,a,o,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(u){const c=u;if(s&&n)throw c;return i(c)}s||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}const Qqn=GVe().freeze(),WVe={}.hasOwnProperty;function GVe(){const e=Jqn(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=s,a.attachers=t,a.use=l,a.parse=u,a.stringify=c,a.run=f,a.runSync=d,a.process=h,a.processSync=p,a;function a(){const g=GVe();let b=-1;for(;++b{if(S||!T||!L)E(S);else{const M=a.stringify(T,L);M==null||(nWn(M)?L.value=M:L.result=M),E(S,L)}});function E(S,T){S||!T?w(S):v?v(T):b(null,T)}}}function p(g){let b;a.freeze(),hW("processSync",a.Parser),pW("processSync",a.Compiler);const m=U5(g);return a.process(m,v),$ke("processSync","process",b),m;function v(w){b=!0,Ike(w)}}}function Fke(e,t){return typeof e=="function"&&e.prototype&&(eWn(e.prototype)||t in e.prototype)}function eWn(e){let t;for(t in e)if(WVe.call(e,t))return!0;return!1}function hW(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function pW(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function gW(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Nke(e){if(!Goe(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $ke(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function U5(e){return tWn(e)?e:new HVe(e)}function tWn(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function nWn(e){return typeof e=="string"||jVe(e)}function VVe(e,t){const n=(t||{}).includeImageAlt;return KVe(e,typeof n=="boolean"?n:!0)}function KVe(e,t){return rWn(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&zke(e.children,t))||Array.isArray(e)&&zke(e,t)||""}function zke(e,t){const n=[];let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a0?(ld(e,e.length,0,t),e):t}const Uke={}.hasOwnProperty;function YVe(e){const t={};let n=-1;for(;++no))return;const T=t.events.length;let L=T,M,D;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(M){D=t.events[L][1].end;break}M=!0}for(m(r),S=T;Sw;){const E=n[k];t.containerState=E[1],E[0].exit.call(t,e)}n.length=w}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function hWn(e,t,n){return Wi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yB(e){if(e===null||Eo(e)||O4(e))return 1;if(oz(e))return 2}function sz(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);qke(f,-l),qke(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=nh(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=nh(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=nh(u,sz(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=nh(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=nh(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,ld(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?o(u):n(u)}function o(u){return u===null?l(u):Ur(u)?e.attempt(xWn,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||Ur(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function AWn(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Ur(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Wi(e,a,"linePrefix",4+1)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Ur(o)?i(o):n(o)}}const TWn={name:"codeText",tokenize:RWn,resolve:DWn,previous:IWn};function DWn(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function eKe(e,t,n,r,i,a,o,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return m===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(m),e.exit(a),d):m===null||m===41||vB(m)?n(m):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(m))}function d(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===62?(e.exit("chunkString"),e.exit(s),d(m)):m===null||m===60||Ur(m)?n(m):(e.consume(m),m===92?p:h)}function p(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function g(m){return m===40?++c>u?n(m):(e.consume(m),g):m===41?c--?(e.consume(m),g):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(m)):m===null||Eo(m)?c?n(m):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(m)):vB(m)?n(m):(e.consume(m),m===92?b:g)}function b(m){return m===40||m===41||m===92?(e.consume(m),g):g(m)}}function tKe(e,t,n,r,i,a){const o=this;let s=0,l;return u;function u(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),c}function c(h){return h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs||s>999?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):Ur(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||Ur(h)||s++>999?(e.exit("chunkString"),c(h)):(e.consume(h),l=l||!Ga(h),h===92?d:f)}function d(h){return h===91||h===92||h===93?(e.consume(h),s++,f):f(h)}}function nKe(e,t,n,r,i,a){let o;return s;function s(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,l}function l(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),u(d))}function u(d){return d===o?(e.exit(a),l(o)):d===null?n(d):Ur(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Wi(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||Ur(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function US(e,t){let n;return r;function r(i){return Ur(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ga(i)?Wi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function D0(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const NWn={name:"definition",tokenize:zWn},$Wn={tokenize:UWn,partial:!0};function zWn(e,t,n){const r=this;let i;return a;function a(l){return e.enter("definition"),tKe.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function o(l){return i=D0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),US(e,eKe(e,e.attempt($Wn,Wi(e,s,"whitespace"),Wi(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||Ur(l)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(l)):n(l)}}function UWn(e,t,n){return r;function r(o){return Eo(o)?US(e,i)(o):n(o)}function i(o){return o===34||o===39||o===40?nKe(e,Wi(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function a(o){return o===null||Ur(o)?t(o):n(o)}}const jWn={name:"hardBreakEscape",tokenize:HWn};function HWn(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return Ur(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):n(a)}}const qWn={name:"headingAtx",tokenize:GWn,resolve:WWn};function WWn(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ld(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function GWn(e,t,n){const r=this;let i=0;return a;function a(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&i++<6?(e.consume(c),o):c===null||Eo(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||Ur(c)?(e.exit("atxHeading"),t(c)):Ga(c)?Wi(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||Eo(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const VWn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vke=["pre","script","style","textarea"],KWn={name:"htmlFlow",tokenize:JWn,resolveTo:XWn,concrete:!0},YWn={tokenize:ZWn,partial:!0};function XWn(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function JWn(e,t,n){const r=this;let i,a,o,s,l;return u;function u(G){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(G),c}function c(G){return G===33?(e.consume(G),f):G===47?(e.consume(G),p):G===63?(e.consume(G),i=3,r.interrupt?t:q):kc(G)?(e.consume(G),o=String.fromCharCode(G),a=!0,g):n(G)}function f(G){return G===45?(e.consume(G),i=2,d):G===91?(e.consume(G),i=5,o="CDATA[",s=0,h):kc(G)?(e.consume(G),i=4,r.interrupt?t:q):n(G)}function d(G){return G===45?(e.consume(G),r.interrupt?t:q):n(G)}function h(G){return G===o.charCodeAt(s++)?(e.consume(G),s===o.length?r.interrupt?t:I:h):n(G)}function p(G){return kc(G)?(e.consume(G),o=String.fromCharCode(G),g):n(G)}function g(G){return G===null||G===47||G===62||Eo(G)?G!==47&&a&&Vke.includes(o.toLowerCase())?(i=1,r.interrupt?t(G):I(G)):VWn.includes(o.toLowerCase())?(i=6,G===47?(e.consume(G),b):r.interrupt?t(G):I(G)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(G):a?v(G):m(G)):G===45||Uu(G)?(e.consume(G),o+=String.fromCharCode(G),g):n(G)}function b(G){return G===62?(e.consume(G),r.interrupt?t:I):n(G)}function m(G){return Ga(G)?(e.consume(G),m):M(G)}function v(G){return G===47?(e.consume(G),M):G===58||G===95||kc(G)?(e.consume(G),w):Ga(G)?(e.consume(G),v):M(G)}function w(G){return G===45||G===46||G===58||G===95||Uu(G)?(e.consume(G),w):k(G)}function k(G){return G===61?(e.consume(G),E):Ga(G)?(e.consume(G),k):v(G)}function E(G){return G===null||G===60||G===61||G===62||G===96?n(G):G===34||G===39?(e.consume(G),l=G,S):Ga(G)?(e.consume(G),E):(l=null,T(G))}function S(G){return G===null||Ur(G)?n(G):G===l?(e.consume(G),L):(e.consume(G),S)}function T(G){return G===null||G===34||G===39||G===60||G===61||G===62||G===96||Eo(G)?k(G):(e.consume(G),T)}function L(G){return G===47||G===62||Ga(G)?v(G):n(G)}function M(G){return G===62?(e.consume(G),D):n(G)}function D(G){return Ga(G)?(e.consume(G),D):G===null||Ur(G)?I(G):n(G)}function I(G){return G===45&&i===2?(e.consume(G),R):G===60&&i===1?(e.consume(G),P):G===62&&i===4?(e.consume(G),V):G===63&&i===3?(e.consume(G),q):G===93&&i===5?(e.consume(G),F):Ur(G)&&(i===6||i===7)?e.check(YWn,V,B)(G):G===null||Ur(G)?B(G):(e.consume(G),I)}function B(G){return e.exit("htmlFlowData"),N(G)}function N(G){return G===null?X(G):Ur(G)?e.attempt({tokenize:O,partial:!0},N,X)(G):(e.enter("htmlFlowData"),I(G))}function O(G,J,te){return re;function re(ae){return G.enter("lineEnding"),G.consume(ae),G.exit("lineEnding"),Q}function Q(ae){return r.parser.lazy[r.now().line]?te(ae):J(ae)}}function R(G){return G===45?(e.consume(G),q):I(G)}function P(G){return G===47?(e.consume(G),o="",H):I(G)}function H(G){return G===62&&Vke.includes(o.toLowerCase())?(e.consume(G),V):kc(G)&&o.length<8?(e.consume(G),o+=String.fromCharCode(G),H):I(G)}function F(G){return G===93?(e.consume(G),q):I(G)}function q(G){return G===62?(e.consume(G),V):G===45&&i===2?(e.consume(G),q):I(G)}function V(G){return G===null||Ur(G)?(e.exit("htmlFlowData"),X(G)):(e.consume(G),V)}function X(G){return e.exit("htmlFlow"),t(G)}}function ZWn(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(F7,t,n)}}const QWn={name:"htmlText",tokenize:eGn};function eGn(e,t,n){const r=this;let i,a,o,s;return l;function l(X){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(X),u}function u(X){return X===33?(e.consume(X),c):X===47?(e.consume(X),T):X===63?(e.consume(X),E):kc(X)?(e.consume(X),D):n(X)}function c(X){return X===45?(e.consume(X),f):X===91?(e.consume(X),a="CDATA[",o=0,b):kc(X)?(e.consume(X),k):n(X)}function f(X){return X===45?(e.consume(X),d):n(X)}function d(X){return X===null||X===62?n(X):X===45?(e.consume(X),h):p(X)}function h(X){return X===null||X===62?n(X):p(X)}function p(X){return X===null?n(X):X===45?(e.consume(X),g):Ur(X)?(s=p,F(X)):(e.consume(X),p)}function g(X){return X===45?(e.consume(X),V):p(X)}function b(X){return X===a.charCodeAt(o++)?(e.consume(X),o===a.length?m:b):n(X)}function m(X){return X===null?n(X):X===93?(e.consume(X),v):Ur(X)?(s=m,F(X)):(e.consume(X),m)}function v(X){return X===93?(e.consume(X),w):m(X)}function w(X){return X===62?V(X):X===93?(e.consume(X),w):m(X)}function k(X){return X===null||X===62?V(X):Ur(X)?(s=k,F(X)):(e.consume(X),k)}function E(X){return X===null?n(X):X===63?(e.consume(X),S):Ur(X)?(s=E,F(X)):(e.consume(X),E)}function S(X){return X===62?V(X):E(X)}function T(X){return kc(X)?(e.consume(X),L):n(X)}function L(X){return X===45||Uu(X)?(e.consume(X),L):M(X)}function M(X){return Ur(X)?(s=M,F(X)):Ga(X)?(e.consume(X),M):V(X)}function D(X){return X===45||Uu(X)?(e.consume(X),D):X===47||X===62||Eo(X)?I(X):n(X)}function I(X){return X===47?(e.consume(X),V):X===58||X===95||kc(X)?(e.consume(X),B):Ur(X)?(s=I,F(X)):Ga(X)?(e.consume(X),I):V(X)}function B(X){return X===45||X===46||X===58||X===95||Uu(X)?(e.consume(X),B):N(X)}function N(X){return X===61?(e.consume(X),O):Ur(X)?(s=N,F(X)):Ga(X)?(e.consume(X),N):I(X)}function O(X){return X===null||X===60||X===61||X===62||X===96?n(X):X===34||X===39?(e.consume(X),i=X,R):Ur(X)?(s=O,F(X)):Ga(X)?(e.consume(X),O):(e.consume(X),i=void 0,H)}function R(X){return X===i?(e.consume(X),P):X===null?n(X):Ur(X)?(s=R,F(X)):(e.consume(X),R)}function P(X){return X===62||X===47||Eo(X)?I(X):n(X)}function H(X){return X===null||X===34||X===39||X===60||X===61||X===96?n(X):X===62||Eo(X)?I(X):(e.consume(X),H)}function F(X){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(X),e.exit("lineEnding"),Wi(e,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function q(X){return e.enter("htmlTextData"),s(X)}function V(X){return X===62?(e.consume(X),e.exit("htmlTextData"),e.exit("htmlText"),t):n(X)}}const t0e={name:"labelEnd",tokenize:oGn,resolveTo:aGn,resolveAll:iGn},tGn={tokenize:sGn},nGn={tokenize:lGn},rGn={tokenize:uGn};function iGn(e){let t=-1,n;for(;++t-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[i].slice(0,a))),o}function OGn(e,t){let n=-1;const r=[];let i;for(;++ne.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function Uqn(e){if(P7(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function jqn(e){P7(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Hqn(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Wqn(e,t){let n="",r=0,i=-1,a=0,o=-1,s,l;for(;++o<=e.length;){if(o2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function P7(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Gqn={cwd:Vqn};function Vqn(){return"/"}function Woe(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Kqn(e){if(typeof e=="string")e=new URL(e);else if(!Woe(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Yqn(e)}function Yqn(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n"u"||fO.call(t,i)},Bke=function(t,n){Rke&&n.name==="__proto__"?Rke(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Pke=function(t,n){if(n==="__proto__")if(fO.call(t,n)){if(Mke)return Mke(t,n).value}else return;return t[n]},Jqn=function e(){var t,n,r,i,a,o,s=arguments[0],l=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});lo.length;let l;s&&o.push(i);try{l=e.apply(this,o)}catch(u){const c=u;if(s&&n)throw c;return i(c)}s||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(o,...s){n||(n=!0,t(o,...s))}function a(o){i(null,o)}}const eWn=GVe().freeze(),WVe={}.hasOwnProperty;function GVe(){const e=Zqn(),t=[];let n={},r,i=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=s,a.attachers=t,a.use=l,a.parse=u,a.stringify=c,a.run=f,a.runSync=d,a.process=h,a.processSync=p,a;function a(){const g=GVe();let b=-1;for(;++b{if(S||!T||!L)E(S);else{const M=a.stringify(T,L);M==null||(rWn(M)?L.value=M:L.result=M),E(S,L)}});function E(S,T){S||!T?w(S):v?v(T):b(null,T)}}}function p(g){let b;a.freeze(),hW("processSync",a.Parser),pW("processSync",a.Compiler);const m=U5(g);return a.process(m,v),$ke("processSync","process",b),m;function v(w){b=!0,Ike(w)}}}function Fke(e,t){return typeof e=="function"&&e.prototype&&(tWn(e.prototype)||t in e.prototype)}function tWn(e){let t;for(t in e)if(WVe.call(e,t))return!0;return!1}function hW(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function pW(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function gW(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Nke(e){if(!Goe(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $ke(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function U5(e){return nWn(e)?e:new HVe(e)}function nWn(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rWn(e){return typeof e=="string"||jVe(e)}function VVe(e,t){const n=(t||{}).includeImageAlt;return KVe(e,typeof n=="boolean"?n:!0)}function KVe(e,t){return iWn(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&zke(e.children,t))||Array.isArray(e)&&zke(e,t)||""}function zke(e,t){const n=[];let r=-1;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),[].splice.apply(e,o);else for(n&&[].splice.apply(e,[t,n]);a0?(ld(e,e.length,0,t),e):t}const Uke={}.hasOwnProperty;function YVe(e){const t={};let n=-1;for(;++no))return;const T=t.events.length;let L=T,M,D;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(M){D=t.events[L][1].end;break}M=!0}for(m(r),S=T;Sw;){const E=n[k];t.containerState=E[1],E[0].exit.call(t,e)}n.length=w}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function pWn(e,t,n){return Wi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yB(e){if(e===null||Eo(e)||O4(e))return 1;if(oz(e))return 2}function sz(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);qke(f,-l),qke(d,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=nh(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=nh(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=nh(u,sz(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=nh(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=nh(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,ld(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n=4?o(u):n(u)}function o(u){return u===null?l(u):Ur(u)?e.attempt(SWn,o,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||Ur(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function TWn(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Ur(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Wi(e,a,"linePrefix",4+1)(o)}function a(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Ur(o)?i(o):n(o)}}const DWn={name:"codeText",tokenize:MWn,resolve:IWn,previous:RWn};function IWn(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function eKe(e,t,n,r,i,a,o,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return m===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(m),e.exit(a),d):m===null||m===41||vB(m)?n(m):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),g(m))}function d(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===62?(e.exit("chunkString"),e.exit(s),d(m)):m===null||m===60||Ur(m)?n(m):(e.consume(m),m===92?p:h)}function p(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function g(m){return m===40?++c>u?n(m):(e.consume(m),g):m===41?c--?(e.consume(m),g):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(m)):m===null||Eo(m)?c?n(m):(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(m)):vB(m)?n(m):(e.consume(m),m===92?b:g)}function b(m){return m===40||m===41||m===92?(e.consume(m),g):g(m)}}function tKe(e,t,n,r,i,a){const o=this;let s=0,l;return u;function u(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),c}function c(h){return h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs||s>999?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):Ur(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||Ur(h)||s++>999?(e.exit("chunkString"),c(h)):(e.consume(h),l=l||!Ga(h),h===92?d:f)}function d(h){return h===91||h===92||h===93?(e.consume(h),s++,f):f(h)}}function nKe(e,t,n,r,i,a){let o;return s;function s(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,l}function l(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),u(d))}function u(d){return d===o?(e.exit(a),l(o)):d===null?n(d):Ur(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Wi(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===o||d===null||Ur(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?f:c)}function f(d){return d===o||d===92?(e.consume(d),c):c(d)}}function US(e,t){let n;return r;function r(i){return Ur(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ga(i)?Wi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function D0(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const $Wn={name:"definition",tokenize:UWn},zWn={tokenize:jWn,partial:!0};function UWn(e,t,n){const r=this;let i;return a;function a(l){return e.enter("definition"),tKe.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function o(l){return i=D0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),US(e,eKe(e,e.attempt(zWn,Wi(e,s,"whitespace"),Wi(e,s,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function s(l){return l===null||Ur(l)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),t(l)):n(l)}}function jWn(e,t,n){return r;function r(o){return Eo(o)?US(e,i)(o):n(o)}function i(o){return o===34||o===39||o===40?nKe(e,Wi(e,a,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):n(o)}function a(o){return o===null||Ur(o)?t(o):n(o)}}const HWn={name:"hardBreakEscape",tokenize:qWn};function qWn(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),i}function i(a){return Ur(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):n(a)}}const WWn={name:"headingAtx",tokenize:VWn,resolve:GWn};function GWn(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ld(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function VWn(e,t,n){const r=this;let i=0;return a;function a(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&i++<6?(e.consume(c),o):c===null||Eo(c)?(e.exit("atxHeadingSequence"),r.interrupt?t(c):s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||Ur(c)?(e.exit("atxHeading"),t(c)):Ga(c)?Wi(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||Eo(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const KWn=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vke=["pre","script","style","textarea"],YWn={name:"htmlFlow",tokenize:ZWn,resolveTo:JWn,concrete:!0},XWn={tokenize:QWn,partial:!0};function JWn(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ZWn(e,t,n){const r=this;let i,a,o,s,l;return u;function u(G){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(G),c}function c(G){return G===33?(e.consume(G),f):G===47?(e.consume(G),p):G===63?(e.consume(G),i=3,r.interrupt?t:q):kc(G)?(e.consume(G),o=String.fromCharCode(G),a=!0,g):n(G)}function f(G){return G===45?(e.consume(G),i=2,d):G===91?(e.consume(G),i=5,o="CDATA[",s=0,h):kc(G)?(e.consume(G),i=4,r.interrupt?t:q):n(G)}function d(G){return G===45?(e.consume(G),r.interrupt?t:q):n(G)}function h(G){return G===o.charCodeAt(s++)?(e.consume(G),s===o.length?r.interrupt?t:I:h):n(G)}function p(G){return kc(G)?(e.consume(G),o=String.fromCharCode(G),g):n(G)}function g(G){return G===null||G===47||G===62||Eo(G)?G!==47&&a&&Vke.includes(o.toLowerCase())?(i=1,r.interrupt?t(G):I(G)):KWn.includes(o.toLowerCase())?(i=6,G===47?(e.consume(G),b):r.interrupt?t(G):I(G)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(G):a?v(G):m(G)):G===45||Uu(G)?(e.consume(G),o+=String.fromCharCode(G),g):n(G)}function b(G){return G===62?(e.consume(G),r.interrupt?t:I):n(G)}function m(G){return Ga(G)?(e.consume(G),m):M(G)}function v(G){return G===47?(e.consume(G),M):G===58||G===95||kc(G)?(e.consume(G),w):Ga(G)?(e.consume(G),v):M(G)}function w(G){return G===45||G===46||G===58||G===95||Uu(G)?(e.consume(G),w):k(G)}function k(G){return G===61?(e.consume(G),E):Ga(G)?(e.consume(G),k):v(G)}function E(G){return G===null||G===60||G===61||G===62||G===96?n(G):G===34||G===39?(e.consume(G),l=G,S):Ga(G)?(e.consume(G),E):(l=null,T(G))}function S(G){return G===null||Ur(G)?n(G):G===l?(e.consume(G),L):(e.consume(G),S)}function T(G){return G===null||G===34||G===39||G===60||G===61||G===62||G===96||Eo(G)?k(G):(e.consume(G),T)}function L(G){return G===47||G===62||Ga(G)?v(G):n(G)}function M(G){return G===62?(e.consume(G),D):n(G)}function D(G){return Ga(G)?(e.consume(G),D):G===null||Ur(G)?I(G):n(G)}function I(G){return G===45&&i===2?(e.consume(G),R):G===60&&i===1?(e.consume(G),P):G===62&&i===4?(e.consume(G),V):G===63&&i===3?(e.consume(G),q):G===93&&i===5?(e.consume(G),F):Ur(G)&&(i===6||i===7)?e.check(XWn,V,B)(G):G===null||Ur(G)?B(G):(e.consume(G),I)}function B(G){return e.exit("htmlFlowData"),N(G)}function N(G){return G===null?X(G):Ur(G)?e.attempt({tokenize:O,partial:!0},N,X)(G):(e.enter("htmlFlowData"),I(G))}function O(G,J,te){return re;function re(ae){return G.enter("lineEnding"),G.consume(ae),G.exit("lineEnding"),Q}function Q(ae){return r.parser.lazy[r.now().line]?te(ae):J(ae)}}function R(G){return G===45?(e.consume(G),q):I(G)}function P(G){return G===47?(e.consume(G),o="",H):I(G)}function H(G){return G===62&&Vke.includes(o.toLowerCase())?(e.consume(G),V):kc(G)&&o.length<8?(e.consume(G),o+=String.fromCharCode(G),H):I(G)}function F(G){return G===93?(e.consume(G),q):I(G)}function q(G){return G===62?(e.consume(G),V):G===45&&i===2?(e.consume(G),q):I(G)}function V(G){return G===null||Ur(G)?(e.exit("htmlFlowData"),X(G)):(e.consume(G),V)}function X(G){return e.exit("htmlFlow"),t(G)}}function QWn(e,t,n){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(F7,t,n)}}const eGn={name:"htmlText",tokenize:tGn};function tGn(e,t,n){const r=this;let i,a,o,s;return l;function l(X){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(X),u}function u(X){return X===33?(e.consume(X),c):X===47?(e.consume(X),T):X===63?(e.consume(X),E):kc(X)?(e.consume(X),D):n(X)}function c(X){return X===45?(e.consume(X),f):X===91?(e.consume(X),a="CDATA[",o=0,b):kc(X)?(e.consume(X),k):n(X)}function f(X){return X===45?(e.consume(X),d):n(X)}function d(X){return X===null||X===62?n(X):X===45?(e.consume(X),h):p(X)}function h(X){return X===null||X===62?n(X):p(X)}function p(X){return X===null?n(X):X===45?(e.consume(X),g):Ur(X)?(s=p,F(X)):(e.consume(X),p)}function g(X){return X===45?(e.consume(X),V):p(X)}function b(X){return X===a.charCodeAt(o++)?(e.consume(X),o===a.length?m:b):n(X)}function m(X){return X===null?n(X):X===93?(e.consume(X),v):Ur(X)?(s=m,F(X)):(e.consume(X),m)}function v(X){return X===93?(e.consume(X),w):m(X)}function w(X){return X===62?V(X):X===93?(e.consume(X),w):m(X)}function k(X){return X===null||X===62?V(X):Ur(X)?(s=k,F(X)):(e.consume(X),k)}function E(X){return X===null?n(X):X===63?(e.consume(X),S):Ur(X)?(s=E,F(X)):(e.consume(X),E)}function S(X){return X===62?V(X):E(X)}function T(X){return kc(X)?(e.consume(X),L):n(X)}function L(X){return X===45||Uu(X)?(e.consume(X),L):M(X)}function M(X){return Ur(X)?(s=M,F(X)):Ga(X)?(e.consume(X),M):V(X)}function D(X){return X===45||Uu(X)?(e.consume(X),D):X===47||X===62||Eo(X)?I(X):n(X)}function I(X){return X===47?(e.consume(X),V):X===58||X===95||kc(X)?(e.consume(X),B):Ur(X)?(s=I,F(X)):Ga(X)?(e.consume(X),I):V(X)}function B(X){return X===45||X===46||X===58||X===95||Uu(X)?(e.consume(X),B):N(X)}function N(X){return X===61?(e.consume(X),O):Ur(X)?(s=N,F(X)):Ga(X)?(e.consume(X),N):I(X)}function O(X){return X===null||X===60||X===61||X===62||X===96?n(X):X===34||X===39?(e.consume(X),i=X,R):Ur(X)?(s=O,F(X)):Ga(X)?(e.consume(X),O):(e.consume(X),i=void 0,H)}function R(X){return X===i?(e.consume(X),P):X===null?n(X):Ur(X)?(s=R,F(X)):(e.consume(X),R)}function P(X){return X===62||X===47||Eo(X)?I(X):n(X)}function H(X){return X===null||X===34||X===39||X===60||X===61||X===96?n(X):X===62||Eo(X)?I(X):(e.consume(X),H)}function F(X){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(X),e.exit("lineEnding"),Wi(e,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function q(X){return e.enter("htmlTextData"),s(X)}function V(X){return X===62?(e.consume(X),e.exit("htmlTextData"),e.exit("htmlText"),t):n(X)}}const t0e={name:"labelEnd",tokenize:sGn,resolveTo:oGn,resolveAll:aGn},nGn={tokenize:lGn},rGn={tokenize:uGn},iGn={tokenize:cGn};function aGn(e){let t=-1,n;for(;++t-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[i].slice(0,a))),o}function LGn(e,t){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const VGn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function oKe(e){return e.replace(VGn,KGn)}function KGn(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return aKe(n.slice(a?2:1),a?16:10)}return e0e(n)||e}const sKe={}.hasOwnProperty,YGn=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),XGn(n)(GGn(qGn(n).document().write(WGn()(e,t,!0))))};function XGn(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s($e),autolinkProtocol:I,autolinkEmail:I,atxHeading:s(ge),blockQuote:s(ne),characterEscape:I,characterReference:I,codeFenced:s(ue),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(ue,l),codeText:s(Ae,l),codeTextData:I,data:I,codeFlowValue:I,definition:s(ce),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(be),hardBreakEscape:s(ve),hardBreakTrailing:s(ve),htmlFlow:s(ie,l),htmlFlowData:I,htmlText:s(ie,l),htmlTextData:I,image:s(he),label:l,link:s($e),listItem:s(Ie),listItemValue:p,listOrdered:s(De,h),listUnordered:s(De),paragraph:s(Be),reference:re,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(ge),strong:s(we),thematicBreak:s(Oe)},exit:{atxHeading:c(),atxHeadingSequence:T,autolink:c(),autolinkEmail:ee,autolinkProtocol:oe,blockQuote:c(),characterEscapeValue:B,characterReferenceMarkerHexadecimal:ae,characterReferenceMarkerNumeric:ae,characterReferenceValue:le,codeFenced:c(v),codeFencedFence:m,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:B,codeIndented:c(w),codeText:c(H),codeTextData:B,data:B,definition:c(),definitionDestinationString:S,definitionLabelString:k,definitionTitleString:E,emphasis:c(),hardBreakEscape:c(O),hardBreakTrailing:c(O),htmlFlow:c(R),htmlFlowData:B,htmlText:c(P),htmlTextData:B,image:c(q),label:X,labelText:V,lineEnding:N,link:c(F),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Q,resourceDestinationString:G,resourceTitleString:J,resource:te,setextHeading:c(D),setextHeadingLineSequence:M,setextHeadingText:L,strong:c(),thematicBreak:c()}};lKe(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Re){let ye={type:"root",children:[]};const fe={stack:[ye],tokenStack:[],config:t,enter:u,exit:f,buffer:l,resume:d,setData:a,getData:o},de=[];let xe=-1;for(;++xe0){const Ye=fe.tokenStack[fe.tokenStack.length-1];(Ye[1]||Xke).call(fe,void 0,Ye[0])}for(ye.position={start:Zm(Re.length>0?Re[0][1].start:{line:1,column:1,offset:0}),end:Zm(Re.length>0?Re[Re.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe{const r=this.data("settings");return YGn(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function QGn(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function eVn(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` -`}]}function tVn(e,t){const n=t.value?t.value+` -`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let a={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function nVn(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rVn(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function uE(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function uKe(e,t){const n=String(t.identifier).toUpperCase(),r=uE(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const o=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function iVn(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},uKe(e,{type:"footnoteReference",identifier:i,position:t.position})}function aVn(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oVn(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function cKe(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function sVn(e,t){const n=e.definition(t.identifier);if(!n)return cKe(e,t);const r={src:uE(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function lVn(e,t){const n={src:uE(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function uVn(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function cVn(e,t){const n=e.definition(t.identifier);if(!n)return cKe(e,t);const r={href:uE(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function fVn(e,t){const n={href:uE(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function dVn(e,t,n){const r=e.all(t),i=n?hVn(n):fKe(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const KGn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function oKe(e){return e.replace(KGn,YGn)}function YGn(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return aKe(n.slice(a?2:1),a?16:10)}return e0e(n)||e}const sKe={}.hasOwnProperty,XGn=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),JGn(n)(VGn(WGn(n).document().write(GGn()(e,t,!0))))};function JGn(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s($e),autolinkProtocol:I,autolinkEmail:I,atxHeading:s(ge),blockQuote:s(ne),characterEscape:I,characterReference:I,codeFenced:s(ue),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(ue,l),codeText:s(Ae,l),codeTextData:I,data:I,codeFlowValue:I,definition:s(ce),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(be),hardBreakEscape:s(ve),hardBreakTrailing:s(ve),htmlFlow:s(ie,l),htmlFlowData:I,htmlText:s(ie,l),htmlTextData:I,image:s(he),label:l,link:s($e),listItem:s(Ie),listItemValue:p,listOrdered:s(De,h),listUnordered:s(De),paragraph:s(Be),reference:re,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(ge),strong:s(we),thematicBreak:s(Oe)},exit:{atxHeading:c(),atxHeadingSequence:T,autolink:c(),autolinkEmail:ee,autolinkProtocol:oe,blockQuote:c(),characterEscapeValue:B,characterReferenceMarkerHexadecimal:ae,characterReferenceMarkerNumeric:ae,characterReferenceValue:le,codeFenced:c(v),codeFencedFence:m,codeFencedFenceInfo:g,codeFencedFenceMeta:b,codeFlowValue:B,codeIndented:c(w),codeText:c(H),codeTextData:B,data:B,definition:c(),definitionDestinationString:S,definitionLabelString:k,definitionTitleString:E,emphasis:c(),hardBreakEscape:c(O),hardBreakTrailing:c(O),htmlFlow:c(R),htmlFlowData:B,htmlText:c(P),htmlTextData:B,image:c(q),label:X,labelText:V,lineEnding:N,link:c(F),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Q,resourceDestinationString:G,resourceTitleString:J,resource:te,setextHeading:c(D),setextHeadingLineSequence:M,setextHeadingText:L,strong:c(),thematicBreak:c()}};lKe(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Re){let ye={type:"root",children:[]};const fe={stack:[ye],tokenStack:[],config:t,enter:u,exit:f,buffer:l,resume:d,setData:a,getData:o},de=[];let xe=-1;for(;++xe0){const Ye=fe.tokenStack[fe.tokenStack.length-1];(Ye[1]||Xke).call(fe,void 0,Ye[0])}for(ye.position={start:Zm(Re.length>0?Re[0][1].start:{line:1,column:1,offset:0}),end:Zm(Re.length>0?Re[Re.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe{const r=this.data("settings");return XGn(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function eVn(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function tVn(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` +`}]}function nVn(e,t){const n=t.value?t.value+` +`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let a={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function rVn(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function iVn(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function uE(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const s=e.charCodeAt(n+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function uKe(e,t){const n=String(t.identifier).toUpperCase(),r=uE(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const o=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function aVn(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},uKe(e,{type:"footnoteReference",identifier:i,position:t.position})}function oVn(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function sVn(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function cKe(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function lVn(e,t){const n=e.definition(t.identifier);if(!n)return cKe(e,t);const r={src:uE(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function uVn(e,t){const n={src:uE(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function cVn(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function fVn(e,t){const n=e.definition(t.identifier);if(!n)return cKe(e,t);const r={href:uE(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function dVn(e,t){const n={href:uE(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function hVn(e,t,n){const r=e.all(t),i=n?pVn(n):fKe(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s1}function pVn(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function bVn(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=n0e(t.children[1]),l=r0e(t.children[t.children.length-1]);s.line&&l.line&&(o.position={start:s,end:l}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function wVn(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let l=-1;const u=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Qke(t.slice(i),i>0,!1)),a.join("")}function Qke(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Jke||a===Zke;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Jke||a===Zke;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function CVn(e,t){const n={type:"text",value:_Vn(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function EVn(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const xVn={blockquote:QGn,break:eVn,code:tVn,delete:nVn,emphasis:rVn,footnoteReference:uKe,footnote:iVn,heading:aVn,html:oVn,imageReference:sVn,image:lVn,inlineCode:uVn,linkReference:cVn,link:fVn,listItem:dVn,list:pVn,paragraph:gVn,root:mVn,strong:vVn,table:bVn,tableCell:kVn,tableRow:wVn,text:CVn,thematicBreak:EVn,toml:_I,yaml:_I,definition:_I,footnoteDefinition:_I};function _I(){return null}const N7=function(e){if(e==null)return DVn;if(typeof e=="string")return TVn(e);if(typeof e=="object")return Array.isArray(e)?SVn(e):AVn(e);if(typeof e=="function")return lz(e);throw new Error("Expected function, string, or object as test")};function SVn(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],h,p,g;if((!t||i(s,l,u[u.length-1]||null))&&(d=MVn(n(s,u)),d[0]===e6e))return d;if(s.children&&d[0]!==RVn)for(p=(r?s.children.length:-1)+a,g=u.concat(s);p>-1&&p{const i=n6e(r.identifier);i&&!t6e.call(t,i)&&(t[i]=r)}),n;function n(r){const i=n6e(r);return i&&t6e.call(t,i)?t[i]:null}}function n6e(e){return String(e||"").toUpperCase()}const bB={}.hasOwnProperty;function BVn(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers={...xVn,...n.handlers},o.definition=LVn(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.patch=PVn,o.applyData=FVn,o.one=s,o.all=l,o.wrap=$Vn,o.augment=a,$7(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();bB.call(i,c)||(i[c]=u)}),o;function a(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};OVn(f)||(c.position={start:n0e(f),end:r0e(f)})}return c}function o(u,c,f,d){return Array.isArray(f)&&(d=f,f={}),a(u,{type:"element",tagName:c,properties:f||{},children:d||[]})}function s(u,c){return pKe(o,u,c)}function l(u){return i0e(o,u)}}function PVn(e,t){e.position&&(t.position=yVn(e))}function FVn(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function pKe(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return bB.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:i0e(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):NVn(e,t)}function i0e(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i1}function gVn(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i-1?r.offset:null}}}function wVn(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=n0e(t.children[1]),l=r0e(t.children[t.children.length-1]);s.line&&l.line&&(o.position={start:s,end:l}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function kVn(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,s=o?o.length:t.children.length;let l=-1;const u=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(Qke(t.slice(i),i>0,!1)),a.join("")}function Qke(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===Jke||a===Zke;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===Jke||a===Zke;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function EVn(e,t){const n={type:"text",value:CVn(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function xVn(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const SVn={blockquote:eVn,break:tVn,code:nVn,delete:rVn,emphasis:iVn,footnoteReference:uKe,footnote:aVn,heading:oVn,html:sVn,imageReference:lVn,image:uVn,inlineCode:cVn,linkReference:fVn,link:dVn,listItem:hVn,list:gVn,paragraph:mVn,root:vVn,strong:yVn,table:wVn,tableCell:_Vn,tableRow:kVn,text:EVn,thematicBreak:xVn,toml:_I,yaml:_I,definition:_I,footnoteDefinition:_I};function _I(){return null}const N7=function(e){if(e==null)return IVn;if(typeof e=="string")return DVn(e);if(typeof e=="object")return Array.isArray(e)?AVn(e):TVn(e);if(typeof e=="function")return lz(e);throw new Error("Expected function, string, or object as test")};function AVn(e){const t=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],h,p,g;if((!t||i(s,l,u[u.length-1]||null))&&(d=OVn(n(s,u)),d[0]===e6e))return d;if(s.children&&d[0]!==MVn)for(p=(r?s.children.length:-1)+a,g=u.concat(s);p>-1&&p{const i=n6e(r.identifier);i&&!t6e.call(t,i)&&(t[i]=r)}),n;function n(r){const i=n6e(r);return i&&t6e.call(t,i)?t[i]:null}}function n6e(e){return String(e||"").toUpperCase()}const bB={}.hasOwnProperty;function PVn(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,o.footnoteLabel=n.footnoteLabel||"Footnotes",o.footnoteLabelTagName=n.footnoteLabelTagName||"h2",o.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=n.footnoteBackLabel||"Back to content",o.unknownHandler=n.unknownHandler,o.passThrough=n.passThrough,o.handlers={...SVn,...n.handlers},o.definition=BVn(e),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.patch=FVn,o.applyData=NVn,o.one=s,o.all=l,o.wrap=zVn,o.augment=a,$7(e,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();bB.call(i,c)||(i[c]=u)}),o;function a(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};LVn(f)||(c.position={start:n0e(f),end:r0e(f)})}return c}function o(u,c,f,d){return Array.isArray(f)&&(d=f,f={}),a(u,{type:"element",tagName:c,properties:f||{},children:d||[]})}function s(u,c){return pKe(o,u,c)}function l(u){return i0e(o,u)}}function FVn(e,t){e.position&&(t.position=bVn(e))}function NVn(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function pKe(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return bB.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:i0e(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):$Vn(e,t)}function i0e(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function zVn(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` +`}),n}function UVn(e){const t=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(i,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` -`}]}}function gKe(e,t){const n=BVn(e,t),r=n.one(e,null),i=zVn(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const UVn=function(e,t){return e&&"run"in e?HVn(e,t):qVn(e||t)},jVn=UVn;function HVn(e,t){return(n,r,i)=>{e.run(gKe(n,t),r,a=>{i(a)})}}function qVn(e){return t=>gKe(t,e)}let z7=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};z7.prototype.property={};z7.prototype.normal={};z7.prototype.space=null;function mKe(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&YVn.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(i6e,ZVn);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!i6e.test(a)){let o=a.replace(XVn,JVn);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=a0e}return new i(r,t)}function JVn(e){return"-"+e.toLowerCase()}function ZVn(e){return e.charAt(1).toUpperCase()}const a6e={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},xKe=mKe([bKe,yKe,_Ke,CKe,VVn],"html"),SKe=mKe([bKe,yKe,_Ke,CKe,KVn],"svg");function QVn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{$7(t,"element",(n,r,i)=>{const a=i;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}function eKn(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function o6e(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function tKn(e){return e.join(" ").trim()}function s6e(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function nKn(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var o0e={exports:{}},l6e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,rKn=/\n/g,iKn=/^\s*/,aKn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,oKn=/^:\s*/,sKn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,lKn=/^[;\s]*/,uKn=/^\s+|\s+$/g,cKn=` -`,u6e="/",c6e="*",Nb="",fKn="comment",dKn="declaration",hKn=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(p){var g=p.match(rKn);g&&(n+=g.length);var b=p.lastIndexOf(cKn);r=~b?p.length-b:r+p.length}function a(){var p={line:n,column:r};return function(g){return g.position=new o(p),u(),g}}function o(p){this.start=p,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(p){var g=new Error(t.source+":"+n+":"+r+": "+p);if(g.reason=p,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(p){var g=p.exec(e);if(g){var b=g[0];return i(b),e=e.slice(b.length),g}}function u(){l(iKn)}function c(p){var g;for(p=p||[];g=f();)g!==!1&&p.push(g);return p}function f(){var p=a();if(!(u6e!=e.charAt(0)||c6e!=e.charAt(1))){for(var g=2;Nb!=e.charAt(g)&&(c6e!=e.charAt(g)||u6e!=e.charAt(g+1));)++g;if(g+=2,Nb===e.charAt(g-1))return s("End of comment missing");var b=e.slice(2,g-2);return r+=2,i(b),e=e.slice(g),r+=2,p({type:fKn,comment:b})}}function d(){var p=a(),g=l(aKn);if(g){if(f(),!l(oKn))return s("property missing ':'");var b=l(sKn),m=p({type:dKn,property:f6e(g[0].replace(l6e,Nb)),value:b?f6e(b[0].replace(l6e,Nb)):Nb});return l(lKn),m}}function h(){var p=[];c(p);for(var g;g=d();)g!==!1&&(p.push(g),c(p));return p}return u(),h()};function f6e(e){return e?e.replace(uKn,Nb):Nb}var pKn=hKn;function AKe(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=pKn(e),a=typeof t=="function",o,s,l=0,u=i.length;l0?gr.createElement(h,l,f):gr.createElement(h,l)}function bKn(e){let t=-1;for(;++t for more info)`),delete CI[a]}const t=Qqn().use(ZGn).use(e.remarkPlugins||[]).use(jVn,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(QVn,e),n=new HVe;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=gr.createElement(gr.Fragment,{},TKe({options:e,schema:xKe,listDepth:0},r));return e.className&&(i=gr.createElement("div",{className:e.className},i)),i}DKe.propTypes={children:bi.string,className:bi.string,allowElement:bi.func,allowedElements:bi.arrayOf(bi.string),disallowedElements:bi.arrayOf(bi.string),unwrapDisallowed:bi.bool,remarkPlugins:bi.arrayOf(bi.oneOfType([bi.object,bi.func,bi.arrayOf(bi.oneOfType([bi.bool,bi.string,bi.object,bi.func,bi.arrayOf(bi.any)]))])),rehypePlugins:bi.arrayOf(bi.oneOfType([bi.object,bi.func,bi.arrayOf(bi.oneOfType([bi.bool,bi.string,bi.object,bi.func,bi.arrayOf(bi.any)]))])),sourcePos:bi.bool,rawSourcePos:bi.bool,skipHtml:bi.bool,includeElementIndex:bi.bool,transformLinkUri:bi.oneOfType([bi.func,bi.bool]),linkTarget:bi.oneOfType([bi.func,bi.string]),transformImageUri:bi.func,components:bi.object};function xKn(e,t){if(e==null)return{};var n=Sn(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Joe(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var wW={};function MKn(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return wW[t]||(wW[t]=RKn(e)),wW[t]}function OKn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(a){return a!=="token"}),i=MKn(r);return i.reduce(function(a,o){return Zk(Zk({},a),n[o])},t)}function p6e(e){return e.join(" ")}function LKn(e,t){var n=0;return function(r){return n+=1,r.map(function(i,a){return IKe({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})})}}function IKe(e){var t=e.node,n=e.stylesheet,r=e.style,i=r===void 0?{}:r,a=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,c=t.value;if(l==="text")return c;if(u){var f=LKn(n,a),d;if(!a)d=Zk(Zk({},s),{},{className:p6e(s.className)});else{var h=Object.keys(n).reduce(function(m,v){return v.split(".").forEach(function(w){m.includes(w)||m.push(w)}),m},[]),p=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&p.concat(s.className.filter(function(m){return!h.includes(m)}));d=Zk(Zk({},s),{},{className:p6e(g)||void 0,style:OKn(s.className,Object.assign({},s.style,i),n)})}var b=f(t.children);return gr.createElement(u,Ne({key:o},d),b)}}const BKn=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var PKn=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function g6e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xp(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return hO({children:E,lineNumber:S,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:T,showLineNumbers:r,wrapLongLines:l})}function g(E,S){if(r&&S&&i){var T=MKe(s,S,o);E.unshift(RKe(S,T))}return E}function b(E,S){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||T.length>0?p(E,S,T):g(E,S)}for(var m=function(){var S=c[h],T=S.children[0].value,L=NKn(T);if(L){var M=T.split(` +`}]}}function gKe(e,t){const n=PVn(e,t),r=n.one(e,null),i=UVn(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const jVn=function(e,t){return e&&"run"in e?qVn(e,t):WVn(e||t)},HVn=jVn;function qVn(e,t){return(n,r,i)=>{e.run(gKe(n,t),r,a=>{i(a)})}}function WVn(e){return t=>gKe(t,e)}let z7=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};z7.prototype.property={};z7.prototype.normal={};z7.prototype.space=null;function mKe(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&XVn.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(i6e,QVn);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!i6e.test(a)){let o=a.replace(JVn,ZVn);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=a0e}return new i(r,t)}function ZVn(e){return"-"+e.toLowerCase()}function QVn(e){return e.charAt(1).toUpperCase()}const a6e={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},xKe=mKe([bKe,yKe,_Ke,CKe,KVn],"html"),SKe=mKe([bKe,yKe,_Ke,CKe,YVn],"svg");function eKn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{$7(t,"element",(n,r,i)=>{const a=i;let o;if(e.allowedElements?o=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(n.tagName)),!o&&e.allowElement&&typeof r=="number"&&(o=!e.allowElement(n,r,a)),o&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}function tKn(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function o6e(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function nKn(e){return e.join(" ").trim()}function s6e(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function rKn(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var o0e={exports:{}},l6e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,iKn=/\n/g,aKn=/^\s*/,oKn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,sKn=/^:\s*/,lKn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,uKn=/^[;\s]*/,cKn=/^\s+|\s+$/g,fKn=` +`,u6e="/",c6e="*",Nb="",dKn="comment",hKn="declaration",pKn=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(p){var g=p.match(iKn);g&&(n+=g.length);var b=p.lastIndexOf(fKn);r=~b?p.length-b:r+p.length}function a(){var p={line:n,column:r};return function(g){return g.position=new o(p),u(),g}}function o(p){this.start=p,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(p){var g=new Error(t.source+":"+n+":"+r+": "+p);if(g.reason=p,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(p){var g=p.exec(e);if(g){var b=g[0];return i(b),e=e.slice(b.length),g}}function u(){l(aKn)}function c(p){var g;for(p=p||[];g=f();)g!==!1&&p.push(g);return p}function f(){var p=a();if(!(u6e!=e.charAt(0)||c6e!=e.charAt(1))){for(var g=2;Nb!=e.charAt(g)&&(c6e!=e.charAt(g)||u6e!=e.charAt(g+1));)++g;if(g+=2,Nb===e.charAt(g-1))return s("End of comment missing");var b=e.slice(2,g-2);return r+=2,i(b),e=e.slice(g),r+=2,p({type:dKn,comment:b})}}function d(){var p=a(),g=l(oKn);if(g){if(f(),!l(sKn))return s("property missing ':'");var b=l(lKn),m=p({type:hKn,property:f6e(g[0].replace(l6e,Nb)),value:b?f6e(b[0].replace(l6e,Nb)):Nb});return l(uKn),m}}function h(){var p=[];c(p);for(var g;g=d();)g!==!1&&(p.push(g),c(p));return p}return u(),h()};function f6e(e){return e?e.replace(cKn,Nb):Nb}var gKn=pKn;function AKe(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=gKn(e),a=typeof t=="function",o,s,l=0,u=i.length;l0?gr.createElement(h,l,f):gr.createElement(h,l)}function wKn(e){let t=-1;for(;++t for more info)`),delete CI[a]}const t=eWn().use(QGn).use(e.remarkPlugins||[]).use(HVn,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(eKn,e),n=new HVe;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=gr.createElement(gr.Fragment,{},TKe({options:e,schema:xKe,listDepth:0},r));return e.className&&(i=gr.createElement("div",{className:e.className},i)),i}DKe.propTypes={children:bi.string,className:bi.string,allowElement:bi.func,allowedElements:bi.arrayOf(bi.string),disallowedElements:bi.arrayOf(bi.string),unwrapDisallowed:bi.bool,remarkPlugins:bi.arrayOf(bi.oneOfType([bi.object,bi.func,bi.arrayOf(bi.oneOfType([bi.bool,bi.string,bi.object,bi.func,bi.arrayOf(bi.any)]))])),rehypePlugins:bi.arrayOf(bi.oneOfType([bi.object,bi.func,bi.arrayOf(bi.oneOfType([bi.bool,bi.string,bi.object,bi.func,bi.arrayOf(bi.any)]))])),sourcePos:bi.bool,rawSourcePos:bi.bool,skipHtml:bi.bool,includeElementIndex:bi.bool,transformLinkUri:bi.oneOfType([bi.func,bi.bool]),linkTarget:bi.oneOfType([bi.func,bi.string]),transformImageUri:bi.func,components:bi.object};function SKn(e,t){if(e==null)return{};var n=Sn(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Joe(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var wW={};function OKn(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return wW[t]||(wW[t]=MKn(e)),wW[t]}function LKn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(a){return a!=="token"}),i=OKn(r);return i.reduce(function(a,o){return Zk(Zk({},a),n[o])},t)}function p6e(e){return e.join(" ")}function BKn(e,t){var n=0;return function(r){return n+=1,r.map(function(i,a){return IKe({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})})}}function IKe(e){var t=e.node,n=e.stylesheet,r=e.style,i=r===void 0?{}:r,a=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,c=t.value;if(l==="text")return c;if(u){var f=BKn(n,a),d;if(!a)d=Zk(Zk({},s),{},{className:p6e(s.className)});else{var h=Object.keys(n).reduce(function(m,v){return v.split(".").forEach(function(w){m.includes(w)||m.push(w)}),m},[]),p=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&p.concat(s.className.filter(function(m){return!h.includes(m)}));d=Zk(Zk({},s),{},{className:p6e(g)||void 0,style:LKn(s.className,Object.assign({},s.style,i),n)})}var b=f(t.children);return gr.createElement(u,Ne({key:o},d),b)}}const PKn=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var FKn=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function g6e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xp(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return hO({children:E,lineNumber:S,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:T,showLineNumbers:r,wrapLongLines:l})}function g(E,S){if(r&&S&&i){var T=MKe(s,S,o);E.unshift(RKe(S,T))}return E}function b(E,S){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||T.length>0?p(E,S,T):g(E,S)}for(var m=function(){var S=c[h],T=S.children[0].value,L=$Kn(T);if(L){var M=T.split(` `);M.forEach(function(D,I){var B=r&&f.length+a,N={type:"text",value:"".concat(D,` -`)};if(I===0){var O=c.slice(d+1,h).concat(hO({children:[N],className:S.properties.className})),R=b(O,B);f.push(R)}else if(I===M.length-1){var P=c[h+1]&&c[h+1].children&&c[h+1].children[0],H={type:"text",value:"".concat(D)};if(P){var F=hO({children:[H],className:S.properties.className});c.splice(h+1,0,F)}else{var q=[H],V=b(q,B,S.properties.className);f.push(V)}}else{var X=[N],G=b(X,B,S.properties.className);f.push(G)}}),d=h}h++};h{if(a=VKn(a),a in m6e)return;m6e[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const f=i[c];if(f.href===a&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":GKn,o||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},KKn=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var YKn=JKn,XKn=Object.prototype.hasOwnProperty;function JKn(){for(var e={},t=0;t4&&n.slice(0,4)===f0e&&NYn.test(t)&&(t.charAt(4)==="-"?r=UYn(t):t=jYn(t),i=BYn),new i(r,t))}function UYn(e){var t=e.slice(5).replace(HKe,qYn);return f0e+t.charAt(0).toUpperCase()+t.slice(1)}function jYn(e){var t=e.slice(4);return HKe.test(t)?e:(t=t.replace($Yn,HYn),t.charAt(0)!=="-"&&(t="-"+t),f0e+t)}function HYn(e){return"-"+e.toLowerCase()}function qYn(e){return e.charAt(1).toUpperCase()}var WYn=GYn,k6e=/[#.]/g;function GYn(e,t){for(var n=e||"",r=t||"div",i={},a=0,o,s,l;a=48&&t<=57}var pZn=gZn;function gZn(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var mZn=vZn;function vZn(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var yZn=mZn,bZn=GKe,wZn=kZn;function kZn(e){return yZn(e)||bZn(e)}var xI,_Zn=59,CZn=EZn;function EZn(e){var t="&"+e+";",n;return xI=xI||document.createElement("i"),xI.innerHTML=t,n=xI.textContent,n.charCodeAt(n.length-1)===_Zn&&e!=="semi"||n===t?!1:n}var T6e=fZn,D6e=dZn,xZn=GKe,SZn=pZn,VKe=wZn,AZn=CZn,TZn=UZn,DZn={}.hasOwnProperty,ek=String.fromCharCode,IZn=Function.prototype,I6e={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},RZn=9,R6e=10,MZn=12,OZn=32,M6e=38,LZn=59,BZn=60,PZn=61,FZn=35,NZn=88,$Zn=120,zZn=65533,Tk="named",p0e="hexadecimal",g0e="decimal",m0e={};m0e[p0e]=16;m0e[g0e]=10;var uz={};uz[Tk]=VKe;uz[g0e]=xZn;uz[p0e]=SZn;var KKe=1,YKe=2,XKe=3,JKe=4,ZKe=5,Qoe=6,QKe=7,ey={};ey[KKe]="Named character references must be terminated by a semicolon";ey[YKe]="Numeric character references must be terminated by a semicolon";ey[XKe]="Named character references cannot be empty";ey[JKe]="Numeric character references cannot be empty";ey[ZKe]="Named character references must be known";ey[Qoe]="Numeric character references cannot be disallowed";ey[QKe]="Numeric character references cannot be outside the permissible Unicode range";function UZn(e,t){var n={},r,i;t||(t={});for(i in I6e)r=t[i],n[i]=r??I6e[i];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),jZn(e,n)}function jZn(e,t){var n=t.additional,r=t.nonTerminated,i=t.text,a=t.reference,o=t.warning,s=t.textContext,l=t.referenceContext,u=t.warningContext,c=t.position,f=t.indent||[],d=e.length,h=0,p=-1,g=c.column||1,b=c.line||1,m="",v=[],w,k,E,S,T,L,M,D,I,B,N,O,R,P,H,F,q,V,X;for(typeof n=="string"&&(n=n.charCodeAt(0)),F=G(),D=o?J:IZn,h--,d++;++h65535&&(L-=65536,B+=ek(L>>>10|55296),L=56320|L&1023),L=B+ek(L))):P!==Tk&&D(JKe,V)),L?(te(),F=G(),h=X-1,g+=X-R+1,v.push(L),q=G(),q.offset++,a&&a.call(l,L,{start:F,end:q},e.slice(R-1,X)),F=q):(S=e.slice(R-1,X),m+=S,g+=S.length,h=X-1)}else T===10&&(b++,p++,g=0),T===T?(m+=ek(T),g++):te();return v.join("");function G(){return{line:b,column:g,offset:h+(c.offset||0)}}function J(re,Q){var ae=G();ae.column+=Q,ae.offset+=Q,o.call(u,ey[re],ae,re)}function te(){m&&(v.push(m),i&&i.call(s,m,{start:F,end:G()}),m="")}}function HZn(e){return e>=55296&&e<=57343||e>1114111}function qZn(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var eYe={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`)};if(I===0){var O=c.slice(d+1,h).concat(hO({children:[N],className:S.properties.className})),R=b(O,B);f.push(R)}else if(I===M.length-1){var P=c[h+1]&&c[h+1].children&&c[h+1].children[0],H={type:"text",value:"".concat(D)};if(P){var F=hO({children:[H],className:S.properties.className});c.splice(h+1,0,F)}else{var q=[H],V=b(q,B,S.properties.className);f.push(V)}}else{var X=[N],G=b(X,B,S.properties.className);f.push(G)}}),d=h}h++};h{if(a=KKn(a),a in m6e)return;m6e[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const f=i[c];if(f.href===a&&(!o||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${s}`))return;const u=document.createElement("link");if(u.rel=o?"stylesheet":VKn,o||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),o)return new Promise((c,f)=>{u.addEventListener("load",c),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},YKn=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var XKn=ZKn,JKn=Object.prototype.hasOwnProperty;function ZKn(){for(var e={},t=0;t4&&n.slice(0,4)===f0e&&$Yn.test(t)&&(t.charAt(4)==="-"?r=jYn(t):t=HYn(t),i=PYn),new i(r,t))}function jYn(e){var t=e.slice(5).replace(HKe,WYn);return f0e+t.charAt(0).toUpperCase()+t.slice(1)}function HYn(e){var t=e.slice(4);return HKe.test(t)?e:(t=t.replace(zYn,qYn),t.charAt(0)!=="-"&&(t="-"+t),f0e+t)}function qYn(e){return"-"+e.toLowerCase()}function WYn(e){return e.charAt(1).toUpperCase()}var GYn=VYn,k6e=/[#.]/g;function VYn(e,t){for(var n=e||"",r=t||"div",i={},a=0,o,s,l;a=48&&t<=57}var gZn=mZn;function mZn(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var vZn=yZn;function yZn(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var bZn=vZn,wZn=GKe,kZn=_Zn;function _Zn(e){return bZn(e)||wZn(e)}var xI,CZn=59,EZn=xZn;function xZn(e){var t="&"+e+";",n;return xI=xI||document.createElement("i"),xI.innerHTML=t,n=xI.textContent,n.charCodeAt(n.length-1)===CZn&&e!=="semi"||n===t?!1:n}var T6e=dZn,D6e=hZn,SZn=GKe,AZn=gZn,VKe=kZn,TZn=EZn,DZn=jZn,IZn={}.hasOwnProperty,ek=String.fromCharCode,RZn=Function.prototype,I6e={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},MZn=9,R6e=10,OZn=12,LZn=32,M6e=38,BZn=59,PZn=60,FZn=61,NZn=35,$Zn=88,zZn=120,UZn=65533,Tk="named",p0e="hexadecimal",g0e="decimal",m0e={};m0e[p0e]=16;m0e[g0e]=10;var uz={};uz[Tk]=VKe;uz[g0e]=SZn;uz[p0e]=AZn;var KKe=1,YKe=2,XKe=3,JKe=4,ZKe=5,Qoe=6,QKe=7,ey={};ey[KKe]="Named character references must be terminated by a semicolon";ey[YKe]="Numeric character references must be terminated by a semicolon";ey[XKe]="Named character references cannot be empty";ey[JKe]="Numeric character references cannot be empty";ey[ZKe]="Named character references must be known";ey[Qoe]="Numeric character references cannot be disallowed";ey[QKe]="Numeric character references cannot be outside the permissible Unicode range";function jZn(e,t){var n={},r,i;t||(t={});for(i in I6e)r=t[i],n[i]=r??I6e[i];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),HZn(e,n)}function HZn(e,t){var n=t.additional,r=t.nonTerminated,i=t.text,a=t.reference,o=t.warning,s=t.textContext,l=t.referenceContext,u=t.warningContext,c=t.position,f=t.indent||[],d=e.length,h=0,p=-1,g=c.column||1,b=c.line||1,m="",v=[],w,k,E,S,T,L,M,D,I,B,N,O,R,P,H,F,q,V,X;for(typeof n=="string"&&(n=n.charCodeAt(0)),F=G(),D=o?J:RZn,h--,d++;++h65535&&(L-=65536,B+=ek(L>>>10|55296),L=56320|L&1023),L=B+ek(L))):P!==Tk&&D(JKe,V)),L?(te(),F=G(),h=X-1,g+=X-R+1,v.push(L),q=G(),q.offset++,a&&a.call(l,L,{start:F,end:q},e.slice(R-1,X)),F=q):(S=e.slice(R-1,X),m+=S,g+=S.length,h=X-1)}else T===10&&(b++,p++,g=0),T===T?(m+=ek(T),g++):te();return v.join("");function G(){return{line:b,column:g,offset:h+(c.offset||0)}}function J(re,Q){var ae=G();ae.column+=Q,ae.offset+=Q,o.call(u,ey[re],ae,re)}function te(){m&&(v.push(m),i&&i.call(s,m,{start:F,end:G()}),m="")}}function qZn(e){return e>=55296&&e<=57343||e>1114111}function WZn(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var eYe={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function v(w){return w instanceof l?new l(w.type,v(w.content),w.alias):Array.isArray(w)?w.map(v):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(E){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(v){var w=document.getElementsByTagName("script");for(var k in w)if(w[k].src==v)return w[k]}return null}},isActive:function(v,w,k){for(var E="no-"+w;v;){var S=v.classList;if(S.contains(w))return!0;if(S.contains(E))return!1;v=v.parentElement}return!!k}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(v,w){var k=s.util.clone(s.languages[v]);for(var E in w)k[E]=w[E];return k},insertBefore:function(v,w,k,E){E=E||s.languages;var S=E[v],T={};for(var L in S)if(S.hasOwnProperty(L)){if(L==w)for(var M in k)k.hasOwnProperty(M)&&(T[M]=k[M]);k.hasOwnProperty(L)||(T[L]=S[L])}var D=E[v];return E[v]=T,s.languages.DFS(s.languages,function(I,B){B===D&&I!=v&&(this[I]=T)}),T},DFS:function v(w,k,E,S){S=S||{};var T=s.util.objId;for(var L in w)if(w.hasOwnProperty(L)){k.call(w,L,w[L],E||L);var M=w[L],D=s.util.type(M);D==="Object"&&!S[T(M)]?(S[T(M)]=!0,v(M,k,null,S)):D==="Array"&&!S[T(M)]&&(S[T(M)]=!0,v(M,k,L,S))}}},plugins:{},highlightAll:function(v,w){s.highlightAllUnder(document,v,w)},highlightAllUnder:function(v,w,k){var E={callback:k,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),s.hooks.run("before-all-elements-highlight",E);for(var S=0,T;T=E.elements[S++];)s.highlightElement(T,w===!0,E.callback)},highlightElement:function(v,w,k){var E=s.util.getLanguage(v),S=s.languages[E];s.util.setLanguage(v,E);var T=v.parentElement;T&&T.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(T,E);var L=v.textContent,M={element:v,language:E,grammar:S,code:L};function D(B){M.highlightedCode=B,s.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,s.hooks.run("after-highlight",M),s.hooks.run("complete",M),k&&k.call(M.element)}if(s.hooks.run("before-sanity-check",M),T=M.element.parentElement,T&&T.nodeName.toLowerCase()==="pre"&&!T.hasAttribute("tabindex")&&T.setAttribute("tabindex","0"),!M.code){s.hooks.run("complete",M),k&&k.call(M.element);return}if(s.hooks.run("before-highlight",M),!M.grammar){D(s.util.encode(M.code));return}if(w&&r.Worker){var I=new Worker(s.filename);I.onmessage=function(B){D(B.data)},I.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else D(s.highlight(M.code,M.grammar,M.language))},highlight:function(v,w,k){var E={code:v,grammar:w,language:k};if(s.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=s.tokenize(E.code,E.grammar),s.hooks.run("after-tokenize",E),l.stringify(s.util.encode(E.tokens),E.language)},tokenize:function(v,w){var k=w.rest;if(k){for(var E in k)w[E]=k[E];delete w.rest}var S=new f;return d(S,S.head,v),c(v,S,w,S.head,0),p(S)},hooks:{all:{},add:function(v,w){var k=s.hooks.all;k[v]=k[v]||[],k[v].push(w)},run:function(v,w){var k=s.hooks.all[v];if(!(!k||!k.length))for(var E=0,S;S=k[E++];)S(w)}},Token:l};r.Prism=s;function l(v,w,k,E){this.type=v,this.content=w,this.alias=k,this.length=(E||"").length|0}l.stringify=function v(w,k){if(typeof w=="string")return w;if(Array.isArray(w)){var E="";return w.forEach(function(D){E+=v(D,k)}),E}var S={type:w.type,content:v(w.content,k),tag:"span",classes:["token",w.type],attributes:{},language:k},T=w.alias;T&&(Array.isArray(T)?Array.prototype.push.apply(S.classes,T):S.classes.push(T)),s.hooks.run("wrap",S);var L="";for(var M in S.attributes)L+=" "+M+'="'+(S.attributes[M]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+L+">"+S.content+""};function u(v,w,k,E){v.lastIndex=w;var S=v.exec(k);if(S&&E&&S[1]){var T=S[1].length;S.index+=T,S[0]=S[0].slice(T)}return S}function c(v,w,k,E,S,T){for(var L in k)if(!(!k.hasOwnProperty(L)||!k[L])){var M=k[L];M=Array.isArray(M)?M:[M];for(var D=0;D=T.reach);q+=F.value.length,F=F.next){var V=F.value;if(w.length>v.length)return;if(!(V instanceof l)){var X=1,G;if(O){if(G=u(H,q,v,N),!G||G.index>=v.length)break;var Q=G.index,J=G.index+G[0].length,te=q;for(te+=F.value.length;Q>=te;)F=F.next,te+=F.value.length;if(te-=F.value.length,q=te,F.value instanceof l)continue;for(var re=F;re!==w.tail&&(teT.reach&&(T.reach=ee);var ne=F.prev;le&&(ne=d(w,ne,le),q+=le.length),h(w,ne,X);var ue=new l(L,B?s.tokenize(ae,B):ae,R,ae);if(F=d(w,ne,ue),oe&&d(w,F,oe),X>1){var Ae={cause:L+","+D,reach:ee};c(v,w,k,F.prev,q,Ae),T&&Ae.reach>T.reach&&(T.reach=Ae.reach)}}}}}}function f(){var v={value:null,prev:null,next:null},w={value:null,prev:v,next:null};v.next=w,this.head=v,this.tail=w,this.length=0}function d(v,w,k){var E=w.next,S={value:k,prev:w,next:E};return w.next=S,E.prev=S,v.length++,S}function h(v,w,k){for(var E=w.next,S=0;S/,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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},i.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:i}};a["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var VZn=y0e;y0e.displayName="css";y0e.aliases=[];function y0e(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var KZn=b0e;b0e.displayName="clike";b0e.aliases=[];function b0e(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var YZn=w0e;w0e.displayName="javascript";w0e.aliases=["js"];function w0e(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.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}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}var Ax=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof as=="object"?as:{},XZn=dQn();Ax.Prism={manual:!0,disableWorkerMessageHandler:!0};var JZn=dXn,ZZn=TZn,tYe=WZn,QZn=GZn,eQn=VZn,tQn=KZn,nQn=YZn;XZn();var k0e={}.hasOwnProperty;function nYe(){}nYe.prototype=tYe;var gl=new nYe,rQn=gl;gl.highlight=aQn;gl.register=j7;gl.alias=iQn;gl.registered=oQn;gl.listLanguages=sQn;j7(QZn);j7(eQn);j7(tQn);j7(nQn);gl.util.encode=cQn;gl.Token.stringify=lQn;function j7(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");gl.languages[e.displayName]===void 0&&e(gl)}function iQn(e,t){var n=gl.languages,r=e,i,a,o,s;t&&(r={},r[e]=t);for(i in r)for(a=r[i],a=typeof a=="string"?[a]:a,o=a.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var kW,O6e;function pQn(){if(O6e)return kW;O6e=1,kW=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return kW}var _W,L6e;function gQn(){if(L6e)return _W;L6e=1,_W=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return _W}var CW,B6e;function mQn(){if(B6e)return CW;B6e=1,CW=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return CW}var EW,P6e;function vQn(){if(P6e)return EW;P6e=1,EW=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return EW}var xW,F6e;function yQn(){if(F6e)return xW;F6e=1,xW=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return xW}var SW,N6e;function bQn(){if(N6e)return SW;N6e=1,SW=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return SW}var AW,$6e;function wQn(){if($6e)return AW;$6e=1,AW=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return AW}var TW,z6e;function kQn(){if(z6e)return TW;z6e=1,TW=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return TW}var DW,U6e;function _0e(){if(U6e)return DW;U6e=1,DW=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return DW}var IW,j6e;function _Qn(){if(j6e)return IW;j6e=1;var e=_0e();IW=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var i=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,a=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return i.source});function o(l){return RegExp(l.replace(//g,function(){return a}),"i")}var s={keyword:i,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return IW}var RW,H6e;function CQn(){if(H6e)return RW;H6e=1,RW=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return RW}var MW,q6e;function EQn(){if(q6e)return MW;q6e=1,MW=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return MW}var OW,W6e;function xQn(){if(W6e)return OW;W6e=1,OW=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return OW}var LW,G6e;function A3(){if(G6e)return LW;G6e=1,LW=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.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|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.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},t.languages.c.string],char:t.languages.c.char,comment:t.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:t.languages.c}}}}),t.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 t.languages.c.boolean}return LW}var BW,V6e;function C0e(){if(V6e)return BW;V6e=1;var e=A3();BW=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var i=/\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/,a=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.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:i,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/}),r.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 a})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return BW}var PW,K6e;function SQn(){if(K6e)return PW;K6e=1;var e=C0e();PW=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return PW}var FW,Y6e;function AQn(){if(Y6e)return FW;Y6e=1,FW=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return FW}var NW,X6e;function TQn(){if(X6e)return NW;X6e=1,NW=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},i=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(o){o=o.split(" ");for(var s={},l=0,u=o.length;l>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return zW}var UW,Q6e;function cz(){if(Q6e)return UW;Q6e=1,UW=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(X,G){return X.replace(/<<(\d+)>>/g,function(J,te){return"(?:"+G[+te]+")"})}function i(X,G,J){return RegExp(r(X,G),J||"")}function a(X,G){for(var J=0;J>/g,function(){return"(?:"+X+")"});return X.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(X){return"\\b(?:"+X.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),c=s(o.typeDeclaration+" "+o.contextual+" "+o.other),f=s(o.type+" "+o.typeDeclaration+" "+o.other),d=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=a(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,g=r(/<<0>>(?:\s*<<1>>)?/.source,[p,d]),b=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,g]),m=/\[\s*(?:,\s*)*\]/.source,v=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,m]),w=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,h,m]),k=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),E=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[k,b,m]),S={keyword:u,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,L=/"(?:\\.|[^\\"\r\n])*"/.source,M=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[M]),lookbehind:!0,greedy:!0},{pattern:i(/(^|[^@$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:S},{pattern:i(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:S},{pattern:i(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:i(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:S},{pattern:i(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:i(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:i(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:S},{pattern:i(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,f,p]),inside:S}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:i(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:i(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:i(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:i(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,b]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:i(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:i(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,d]),inside:{function:i(/^<<0>>/.source,[p]),generic:{pattern:RegExp(d),alias:"class-name",inside:S}}},"type-list":{pattern:i(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,p,E,u.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:i(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(E),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=L+"|"+T,I=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),B=a(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),N=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,B]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:i(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[N,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:i(/^<<0>>(?=\s*:)/.source,[N]),alias:"keyword"},"attribute-arguments":{pattern:i(/\(<<0>>*\)/.source,[B]),inside:n.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var R=/:[^}\r\n]+/.source,P=a(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),H=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,R]),F=a(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[D]),2),q=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,R]);function V(X,G){return{interpolation:{pattern:i(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[X]),lookbehind:!0,inside:{"format-string":{pattern:i(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[G,R]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:i(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[H]),lookbehind:!0,greedy:!0,inside:V(H,P)},{pattern:i(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[q]),lookbehind:!0,greedy:!0,inside:V(q,F)}],char:{pattern:RegExp(T),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return UW}var jW,e_e;function RQn(){if(e_e)return jW;e_e=1;var e=cz();jW=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return jW}var HW,t_e;function MQn(){if(t_e)return HW;t_e=1,HW=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return HW}var qW,n_e;function OQn(){if(n_e)return qW;n_e=1,qW=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return qW}var WW,r_e;function LQn(){if(r_e)return WW;r_e=1,WW=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(c,f){return c.replace(/<<(\d+)>>/g,function(d,h){return f[+h]})}function i(c,f,d){return RegExp(r(c,f),d||"")}var a=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),l=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[o,s,l].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:i(/\b(?:<<0>>)\s+("?)\w+\1/.source,[a],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:i(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:i(/\b(?:<<0>>)(?=\s*\()/.source,[a],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return WW}var GW,i_e;function BQn(){if(i_e)return GW;i_e=1,GW=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return GW}var VW,a_e;function rYe(){if(a_e)return VW;a_e=1,VW=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:i,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=a.variable[1].inside,l=0;l?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return KW}var YW,s_e;function PQn(){if(s_e)return YW;s_e=1,YW=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,i={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:i,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:i,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:i,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:i,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return YW}var XW,l_e;function FQn(){if(l_e)return XW;l_e=1,XW=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return XW}var JW,u_e;function NQn(){if(u_e)return JW;u_e=1,JW=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return JW}var ZW,c_e;function $Qn(){if(c_e)return ZW;c_e=1,ZW=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return ZW}var QW,f_e;function zQn(){if(f_e)return QW;f_e=1;var e=A3();QW=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return QW}var eG,d_e;function UQn(){if(d_e)return eG;d_e=1,eG=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return eG}var tG,h_e;function jQn(){if(h_e)return tG;h_e=1,tG=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return tG}var nG,p_e;function HQn(){if(p_e)return nG;p_e=1,nG=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return nG}var rG,g_e;function qQn(){if(g_e)return rG;g_e=1,rG=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return rG}var iG,m_e;function WQn(){if(m_e)return iG;m_e=1,iG=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return iG}var aG,v_e;function GQn(){if(v_e)return aG;v_e=1,aG=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return aG}var oG,y_e;function VQn(){if(y_e)return oG;y_e=1;var e=C0e();oG=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return oG}var sG,b_e;function KQn(){if(b_e)return sG;b_e=1,sG=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return sG}var lG,w_e;function YQn(){if(w_e)return lG;w_e=1,lG=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return lG}var uG,k_e;function XQn(){if(k_e)return uG;k_e=1,uG=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return uG}var cG,__e;function JQn(){if(__e)return cG;__e=1,cG=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return cG}var fG,C_e;function ZQn(){if(C_e)return fG;C_e=1,fG=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,i={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:i}}],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"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:i}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:i}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return fG}var dG,E_e;function QQn(){if(E_e)return dG;E_e=1,dG=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return dG}var hG,x_e;function eer(){if(x_e)return hG;x_e=1,hG=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return hG}var pG,S_e;function fz(){if(S_e)return pG;S_e=1,pG=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var i="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+i+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+i),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+i),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return pG}var gG,A_e;function ter(){if(A_e)return gG;A_e=1;var e=fz();gG=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return gG}var mG,T_e;function ner(){if(T_e)return mG;T_e=1;var e=cz();mG=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var i=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,a=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(b,m){for(var v=0;v/g,function(){return"(?:"+b+")"});return b.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+a+")").replace(//g,"(?:"+i+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),c=o(/<(?:[^<>'"@/]|||)*>/.source,2),f=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,d=/(?!\d)[^\s>\/=$<%]+/.source+f+/\s*\/?>/.source,h=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+d+"|"+o(/<\1/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+d+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.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|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:a,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:o})})(t)}return yG}var bG,R_e;function aer(){if(R_e)return bG;R_e=1,bG=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return bG}var wG,M_e;function oer(){if(M_e)return wG;M_e=1,wG=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return wG}var kG,O_e;function ser(){if(O_e)return kG;O_e=1,kG=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return kG}var _G,L_e;function ler(){if(L_e)return _G;L_e=1,_G=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],i=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[a,{pattern:RegExp(i+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return _G}var CG,B_e;function uer(){if(B_e)return CG;B_e=1,CG=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return CG}var EG,P_e;function cer(){if(P_e)return EG;P_e=1,EG=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return EG}var xG,F_e;function fer(){if(F_e)return xG;F_e=1,xG=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return xG}var SG,N_e;function der(){if(N_e)return SG;N_e=1,SG=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(i){var a=r[i],o=[];/^\w+$/.test(i)||o.push(/\w+/.exec(i)[0]),i==="diff"&&o.push("bold"),n.languages.diff[i]={pattern:RegExp("^(?:["+a+`].*(?:\r + */var n=function(r){var i=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function v(w){return w instanceof l?new l(w.type,v(w.content),w.alias):Array.isArray(w)?w.map(v):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(E){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(E.stack)||[])[1];if(v){var w=document.getElementsByTagName("script");for(var k in w)if(w[k].src==v)return w[k]}return null}},isActive:function(v,w,k){for(var E="no-"+w;v;){var S=v.classList;if(S.contains(w))return!0;if(S.contains(E))return!1;v=v.parentElement}return!!k}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(v,w){var k=s.util.clone(s.languages[v]);for(var E in w)k[E]=w[E];return k},insertBefore:function(v,w,k,E){E=E||s.languages;var S=E[v],T={};for(var L in S)if(S.hasOwnProperty(L)){if(L==w)for(var M in k)k.hasOwnProperty(M)&&(T[M]=k[M]);k.hasOwnProperty(L)||(T[L]=S[L])}var D=E[v];return E[v]=T,s.languages.DFS(s.languages,function(I,B){B===D&&I!=v&&(this[I]=T)}),T},DFS:function v(w,k,E,S){S=S||{};var T=s.util.objId;for(var L in w)if(w.hasOwnProperty(L)){k.call(w,L,w[L],E||L);var M=w[L],D=s.util.type(M);D==="Object"&&!S[T(M)]?(S[T(M)]=!0,v(M,k,null,S)):D==="Array"&&!S[T(M)]&&(S[T(M)]=!0,v(M,k,L,S))}}},plugins:{},highlightAll:function(v,w){s.highlightAllUnder(document,v,w)},highlightAllUnder:function(v,w,k){var E={callback:k,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",E),E.elements=Array.prototype.slice.apply(E.container.querySelectorAll(E.selector)),s.hooks.run("before-all-elements-highlight",E);for(var S=0,T;T=E.elements[S++];)s.highlightElement(T,w===!0,E.callback)},highlightElement:function(v,w,k){var E=s.util.getLanguage(v),S=s.languages[E];s.util.setLanguage(v,E);var T=v.parentElement;T&&T.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(T,E);var L=v.textContent,M={element:v,language:E,grammar:S,code:L};function D(B){M.highlightedCode=B,s.hooks.run("before-insert",M),M.element.innerHTML=M.highlightedCode,s.hooks.run("after-highlight",M),s.hooks.run("complete",M),k&&k.call(M.element)}if(s.hooks.run("before-sanity-check",M),T=M.element.parentElement,T&&T.nodeName.toLowerCase()==="pre"&&!T.hasAttribute("tabindex")&&T.setAttribute("tabindex","0"),!M.code){s.hooks.run("complete",M),k&&k.call(M.element);return}if(s.hooks.run("before-highlight",M),!M.grammar){D(s.util.encode(M.code));return}if(w&&r.Worker){var I=new Worker(s.filename);I.onmessage=function(B){D(B.data)},I.postMessage(JSON.stringify({language:M.language,code:M.code,immediateClose:!0}))}else D(s.highlight(M.code,M.grammar,M.language))},highlight:function(v,w,k){var E={code:v,grammar:w,language:k};if(s.hooks.run("before-tokenize",E),!E.grammar)throw new Error('The language "'+E.language+'" has no grammar.');return E.tokens=s.tokenize(E.code,E.grammar),s.hooks.run("after-tokenize",E),l.stringify(s.util.encode(E.tokens),E.language)},tokenize:function(v,w){var k=w.rest;if(k){for(var E in k)w[E]=k[E];delete w.rest}var S=new f;return d(S,S.head,v),c(v,S,w,S.head,0),p(S)},hooks:{all:{},add:function(v,w){var k=s.hooks.all;k[v]=k[v]||[],k[v].push(w)},run:function(v,w){var k=s.hooks.all[v];if(!(!k||!k.length))for(var E=0,S;S=k[E++];)S(w)}},Token:l};r.Prism=s;function l(v,w,k,E){this.type=v,this.content=w,this.alias=k,this.length=(E||"").length|0}l.stringify=function v(w,k){if(typeof w=="string")return w;if(Array.isArray(w)){var E="";return w.forEach(function(D){E+=v(D,k)}),E}var S={type:w.type,content:v(w.content,k),tag:"span",classes:["token",w.type],attributes:{},language:k},T=w.alias;T&&(Array.isArray(T)?Array.prototype.push.apply(S.classes,T):S.classes.push(T)),s.hooks.run("wrap",S);var L="";for(var M in S.attributes)L+=" "+M+'="'+(S.attributes[M]||"").replace(/"/g,""")+'"';return"<"+S.tag+' class="'+S.classes.join(" ")+'"'+L+">"+S.content+""};function u(v,w,k,E){v.lastIndex=w;var S=v.exec(k);if(S&&E&&S[1]){var T=S[1].length;S.index+=T,S[0]=S[0].slice(T)}return S}function c(v,w,k,E,S,T){for(var L in k)if(!(!k.hasOwnProperty(L)||!k[L])){var M=k[L];M=Array.isArray(M)?M:[M];for(var D=0;D=T.reach);q+=F.value.length,F=F.next){var V=F.value;if(w.length>v.length)return;if(!(V instanceof l)){var X=1,G;if(O){if(G=u(H,q,v,N),!G||G.index>=v.length)break;var Q=G.index,J=G.index+G[0].length,te=q;for(te+=F.value.length;Q>=te;)F=F.next,te+=F.value.length;if(te-=F.value.length,q=te,F.value instanceof l)continue;for(var re=F;re!==w.tail&&(teT.reach&&(T.reach=ee);var ne=F.prev;le&&(ne=d(w,ne,le),q+=le.length),h(w,ne,X);var ue=new l(L,B?s.tokenize(ae,B):ae,R,ae);if(F=d(w,ne,ue),oe&&d(w,F,oe),X>1){var Ae={cause:L+","+D,reach:ee};c(v,w,k,F.prev,q,Ae),T&&Ae.reach>T.reach&&(T.reach=Ae.reach)}}}}}}function f(){var v={value:null,prev:null,next:null},w={value:null,prev:v,next:null};v.next=w,this.head=v,this.tail=w,this.length=0}function d(v,w,k){var E=w.next,S={value:k,prev:w,next:E};return w.next=S,E.prev=S,v.length++,S}function h(v,w,k){for(var E=w.next,S=0;S/,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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},i.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:i}};a["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\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:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var KZn=y0e;y0e.displayName="css";y0e.aliases=[];function y0e(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var YZn=b0e;b0e.displayName="clike";b0e.aliases=[];function b0e(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var XZn=w0e;w0e.displayName="javascript";w0e.aliases=["js"];function w0e(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.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}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.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:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.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:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.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:e.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"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.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")),e.languages.js=e.languages.javascript}var Ax=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof as=="object"?as:{},JZn=hQn();Ax.Prism={manual:!0,disableWorkerMessageHandler:!0};var ZZn=hXn,QZn=DZn,tYe=GZn,eQn=VZn,tQn=KZn,nQn=YZn,rQn=XZn;JZn();var k0e={}.hasOwnProperty;function nYe(){}nYe.prototype=tYe;var gl=new nYe,iQn=gl;gl.highlight=oQn;gl.register=j7;gl.alias=aQn;gl.registered=sQn;gl.listLanguages=lQn;j7(eQn);j7(tQn);j7(nQn);j7(rQn);gl.util.encode=fQn;gl.Token.stringify=uQn;function j7(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");gl.languages[e.displayName]===void 0&&e(gl)}function aQn(e,t){var n=gl.languages,r=e,i,a,o,s;t&&(r={},r[e]=t);for(i in r)for(a=r[i],a=typeof a=="string"?[a]:a,o=a.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var kW,O6e;function gQn(){if(O6e)return kW;O6e=1,kW=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return kW}var _W,L6e;function mQn(){if(L6e)return _W;L6e=1,_W=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return _W}var CW,B6e;function vQn(){if(B6e)return CW;B6e=1,CW=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.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:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return CW}var EW,P6e;function yQn(){if(P6e)return EW;P6e=1,EW=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return EW}var xW,F6e;function bQn(){if(F6e)return xW;F6e=1,xW=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return xW}var SW,N6e;function wQn(){if(N6e)return SW;N6e=1,SW=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return SW}var AW,$6e;function kQn(){if($6e)return AW;$6e=1,AW=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return AW}var TW,z6e;function _Qn(){if(z6e)return TW;z6e=1,TW=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return TW}var DW,U6e;function _0e(){if(U6e)return DW;U6e=1,DW=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return DW}var IW,j6e;function CQn(){if(j6e)return IW;j6e=1;var e=_0e();IW=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var i=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,a=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return i.source});function o(l){return RegExp(l.replace(//g,function(){return a}),"i")}var s={keyword:i,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return IW}var RW,H6e;function EQn(){if(H6e)return RW;H6e=1,RW=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return RW}var MW,q6e;function xQn(){if(q6e)return MW;q6e=1,MW=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return MW}var OW,W6e;function SQn(){if(W6e)return OW;W6e=1,OW=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return OW}var LW,G6e;function A3(){if(G6e)return LW;G6e=1,LW=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.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|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.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},t.languages.c.string],char:t.languages.c.char,comment:t.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:t.languages.c}}}}),t.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 t.languages.c.boolean}return LW}var BW,V6e;function C0e(){if(V6e)return BW;V6e=1;var e=A3();BW=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var i=/\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/,a=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return i.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return i.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:i,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/}),r.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 a})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.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:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return BW}var PW,K6e;function AQn(){if(K6e)return PW;K6e=1;var e=C0e();PW=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return PW}var FW,Y6e;function TQn(){if(Y6e)return FW;Y6e=1,FW=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return FW}var NW,X6e;function DQn(){if(X6e)return NW;X6e=1,NW=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},i=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function a(o){o=o.split(" ");for(var s={},l=0,u=o.length;l>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return zW}var UW,Q6e;function cz(){if(Q6e)return UW;Q6e=1,UW=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(X,G){return X.replace(/<<(\d+)>>/g,function(J,te){return"(?:"+G[+te]+")"})}function i(X,G,J){return RegExp(r(X,G),J||"")}function a(X,G){for(var J=0;J>/g,function(){return"(?:"+X+")"});return X.replace(/<>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(X){return"\\b(?:"+X.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),c=s(o.typeDeclaration+" "+o.contextual+" "+o.other),f=s(o.type+" "+o.typeDeclaration+" "+o.other),d=a(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),h=a(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,g=r(/<<0>>(?:\s*<<1>>)?/.source,[p,d]),b=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,g]),m=/\[\s*(?:,\s*)*\]/.source,v=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,m]),w=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,h,m]),k=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),E=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[k,b,m]),S={keyword:u,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,L=/"(?:\\.|[^\\"\r\n])*"/.source,M=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[M]),lookbehind:!0,greedy:!0},{pattern:i(/(^|[^@$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:S},{pattern:i(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:S},{pattern:i(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:i(/(\b<<0>>\s+)<<1>>/.source,[l,g]),lookbehind:!0,inside:S},{pattern:i(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:i(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:i(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:S},{pattern:i(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,f,p]),inside:S}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:i(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:i(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:i(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:i(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,b]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:i(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:i(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,d]),inside:{function:i(/^<<0>>/.source,[p]),generic:{pattern:RegExp(d),alias:"class-name",inside:S}}},"type-list":{pattern:i(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,g,p,E,u.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:i(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(E),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var D=L+"|"+T,I=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[D]),B=a(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),N=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,O=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,B]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:i(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[N,O]),lookbehind:!0,greedy:!0,inside:{target:{pattern:i(/^<<0>>(?=\s*:)/.source,[N]),alias:"keyword"},"attribute-arguments":{pattern:i(/\(<<0>>*\)/.source,[B]),inside:n.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var R=/:[^}\r\n]+/.source,P=a(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),H=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,R]),F=a(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[D]),2),q=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[F,R]);function V(X,G){return{interpolation:{pattern:i(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[X]),lookbehind:!0,inside:{"format-string":{pattern:i(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[G,R]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:i(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[H]),lookbehind:!0,greedy:!0,inside:V(H,P)},{pattern:i(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[q]),lookbehind:!0,greedy:!0,inside:V(q,F)}],char:{pattern:RegExp(T),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return UW}var jW,e_e;function MQn(){if(e_e)return jW;e_e=1;var e=cz();jW=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return jW}var HW,t_e;function OQn(){if(t_e)return HW;t_e=1,HW=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return HW}var qW,n_e;function LQn(){if(n_e)return qW;n_e=1,qW=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return qW}var WW,r_e;function BQn(){if(r_e)return WW;r_e=1,WW=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(c,f){return c.replace(/<<(\d+)>>/g,function(d,h){return f[+h]})}function i(c,f,d){return RegExp(r(c,f),d||"")}var a=/bool|clip|float|int|string|val/.source,o=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),l=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[o,s,l].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:i(/\b(?:<<0>>)\s+("?)\w+\1/.source,[a],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:i(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:i(/\b(?:<<0>>)(?=\s*\()/.source,[a],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return WW}var GW,i_e;function PQn(){if(i_e)return GW;i_e=1,GW=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return GW}var VW,a_e;function rYe(){if(a_e)return VW;a_e=1,VW=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:i,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:a.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=n.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=a.variable[1].inside,l=0;l?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return KW}var YW,s_e;function FQn(){if(s_e)return YW;s_e=1,YW=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,i={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},a=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:a,parameter:i,variable:r,number:o,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:a,parameter:i,variable:r,number:o,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:a,parameter:i,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:a,parameter:i,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return YW}var XW,l_e;function NQn(){if(l_e)return XW;l_e=1,XW=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return XW}var JW,u_e;function $Qn(){if(u_e)return JW;u_e=1,JW=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return JW}var ZW,c_e;function zQn(){if(c_e)return ZW;c_e=1,ZW=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return ZW}var QW,f_e;function UQn(){if(f_e)return QW;f_e=1;var e=A3();QW=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return QW}var eG,d_e;function jQn(){if(d_e)return eG;d_e=1,eG=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return eG}var tG,h_e;function HQn(){if(h_e)return tG;h_e=1,tG=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return tG}var nG,p_e;function qQn(){if(p_e)return nG;p_e=1,nG=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return nG}var rG,g_e;function WQn(){if(g_e)return rG;g_e=1,rG=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return rG}var iG,m_e;function GQn(){if(m_e)return iG;m_e=1,iG=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return iG}var aG,v_e;function VQn(){if(v_e)return aG;v_e=1,aG=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return aG}var oG,y_e;function KQn(){if(y_e)return oG;y_e=1;var e=C0e();oG=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return oG}var sG,b_e;function YQn(){if(b_e)return sG;b_e=1,sG=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return sG}var lG,w_e;function XQn(){if(w_e)return lG;w_e=1,lG=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return lG}var uG,k_e;function JQn(){if(k_e)return uG;k_e=1,uG=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return uG}var cG,__e;function ZQn(){if(__e)return cG;__e=1,cG=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return cG}var fG,C_e;function QQn(){if(C_e)return fG;C_e=1,fG=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,i={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:i}}],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"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:i}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:i}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return fG}var dG,E_e;function eer(){if(E_e)return dG;E_e=1,dG=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return dG}var hG,x_e;function ter(){if(x_e)return hG;x_e=1,hG=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return hG}var pG,S_e;function fz(){if(S_e)return pG;S_e=1,pG=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var i="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+i+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+i),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+i),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return pG}var gG,A_e;function ner(){if(A_e)return gG;A_e=1;var e=fz();gG=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return gG}var mG,T_e;function rer(){if(T_e)return mG;T_e=1;var e=cz();mG=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var i=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,a=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(b,m){for(var v=0;v/g,function(){return"(?:"+b+")"});return b.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+a+")").replace(//g,"(?:"+i+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),c=o(/<(?:[^<>'"@/]|||)*>/.source,2),f=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,d=/(?!\d)[^\s>\/=$<%]+/.source+f+/\s*\/?>/.source,h=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+d+"|"+o(/<\1/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+d+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=i,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var a={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.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|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:a,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,number:o})})(t)}return yG}var bG,R_e;function oer(){if(R_e)return bG;R_e=1,bG=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return bG}var wG,M_e;function ser(){if(M_e)return wG;M_e=1,wG=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return wG}var kG,O_e;function ler(){if(O_e)return kG;O_e=1,kG=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return kG}var _G,L_e;function uer(){if(L_e)return _G;L_e=1,_G=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],i=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[a,{pattern:RegExp(i+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return _G}var CG,B_e;function cer(){if(B_e)return CG;B_e=1,CG=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return CG}var EG,P_e;function fer(){if(P_e)return EG;P_e=1,EG=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return EG}var xG,F_e;function der(){if(F_e)return xG;F_e=1,xG=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return xG}var SG,N_e;function her(){if(N_e)return SG;N_e=1,SG=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(i){var a=r[i],o=[];/^\w+$/.test(i)||o.push(/\w+/.exec(i)[0]),i==="diff"&&o.push("bold"),n.languages.diff[i]={pattern:RegExp("^(?:["+a+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(i)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return SG}var AG,$_e;function Mf(){if($_e)return AG;$_e=1,AG=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(i,a){return"___"+i.toUpperCase()+a+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(i,a,o,s){if(i.language===a){var l=i.tokenStack=[];i.code=i.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var c=l.length,f;i.code.indexOf(f=r(a,c))!==-1;)++c;return l[c]=u,f}),i.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(i,a){if(i.language!==a||!i.tokenStack)return;i.grammar=n.languages[a];var o=0,s=Object.keys(i.tokenStack);function l(u){for(var c=0;c=s.length);c++){var f=u[c];if(typeof f=="string"||f.content&&typeof f.content=="string"){var d=s[o],h=i.tokenStack[d],p=typeof f=="string"?f:f.content,g=r(a,d),b=p.indexOf(g);if(b>-1){++o;var m=p.substring(0,b),v=new n.Token(a,n.tokenize(h,i.grammar),"language-"+a,h),w=p.substring(b+g.length),k=[];m&&k.push.apply(k,l([m])),k.push(v),w&&k.push.apply(k,l([w])),typeof f=="string"?u.splice.apply(u,[c,1].concat(k)):f.content=k}}else f.content&&l(f.content)}return u}l(i.tokens)}}})})(t)}return AG}var TG,z_e;function her(){if(z_e)return TG;z_e=1;var e=Mf();TG=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var i=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,a=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"django",i)}),r.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"jinja2",i)}),r.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"jinja2")})}(n)}return TG}var DG,U_e;function per(){if(U_e)return DG;U_e=1,DG=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return DG}var IG,j_e;function ger(){if(j_e)return IG;j_e=1,IG=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,i=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),s={pattern:RegExp(a),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(c,f){return c=c.replace(//g,function(){return o}).replace(//g,function(){return i}),RegExp(c,f)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},n.languages.dockerfile=n.languages.docker})(t)}return IG}var RG,H_e;function mer(){if(H_e)return RG;H_e=1,RG=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",i={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function a(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:i},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:i},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:i},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:i},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return RG}var MG,q_e;function ver(){if(q_e)return MG;q_e=1,MG=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return MG}var OG,W_e;function yer(){if(W_e)return OG;W_e=1,OG=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return OG}var LG,G_e;function ber(){if(G_e)return LG;G_e=1,LG=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return LG}var BG,V_e;function wer(){if(V_e)return BG;V_e=1;var e=Mf();BG=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(i){var a=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(i,"ejs",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return BG}var PG,K_e;function ker(){if(K_e)return PG;K_e=1,PG=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return PG}var FG,Y_e;function _er(){if(Y_e)return FG;Y_e=1,FG=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return FG}var NG,X_e;function Cer(){if(X_e)return NG;X_e=1;var e=fz(),t=Mf();NG=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(a){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"erb",o)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"erb")})}(r)}return NG}var $G,J_e;function Eer(){if(J_e)return $G;J_e=1,$G=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return $G}var zG,Z_e;function aYe(){if(Z_e)return zG;Z_e=1,zG=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return zG}var UG,Q_e;function xer(){if(Q_e)return UG;Q_e=1;var e=aYe(),t=Mf();UG=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(a){var o=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"etlua",o)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"etlua")})}(r)}return UG}var jG,eCe;function Ser(){if(eCe)return jG;eCe=1,jG=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return jG}var HG,tCe;function Aer(){if(tCe)return HG;tCe=1,HG=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},i={number:/\\[^\s']|%\w/},a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:i.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:i},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:i}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:i}},o=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(c){return new RegExp("(^|\\s)(?:"+c.map(o).join("|")+")(?=\\s|$)")},l={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(l).forEach(function(c){a[c].pattern=s(l[c])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];a.combinators.pattern=s(u),n.languages.factor=a})(t)}return HG}var qG,nCe;function Ter(){if(nCe)return qG;nCe=1,qG=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return WG}var GG,iCe;function Ier(){if(iCe)return GG;iCe=1,GG=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.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 n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.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})})(t)}return GG}var VG,aCe;function Rer(){if(aCe)return VG;aCe=1,VG=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return VG}var KG,oCe;function Mer(){if(oCe)return KG;oCe=1,KG=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return KG}var YG,sCe;function Oer(){if(sCe)return YG;sCe=1;var e=Mf();YG=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var i=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,a=0;a<2;a++)i=i.replace(//g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return i})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return i}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return YG}var XG,lCe;function Ler(){if(lCe)return XG;lCe=1,XG=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return XG}var JG,uCe;function Ber(){if(uCe)return JG;uCe=1,JG=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return JG}var ZG,cCe;function Per(){if(cCe)return ZG;cCe=1,ZG=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return ZG}var QG,fCe;function Fer(){if(fCe)return QG;fCe=1,QG=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return QG}var eV,dCe;function Ner(){if(dCe)return eV;dCe=1,eV=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return eV}var tV,hCe;function $er(){if(hCe)return tV;hCe=1,tV=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return tV}var nV,pCe;function zer(){if(pCe)return nV;pCe=1;var e=A3();nV=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return nV}var rV,gCe;function Uer(){if(gCe)return rV;gCe=1,rV=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return rV}var iV,mCe;function jer(){if(mCe)return iV;mCe=1,iV=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return iV}var aV,vCe;function Her(){if(vCe)return aV;vCe=1,aV=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return aV}var oV,yCe;function qer(){if(yCe)return oV;yCe=1,oV=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.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/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return oV}var sV,bCe;function Wer(){if(bCe)return sV;bCe=1,sV=e,e.displayName="graphql",e.aliases=[];function e(t){t.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:t.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+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var i=r.tokens.filter(function(m){return typeof m!="string"&&m.type!=="comment"&&m.type!=="scalar"}),a=0;function o(m){return i[a+m]}function s(m,v){v=v||0;for(var w=0;w0)){var p=l(/^\{$/,/^\}$/);if(p===-1)continue;for(var g=a;g=0&&u(b,"variable-input")}}}}})}return sV}var lV,wCe;function Ger(){if(wCe)return lV;wCe=1,lV=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var i=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(i=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:i,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return lV}var uV,kCe;function Ver(){if(kCe)return uV;kCe=1;var e=fz();uV=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",a=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=a.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(i){var a=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(i,"handlebars",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return cV}var fV,CCe;function E0e(){if(CCe)return fV;CCe=1,fV=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|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|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return fV}var dV,ECe;function Yer(){if(ECe)return dV;ECe=1,dV=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return dV}var hV,xCe;function Xer(){if(xCe)return hV;xCe=1,hV=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return hV}var pV,SCe;function Jer(){if(SCe)return pV;SCe=1;var e=A3();pV=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return pV}var gV,ACe;function Zer(){if(ACe)return gV;ACe=1,gV=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return gV}var mV,TCe;function Qer(){if(TCe)return mV;TCe=1,mV=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return mV}var vV,DCe;function etr(){if(DCe)return vV;DCe=1,vV=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return vV}var yV,ICe;function ttr(){if(ICe)return yV;ICe=1,yV=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(f){return RegExp("(^(?:"+f+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var i=n.languages,a={"application/javascript":i.javascript,"application/json":i.json||i.javascript,"application/xml":i.xml,"text/xml":i.xml,"text/html":i.html,"text/css":i.css,"text/plain":i.plain},o={"application/json":!0,"application/xml":!0};function s(f){var d=f.replace(/^[a-z]+\//,""),h="\\w+/(?:[\\w.-]+\\+)+"+d+"(?![+\\w.-])";return"(?:"+f+"|"+h+")"}var l;for(var u in a)if(a[u]){l=l||{};var c=o[u]?s(u):u;l[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[u]}}l&&n.languages.insertBefore("http","header",l)})(t)}return yV}var bV,RCe;function ntr(){if(RCe)return bV;RCe=1,bV=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return bV}var wV,MCe;function rtr(){if(MCe)return wV;MCe=1,wV=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return wV}var kV,OCe;function itr(){if(OCe)return kV;OCe=1,kV=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,c){return c<=0?/[]/.source:u.replace(//g,function(){return r(u,c-1)})}var i=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:i,greedy:!0,inside:{escape:a}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return i.source}),8),l={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":l,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":l,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:o},l.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return kV}var _V,LCe;function atr(){if(LCe)return _V;LCe=1;var e=E0e();_V=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return _V}var CV,BCe;function otr(){if(BCe)return CV;BCe=1,CV=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return CV}var EV,PCe;function str(){if(PCe)return EV;PCe=1,EV=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return EV}var xV,FCe;function ltr(){if(FCe)return xV;FCe=1,xV=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return xV}var SV,NCe;function utr(){if(NCe)return SV;NCe=1,SV=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return SV}var AV,$Ce;function ctr(){if($Ce)return AV;$Ce=1,AV=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return TV}var DV,UCe;function x0e(){if(UCe)return DV;UCe=1,DV=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,i=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(i+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return DV}var IV,jCe;function dz(){if(jCe)return IV;jCe=1,IV=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.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:/[{}]/};function i(o,s){var l="doc-comment",u=n.languages[o];if(u){var c=u[l];if(!c){var f={};f[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",f),c=u[l]}if(c instanceof RegExp&&(c=u[l]={pattern:c}),Array.isArray(c))for(var d=0,h=c.length;d)?|/.source.replace(//g,function(){return o});i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:a,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:a,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}(r)}return RV}var MV,qCe;function htr(){if(qCe)return MV;qCe=1,MV=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return MV}var OV,WCe;function ptr(){if(WCe)return OV;WCe=1,OV=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return OV}var LV,GCe;function gtr(){if(GCe)return LV;GCe=1,LV=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return LV}var BV,VCe;function mtr(){if(VCe)return BV;VCe=1,BV=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,i=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(i.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:i,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};a.interpolation.inside.content.inside=o})(t)}return BV}var PV,KCe;function vtr(){if(KCe)return PV;KCe=1,PV=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.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"}]});function r(u,c){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.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"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\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 i=["function","function-variable","method","method-variable","property-access"],a=0;a=T.length)return;var I=M[D];if(typeof I=="string"||typeof I.content=="string"){var B=T[w],N=typeof I=="string"?I:I.content,O=N.indexOf(B);if(O!==-1){++w;var R=N.substring(0,O),P=f(k[B]),H=N.substring(O+B.length),F=[];if(R&&F.push(R),F.push(P),H){var q=[H];L(q),F.push.apply(F,q)}typeof I=="string"?(M.splice.apply(M,[D,1].concat(F)),D+=F.length-1):I.content=F}}else{var V=I.content;Array.isArray(V)?L(V):L([V])}}}return L(S),new n.Token(m,S,"language-"+m,g)}var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(g){if(!(g.language in h))return;function b(m){for(var v=0,w=m.length;v]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.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 n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.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:r}}}}),n.languages.ts=n.languages.typescript})(t)}return NV}var $V,JCe;function btr(){if(JCe)return $V;JCe=1;var e=dz(),t=S0e();$V=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=i.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\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:a,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 o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:a.string,number:a.number,boolean:a.boolean,keyword:i.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:a,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(r)}return $V}var zV,ZCe;function A0e(){if(ZCe)return zV;ZCe=1,zV=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return zV}var UV,QCe;function wtr(){if(QCe)return UV;QCe=1;var e=A0e();UV=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var i=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(i.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:i,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return UV}var jV,eEe;function ktr(){if(eEe)return jV;eEe=1;var e=A0e();jV=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return jV}var HV,tEe;function _tr(){if(tEe)return HV;tEe=1,HV=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return HV}var qV,nEe;function oYe(){if(nEe)return qV;nEe=1,qV=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(c,f){return c=c.replace(//g,function(){return i}).replace(//g,function(){return a}).replace(//g,function(){return o}),RegExp(c,f)}o=s(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var l=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(l).join(""):""},u=function(c){for(var f=[],d=0;d0&&f[f.length-1].tagName===l(h.content[0].content[1])&&f.pop():h.content[h.content.length-1].content==="/>"||f.push({tagName:l(h.content[0].content[1]),openedBraces:0}):f.length>0&&h.type==="punctuation"&&h.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?f[f.length-1].openedBraces--:p=!0),(p||typeof h=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var g=l(h);d0&&(typeof c[d-1]=="string"||c[d-1].type==="plain-text")&&(g=l(c[d-1])+g,c.splice(d-1,1),d--),c[d]=new n.Token("plain-text",g,null,g)}h.content&&typeof h.content!="string"&&u(h.content)}};n.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||u(c.tokens)})})(t)}return qV}var WV,rEe;function Ctr(){if(rEe)return WV;rEe=1,WV=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return WV}var GV,iEe;function Etr(){if(iEe)return GV;iEe=1,GV=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return GV}var VV,aEe;function xtr(){if(aEe)return VV;aEe=1,VV=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return VV}var KV,oEe;function Str(){if(oEe)return KV;oEe=1,KV=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.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 n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return KV}var YV,sEe;function Atr(){if(sEe)return YV;sEe=1,YV=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function i(a,o){return RegExp(a.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:i(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:i(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:i(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:i(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:i(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:i(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:i(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:i(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return YV}var XV,lEe;function Ttr(){if(lEe)return XV;lEe=1,XV=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return XV}var JV,uEe;function Dtr(){if(uEe)return JV;uEe=1,JV=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,i={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:i,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:i,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return JV}var ZV,cEe;function hz(){if(cEe)return ZV;cEe=1;var e=Mf();ZV=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var i=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,a=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:i,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:a,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},c=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:c,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:i,string:c,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:a,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(f){if(/<\?/.test(f.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(f,"php",d)}}),r.hooks.add("after-tokenize",function(f){r.languages["markup-templating"].tokenizePlaceholders(f,"php")})}(n)}return ZV}var QV,fEe;function Itr(){if(fEe)return QV;fEe=1;var e=Mf(),t=hz();QV=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}};var a=i.languages.extend("markup",{});i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},a.tag),i.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=a}}),i.hooks.add("after-tokenize",function(o){i.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return QV}var eK,dEe;function Rtr(){if(dEe)return eK;dEe=1,eK=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return eK}var tK,hEe;function T0e(){if(hEe)return tK;hEe=1,tK=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(i){for(var a in i)i[a]=i[a].replace(/<[\w\s]+>/g,function(o){return"(?:"+i[o].trim()+")"});return i[a]}})(t)}return tK}var nK,pEe;function Mtr(){if(pEe)return nK;pEe=1;var e=T0e();nK=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var i=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,a=5,o=0;o/g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return nK}var rK,gEe;function Otr(){if(gEe)return rK;gEe=1;var e=Mf();rK=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var i=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,a=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",i,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!a)return a=!0,!0;if(l==="endraw")return a=!1,!0}return!a})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return rK}var iK,mEe;function Ltr(){if(mEe)return iK;mEe=1,iK=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(g){return RegExp(/(\()/.source+"(?:"+g+")"+/(?=[\s\)])/.source)}function i(g){return RegExp(/([\s([])/.source+"(?:"+g+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+a,s="(\\()",l="(?=\\))",u="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,f={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:i(/nil|t/.source),lookbehind:!0},number:{pattern:i(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},d={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+c+/\)/.source),inside:f},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:f},h="\\S+(?:\\s+\\S+)*",p={pattern:RegExp(s+c+l),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:d},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:d},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:d},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};f.lambda.inside.arguments=p,f.defun.inside.arguments=n.util.clone(p),f.defun.inside.arguments.inside.sublist=p,n.languages.lisp=f,n.languages.elisp=f,n.languages.emacs=f,n.languages["emacs-lisp"]=f})(t)}return iK}var aK,vEe;function Btr(){if(vEe)return aK;vEe=1,aK=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return aK}var oK,yEe;function Ptr(){if(yEe)return oK;yEe=1,oK=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return oK}var sK,bEe;function Ftr(){if(bEe)return sK;bEe=1,sK=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return sK}var lK,wEe;function Ntr(){if(wEe)return lK;wEe=1,lK=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return lK}var uK,kEe;function $tr(){if(kEe)return uK;kEe=1,uK=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return uK}var cK,_Ee;function ztr(){if(_Ee)return cK;_Ee=1,cK=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return cK}var fK,CEe;function Utr(){if(CEe)return fK;CEe=1,fK=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(d){return d=d.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.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:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:n.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:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\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:i(/!?\[(?:(?!\]))+\](?:\([^\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(d){["url","bold","italic","strike","code-snippet"].forEach(function(h){d!==h&&(n.languages.markdown[d].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function h(p){if(!(!p||typeof p=="string"))for(var g=0,b=p.length;g",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function f(d){var h=d.replace(l,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,g){if(g=g.toLowerCase(),g[0]==="#"){var b;return g[1]==="x"?b=parseInt(g.slice(2),16):b=Number(g.slice(1)),c(b)}else{var m=u[g];return m||p}}),h}n.languages.md=n.languages.markdown})(t)}return fK}var dK,EEe;function jtr(){if(EEe)return dK;EEe=1,dK=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return dK}var hK,xEe;function Htr(){if(xEe)return hK;xEe=1,hK=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return hK}var pK,SEe;function qtr(){if(SEe)return pK;SEe=1,pK=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return pK}var gK,AEe;function Wtr(){if(AEe)return gK;AEe=1,gK=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return gK}var mK,TEe;function Gtr(){if(TEe)return mK;TEe=1,mK=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return mK}var vK,DEe;function Vtr(){if(DEe)return vK;DEe=1,vK=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],i=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var a="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+a+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+i.join("|")+")\\b"),alias:"keyword"}})})(t)}return vK}var yK,IEe;function Ktr(){if(IEe)return yK;IEe=1,yK=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return yK}var bK,REe;function Ytr(){if(REe)return bK;REe=1,bK=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return bK}var wK,MEe;function Xtr(){if(MEe)return wK;MEe=1,wK=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return wK}var kK,OEe;function Jtr(){if(OEe)return kK;OEe=1,kK=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.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/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return kK}var _K,LEe;function Ztr(){if(LEe)return _K;LEe=1,_K=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return _K}var CK,BEe;function Qtr(){if(BEe)return CK;BEe=1,CK=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,i={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:i}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:i},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var c=o(u);a(c)||(u.type="bad-line",u.content=c)}})});function a(s){for(var l="[]{}",u=[],c=0;c=&|$!]/}}return EK}var xK,FEe;function tnr(){if(FEe)return xK;FEe=1,xK=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return xK}var SK,NEe;function nnr(){if(NEe)return SK;NEe=1,SK=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return SK}var AK,$Ee;function rnr(){if($Ee)return AK;$Ee=1,AK=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return AK}var TK,zEe;function inr(){if(zEe)return TK;zEe=1,TK=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return TK}var DK,UEe;function anr(){if(UEe)return DK;UEe=1,DK=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return DK}var IK,jEe;function onr(){if(jEe)return IK;jEe=1,IK=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return IK}var RK,HEe;function snr(){if(HEe)return RK;HEe=1;var e=A3();RK=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.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 n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return RK}var MK,qEe;function lnr(){if(qEe)return MK;qEe=1,MK=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return MK}var OK,WEe;function unr(){if(WEe)return OK;WEe=1;var e=A3();OK=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var i={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",i),r.languages.cpp&&(i["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",i))}(n)}return OK}var LK,GEe;function cnr(){if(GEe)return LK;GEe=1,LK=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return LK}var BK,VEe;function fnr(){if(VEe)return BK;VEe=1,BK=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return BK}var PK,KEe;function dnr(){if(KEe)return PK;KEe=1,PK=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return PK}var FK,YEe;function hnr(){if(YEe)return FK;YEe=1,FK=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return FK}var NK,XEe;function pnr(){if(XEe)return NK;XEe=1,NK=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return NK}var $K,JEe;function gnr(){if(JEe)return $K;JEe=1,$K=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,i=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),a=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return i}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return i}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return i})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=a[l],s},{});a["class-name"].forEach(function(s){s.inside=o})})(t)}return $K}var zK,ZEe;function mnr(){if(ZEe)return zK;ZEe=1,zK=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return zK}var UK,QEe;function vnr(){if(QEe)return UK;QEe=1,UK=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return UK}var jK,e5e;function ynr(){if(e5e)return jK;e5e=1,jK=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return jK}var HK,t5e;function bnr(){if(t5e)return HK;t5e=1;var e=hz();HK=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return HK}var qK,n5e;function wnr(){if(n5e)return qK;n5e=1;var e=hz(),t=dz();qK=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;i.languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+a+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+a),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}(r)}return qK}var WK,r5e;function knr(){if(r5e)return WK;r5e=1;var e=_0e();WK=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return WK}var GK,i5e;function _nr(){if(i5e)return GK;i5e=1,GK=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return GK}var VK,a5e;function Cnr(){if(a5e)return VK;a5e=1,VK=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return VK}var KK,o5e;function Enr(){if(o5e)return KK;o5e=1,KK=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return KK}var YK,s5e;function xnr(){if(s5e)return YK;s5e=1,YK=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return YK}var XK,l5e;function Snr(){if(l5e)return XK;l5e=1,XK=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],i=["on","ignoring","group_right","group_left","by","without"],a=["offset"],o=r.concat(i,a);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+i.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return XK}var JK,u5e;function Anr(){if(u5e)return JK;u5e=1,JK=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return JK}var ZK,c5e;function Tnr(){if(c5e)return ZK;c5e=1,ZK=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return ZK}var QK,f5e;function Dnr(){if(f5e)return QK;f5e=1,QK=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return QK}var eY,d5e;function Inr(){if(d5e)return eY;d5e=1,eY=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,i=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},o=0,s=i.length;o",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:n.languages[l.language]}}})}n.languages.insertBefore("pug","filter",a)})(t)}return eY}var tY,h5e;function Rnr(){if(h5e)return tY;h5e=1,tY=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return tY}var nY,p5e;function Mnr(){if(p5e)return nY;p5e=1,nY=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],i=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(a){var o=a;if(typeof a!="string"&&(o=a.alias,a=a.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(i.replace("",a.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return nY}var rY,g5e;function Onr(){if(g5e)return rY;g5e=1,rY=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return rY}var iY,m5e;function Lnr(){if(m5e)return iY;m5e=1;var e=E0e();iY=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return iY}var aY,v5e;function Bnr(){if(v5e)return aY;v5e=1,aY=e,e.displayName="python",e.aliases=["py"];function e(t){t.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:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return aY}var oY,y5e;function Pnr(){if(y5e)return oY;y5e=1,oY=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return oY}var sY,b5e;function Fnr(){if(b5e)return sY;b5e=1,sY=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,i=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return i}),o=0;o<2;o++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return sY}var lY,w5e;function Nnr(){if(w5e)return lY;w5e=1,lY=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return lY}var uY,k5e;function $nr(){if(k5e)return uY;k5e=1,uY=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(p,g){return p.replace(/<<(\d+)>>/g,function(b,m){return"(?:"+g[+m]+")"})}function i(p,g,b){return RegExp(r(p,g),b||"")}function a(p,g){for(var b=0;b>/g,function(){return"(?:"+p+")"});return p.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(p){return"\\b(?:"+p.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,c=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),f={keyword:l,punctuation:/[<>()?,.:[\]]/},d=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[d]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:f},{pattern:i(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:f}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var h=a(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[d]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:i(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[h]),greedy:!0,inside:{interpolation:{pattern:i(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[h]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return uY}var cY,_5e;function znr(){if(_5e)return cY;_5e=1,cY=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return cY}var fY,C5e;function Unr(){if(C5e)return fY;C5e=1;var e=T0e();fY=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return fY}var dY,E5e;function jnr(){if(E5e)return dY;E5e=1,dY=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.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/}),t.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 t.languages.reason.function}return dY}var hY,x5e;function Hnr(){if(x5e)return hY;x5e=1,hY=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=/\\(?: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]|.)/,a={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+i.source+")",l=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.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:l,inside:{escape:i,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:i}},"special-escape":r,"char-set":a,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:i,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return pY}var gY,A5e;function Wnr(){if(A5e)return gY;A5e=1,gY=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return gY}var mY,T5e;function Gnr(){if(T5e)return mY;T5e=1,mY=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return mY}var vY,D5e;function Vnr(){if(D5e)return vY;D5e=1,vY=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return vY}var yY,I5e;function Knr(){if(I5e)return yY;I5e=1,yY=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return yY}var bY,R5e;function Ynr(){if(R5e)return bY;R5e=1,bY=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},i={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(u,c){var f={};f["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var d in c)f[d]=c[d];return f.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},f.variable=i,f.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:f}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:i}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:i}};n.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":s,documentation:o,property:l}),keywords:a("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:a("Tasks",{"task-name":s,documentation:o,property:l}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return bY}var wY,M5e;function Xnr(){if(M5e)return wY;M5e=1,wY=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return wY}var kY,O5e;function Jnr(){if(O5e)return kY;O5e=1,kY=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,i=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},l={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(r),greedy:!0},f=/[$%@.(){}\[\];,\\]/,d={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:d,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:i,"numeric-constant":a,punctuation:f,string:c},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},g={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},b={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},v=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,w={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return v}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return v}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:d,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:i,"numeric-constant":a,punctuation:f,string:c}},k={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":b,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:k,"submit-statement":m,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:k,"submit-statement":m,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":w,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:l,keyword:k,function:d,format:p,altformat:g,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:h},"macro-keyword":s,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:i,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":w,comment:u,function:d,format:p,altformat:g,"numeric-constant":a,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:c,step:l,keyword:k,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:i,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}})(t)}return kY}var _Y,L5e;function Znr(){if(L5e)return _Y;L5e=1,_Y=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,i=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:i}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:i,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return _Y}var CY,B5e;function Qnr(){if(B5e)return CY;B5e=1;var e=x0e();CY=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return CY}var EY,P5e;function err(){if(P5e)return EY;P5e=1,EY=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return EY}var xY,F5e;function trr(){if(F5e)return xY;F5e=1;var e=rYe();xY=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var i=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return i}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return xY}var SY,N5e;function nrr(){if(N5e)return SY;N5e=1,SY=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return SY}var AY,$5e;function rrr(){if($5e)return AY;$5e=1,AY=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return AY}var TY,z5e;function irr(){if(z5e)return TY;z5e=1;var e=Mf();TY=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var i=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,a=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return i.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",a,function(c){return c===l&&(u=!1),u?!1:(c===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return TY}var DY,U5e;function arr(){if(U5e)return DY;U5e=1,DY=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return DY}var IY,j5e;function orr(){if(j5e)return IY;j5e=1,IY=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return IY}var RY,H5e;function srr(){if(H5e)return RY;H5e=1,RY=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return RY}var MY,q5e;function lrr(){if(q5e)return MY;q5e=1;var e=Mf();MY=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var i=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:i,greedy:!0},number:a,punctuation:/[\[\].?]/}},string:{pattern:i,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:a,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",c=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(f){return f===u&&(c=!1),c?!1:(f===l&&(c=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return MY}var OY,W5e;function sYe(){if(W5e)return OY;W5e=1,OY=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return OY}var LY,G5e;function urr(){if(G5e)return LY;G5e=1;var e=sYe();LY=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return LY}var BY,V5e;function crr(){if(V5e)return BY;V5e=1,BY=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return BY}var PY,K5e;function frr(){if(K5e)return PY;K5e=1,PY=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return PY}var FY,Y5e;function drr(){if(Y5e)return FY;Y5e=1,FY=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return FY}var NY,X5e;function hrr(){if(X5e)return NY;X5e=1,NY=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return NY}var $Y,J5e;function prr(){if(J5e)return $Y;J5e=1,$Y=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},a={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?: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|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)\b/i,{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:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:i,punctuation:/[{}()\[\];:,]/};a.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:a.interpolation}},rest:a}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return $Y}var zY,Z5e;function grr(){if(Z5e)return zY;Z5e=1,zY=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,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:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return zY}var UY,Q5e;function mrr(){if(Q5e)return UY;Q5e=1,UY=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},i=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+i+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+i+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+i),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return UY}var jY,e9e;function D0e(){if(e9e)return jY;e9e=1,jY=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(a,o,s){return{pattern:RegExp("<#"+a+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+a+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function i(a){var o=n.languages[a],s="language-"+a;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:i})})(t)}return jY}var HY,t9e;function vrr(){if(t9e)return HY;t9e=1;var e=D0e(),t=cz();HY=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return HY}var qY,n9e;function lYe(){if(n9e)return qY;n9e=1;var e=iYe();qY=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return qY}var WY,r9e;function yrr(){if(r9e)return WY;r9e=1;var e=D0e(),t=lYe();WY=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return WY}var GY,i9e;function uYe(){if(i9e)return GY;i9e=1,GY=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+i.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+i.source+")?)",o=/(?:[^\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}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(u,c){c=(c||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return u});return RegExp(f,c)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\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:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return GY}var VY,a9e;function brr(){if(a9e)return VY;a9e=1;var e=uYe();VY=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return VY}var KY,o9e;function wrr(){if(o9e)return KY;o9e=1,KY=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return KY}var YY,s9e;function krr(){if(s9e)return YY;s9e=1,YY=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,i=/\)|\((?![^|()\n]+\))/.source;function a(d,h){return RegExp(d.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+i+")"}),h||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=l.inline.inside;c.bold.inside=u,c.italic.inside=u,c.inserted.inside=u,c.deleted.inside=u,c.span.inside=u;var f=l.table.inside;f.inline=u.inline,f.link=u.link,f.image=u.image,f.footnote=u.footnote,f.acronym=u.acronym,f.mark=u.mark})(t)}return YY}var XY,l9e;function _rr(){if(l9e)return XY;l9e=1,XY=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function i(a){return a.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(i(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(i(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return XY}var JY,u9e;function Crr(){if(u9e)return JY;u9e=1,JY=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return JY}var ZY,c9e;function Err(){if(c9e)return ZY;c9e=1;var e=oYe(),t=S0e();ZY=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",a),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var o=i.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return ZY}var QY,f9e;function xrr(){if(f9e)return QY;f9e=1;var e=Mf();QY=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(i){var a=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(i,"tt2",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"tt2")})}(n)}return QY}var eX,d9e;function Srr(){if(d9e)return eX;d9e=1;var e=Mf();eX=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var i=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",i)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return eX}var tX,h9e;function Arr(){if(h9e)return tX;h9e=1,tX=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return tX}var nX,p9e;function Trr(){if(p9e)return nX;p9e=1,nX=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return nX}var rX,g9e;function Drr(){if(g9e)return rX;g9e=1,rX=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return rX}var iX,m9e;function Irr(){if(m9e)return iX;m9e=1,iX=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return iX}var aX,v9e;function Rrr(){if(v9e)return aX;v9e=1,aX=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return aX}var oX,y9e;function Mrr(){if(y9e)return oX;y9e=1,oX=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return oX}var sX,b9e;function Orr(){if(b9e)return sX;b9e=1,sX=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return sX}var lX,w9e;function Lrr(){if(w9e)return lX;w9e=1,lX=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return lX}var uX,k9e;function Brr(){if(k9e)return uX;k9e=1,uX=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return uX}var cX,_9e;function Prr(){if(_9e)return cX;_9e=1,cX=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return cX}var fX,C9e;function Frr(){if(C9e)return fX;C9e=1,fX=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return fX}var dX,E9e;function Nrr(){if(E9e)return dX;E9e=1,dX=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return dX}var hX,x9e;function $rr(){if(x9e)return hX;x9e=1,hX=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return hX}var pX,S9e;function zrr(){if(S9e)return pX;S9e=1,pX=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,i="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+i),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+i),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+i),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(i+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(a[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return pX}var gX,A9e;function Urr(){if(A9e)return gX;A9e=1,gX=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return gX}var mX,T9e;function jrr(){if(T9e)return mX;T9e=1,mX=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return mX}var vX,D9e;function Hrr(){if(D9e)return vX;D9e=1,vX=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return vX}var yX,I9e;function qrr(){if(I9e)return yX;I9e=1,yX=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return yX}var bX,R9e;function Wrr(){if(R9e)return bX;R9e=1,bX=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,l){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":l})}var i=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:i}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:i}};r("csharp",a),r("fsharp",a),r("vbnet",o)})(t)}return bX}var wX,M9e;function Grr(){if(M9e)return wX;M9e=1,wX=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return wX}var kX,O9e;function Vrr(){if(O9e)return kX;O9e=1,kX=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(a){return typeof a=="string"?a:typeof a.content=="string"?a.content:a.content.map(r).join("")},i=function(a){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:r(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!a[s+1]||a[s+1].type!=="punctuation"||a[s+1].content!=="{")&&(!a[s-1]||a[s-1].type!=="plain-text"||a[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var c=r(l);s0&&(typeof a[s-1]=="string"||a[s-1].type==="plain-text")&&(c=r(a[s-1])+c,a.splice(s-1,1),s--),/^\s+$/.test(c)?a[s]=c:a[s]=new n.Token("plain-text",c,null,c)}l.content&&typeof l.content!="string"&&i(l.content)}};n.hooks.add("after-tokenize",function(a){a.language==="xquery"&&i(a.tokens)})})(t)}return kX}var _X,L9e;function Krr(){if(L9e)return _X;L9e=1,_X=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return _X}var CX,B9e;function Yrr(){if(B9e)return CX;B9e=1,CX=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(c){return function(){return c}}var i=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+i.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),l=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(a)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:i,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(c){c.inside===null&&(c.inside=n.languages.zig)})})(t)}return CX}var ft=rQn,Xrr=ft;ft.register(pQn());ft.register(gQn());ft.register(mQn());ft.register(vQn());ft.register(yQn());ft.register(bQn());ft.register(wQn());ft.register(kQn());ft.register(_Qn());ft.register(CQn());ft.register(EQn());ft.register(xQn());ft.register(SQn());ft.register(AQn());ft.register(TQn());ft.register(DQn());ft.register(IQn());ft.register(RQn());ft.register(MQn());ft.register(OQn());ft.register(LQn());ft.register(BQn());ft.register(rYe());ft.register(iYe());ft.register(PQn());ft.register(FQn());ft.register(NQn());ft.register($Qn());ft.register(zQn());ft.register(UQn());ft.register(jQn());ft.register(HQn());ft.register(qQn());ft.register(WQn());ft.register(A3());ft.register(GQn());ft.register(VQn());ft.register(KQn());ft.register(YQn());ft.register(XQn());ft.register(JQn());ft.register(ZQn());ft.register(QQn());ft.register(eer());ft.register(C0e());ft.register(ter());ft.register(cz());ft.register(ner());ft.register(rer());ft.register(ier());ft.register(aer());ft.register(oer());ft.register(ser());ft.register(ler());ft.register(uer());ft.register(cer());ft.register(fer());ft.register(der());ft.register(her());ft.register(per());ft.register(ger());ft.register(mer());ft.register(ver());ft.register(yer());ft.register(ber());ft.register(wer());ft.register(ker());ft.register(_er());ft.register(Cer());ft.register(Eer());ft.register(xer());ft.register(Ser());ft.register(Aer());ft.register(Ter());ft.register(Der());ft.register(Ier());ft.register(Rer());ft.register(Mer());ft.register(Oer());ft.register(Ler());ft.register(Ber());ft.register(Per());ft.register(Fer());ft.register(Ner());ft.register($er());ft.register(zer());ft.register(Uer());ft.register(jer());ft.register(Her());ft.register(qer());ft.register(Wer());ft.register(Ger());ft.register(Ver());ft.register(Ker());ft.register(E0e());ft.register(Yer());ft.register(Xer());ft.register(Jer());ft.register(Zer());ft.register(Qer());ft.register(etr());ft.register(ttr());ft.register(ntr());ft.register(rtr());ft.register(itr());ft.register(atr());ft.register(otr());ft.register(str());ft.register(ltr());ft.register(utr());ft.register(ctr());ft.register(ftr());ft.register(x0e());ft.register(dtr());ft.register(dz());ft.register(htr());ft.register(ptr());ft.register(gtr());ft.register(mtr());ft.register(vtr());ft.register(ytr());ft.register(btr());ft.register(A0e());ft.register(wtr());ft.register(ktr());ft.register(_tr());ft.register(oYe());ft.register(Ctr());ft.register(Etr());ft.register(xtr());ft.register(Str());ft.register(Atr());ft.register(Ttr());ft.register(Dtr());ft.register(Itr());ft.register(Rtr());ft.register(Mtr());ft.register(Otr());ft.register(Ltr());ft.register(Btr());ft.register(Ptr());ft.register(Ftr());ft.register(Ntr());ft.register(aYe());ft.register($tr());ft.register(ztr());ft.register(Utr());ft.register(Mf());ft.register(jtr());ft.register(Htr());ft.register(qtr());ft.register(Wtr());ft.register(Gtr());ft.register(Vtr());ft.register(Ktr());ft.register(Ytr());ft.register(Xtr());ft.register(Jtr());ft.register(Ztr());ft.register(Qtr());ft.register(enr());ft.register(tnr());ft.register(nnr());ft.register(rnr());ft.register(inr());ft.register(anr());ft.register(onr());ft.register(snr());ft.register(lnr());ft.register(unr());ft.register(cnr());ft.register(fnr());ft.register(dnr());ft.register(hnr());ft.register(pnr());ft.register(gnr());ft.register(mnr());ft.register(vnr());ft.register(ynr());ft.register(bnr());ft.register(hz());ft.register(wnr());ft.register(knr());ft.register(_nr());ft.register(Cnr());ft.register(Enr());ft.register(xnr());ft.register(Snr());ft.register(Anr());ft.register(Tnr());ft.register(Dnr());ft.register(Inr());ft.register(Rnr());ft.register(Mnr());ft.register(Onr());ft.register(Lnr());ft.register(Bnr());ft.register(Pnr());ft.register(Fnr());ft.register(Nnr());ft.register($nr());ft.register(znr());ft.register(Unr());ft.register(jnr());ft.register(Hnr());ft.register(qnr());ft.register(Wnr());ft.register(Gnr());ft.register(Vnr());ft.register(Knr());ft.register(Ynr());ft.register(fz());ft.register(Xnr());ft.register(Jnr());ft.register(Znr());ft.register(Qnr());ft.register(T0e());ft.register(err());ft.register(trr());ft.register(nrr());ft.register(rrr());ft.register(irr());ft.register(arr());ft.register(orr());ft.register(srr());ft.register(lrr());ft.register(urr());ft.register(crr());ft.register(frr());ft.register(_0e());ft.register(drr());ft.register(hrr());ft.register(prr());ft.register(grr());ft.register(mrr());ft.register(vrr());ft.register(D0e());ft.register(yrr());ft.register(brr());ft.register(wrr());ft.register(krr());ft.register(_rr());ft.register(Crr());ft.register(Err());ft.register(xrr());ft.register(sYe());ft.register(Srr());ft.register(S0e());ft.register(Arr());ft.register(Trr());ft.register(Drr());ft.register(Irr());ft.register(Rrr());ft.register(Mrr());ft.register(lYe());ft.register(Orr());ft.register(Lrr());ft.register(Brr());ft.register(Prr());ft.register(Frr());ft.register(Nrr());ft.register($rr());ft.register(zrr());ft.register(Urr());ft.register(jrr());ft.register(Hrr());ft.register(qrr());ft.register(Wrr());ft.register(Grr());ft.register(Vrr());ft.register(uYe());ft.register(Krr());ft.register(Yrr());const Jrr=ls(Xrr);var cYe=WKn(Jrr,hQn);cYe.supportedLanguages=KKn;const fYe=cYe,dYe={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},hYe={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},Zrr=90;var mh=(e=>(e.MARKDOWN="text/markdown",e.MILKDOWN="text/milkdown",e.PLAIN="text/plain",e.WHITEBOARD="application/vnd.pairy.whiteboard",e.CELL="application/cell",e.JSON="application/json",e))(mh||{});const jS=new E7("$$codepair$$currentPage"),wB=jS.getValue({docKey:"",recents:[]});wB.recents=wB.recents?.map(e=>({id:`${Date.now()}`,...e}));const pYe=y1({name:"current",initialState:wB,reducers:{saveLastDocument(e,t){jS.setValue({...wB,...t.payload})},addRecentPage(e,t){const{docKey:n="",page:r}=t.payload;if(!r.name||r.fileLink==="/calendar")return;let i=n;i||(i=r.fileLink.split("/").slice(1).join("/")),!e.recents?.find(o=>o.fileLink===r.fileLink)&&(e.recents?.length||(e.recents=[]),e.recents.unshift({...r,docKey:i}),e.recents=e.recents.slice(0,10),jS.setValue(e))},removeCurrentPage(e,t){const{id:n}=t.payload;e.recents=e.recents?.filter(r=>r.id!==n)||[],jS.setValue(e)}}});function Qrr(e){return()=>jS.getValue({docKey:e})}const{saveLastDocument:eir,addRecentPage:I0e,removeCurrentPage:tir}=pYe.actions,nir=pYe.reducer;function Jv(){return Math.random().toString(36).substring(7)}const kB=[t3t[500],hg[500],u3t[500],o3t[500],G4t[500],i3t[500],z4t[500],_b[500],UUe[500],j4t[500],kb[500],J4t[500],Q4t[500],Ek[500],F4t[500],wb[500],bb[500],K4t[500]],gYe=["black","white","white","white","black","white","white","white","white","white","black","black","black","black","white","white","white","white"];function Zv(){const e=Math.floor(Math.random()*kB.length);return{background:kB[e],font:gYe[e]}}function ese(e){const t=kB.findIndex(n=>n===e);return{background:kB[t],font:gYe[t]}}function rir(e){return e==="calendar"||e==="last day"||e==="last week"||e==="last month"}var mYe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(as,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",u="day",c="week",f="month",d="quarter",h="year",p="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var O=["th","st","nd","rd"],R=N%100;return"["+N+(O[(R-20)%10]||O[R]||O[0])+"]"}},w=function(N,O,R){var P=String(N);return!P||P.length>=O?N:""+Array(O+1-P.length).join(R)+N},k={s:w,z:function(N){var O=-N.utcOffset(),R=Math.abs(O),P=Math.floor(R/60),H=R%60;return(O<=0?"+":"-")+w(P,2,"0")+":"+w(H,2,"0")},m:function N(O,R){if(O.date()1)return N(q[0])}else{var V=O.name;S[V]=O,H=V}return!P&&H&&(E=H),H||!P&&E},M=function(N,O){if(T(N))return N.clone();var R=typeof O=="object"?O:{};return R.date=N,R.args=arguments,new I(R)},D=k;D.l=L,D.i=T,D.w=function(N,O){return M(N,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var I=function(){function N(R){this.$L=L(R.locale,null,!0),this.parse(R)}var O=N.prototype;return O.parse=function(R){this.$d=function(P){var H=P.date,F=P.utc;if(H===null)return new Date(NaN);if(D.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var q=H.match(b);if(q){var V=q[2]-1||0,X=(q[7]||"0").substring(0,3);return F?new Date(Date.UTC(q[1],V,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)):new Date(q[1],V,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)}}return new Date(H)}(R),this.$x=R.x||{},this.init()},O.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},O.$utils=function(){return D},O.isValid=function(){return this.$d.toString()!==g},O.isSame=function(R,P){var H=M(R);return this.startOf(P)<=H&&H<=this.endOf(P)},O.isAfter=function(R,P){return M(R){n(i,e,r+1),i&&pg(i,i.links||[],n,r+1)})}function bp(e,t){let n=null;return pg(null,e.filter(Boolean),r=>{t(r)&&(n=r)}),n}function air(e){window.navigator.clipboard.writeText(e)}const of=new E7("$$codepair$$link"),Jp=of.getValue({favorite:[],links:[],workspace:Rg,workspaceList:[{name:"Default",id:Rg}],opens:{}});Jp.workspaceList.find(e=>e.id===Rg)||(Jp.workspaceList.unshift({name:"Default",id:Rg}),Jp.workspace=Rg);Jp.groups?.length>0&&(Jp.links=Jp.groups||[]);delete Jp.groups;pg(Jp,Jp.links,e=>{const t=e;e&&(t.workspace||(t.workspace=Rg),t.type==="link"?(t.fileLink?.startsWith("/")!==!0&&(t.fileLink=`/${t.fileLink}`),t.createdAt||(t.createdAt=Ll(+t.id).format("YYYYMMDDHHmm")),t.color||(t.color=Zv().background)):t.linkType==="pairy"&&(t.fileLink?.startsWith("/")!==!0&&(t.fileLink=`/${t.fileLink}`),t.type="link"))});const vYe=y1({name:"link",initialState:Jp,reducers:{refreshStorage(e){const t=of.getValue(e);e.favorite=t.favorite,e.links=t.groups||[],e.links=e.links.concat(t.links||[]),e.opens=t.opens,e.workspace=t.workspace},toggleFavorite(e,t){const{payload:n}=t;let r=e.favorite||[];if(typeof n=="string")r.includes(n)?r=r.filter(i=>i!==n):r.push(n);else if(typeof n=="object"){const{fileLink:i}=n;r.some(a=>a?.fileLink===i)?r=r.filter(a=>a?.fileLink===i):r.push(n)}e.favorite=r,of.setValue(e)},toggleLinkOpen(e,t){const{payload:n}=t;e.opens[n]=!e.opens[n],e.opens[n]===!1&&delete e.opens[n],of.setValue(e)},removeLink(e,t){const{id:n}=t.payload;pg(e,e.links,(r,i)=>{r.id===n&&(i.links=i.links?.filter(a=>a.id!==n)||[])}),of.setValue(e)},setLinkOpens(e,t){e.opens={...e.opens,...t.payload},of.setValue(e)},setLinkName(e,t){const{id:n,name:r}=t.payload,i=bp(e.links,a=>a.id===n);i&&(i.name=r),of.setValue(e)},setLinkEmoji(e,t){const{id:n,emoji:r}=t.payload,i=bp(e.links,a=>a.id===n);i&&(i.emoji=r),of.setValue(e)},updateLinkNameWithHeading(e,t){const{docKey:n}=t.payload,r=Ide(1)[0];if(!r)return;const i=`/${n.split("codepairs-")[1]}`,a=bp(e.links,o=>o.fileLink?.startsWith(i));a&&(a.name=r.text),of.setValue(e)},newLink(e,t){const{parentId:n,name:r,fileLink:i,mimeType:a="text/markdown",color:o,emoji:s}=t.payload,l={type:"link",id:`${Date.now()}`,createdAt:Ll().format("YYYYMMDDHHmm"),name:r,mimeType:a,fileLink:i||`/${Jv()}`,linkType:"pairy",links:[],tags:[],workspace:e.workspace,color:o,emoji:s};let u=!1;pg(e,e.links,c=>{const f=c;c.id===n&&(f.links||(f.links=[]),f.links=[...f.links,l],e.opens[n]=!0,u=!0)}),u||(e.links=[...e.links,l]),of.setValue(e)},moveLink(e,t){const{id:n,updateAction:r,targetId:i}=t.payload;let a=null,o=null;if(pg(e,e.links,(s,l)=>{s.id===n&&(a=l,o=s)}),a){const s=a;s.links=s.links?.filter(l=>l.id!==n)||[]}if(r==="after"){let s="";pg(e,e.links,(u,c)=>{u.id===i&&(s=c.id)});const l=bp(e.links,u=>u.id===s)||e;if(l){const u=l.links.findIndex(c=>c.id===i);l.links.splice(u+1,0,o)}}else if(r==="before"){let s="";pg(e,e.links,(u,c)=>{u.id===i&&(s=c.id)});const l=bp(e.links,u=>u.id===s)||e;if(l){const u=l.links.findIndex(c=>c.id===i);l.links.splice(u,0,o)}}else if(r==="child"){const s=bp(e.links,l=>l.id===i);s&&(s.links=[...s.links||[],o])}of.setValue(e)},newLinkByCurrentPage(e,t){const{parentId:n,name:r,fileLink:i,emoji:a}=t.payload,o=bp(e.links,s=>s.id===n);o&&(o.links||(o.links=[]),o.links=[...o.links,{type:"link",id:`${Date.now()}`,name:r,fileLink:i,linkType:"pairy",links:[],tags:[],emoji:a,createdAt:Ll().format("YYYYMMDDHHmm"),color:o.color||Zv().background,workspace:e.workspace}],e.opens[n]=!0),of.setValue(e),window.history.pushState({},"",i)},addWorkspace(e,t){const{workspace:n}=t.payload,r={id:`${Date.now()}`,name:n};e.workspaceList=[...e.workspaceList,r],e.workspace=r.id,of.setValue(e)},setCurrentWorkspace(e,t){const{workspace:n}=t.payload;e.workspace=n,of.setValue(e)},copyMarkdownTextForGroup(e,t){const n=t.payload,r=bp(e.links,i=>i.id===n);if(r){const i=[{item:r,depth:0}];pg(r,r.links,(o,s,l)=>{i.push({item:o,depth:l})});const a=i.map(o=>{const{item:s,depth:l}=o,u=" ".repeat(l);return s.type==="group"?`${u}- ${s.name}`:`${u}- [${s.name}](${s.fileLink})`}).join(` -`);air(a)}}}});function oir(e=10){return t=>(t.currentState.recents?.map(n=>bp(t.linkState.links,r=>n.fileLink.includes(r.fileLink)))||[]).filter(n=>n?.fileLink).reverse().filter((n,r)=>rn?.fileLink===t)}function yYe(e,t,n=0,r=Rg){t.type==="link"&&e.push({depth:n,type:t.type,id:t.id,name:t.name,fileLink:`${t.fileLink}`,createdAt:t.createdAt,color:t.color,linkType:t.linkType,emoji:t.emoji}),t.links&&t.links.forEach(i=>yYe(e,i,n+1,r))}function sir(e){const t=[];return e.linkState.links.forEach(n=>yYe(t,n,0,e.linkState.workspace)),t}function bYe(e,t){return n=>{let r=sir(n);if(t==="day")r=r.filter(i=>i.createdAt?.startsWith(e));else if(t==="week"){const i=Ll(e,"YYYYMMDD"),a=i.startOf("week").format("YYYYMMDDHHmm"),o=i.endOf("week").format("YYYYMMDDHHmm");r=r.filter(s=>a<=`${s.createdAt}`&&`${s.createdAt}`<=o)}else if(t==="month"){const i=Ll(e,"YYYYMMDD"),a=i.startOf("month").format("YYYYMMDDHHmm"),o=i.endOf("month").format("YYYYMMDDHHmm");r=r.filter(s=>a<=`${s.createdAt}`&&`${s.createdAt}`<=o)}return r.sort((i,a)=>`${i.createdAt}`>`${a.createdAt}`?1:-1)}}const{refreshStorage:lir,copyMarkdownTextForGroup:uir,toggleFavorite:wYe,toggleLinkOpen:kYe,setLinkName:ZA,setLinkEmoji:cir,updateLinkNameWithHeading:fir,newLinkByCurrentPage:_Ye,removeLink:R0e,newLink:A6,moveLink:EX,setLinkOpens:dir,setCurrentWorkspace:hir,addWorkspace:pir}=vYe.actions,gir=vYe.reducer,mir={tokenize:vir,concrete:!0},P9e={tokenize:yir,partial:!0};function vir(e,t,n){const r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return s;function s(v){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(v)}function l(v){return v===36?(e.consume(v),o++,l):o<2?n(v):(e.exit("mathFlowFenceSequence"),Wi(e,u,"whitespace")(v))}function u(v){return v===null||Ur(v)?f(v):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(v))}function c(v){return v===null||Ur(v)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(v)):v===36?n(v):(e.consume(v),c)}function f(v){return e.exit("mathFlowFence"),r.interrupt?t(v):e.attempt(P9e,d,b)(v)}function d(v){return e.attempt({tokenize:m,partial:!0},b,h)(v)}function h(v){return(a?Wi(e,p,"linePrefix",a+1):p)(v)}function p(v){return v===null?b(v):Ur(v)?e.attempt(P9e,d,b)(v):(e.enter("mathFlowValue"),g(v))}function g(v){return v===null||Ur(v)?(e.exit("mathFlowValue"),p(v)):(e.consume(v),g)}function b(v){return e.exit("mathFlow"),t(v)}function m(v,w,k){let E=0;return Wi(v,S,"linePrefix",4);function S(M){return v.enter("mathFlowFence"),v.enter("mathFlowFenceSequence"),T(M)}function T(M){return M===36?(E++,v.consume(M),T):E15?u="…"+o.slice(i-15,i):u=o.slice(0,i);var c;s+15":">","<":"<",'"':""","'":"'"},Tir=/[&><"']/g;function Dir(e){return String(e).replace(Tir,t=>Air[t])}var EYe=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Iir=function(t){var n=EYe(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},Rir=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Mir=function(t){var n=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return n!=null?n[1]:"_relative"},di={contains:Cir,deflt:Eir,escape:Dir,hyphenate:Sir,getBaseElem:EYe,isCharacterBox:Iir,protocolFromUrl:Mir},pO={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Oir(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let M0e=class{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in pO)if(pO.hasOwnProperty(n)){var r=pO[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:Oir(r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Nn("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=di.protocolFromUrl(t.url));var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}};class Qm{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Sp[Lir[this.id]]}sub(){return Sp[Bir[this.id]]}fracNum(){return Sp[Pir[this.id]]}fracDen(){return Sp[Fir[this.id]]}cramp(){return Sp[Nir[this.id]]}text(){return Sp[$ir[this.id]]}isTight(){return this.size>=2}}var O0e=0,_B=1,T6=2,Mg=3,QA=4,lh=5,v_=6,xc=7,Sp=[new Qm(O0e,0,!1),new Qm(_B,0,!0),new Qm(T6,1,!1),new Qm(Mg,1,!0),new Qm(QA,2,!1),new Qm(lh,2,!0),new Qm(v_,3,!1),new Qm(xc,3,!0)],Lir=[QA,lh,QA,lh,v_,xc,v_,xc],Bir=[lh,lh,lh,lh,xc,xc,xc,xc],Pir=[T6,Mg,QA,lh,v_,xc,v_,xc],Fir=[Mg,Mg,lh,lh,xc,xc,xc,xc],Nir=[_B,_B,Mg,Mg,lh,lh,xc,xc],$ir=[O0e,_B,T6,Mg,T6,Mg,T6,Mg],ri={DISPLAY:Sp[O0e],TEXT:Sp[T6],SCRIPT:Sp[QA],SCRIPTSCRIPT:Sp[v_]},tse=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function zir(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var gO=[];tse.forEach(e=>e.blocks.forEach(t=>gO.push(...t)));function xYe(e){for(var t=0;t=gO[t]&&e<=gO[t+1])return!0;return!1}var tk=80,Uir=function(t,n){return"M95,"+(622+t+n)+` +|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(i)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return SG}var AG,$_e;function Mf(){if($_e)return AG;$_e=1,AG=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(i,a){return"___"+i.toUpperCase()+a+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(i,a,o,s){if(i.language===a){var l=i.tokenStack=[];i.code=i.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var c=l.length,f;i.code.indexOf(f=r(a,c))!==-1;)++c;return l[c]=u,f}),i.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(i,a){if(i.language!==a||!i.tokenStack)return;i.grammar=n.languages[a];var o=0,s=Object.keys(i.tokenStack);function l(u){for(var c=0;c=s.length);c++){var f=u[c];if(typeof f=="string"||f.content&&typeof f.content=="string"){var d=s[o],h=i.tokenStack[d],p=typeof f=="string"?f:f.content,g=r(a,d),b=p.indexOf(g);if(b>-1){++o;var m=p.substring(0,b),v=new n.Token(a,n.tokenize(h,i.grammar),"language-"+a,h),w=p.substring(b+g.length),k=[];m&&k.push.apply(k,l([m])),k.push(v),w&&k.push.apply(k,l([w])),typeof f=="string"?u.splice.apply(u,[c,1].concat(k)):f.content=k}}else f.content&&l(f.content)}return u}l(i.tokens)}}})})(t)}return AG}var TG,z_e;function per(){if(z_e)return TG;z_e=1;var e=Mf();TG=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var i=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,a=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"django",i)}),r.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){a.buildPlaceholders(o,"jinja2",i)}),r.hooks.add("after-tokenize",function(o){a.tokenizePlaceholders(o,"jinja2")})}(n)}return TG}var DG,U_e;function ger(){if(U_e)return DG;U_e=1,DG=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return DG}var IG,j_e;function mer(){if(j_e)return IG;j_e=1,IG=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,i=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),a=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return a}),s={pattern:RegExp(a),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(c,f){return c=c.replace(//g,function(){return o}).replace(//g,function(){return i}),RegExp(c,f)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},n.languages.dockerfile=n.languages.docker})(t)}return IG}var RG,H_e;function ver(){if(H_e)return RG;H_e=1,RG=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",i={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function a(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:a(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:i},"attr-value":{pattern:a(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:i},"attr-name":{pattern:a(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:i},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:a(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:i},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return RG}var MG,q_e;function yer(){if(q_e)return MG;q_e=1,MG=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return MG}var OG,W_e;function ber(){if(W_e)return OG;W_e=1,OG=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return OG}var LG,G_e;function wer(){if(G_e)return LG;G_e=1,LG=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return LG}var BG,V_e;function ker(){if(V_e)return BG;V_e=1;var e=Mf();BG=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(i){var a=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(i,"ejs",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return BG}var PG,K_e;function _er(){if(K_e)return PG;K_e=1,PG=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return PG}var FG,Y_e;function Cer(){if(Y_e)return FG;Y_e=1,FG=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return FG}var NG,X_e;function Eer(){if(X_e)return NG;X_e=1;var e=fz(),t=Mf();NG=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:i.languages.ruby}},i.hooks.add("before-tokenize",function(a){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"erb",o)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"erb")})}(r)}return NG}var $G,J_e;function xer(){if(J_e)return $G;J_e=1,$G=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return $G}var zG,Z_e;function aYe(){if(Z_e)return zG;Z_e=1,zG=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return zG}var UG,Q_e;function Ser(){if(Q_e)return UG;Q_e=1;var e=aYe(),t=Mf();UG=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:i.languages.lua}},i.hooks.add("before-tokenize",function(a){var o=/<%[\s\S]+?%>/g;i.languages["markup-templating"].buildPlaceholders(a,"etlua",o)}),i.hooks.add("after-tokenize",function(a){i.languages["markup-templating"].tokenizePlaceholders(a,"etlua")})}(r)}return UG}var jG,eCe;function Aer(){if(eCe)return jG;eCe=1,jG=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return jG}var HG,tCe;function Ter(){if(tCe)return HG;tCe=1,HG=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},i={number:/\\[^\s']|%\w/},a={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:i.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:i},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:i}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:i}},o=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(c){return new RegExp("(^|\\s)(?:"+c.map(o).join("|")+")(?=\\s|$)")},l={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(l).forEach(function(c){a[c].pattern=s(l[c])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];a.combinators.pattern=s(u),n.languages.factor=a})(t)}return HG}var qG,nCe;function Der(){if(nCe)return qG;nCe=1,qG=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return WG}var GG,iCe;function Rer(){if(iCe)return GG;iCe=1,GG=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.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 n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.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})})(t)}return GG}var VG,aCe;function Mer(){if(aCe)return VG;aCe=1,VG=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return VG}var KG,oCe;function Oer(){if(oCe)return KG;oCe=1,KG=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return KG}var YG,sCe;function Ler(){if(sCe)return YG;sCe=1;var e=Mf();YG=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var i=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,a=0;a<2;a++)i=i.replace(//g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return i})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return i}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return YG}var XG,lCe;function Ber(){if(lCe)return XG;lCe=1,XG=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return XG}var JG,uCe;function Per(){if(uCe)return JG;uCe=1,JG=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return JG}var ZG,cCe;function Fer(){if(cCe)return ZG;cCe=1,ZG=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return ZG}var QG,fCe;function Ner(){if(fCe)return QG;fCe=1,QG=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return QG}var eV,dCe;function $er(){if(dCe)return eV;dCe=1,eV=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return eV}var tV,hCe;function zer(){if(hCe)return tV;hCe=1,tV=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return tV}var nV,pCe;function Uer(){if(pCe)return nV;pCe=1;var e=A3();nV=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return nV}var rV,gCe;function jer(){if(gCe)return rV;gCe=1,rV=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return rV}var iV,mCe;function Her(){if(mCe)return iV;mCe=1,iV=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return iV}var aV,vCe;function qer(){if(vCe)return aV;vCe=1,aV=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return aV}var oV,yCe;function Wer(){if(yCe)return oV;yCe=1,oV=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.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/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return oV}var sV,bCe;function Ger(){if(bCe)return sV;bCe=1,sV=e,e.displayName="graphql",e.aliases=[];function e(t){t.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:t.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+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var i=r.tokens.filter(function(m){return typeof m!="string"&&m.type!=="comment"&&m.type!=="scalar"}),a=0;function o(m){return i[a+m]}function s(m,v){v=v||0;for(var w=0;w0)){var p=l(/^\{$/,/^\}$/);if(p===-1)continue;for(var g=a;g=0&&u(b,"variable-input")}}}}})}return sV}var lV,wCe;function Ver(){if(wCe)return lV;wCe=1,lV=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var i=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(i=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:i,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return lV}var uV,kCe;function Ker(){if(kCe)return uV;kCe=1;var e=fz();uV=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var i="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",a=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=a.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(i){var a=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(i,"handlebars",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return cV}var fV,CCe;function E0e(){if(CCe)return fV;CCe=1,fV=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|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|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return fV}var dV,ECe;function Xer(){if(ECe)return dV;ECe=1,dV=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return dV}var hV,xCe;function Jer(){if(xCe)return hV;xCe=1,hV=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return hV}var pV,SCe;function Zer(){if(SCe)return pV;SCe=1;var e=A3();pV=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return pV}var gV,ACe;function Qer(){if(ACe)return gV;ACe=1,gV=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return gV}var mV,TCe;function etr(){if(TCe)return mV;TCe=1,mV=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return mV}var vV,DCe;function ttr(){if(DCe)return vV;DCe=1,vV=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return vV}var yV,ICe;function ntr(){if(ICe)return yV;ICe=1,yV=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(f){return RegExp("(^(?:"+f+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var i=n.languages,a={"application/javascript":i.javascript,"application/json":i.json||i.javascript,"application/xml":i.xml,"text/xml":i.xml,"text/html":i.html,"text/css":i.css,"text/plain":i.plain},o={"application/json":!0,"application/xml":!0};function s(f){var d=f.replace(/^[a-z]+\//,""),h="\\w+/(?:[\\w.-]+\\+)+"+d+"(?![+\\w.-])";return"(?:"+f+"|"+h+")"}var l;for(var u in a)if(a[u]){l=l||{};var c=o[u]?s(u):u;l[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[u]}}l&&n.languages.insertBefore("http","header",l)})(t)}return yV}var bV,RCe;function rtr(){if(RCe)return bV;RCe=1,bV=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return bV}var wV,MCe;function itr(){if(MCe)return wV;MCe=1,wV=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return wV}var kV,OCe;function atr(){if(OCe)return kV;OCe=1,kV=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,c){return c<=0?/[]/.source:u.replace(//g,function(){return r(u,c-1)})}var i=/'[{}:=,](?:[^']|'')*'(?!')/,a={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:i,greedy:!0,inside:{escape:a}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return i.source}),8),l={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":l,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":l,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:a,string:o},l.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return kV}var _V,LCe;function otr(){if(LCe)return _V;LCe=1;var e=E0e();_V=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return _V}var CV,BCe;function str(){if(BCe)return CV;BCe=1,CV=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return CV}var EV,PCe;function ltr(){if(PCe)return EV;PCe=1,EV=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return EV}var xV,FCe;function utr(){if(FCe)return xV;FCe=1,xV=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return xV}var SV,NCe;function ctr(){if(NCe)return SV;NCe=1,SV=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return SV}var AV,$Ce;function ftr(){if($Ce)return AV;$Ce=1,AV=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return TV}var DV,UCe;function x0e(){if(UCe)return DV;UCe=1,DV=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,i=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(i+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(i+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:a.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":a,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return DV}var IV,jCe;function dz(){if(jCe)return IV;jCe=1,IV=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.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:/[{}]/};function i(o,s){var l="doc-comment",u=n.languages[o];if(u){var c=u[l];if(!c){var f={};f[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",f),c=u[l]}if(c instanceof RegExp&&(c=u[l]={pattern:c}),Array.isArray(c))for(var d=0,h=c.length;d)?|/.source.replace(//g,function(){return o});i.languages.javadoc=i.languages.extend("javadoclike",{}),i.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:i.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:a,lookbehind:!0,inside:i.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:a,lookbehind:!0,inside:{tag:i.languages.markup.tag,entity:i.languages.markup.entity,code:{pattern:/.+/,inside:i.languages.java,alias:"language-java"}}}}}],tag:i.languages.markup.tag,entity:i.languages.markup.entity}),i.languages.javadoclike.addSupport("java",i.languages.javadoc)}(r)}return RV}var MV,qCe;function ptr(){if(qCe)return MV;qCe=1,MV=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return MV}var OV,WCe;function gtr(){if(WCe)return OV;WCe=1,OV=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return OV}var LV,GCe;function mtr(){if(GCe)return LV;GCe=1,LV=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return LV}var BV,VCe;function vtr(){if(VCe)return BV;VCe=1,BV=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,i=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),a={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(i.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:a},string:{pattern:i,lookbehind:!0,greedy:!0,inside:a},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};a.interpolation.inside.content.inside=o})(t)}return BV}var PV,KCe;function ytr(){if(KCe)return PV;KCe=1,PV=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.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"}]});function r(u,c){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.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"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\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 i=["function","function-variable","method","method-variable","property-access"],a=0;a=T.length)return;var I=M[D];if(typeof I=="string"||typeof I.content=="string"){var B=T[w],N=typeof I=="string"?I:I.content,O=N.indexOf(B);if(O!==-1){++w;var R=N.substring(0,O),P=f(k[B]),H=N.substring(O+B.length),F=[];if(R&&F.push(R),F.push(P),H){var q=[H];L(q),F.push.apply(F,q)}typeof I=="string"?(M.splice.apply(M,[D,1].concat(F)),D+=F.length-1):I.content=F}}else{var V=I.content;Array.isArray(V)?L(V):L([V])}}}return L(S),new n.Token(m,S,"language-"+m,g)}var h={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(g){if(!(g.language in h))return;function b(m){for(var v=0,w=m.length;v]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.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 n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.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:r}}}}),n.languages.ts=n.languages.typescript})(t)}return NV}var $V,JCe;function wtr(){if(JCe)return $V;JCe=1;var e=dz(),t=S0e();$V=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=i.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\s+)?)";i.languages.jsdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),i.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\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:a,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 o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:a.string,number:a.number,boolean:a.boolean,keyword:i.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:a,alias:"language-javascript"}}}}),i.languages.javadoclike.addSupport("javascript",i.languages.jsdoc)}(r)}return $V}var zV,ZCe;function A0e(){if(ZCe)return zV;ZCe=1,zV=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return zV}var UV,QCe;function ktr(){if(QCe)return UV;QCe=1;var e=A0e();UV=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var i=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(i.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:i,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return UV}var jV,eEe;function _tr(){if(eEe)return jV;eEe=1;var e=A0e();jV=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return jV}var HV,tEe;function Ctr(){if(tEe)return HV;tEe=1,HV=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return HV}var qV,nEe;function oYe(){if(nEe)return qV;nEe=1,qV=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(c,f){return c=c.replace(//g,function(){return i}).replace(//g,function(){return a}).replace(//g,function(){return o}),RegExp(c,f)}o=s(o).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var l=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(l).join(""):""},u=function(c){for(var f=[],d=0;d0&&f[f.length-1].tagName===l(h.content[0].content[1])&&f.pop():h.content[h.content.length-1].content==="/>"||f.push({tagName:l(h.content[0].content[1]),openedBraces:0}):f.length>0&&h.type==="punctuation"&&h.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&h.type==="punctuation"&&h.content==="}"?f[f.length-1].openedBraces--:p=!0),(p||typeof h=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var g=l(h);d0&&(typeof c[d-1]=="string"||c[d-1].type==="plain-text")&&(g=l(c[d-1])+g,c.splice(d-1,1),d--),c[d]=new n.Token("plain-text",g,null,g)}h.content&&typeof h.content!="string"&&u(h.content)}};n.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||u(c.tokens)})})(t)}return qV}var WV,rEe;function Etr(){if(rEe)return WV;rEe=1,WV=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return WV}var GV,iEe;function xtr(){if(iEe)return GV;iEe=1,GV=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return GV}var VV,aEe;function Str(){if(aEe)return VV;aEe=1,VV=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return VV}var KV,oEe;function Atr(){if(oEe)return KV;oEe=1,KV=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.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 n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return KV}var YV,sEe;function Ttr(){if(sEe)return YV;sEe=1,YV=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function i(a,o){return RegExp(a.replace(//g,r),o)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:i(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:i(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:i(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:i(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:i(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:i(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:i(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:i(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return YV}var XV,lEe;function Dtr(){if(lEe)return XV;lEe=1,XV=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return XV}var JV,uEe;function Itr(){if(uEe)return JV;uEe=1,JV=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,i={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:i,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:i,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return JV}var ZV,cEe;function hz(){if(cEe)return ZV;cEe=1;var e=Mf();ZV=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var i=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,a=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],o=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:i,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:a,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},c=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:c,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:i,string:c,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:a,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(f){if(/<\?/.test(f.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(f,"php",d)}}),r.hooks.add("after-tokenize",function(f){r.languages["markup-templating"].tokenizePlaceholders(f,"php")})}(n)}return ZV}var QV,fEe;function Rtr(){if(fEe)return QV;fEe=1;var e=Mf(),t=hz();QV=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){i.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:i.languages.php}};var a=i.languages.extend("markup",{});i.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:i.languages.php}}}}}},a.tag),i.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;i.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=a}}),i.hooks.add("after-tokenize",function(o){i.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return QV}var eK,dEe;function Mtr(){if(dEe)return eK;dEe=1,eK=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return eK}var tK,hEe;function T0e(){if(hEe)return tK;hEe=1,tK=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(i){for(var a in i)i[a]=i[a].replace(/<[\w\s]+>/g,function(o){return"(?:"+i[o].trim()+")"});return i[a]}})(t)}return tK}var nK,pEe;function Otr(){if(pEe)return nK;pEe=1;var e=T0e();nK=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var i=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,a=5,o=0;o/g,function(){return i});i=i.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return nK}var rK,gEe;function Ltr(){if(gEe)return rK;gEe=1;var e=Mf();rK=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var i=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,a=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",i,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!a)return a=!0,!0;if(l==="endraw")return a=!1,!0}return!a})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return rK}var iK,mEe;function Btr(){if(mEe)return iK;mEe=1,iK=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(g){return RegExp(/(\()/.source+"(?:"+g+")"+/(?=[\s\)])/.source)}function i(g){return RegExp(/([\s([])/.source+"(?:"+g+")"+/(?=[\s)])/.source)}var a=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+a,s="(\\()",l="(?=\\))",u="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,f={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+a+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+a),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+a),alias:"property"},splice:{pattern:RegExp(",@?"+a),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:i(/nil|t/.source),lookbehind:!0},number:{pattern:i(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+a),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(a)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+a+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+a),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+a+"(?:\\s+&?"+a+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+a),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},d={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+a+/\s+(?=\S)/.source+c+/\)/.source),inside:f},argument:{pattern:RegExp(/(^|[\s(])/.source+a),lookbehind:!0,alias:"variable"},rest:f},h="\\S+(?:\\s+\\S+)*",p={pattern:RegExp(s+c+l),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+h),inside:d},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+h),inside:d},keys:{pattern:RegExp("&key\\s+"+h+"(?:\\s+&allow-other-keys)?"),inside:d},argument:{pattern:RegExp(a),alias:"variable"},punctuation:/[()]/}};f.lambda.inside.arguments=p,f.defun.inside.arguments=n.util.clone(p),f.defun.inside.arguments.inside.sublist=p,n.languages.lisp=f,n.languages.elisp=f,n.languages.emacs=f,n.languages["emacs-lisp"]=f})(t)}return iK}var aK,vEe;function Ptr(){if(vEe)return aK;vEe=1,aK=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return aK}var oK,yEe;function Ftr(){if(yEe)return oK;yEe=1,oK=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return oK}var sK,bEe;function Ntr(){if(bEe)return sK;bEe=1,sK=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return sK}var lK,wEe;function $tr(){if(wEe)return lK;wEe=1,lK=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return lK}var uK,kEe;function ztr(){if(kEe)return uK;kEe=1,uK=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return uK}var cK,_Ee;function Utr(){if(_Ee)return cK;_Ee=1,cK=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return cK}var fK,CEe;function jtr(){if(CEe)return fK;CEe=1,fK=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(d){return d=d.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+d+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return a}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.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:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:n.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:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\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:i(/!?\[(?:(?!\]))+\](?:\([^\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(d){["url","bold","italic","strike","code-snippet"].forEach(function(h){d!==h&&(n.languages.markdown[d].inside.content.inside[h]=n.languages.markdown[h])})}),n.hooks.add("after-tokenize",function(d){if(d.language!=="markdown"&&d.language!=="md")return;function h(p){if(!(!p||typeof p=="string"))for(var g=0,b=p.length;g",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function f(d){var h=d.replace(l,"");return h=h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,g){if(g=g.toLowerCase(),g[0]==="#"){var b;return g[1]==="x"?b=parseInt(g.slice(2),16):b=Number(g.slice(1)),c(b)}else{var m=u[g];return m||p}}),h}n.languages.md=n.languages.markdown})(t)}return fK}var dK,EEe;function Htr(){if(EEe)return dK;EEe=1,dK=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return dK}var hK,xEe;function qtr(){if(xEe)return hK;xEe=1,hK=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return hK}var pK,SEe;function Wtr(){if(SEe)return pK;SEe=1,pK=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return pK}var gK,AEe;function Gtr(){if(AEe)return gK;AEe=1,gK=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return gK}var mK,TEe;function Vtr(){if(TEe)return mK;TEe=1,mK=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return mK}var vK,DEe;function Ktr(){if(DEe)return vK;DEe=1,vK=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],i=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(o){return o.replace("$","\\$")});var a="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+a+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+i.join("|")+")\\b"),alias:"keyword"}})})(t)}return vK}var yK,IEe;function Ytr(){if(IEe)return yK;IEe=1,yK=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return yK}var bK,REe;function Xtr(){if(REe)return bK;REe=1,bK=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return bK}var wK,MEe;function Jtr(){if(MEe)return wK;MEe=1,wK=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return wK}var kK,OEe;function Ztr(){if(OEe)return kK;OEe=1,kK=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.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/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return kK}var _K,LEe;function Qtr(){if(LEe)return _K;LEe=1,_K=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return _K}var CK,BEe;function enr(){if(BEe)return CK;BEe=1,CK=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,i={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:i}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:i},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var c=o(u);a(c)||(u.type="bad-line",u.content=c)}})});function a(s){for(var l="[]{}",u=[],c=0;c=&|$!]/}}return EK}var xK,FEe;function nnr(){if(FEe)return xK;FEe=1,xK=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return xK}var SK,NEe;function rnr(){if(NEe)return SK;NEe=1,SK=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return SK}var AK,$Ee;function inr(){if($Ee)return AK;$Ee=1,AK=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return AK}var TK,zEe;function anr(){if(zEe)return TK;zEe=1,TK=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return TK}var DK,UEe;function onr(){if(UEe)return DK;UEe=1,DK=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return DK}var IK,jEe;function snr(){if(jEe)return IK;jEe=1,IK=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return IK}var RK,HEe;function lnr(){if(HEe)return RK;HEe=1;var e=A3();RK=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.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 n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return RK}var MK,qEe;function unr(){if(qEe)return MK;qEe=1,MK=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return MK}var OK,WEe;function cnr(){if(WEe)return OK;WEe=1;var e=A3();OK=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var i={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",i),r.languages.cpp&&(i["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",i))}(n)}return OK}var LK,GEe;function fnr(){if(GEe)return LK;GEe=1,LK=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return LK}var BK,VEe;function dnr(){if(VEe)return BK;VEe=1,BK=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return BK}var PK,KEe;function hnr(){if(KEe)return PK;KEe=1,PK=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return PK}var FK,YEe;function pnr(){if(YEe)return FK;YEe=1,FK=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return FK}var NK,XEe;function gnr(){if(XEe)return NK;XEe=1,NK=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return NK}var $K,JEe;function mnr(){if(JEe)return $K;JEe=1,$K=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,i=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),a=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return i}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return i}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return i})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=a[l],s},{});a["class-name"].forEach(function(s){s.inside=o})})(t)}return $K}var zK,ZEe;function vnr(){if(ZEe)return zK;ZEe=1,zK=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return zK}var UK,QEe;function ynr(){if(QEe)return UK;QEe=1,UK=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return UK}var jK,e5e;function bnr(){if(e5e)return jK;e5e=1,jK=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return jK}var HK,t5e;function wnr(){if(t5e)return HK;t5e=1;var e=hz();HK=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return HK}var qK,n5e;function knr(){if(n5e)return qK;n5e=1;var e=hz(),t=dz();qK=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;i.languages.phpdoc=i.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+a+"\\s+)?)\\$\\w+"),lookbehind:!0}}),i.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+a),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),i.languages.javadoclike.addSupport("php",i.languages.phpdoc)}(r)}return qK}var WK,r5e;function _nr(){if(r5e)return WK;r5e=1;var e=_0e();WK=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return WK}var GK,i5e;function Cnr(){if(i5e)return GK;i5e=1,GK=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return GK}var VK,a5e;function Enr(){if(a5e)return VK;a5e=1,VK=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return VK}var KK,o5e;function xnr(){if(o5e)return KK;o5e=1,KK=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return KK}var YK,s5e;function Snr(){if(s5e)return YK;s5e=1,YK=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return YK}var XK,l5e;function Anr(){if(l5e)return XK;l5e=1,XK=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],i=["on","ignoring","group_right","group_left","by","without"],a=["offset"],o=r.concat(i,a);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+i.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+o.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return XK}var JK,u5e;function Tnr(){if(u5e)return JK;u5e=1,JK=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return JK}var ZK,c5e;function Dnr(){if(c5e)return ZK;c5e=1,ZK=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return ZK}var QK,f5e;function Inr(){if(f5e)return QK;f5e=1,QK=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return QK}var eY,d5e;function Rnr(){if(d5e)return eY;d5e=1,eY=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,i=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],a={},o=0,s=i.length;o",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:n.languages[l.language]}}})}n.languages.insertBefore("pug","filter",a)})(t)}return eY}var tY,h5e;function Mnr(){if(h5e)return tY;h5e=1,tY=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return tY}var nY,p5e;function Onr(){if(p5e)return nY;p5e=1,nY=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],i=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(a){var o=a;if(typeof a!="string"&&(o=a.alias,a=a.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(i.replace("",a.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return nY}var rY,g5e;function Lnr(){if(g5e)return rY;g5e=1,rY=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return rY}var iY,m5e;function Bnr(){if(m5e)return iY;m5e=1;var e=E0e();iY=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return iY}var aY,v5e;function Pnr(){if(v5e)return aY;v5e=1,aY=e,e.displayName="python",e.aliases=["py"];function e(t){t.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:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return aY}var oY,y5e;function Fnr(){if(y5e)return oY;y5e=1,oY=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return oY}var sY,b5e;function Nnr(){if(b5e)return sY;b5e=1,sY=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,i=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,a=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return i}),o=0;o<2;o++)a=a.replace(//g,function(){return a});a=a.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return sY}var lY,w5e;function $nr(){if(w5e)return lY;w5e=1,lY=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return lY}var uY,k5e;function znr(){if(k5e)return uY;k5e=1,uY=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(p,g){return p.replace(/<<(\d+)>>/g,function(b,m){return"(?:"+g[+m]+")"})}function i(p,g,b){return RegExp(r(p,g),b||"")}function a(p,g){for(var b=0;b>/g,function(){return"(?:"+p+")"});return p.replace(/<>/g,"[^\\s\\S]")}var o={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(p){return"\\b(?:"+p.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,c=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),f={keyword:l,punctuation:/[<>()?,.:[\]]/},d=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:i(/(^|[^$\\])<<0>>/.source,[d]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:i(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:f},{pattern:i(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:f}],keyword:l,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var h=a(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[d]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:i(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[h]),greedy:!0,inside:{interpolation:{pattern:i(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[h]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return uY}var cY,_5e;function Unr(){if(_5e)return cY;_5e=1,cY=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return cY}var fY,C5e;function jnr(){if(C5e)return fY;C5e=1;var e=T0e();fY=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return fY}var dY,E5e;function Hnr(){if(E5e)return dY;E5e=1,dY=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.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/}),t.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 t.languages.reason.function}return dY}var hY,x5e;function qnr(){if(x5e)return hY;x5e=1,hY=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},i=/\\(?: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]|.)/,a={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+i.source+")",l=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.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:l,inside:{escape:i,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:i}},"special-escape":r,"char-set":a,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:i,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return pY}var gY,A5e;function Gnr(){if(A5e)return gY;A5e=1,gY=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return gY}var mY,T5e;function Vnr(){if(T5e)return mY;T5e=1,mY=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return mY}var vY,D5e;function Knr(){if(D5e)return vY;D5e=1,vY=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return vY}var yY,I5e;function Ynr(){if(I5e)return yY;I5e=1,yY=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return yY}var bY,R5e;function Xnr(){if(R5e)return bY;R5e=1,bY=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},i={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function a(u,c){var f={};f["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var d in c)f[d]=c[d];return f.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},f.variable=i,f.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:f}}var o={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:i}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:i}};n.languages.robotframework={settings:a("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:a("Variables"),"test-cases":a("Test Cases",{"test-name":s,documentation:o,property:l}),keywords:a("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:a("Tasks",{"task-name":s,documentation:o,property:l}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return bY}var wY,M5e;function Jnr(){if(M5e)return wY;M5e=1,wY=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,i=0;i<2;i++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),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:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return wY}var kY,O5e;function Znr(){if(O5e)return kY;O5e=1,kY=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,i=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,a={pattern:RegExp(r+"[bx]"),alias:"number"},o={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},l={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(r),greedy:!0},f=/[$%@.(){}\[\];,\\]/,d={pattern:/%?\b\w+(?=\()/,alias:"keyword"},h={function:d,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:i,"numeric-constant":a,punctuation:f,string:c},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},g={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},b={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},v=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,w={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return v}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return v}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:d,"arg-value":h["arg-value"],operator:h.operator,argument:h.arg,number:i,"numeric-constant":a,punctuation:f,string:c}},k={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":b,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:k,"submit-statement":m,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:k,"submit-statement":m,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:h}},"cas-actions":w,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:h},step:l,keyword:k,function:d,format:p,altformat:g,"global-statements":b,number:i,"numeric-constant":a,punctuation:f,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:h},"macro-keyword":s,"macro-variable":o,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:i,"numeric-constant":a}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:h},"cas-actions":w,comment:u,function:d,format:p,altformat:g,"numeric-constant":a,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:c,step:l,keyword:k,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:i,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}})(t)}return kY}var _Y,L5e;function Qnr(){if(L5e)return _Y;L5e=1,_Y=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,i=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:i}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:i,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return _Y}var CY,B5e;function err(){if(B5e)return CY;B5e=1;var e=x0e();CY=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return CY}var EY,P5e;function trr(){if(P5e)return EY;P5e=1,EY=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return EY}var xY,F5e;function nrr(){if(F5e)return xY;F5e=1;var e=rYe();xY=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var i=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return i}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return xY}var SY,N5e;function rrr(){if(N5e)return SY;N5e=1,SY=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return SY}var AY,$5e;function irr(){if($5e)return AY;$5e=1,AY=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return AY}var TY,z5e;function arr(){if(z5e)return TY;z5e=1;var e=Mf();TY=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var i=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,a=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return i.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",a,function(c){return c===l&&(u=!1),u?!1:(c===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return TY}var DY,U5e;function orr(){if(U5e)return DY;U5e=1,DY=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return DY}var IY,j5e;function srr(){if(j5e)return IY;j5e=1,IY=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return IY}var RY,H5e;function lrr(){if(H5e)return RY;H5e=1,RY=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return RY}var MY,q5e;function urr(){if(q5e)return MY;q5e=1;var e=Mf();MY=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var i=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,a=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:i,greedy:!0},number:a,punctuation:/[\[\].?]/}},string:{pattern:i,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:a,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",c=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(f){return f===u&&(c=!1),c?!1:(f===l&&(c=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return MY}var OY,W5e;function sYe(){if(W5e)return OY;W5e=1,OY=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return OY}var LY,G5e;function crr(){if(G5e)return LY;G5e=1;var e=sYe();LY=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return LY}var BY,V5e;function frr(){if(V5e)return BY;V5e=1,BY=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return BY}var PY,K5e;function drr(){if(K5e)return PY;K5e=1,PY=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return PY}var FY,Y5e;function hrr(){if(Y5e)return FY;Y5e=1,FY=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return FY}var NY,X5e;function prr(){if(X5e)return NY;X5e=1,NY=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return NY}var $Y,J5e;function grr(){if(J5e)return $Y;J5e=1,$Y=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},a={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?: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|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)\b/i,{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:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:i,punctuation:/[{}()\[\];:,]/};a.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:a}},a.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:a}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:a}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:a}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:a}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:a.interpolation}},rest:a}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:a.interpolation,comment:a.comment,punctuation:/[{},]/}},func:a.func,string:a.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:a.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return $Y}var zY,Z5e;function mrr(){if(Z5e)return zY;Z5e=1,zY=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,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:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return zY}var UY,Q5e;function vrr(){if(Q5e)return UY;Q5e=1,UY=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},i=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+i+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+i+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+i),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return UY}var jY,e9e;function D0e(){if(e9e)return jY;e9e=1,jY=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(a,o,s){return{pattern:RegExp("<#"+a+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+a+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function i(a){var o=n.languages[a],s="language-"+a;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:i})})(t)}return jY}var HY,t9e;function yrr(){if(t9e)return HY;t9e=1;var e=D0e(),t=cz();HY=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return HY}var qY,n9e;function lYe(){if(n9e)return qY;n9e=1;var e=iYe();qY=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return qY}var WY,r9e;function brr(){if(r9e)return WY;r9e=1;var e=D0e(),t=lYe();WY=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return WY}var GY,i9e;function uYe(){if(i9e)return GY;i9e=1,GY=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,a="(?:"+i.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+i.source+")?)",o=/(?:[^\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}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(u,c){c=(c||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return u});return RegExp(f,c)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return a})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return a}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\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:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return GY}var VY,a9e;function wrr(){if(a9e)return VY;a9e=1;var e=uYe();VY=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return VY}var KY,o9e;function krr(){if(o9e)return KY;o9e=1,KY=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return KY}var YY,s9e;function _rr(){if(s9e)return YY;s9e=1,YY=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,i=/\)|\((?![^|()\n]+\))/.source;function a(d,h){return RegExp(d.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+i+")"}),h||"")}var o={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:a(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:a(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:a(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:a(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:a(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:a(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:a(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:a(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:a(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:a(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:a(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:a(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:a(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:a(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:a(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:a(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:a(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:a(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:a(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:a(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:a(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=l.inline.inside;c.bold.inside=u,c.italic.inside=u,c.inserted.inside=u,c.deleted.inside=u,c.span.inside=u;var f=l.table.inside;f.inline=u.inline,f.link=u.link,f.image=u.image,f.footnote=u.footnote,f.acronym=u.acronym,f.mark=u.mark})(t)}return YY}var XY,l9e;function Crr(){if(l9e)return XY;l9e=1,XY=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function i(a){return a.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(i(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(i(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return XY}var JY,u9e;function Err(){if(u9e)return JY;u9e=1,JY=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return JY}var ZY,c9e;function xrr(){if(c9e)return ZY;c9e=1;var e=oYe(),t=S0e();ZY=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(i){var a=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",a),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var o=i.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return ZY}var QY,f9e;function Srr(){if(f9e)return QY;f9e=1;var e=Mf();QY=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(i){var a=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(i,"tt2",a)}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"tt2")})}(n)}return QY}var eX,d9e;function Arr(){if(d9e)return eX;d9e=1;var e=Mf();eX=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var i=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",i)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return eX}var tX,h9e;function Trr(){if(h9e)return tX;h9e=1,tX=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return tX}var nX,p9e;function Drr(){if(p9e)return nX;p9e=1,nX=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return nX}var rX,g9e;function Irr(){if(g9e)return rX;g9e=1,rX=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return rX}var iX,m9e;function Rrr(){if(m9e)return iX;m9e=1,iX=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return iX}var aX,v9e;function Mrr(){if(v9e)return aX;v9e=1,aX=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return aX}var oX,y9e;function Orr(){if(y9e)return oX;y9e=1,oX=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return oX}var sX,b9e;function Lrr(){if(b9e)return sX;b9e=1,sX=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return sX}var lX,w9e;function Brr(){if(w9e)return lX;w9e=1,lX=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return lX}var uX,k9e;function Prr(){if(k9e)return uX;k9e=1,uX=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return uX}var cX,_9e;function Frr(){if(_9e)return cX;_9e=1,cX=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return cX}var fX,C9e;function Nrr(){if(C9e)return fX;C9e=1,fX=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return fX}var dX,E9e;function $rr(){if(E9e)return dX;E9e=1,dX=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return dX}var hX,x9e;function zrr(){if(x9e)return hX;x9e=1,hX=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return hX}var pX,S9e;function Urr(){if(S9e)return pX;S9e=1,pX=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,i="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,a={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+i),lookbehind:!0,inside:a},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+i),lookbehind:!0,inside:a},{pattern:RegExp(/(\btypedef\b\s*)/.source+i),lookbehind:!0,inside:a},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(i+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:a}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(a[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return pX}var gX,A9e;function jrr(){if(A9e)return gX;A9e=1,gX=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return gX}var mX,T9e;function Hrr(){if(T9e)return mX;T9e=1,mX=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return mX}var vX,D9e;function qrr(){if(D9e)return vX;D9e=1,vX=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return vX}var yX,I9e;function Wrr(){if(I9e)return yX;I9e=1,yX=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return yX}var bX,R9e;function Grr(){if(R9e)return bX;R9e=1,bX=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,l){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":l})}var i=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:i}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:i}};r("csharp",a),r("fsharp",a),r("vbnet",o)})(t)}return bX}var wX,M9e;function Vrr(){if(M9e)return wX;M9e=1,wX=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return wX}var kX,O9e;function Krr(){if(O9e)return kX;O9e=1,kX=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(a){return typeof a=="string"?a:typeof a.content=="string"?a.content:a.content.map(r).join("")},i=function(a){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:r(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!a[s+1]||a[s+1].type!=="punctuation"||a[s+1].content!=="{")&&(!a[s-1]||a[s-1].type!=="plain-text"||a[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var c=r(l);s0&&(typeof a[s-1]=="string"||a[s-1].type==="plain-text")&&(c=r(a[s-1])+c,a.splice(s-1,1),s--),/^\s+$/.test(c)?a[s]=c:a[s]=new n.Token("plain-text",c,null,c)}l.content&&typeof l.content!="string"&&i(l.content)}};n.hooks.add("after-tokenize",function(a){a.language==="xquery"&&i(a.tokens)})})(t)}return kX}var _X,L9e;function Yrr(){if(L9e)return _X;L9e=1,_X=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return _X}var CX,B9e;function Xrr(){if(B9e)return CX;B9e=1,CX=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(c){return function(){return c}}var i=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,a="\\b(?!"+i.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),l=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(a)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:i,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(c){c.inside===null&&(c.inside=n.languages.zig)})})(t)}return CX}var ft=iQn,Jrr=ft;ft.register(gQn());ft.register(mQn());ft.register(vQn());ft.register(yQn());ft.register(bQn());ft.register(wQn());ft.register(kQn());ft.register(_Qn());ft.register(CQn());ft.register(EQn());ft.register(xQn());ft.register(SQn());ft.register(AQn());ft.register(TQn());ft.register(DQn());ft.register(IQn());ft.register(RQn());ft.register(MQn());ft.register(OQn());ft.register(LQn());ft.register(BQn());ft.register(PQn());ft.register(rYe());ft.register(iYe());ft.register(FQn());ft.register(NQn());ft.register($Qn());ft.register(zQn());ft.register(UQn());ft.register(jQn());ft.register(HQn());ft.register(qQn());ft.register(WQn());ft.register(GQn());ft.register(A3());ft.register(VQn());ft.register(KQn());ft.register(YQn());ft.register(XQn());ft.register(JQn());ft.register(ZQn());ft.register(QQn());ft.register(eer());ft.register(ter());ft.register(C0e());ft.register(ner());ft.register(cz());ft.register(rer());ft.register(ier());ft.register(aer());ft.register(oer());ft.register(ser());ft.register(ler());ft.register(uer());ft.register(cer());ft.register(fer());ft.register(der());ft.register(her());ft.register(per());ft.register(ger());ft.register(mer());ft.register(ver());ft.register(yer());ft.register(ber());ft.register(wer());ft.register(ker());ft.register(_er());ft.register(Cer());ft.register(Eer());ft.register(xer());ft.register(Ser());ft.register(Aer());ft.register(Ter());ft.register(Der());ft.register(Ier());ft.register(Rer());ft.register(Mer());ft.register(Oer());ft.register(Ler());ft.register(Ber());ft.register(Per());ft.register(Fer());ft.register(Ner());ft.register($er());ft.register(zer());ft.register(Uer());ft.register(jer());ft.register(Her());ft.register(qer());ft.register(Wer());ft.register(Ger());ft.register(Ver());ft.register(Ker());ft.register(Yer());ft.register(E0e());ft.register(Xer());ft.register(Jer());ft.register(Zer());ft.register(Qer());ft.register(etr());ft.register(ttr());ft.register(ntr());ft.register(rtr());ft.register(itr());ft.register(atr());ft.register(otr());ft.register(str());ft.register(ltr());ft.register(utr());ft.register(ctr());ft.register(ftr());ft.register(dtr());ft.register(x0e());ft.register(htr());ft.register(dz());ft.register(ptr());ft.register(gtr());ft.register(mtr());ft.register(vtr());ft.register(ytr());ft.register(btr());ft.register(wtr());ft.register(A0e());ft.register(ktr());ft.register(_tr());ft.register(Ctr());ft.register(oYe());ft.register(Etr());ft.register(xtr());ft.register(Str());ft.register(Atr());ft.register(Ttr());ft.register(Dtr());ft.register(Itr());ft.register(Rtr());ft.register(Mtr());ft.register(Otr());ft.register(Ltr());ft.register(Btr());ft.register(Ptr());ft.register(Ftr());ft.register(Ntr());ft.register($tr());ft.register(aYe());ft.register(ztr());ft.register(Utr());ft.register(jtr());ft.register(Mf());ft.register(Htr());ft.register(qtr());ft.register(Wtr());ft.register(Gtr());ft.register(Vtr());ft.register(Ktr());ft.register(Ytr());ft.register(Xtr());ft.register(Jtr());ft.register(Ztr());ft.register(Qtr());ft.register(enr());ft.register(tnr());ft.register(nnr());ft.register(rnr());ft.register(inr());ft.register(anr());ft.register(onr());ft.register(snr());ft.register(lnr());ft.register(unr());ft.register(cnr());ft.register(fnr());ft.register(dnr());ft.register(hnr());ft.register(pnr());ft.register(gnr());ft.register(mnr());ft.register(vnr());ft.register(ynr());ft.register(bnr());ft.register(wnr());ft.register(hz());ft.register(knr());ft.register(_nr());ft.register(Cnr());ft.register(Enr());ft.register(xnr());ft.register(Snr());ft.register(Anr());ft.register(Tnr());ft.register(Dnr());ft.register(Inr());ft.register(Rnr());ft.register(Mnr());ft.register(Onr());ft.register(Lnr());ft.register(Bnr());ft.register(Pnr());ft.register(Fnr());ft.register(Nnr());ft.register($nr());ft.register(znr());ft.register(Unr());ft.register(jnr());ft.register(Hnr());ft.register(qnr());ft.register(Wnr());ft.register(Gnr());ft.register(Vnr());ft.register(Knr());ft.register(Ynr());ft.register(Xnr());ft.register(fz());ft.register(Jnr());ft.register(Znr());ft.register(Qnr());ft.register(err());ft.register(T0e());ft.register(trr());ft.register(nrr());ft.register(rrr());ft.register(irr());ft.register(arr());ft.register(orr());ft.register(srr());ft.register(lrr());ft.register(urr());ft.register(crr());ft.register(frr());ft.register(drr());ft.register(_0e());ft.register(hrr());ft.register(prr());ft.register(grr());ft.register(mrr());ft.register(vrr());ft.register(yrr());ft.register(D0e());ft.register(brr());ft.register(wrr());ft.register(krr());ft.register(_rr());ft.register(Crr());ft.register(Err());ft.register(xrr());ft.register(Srr());ft.register(sYe());ft.register(Arr());ft.register(S0e());ft.register(Trr());ft.register(Drr());ft.register(Irr());ft.register(Rrr());ft.register(Mrr());ft.register(Orr());ft.register(lYe());ft.register(Lrr());ft.register(Brr());ft.register(Prr());ft.register(Frr());ft.register(Nrr());ft.register($rr());ft.register(zrr());ft.register(Urr());ft.register(jrr());ft.register(Hrr());ft.register(qrr());ft.register(Wrr());ft.register(Grr());ft.register(Vrr());ft.register(Krr());ft.register(uYe());ft.register(Yrr());ft.register(Xrr());const Zrr=ls(Jrr);var cYe=GKn(Zrr,pQn);cYe.supportedLanguages=YKn;const fYe=cYe,dYe={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},hYe={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},Qrr=90;var mh=(e=>(e.MARKDOWN="text/markdown",e.MILKDOWN="text/milkdown",e.PLAIN="text/plain",e.WHITEBOARD="application/vnd.pairy.whiteboard",e.CELL="application/cell",e.JSON="application/json",e))(mh||{});const jS=new E7("$$codepair$$currentPage"),wB=jS.getValue({docKey:"",recents:[]});wB.recents=wB.recents?.map(e=>({id:`${Date.now()}`,...e}));const pYe=y1({name:"current",initialState:wB,reducers:{saveLastDocument(e,t){jS.setValue({...wB,...t.payload})},addRecentPage(e,t){const{docKey:n="",page:r}=t.payload;if(!r.name||r.fileLink==="/calendar")return;let i=n;i||(i=r.fileLink.split("/").slice(1).join("/")),!e.recents?.find(o=>o.fileLink===r.fileLink)&&(e.recents?.length||(e.recents=[]),e.recents.unshift({...r,docKey:i}),e.recents=e.recents.slice(0,10),jS.setValue(e))},removeCurrentPage(e,t){const{id:n}=t.payload;e.recents=e.recents?.filter(r=>r.id!==n)||[],jS.setValue(e)}}});function eir(e){return()=>jS.getValue({docKey:e})}const{saveLastDocument:tir,addRecentPage:I0e,removeCurrentPage:nir}=pYe.actions,rir=pYe.reducer;function Jv(){return Math.random().toString(36).substring(7)}const kB=[n3t[500],hg[500],c3t[500],s3t[500],V4t[500],a3t[500],U4t[500],_b[500],UUe[500],H4t[500],kb[500],Z4t[500],e3t[500],Ek[500],N4t[500],wb[500],bb[500],Y4t[500]],gYe=["black","white","white","white","black","white","white","white","white","white","black","black","black","black","white","white","white","white"];function Zv(){const e=Math.floor(Math.random()*kB.length);return{background:kB[e],font:gYe[e]}}function ese(e){const t=kB.findIndex(n=>n===e);return{background:kB[t],font:gYe[t]}}function iir(e){return e==="calendar"||e==="last day"||e==="last week"||e==="last month"}var mYe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(as,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="second",s="minute",l="hour",u="day",c="week",f="month",d="quarter",h="year",p="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var O=["th","st","nd","rd"],R=N%100;return"["+N+(O[(R-20)%10]||O[R]||O[0])+"]"}},w=function(N,O,R){var P=String(N);return!P||P.length>=O?N:""+Array(O+1-P.length).join(R)+N},k={s:w,z:function(N){var O=-N.utcOffset(),R=Math.abs(O),P=Math.floor(R/60),H=R%60;return(O<=0?"+":"-")+w(P,2,"0")+":"+w(H,2,"0")},m:function N(O,R){if(O.date()1)return N(q[0])}else{var V=O.name;S[V]=O,H=V}return!P&&H&&(E=H),H||!P&&E},M=function(N,O){if(T(N))return N.clone();var R=typeof O=="object"?O:{};return R.date=N,R.args=arguments,new I(R)},D=k;D.l=L,D.i=T,D.w=function(N,O){return M(N,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var I=function(){function N(R){this.$L=L(R.locale,null,!0),this.parse(R)}var O=N.prototype;return O.parse=function(R){this.$d=function(P){var H=P.date,F=P.utc;if(H===null)return new Date(NaN);if(D.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var q=H.match(b);if(q){var V=q[2]-1||0,X=(q[7]||"0").substring(0,3);return F?new Date(Date.UTC(q[1],V,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)):new Date(q[1],V,q[3]||1,q[4]||0,q[5]||0,q[6]||0,X)}}return new Date(H)}(R),this.$x=R.x||{},this.init()},O.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},O.$utils=function(){return D},O.isValid=function(){return this.$d.toString()!==g},O.isSame=function(R,P){var H=M(R);return this.startOf(P)<=H&&H<=this.endOf(P)},O.isAfter=function(R,P){return M(R){n(i,e,r+1),i&&pg(i,i.links||[],n,r+1)})}function bp(e,t){let n=null;return pg(null,e.filter(Boolean),r=>{t(r)&&(n=r)}),n}function oir(e){window.navigator.clipboard.writeText(e)}const of=new E7("$$codepair$$link"),Jp=of.getValue({favorite:[],links:[],workspace:Rg,workspaceList:[{name:"Default",id:Rg}],opens:{}});Jp.workspaceList.find(e=>e.id===Rg)||(Jp.workspaceList.unshift({name:"Default",id:Rg}),Jp.workspace=Rg);Jp.groups?.length>0&&(Jp.links=Jp.groups||[]);delete Jp.groups;pg(Jp,Jp.links,e=>{const t=e;e&&(t.workspace||(t.workspace=Rg),t.type==="link"?(t.fileLink?.startsWith("/")!==!0&&(t.fileLink=`/${t.fileLink}`),t.createdAt||(t.createdAt=Ll(+t.id).format("YYYYMMDDHHmm")),t.color||(t.color=Zv().background)):t.linkType==="pairy"&&(t.fileLink?.startsWith("/")!==!0&&(t.fileLink=`/${t.fileLink}`),t.type="link"))});const vYe=y1({name:"link",initialState:Jp,reducers:{refreshStorage(e){const t=of.getValue(e);e.favorite=t.favorite,e.links=t.groups||[],e.links=e.links.concat(t.links||[]),e.opens=t.opens,e.workspace=t.workspace},toggleFavorite(e,t){const{payload:n}=t;let r=e.favorite||[];if(typeof n=="string")r.includes(n)?r=r.filter(i=>i!==n):r.push(n);else if(typeof n=="object"){const{fileLink:i}=n;r.some(a=>a?.fileLink===i)?r=r.filter(a=>a?.fileLink===i):r.push(n)}e.favorite=r,of.setValue(e)},toggleLinkOpen(e,t){const{payload:n}=t;e.opens[n]=!e.opens[n],e.opens[n]===!1&&delete e.opens[n],of.setValue(e)},removeLink(e,t){const{id:n}=t.payload;pg(e,e.links,(r,i)=>{r.id===n&&(i.links=i.links?.filter(a=>a.id!==n)||[])}),of.setValue(e)},setLinkOpens(e,t){e.opens={...e.opens,...t.payload},of.setValue(e)},setLinkName(e,t){const{id:n,name:r}=t.payload,i=bp(e.links,a=>a.id===n);i&&(i.name=r),of.setValue(e)},setLinkEmoji(e,t){const{id:n,emoji:r}=t.payload,i=bp(e.links,a=>a.id===n);i&&(i.emoji=r),of.setValue(e)},updateLinkNameWithHeading(e,t){const{docKey:n}=t.payload,r=Ide(1)[0];if(!r)return;const i=`/${n.split("codepairs-")[1]}`,a=bp(e.links,o=>o.fileLink?.startsWith(i));a&&(a.name=r.text),of.setValue(e)},newLink(e,t){const{parentId:n,name:r,fileLink:i,mimeType:a="text/markdown",color:o,emoji:s}=t.payload,l={type:"link",id:`${Date.now()}`,createdAt:Ll().format("YYYYMMDDHHmm"),name:r,mimeType:a,fileLink:i||`/${Jv()}`,linkType:"pairy",links:[],tags:[],workspace:e.workspace,color:o,emoji:s};let u=!1;pg(e,e.links,c=>{const f=c;c.id===n&&(f.links||(f.links=[]),f.links=[...f.links,l],e.opens[n]=!0,u=!0)}),u||(e.links=[...e.links,l]),of.setValue(e)},moveLink(e,t){const{id:n,updateAction:r,targetId:i}=t.payload;let a=null,o=null;if(pg(e,e.links,(s,l)=>{s.id===n&&(a=l,o=s)}),a){const s=a;s.links=s.links?.filter(l=>l.id!==n)||[]}if(r==="after"){let s="";pg(e,e.links,(u,c)=>{u.id===i&&(s=c.id)});const l=bp(e.links,u=>u.id===s)||e;if(l){const u=l.links.findIndex(c=>c.id===i);l.links.splice(u+1,0,o)}}else if(r==="before"){let s="";pg(e,e.links,(u,c)=>{u.id===i&&(s=c.id)});const l=bp(e.links,u=>u.id===s)||e;if(l){const u=l.links.findIndex(c=>c.id===i);l.links.splice(u,0,o)}}else if(r==="child"){const s=bp(e.links,l=>l.id===i);s&&(s.links=[...s.links||[],o])}of.setValue(e)},newLinkByCurrentPage(e,t){const{parentId:n,name:r,fileLink:i,emoji:a}=t.payload,o=bp(e.links,s=>s.id===n);o&&(o.links||(o.links=[]),o.links=[...o.links,{type:"link",id:`${Date.now()}`,name:r,fileLink:i,linkType:"pairy",links:[],tags:[],emoji:a,createdAt:Ll().format("YYYYMMDDHHmm"),color:o.color||Zv().background,workspace:e.workspace}],e.opens[n]=!0),of.setValue(e),window.history.pushState({},"",i)},addWorkspace(e,t){const{workspace:n}=t.payload,r={id:`${Date.now()}`,name:n};e.workspaceList=[...e.workspaceList,r],e.workspace=r.id,of.setValue(e)},setCurrentWorkspace(e,t){const{workspace:n}=t.payload;e.workspace=n,of.setValue(e)},copyMarkdownTextForGroup(e,t){const n=t.payload,r=bp(e.links,i=>i.id===n);if(r){const i=[{item:r,depth:0}];pg(r,r.links,(o,s,l)=>{i.push({item:o,depth:l})});const a=i.map(o=>{const{item:s,depth:l}=o,u=" ".repeat(l);return s.type==="group"?`${u}- ${s.name}`:`${u}- [${s.name}](${s.fileLink})`}).join(` +`);oir(a)}}}});function sir(e=10){return t=>(t.currentState.recents?.map(n=>bp(t.linkState.links,r=>n.fileLink.includes(r.fileLink)))||[]).filter(n=>n?.fileLink).reverse().filter((n,r)=>rn?.fileLink===t)}function yYe(e,t,n=0,r=Rg){t.type==="link"&&e.push({depth:n,type:t.type,id:t.id,name:t.name,fileLink:`${t.fileLink}`,createdAt:t.createdAt,color:t.color,linkType:t.linkType,emoji:t.emoji}),t.links&&t.links.forEach(i=>yYe(e,i,n+1,r))}function lir(e){const t=[];return e.linkState.links.forEach(n=>yYe(t,n,0,e.linkState.workspace)),t}function bYe(e,t){return n=>{let r=lir(n);if(t==="day")r=r.filter(i=>i.createdAt?.startsWith(e));else if(t==="week"){const i=Ll(e,"YYYYMMDD"),a=i.startOf("week").format("YYYYMMDDHHmm"),o=i.endOf("week").format("YYYYMMDDHHmm");r=r.filter(s=>a<=`${s.createdAt}`&&`${s.createdAt}`<=o)}else if(t==="month"){const i=Ll(e,"YYYYMMDD"),a=i.startOf("month").format("YYYYMMDDHHmm"),o=i.endOf("month").format("YYYYMMDDHHmm");r=r.filter(s=>a<=`${s.createdAt}`&&`${s.createdAt}`<=o)}return r.sort((i,a)=>`${i.createdAt}`>`${a.createdAt}`?1:-1)}}const{refreshStorage:uir,copyMarkdownTextForGroup:cir,toggleFavorite:wYe,toggleLinkOpen:kYe,setLinkName:ZA,setLinkEmoji:fir,updateLinkNameWithHeading:dir,newLinkByCurrentPage:_Ye,removeLink:R0e,newLink:A6,moveLink:EX,setLinkOpens:hir,setCurrentWorkspace:pir,addWorkspace:gir}=vYe.actions,mir=vYe.reducer,vir={tokenize:yir,concrete:!0},P9e={tokenize:bir,partial:!0};function yir(e,t,n){const r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return s;function s(v){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(v)}function l(v){return v===36?(e.consume(v),o++,l):o<2?n(v):(e.exit("mathFlowFenceSequence"),Wi(e,u,"whitespace")(v))}function u(v){return v===null||Ur(v)?f(v):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(v))}function c(v){return v===null||Ur(v)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(v)):v===36?n(v):(e.consume(v),c)}function f(v){return e.exit("mathFlowFence"),r.interrupt?t(v):e.attempt(P9e,d,b)(v)}function d(v){return e.attempt({tokenize:m,partial:!0},b,h)(v)}function h(v){return(a?Wi(e,p,"linePrefix",a+1):p)(v)}function p(v){return v===null?b(v):Ur(v)?e.attempt(P9e,d,b)(v):(e.enter("mathFlowValue"),g(v))}function g(v){return v===null||Ur(v)?(e.exit("mathFlowValue"),p(v)):(e.consume(v),g)}function b(v){return e.exit("mathFlow"),t(v)}function m(v,w,k){let E=0;return Wi(v,S,"linePrefix",4);function S(M){return v.enter("mathFlowFence"),v.enter("mathFlowFenceSequence"),T(M)}function T(M){return M===36?(E++,v.consume(M),T):E15?u="…"+o.slice(i-15,i):u=o.slice(0,i);var c;s+15":">","<":"<",'"':""","'":"'"},Dir=/[&><"']/g;function Iir(e){return String(e).replace(Dir,t=>Tir[t])}var EYe=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Rir=function(t){var n=EYe(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},Mir=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Oir=function(t){var n=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return n!=null?n[1]:"_relative"},di={contains:Eir,deflt:xir,escape:Iir,hyphenate:Air,getBaseElem:EYe,isCharacterBox:Rir,protocolFromUrl:Oir},pO={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Lir(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}let M0e=class{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in pO)if(pO.hasOwnProperty(n)){var r=pO[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:Lir(r)}}reportNonstrict(t,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(t,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Nn("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var i=this.strict;if(typeof i=="function")try{i=i(t,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=di.protocolFromUrl(t.url));var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}};class Qm{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Sp[Bir[this.id]]}sub(){return Sp[Pir[this.id]]}fracNum(){return Sp[Fir[this.id]]}fracDen(){return Sp[Nir[this.id]]}cramp(){return Sp[$ir[this.id]]}text(){return Sp[zir[this.id]]}isTight(){return this.size>=2}}var O0e=0,_B=1,T6=2,Mg=3,QA=4,lh=5,v_=6,xc=7,Sp=[new Qm(O0e,0,!1),new Qm(_B,0,!0),new Qm(T6,1,!1),new Qm(Mg,1,!0),new Qm(QA,2,!1),new Qm(lh,2,!0),new Qm(v_,3,!1),new Qm(xc,3,!0)],Bir=[QA,lh,QA,lh,v_,xc,v_,xc],Pir=[lh,lh,lh,lh,xc,xc,xc,xc],Fir=[T6,Mg,QA,lh,v_,xc,v_,xc],Nir=[Mg,Mg,lh,lh,xc,xc,xc,xc],$ir=[_B,_B,Mg,Mg,lh,lh,xc,xc],zir=[O0e,_B,T6,Mg,T6,Mg,T6,Mg],ri={DISPLAY:Sp[O0e],TEXT:Sp[T6],SCRIPT:Sp[QA],SCRIPTSCRIPT:Sp[v_]},tse=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Uir(e){for(var t=0;t=i[0]&&e<=i[1])return n.name}return null}var gO=[];tse.forEach(e=>e.blocks.forEach(t=>gO.push(...t)));function xYe(e){for(var t=0;t=gO[t]&&e<=gO[t+1])return!0;return!1}var tk=80,jir=function(t,n){return"M95,"+(622+t+n)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -808,7 +808,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},jir=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 +M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Hir=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+t/2.084+" -"+t+` @@ -818,7 +818,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Hir=function(t,n){return"M983 "+(10+t+n)+` +M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},qir=function(t,n){return"M983 "+(10+t+n)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -827,7 +827,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},qir=function(t,n){return"M424,"+(2398+t+n)+` +M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Wir=function(t,n){return"M424,"+(2398+t+n)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -837,18 +837,18 @@ v`+(40+t)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` -h400000v`+(40+t)+"h-400000z"},Wir=function(t,n){return"M473,"+(2713+t+n)+` +h400000v`+(40+t)+"h-400000z"},Gir=function(t,n){return"M473,"+(2713+t+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},Gir=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},Vir=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` +606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},Vir=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},Kir=function(t,n,r){var i=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Kir=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=Uir(n,tk);break;case"sqrtSize1":i=jir(n,tk);break;case"sqrtSize2":i=Hir(n,tk);break;case"sqrtSize3":i=qir(n,tk);break;case"sqrtSize4":i=Wir(n,tk);break;case"sqrtTall":i=Vir(n,tk,r)}return i},Yir=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},F9e={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Yir=function(t,n,r){n=1e3*n;var i="";switch(t){case"sqrtMain":i=jir(n,tk);break;case"sqrtSize1":i=Hir(n,tk);break;case"sqrtSize2":i=qir(n,tk);break;case"sqrtSize3":i=Wir(n,tk);break;case"sqrtSize4":i=Gir(n,tk);break;case"sqrtTall":i=Kir(n,tk,r)}return i},Xir=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},F9e={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -1023,7 +1023,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xir=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Jir=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -1051,32 +1051,32 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let q7=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return di.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}};var Fp={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},SI={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},N9e={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Jir(e,t){Fp[e]=t}function L0e(e,t,n){if(!Fp[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Fp[t][r];if(!i&&e[0]in N9e&&(r=N9e[e[0]].charCodeAt(0),i=Fp[t][r]),!i&&n==="text"&&xYe(r)&&(i=Fp[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var xX={};function Zir(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!xX[t]){var n=xX[t]={cssEmPerMu:SI.quad[t]/18};for(var r in SI)SI.hasOwnProperty(r)&&(n[r]=SI[r][t])}return xX[t]}var Qir=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],$9e=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],z9e=function(t,n){return n.size<2?t:Qir[t-1][n.size-1]};class gg{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||gg.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=$9e[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new gg(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:z9e(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:$9e[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=z9e(gg.BASESIZE,t);return this.size===n&&this.textSize===gg.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==gg.BASESIZE?["sizing","reset-size"+this.size,"size"+gg.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Zir(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}gg.BASESIZE=6;var nse={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},ear={ex:!0,em:!0,mu:!0},SYe=function(t){return typeof t!="string"&&(t=t.unit),t in nse||t in ear||t==="ex"},ws=function(t,n){var r;if(t.unit in nse)r=nse[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new Nn("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Jn=function(t){return+t.toFixed(4)+"em"},b2=function(t){return t.filter(n=>n).join(" ")},AYe=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},TYe=function(t){var n=document.createElement(t);n.className=b2(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var a=0;a",n};class W7{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,AYe.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return di.contains(this.classes,t)}toNode(){return TYe.call(this,"span")}toMarkup(){return DYe.call(this,"span")}}class B0e{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,AYe.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return di.contains(this.classes,t)}toNode(){return TYe.call(this,"a")}toMarkup(){return DYe.call(this,"a")}}class tar{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return di.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t=""+this.alt+"0&&(n=document.createElement("span"),n.style.marginRight=Jn(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=b2(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=di.hyphenate(i)+":"+this.style[i]+";");r&&(t=!0,n+=' style="'+di.escape(r)+'"');var a=di.escape(this.text);return t?(n+=">",n+=a,n+="",n):a}}class Gg{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i":""}}class rse{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var iar={bin:1,close:1,inner:1,open:1,punct:1,rel:1},aar={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xo={math:{},text:{}};function Te(e,t,n,r,i,a){xo[e][i]={font:t,group:n,replace:r},a&&r&&(xo[e][r]=xo[e][i])}var ze="math",Dn="text",Qe="main",kt="ams",us="accent-token",dr="bin",Hc="close",dE="inner",oi="mathord",vl="op-token",md="open",pz="punct",Et="rel",hm="spacing",Pt="textord";Te(ze,Qe,Et,"≡","\\equiv",!0);Te(ze,Qe,Et,"≺","\\prec",!0);Te(ze,Qe,Et,"≻","\\succ",!0);Te(ze,Qe,Et,"∼","\\sim",!0);Te(ze,Qe,Et,"⊥","\\perp");Te(ze,Qe,Et,"⪯","\\preceq",!0);Te(ze,Qe,Et,"⪰","\\succeq",!0);Te(ze,Qe,Et,"≃","\\simeq",!0);Te(ze,Qe,Et,"∣","\\mid",!0);Te(ze,Qe,Et,"≪","\\ll",!0);Te(ze,Qe,Et,"≫","\\gg",!0);Te(ze,Qe,Et,"≍","\\asymp",!0);Te(ze,Qe,Et,"∥","\\parallel");Te(ze,Qe,Et,"⋈","\\bowtie",!0);Te(ze,Qe,Et,"⌣","\\smile",!0);Te(ze,Qe,Et,"⊑","\\sqsubseteq",!0);Te(ze,Qe,Et,"⊒","\\sqsupseteq",!0);Te(ze,Qe,Et,"≐","\\doteq",!0);Te(ze,Qe,Et,"⌢","\\frown",!0);Te(ze,Qe,Et,"∋","\\ni",!0);Te(ze,Qe,Et,"∝","\\propto",!0);Te(ze,Qe,Et,"⊢","\\vdash",!0);Te(ze,Qe,Et,"⊣","\\dashv",!0);Te(ze,Qe,Et,"∋","\\owns");Te(ze,Qe,pz,".","\\ldotp");Te(ze,Qe,pz,"⋅","\\cdotp");Te(ze,Qe,Pt,"#","\\#");Te(Dn,Qe,Pt,"#","\\#");Te(ze,Qe,Pt,"&","\\&");Te(Dn,Qe,Pt,"&","\\&");Te(ze,Qe,Pt,"ℵ","\\aleph",!0);Te(ze,Qe,Pt,"∀","\\forall",!0);Te(ze,Qe,Pt,"ℏ","\\hbar",!0);Te(ze,Qe,Pt,"∃","\\exists",!0);Te(ze,Qe,Pt,"∇","\\nabla",!0);Te(ze,Qe,Pt,"♭","\\flat",!0);Te(ze,Qe,Pt,"ℓ","\\ell",!0);Te(ze,Qe,Pt,"♮","\\natural",!0);Te(ze,Qe,Pt,"♣","\\clubsuit",!0);Te(ze,Qe,Pt,"℘","\\wp",!0);Te(ze,Qe,Pt,"♯","\\sharp",!0);Te(ze,Qe,Pt,"♢","\\diamondsuit",!0);Te(ze,Qe,Pt,"ℜ","\\Re",!0);Te(ze,Qe,Pt,"♡","\\heartsuit",!0);Te(ze,Qe,Pt,"ℑ","\\Im",!0);Te(ze,Qe,Pt,"♠","\\spadesuit",!0);Te(ze,Qe,Pt,"§","\\S",!0);Te(Dn,Qe,Pt,"§","\\S");Te(ze,Qe,Pt,"¶","\\P",!0);Te(Dn,Qe,Pt,"¶","\\P");Te(ze,Qe,Pt,"†","\\dag");Te(Dn,Qe,Pt,"†","\\dag");Te(Dn,Qe,Pt,"†","\\textdagger");Te(ze,Qe,Pt,"‡","\\ddag");Te(Dn,Qe,Pt,"‡","\\ddag");Te(Dn,Qe,Pt,"‡","\\textdaggerdbl");Te(ze,Qe,Hc,"⎱","\\rmoustache",!0);Te(ze,Qe,md,"⎰","\\lmoustache",!0);Te(ze,Qe,Hc,"⟯","\\rgroup",!0);Te(ze,Qe,md,"⟮","\\lgroup",!0);Te(ze,Qe,dr,"∓","\\mp",!0);Te(ze,Qe,dr,"⊖","\\ominus",!0);Te(ze,Qe,dr,"⊎","\\uplus",!0);Te(ze,Qe,dr,"⊓","\\sqcap",!0);Te(ze,Qe,dr,"∗","\\ast");Te(ze,Qe,dr,"⊔","\\sqcup",!0);Te(ze,Qe,dr,"◯","\\bigcirc",!0);Te(ze,Qe,dr,"∙","\\bullet",!0);Te(ze,Qe,dr,"‡","\\ddagger");Te(ze,Qe,dr,"≀","\\wr",!0);Te(ze,Qe,dr,"⨿","\\amalg");Te(ze,Qe,dr,"&","\\And");Te(ze,Qe,Et,"⟵","\\longleftarrow",!0);Te(ze,Qe,Et,"⇐","\\Leftarrow",!0);Te(ze,Qe,Et,"⟸","\\Longleftarrow",!0);Te(ze,Qe,Et,"⟶","\\longrightarrow",!0);Te(ze,Qe,Et,"⇒","\\Rightarrow",!0);Te(ze,Qe,Et,"⟹","\\Longrightarrow",!0);Te(ze,Qe,Et,"↔","\\leftrightarrow",!0);Te(ze,Qe,Et,"⟷","\\longleftrightarrow",!0);Te(ze,Qe,Et,"⇔","\\Leftrightarrow",!0);Te(ze,Qe,Et,"⟺","\\Longleftrightarrow",!0);Te(ze,Qe,Et,"↦","\\mapsto",!0);Te(ze,Qe,Et,"⟼","\\longmapsto",!0);Te(ze,Qe,Et,"↗","\\nearrow",!0);Te(ze,Qe,Et,"↩","\\hookleftarrow",!0);Te(ze,Qe,Et,"↪","\\hookrightarrow",!0);Te(ze,Qe,Et,"↘","\\searrow",!0);Te(ze,Qe,Et,"↼","\\leftharpoonup",!0);Te(ze,Qe,Et,"⇀","\\rightharpoonup",!0);Te(ze,Qe,Et,"↙","\\swarrow",!0);Te(ze,Qe,Et,"↽","\\leftharpoondown",!0);Te(ze,Qe,Et,"⇁","\\rightharpoondown",!0);Te(ze,Qe,Et,"↖","\\nwarrow",!0);Te(ze,Qe,Et,"⇌","\\rightleftharpoons",!0);Te(ze,kt,Et,"≮","\\nless",!0);Te(ze,kt,Et,"","\\@nleqslant");Te(ze,kt,Et,"","\\@nleqq");Te(ze,kt,Et,"⪇","\\lneq",!0);Te(ze,kt,Et,"≨","\\lneqq",!0);Te(ze,kt,Et,"","\\@lvertneqq");Te(ze,kt,Et,"⋦","\\lnsim",!0);Te(ze,kt,Et,"⪉","\\lnapprox",!0);Te(ze,kt,Et,"⊀","\\nprec",!0);Te(ze,kt,Et,"⋠","\\npreceq",!0);Te(ze,kt,Et,"⋨","\\precnsim",!0);Te(ze,kt,Et,"⪹","\\precnapprox",!0);Te(ze,kt,Et,"≁","\\nsim",!0);Te(ze,kt,Et,"","\\@nshortmid");Te(ze,kt,Et,"∤","\\nmid",!0);Te(ze,kt,Et,"⊬","\\nvdash",!0);Te(ze,kt,Et,"⊭","\\nvDash",!0);Te(ze,kt,Et,"⋪","\\ntriangleleft");Te(ze,kt,Et,"⋬","\\ntrianglelefteq",!0);Te(ze,kt,Et,"⊊","\\subsetneq",!0);Te(ze,kt,Et,"","\\@varsubsetneq");Te(ze,kt,Et,"⫋","\\subsetneqq",!0);Te(ze,kt,Et,"","\\@varsubsetneqq");Te(ze,kt,Et,"≯","\\ngtr",!0);Te(ze,kt,Et,"","\\@ngeqslant");Te(ze,kt,Et,"","\\@ngeqq");Te(ze,kt,Et,"⪈","\\gneq",!0);Te(ze,kt,Et,"≩","\\gneqq",!0);Te(ze,kt,Et,"","\\@gvertneqq");Te(ze,kt,Et,"⋧","\\gnsim",!0);Te(ze,kt,Et,"⪊","\\gnapprox",!0);Te(ze,kt,Et,"⊁","\\nsucc",!0);Te(ze,kt,Et,"⋡","\\nsucceq",!0);Te(ze,kt,Et,"⋩","\\succnsim",!0);Te(ze,kt,Et,"⪺","\\succnapprox",!0);Te(ze,kt,Et,"≆","\\ncong",!0);Te(ze,kt,Et,"","\\@nshortparallel");Te(ze,kt,Et,"∦","\\nparallel",!0);Te(ze,kt,Et,"⊯","\\nVDash",!0);Te(ze,kt,Et,"⋫","\\ntriangleright");Te(ze,kt,Et,"⋭","\\ntrianglerighteq",!0);Te(ze,kt,Et,"","\\@nsupseteqq");Te(ze,kt,Et,"⊋","\\supsetneq",!0);Te(ze,kt,Et,"","\\@varsupsetneq");Te(ze,kt,Et,"⫌","\\supsetneqq",!0);Te(ze,kt,Et,"","\\@varsupsetneqq");Te(ze,kt,Et,"⊮","\\nVdash",!0);Te(ze,kt,Et,"⪵","\\precneqq",!0);Te(ze,kt,Et,"⪶","\\succneqq",!0);Te(ze,kt,Et,"","\\@nsubseteqq");Te(ze,kt,dr,"⊴","\\unlhd");Te(ze,kt,dr,"⊵","\\unrhd");Te(ze,kt,Et,"↚","\\nleftarrow",!0);Te(ze,kt,Et,"↛","\\nrightarrow",!0);Te(ze,kt,Et,"⇍","\\nLeftarrow",!0);Te(ze,kt,Et,"⇏","\\nRightarrow",!0);Te(ze,kt,Et,"↮","\\nleftrightarrow",!0);Te(ze,kt,Et,"⇎","\\nLeftrightarrow",!0);Te(ze,kt,Et,"△","\\vartriangle");Te(ze,kt,Pt,"ℏ","\\hslash");Te(ze,kt,Pt,"▽","\\triangledown");Te(ze,kt,Pt,"◊","\\lozenge");Te(ze,kt,Pt,"Ⓢ","\\circledS");Te(ze,kt,Pt,"®","\\circledR");Te(Dn,kt,Pt,"®","\\circledR");Te(ze,kt,Pt,"∡","\\measuredangle",!0);Te(ze,kt,Pt,"∄","\\nexists");Te(ze,kt,Pt,"℧","\\mho");Te(ze,kt,Pt,"Ⅎ","\\Finv",!0);Te(ze,kt,Pt,"⅁","\\Game",!0);Te(ze,kt,Pt,"‵","\\backprime");Te(ze,kt,Pt,"▲","\\blacktriangle");Te(ze,kt,Pt,"▼","\\blacktriangledown");Te(ze,kt,Pt,"■","\\blacksquare");Te(ze,kt,Pt,"⧫","\\blacklozenge");Te(ze,kt,Pt,"★","\\bigstar");Te(ze,kt,Pt,"∢","\\sphericalangle",!0);Te(ze,kt,Pt,"∁","\\complement",!0);Te(ze,kt,Pt,"ð","\\eth",!0);Te(Dn,Qe,Pt,"ð","ð");Te(ze,kt,Pt,"╱","\\diagup");Te(ze,kt,Pt,"╲","\\diagdown");Te(ze,kt,Pt,"□","\\square");Te(ze,kt,Pt,"□","\\Box");Te(ze,kt,Pt,"◊","\\Diamond");Te(ze,kt,Pt,"¥","\\yen",!0);Te(Dn,kt,Pt,"¥","\\yen",!0);Te(ze,kt,Pt,"✓","\\checkmark",!0);Te(Dn,kt,Pt,"✓","\\checkmark");Te(ze,kt,Pt,"ℶ","\\beth",!0);Te(ze,kt,Pt,"ℸ","\\daleth",!0);Te(ze,kt,Pt,"ℷ","\\gimel",!0);Te(ze,kt,Pt,"ϝ","\\digamma",!0);Te(ze,kt,Pt,"ϰ","\\varkappa");Te(ze,kt,md,"┌","\\@ulcorner",!0);Te(ze,kt,Hc,"┐","\\@urcorner",!0);Te(ze,kt,md,"└","\\@llcorner",!0);Te(ze,kt,Hc,"┘","\\@lrcorner",!0);Te(ze,kt,Et,"≦","\\leqq",!0);Te(ze,kt,Et,"⩽","\\leqslant",!0);Te(ze,kt,Et,"⪕","\\eqslantless",!0);Te(ze,kt,Et,"≲","\\lesssim",!0);Te(ze,kt,Et,"⪅","\\lessapprox",!0);Te(ze,kt,Et,"≊","\\approxeq",!0);Te(ze,kt,dr,"⋖","\\lessdot");Te(ze,kt,Et,"⋘","\\lll",!0);Te(ze,kt,Et,"≶","\\lessgtr",!0);Te(ze,kt,Et,"⋚","\\lesseqgtr",!0);Te(ze,kt,Et,"⪋","\\lesseqqgtr",!0);Te(ze,kt,Et,"≑","\\doteqdot");Te(ze,kt,Et,"≓","\\risingdotseq",!0);Te(ze,kt,Et,"≒","\\fallingdotseq",!0);Te(ze,kt,Et,"∽","\\backsim",!0);Te(ze,kt,Et,"⋍","\\backsimeq",!0);Te(ze,kt,Et,"⫅","\\subseteqq",!0);Te(ze,kt,Et,"⋐","\\Subset",!0);Te(ze,kt,Et,"⊏","\\sqsubset",!0);Te(ze,kt,Et,"≼","\\preccurlyeq",!0);Te(ze,kt,Et,"⋞","\\curlyeqprec",!0);Te(ze,kt,Et,"≾","\\precsim",!0);Te(ze,kt,Et,"⪷","\\precapprox",!0);Te(ze,kt,Et,"⊲","\\vartriangleleft");Te(ze,kt,Et,"⊴","\\trianglelefteq");Te(ze,kt,Et,"⊨","\\vDash",!0);Te(ze,kt,Et,"⊪","\\Vvdash",!0);Te(ze,kt,Et,"⌣","\\smallsmile");Te(ze,kt,Et,"⌢","\\smallfrown");Te(ze,kt,Et,"≏","\\bumpeq",!0);Te(ze,kt,Et,"≎","\\Bumpeq",!0);Te(ze,kt,Et,"≧","\\geqq",!0);Te(ze,kt,Et,"⩾","\\geqslant",!0);Te(ze,kt,Et,"⪖","\\eqslantgtr",!0);Te(ze,kt,Et,"≳","\\gtrsim",!0);Te(ze,kt,Et,"⪆","\\gtrapprox",!0);Te(ze,kt,dr,"⋗","\\gtrdot");Te(ze,kt,Et,"⋙","\\ggg",!0);Te(ze,kt,Et,"≷","\\gtrless",!0);Te(ze,kt,Et,"⋛","\\gtreqless",!0);Te(ze,kt,Et,"⪌","\\gtreqqless",!0);Te(ze,kt,Et,"≖","\\eqcirc",!0);Te(ze,kt,Et,"≗","\\circeq",!0);Te(ze,kt,Et,"≜","\\triangleq",!0);Te(ze,kt,Et,"∼","\\thicksim");Te(ze,kt,Et,"≈","\\thickapprox");Te(ze,kt,Et,"⫆","\\supseteqq",!0);Te(ze,kt,Et,"⋑","\\Supset",!0);Te(ze,kt,Et,"⊐","\\sqsupset",!0);Te(ze,kt,Et,"≽","\\succcurlyeq",!0);Te(ze,kt,Et,"⋟","\\curlyeqsucc",!0);Te(ze,kt,Et,"≿","\\succsim",!0);Te(ze,kt,Et,"⪸","\\succapprox",!0);Te(ze,kt,Et,"⊳","\\vartriangleright");Te(ze,kt,Et,"⊵","\\trianglerighteq");Te(ze,kt,Et,"⊩","\\Vdash",!0);Te(ze,kt,Et,"∣","\\shortmid");Te(ze,kt,Et,"∥","\\shortparallel");Te(ze,kt,Et,"≬","\\between",!0);Te(ze,kt,Et,"⋔","\\pitchfork",!0);Te(ze,kt,Et,"∝","\\varpropto");Te(ze,kt,Et,"◀","\\blacktriangleleft");Te(ze,kt,Et,"∴","\\therefore",!0);Te(ze,kt,Et,"∍","\\backepsilon");Te(ze,kt,Et,"▶","\\blacktriangleright");Te(ze,kt,Et,"∵","\\because",!0);Te(ze,kt,Et,"⋘","\\llless");Te(ze,kt,Et,"⋙","\\gggtr");Te(ze,kt,dr,"⊲","\\lhd");Te(ze,kt,dr,"⊳","\\rhd");Te(ze,kt,Et,"≂","\\eqsim",!0);Te(ze,Qe,Et,"⋈","\\Join");Te(ze,kt,Et,"≑","\\Doteq",!0);Te(ze,kt,dr,"∔","\\dotplus",!0);Te(ze,kt,dr,"∖","\\smallsetminus");Te(ze,kt,dr,"⋒","\\Cap",!0);Te(ze,kt,dr,"⋓","\\Cup",!0);Te(ze,kt,dr,"⩞","\\doublebarwedge",!0);Te(ze,kt,dr,"⊟","\\boxminus",!0);Te(ze,kt,dr,"⊞","\\boxplus",!0);Te(ze,kt,dr,"⋇","\\divideontimes",!0);Te(ze,kt,dr,"⋉","\\ltimes",!0);Te(ze,kt,dr,"⋊","\\rtimes",!0);Te(ze,kt,dr,"⋋","\\leftthreetimes",!0);Te(ze,kt,dr,"⋌","\\rightthreetimes",!0);Te(ze,kt,dr,"⋏","\\curlywedge",!0);Te(ze,kt,dr,"⋎","\\curlyvee",!0);Te(ze,kt,dr,"⊝","\\circleddash",!0);Te(ze,kt,dr,"⊛","\\circledast",!0);Te(ze,kt,dr,"⋅","\\centerdot");Te(ze,kt,dr,"⊺","\\intercal",!0);Te(ze,kt,dr,"⋒","\\doublecap");Te(ze,kt,dr,"⋓","\\doublecup");Te(ze,kt,dr,"⊠","\\boxtimes",!0);Te(ze,kt,Et,"⇢","\\dashrightarrow",!0);Te(ze,kt,Et,"⇠","\\dashleftarrow",!0);Te(ze,kt,Et,"⇇","\\leftleftarrows",!0);Te(ze,kt,Et,"⇆","\\leftrightarrows",!0);Te(ze,kt,Et,"⇚","\\Lleftarrow",!0);Te(ze,kt,Et,"↞","\\twoheadleftarrow",!0);Te(ze,kt,Et,"↢","\\leftarrowtail",!0);Te(ze,kt,Et,"↫","\\looparrowleft",!0);Te(ze,kt,Et,"⇋","\\leftrightharpoons",!0);Te(ze,kt,Et,"↶","\\curvearrowleft",!0);Te(ze,kt,Et,"↺","\\circlearrowleft",!0);Te(ze,kt,Et,"↰","\\Lsh",!0);Te(ze,kt,Et,"⇈","\\upuparrows",!0);Te(ze,kt,Et,"↿","\\upharpoonleft",!0);Te(ze,kt,Et,"⇃","\\downharpoonleft",!0);Te(ze,Qe,Et,"⊶","\\origof",!0);Te(ze,Qe,Et,"⊷","\\imageof",!0);Te(ze,kt,Et,"⊸","\\multimap",!0);Te(ze,kt,Et,"↭","\\leftrightsquigarrow",!0);Te(ze,kt,Et,"⇉","\\rightrightarrows",!0);Te(ze,kt,Et,"⇄","\\rightleftarrows",!0);Te(ze,kt,Et,"↠","\\twoheadrightarrow",!0);Te(ze,kt,Et,"↣","\\rightarrowtail",!0);Te(ze,kt,Et,"↬","\\looparrowright",!0);Te(ze,kt,Et,"↷","\\curvearrowright",!0);Te(ze,kt,Et,"↻","\\circlearrowright",!0);Te(ze,kt,Et,"↱","\\Rsh",!0);Te(ze,kt,Et,"⇊","\\downdownarrows",!0);Te(ze,kt,Et,"↾","\\upharpoonright",!0);Te(ze,kt,Et,"⇂","\\downharpoonright",!0);Te(ze,kt,Et,"⇝","\\rightsquigarrow",!0);Te(ze,kt,Et,"⇝","\\leadsto");Te(ze,kt,Et,"⇛","\\Rrightarrow",!0);Te(ze,kt,Et,"↾","\\restriction");Te(ze,Qe,Pt,"‘","`");Te(ze,Qe,Pt,"$","\\$");Te(Dn,Qe,Pt,"$","\\$");Te(Dn,Qe,Pt,"$","\\textdollar");Te(ze,Qe,Pt,"%","\\%");Te(Dn,Qe,Pt,"%","\\%");Te(ze,Qe,Pt,"_","\\_");Te(Dn,Qe,Pt,"_","\\_");Te(Dn,Qe,Pt,"_","\\textunderscore");Te(ze,Qe,Pt,"∠","\\angle",!0);Te(ze,Qe,Pt,"∞","\\infty",!0);Te(ze,Qe,Pt,"′","\\prime");Te(ze,Qe,Pt,"△","\\triangle");Te(ze,Qe,Pt,"Γ","\\Gamma",!0);Te(ze,Qe,Pt,"Δ","\\Delta",!0);Te(ze,Qe,Pt,"Θ","\\Theta",!0);Te(ze,Qe,Pt,"Λ","\\Lambda",!0);Te(ze,Qe,Pt,"Ξ","\\Xi",!0);Te(ze,Qe,Pt,"Π","\\Pi",!0);Te(ze,Qe,Pt,"Σ","\\Sigma",!0);Te(ze,Qe,Pt,"Υ","\\Upsilon",!0);Te(ze,Qe,Pt,"Φ","\\Phi",!0);Te(ze,Qe,Pt,"Ψ","\\Psi",!0);Te(ze,Qe,Pt,"Ω","\\Omega",!0);Te(ze,Qe,Pt,"A","Α");Te(ze,Qe,Pt,"B","Β");Te(ze,Qe,Pt,"E","Ε");Te(ze,Qe,Pt,"Z","Ζ");Te(ze,Qe,Pt,"H","Η");Te(ze,Qe,Pt,"I","Ι");Te(ze,Qe,Pt,"K","Κ");Te(ze,Qe,Pt,"M","Μ");Te(ze,Qe,Pt,"N","Ν");Te(ze,Qe,Pt,"O","Ο");Te(ze,Qe,Pt,"P","Ρ");Te(ze,Qe,Pt,"T","Τ");Te(ze,Qe,Pt,"X","Χ");Te(ze,Qe,Pt,"¬","\\neg",!0);Te(ze,Qe,Pt,"¬","\\lnot");Te(ze,Qe,Pt,"⊤","\\top");Te(ze,Qe,Pt,"⊥","\\bot");Te(ze,Qe,Pt,"∅","\\emptyset");Te(ze,kt,Pt,"∅","\\varnothing");Te(ze,Qe,oi,"α","\\alpha",!0);Te(ze,Qe,oi,"β","\\beta",!0);Te(ze,Qe,oi,"γ","\\gamma",!0);Te(ze,Qe,oi,"δ","\\delta",!0);Te(ze,Qe,oi,"ϵ","\\epsilon",!0);Te(ze,Qe,oi,"ζ","\\zeta",!0);Te(ze,Qe,oi,"η","\\eta",!0);Te(ze,Qe,oi,"θ","\\theta",!0);Te(ze,Qe,oi,"ι","\\iota",!0);Te(ze,Qe,oi,"κ","\\kappa",!0);Te(ze,Qe,oi,"λ","\\lambda",!0);Te(ze,Qe,oi,"μ","\\mu",!0);Te(ze,Qe,oi,"ν","\\nu",!0);Te(ze,Qe,oi,"ξ","\\xi",!0);Te(ze,Qe,oi,"ο","\\omicron",!0);Te(ze,Qe,oi,"π","\\pi",!0);Te(ze,Qe,oi,"ρ","\\rho",!0);Te(ze,Qe,oi,"σ","\\sigma",!0);Te(ze,Qe,oi,"τ","\\tau",!0);Te(ze,Qe,oi,"υ","\\upsilon",!0);Te(ze,Qe,oi,"ϕ","\\phi",!0);Te(ze,Qe,oi,"χ","\\chi",!0);Te(ze,Qe,oi,"ψ","\\psi",!0);Te(ze,Qe,oi,"ω","\\omega",!0);Te(ze,Qe,oi,"ε","\\varepsilon",!0);Te(ze,Qe,oi,"ϑ","\\vartheta",!0);Te(ze,Qe,oi,"ϖ","\\varpi",!0);Te(ze,Qe,oi,"ϱ","\\varrho",!0);Te(ze,Qe,oi,"ς","\\varsigma",!0);Te(ze,Qe,oi,"φ","\\varphi",!0);Te(ze,Qe,dr,"∗","*",!0);Te(ze,Qe,dr,"+","+");Te(ze,Qe,dr,"−","-",!0);Te(ze,Qe,dr,"⋅","\\cdot",!0);Te(ze,Qe,dr,"∘","\\circ",!0);Te(ze,Qe,dr,"÷","\\div",!0);Te(ze,Qe,dr,"±","\\pm",!0);Te(ze,Qe,dr,"×","\\times",!0);Te(ze,Qe,dr,"∩","\\cap",!0);Te(ze,Qe,dr,"∪","\\cup",!0);Te(ze,Qe,dr,"∖","\\setminus",!0);Te(ze,Qe,dr,"∧","\\land");Te(ze,Qe,dr,"∨","\\lor");Te(ze,Qe,dr,"∧","\\wedge",!0);Te(ze,Qe,dr,"∨","\\vee",!0);Te(ze,Qe,Pt,"√","\\surd");Te(ze,Qe,md,"⟨","\\langle",!0);Te(ze,Qe,md,"∣","\\lvert");Te(ze,Qe,md,"∥","\\lVert");Te(ze,Qe,Hc,"?","?");Te(ze,Qe,Hc,"!","!");Te(ze,Qe,Hc,"⟩","\\rangle",!0);Te(ze,Qe,Hc,"∣","\\rvert");Te(ze,Qe,Hc,"∥","\\rVert");Te(ze,Qe,Et,"=","=");Te(ze,Qe,Et,":",":");Te(ze,Qe,Et,"≈","\\approx",!0);Te(ze,Qe,Et,"≅","\\cong",!0);Te(ze,Qe,Et,"≥","\\ge");Te(ze,Qe,Et,"≥","\\geq",!0);Te(ze,Qe,Et,"←","\\gets");Te(ze,Qe,Et,">","\\gt",!0);Te(ze,Qe,Et,"∈","\\in",!0);Te(ze,Qe,Et,"","\\@not");Te(ze,Qe,Et,"⊂","\\subset",!0);Te(ze,Qe,Et,"⊃","\\supset",!0);Te(ze,Qe,Et,"⊆","\\subseteq",!0);Te(ze,Qe,Et,"⊇","\\supseteq",!0);Te(ze,kt,Et,"⊈","\\nsubseteq",!0);Te(ze,kt,Et,"⊉","\\nsupseteq",!0);Te(ze,Qe,Et,"⊨","\\models");Te(ze,Qe,Et,"←","\\leftarrow",!0);Te(ze,Qe,Et,"≤","\\le");Te(ze,Qe,Et,"≤","\\leq",!0);Te(ze,Qe,Et,"<","\\lt",!0);Te(ze,Qe,Et,"→","\\rightarrow",!0);Te(ze,Qe,Et,"→","\\to");Te(ze,kt,Et,"≱","\\ngeq",!0);Te(ze,kt,Et,"≰","\\nleq",!0);Te(ze,Qe,hm," ","\\ ");Te(ze,Qe,hm," ","\\space");Te(ze,Qe,hm," ","\\nobreakspace");Te(Dn,Qe,hm," ","\\ ");Te(Dn,Qe,hm," "," ");Te(Dn,Qe,hm," ","\\space");Te(Dn,Qe,hm," ","\\nobreakspace");Te(ze,Qe,hm,null,"\\nobreak");Te(ze,Qe,hm,null,"\\allowbreak");Te(ze,Qe,pz,",",",");Te(ze,Qe,pz,";",";");Te(ze,kt,dr,"⊼","\\barwedge",!0);Te(ze,kt,dr,"⊻","\\veebar",!0);Te(ze,Qe,dr,"⊙","\\odot",!0);Te(ze,Qe,dr,"⊕","\\oplus",!0);Te(ze,Qe,dr,"⊗","\\otimes",!0);Te(ze,Qe,Pt,"∂","\\partial",!0);Te(ze,Qe,dr,"⊘","\\oslash",!0);Te(ze,kt,dr,"⊚","\\circledcirc",!0);Te(ze,kt,dr,"⊡","\\boxdot",!0);Te(ze,Qe,dr,"△","\\bigtriangleup");Te(ze,Qe,dr,"▽","\\bigtriangledown");Te(ze,Qe,dr,"†","\\dagger");Te(ze,Qe,dr,"⋄","\\diamond");Te(ze,Qe,dr,"⋆","\\star");Te(ze,Qe,dr,"◃","\\triangleleft");Te(ze,Qe,dr,"▹","\\triangleright");Te(ze,Qe,md,"{","\\{");Te(Dn,Qe,Pt,"{","\\{");Te(Dn,Qe,Pt,"{","\\textbraceleft");Te(ze,Qe,Hc,"}","\\}");Te(Dn,Qe,Pt,"}","\\}");Te(Dn,Qe,Pt,"}","\\textbraceright");Te(ze,Qe,md,"{","\\lbrace");Te(ze,Qe,Hc,"}","\\rbrace");Te(ze,Qe,md,"[","\\lbrack",!0);Te(Dn,Qe,Pt,"[","\\lbrack",!0);Te(ze,Qe,Hc,"]","\\rbrack",!0);Te(Dn,Qe,Pt,"]","\\rbrack",!0);Te(ze,Qe,md,"(","\\lparen",!0);Te(ze,Qe,Hc,")","\\rparen",!0);Te(Dn,Qe,Pt,"<","\\textless",!0);Te(Dn,Qe,Pt,">","\\textgreater",!0);Te(ze,Qe,md,"⌊","\\lfloor",!0);Te(ze,Qe,Hc,"⌋","\\rfloor",!0);Te(ze,Qe,md,"⌈","\\lceil",!0);Te(ze,Qe,Hc,"⌉","\\rceil",!0);Te(ze,Qe,Pt,"\\","\\backslash");Te(ze,Qe,Pt,"∣","|");Te(ze,Qe,Pt,"∣","\\vert");Te(Dn,Qe,Pt,"|","\\textbar",!0);Te(ze,Qe,Pt,"∥","\\|");Te(ze,Qe,Pt,"∥","\\Vert");Te(Dn,Qe,Pt,"∥","\\textbardbl");Te(Dn,Qe,Pt,"~","\\textasciitilde");Te(Dn,Qe,Pt,"\\","\\textbackslash");Te(Dn,Qe,Pt,"^","\\textasciicircum");Te(ze,Qe,Et,"↑","\\uparrow",!0);Te(ze,Qe,Et,"⇑","\\Uparrow",!0);Te(ze,Qe,Et,"↓","\\downarrow",!0);Te(ze,Qe,Et,"⇓","\\Downarrow",!0);Te(ze,Qe,Et,"↕","\\updownarrow",!0);Te(ze,Qe,Et,"⇕","\\Updownarrow",!0);Te(ze,Qe,vl,"∐","\\coprod");Te(ze,Qe,vl,"⋁","\\bigvee");Te(ze,Qe,vl,"⋀","\\bigwedge");Te(ze,Qe,vl,"⨄","\\biguplus");Te(ze,Qe,vl,"⋂","\\bigcap");Te(ze,Qe,vl,"⋃","\\bigcup");Te(ze,Qe,vl,"∫","\\int");Te(ze,Qe,vl,"∫","\\intop");Te(ze,Qe,vl,"∬","\\iint");Te(ze,Qe,vl,"∭","\\iiint");Te(ze,Qe,vl,"∏","\\prod");Te(ze,Qe,vl,"∑","\\sum");Te(ze,Qe,vl,"⨂","\\bigotimes");Te(ze,Qe,vl,"⨁","\\bigoplus");Te(ze,Qe,vl,"⨀","\\bigodot");Te(ze,Qe,vl,"∮","\\oint");Te(ze,Qe,vl,"∯","\\oiint");Te(ze,Qe,vl,"∰","\\oiiint");Te(ze,Qe,vl,"⨆","\\bigsqcup");Te(ze,Qe,vl,"∫","\\smallint");Te(Dn,Qe,dE,"…","\\textellipsis");Te(ze,Qe,dE,"…","\\mathellipsis");Te(Dn,Qe,dE,"…","\\ldots",!0);Te(ze,Qe,dE,"…","\\ldots",!0);Te(ze,Qe,dE,"⋯","\\@cdots",!0);Te(ze,Qe,dE,"⋱","\\ddots",!0);Te(ze,Qe,Pt,"⋮","\\varvdots");Te(ze,Qe,us,"ˊ","\\acute");Te(ze,Qe,us,"ˋ","\\grave");Te(ze,Qe,us,"¨","\\ddot");Te(ze,Qe,us,"~","\\tilde");Te(ze,Qe,us,"ˉ","\\bar");Te(ze,Qe,us,"˘","\\breve");Te(ze,Qe,us,"ˇ","\\check");Te(ze,Qe,us,"^","\\hat");Te(ze,Qe,us,"⃗","\\vec");Te(ze,Qe,us,"˙","\\dot");Te(ze,Qe,us,"˚","\\mathring");Te(ze,Qe,oi,"","\\@imath");Te(ze,Qe,oi,"","\\@jmath");Te(ze,Qe,Pt,"ı","ı");Te(ze,Qe,Pt,"ȷ","ȷ");Te(Dn,Qe,Pt,"ı","\\i",!0);Te(Dn,Qe,Pt,"ȷ","\\j",!0);Te(Dn,Qe,Pt,"ß","\\ss",!0);Te(Dn,Qe,Pt,"æ","\\ae",!0);Te(Dn,Qe,Pt,"œ","\\oe",!0);Te(Dn,Qe,Pt,"ø","\\o",!0);Te(Dn,Qe,Pt,"Æ","\\AE",!0);Te(Dn,Qe,Pt,"Œ","\\OE",!0);Te(Dn,Qe,Pt,"Ø","\\O",!0);Te(Dn,Qe,us,"ˊ","\\'");Te(Dn,Qe,us,"ˋ","\\`");Te(Dn,Qe,us,"ˆ","\\^");Te(Dn,Qe,us,"˜","\\~");Te(Dn,Qe,us,"ˉ","\\=");Te(Dn,Qe,us,"˘","\\u");Te(Dn,Qe,us,"˙","\\.");Te(Dn,Qe,us,"¸","\\c");Te(Dn,Qe,us,"˚","\\r");Te(Dn,Qe,us,"ˇ","\\v");Te(Dn,Qe,us,"¨",'\\"');Te(Dn,Qe,us,"˝","\\H");Te(Dn,Qe,us,"◯","\\textcircled");var IYe={"--":!0,"---":!0,"``":!0,"''":!0};Te(Dn,Qe,Pt,"–","--",!0);Te(Dn,Qe,Pt,"–","\\textendash");Te(Dn,Qe,Pt,"—","---",!0);Te(Dn,Qe,Pt,"—","\\textemdash");Te(Dn,Qe,Pt,"‘","`",!0);Te(Dn,Qe,Pt,"‘","\\textquoteleft");Te(Dn,Qe,Pt,"’","'",!0);Te(Dn,Qe,Pt,"’","\\textquoteright");Te(Dn,Qe,Pt,"“","``",!0);Te(Dn,Qe,Pt,"“","\\textquotedblleft");Te(Dn,Qe,Pt,"”","''",!0);Te(Dn,Qe,Pt,"”","\\textquotedblright");Te(ze,Qe,Pt,"°","\\degree",!0);Te(Dn,Qe,Pt,"°","\\degree");Te(Dn,Qe,Pt,"°","\\textdegree",!0);Te(ze,Qe,Pt,"£","\\pounds");Te(ze,Qe,Pt,"£","\\mathsterling",!0);Te(Dn,Qe,Pt,"£","\\pounds");Te(Dn,Qe,Pt,"£","\\textsterling",!0);Te(ze,kt,Pt,"✠","\\maltese");Te(Dn,kt,Pt,"✠","\\maltese");var j9e='0123456789/@."';for(var SX=0;SX{if(b2(e.classes)!==b2(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},far=e=>{for(var t=0;tn&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},uf=function(t,n,r,i){var a=new W7(t,n,r,i);return P0e(a),a},RYe=(e,t,n,r)=>new W7(e,t,n,r),dar=function(t,n,r){var i=uf([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=Jn(i.height),i.maxFontSize=1,i},har=function(t,n,r,i){var a=new B0e(t,n,r,i);return P0e(a),a},MYe=function(t){var n=new q7(t);return P0e(n),n},par=function(t,n){return t instanceof q7?uf([],[t],n):t},gar=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,o=1;o{var n=uf(["mspace"],[],t),r=ws(e,t);return n.style.marginRight=Jn(r),n},II=function(t,n,r){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return n==="textbf"&&r==="textit"?a="BoldItalic":n==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},OYe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},LYe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},bar=function(t,n){var[r,i,a]=LYe[t],o=new w2(r),s=new Gg([o],{width:Jn(i),height:Jn(a),style:"width:"+Jn(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=RYe(["overlay"],[s],n);return l.height=a,l.style.height=Jn(a),l.style.width=Jn(i),l},Kt={fontMap:OYe,makeSymbol:s0,mathsym:sar,makeSpan:uf,makeSvgSpan:RYe,makeLineSpan:dar,makeAnchor:har,makeFragment:MYe,wrapFragment:par,makeVList:mar,makeOrd:uar,makeGlue:yar,staticSvg:bar,svgData:LYe,tryCombineChars:far},gs={number:3,unit:"mu"},ob={number:4,unit:"mu"},J1={number:5,unit:"mu"},war={mord:{mop:gs,mbin:ob,mrel:J1,minner:gs},mop:{mord:gs,mop:gs,mrel:J1,minner:gs},mbin:{mord:ob,mop:ob,mopen:ob,minner:ob},mrel:{mord:J1,mop:J1,mopen:J1,minner:J1},mopen:{},mclose:{mop:gs,mbin:ob,mrel:J1,minner:gs},mpunct:{mord:gs,mop:gs,mrel:J1,mopen:gs,mclose:gs,mpunct:gs,minner:gs},minner:{mord:gs,mop:gs,mbin:ob,mrel:J1,mopen:gs,mpunct:gs,minner:gs}},kar={mord:{mop:gs},mop:{mord:gs,mop:gs},mbin:{},mrel:{},mopen:{},mclose:{mop:gs},mpunct:{},minner:{mop:gs}},BYe={},EB={},xB={};function ur(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l{var b=g.classes[0],m=p.classes[0];b==="mbin"&&di.contains(Car,m)?g.classes[0]="mord":m==="mbin"&&di.contains(_ar,b)&&(p.classes[0]="mord")},{node:f},d,h),V9e(a,(p,g)=>{var b=ase(g),m=ase(p),v=b&&m?p.hasClass("mtight")?kar[b][m]:war[b][m]:null;if(v)return Kt.makeGlue(v,u)},{node:f},d,h),a},V9e=function e(t,n,r,i,a){i&&t.push(i);for(var o=0;od=>{t.splice(f+1,0,d),o++})(o)}i&&t.pop()},PYe=function(t){return t instanceof q7||t instanceof B0e||t instanceof W7&&t.hasClass("enclosing")?t:null},Sar=function e(t,n){var r=PYe(t);if(r){var i=r.children;if(i.length){if(n==="right")return e(i[i.length-1],"right");if(n==="left")return e(i[0],"left")}}return t},ase=function(t,n){return t?(n&&(t=Sar(t,n)),xar[t.classes[0]]||null):null},e8=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Vg(n.concat(r))},fa=function(t,n,r){if(!t)return Vg();if(EB[t.type]){var i=EB[t.type](t,n);if(r&&n.size!==r.size){i=Vg(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new Nn("Got group of unknown type: '"+t.type+"'")};function RI(e,t){var n=Vg(["base"],e,t),r=Vg(["strut"]);return r.style.height=Jn(n.height+n.depth),n.depth&&(r.style.verticalAlign=Jn(-n.depth)),n.children.unshift(r),n}function ose(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Bl(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],o=[],s=0;s0&&(a.push(RI(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(RI(o,t));var u;n?(u=RI(Bl(n,t,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var c=Vg(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),u){var f=u.children[0];f.style.height=Jn(c.height+c.depth),c.depth&&(f.style.verticalAlign=Jn(-c.depth))}return c}function FYe(e){return new q7(e)}class ah{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=b2(this.classes));for(var r=0;r0&&(t+=' class ="'+di.escape(b2(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}}class HS{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return di.escape(this.toText())}toText(){return this.text}}class Aar{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Jn(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Ln={MathNode:ah,TextNode:HS,SpaceNode:Aar,newDocumentFragment:FYe},xh=function(t,n,r){return xo[n][t]&&xo[n][t].replace&&t.charCodeAt(0)!==55349&&!(IYe.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=xo[n][t].replace),new Ln.TextNode(t)},F0e=function(t){return t.length===1?t[0]:new Ln.MathNode("mrow",t)},N0e=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var a=t.text;if(di.contains(["\\imath","\\jmath"],a))return null;xo[i][a]&&xo[i][a].replace&&(a=xo[i][a].replace);var o=Kt.fontMap[r].fontName;return L0e(a,o,i)?Kt.fontMap[r].variant:null},Of=function(t,n,r){if(t.length===1){var i=uo(t[0],n);return r&&i instanceof ah&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o,s=0;s0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),a.pop())}}}a.push(l),o=l}return a},k2=function(t,n,r){return F0e(Of(t,n,r))},uo=function(t,n){if(!t)return new Ln.MathNode("mrow");if(xB[t.type]){var r=xB[t.type](t,n);return r}else throw new Nn("Got group of unknown type: '"+t.type+"'")};function K9e(e,t,n,r,i){var a=Of(e,n),o;a.length===1&&a[0]instanceof ah&&di.contains(["mrow","mtable"],a[0].type)?o=a[0]:o=new Ln.MathNode("mrow",a);var s=new Ln.MathNode("annotation",[new Ln.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Ln.MathNode("semantics",[o,s]),u=new Ln.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");var c=i?"katex":"katex-mathml";return Kt.makeSpan([c],[u])}var NYe=function(t){return new gg({style:t.displayMode?ri.DISPLAY:ri.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},$Ye=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=Kt.makeSpan(r,[t])}return t},Tar=function(t,n,r){var i=NYe(r),a;if(r.output==="mathml")return K9e(t,n,i,r.displayMode,!0);if(r.output==="html"){var o=ose(t,i);a=Kt.makeSpan(["katex"],[o])}else{var s=K9e(t,n,i,r.displayMode,!1),l=ose(t,i);a=Kt.makeSpan(["katex"],[s,l])}return $Ye(a,r)},Dar=function(t,n,r){var i=NYe(r),a=ose(t,i),o=Kt.makeSpan(["katex"],[a]);return $Ye(o,r)},Iar={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Rar=function(t){var n=new Ln.MathNode("mo",[new Ln.TextNode(Iar[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Mar={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Oar=function(t){return t.type==="ordgroup"?t.body.length:1},Lar=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(di.contains(["widehat","widecheck","widetilde","utilde"],l)){var u=t,c=Oar(u.base),f,d,h;if(c>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,h=.42,d=l+"4"):(f=312,s=2340,h=.34,d="tilde4");else{var p=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][p],f=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],d=l+p):(s=[0,600,1033,2339,2340][p],f=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],d="tilde"+p)}var g=new w2(d),b=new Gg([g],{width:"100%",height:Jn(h),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:Kt.makeSvgSpan([],[b],n),minWidth:0,height:h}}else{var m=[],v=Mar[l],[w,k,E]=v,S=E/1e3,T=w.length,L,M;if(T===1){var D=v[3];L=["hide-tail"],M=[D]}else if(T===2)L=["halfarrow-left","halfarrow-right"],M=["xMinYMin","xMaxYMin"];else if(T===3)L=["brace-left","brace-center","brace-right"],M=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+T+" children.");for(var I=0;I0&&(i.style.minWidth=Jn(a)),i},Bar=function(t,n,r,i,a){var o,s=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(o=Kt.makeSpan(["stretchy",n],[],a),n==="fbox"){var l=a.color&&a.getColor();l&&(o.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(n)&&u.push(new rse({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&u.push(new rse({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Gg(u,{width:"100%",height:Jn(s)});o=Kt.makeSvgSpan([],[c],a)}return o.height=s,o.style.height=Jn(s),o},Kg={encloseSpan:Bar,mathMLnode:Rar,svgSpan:Lar};function Ai(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $0e(e){var t=mz(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function mz(e){return e&&(e.type==="atom"||aar.hasOwnProperty(e.type))?e:null}var z0e=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=Ai(e.base,"accent"),n=r.base,e.base=n,i=rar(fa(e,t)),e.base=r):(r=Ai(e,"accent"),n=r.base);var a=fa(n,t.havingCrampedStyle()),o=r.isShifty&&di.isCharacterBox(n),s=0;if(o){var l=di.getBaseElem(n),u=fa(l,t.havingCrampedStyle());s=U9e(u).skew}var c=r.label==="\\c",f=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=Kg.svgSpan(r,t),d=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Jn(2*s)+")",marginLeft:Jn(2*s)}:void 0}]},t);else{var h,p;r.label==="\\vec"?(h=Kt.staticSvg("vec",t),p=Kt.svgData.vec[1]):(h=Kt.makeOrd({mode:r.mode,text:r.label},t,"textord"),h=U9e(h),h.italic=0,p=h.width,c&&(f+=h.depth)),d=Kt.makeSpan(["accent-body"],[h]);var g=r.label==="\\textcircled";g&&(d.classes.push("accent-full"),f=a.height);var b=s;g||(b-=p/2),d.style.left=Jn(b),r.label==="\\textcircled"&&(d.style.top=".2em"),d=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:d}]},t)}var m=Kt.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=m,i.height=Math.max(m.height,i.height),i.classes[0]="mord",i):m},zYe=(e,t)=>{var n=e.isStretchy?Kg.mathMLnode(e.label):new Ln.MathNode("mo",[xh(e.label,e.mode)]),r=new Ln.MathNode("mover",[uo(e.base,t),n]);return r.setAttribute("accent","true"),r},Par=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ur({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=SB(t[0]),r=!Par.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:z0e,mathmlBuilder:zYe});ur({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:z0e,mathmlBuilder:zYe});ur({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=fa(e.base,t),r=Kg.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=Kt.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Kt.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=Kg.mathMLnode(e.label),r=new Ln.MathNode("munder",[uo(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var MI=e=>{var t=new Ln.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ur({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=Kt.wrapFragment(fa(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=Kt.wrapFragment(fa(e.below,r,t),t),o.classes.push(a+"-arrow-pad"));var s=Kg.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(u-=i.depth);var c;if(o){var f=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;c=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:f}]},t)}else c=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Kt.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var n=Kg.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=MI(uo(e.body,t));if(e.below){var a=MI(uo(e.below,t));r=new Ln.MathNode("munderover",[n,a,i])}else r=new Ln.MathNode("mover",[n,i])}else if(e.below){var o=MI(uo(e.below,t));r=new Ln.MathNode("munder",[n,o])}else r=MI(),r=new Ln.MathNode("mover",[n,r]);return r}});var Far=Kt.makeSpan;function UYe(e,t){var n=Bl(e.body,t,!0);return Far([e.mclass],n,t)}function jYe(e,t){var n,r=Of(e.body,t);return e.mclass==="minner"?n=new Ln.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ln.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ln.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ur({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Xs(i),isCharacterBox:di.isCharacterBox(i)}},htmlBuilder:UYe,mathmlBuilder:jYe});var vz=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ur({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:vz(t[0]),body:Xs(t[1]),isCharacterBox:di.isCharacterBox(t[1])}}});ur({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o;r!=="\\stackrel"?o=vz(i):o="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Xs(i)},l={type:"supsub",mode:a.mode,base:s,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[l],isCharacterBox:di.isCharacterBox(l)}},htmlBuilder:UYe,mathmlBuilder:jYe});ur({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:vz(t[0]),body:Xs(t[0])}},htmlBuilder(e,t){var n=Bl(e.body,t,!0),r=Kt.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Of(e.body,t),r=new Ln.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Nar={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Y9e=()=>({type:"styling",body:[],mode:"math",style:"display"}),X9e=e=>e.type==="textord"&&e.text==="@",$ar=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function zar(e,t,n){var r=Nar[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[a],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,o,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Uar(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Nn("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;a-1))if("<>AV".indexOf(u)>-1)for(var f=0;f<2;f++){for(var d=!0,h=l+1;hAV=|." after @',o[l]);var p=zar(u,c,e),g={type:"styling",body:[p],mode:"math",style:"display"};r.push(g),s=Y9e()}a%2===0?r.push(s):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ur({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Kt.wrapFragment(fa(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Jn(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ln.MathNode("mrow",[uo(e.label,t)]);return n=new Ln.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ln.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ur({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Kt.wrapFragment(fa(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ln.MathNode("mrow",[uo(e.fragment,t)])}});ur({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Ai(t[0],"ordgroup"),i=r.body,a="",o=0;o=1114111)throw new Nn("\\@char with invalid code point "+a);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:u}}});var HYe=(e,t)=>{var n=Bl(e.body,t.withColor(e.color),!1);return Kt.makeFragment(n)},qYe=(e,t)=>{var n=Of(e.body,t.withColor(e.color)),r=new Ln.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ur({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Ai(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Xs(i)}},htmlBuilder:HYe,mathmlBuilder:qYe});ur({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Ai(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:HYe,mathmlBuilder:qYe});ur({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&Ai(i,"size").value}},htmlBuilder(e,t){var n=Kt.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Jn(ws(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ln.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Jn(ws(e.size,t)))),n}});var sse={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},WYe=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Nn("Expected a control sequence",e);return t},jar=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},GYe=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};ur({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(sse[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=sse[r.text]),Ai(t.parseFunction(),"internal");throw new Nn("Invalid token after macro prefix",r)}});ur({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Nn("Expected a control sequence",r);for(var a=0,o,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Nn('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new Nn('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if(r.text==="EOF")throw new Nn("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return o&&l.unshift(o),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},n===sse[n]),{type:"internal",mode:t.mode}}});ur({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=WYe(t.gullet.popToken());t.gullet.consumeSpaces();var i=jar(t);return GYe(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ur({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=WYe(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return GYe(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Tx=function(t,n,r){var i=xo.math[t]&&xo.math[t].replace,a=L0e(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},U0e=function(t,n,r,i){var a=r.havingBaseStyle(n),o=Kt.makeSpan(i.concat(a.sizingClasses(r)),[t],r),s=a.sizeMultiplier/r.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=a.sizeMultiplier,o},VYe=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Jn(a),t.height-=a,t.depth+=a},Har=function(t,n,r,i,a,o){var s=Kt.makeSymbol(t,"Main-Regular",a,i),l=U0e(s,n,i,o);return r&&VYe(l,i,n),l},qar=function(t,n,r,i){return Kt.makeSymbol(t,"Size"+n+"-Regular",r,i)},KYe=function(t,n,r,i,a,o){var s=qar(t,n,a,i),l=U0e(Kt.makeSpan(["delimsizing","size"+n],[s],i),ri.TEXT,i,o);return r&&VYe(l,i,ri.TEXT),l},IX=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Kt.makeSpan(["delimsizinginner",i],[Kt.makeSpan([],[Kt.makeSymbol(t,n,r)])]);return{type:"elem",elem:a}},RX=function(t,n,r){var i=Fp["Size4-Regular"][t.charCodeAt(0)]?Fp["Size4-Regular"][t.charCodeAt(0)][4]:Fp["Size1-Regular"][t.charCodeAt(0)][4],a=new w2("inner",Yir(t,Math.round(1e3*n))),o=new Gg([a],{width:Jn(i),height:Jn(n),style:"width:"+Jn(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=Kt.makeSvgSpan([],[o],r);return s.height=n,s.style.height=Jn(n),s.style.width=Jn(i),{type:"elem",elem:s}},lse=.008,OI={type:"kern",size:-1*lse},War=["|","\\lvert","\\rvert","\\vert"],Gar=["\\|","\\lVert","\\rVert","\\Vert"],YYe=function(t,n,r,i,a,o){var s,l,u,c,f="",d=0;s=u=c=t,l=null;var h="Size1-Regular";t==="\\uparrow"?u=c="⏐":t==="\\Uparrow"?u=c="‖":t==="\\downarrow"?s=u="⏐":t==="\\Downarrow"?s=u="‖":t==="\\updownarrow"?(s="\\uparrow",u="⏐",c="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",u="‖",c="\\Downarrow"):di.contains(War,t)?(u="∣",f="vert",d=333):di.contains(Gar,t)?(u="∥",f="doublevert",d=556):t==="["||t==="\\lbrack"?(s="⎡",u="⎢",c="⎣",h="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(s="⎤",u="⎥",c="⎦",h="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(u=s="⎢",c="⎣",h="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="⌈"?(s="⎡",u=c="⎢",h="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="⌋"?(u=s="⎥",c="⎦",h="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="⌉"?(s="⎤",u=c="⎥",h="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(s="⎛",u="⎜",c="⎝",h="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(s="⎞",u="⎟",c="⎠",h="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",c="⎩",u="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",c="⎭",u="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",c="⎩",u="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",c="⎭",u="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",c="⎭",u="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",c="⎩",u="⎪",h="Size4-Regular");var p=Tx(s,h,a),g=p.height+p.depth,b=Tx(u,h,a),m=b.height+b.depth,v=Tx(c,h,a),w=v.height+v.depth,k=0,E=1;if(l!==null){var S=Tx(l,h,a);k=S.height+S.depth,E=2}var T=g+w+k,L=Math.max(0,Math.ceil((n-T)/(E*m))),M=T+L*E*m,D=i.fontMetrics().axisHeight;r&&(D*=i.sizeMultiplier);var I=M/2-D,B=[];if(f.length>0){var N=M-g-w,O=Math.round(M*1e3),R=Xir(f,Math.round(N*1e3)),P=new w2(f,R),H=(d/1e3).toFixed(3)+"em",F=(O/1e3).toFixed(3)+"em",q=new Gg([P],{width:H,height:F,viewBox:"0 0 "+d+" "+O}),V=Kt.makeSvgSpan([],[q],i);V.height=O/1e3,V.style.width=H,V.style.height=F,B.push({type:"elem",elem:V})}else{if(B.push(IX(c,h,a)),B.push(OI),l===null){var X=M-g-w+2*lse;B.push(RX(u,X,i))}else{var G=(M-g-w-k)/2+2*lse;B.push(RX(u,G,i)),B.push(OI),B.push(IX(l,h,a)),B.push(OI),B.push(RX(u,G,i))}B.push(OI),B.push(IX(s,h,a))}var J=i.havingBaseStyle(ri.TEXT),te=Kt.makeVList({positionType:"bottom",positionData:I,children:B},J);return U0e(Kt.makeSpan(["delimsizing","mult"],[te],J),ri.TEXT,i,o)},MX=80,OX=.08,LX=function(t,n,r,i,a){var o=Kir(t,i,r),s=new w2(t,o),l=new Gg([s],{width:"400em",height:Jn(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Kt.makeSvgSpan(["hide-tail"],[l],a)},Var=function(t,n){var r=n.havingBaseSizing(),i=QYe("\\surd",t*r.sizeMultiplier,ZYe,r),a=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,u=0,c=0,f;return i.type==="small"?(c=1e3+1e3*o+MX,t<1?a=1:t<1.4&&(a=.7),l=(1+o+OX)/a,u=(1+o)/a,s=LX("sqrtMain",l,c,o,n),s.style.minWidth="0.853em",f=.833/a):i.type==="large"?(c=(1e3+MX)*qS[i.size],u=(qS[i.size]+o)/a,l=(qS[i.size]+o+OX)/a,s=LX("sqrtSize"+i.size,l,c,o,n),s.style.minWidth="1.02em",f=1/a):(l=t+o+OX,u=t+o,c=Math.floor(1e3*t+o)+MX,s=LX("sqrtTall",l,c,o,n),s.style.minWidth="0.742em",f=1.056),s.height=u,s.style.height=Jn(l),{span:s,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*a}},XYe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Kar=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],JYe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],qS=[0,1.2,1.8,2.4,3],Yar=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),di.contains(XYe,t)||di.contains(JYe,t))return KYe(t,n,!1,r,i,a);if(di.contains(Kar,t))return YYe(t,qS[n],!1,r,i,a);throw new Nn("Illegal delimiter: '"+t+"'")},Xar=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Jar=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"stack"}],ZYe=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Zar=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},QYe=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),o=a;on)return r[o]}return r[r.length-1]},eXe=function(t,n,r,i,a,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;di.contains(JYe,t)?s=Xar:di.contains(XYe,t)?s=ZYe:s=Jar;var l=QYe(t,n,s,i);return l.type==="small"?Har(t,l.style,r,i,a,o):l.type==="large"?KYe(t,l.size,r,i,a,o):YYe(t,n,r,i,a,o)},Qar=function(t,n,r,i,a,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,u=5/i.fontMetrics().ptPerEm,c=Math.max(n-s,r+s),f=Math.max(c/500*l,2*c-u);return eXe(t,f,!0,i,a,o)},Og={sqrtImage:Var,sizedDelim:Yar,sizeToMaxHeight:qS,customSizedDelim:eXe,leftRightDelim:Qar},J9e={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},eor=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function yz(e,t){var n=mz(e);if(n&&di.contains(eor,n.text))return n;throw n?new Nn("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Nn("Invalid delimiter type '"+e.type+"'",e)}ur({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=yz(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:J9e[e.funcName].size,mclass:J9e[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?Kt.makeSpan([e.mclass]):Og.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(xh(e.delim,e.mode));var n=new Ln.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Jn(Og.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Z9e(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ur({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Nn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:yz(t[0],e).text,color:n}}});ur({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=yz(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=Ai(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Z9e(e);for(var n=Bl(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,o=0;o{Z9e(e);var n=Of(e.body,t);if(e.left!=="."){var r=new Ln.MathNode("mo",[xh(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new Ln.MathNode("mo",[xh(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return F0e(n)}});ur({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=yz(t[0],e);if(!e.parser.leftrightDepth)throw new Nn("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=e8(t,[]);else{n=Og.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?xh("|","text"):xh(e.delim,e.mode),r=new Ln.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var j0e=(e,t)=>{var n=Kt.wrapFragment(fa(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=di.isCharacterBox(e.body);if(r==="sout")a=Kt.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=ws({number:.6,unit:"pt"},t),u=ws({number:.35,unit:"ex"},t),c=t.havingBaseSizing();i=i/c.sizeMultiplier;var f=n.height+n.depth+l+u;n.style.paddingLeft=Jn(f/2+l);var d=Math.floor(1e3*f*i),h=Gir(d),p=new Gg([new w2("phase",h)],{width:"400em",height:Jn(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=Kt.makeSvgSpan(["hide-tail"],[p],t),a.style.height=Jn(f),o=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,b=0,m=0;/box/.test(r)?(m=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),g=t.fontMetrics().fboxsep+(r==="colorbox"?0:m),b=g):r==="angl"?(m=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),g=4*m,b=Math.max(0,.25-n.depth)):(g=s?.2:0,b=g),a=Kg.encloseSpan(n,r,g,b,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=Jn(m)):r==="angl"&&m!==.049&&(a.style.borderTopWidth=Jn(m),a.style.borderRightWidth=Jn(m)),o=n.depth+b,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var v;if(e.backgroundColor)v=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var w=/cancel|phase/.test(r)?["svg-align"]:[];v=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:o,wrapperClasses:w}]},t)}return/cancel/.test(r)&&(v.height=n.height,v.depth=n.depth),/cancel/.test(r)&&!s?Kt.makeSpan(["mord","cancel-lap"],[v],t):Kt.makeSpan(["mord"],[v],t)},H0e=(e,t)=>{var n=0,r=new Ln.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[uo(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ur({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ai(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ai(t[0],"color-token").color,o=Ai(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});ur({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var tXe={};function C1(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new Nn("{"+e.envName+"} can be used only in display mode.")};function q0e(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ty(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:f,leqno:d}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)o=1;else if(o=parseFloat(h),!o||o<0)throw new Nn("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var p=[],g=[p],b=[],m=[],v=l!=null?[]:void 0;function w(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){v&&(e.gullet.macros.get("\\df@tag")?(v.push(e.subparse([new Qv("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):v.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(w(),m.push(Q9e(e));;){var E=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),E={type:"ordgroup",mode:e.mode,body:E},n&&(E={type:"styling",mode:e.mode,style:n,body:[E]}),p.push(E);var S=e.fetch().text;if(S==="&"){if(f&&p.length===f){if(u||s)throw new Nn("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(S==="\\end"){k(),p.length===1&&E.type==="styling"&&E.body[0].body.length===0&&(g.length>1||!c)&&g.pop(),m.length0&&(w+=.25),u.push({pos:w,isDashed:ie[he]})}for(k(o[0]),r=0;r0&&(I+=v,Tie))for(r=0;r=s)){var ae=void 0;(i>0||t.hskipBeforeAndAfter)&&(ae=di.deflt(G.pregap,d),ae!==0&&(R=Kt.makeSpan(["arraycolsep"],[]),R.style.width=Jn(ae),O.push(R)));var le=[];for(r=0;r0){for(var ue=Kt.makeLineSpan("hline",n,c),Ae=Kt.makeLineSpan("hdashline",n,c),ce=[{type:"elem",elem:l,shift:0}];u.length>0;){var be=u.pop(),ge=be.pos-B;be.isDashed?ce.push({type:"elem",elem:Ae,shift:ge}):ce.push({type:"elem",elem:ue,shift:ge})}l=Kt.makeVList({positionType:"individualShift",children:ce},n)}if(H.length===0)return Kt.makeSpan(["mord"],[l],n);var ve=Kt.makeVList({positionType:"individualShift",children:H},n);return ve=Kt.makeSpan(["tag"],[ve],n),Kt.makeFragment([l,ve])},tor={c:"center ",l:"left ",r:"right "},x1=function(t,n){for(var r=[],i=new Ln.MathNode("mtd",[],["mtr-glue"]),a=new Ln.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var p=t.cols,g="",b=!1,m=0,v=p.length;p[0].type==="separator"&&(d+="top ",m=1),p[p.length-1].type==="separator"&&(d+="bottom ",v-=1);for(var w=m;w0?"left ":"",d+=L[L.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",a=t.envName==="split",o=ty(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:q0e(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var c="",f=0;f0&&h&&(b=1),r[p]={type:"align",align:g,pregap:b,postgap:0}}return o.colSeparationType=h?"align":"alignat",o};C1({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=mz(t[0]),r=n?[t[0]]:Ai(t[0],"ordgroup").body,i=r.map(function(o){var s=$0e(o),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Nn("Unknown column alignment: "+l,o)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return ty(e.parser,a,W0e(e.envName))},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new Nn("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=ty(e.parser,r,W0e(e.envName)),o=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=ty(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=mz(t[0]),r=n?[t[0]]:Ai(t[0],"ordgroup").body,i=r.map(function(o){var s=$0e(o),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Nn("Unknown column alignment: "+l,o)});if(i.length>1)throw new Nn("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=ty(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new Nn("{subarray} can contain only one column");return a},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=ty(e.parser,t,W0e(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rXe,htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){di.contains(["gather","gather*"],e.envName)&&bz(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:q0e(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ty(e.parser,t,"display")},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rXe,htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){bz(e);var t={autoTag:q0e(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ty(e.parser,t,"display")},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["CD"],props:{numArgs:0},handler(e){return bz(e),Uar(e.parser)},htmlBuilder:E1,mathmlBuilder:x1});nt("\\nonumber","\\gdef\\@eqnsw{0}");nt("\\notag","\\nonumber");ur({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Nn(e.funcName+" valid only within array environment")}});var exe=tXe;ur({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new Nn("Invalid environment name",i);for(var a="",o=0;o{var n=e.font,r=t.withFont(n);return fa(e.body,r)},aXe=(e,t)=>{var n=e.font,r=t.withFont(n);return uo(e.body,r)},txe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ur({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=SB(t[0]),a=r;return a in txe&&(a=txe[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:iXe,mathmlBuilder:aXe});ur({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],i=di.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:vz(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});ur({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:iXe,mathmlBuilder:aXe});var oXe=(e,t)=>{var n=t;return e==="display"?n=n.id>=ri.SCRIPT.id?n.text():ri.DISPLAY:e==="text"&&n.size===ri.DISPLAY.size?n=ri.TEXT:e==="script"?n=ri.SCRIPT:e==="scriptscript"&&(n=ri.SCRIPTSCRIPT),n},G0e=(e,t)=>{var n=oXe(e.size,t.style),r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var o=fa(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?p=3*d:p=7*d,g=t.fontMetrics().denom1):(f>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),g=t.fontMetrics().denom2);var b;if(c){var v=t.fontMetrics().axisHeight;h-o.depth-(v+.5*f){var n=new Ln.MathNode("mfrac",[uo(e.numer,t),uo(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ws(e.barSize,t);n.setAttribute("linethickness",Jn(r))}var i=oXe(e.size,t.style);if(i.size!==t.style.size){n=new Ln.MathNode("mstyle",[n]);var a=i.size===ri.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",a),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var s=new Ln.MathNode("mo",[new Ln.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(n),e.rightDelim!=null){var l=new Ln.MathNode("mo",[new Ln.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return F0e(o)}return n};ur({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,l=null,u="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:G0e,mathmlBuilder:V0e});ur({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ur({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:r}}});var nxe=["display","text","script","scriptscript"],rxe=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ur({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=SB(t[0]),o=a.type==="atom"&&a.family==="open"?rxe(a.text):null,s=SB(t[1]),l=s.type==="atom"&&s.family==="close"?rxe(s.text):null,u=Ai(t[2],"size"),c,f=null;u.isBlank?c=!0:(f=u.value,c=f.number>0);var d="auto",h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var p=Ai(h.body[0],"textord");d=nxe[Number(p.text)]}}else h=Ai(h,"textord"),d=nxe[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:c,barSize:f,leftDelim:o,rightDelim:l,size:d}},htmlBuilder:G0e,mathmlBuilder:V0e});ur({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ai(t[0],"size").value,token:i}}});ur({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Rir(Ai(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:G0e,mathmlBuilder:V0e});var sXe=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?fa(e.sup,t.havingStyle(n.sup()),t):fa(e.sub,t.havingStyle(n.sub()),t),i=Ai(e.base,"horizBrace")):i=Ai(e,"horizBrace");var a=fa(i.base,t.havingBaseStyle(ri.DISPLAY)),o=Kg.svgSpan(i,t),s;if(i.isOver?(s=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=Kt.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=Kt.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);i.isOver?s=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=Kt.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Kt.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)},nor=(e,t)=>{var n=Kg.mathMLnode(e.label);return new Ln.MathNode(e.isOver?"mover":"munder",[uo(e.base,t),n])};ur({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:sXe,mathmlBuilder:nor});ur({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Ai(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Xs(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Bl(e.body,t,!1);return Kt.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=k2(e.body,t);return n instanceof ah||(n=new ah("mrow",[n])),n.setAttribute("href",e.href),n}});ur({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Ai(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:n,funcName:r,token:i}=e,a=Ai(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),c=0;c{var n=Bl(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=Kt.makeSpan(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>k2(e.body,t)});ur({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Xs(t[0]),mathml:Xs(t[1])}},htmlBuilder:(e,t)=>{var n=Bl(e.html,t,!1);return Kt.makeFragment(n)},mathmlBuilder:(e,t)=>k2(e.mathml,t)});var BX=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Nn("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!SYe(r))throw new Nn("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ur({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(n[0])for(var l=Ai(n[0],"raw").string,u=l.split(","),c=0;c{var n=ws(e.height,t),r=0;e.totalheight.number>0&&(r=ws(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=ws(e.width,t));var a={height:Jn(n+r)};i>0&&(a.width=Jn(i)),r>0&&(a.verticalAlign=Jn(-r));var o=new tar(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Ln.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ws(e.height,t),i=0;if(e.totalheight.number>0&&(i=ws(e.totalheight,t)-r,n.setAttribute("valign",Jn(-i))),n.setAttribute("height",Jn(r+i)),e.width.number>0){var a=ws(e.width,t);n.setAttribute("width",Jn(a))}return n.setAttribute("src",e.src),n}});ur({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Ai(t[0],"size");if(n.settings.strict){var a=r[1]==="m",o=i.value.unit==="mu";a?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Kt.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=ws(e.dimension,t);return new Ln.SpaceNode(n)}});ur({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=Kt.makeSpan([],[fa(e.body,t)]),n=Kt.makeSpan(["inner"],[n],t)):n=Kt.makeSpan(["inner"],[fa(e.body,t)]);var r=Kt.makeSpan(["fix"],[]),i=Kt.makeSpan([e.alignment],[n,r],t),a=Kt.makeSpan(["strut"]);return a.style.height=Jn(i.height+i.depth),i.depth&&(a.style.verticalAlign=Jn(-i.depth)),i.children.unshift(a),i=Kt.makeSpan(["thinbox"],[i],t),Kt.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new Ln.MathNode("mpadded",[uo(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});ur({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}});ur({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Nn("Mismatched "+e.funcName)}});var ixe=(e,t)=>{switch(t.style.size){case ri.DISPLAY.size:return e.display;case ri.TEXT.size:return e.text;case ri.SCRIPT.size:return e.script;case ri.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ur({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Xs(t[0]),text:Xs(t[1]),script:Xs(t[2]),scriptscript:Xs(t[3])}},htmlBuilder:(e,t)=>{var n=ixe(e,t),r=Bl(n,t,!1);return Kt.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=ixe(e,t);return k2(n,t)}});var lXe=(e,t,n,r,i,a,o)=>{e=Kt.makeSpan([],[e]);var s=n&&di.isCharacterBox(n),l,u;if(t){var c=fa(t,r.havingStyle(i.sup()),r);u={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-c.depth)}}if(n){var f=fa(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var d;if(u&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o;d=Kt.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Jn(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Jn(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-o;d=Kt.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Jn(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(u){var g=e.depth+o;d=Kt.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Jn(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var b=[d];if(l&&a!==0&&!s){var m=Kt.makeSpan(["mspace"],[],r);m.style.marginRight=Jn(a),b.unshift(m)}return Kt.makeSpan(["mop","op-limits"],b,r)},uXe=["\\smallint"],hE=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ai(e.base,"op"),i=!0):a=Ai(e,"op");var o=t.style,s=!1;o.size===ri.DISPLAY.size&&a.symbol&&!di.contains(uXe,a.name)&&(s=!0);var l;if(a.symbol){var u=s?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),l=Kt.makeSymbol(a.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),c.length>0){var f=l.italic,d=Kt.staticSvg(c+"Size"+(s?"2":"1"),t);l=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),a.name="\\"+c,l.classes.unshift("mop"),l.italic=f}}else if(a.body){var h=Bl(a.body,t,!0);h.length===1&&h[0]instanceof Eh?(l=h[0],l.classes[0]="mop"):l=Kt.makeSpan(["mop"],h,t)}else{for(var p=[],g=1;g{var n;if(e.symbol)n=new ah("mo",[xh(e.name,e.mode)]),di.contains(uXe,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ah("mo",Of(e.body,t));else{n=new ah("mi",[new HS(e.name.slice(1))]);var r=new ah("mo",[xh("⁡","text")]);e.parentIsSupSub?n=new ah("mrow",[n,r]):n=FYe([n,r])}return n},ror={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ur({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=ror[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Xs(r)}},htmlBuilder:hE,mathmlBuilder:G7});var ior={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ur({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=ior[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:hE,mathmlBuilder:G7});var cXe=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ai(e.base,"operatorname"),i=!0):a=Ai(e,"operatorname");var o;if(a.body.length>0){for(var s=a.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=Bl(s,t.withFont("mathrm"),!0),u=0;u{for(var n=Of(e.body,t.withFont("mathrm")),r=!0,i=0;ic.toText()).join("");n=[new Ln.TextNode(s)]}var l=new Ln.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new Ln.MathNode("mo",[xh("⁡","text")]);return e.parentIsSupSub?new Ln.MathNode("mrow",[l,u]):Ln.newDocumentFragment([l,u])};ur({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:Xs(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:cXe,mathmlBuilder:aor});nt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");T3({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Kt.makeFragment(Bl(e.body,t,!1)):Kt.makeSpan(["mord"],Bl(e.body,t,!0),t)},mathmlBuilder(e,t){return k2(e.body,t,!0)}});ur({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=fa(e.body,t.havingCrampedStyle()),r=Kt.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Kt.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[new Ln.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ln.MathNode("mover",[uo(e.body,t),n]);return r.setAttribute("accent","true"),r}});ur({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Xs(r)}},htmlBuilder:(e,t)=>{var n=Bl(e.body,t.withPhantom(),!1);return Kt.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Of(e.body,t);return new Ln.MathNode("mphantom",n)}});ur({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Kt.makeSpan([],[fa(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Of(Xs(e.body),t),r=new Ln.MathNode("mphantom",n),i=new Ln.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});ur({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Kt.makeSpan(["inner"],[fa(e.body,t.withPhantom())]),r=Kt.makeSpan(["fix"],[]);return Kt.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Of(Xs(e.body),t),r=new Ln.MathNode("mphantom",n),i=new Ln.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});ur({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Ai(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=fa(e.body,t),r=ws(e.dy,t);return Kt.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mpadded",[uo(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});ur({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ur({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Ai(t[0],"size"),o=Ai(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Ai(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=Kt.makeSpan(["mord","rule"],[],t),r=ws(e.width,t),i=ws(e.height,t),a=e.shift?ws(e.shift,t):0;return n.style.borderRightWidth=Jn(r),n.style.borderTopWidth=Jn(i),n.style.bottom=Jn(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ws(e.width,t),r=ws(e.height,t),i=e.shift?ws(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new Ln.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",Jn(n)),o.setAttribute("height",Jn(r));var s=new Ln.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",Jn(i)):(s.setAttribute("height",Jn(i)),s.setAttribute("depth",Jn(-i))),s.setAttribute("voffset",Jn(i)),s}});function fXe(e,t,n){for(var r=Bl(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a{var n=t.havingSize(e.size);return fXe(e.body,n,t)};ur({type:"sizing",names:axe,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:axe.indexOf(r)+1,body:a}},htmlBuilder:oor,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Of(e.body,n),i=new Ln.MathNode("mstyle",r);return i.setAttribute("mathsize",Jn(n.sizeMultiplier)),i}});ur({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Ai(n[0],"ordgroup");if(o)for(var s="",l=0;l{var n=Kt.makeSpan([],[fa(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new Ln.MathNode("mpadded",[uo(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ur({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=fa(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Kt.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.idn.height+n.depth+o&&(o=(o+f-n.height-n.depth)/2);var d=l.height-n.height-o-u;n.style.paddingLeft=Jn(c);var h=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var p=t.havingStyle(ri.SCRIPTSCRIPT),g=fa(e.index,p,t),b=.6*(h.height-h.depth),m=Kt.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:g}]},t),v=Kt.makeSpan(["root"],[m]);return Kt.makeSpan(["mord","sqrt"],[v,h],t)}else return Kt.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ln.MathNode("mroot",[uo(n,t),uo(r,t)]):new Ln.MathNode("msqrt",[uo(n,t)])}});var oxe={display:ri.DISPLAY,text:ri.TEXT,script:ri.SCRIPT,scriptscript:ri.SCRIPTSCRIPT};ur({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=oxe[e.style],r=t.havingStyle(n).withFont("");return fXe(e.body,r,t)},mathmlBuilder(e,t){var n=oxe[e.style],r=t.havingStyle(n),i=Of(e.body,r),a=new Ln.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var sor=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===ri.DISPLAY.size||r.alwaysHandleSupSub);return i?hE:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===ri.DISPLAY.size||r.limits);return a?cXe:null}else{if(r.type==="accent")return di.isCharacterBox(r.base)?z0e:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?sXe:null}else return null}else return null};T3({type:"supsub",htmlBuilder(e,t){var n=sor(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=fa(r,t),s,l,u=t.fontMetrics(),c=0,f=0,d=r&&di.isCharacterBox(r);if(i){var h=t.havingStyle(t.style.sup());s=fa(i,h,t),d||(c=o.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(a){var p=t.havingStyle(t.style.sub());l=fa(a,p,t),d||(f=o.depth+p.fontMetrics().subDrop*p.sizeMultiplier/t.sizeMultiplier)}var g;t.style===ri.DISPLAY?g=u.sup1:t.style.cramped?g=u.sup3:g=u.sup2;var b=t.sizeMultiplier,m=Jn(.5/u.ptPerEm/b),v=null;if(l){var w=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof Eh||w)&&(v=Jn(-o.italic))}var k;if(s&&l){c=Math.max(c,g,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var E=u.defaultRuleThickness,S=4*E;if(c-s.depth-(l.height-f)0&&(c+=T,f-=T)}var L=[{type:"elem",elem:l,shift:f,marginRight:m,marginLeft:v},{type:"elem",elem:s,shift:-c,marginRight:m}];k=Kt.makeVList({positionType:"individualShift",children:L},t)}else if(l){f=Math.max(f,u.sub1,l.height-.8*u.xHeight);var M=[{type:"elem",elem:l,marginLeft:v,marginRight:m}];k=Kt.makeVList({positionType:"shift",positionData:f,children:M},t)}else if(s)c=Math.max(c,g,s.depth+.25*u.xHeight),k=Kt.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:s,marginRight:m}]},t);else throw new Error("supsub must have either sup or sub.");var D=ase(o,"right")||"mord";return Kt.makeSpan([D],[o,Kt.makeSpan(["msupsub"],[k])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[uo(e.base,t)];e.sub&&a.push(uo(e.sub,t)),e.sup&&a.push(uo(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===ri.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===ri.DISPLAY||u.limits)?o="munderover":o="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ri.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ri.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===ri.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===ri.DISPLAY)?o="mover":o="msup"}return new Ln.MathNode(o,a)}});T3({type:"atom",htmlBuilder(e,t){return Kt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[xh(e.text,e.mode)]);if(e.family==="bin"){var r=N0e(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var dXe={mi:"italic",mn:"normal",mtext:"normal"};T3({type:"mathord",htmlBuilder(e,t){return Kt.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ln.MathNode("mi",[xh(e.text,e.mode,t)]),r=N0e(e,t)||"italic";return r!==dXe[n.type]&&n.setAttribute("mathvariant",r),n}});T3({type:"textord",htmlBuilder(e,t){return Kt.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=xh(e.text,e.mode,t),r=N0e(e,t)||"normal",i;return e.mode==="text"?i=new Ln.MathNode("mtext",[n]):/[0-9]/.test(e.text)?i=new Ln.MathNode("mn",[n]):e.text==="\\prime"?i=new Ln.MathNode("mo",[n]):i=new Ln.MathNode("mi",[n]),r!==dXe[i.type]&&i.setAttribute("mathvariant",r),i}});var PX={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},FX={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};T3({type:"spacing",htmlBuilder(e,t){if(FX.hasOwnProperty(e.text)){var n=FX[e.text].className||"";if(e.mode==="text"){var r=Kt.makeOrd(e,t,"textord");return r.classes.push(n),r}else return Kt.makeSpan(["mspace",n],[Kt.mathsym(e.text,e.mode,t)],t)}else{if(PX.hasOwnProperty(e.text))return Kt.makeSpan(["mspace",PX[e.text]],[],t);throw new Nn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(FX.hasOwnProperty(e.text))n=new Ln.MathNode("mtext",[new Ln.TextNode(" ")]);else{if(PX.hasOwnProperty(e.text))return new Ln.MathNode("mspace");throw new Nn('Unknown type of space "'+e.text+'"')}return n}});var sxe=()=>{var e=new Ln.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};T3({type:"tag",mathmlBuilder(e,t){var n=new Ln.MathNode("mtable",[new Ln.MathNode("mtr",[sxe(),new Ln.MathNode("mtd",[k2(e.body,t)]),sxe(),new Ln.MathNode("mtd",[k2(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var lxe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},uxe={"\\textbf":"textbf","\\textmd":"textmd"},lor={"\\textit":"textit","\\textup":"textup"},cxe=(e,t)=>{var n=e.font;return n?lxe[n]?t.withTextFontFamily(lxe[n]):uxe[n]?t.withTextFontWeight(uxe[n]):t.withTextFontShape(lor[n]):t};ur({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"text",mode:n.mode,body:Xs(i),font:r}},htmlBuilder(e,t){var n=cxe(e,t),r=Bl(e.body,n,!0);return Kt.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=cxe(e,t);return k2(e.body,n)}});ur({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=fa(e.body,t),r=Kt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Kt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Kt.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[new Ln.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ln.MathNode("munder",[uo(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});ur({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=fa(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Kt.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ln.MathNode("mpadded",[uo(e.body,t)],["vcenter"])}});ur({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Nn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=fxe(e),r=[],i=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),Rv=BYe,hXe=`[ \r - ]`,uor="\\\\[a-zA-Z@]+",cor="\\\\[^\uD800-\uDFFF]",dor="("+uor+")"+hXe+"*",hor=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};let q7=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return di.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}};var Fp={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},SI={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},N9e={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Zir(e,t){Fp[e]=t}function L0e(e,t,n){if(!Fp[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=Fp[t][r];if(!i&&e[0]in N9e&&(r=N9e[e[0]].charCodeAt(0),i=Fp[t][r]),!i&&n==="text"&&xYe(r)&&(i=Fp[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var xX={};function Qir(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!xX[t]){var n=xX[t]={cssEmPerMu:SI.quad[t]/18};for(var r in SI)SI.hasOwnProperty(r)&&(n[r]=SI[r][t])}return xX[t]}var ear=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],$9e=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],z9e=function(t,n){return n.size<2?t:ear[t-1][n.size-1]};class gg{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||gg.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=$9e[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new gg(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:z9e(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:$9e[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=z9e(gg.BASESIZE,t);return this.size===n&&this.textSize===gg.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==gg.BASESIZE?["sizing","reset-size"+this.size,"size"+gg.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Qir(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}gg.BASESIZE=6;var nse={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},tar={ex:!0,em:!0,mu:!0},SYe=function(t){return typeof t!="string"&&(t=t.unit),t in nse||t in tar||t==="ex"},ws=function(t,n){var r;if(t.unit in nse)r=nse[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,t.unit==="ex")r=i.fontMetrics().xHeight;else if(t.unit==="em")r=i.fontMetrics().quad;else throw new Nn("Invalid unit: '"+t.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Jn=function(t){return+t.toFixed(4)+"em"},b2=function(t){return t.filter(n=>n).join(" ")},AYe=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},TYe=function(t){var n=document.createElement(t);n.className=b2(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var a=0;a",n};class W7{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,AYe.call(this,t,r,i),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return di.contains(this.classes,t)}toNode(){return TYe.call(this,"span")}toMarkup(){return DYe.call(this,"span")}}class B0e{constructor(t,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,AYe.call(this,n,i),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return di.contains(this.classes,t)}toNode(){return TYe.call(this,"a")}toMarkup(){return DYe.call(this,"a")}}class nar{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return di.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t=""+this.alt+"0&&(n=document.createElement("span"),n.style.marginRight=Jn(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=b2(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=di.hyphenate(i)+":"+this.style[i]+";");r&&(t=!0,n+=' style="'+di.escape(r)+'"');var a=di.escape(this.text);return t?(n+=">",n+=a,n+="",n):a}}class Gg{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i":""}}class rse{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var aar={bin:1,close:1,inner:1,open:1,punct:1,rel:1},oar={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xo={math:{},text:{}};function Te(e,t,n,r,i,a){xo[e][i]={font:t,group:n,replace:r},a&&r&&(xo[e][r]=xo[e][i])}var ze="math",Dn="text",Qe="main",kt="ams",us="accent-token",dr="bin",Hc="close",dE="inner",oi="mathord",vl="op-token",md="open",pz="punct",Et="rel",hm="spacing",Pt="textord";Te(ze,Qe,Et,"≡","\\equiv",!0);Te(ze,Qe,Et,"≺","\\prec",!0);Te(ze,Qe,Et,"≻","\\succ",!0);Te(ze,Qe,Et,"∼","\\sim",!0);Te(ze,Qe,Et,"⊥","\\perp");Te(ze,Qe,Et,"⪯","\\preceq",!0);Te(ze,Qe,Et,"⪰","\\succeq",!0);Te(ze,Qe,Et,"≃","\\simeq",!0);Te(ze,Qe,Et,"∣","\\mid",!0);Te(ze,Qe,Et,"≪","\\ll",!0);Te(ze,Qe,Et,"≫","\\gg",!0);Te(ze,Qe,Et,"≍","\\asymp",!0);Te(ze,Qe,Et,"∥","\\parallel");Te(ze,Qe,Et,"⋈","\\bowtie",!0);Te(ze,Qe,Et,"⌣","\\smile",!0);Te(ze,Qe,Et,"⊑","\\sqsubseteq",!0);Te(ze,Qe,Et,"⊒","\\sqsupseteq",!0);Te(ze,Qe,Et,"≐","\\doteq",!0);Te(ze,Qe,Et,"⌢","\\frown",!0);Te(ze,Qe,Et,"∋","\\ni",!0);Te(ze,Qe,Et,"∝","\\propto",!0);Te(ze,Qe,Et,"⊢","\\vdash",!0);Te(ze,Qe,Et,"⊣","\\dashv",!0);Te(ze,Qe,Et,"∋","\\owns");Te(ze,Qe,pz,".","\\ldotp");Te(ze,Qe,pz,"⋅","\\cdotp");Te(ze,Qe,Pt,"#","\\#");Te(Dn,Qe,Pt,"#","\\#");Te(ze,Qe,Pt,"&","\\&");Te(Dn,Qe,Pt,"&","\\&");Te(ze,Qe,Pt,"ℵ","\\aleph",!0);Te(ze,Qe,Pt,"∀","\\forall",!0);Te(ze,Qe,Pt,"ℏ","\\hbar",!0);Te(ze,Qe,Pt,"∃","\\exists",!0);Te(ze,Qe,Pt,"∇","\\nabla",!0);Te(ze,Qe,Pt,"♭","\\flat",!0);Te(ze,Qe,Pt,"ℓ","\\ell",!0);Te(ze,Qe,Pt,"♮","\\natural",!0);Te(ze,Qe,Pt,"♣","\\clubsuit",!0);Te(ze,Qe,Pt,"℘","\\wp",!0);Te(ze,Qe,Pt,"♯","\\sharp",!0);Te(ze,Qe,Pt,"♢","\\diamondsuit",!0);Te(ze,Qe,Pt,"ℜ","\\Re",!0);Te(ze,Qe,Pt,"♡","\\heartsuit",!0);Te(ze,Qe,Pt,"ℑ","\\Im",!0);Te(ze,Qe,Pt,"♠","\\spadesuit",!0);Te(ze,Qe,Pt,"§","\\S",!0);Te(Dn,Qe,Pt,"§","\\S");Te(ze,Qe,Pt,"¶","\\P",!0);Te(Dn,Qe,Pt,"¶","\\P");Te(ze,Qe,Pt,"†","\\dag");Te(Dn,Qe,Pt,"†","\\dag");Te(Dn,Qe,Pt,"†","\\textdagger");Te(ze,Qe,Pt,"‡","\\ddag");Te(Dn,Qe,Pt,"‡","\\ddag");Te(Dn,Qe,Pt,"‡","\\textdaggerdbl");Te(ze,Qe,Hc,"⎱","\\rmoustache",!0);Te(ze,Qe,md,"⎰","\\lmoustache",!0);Te(ze,Qe,Hc,"⟯","\\rgroup",!0);Te(ze,Qe,md,"⟮","\\lgroup",!0);Te(ze,Qe,dr,"∓","\\mp",!0);Te(ze,Qe,dr,"⊖","\\ominus",!0);Te(ze,Qe,dr,"⊎","\\uplus",!0);Te(ze,Qe,dr,"⊓","\\sqcap",!0);Te(ze,Qe,dr,"∗","\\ast");Te(ze,Qe,dr,"⊔","\\sqcup",!0);Te(ze,Qe,dr,"◯","\\bigcirc",!0);Te(ze,Qe,dr,"∙","\\bullet",!0);Te(ze,Qe,dr,"‡","\\ddagger");Te(ze,Qe,dr,"≀","\\wr",!0);Te(ze,Qe,dr,"⨿","\\amalg");Te(ze,Qe,dr,"&","\\And");Te(ze,Qe,Et,"⟵","\\longleftarrow",!0);Te(ze,Qe,Et,"⇐","\\Leftarrow",!0);Te(ze,Qe,Et,"⟸","\\Longleftarrow",!0);Te(ze,Qe,Et,"⟶","\\longrightarrow",!0);Te(ze,Qe,Et,"⇒","\\Rightarrow",!0);Te(ze,Qe,Et,"⟹","\\Longrightarrow",!0);Te(ze,Qe,Et,"↔","\\leftrightarrow",!0);Te(ze,Qe,Et,"⟷","\\longleftrightarrow",!0);Te(ze,Qe,Et,"⇔","\\Leftrightarrow",!0);Te(ze,Qe,Et,"⟺","\\Longleftrightarrow",!0);Te(ze,Qe,Et,"↦","\\mapsto",!0);Te(ze,Qe,Et,"⟼","\\longmapsto",!0);Te(ze,Qe,Et,"↗","\\nearrow",!0);Te(ze,Qe,Et,"↩","\\hookleftarrow",!0);Te(ze,Qe,Et,"↪","\\hookrightarrow",!0);Te(ze,Qe,Et,"↘","\\searrow",!0);Te(ze,Qe,Et,"↼","\\leftharpoonup",!0);Te(ze,Qe,Et,"⇀","\\rightharpoonup",!0);Te(ze,Qe,Et,"↙","\\swarrow",!0);Te(ze,Qe,Et,"↽","\\leftharpoondown",!0);Te(ze,Qe,Et,"⇁","\\rightharpoondown",!0);Te(ze,Qe,Et,"↖","\\nwarrow",!0);Te(ze,Qe,Et,"⇌","\\rightleftharpoons",!0);Te(ze,kt,Et,"≮","\\nless",!0);Te(ze,kt,Et,"","\\@nleqslant");Te(ze,kt,Et,"","\\@nleqq");Te(ze,kt,Et,"⪇","\\lneq",!0);Te(ze,kt,Et,"≨","\\lneqq",!0);Te(ze,kt,Et,"","\\@lvertneqq");Te(ze,kt,Et,"⋦","\\lnsim",!0);Te(ze,kt,Et,"⪉","\\lnapprox",!0);Te(ze,kt,Et,"⊀","\\nprec",!0);Te(ze,kt,Et,"⋠","\\npreceq",!0);Te(ze,kt,Et,"⋨","\\precnsim",!0);Te(ze,kt,Et,"⪹","\\precnapprox",!0);Te(ze,kt,Et,"≁","\\nsim",!0);Te(ze,kt,Et,"","\\@nshortmid");Te(ze,kt,Et,"∤","\\nmid",!0);Te(ze,kt,Et,"⊬","\\nvdash",!0);Te(ze,kt,Et,"⊭","\\nvDash",!0);Te(ze,kt,Et,"⋪","\\ntriangleleft");Te(ze,kt,Et,"⋬","\\ntrianglelefteq",!0);Te(ze,kt,Et,"⊊","\\subsetneq",!0);Te(ze,kt,Et,"","\\@varsubsetneq");Te(ze,kt,Et,"⫋","\\subsetneqq",!0);Te(ze,kt,Et,"","\\@varsubsetneqq");Te(ze,kt,Et,"≯","\\ngtr",!0);Te(ze,kt,Et,"","\\@ngeqslant");Te(ze,kt,Et,"","\\@ngeqq");Te(ze,kt,Et,"⪈","\\gneq",!0);Te(ze,kt,Et,"≩","\\gneqq",!0);Te(ze,kt,Et,"","\\@gvertneqq");Te(ze,kt,Et,"⋧","\\gnsim",!0);Te(ze,kt,Et,"⪊","\\gnapprox",!0);Te(ze,kt,Et,"⊁","\\nsucc",!0);Te(ze,kt,Et,"⋡","\\nsucceq",!0);Te(ze,kt,Et,"⋩","\\succnsim",!0);Te(ze,kt,Et,"⪺","\\succnapprox",!0);Te(ze,kt,Et,"≆","\\ncong",!0);Te(ze,kt,Et,"","\\@nshortparallel");Te(ze,kt,Et,"∦","\\nparallel",!0);Te(ze,kt,Et,"⊯","\\nVDash",!0);Te(ze,kt,Et,"⋫","\\ntriangleright");Te(ze,kt,Et,"⋭","\\ntrianglerighteq",!0);Te(ze,kt,Et,"","\\@nsupseteqq");Te(ze,kt,Et,"⊋","\\supsetneq",!0);Te(ze,kt,Et,"","\\@varsupsetneq");Te(ze,kt,Et,"⫌","\\supsetneqq",!0);Te(ze,kt,Et,"","\\@varsupsetneqq");Te(ze,kt,Et,"⊮","\\nVdash",!0);Te(ze,kt,Et,"⪵","\\precneqq",!0);Te(ze,kt,Et,"⪶","\\succneqq",!0);Te(ze,kt,Et,"","\\@nsubseteqq");Te(ze,kt,dr,"⊴","\\unlhd");Te(ze,kt,dr,"⊵","\\unrhd");Te(ze,kt,Et,"↚","\\nleftarrow",!0);Te(ze,kt,Et,"↛","\\nrightarrow",!0);Te(ze,kt,Et,"⇍","\\nLeftarrow",!0);Te(ze,kt,Et,"⇏","\\nRightarrow",!0);Te(ze,kt,Et,"↮","\\nleftrightarrow",!0);Te(ze,kt,Et,"⇎","\\nLeftrightarrow",!0);Te(ze,kt,Et,"△","\\vartriangle");Te(ze,kt,Pt,"ℏ","\\hslash");Te(ze,kt,Pt,"▽","\\triangledown");Te(ze,kt,Pt,"◊","\\lozenge");Te(ze,kt,Pt,"Ⓢ","\\circledS");Te(ze,kt,Pt,"®","\\circledR");Te(Dn,kt,Pt,"®","\\circledR");Te(ze,kt,Pt,"∡","\\measuredangle",!0);Te(ze,kt,Pt,"∄","\\nexists");Te(ze,kt,Pt,"℧","\\mho");Te(ze,kt,Pt,"Ⅎ","\\Finv",!0);Te(ze,kt,Pt,"⅁","\\Game",!0);Te(ze,kt,Pt,"‵","\\backprime");Te(ze,kt,Pt,"▲","\\blacktriangle");Te(ze,kt,Pt,"▼","\\blacktriangledown");Te(ze,kt,Pt,"■","\\blacksquare");Te(ze,kt,Pt,"⧫","\\blacklozenge");Te(ze,kt,Pt,"★","\\bigstar");Te(ze,kt,Pt,"∢","\\sphericalangle",!0);Te(ze,kt,Pt,"∁","\\complement",!0);Te(ze,kt,Pt,"ð","\\eth",!0);Te(Dn,Qe,Pt,"ð","ð");Te(ze,kt,Pt,"╱","\\diagup");Te(ze,kt,Pt,"╲","\\diagdown");Te(ze,kt,Pt,"□","\\square");Te(ze,kt,Pt,"□","\\Box");Te(ze,kt,Pt,"◊","\\Diamond");Te(ze,kt,Pt,"¥","\\yen",!0);Te(Dn,kt,Pt,"¥","\\yen",!0);Te(ze,kt,Pt,"✓","\\checkmark",!0);Te(Dn,kt,Pt,"✓","\\checkmark");Te(ze,kt,Pt,"ℶ","\\beth",!0);Te(ze,kt,Pt,"ℸ","\\daleth",!0);Te(ze,kt,Pt,"ℷ","\\gimel",!0);Te(ze,kt,Pt,"ϝ","\\digamma",!0);Te(ze,kt,Pt,"ϰ","\\varkappa");Te(ze,kt,md,"┌","\\@ulcorner",!0);Te(ze,kt,Hc,"┐","\\@urcorner",!0);Te(ze,kt,md,"└","\\@llcorner",!0);Te(ze,kt,Hc,"┘","\\@lrcorner",!0);Te(ze,kt,Et,"≦","\\leqq",!0);Te(ze,kt,Et,"⩽","\\leqslant",!0);Te(ze,kt,Et,"⪕","\\eqslantless",!0);Te(ze,kt,Et,"≲","\\lesssim",!0);Te(ze,kt,Et,"⪅","\\lessapprox",!0);Te(ze,kt,Et,"≊","\\approxeq",!0);Te(ze,kt,dr,"⋖","\\lessdot");Te(ze,kt,Et,"⋘","\\lll",!0);Te(ze,kt,Et,"≶","\\lessgtr",!0);Te(ze,kt,Et,"⋚","\\lesseqgtr",!0);Te(ze,kt,Et,"⪋","\\lesseqqgtr",!0);Te(ze,kt,Et,"≑","\\doteqdot");Te(ze,kt,Et,"≓","\\risingdotseq",!0);Te(ze,kt,Et,"≒","\\fallingdotseq",!0);Te(ze,kt,Et,"∽","\\backsim",!0);Te(ze,kt,Et,"⋍","\\backsimeq",!0);Te(ze,kt,Et,"⫅","\\subseteqq",!0);Te(ze,kt,Et,"⋐","\\Subset",!0);Te(ze,kt,Et,"⊏","\\sqsubset",!0);Te(ze,kt,Et,"≼","\\preccurlyeq",!0);Te(ze,kt,Et,"⋞","\\curlyeqprec",!0);Te(ze,kt,Et,"≾","\\precsim",!0);Te(ze,kt,Et,"⪷","\\precapprox",!0);Te(ze,kt,Et,"⊲","\\vartriangleleft");Te(ze,kt,Et,"⊴","\\trianglelefteq");Te(ze,kt,Et,"⊨","\\vDash",!0);Te(ze,kt,Et,"⊪","\\Vvdash",!0);Te(ze,kt,Et,"⌣","\\smallsmile");Te(ze,kt,Et,"⌢","\\smallfrown");Te(ze,kt,Et,"≏","\\bumpeq",!0);Te(ze,kt,Et,"≎","\\Bumpeq",!0);Te(ze,kt,Et,"≧","\\geqq",!0);Te(ze,kt,Et,"⩾","\\geqslant",!0);Te(ze,kt,Et,"⪖","\\eqslantgtr",!0);Te(ze,kt,Et,"≳","\\gtrsim",!0);Te(ze,kt,Et,"⪆","\\gtrapprox",!0);Te(ze,kt,dr,"⋗","\\gtrdot");Te(ze,kt,Et,"⋙","\\ggg",!0);Te(ze,kt,Et,"≷","\\gtrless",!0);Te(ze,kt,Et,"⋛","\\gtreqless",!0);Te(ze,kt,Et,"⪌","\\gtreqqless",!0);Te(ze,kt,Et,"≖","\\eqcirc",!0);Te(ze,kt,Et,"≗","\\circeq",!0);Te(ze,kt,Et,"≜","\\triangleq",!0);Te(ze,kt,Et,"∼","\\thicksim");Te(ze,kt,Et,"≈","\\thickapprox");Te(ze,kt,Et,"⫆","\\supseteqq",!0);Te(ze,kt,Et,"⋑","\\Supset",!0);Te(ze,kt,Et,"⊐","\\sqsupset",!0);Te(ze,kt,Et,"≽","\\succcurlyeq",!0);Te(ze,kt,Et,"⋟","\\curlyeqsucc",!0);Te(ze,kt,Et,"≿","\\succsim",!0);Te(ze,kt,Et,"⪸","\\succapprox",!0);Te(ze,kt,Et,"⊳","\\vartriangleright");Te(ze,kt,Et,"⊵","\\trianglerighteq");Te(ze,kt,Et,"⊩","\\Vdash",!0);Te(ze,kt,Et,"∣","\\shortmid");Te(ze,kt,Et,"∥","\\shortparallel");Te(ze,kt,Et,"≬","\\between",!0);Te(ze,kt,Et,"⋔","\\pitchfork",!0);Te(ze,kt,Et,"∝","\\varpropto");Te(ze,kt,Et,"◀","\\blacktriangleleft");Te(ze,kt,Et,"∴","\\therefore",!0);Te(ze,kt,Et,"∍","\\backepsilon");Te(ze,kt,Et,"▶","\\blacktriangleright");Te(ze,kt,Et,"∵","\\because",!0);Te(ze,kt,Et,"⋘","\\llless");Te(ze,kt,Et,"⋙","\\gggtr");Te(ze,kt,dr,"⊲","\\lhd");Te(ze,kt,dr,"⊳","\\rhd");Te(ze,kt,Et,"≂","\\eqsim",!0);Te(ze,Qe,Et,"⋈","\\Join");Te(ze,kt,Et,"≑","\\Doteq",!0);Te(ze,kt,dr,"∔","\\dotplus",!0);Te(ze,kt,dr,"∖","\\smallsetminus");Te(ze,kt,dr,"⋒","\\Cap",!0);Te(ze,kt,dr,"⋓","\\Cup",!0);Te(ze,kt,dr,"⩞","\\doublebarwedge",!0);Te(ze,kt,dr,"⊟","\\boxminus",!0);Te(ze,kt,dr,"⊞","\\boxplus",!0);Te(ze,kt,dr,"⋇","\\divideontimes",!0);Te(ze,kt,dr,"⋉","\\ltimes",!0);Te(ze,kt,dr,"⋊","\\rtimes",!0);Te(ze,kt,dr,"⋋","\\leftthreetimes",!0);Te(ze,kt,dr,"⋌","\\rightthreetimes",!0);Te(ze,kt,dr,"⋏","\\curlywedge",!0);Te(ze,kt,dr,"⋎","\\curlyvee",!0);Te(ze,kt,dr,"⊝","\\circleddash",!0);Te(ze,kt,dr,"⊛","\\circledast",!0);Te(ze,kt,dr,"⋅","\\centerdot");Te(ze,kt,dr,"⊺","\\intercal",!0);Te(ze,kt,dr,"⋒","\\doublecap");Te(ze,kt,dr,"⋓","\\doublecup");Te(ze,kt,dr,"⊠","\\boxtimes",!0);Te(ze,kt,Et,"⇢","\\dashrightarrow",!0);Te(ze,kt,Et,"⇠","\\dashleftarrow",!0);Te(ze,kt,Et,"⇇","\\leftleftarrows",!0);Te(ze,kt,Et,"⇆","\\leftrightarrows",!0);Te(ze,kt,Et,"⇚","\\Lleftarrow",!0);Te(ze,kt,Et,"↞","\\twoheadleftarrow",!0);Te(ze,kt,Et,"↢","\\leftarrowtail",!0);Te(ze,kt,Et,"↫","\\looparrowleft",!0);Te(ze,kt,Et,"⇋","\\leftrightharpoons",!0);Te(ze,kt,Et,"↶","\\curvearrowleft",!0);Te(ze,kt,Et,"↺","\\circlearrowleft",!0);Te(ze,kt,Et,"↰","\\Lsh",!0);Te(ze,kt,Et,"⇈","\\upuparrows",!0);Te(ze,kt,Et,"↿","\\upharpoonleft",!0);Te(ze,kt,Et,"⇃","\\downharpoonleft",!0);Te(ze,Qe,Et,"⊶","\\origof",!0);Te(ze,Qe,Et,"⊷","\\imageof",!0);Te(ze,kt,Et,"⊸","\\multimap",!0);Te(ze,kt,Et,"↭","\\leftrightsquigarrow",!0);Te(ze,kt,Et,"⇉","\\rightrightarrows",!0);Te(ze,kt,Et,"⇄","\\rightleftarrows",!0);Te(ze,kt,Et,"↠","\\twoheadrightarrow",!0);Te(ze,kt,Et,"↣","\\rightarrowtail",!0);Te(ze,kt,Et,"↬","\\looparrowright",!0);Te(ze,kt,Et,"↷","\\curvearrowright",!0);Te(ze,kt,Et,"↻","\\circlearrowright",!0);Te(ze,kt,Et,"↱","\\Rsh",!0);Te(ze,kt,Et,"⇊","\\downdownarrows",!0);Te(ze,kt,Et,"↾","\\upharpoonright",!0);Te(ze,kt,Et,"⇂","\\downharpoonright",!0);Te(ze,kt,Et,"⇝","\\rightsquigarrow",!0);Te(ze,kt,Et,"⇝","\\leadsto");Te(ze,kt,Et,"⇛","\\Rrightarrow",!0);Te(ze,kt,Et,"↾","\\restriction");Te(ze,Qe,Pt,"‘","`");Te(ze,Qe,Pt,"$","\\$");Te(Dn,Qe,Pt,"$","\\$");Te(Dn,Qe,Pt,"$","\\textdollar");Te(ze,Qe,Pt,"%","\\%");Te(Dn,Qe,Pt,"%","\\%");Te(ze,Qe,Pt,"_","\\_");Te(Dn,Qe,Pt,"_","\\_");Te(Dn,Qe,Pt,"_","\\textunderscore");Te(ze,Qe,Pt,"∠","\\angle",!0);Te(ze,Qe,Pt,"∞","\\infty",!0);Te(ze,Qe,Pt,"′","\\prime");Te(ze,Qe,Pt,"△","\\triangle");Te(ze,Qe,Pt,"Γ","\\Gamma",!0);Te(ze,Qe,Pt,"Δ","\\Delta",!0);Te(ze,Qe,Pt,"Θ","\\Theta",!0);Te(ze,Qe,Pt,"Λ","\\Lambda",!0);Te(ze,Qe,Pt,"Ξ","\\Xi",!0);Te(ze,Qe,Pt,"Π","\\Pi",!0);Te(ze,Qe,Pt,"Σ","\\Sigma",!0);Te(ze,Qe,Pt,"Υ","\\Upsilon",!0);Te(ze,Qe,Pt,"Φ","\\Phi",!0);Te(ze,Qe,Pt,"Ψ","\\Psi",!0);Te(ze,Qe,Pt,"Ω","\\Omega",!0);Te(ze,Qe,Pt,"A","Α");Te(ze,Qe,Pt,"B","Β");Te(ze,Qe,Pt,"E","Ε");Te(ze,Qe,Pt,"Z","Ζ");Te(ze,Qe,Pt,"H","Η");Te(ze,Qe,Pt,"I","Ι");Te(ze,Qe,Pt,"K","Κ");Te(ze,Qe,Pt,"M","Μ");Te(ze,Qe,Pt,"N","Ν");Te(ze,Qe,Pt,"O","Ο");Te(ze,Qe,Pt,"P","Ρ");Te(ze,Qe,Pt,"T","Τ");Te(ze,Qe,Pt,"X","Χ");Te(ze,Qe,Pt,"¬","\\neg",!0);Te(ze,Qe,Pt,"¬","\\lnot");Te(ze,Qe,Pt,"⊤","\\top");Te(ze,Qe,Pt,"⊥","\\bot");Te(ze,Qe,Pt,"∅","\\emptyset");Te(ze,kt,Pt,"∅","\\varnothing");Te(ze,Qe,oi,"α","\\alpha",!0);Te(ze,Qe,oi,"β","\\beta",!0);Te(ze,Qe,oi,"γ","\\gamma",!0);Te(ze,Qe,oi,"δ","\\delta",!0);Te(ze,Qe,oi,"ϵ","\\epsilon",!0);Te(ze,Qe,oi,"ζ","\\zeta",!0);Te(ze,Qe,oi,"η","\\eta",!0);Te(ze,Qe,oi,"θ","\\theta",!0);Te(ze,Qe,oi,"ι","\\iota",!0);Te(ze,Qe,oi,"κ","\\kappa",!0);Te(ze,Qe,oi,"λ","\\lambda",!0);Te(ze,Qe,oi,"μ","\\mu",!0);Te(ze,Qe,oi,"ν","\\nu",!0);Te(ze,Qe,oi,"ξ","\\xi",!0);Te(ze,Qe,oi,"ο","\\omicron",!0);Te(ze,Qe,oi,"π","\\pi",!0);Te(ze,Qe,oi,"ρ","\\rho",!0);Te(ze,Qe,oi,"σ","\\sigma",!0);Te(ze,Qe,oi,"τ","\\tau",!0);Te(ze,Qe,oi,"υ","\\upsilon",!0);Te(ze,Qe,oi,"ϕ","\\phi",!0);Te(ze,Qe,oi,"χ","\\chi",!0);Te(ze,Qe,oi,"ψ","\\psi",!0);Te(ze,Qe,oi,"ω","\\omega",!0);Te(ze,Qe,oi,"ε","\\varepsilon",!0);Te(ze,Qe,oi,"ϑ","\\vartheta",!0);Te(ze,Qe,oi,"ϖ","\\varpi",!0);Te(ze,Qe,oi,"ϱ","\\varrho",!0);Te(ze,Qe,oi,"ς","\\varsigma",!0);Te(ze,Qe,oi,"φ","\\varphi",!0);Te(ze,Qe,dr,"∗","*",!0);Te(ze,Qe,dr,"+","+");Te(ze,Qe,dr,"−","-",!0);Te(ze,Qe,dr,"⋅","\\cdot",!0);Te(ze,Qe,dr,"∘","\\circ",!0);Te(ze,Qe,dr,"÷","\\div",!0);Te(ze,Qe,dr,"±","\\pm",!0);Te(ze,Qe,dr,"×","\\times",!0);Te(ze,Qe,dr,"∩","\\cap",!0);Te(ze,Qe,dr,"∪","\\cup",!0);Te(ze,Qe,dr,"∖","\\setminus",!0);Te(ze,Qe,dr,"∧","\\land");Te(ze,Qe,dr,"∨","\\lor");Te(ze,Qe,dr,"∧","\\wedge",!0);Te(ze,Qe,dr,"∨","\\vee",!0);Te(ze,Qe,Pt,"√","\\surd");Te(ze,Qe,md,"⟨","\\langle",!0);Te(ze,Qe,md,"∣","\\lvert");Te(ze,Qe,md,"∥","\\lVert");Te(ze,Qe,Hc,"?","?");Te(ze,Qe,Hc,"!","!");Te(ze,Qe,Hc,"⟩","\\rangle",!0);Te(ze,Qe,Hc,"∣","\\rvert");Te(ze,Qe,Hc,"∥","\\rVert");Te(ze,Qe,Et,"=","=");Te(ze,Qe,Et,":",":");Te(ze,Qe,Et,"≈","\\approx",!0);Te(ze,Qe,Et,"≅","\\cong",!0);Te(ze,Qe,Et,"≥","\\ge");Te(ze,Qe,Et,"≥","\\geq",!0);Te(ze,Qe,Et,"←","\\gets");Te(ze,Qe,Et,">","\\gt",!0);Te(ze,Qe,Et,"∈","\\in",!0);Te(ze,Qe,Et,"","\\@not");Te(ze,Qe,Et,"⊂","\\subset",!0);Te(ze,Qe,Et,"⊃","\\supset",!0);Te(ze,Qe,Et,"⊆","\\subseteq",!0);Te(ze,Qe,Et,"⊇","\\supseteq",!0);Te(ze,kt,Et,"⊈","\\nsubseteq",!0);Te(ze,kt,Et,"⊉","\\nsupseteq",!0);Te(ze,Qe,Et,"⊨","\\models");Te(ze,Qe,Et,"←","\\leftarrow",!0);Te(ze,Qe,Et,"≤","\\le");Te(ze,Qe,Et,"≤","\\leq",!0);Te(ze,Qe,Et,"<","\\lt",!0);Te(ze,Qe,Et,"→","\\rightarrow",!0);Te(ze,Qe,Et,"→","\\to");Te(ze,kt,Et,"≱","\\ngeq",!0);Te(ze,kt,Et,"≰","\\nleq",!0);Te(ze,Qe,hm," ","\\ ");Te(ze,Qe,hm," ","\\space");Te(ze,Qe,hm," ","\\nobreakspace");Te(Dn,Qe,hm," ","\\ ");Te(Dn,Qe,hm," "," ");Te(Dn,Qe,hm," ","\\space");Te(Dn,Qe,hm," ","\\nobreakspace");Te(ze,Qe,hm,null,"\\nobreak");Te(ze,Qe,hm,null,"\\allowbreak");Te(ze,Qe,pz,",",",");Te(ze,Qe,pz,";",";");Te(ze,kt,dr,"⊼","\\barwedge",!0);Te(ze,kt,dr,"⊻","\\veebar",!0);Te(ze,Qe,dr,"⊙","\\odot",!0);Te(ze,Qe,dr,"⊕","\\oplus",!0);Te(ze,Qe,dr,"⊗","\\otimes",!0);Te(ze,Qe,Pt,"∂","\\partial",!0);Te(ze,Qe,dr,"⊘","\\oslash",!0);Te(ze,kt,dr,"⊚","\\circledcirc",!0);Te(ze,kt,dr,"⊡","\\boxdot",!0);Te(ze,Qe,dr,"△","\\bigtriangleup");Te(ze,Qe,dr,"▽","\\bigtriangledown");Te(ze,Qe,dr,"†","\\dagger");Te(ze,Qe,dr,"⋄","\\diamond");Te(ze,Qe,dr,"⋆","\\star");Te(ze,Qe,dr,"◃","\\triangleleft");Te(ze,Qe,dr,"▹","\\triangleright");Te(ze,Qe,md,"{","\\{");Te(Dn,Qe,Pt,"{","\\{");Te(Dn,Qe,Pt,"{","\\textbraceleft");Te(ze,Qe,Hc,"}","\\}");Te(Dn,Qe,Pt,"}","\\}");Te(Dn,Qe,Pt,"}","\\textbraceright");Te(ze,Qe,md,"{","\\lbrace");Te(ze,Qe,Hc,"}","\\rbrace");Te(ze,Qe,md,"[","\\lbrack",!0);Te(Dn,Qe,Pt,"[","\\lbrack",!0);Te(ze,Qe,Hc,"]","\\rbrack",!0);Te(Dn,Qe,Pt,"]","\\rbrack",!0);Te(ze,Qe,md,"(","\\lparen",!0);Te(ze,Qe,Hc,")","\\rparen",!0);Te(Dn,Qe,Pt,"<","\\textless",!0);Te(Dn,Qe,Pt,">","\\textgreater",!0);Te(ze,Qe,md,"⌊","\\lfloor",!0);Te(ze,Qe,Hc,"⌋","\\rfloor",!0);Te(ze,Qe,md,"⌈","\\lceil",!0);Te(ze,Qe,Hc,"⌉","\\rceil",!0);Te(ze,Qe,Pt,"\\","\\backslash");Te(ze,Qe,Pt,"∣","|");Te(ze,Qe,Pt,"∣","\\vert");Te(Dn,Qe,Pt,"|","\\textbar",!0);Te(ze,Qe,Pt,"∥","\\|");Te(ze,Qe,Pt,"∥","\\Vert");Te(Dn,Qe,Pt,"∥","\\textbardbl");Te(Dn,Qe,Pt,"~","\\textasciitilde");Te(Dn,Qe,Pt,"\\","\\textbackslash");Te(Dn,Qe,Pt,"^","\\textasciicircum");Te(ze,Qe,Et,"↑","\\uparrow",!0);Te(ze,Qe,Et,"⇑","\\Uparrow",!0);Te(ze,Qe,Et,"↓","\\downarrow",!0);Te(ze,Qe,Et,"⇓","\\Downarrow",!0);Te(ze,Qe,Et,"↕","\\updownarrow",!0);Te(ze,Qe,Et,"⇕","\\Updownarrow",!0);Te(ze,Qe,vl,"∐","\\coprod");Te(ze,Qe,vl,"⋁","\\bigvee");Te(ze,Qe,vl,"⋀","\\bigwedge");Te(ze,Qe,vl,"⨄","\\biguplus");Te(ze,Qe,vl,"⋂","\\bigcap");Te(ze,Qe,vl,"⋃","\\bigcup");Te(ze,Qe,vl,"∫","\\int");Te(ze,Qe,vl,"∫","\\intop");Te(ze,Qe,vl,"∬","\\iint");Te(ze,Qe,vl,"∭","\\iiint");Te(ze,Qe,vl,"∏","\\prod");Te(ze,Qe,vl,"∑","\\sum");Te(ze,Qe,vl,"⨂","\\bigotimes");Te(ze,Qe,vl,"⨁","\\bigoplus");Te(ze,Qe,vl,"⨀","\\bigodot");Te(ze,Qe,vl,"∮","\\oint");Te(ze,Qe,vl,"∯","\\oiint");Te(ze,Qe,vl,"∰","\\oiiint");Te(ze,Qe,vl,"⨆","\\bigsqcup");Te(ze,Qe,vl,"∫","\\smallint");Te(Dn,Qe,dE,"…","\\textellipsis");Te(ze,Qe,dE,"…","\\mathellipsis");Te(Dn,Qe,dE,"…","\\ldots",!0);Te(ze,Qe,dE,"…","\\ldots",!0);Te(ze,Qe,dE,"⋯","\\@cdots",!0);Te(ze,Qe,dE,"⋱","\\ddots",!0);Te(ze,Qe,Pt,"⋮","\\varvdots");Te(ze,Qe,us,"ˊ","\\acute");Te(ze,Qe,us,"ˋ","\\grave");Te(ze,Qe,us,"¨","\\ddot");Te(ze,Qe,us,"~","\\tilde");Te(ze,Qe,us,"ˉ","\\bar");Te(ze,Qe,us,"˘","\\breve");Te(ze,Qe,us,"ˇ","\\check");Te(ze,Qe,us,"^","\\hat");Te(ze,Qe,us,"⃗","\\vec");Te(ze,Qe,us,"˙","\\dot");Te(ze,Qe,us,"˚","\\mathring");Te(ze,Qe,oi,"","\\@imath");Te(ze,Qe,oi,"","\\@jmath");Te(ze,Qe,Pt,"ı","ı");Te(ze,Qe,Pt,"ȷ","ȷ");Te(Dn,Qe,Pt,"ı","\\i",!0);Te(Dn,Qe,Pt,"ȷ","\\j",!0);Te(Dn,Qe,Pt,"ß","\\ss",!0);Te(Dn,Qe,Pt,"æ","\\ae",!0);Te(Dn,Qe,Pt,"œ","\\oe",!0);Te(Dn,Qe,Pt,"ø","\\o",!0);Te(Dn,Qe,Pt,"Æ","\\AE",!0);Te(Dn,Qe,Pt,"Œ","\\OE",!0);Te(Dn,Qe,Pt,"Ø","\\O",!0);Te(Dn,Qe,us,"ˊ","\\'");Te(Dn,Qe,us,"ˋ","\\`");Te(Dn,Qe,us,"ˆ","\\^");Te(Dn,Qe,us,"˜","\\~");Te(Dn,Qe,us,"ˉ","\\=");Te(Dn,Qe,us,"˘","\\u");Te(Dn,Qe,us,"˙","\\.");Te(Dn,Qe,us,"¸","\\c");Te(Dn,Qe,us,"˚","\\r");Te(Dn,Qe,us,"ˇ","\\v");Te(Dn,Qe,us,"¨",'\\"');Te(Dn,Qe,us,"˝","\\H");Te(Dn,Qe,us,"◯","\\textcircled");var IYe={"--":!0,"---":!0,"``":!0,"''":!0};Te(Dn,Qe,Pt,"–","--",!0);Te(Dn,Qe,Pt,"–","\\textendash");Te(Dn,Qe,Pt,"—","---",!0);Te(Dn,Qe,Pt,"—","\\textemdash");Te(Dn,Qe,Pt,"‘","`",!0);Te(Dn,Qe,Pt,"‘","\\textquoteleft");Te(Dn,Qe,Pt,"’","'",!0);Te(Dn,Qe,Pt,"’","\\textquoteright");Te(Dn,Qe,Pt,"“","``",!0);Te(Dn,Qe,Pt,"“","\\textquotedblleft");Te(Dn,Qe,Pt,"”","''",!0);Te(Dn,Qe,Pt,"”","\\textquotedblright");Te(ze,Qe,Pt,"°","\\degree",!0);Te(Dn,Qe,Pt,"°","\\degree");Te(Dn,Qe,Pt,"°","\\textdegree",!0);Te(ze,Qe,Pt,"£","\\pounds");Te(ze,Qe,Pt,"£","\\mathsterling",!0);Te(Dn,Qe,Pt,"£","\\pounds");Te(Dn,Qe,Pt,"£","\\textsterling",!0);Te(ze,kt,Pt,"✠","\\maltese");Te(Dn,kt,Pt,"✠","\\maltese");var j9e='0123456789/@."';for(var SX=0;SX{if(b2(e.classes)!==b2(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},dar=e=>{for(var t=0;tn&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>i&&(i=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=i},uf=function(t,n,r,i){var a=new W7(t,n,r,i);return P0e(a),a},RYe=(e,t,n,r)=>new W7(e,t,n,r),har=function(t,n,r){var i=uf([t],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=Jn(i.height),i.maxFontSize=1,i},par=function(t,n,r,i){var a=new B0e(t,n,r,i);return P0e(a),a},MYe=function(t){var n=new q7(t);return P0e(n),n},gar=function(t,n){return t instanceof q7?uf([],[t],n):t},mar=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,a=i,o=1;o{var n=uf(["mspace"],[],t),r=ws(e,t);return n.style.marginRight=Jn(r),n},II=function(t,n,r){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return n==="textbf"&&r==="textit"?a="BoldItalic":n==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},OYe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},LYe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},war=function(t,n){var[r,i,a]=LYe[t],o=new w2(r),s=new Gg([o],{width:Jn(i),height:Jn(a),style:"width:"+Jn(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=RYe(["overlay"],[s],n);return l.height=a,l.style.height=Jn(a),l.style.width=Jn(i),l},Kt={fontMap:OYe,makeSymbol:s0,mathsym:lar,makeSpan:uf,makeSvgSpan:RYe,makeLineSpan:har,makeAnchor:par,makeFragment:MYe,wrapFragment:gar,makeVList:yar,makeOrd:car,makeGlue:bar,staticSvg:war,svgData:LYe,tryCombineChars:dar},gs={number:3,unit:"mu"},ob={number:4,unit:"mu"},J1={number:5,unit:"mu"},kar={mord:{mop:gs,mbin:ob,mrel:J1,minner:gs},mop:{mord:gs,mop:gs,mrel:J1,minner:gs},mbin:{mord:ob,mop:ob,mopen:ob,minner:ob},mrel:{mord:J1,mop:J1,mopen:J1,minner:J1},mopen:{},mclose:{mop:gs,mbin:ob,mrel:J1,minner:gs},mpunct:{mord:gs,mop:gs,mrel:J1,mopen:gs,mclose:gs,mpunct:gs,minner:gs},minner:{mord:gs,mop:gs,mbin:ob,mrel:J1,mopen:gs,mpunct:gs,minner:gs}},_ar={mord:{mop:gs},mop:{mord:gs,mop:gs},mbin:{},mrel:{},mopen:{},mclose:{mop:gs},mpunct:{},minner:{mop:gs}},BYe={},EB={},xB={};function ur(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l{var b=g.classes[0],m=p.classes[0];b==="mbin"&&di.contains(Ear,m)?g.classes[0]="mord":m==="mbin"&&di.contains(Car,b)&&(p.classes[0]="mord")},{node:f},d,h),V9e(a,(p,g)=>{var b=ase(g),m=ase(p),v=b&&m?p.hasClass("mtight")?_ar[b][m]:kar[b][m]:null;if(v)return Kt.makeGlue(v,u)},{node:f},d,h),a},V9e=function e(t,n,r,i,a){i&&t.push(i);for(var o=0;od=>{t.splice(f+1,0,d),o++})(o)}i&&t.pop()},PYe=function(t){return t instanceof q7||t instanceof B0e||t instanceof W7&&t.hasClass("enclosing")?t:null},Aar=function e(t,n){var r=PYe(t);if(r){var i=r.children;if(i.length){if(n==="right")return e(i[i.length-1],"right");if(n==="left")return e(i[0],"left")}}return t},ase=function(t,n){return t?(n&&(t=Aar(t,n)),Sar[t.classes[0]]||null):null},e8=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Vg(n.concat(r))},fa=function(t,n,r){if(!t)return Vg();if(EB[t.type]){var i=EB[t.type](t,n);if(r&&n.size!==r.size){i=Vg(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new Nn("Got group of unknown type: '"+t.type+"'")};function RI(e,t){var n=Vg(["base"],e,t),r=Vg(["strut"]);return r.style.height=Jn(n.height+n.depth),n.depth&&(r.style.verticalAlign=Jn(-n.depth)),n.children.unshift(r),n}function ose(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Bl(e,t,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var a=[],o=[],s=0;s0&&(a.push(RI(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(RI(o,t));var u;n?(u=RI(Bl(n,t,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var c=Vg(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),u){var f=u.children[0];f.style.height=Jn(c.height+c.depth),c.depth&&(f.style.verticalAlign=Jn(-c.depth))}return c}function FYe(e){return new q7(e)}class ah{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=b2(this.classes));for(var r=0;r0&&(t+=' class ="'+di.escape(b2(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}}class HS{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return di.escape(this.toText())}toText(){return this.text}}class Tar{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Jn(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Ln={MathNode:ah,TextNode:HS,SpaceNode:Tar,newDocumentFragment:FYe},xh=function(t,n,r){return xo[n][t]&&xo[n][t].replace&&t.charCodeAt(0)!==55349&&!(IYe.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=xo[n][t].replace),new Ln.TextNode(t)},F0e=function(t){return t.length===1?t[0]:new Ln.MathNode("mrow",t)},N0e=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var a=t.text;if(di.contains(["\\imath","\\jmath"],a))return null;xo[i][a]&&xo[i][a].replace&&(a=xo[i][a].replace);var o=Kt.fontMap[r].fontName;return L0e(a,o,i)?Kt.fontMap[r].variant:null},Of=function(t,n,r){if(t.length===1){var i=uo(t[0],n);return r&&i instanceof ah&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o,s=0;s0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),a.pop())}}}a.push(l),o=l}return a},k2=function(t,n,r){return F0e(Of(t,n,r))},uo=function(t,n){if(!t)return new Ln.MathNode("mrow");if(xB[t.type]){var r=xB[t.type](t,n);return r}else throw new Nn("Got group of unknown type: '"+t.type+"'")};function K9e(e,t,n,r,i){var a=Of(e,n),o;a.length===1&&a[0]instanceof ah&&di.contains(["mrow","mtable"],a[0].type)?o=a[0]:o=new Ln.MathNode("mrow",a);var s=new Ln.MathNode("annotation",[new Ln.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Ln.MathNode("semantics",[o,s]),u=new Ln.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");var c=i?"katex":"katex-mathml";return Kt.makeSpan([c],[u])}var NYe=function(t){return new gg({style:t.displayMode?ri.DISPLAY:ri.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},$Ye=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=Kt.makeSpan(r,[t])}return t},Dar=function(t,n,r){var i=NYe(r),a;if(r.output==="mathml")return K9e(t,n,i,r.displayMode,!0);if(r.output==="html"){var o=ose(t,i);a=Kt.makeSpan(["katex"],[o])}else{var s=K9e(t,n,i,r.displayMode,!1),l=ose(t,i);a=Kt.makeSpan(["katex"],[s,l])}return $Ye(a,r)},Iar=function(t,n,r){var i=NYe(r),a=ose(t,i),o=Kt.makeSpan(["katex"],[a]);return $Ye(o,r)},Rar={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Mar=function(t){var n=new Ln.MathNode("mo",[new Ln.TextNode(Rar[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Oar={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Lar=function(t){return t.type==="ordgroup"?t.body.length:1},Bar=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(di.contains(["widehat","widecheck","widetilde","utilde"],l)){var u=t,c=Lar(u.base),f,d,h;if(c>5)l==="widehat"||l==="widecheck"?(f=420,s=2364,h=.42,d=l+"4"):(f=312,s=2340,h=.34,d="tilde4");else{var p=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][p],f=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],d=l+p):(s=[0,600,1033,2339,2340][p],f=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],d="tilde"+p)}var g=new w2(d),b=new Gg([g],{width:"100%",height:Jn(h),viewBox:"0 0 "+s+" "+f,preserveAspectRatio:"none"});return{span:Kt.makeSvgSpan([],[b],n),minWidth:0,height:h}}else{var m=[],v=Oar[l],[w,k,E]=v,S=E/1e3,T=w.length,L,M;if(T===1){var D=v[3];L=["hide-tail"],M=[D]}else if(T===2)L=["halfarrow-left","halfarrow-right"],M=["xMinYMin","xMaxYMin"];else if(T===3)L=["brace-left","brace-center","brace-right"],M=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+T+" children.");for(var I=0;I0&&(i.style.minWidth=Jn(a)),i},Par=function(t,n,r,i,a){var o,s=t.height+t.depth+r+i;if(/fbox|color|angl/.test(n)){if(o=Kt.makeSpan(["stretchy",n],[],a),n==="fbox"){var l=a.color&&a.getColor();l&&(o.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(n)&&u.push(new rse({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&u.push(new rse({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Gg(u,{width:"100%",height:Jn(s)});o=Kt.makeSvgSpan([],[c],a)}return o.height=s,o.style.height=Jn(s),o},Kg={encloseSpan:Par,mathMLnode:Mar,svgSpan:Bar};function Ai(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $0e(e){var t=mz(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function mz(e){return e&&(e.type==="atom"||oar.hasOwnProperty(e.type))?e:null}var z0e=(e,t)=>{var n,r,i;e&&e.type==="supsub"?(r=Ai(e.base,"accent"),n=r.base,e.base=n,i=iar(fa(e,t)),e.base=r):(r=Ai(e,"accent"),n=r.base);var a=fa(n,t.havingCrampedStyle()),o=r.isShifty&&di.isCharacterBox(n),s=0;if(o){var l=di.getBaseElem(n),u=fa(l,t.havingCrampedStyle());s=U9e(u).skew}var c=r.label==="\\c",f=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=Kg.svgSpan(r,t),d=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Jn(2*s)+")",marginLeft:Jn(2*s)}:void 0}]},t);else{var h,p;r.label==="\\vec"?(h=Kt.staticSvg("vec",t),p=Kt.svgData.vec[1]):(h=Kt.makeOrd({mode:r.mode,text:r.label},t,"textord"),h=U9e(h),h.italic=0,p=h.width,c&&(f+=h.depth)),d=Kt.makeSpan(["accent-body"],[h]);var g=r.label==="\\textcircled";g&&(d.classes.push("accent-full"),f=a.height);var b=s;g||(b-=p/2),d.style.left=Jn(b),r.label==="\\textcircled"&&(d.style.top=".2em"),d=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:d}]},t)}var m=Kt.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=m,i.height=Math.max(m.height,i.height),i.classes[0]="mord",i):m},zYe=(e,t)=>{var n=e.isStretchy?Kg.mathMLnode(e.label):new Ln.MathNode("mo",[xh(e.label,e.mode)]),r=new Ln.MathNode("mover",[uo(e.base,t),n]);return r.setAttribute("accent","true"),r},Far=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ur({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=SB(t[0]),r=!Far.test(e.funcName),i=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:z0e,mathmlBuilder:zYe});ur({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:z0e,mathmlBuilder:zYe});ur({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=fa(e.base,t),r=Kg.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=Kt.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Kt.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var n=Kg.mathMLnode(e.label),r=new Ln.MathNode("munder",[uo(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var MI=e=>{var t=new Ln.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ur({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=Kt.wrapFragment(fa(e.body,r,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=Kt.wrapFragment(fa(e.below,r,t),t),o.classes.push(a+"-arrow-pad"));var s=Kg.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(u-=i.depth);var c;if(o){var f=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;c=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:o,shift:f}]},t)}else c=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:s,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Kt.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var n=Kg.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var i=MI(uo(e.body,t));if(e.below){var a=MI(uo(e.below,t));r=new Ln.MathNode("munderover",[n,a,i])}else r=new Ln.MathNode("mover",[n,i])}else if(e.below){var o=MI(uo(e.below,t));r=new Ln.MathNode("munder",[n,o])}else r=MI(),r=new Ln.MathNode("mover",[n,r]);return r}});var Nar=Kt.makeSpan;function UYe(e,t){var n=Bl(e.body,t,!0);return Nar([e.mclass],n,t)}function jYe(e,t){var n,r=Of(e.body,t);return e.mclass==="minner"?n=new Ln.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ln.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ln.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ur({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Xs(i),isCharacterBox:di.isCharacterBox(i)}},htmlBuilder:UYe,mathmlBuilder:jYe});var vz=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ur({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:vz(t[0]),body:Xs(t[1]),isCharacterBox:di.isCharacterBox(t[1])}}});ur({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o;r!=="\\stackrel"?o=vz(i):o="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Xs(i)},l={type:"supsub",mode:a.mode,base:s,sup:r==="\\underset"?null:a,sub:r==="\\underset"?a:null};return{type:"mclass",mode:n.mode,mclass:o,body:[l],isCharacterBox:di.isCharacterBox(l)}},htmlBuilder:UYe,mathmlBuilder:jYe});ur({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:vz(t[0]),body:Xs(t[0])}},htmlBuilder(e,t){var n=Bl(e.body,t,!0),r=Kt.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Of(e.body,t),r=new Ln.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var $ar={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Y9e=()=>({type:"styling",body:[],mode:"math",style:"display"}),X9e=e=>e.type==="textord"&&e.text==="@",zar=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Uar(e,t,n){var r=$ar[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[a],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,o,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function jar(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Nn("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],i=[r],a=0;a-1))if("<>AV".indexOf(u)>-1)for(var f=0;f<2;f++){for(var d=!0,h=l+1;hAV=|." after @',o[l]);var p=Uar(u,c,e),g={type:"styling",body:[p],mode:"math",style:"display"};r.push(g),s=Y9e()}a%2===0?r.push(s):r.shift(),r=[],i.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ur({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Kt.wrapFragment(fa(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Jn(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ln.MathNode("mrow",[uo(e.label,t)]);return n=new Ln.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ln.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ur({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Kt.wrapFragment(fa(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ln.MathNode("mrow",[uo(e.fragment,t)])}});ur({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Ai(t[0],"ordgroup"),i=r.body,a="",o=0;o=1114111)throw new Nn("\\@char with invalid code point "+a);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:u}}});var HYe=(e,t)=>{var n=Bl(e.body,t.withColor(e.color),!1);return Kt.makeFragment(n)},qYe=(e,t)=>{var n=Of(e.body,t.withColor(e.color)),r=new Ln.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ur({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Ai(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Xs(i)}},htmlBuilder:HYe,mathmlBuilder:qYe});ur({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Ai(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var a=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:a}},htmlBuilder:HYe,mathmlBuilder:qYe});ur({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:a,size:i&&Ai(i,"size").value}},htmlBuilder(e,t){var n=Kt.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Jn(ws(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ln.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Jn(ws(e.size,t)))),n}});var sse={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},WYe=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Nn("Expected a control sequence",e);return t},Har=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},GYe=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};ur({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(sse[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=sse[r.text]),Ai(t.parseFunction(),"internal");throw new Nn("Invalid token after macro prefix",r)}});ur({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Nn("Expected a control sequence",r);for(var a=0,o,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Nn('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new Nn('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if(r.text==="EOF")throw new Nn("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return o&&l.unshift(o),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:s},n===sse[n]),{type:"internal",mode:t.mode}}});ur({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=WYe(t.gullet.popToken());t.gullet.consumeSpaces();var i=Har(t);return GYe(t,r,i,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ur({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=WYe(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return GYe(t,r,a,n==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Tx=function(t,n,r){var i=xo.math[t]&&xo.math[t].replace,a=L0e(i||t,n,r);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return a},U0e=function(t,n,r,i){var a=r.havingBaseStyle(n),o=Kt.makeSpan(i.concat(a.sizingClasses(r)),[t],r),s=a.sizeMultiplier/r.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=a.sizeMultiplier,o},VYe=function(t,n,r){var i=n.havingBaseStyle(r),a=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Jn(a),t.height-=a,t.depth+=a},qar=function(t,n,r,i,a,o){var s=Kt.makeSymbol(t,"Main-Regular",a,i),l=U0e(s,n,i,o);return r&&VYe(l,i,n),l},War=function(t,n,r,i){return Kt.makeSymbol(t,"Size"+n+"-Regular",r,i)},KYe=function(t,n,r,i,a,o){var s=War(t,n,a,i),l=U0e(Kt.makeSpan(["delimsizing","size"+n],[s],i),ri.TEXT,i,o);return r&&VYe(l,i,ri.TEXT),l},IX=function(t,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=Kt.makeSpan(["delimsizinginner",i],[Kt.makeSpan([],[Kt.makeSymbol(t,n,r)])]);return{type:"elem",elem:a}},RX=function(t,n,r){var i=Fp["Size4-Regular"][t.charCodeAt(0)]?Fp["Size4-Regular"][t.charCodeAt(0)][4]:Fp["Size1-Regular"][t.charCodeAt(0)][4],a=new w2("inner",Xir(t,Math.round(1e3*n))),o=new Gg([a],{width:Jn(i),height:Jn(n),style:"width:"+Jn(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=Kt.makeSvgSpan([],[o],r);return s.height=n,s.style.height=Jn(n),s.style.width=Jn(i),{type:"elem",elem:s}},lse=.008,OI={type:"kern",size:-1*lse},Gar=["|","\\lvert","\\rvert","\\vert"],Var=["\\|","\\lVert","\\rVert","\\Vert"],YYe=function(t,n,r,i,a,o){var s,l,u,c,f="",d=0;s=u=c=t,l=null;var h="Size1-Regular";t==="\\uparrow"?u=c="⏐":t==="\\Uparrow"?u=c="‖":t==="\\downarrow"?s=u="⏐":t==="\\Downarrow"?s=u="‖":t==="\\updownarrow"?(s="\\uparrow",u="⏐",c="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",u="‖",c="\\Downarrow"):di.contains(Gar,t)?(u="∣",f="vert",d=333):di.contains(Var,t)?(u="∥",f="doublevert",d=556):t==="["||t==="\\lbrack"?(s="⎡",u="⎢",c="⎣",h="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(s="⎤",u="⎥",c="⎦",h="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(u=s="⎢",c="⎣",h="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="⌈"?(s="⎡",u=c="⎢",h="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="⌋"?(u=s="⎥",c="⎦",h="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="⌉"?(s="⎤",u=c="⎥",h="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(s="⎛",u="⎜",c="⎝",h="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(s="⎞",u="⎟",c="⎠",h="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",c="⎩",u="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",c="⎭",u="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",c="⎩",u="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",c="⎭",u="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",c="⎭",u="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",c="⎩",u="⎪",h="Size4-Regular");var p=Tx(s,h,a),g=p.height+p.depth,b=Tx(u,h,a),m=b.height+b.depth,v=Tx(c,h,a),w=v.height+v.depth,k=0,E=1;if(l!==null){var S=Tx(l,h,a);k=S.height+S.depth,E=2}var T=g+w+k,L=Math.max(0,Math.ceil((n-T)/(E*m))),M=T+L*E*m,D=i.fontMetrics().axisHeight;r&&(D*=i.sizeMultiplier);var I=M/2-D,B=[];if(f.length>0){var N=M-g-w,O=Math.round(M*1e3),R=Jir(f,Math.round(N*1e3)),P=new w2(f,R),H=(d/1e3).toFixed(3)+"em",F=(O/1e3).toFixed(3)+"em",q=new Gg([P],{width:H,height:F,viewBox:"0 0 "+d+" "+O}),V=Kt.makeSvgSpan([],[q],i);V.height=O/1e3,V.style.width=H,V.style.height=F,B.push({type:"elem",elem:V})}else{if(B.push(IX(c,h,a)),B.push(OI),l===null){var X=M-g-w+2*lse;B.push(RX(u,X,i))}else{var G=(M-g-w-k)/2+2*lse;B.push(RX(u,G,i)),B.push(OI),B.push(IX(l,h,a)),B.push(OI),B.push(RX(u,G,i))}B.push(OI),B.push(IX(s,h,a))}var J=i.havingBaseStyle(ri.TEXT),te=Kt.makeVList({positionType:"bottom",positionData:I,children:B},J);return U0e(Kt.makeSpan(["delimsizing","mult"],[te],J),ri.TEXT,i,o)},MX=80,OX=.08,LX=function(t,n,r,i,a){var o=Yir(t,i,r),s=new w2(t,o),l=new Gg([s],{width:"400em",height:Jn(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Kt.makeSvgSpan(["hide-tail"],[l],a)},Kar=function(t,n){var r=n.havingBaseSizing(),i=QYe("\\surd",t*r.sizeMultiplier,ZYe,r),a=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,u=0,c=0,f;return i.type==="small"?(c=1e3+1e3*o+MX,t<1?a=1:t<1.4&&(a=.7),l=(1+o+OX)/a,u=(1+o)/a,s=LX("sqrtMain",l,c,o,n),s.style.minWidth="0.853em",f=.833/a):i.type==="large"?(c=(1e3+MX)*qS[i.size],u=(qS[i.size]+o)/a,l=(qS[i.size]+o+OX)/a,s=LX("sqrtSize"+i.size,l,c,o,n),s.style.minWidth="1.02em",f=1/a):(l=t+o+OX,u=t+o,c=Math.floor(1e3*t+o)+MX,s=LX("sqrtTall",l,c,o,n),s.style.minWidth="0.742em",f=1.056),s.height=u,s.style.height=Jn(l),{span:s,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*a}},XYe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Yar=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],JYe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],qS=[0,1.2,1.8,2.4,3],Xar=function(t,n,r,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),di.contains(XYe,t)||di.contains(JYe,t))return KYe(t,n,!1,r,i,a);if(di.contains(Yar,t))return YYe(t,qS[n],!1,r,i,a);throw new Nn("Illegal delimiter: '"+t+"'")},Jar=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Zar=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"stack"}],ZYe=[{type:"small",style:ri.SCRIPTSCRIPT},{type:"small",style:ri.SCRIPT},{type:"small",style:ri.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Qar=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},QYe=function(t,n,r,i){for(var a=Math.min(2,3-i.style.size),o=a;on)return r[o]}return r[r.length-1]},eXe=function(t,n,r,i,a,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;di.contains(JYe,t)?s=Jar:di.contains(XYe,t)?s=ZYe:s=Zar;var l=QYe(t,n,s,i);return l.type==="small"?qar(t,l.style,r,i,a,o):l.type==="large"?KYe(t,l.size,r,i,a,o):YYe(t,n,r,i,a,o)},eor=function(t,n,r,i,a,o){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,u=5/i.fontMetrics().ptPerEm,c=Math.max(n-s,r+s),f=Math.max(c/500*l,2*c-u);return eXe(t,f,!0,i,a,o)},Og={sqrtImage:Kar,sizedDelim:Xar,sizeToMaxHeight:qS,customSizedDelim:eXe,leftRightDelim:eor},J9e={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},tor=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function yz(e,t){var n=mz(e);if(n&&di.contains(tor,n.text))return n;throw n?new Nn("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Nn("Invalid delimiter type '"+e.type+"'",e)}ur({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=yz(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:J9e[e.funcName].size,mclass:J9e[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?Kt.makeSpan([e.mclass]):Og.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(xh(e.delim,e.mode));var n=new Ln.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Jn(Og.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Z9e(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ur({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Nn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:yz(t[0],e).text,color:n}}});ur({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=yz(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=Ai(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Z9e(e);for(var n=Bl(e.body,t,!0,["mopen","mclose"]),r=0,i=0,a=!1,o=0;o{Z9e(e);var n=Of(e.body,t);if(e.left!=="."){var r=new Ln.MathNode("mo",[xh(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var i=new Ln.MathNode("mo",[xh(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return F0e(n)}});ur({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=yz(t[0],e);if(!e.parser.leftrightDepth)throw new Nn("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=e8(t,[]);else{n=Og.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?xh("|","text"):xh(e.delim,e.mode),r=new Ln.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var j0e=(e,t)=>{var n=Kt.wrapFragment(fa(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=di.isCharacterBox(e.body);if(r==="sout")a=Kt.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=ws({number:.6,unit:"pt"},t),u=ws({number:.35,unit:"ex"},t),c=t.havingBaseSizing();i=i/c.sizeMultiplier;var f=n.height+n.depth+l+u;n.style.paddingLeft=Jn(f/2+l);var d=Math.floor(1e3*f*i),h=Vir(d),p=new Gg([new w2("phase",h)],{width:"400em",height:Jn(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=Kt.makeSvgSpan(["hide-tail"],[p],t),a.style.height=Jn(f),o=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,b=0,m=0;/box/.test(r)?(m=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),g=t.fontMetrics().fboxsep+(r==="colorbox"?0:m),b=g):r==="angl"?(m=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),g=4*m,b=Math.max(0,.25-n.depth)):(g=s?.2:0,b=g),a=Kg.encloseSpan(n,r,g,b,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle="solid",a.style.borderWidth=Jn(m)):r==="angl"&&m!==.049&&(a.style.borderTopWidth=Jn(m),a.style.borderRightWidth=Jn(m)),o=n.depth+b,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var v;if(e.backgroundColor)v=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var w=/cancel|phase/.test(r)?["svg-align"]:[];v=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:a,shift:o,wrapperClasses:w}]},t)}return/cancel/.test(r)&&(v.height=n.height,v.depth=n.depth),/cancel/.test(r)&&!s?Kt.makeSpan(["mord","cancel-lap"],[v],t):Kt.makeSpan(["mord"],[v],t)},H0e=(e,t)=>{var n=0,r=new Ln.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[uo(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ur({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ai(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Ai(t[0],"color-token").color,o=Ai(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});ur({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:j0e,mathmlBuilder:H0e});ur({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var tXe={};function C1(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new Nn("{"+e.envName+"} can be used only in display mode.")};function q0e(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ty(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:f,leqno:d}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)o=1;else if(o=parseFloat(h),!o||o<0)throw new Nn("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var p=[],g=[p],b=[],m=[],v=l!=null?[]:void 0;function w(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){v&&(e.gullet.macros.get("\\df@tag")?(v.push(e.subparse([new Qv("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):v.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(w(),m.push(Q9e(e));;){var E=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),E={type:"ordgroup",mode:e.mode,body:E},n&&(E={type:"styling",mode:e.mode,style:n,body:[E]}),p.push(E);var S=e.fetch().text;if(S==="&"){if(f&&p.length===f){if(u||s)throw new Nn("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(S==="\\end"){k(),p.length===1&&E.type==="styling"&&E.body[0].body.length===0&&(g.length>1||!c)&&g.pop(),m.length0&&(w+=.25),u.push({pos:w,isDashed:ie[he]})}for(k(o[0]),r=0;r0&&(I+=v,Tie))for(r=0;r=s)){var ae=void 0;(i>0||t.hskipBeforeAndAfter)&&(ae=di.deflt(G.pregap,d),ae!==0&&(R=Kt.makeSpan(["arraycolsep"],[]),R.style.width=Jn(ae),O.push(R)));var le=[];for(r=0;r0){for(var ue=Kt.makeLineSpan("hline",n,c),Ae=Kt.makeLineSpan("hdashline",n,c),ce=[{type:"elem",elem:l,shift:0}];u.length>0;){var be=u.pop(),ge=be.pos-B;be.isDashed?ce.push({type:"elem",elem:Ae,shift:ge}):ce.push({type:"elem",elem:ue,shift:ge})}l=Kt.makeVList({positionType:"individualShift",children:ce},n)}if(H.length===0)return Kt.makeSpan(["mord"],[l],n);var ve=Kt.makeVList({positionType:"individualShift",children:H},n);return ve=Kt.makeSpan(["tag"],[ve],n),Kt.makeFragment([l,ve])},nor={c:"center ",l:"left ",r:"right "},x1=function(t,n){for(var r=[],i=new Ln.MathNode("mtd",[],["mtr-glue"]),a=new Ln.MathNode("mtd",[],["mml-eqn-num"]),o=0;o0){var p=t.cols,g="",b=!1,m=0,v=p.length;p[0].type==="separator"&&(d+="top ",m=1),p[p.length-1].type==="separator"&&(d+="bottom ",v-=1);for(var w=m;w0?"left ":"",d+=L[L.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",a=t.envName==="split",o=ty(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:q0e(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var c="",f=0;f0&&h&&(b=1),r[p]={type:"align",align:g,pregap:b,postgap:0}}return o.colSeparationType=h?"align":"alignat",o};C1({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=mz(t[0]),r=n?[t[0]]:Ai(t[0],"ordgroup").body,i=r.map(function(o){var s=$0e(o),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Nn("Unknown column alignment: "+l,o)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return ty(e.parser,a,W0e(e.envName))},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new Nn("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var a=ty(e.parser,r,W0e(e.envName)),o=Math.max(0,...a.body.map(s=>s.length));return a.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=ty(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=mz(t[0]),r=n?[t[0]]:Ai(t[0],"ordgroup").body,i=r.map(function(o){var s=$0e(o),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Nn("Unknown column alignment: "+l,o)});if(i.length>1)throw new Nn("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=ty(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new Nn("{subarray} can contain only one column");return a},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=ty(e.parser,t,W0e(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rXe,htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){di.contains(["gather","gather*"],e.envName)&&bz(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:q0e(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ty(e.parser,t,"display")},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rXe,htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){bz(e);var t={autoTag:q0e(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ty(e.parser,t,"display")},htmlBuilder:E1,mathmlBuilder:x1});C1({type:"array",names:["CD"],props:{numArgs:0},handler(e){return bz(e),jar(e.parser)},htmlBuilder:E1,mathmlBuilder:x1});nt("\\nonumber","\\gdef\\@eqnsw{0}");nt("\\notag","\\nonumber");ur({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Nn(e.funcName+" valid only within array environment")}});var exe=tXe;ur({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!=="ordgroup")throw new Nn("Invalid environment name",i);for(var a="",o=0;o{var n=e.font,r=t.withFont(n);return fa(e.body,r)},aXe=(e,t)=>{var n=e.font,r=t.withFont(n);return uo(e.body,r)},txe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ur({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=SB(t[0]),a=r;return a in txe&&(a=txe[a]),{type:"font",mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:iXe,mathmlBuilder:aXe});ur({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],i=di.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:vz(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});ur({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:a,font:s,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:iXe,mathmlBuilder:aXe});var oXe=(e,t)=>{var n=t;return e==="display"?n=n.id>=ri.SCRIPT.id?n.text():ri.DISPLAY:e==="text"&&n.size===ri.DISPLAY.size?n=ri.TEXT:e==="script"?n=ri.SCRIPT:e==="scriptscript"&&(n=ri.SCRIPTSCRIPT),n},G0e=(e,t)=>{var n=oXe(e.size,t.style),r=n.fracNum(),i=n.fracDen(),a;a=t.havingStyle(r);var o=fa(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?p=3*d:p=7*d,g=t.fontMetrics().denom1):(f>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),g=t.fontMetrics().denom2);var b;if(c){var v=t.fontMetrics().axisHeight;h-o.depth-(v+.5*f){var n=new Ln.MathNode("mfrac",[uo(e.numer,t),uo(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ws(e.barSize,t);n.setAttribute("linethickness",Jn(r))}var i=oXe(e.size,t.style);if(i.size!==t.style.size){n=new Ln.MathNode("mstyle",[n]);var a=i.size===ri.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",a),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var s=new Ln.MathNode("mo",[new Ln.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(n),e.rightDelim!=null){var l=new Ln.MathNode("mo",[new Ln.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return F0e(o)}return n};ur({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,l=null,u="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",l=")";break;case"\\\\bracefrac":o=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:o,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:G0e,mathmlBuilder:V0e});ur({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ur({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:r}}});var nxe=["display","text","script","scriptscript"],rxe=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ur({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=SB(t[0]),o=a.type==="atom"&&a.family==="open"?rxe(a.text):null,s=SB(t[1]),l=s.type==="atom"&&s.family==="close"?rxe(s.text):null,u=Ai(t[2],"size"),c,f=null;u.isBlank?c=!0:(f=u.value,c=f.number>0);var d="auto",h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var p=Ai(h.body[0],"textord");d=nxe[Number(p.text)]}}else h=Ai(h,"textord"),d=nxe[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:c,barSize:f,leftDelim:o,rightDelim:l,size:d}},htmlBuilder:G0e,mathmlBuilder:V0e});ur({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ai(t[0],"size").value,token:i}}});ur({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Mir(Ai(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:G0e,mathmlBuilder:V0e});var sXe=(e,t)=>{var n=t.style,r,i;e.type==="supsub"?(r=e.sup?fa(e.sup,t.havingStyle(n.sup()),t):fa(e.sub,t.havingStyle(n.sub()),t),i=Ai(e.base,"horizBrace")):i=Ai(e,"horizBrace");var a=fa(i.base,t.havingBaseStyle(ri.DISPLAY)),o=Kg.svgSpan(i,t),s;if(i.isOver?(s=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=Kt.makeVList({positionType:"bottom",positionData:a.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=Kt.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t);i.isOver?s=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=Kt.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Kt.makeSpan(["mord",i.isOver?"mover":"munder"],[s],t)},ror=(e,t)=>{var n=Kg.mathMLnode(e.label);return new Ln.MathNode(e.isOver?"mover":"munder",[uo(e.base,t),n])};ur({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:sXe,mathmlBuilder:ror});ur({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Ai(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Xs(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Bl(e.body,t,!1);return Kt.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=k2(e.body,t);return n instanceof ah||(n=new ah("mrow",[n])),n.setAttribute("href",e.href),n}});ur({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Ai(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:n,funcName:r,token:i}=e,a=Ai(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=a,s={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,s={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,s={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),c=0;c{var n=Bl(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=Kt.makeSpan(r,n,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>k2(e.body,t)});ur({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Xs(t[0]),mathml:Xs(t[1])}},htmlBuilder:(e,t)=>{var n=Bl(e.html,t,!1);return Kt.makeFragment(n)},mathmlBuilder:(e,t)=>k2(e.mathml,t)});var BX=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Nn("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!SYe(r))throw new Nn("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ur({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(n[0])for(var l=Ai(n[0],"raw").string,u=l.split(","),c=0;c{var n=ws(e.height,t),r=0;e.totalheight.number>0&&(r=ws(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=ws(e.width,t));var a={height:Jn(n+r)};i>0&&(a.width=Jn(i)),r>0&&(a.verticalAlign=Jn(-r));var o=new nar(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Ln.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ws(e.height,t),i=0;if(e.totalheight.number>0&&(i=ws(e.totalheight,t)-r,n.setAttribute("valign",Jn(-i))),n.setAttribute("height",Jn(r+i)),e.width.number>0){var a=ws(e.width,t);n.setAttribute("width",Jn(a))}return n.setAttribute("src",e.src),n}});ur({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Ai(t[0],"size");if(n.settings.strict){var a=r[1]==="m",o=i.value.unit==="mu";a?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Kt.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=ws(e.dimension,t);return new Ln.SpaceNode(n)}});ur({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=Kt.makeSpan([],[fa(e.body,t)]),n=Kt.makeSpan(["inner"],[n],t)):n=Kt.makeSpan(["inner"],[fa(e.body,t)]);var r=Kt.makeSpan(["fix"],[]),i=Kt.makeSpan([e.alignment],[n,r],t),a=Kt.makeSpan(["strut"]);return a.style.height=Jn(i.height+i.depth),i.depth&&(a.style.verticalAlign=Jn(-i.depth)),i.children.unshift(a),i=Kt.makeSpan(["thinbox"],[i],t),Kt.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var n=new Ln.MathNode("mpadded",[uo(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});ur({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode("math");var a=n==="\\("?"\\)":"$",o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}});ur({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Nn("Mismatched "+e.funcName)}});var ixe=(e,t)=>{switch(t.style.size){case ri.DISPLAY.size:return e.display;case ri.TEXT.size:return e.text;case ri.SCRIPT.size:return e.script;case ri.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ur({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Xs(t[0]),text:Xs(t[1]),script:Xs(t[2]),scriptscript:Xs(t[3])}},htmlBuilder:(e,t)=>{var n=ixe(e,t),r=Bl(n,t,!1);return Kt.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=ixe(e,t);return k2(n,t)}});var lXe=(e,t,n,r,i,a,o)=>{e=Kt.makeSpan([],[e]);var s=n&&di.isCharacterBox(n),l,u;if(t){var c=fa(t,r.havingStyle(i.sup()),r);u={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-c.depth)}}if(n){var f=fa(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var d;if(u&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o;d=Kt.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Jn(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Jn(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-o;d=Kt.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Jn(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(u){var g=e.depth+o;d=Kt.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Jn(a)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var b=[d];if(l&&a!==0&&!s){var m=Kt.makeSpan(["mspace"],[],r);m.style.marginRight=Jn(a),b.unshift(m)}return Kt.makeSpan(["mop","op-limits"],b,r)},uXe=["\\smallint"],hE=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ai(e.base,"op"),i=!0):a=Ai(e,"op");var o=t.style,s=!1;o.size===ri.DISPLAY.size&&a.symbol&&!di.contains(uXe,a.name)&&(s=!0);var l;if(a.symbol){var u=s?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),l=Kt.makeSymbol(a.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),c.length>0){var f=l.italic,d=Kt.staticSvg(c+"Size"+(s?"2":"1"),t);l=Kt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),a.name="\\"+c,l.classes.unshift("mop"),l.italic=f}}else if(a.body){var h=Bl(a.body,t,!0);h.length===1&&h[0]instanceof Eh?(l=h[0],l.classes[0]="mop"):l=Kt.makeSpan(["mop"],h,t)}else{for(var p=[],g=1;g{var n;if(e.symbol)n=new ah("mo",[xh(e.name,e.mode)]),di.contains(uXe,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ah("mo",Of(e.body,t));else{n=new ah("mi",[new HS(e.name.slice(1))]);var r=new ah("mo",[xh("⁡","text")]);e.parentIsSupSub?n=new ah("mrow",[n,r]):n=FYe([n,r])}return n},ior={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ur({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=ior[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Xs(r)}},htmlBuilder:hE,mathmlBuilder:G7});var aor={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ur({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:hE,mathmlBuilder:G7});ur({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=aor[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:hE,mathmlBuilder:G7});var cXe=(e,t)=>{var n,r,i=!1,a;e.type==="supsub"?(n=e.sup,r=e.sub,a=Ai(e.base,"operatorname"),i=!0):a=Ai(e,"operatorname");var o;if(a.body.length>0){for(var s=a.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=Bl(s,t.withFont("mathrm"),!0),u=0;u{for(var n=Of(e.body,t.withFont("mathrm")),r=!0,i=0;ic.toText()).join("");n=[new Ln.TextNode(s)]}var l=new Ln.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new Ln.MathNode("mo",[xh("⁡","text")]);return e.parentIsSupSub?new Ln.MathNode("mrow",[l,u]):Ln.newDocumentFragment([l,u])};ur({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:"operatorname",mode:n.mode,body:Xs(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:cXe,mathmlBuilder:oor});nt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");T3({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Kt.makeFragment(Bl(e.body,t,!1)):Kt.makeSpan(["mord"],Bl(e.body,t,!0),t)},mathmlBuilder(e,t){return k2(e.body,t,!0)}});ur({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=fa(e.body,t.havingCrampedStyle()),r=Kt.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Kt.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[new Ln.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ln.MathNode("mover",[uo(e.body,t),n]);return r.setAttribute("accent","true"),r}});ur({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Xs(r)}},htmlBuilder:(e,t)=>{var n=Bl(e.body,t.withPhantom(),!1);return Kt.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Of(e.body,t);return new Ln.MathNode("mphantom",n)}});ur({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Kt.makeSpan([],[fa(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Of(Xs(e.body),t),r=new Ln.MathNode("mphantom",n),i=new Ln.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});ur({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Kt.makeSpan(["inner"],[fa(e.body,t.withPhantom())]),r=Kt.makeSpan(["fix"],[]);return Kt.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Of(Xs(e.body),t),r=new Ln.MathNode("mphantom",n),i=new Ln.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});ur({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Ai(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=fa(e.body,t),r=ws(e.dy,t);return Kt.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mpadded",[uo(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});ur({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ur({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Ai(t[0],"size"),o=Ai(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Ai(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=Kt.makeSpan(["mord","rule"],[],t),r=ws(e.width,t),i=ws(e.height,t),a=e.shift?ws(e.shift,t):0;return n.style.borderRightWidth=Jn(r),n.style.borderTopWidth=Jn(i),n.style.bottom=Jn(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ws(e.width,t),r=ws(e.height,t),i=e.shift?ws(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new Ln.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",Jn(n)),o.setAttribute("height",Jn(r));var s=new Ln.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",Jn(i)):(s.setAttribute("height",Jn(i)),s.setAttribute("depth",Jn(-i))),s.setAttribute("voffset",Jn(i)),s}});function fXe(e,t,n){for(var r=Bl(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a{var n=t.havingSize(e.size);return fXe(e.body,n,t)};ur({type:"sizing",names:axe,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:axe.indexOf(r)+1,body:a}},htmlBuilder:sor,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Of(e.body,n),i=new Ln.MathNode("mstyle",r);return i.setAttribute("mathsize",Jn(n.sizeMultiplier)),i}});ur({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Ai(n[0],"ordgroup");if(o)for(var s="",l=0;l{var n=Kt.makeSpan([],[fa(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new Ln.MathNode("mpadded",[uo(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ur({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:"sqrt",mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=fa(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Kt.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,a=i;t.style.idn.height+n.depth+o&&(o=(o+f-n.height-n.depth)/2);var d=l.height-n.height-o-u;n.style.paddingLeft=Jn(c);var h=Kt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var p=t.havingStyle(ri.SCRIPTSCRIPT),g=fa(e.index,p,t),b=.6*(h.height-h.depth),m=Kt.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:g}]},t),v=Kt.makeSpan(["root"],[m]);return Kt.makeSpan(["mord","sqrt"],[v,h],t)}else return Kt.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ln.MathNode("mroot",[uo(n,t),uo(r,t)]):new Ln.MathNode("msqrt",[uo(n,t)])}});var oxe={display:ri.DISPLAY,text:ri.TEXT,script:ri.SCRIPT,scriptscript:ri.SCRIPTSCRIPT};ur({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=oxe[e.style],r=t.havingStyle(n).withFont("");return fXe(e.body,r,t)},mathmlBuilder(e,t){var n=oxe[e.style],r=t.havingStyle(n),i=Of(e.body,r),a=new Ln.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return a.setAttribute("scriptlevel",s[0]),a.setAttribute("displaystyle",s[1]),a}});var lor=function(t,n){var r=t.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===ri.DISPLAY.size||r.alwaysHandleSupSub);return i?hE:null}else if(r.type==="operatorname"){var a=r.alwaysHandleSupSub&&(n.style.size===ri.DISPLAY.size||r.limits);return a?cXe:null}else{if(r.type==="accent")return di.isCharacterBox(r.base)?z0e:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?sXe:null}else return null}else return null};T3({type:"supsub",htmlBuilder(e,t){var n=lor(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=fa(r,t),s,l,u=t.fontMetrics(),c=0,f=0,d=r&&di.isCharacterBox(r);if(i){var h=t.havingStyle(t.style.sup());s=fa(i,h,t),d||(c=o.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(a){var p=t.havingStyle(t.style.sub());l=fa(a,p,t),d||(f=o.depth+p.fontMetrics().subDrop*p.sizeMultiplier/t.sizeMultiplier)}var g;t.style===ri.DISPLAY?g=u.sup1:t.style.cramped?g=u.sup3:g=u.sup2;var b=t.sizeMultiplier,m=Jn(.5/u.ptPerEm/b),v=null;if(l){var w=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof Eh||w)&&(v=Jn(-o.italic))}var k;if(s&&l){c=Math.max(c,g,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var E=u.defaultRuleThickness,S=4*E;if(c-s.depth-(l.height-f)0&&(c+=T,f-=T)}var L=[{type:"elem",elem:l,shift:f,marginRight:m,marginLeft:v},{type:"elem",elem:s,shift:-c,marginRight:m}];k=Kt.makeVList({positionType:"individualShift",children:L},t)}else if(l){f=Math.max(f,u.sub1,l.height-.8*u.xHeight);var M=[{type:"elem",elem:l,marginLeft:v,marginRight:m}];k=Kt.makeVList({positionType:"shift",positionData:f,children:M},t)}else if(s)c=Math.max(c,g,s.depth+.25*u.xHeight),k=Kt.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:s,marginRight:m}]},t);else throw new Error("supsub must have either sup or sub.");var D=ase(o,"right")||"mord";return Kt.makeSpan([D],[o,Kt.makeSpan(["msupsub"],[k])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[uo(e.base,t)];e.sub&&a.push(uo(e.sub,t)),e.sup&&a.push(uo(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===ri.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===ri.DISPLAY||u.limits)?o="munderover":o="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ri.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ri.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===ri.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===ri.DISPLAY)?o="mover":o="msup"}return new Ln.MathNode(o,a)}});T3({type:"atom",htmlBuilder(e,t){return Kt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[xh(e.text,e.mode)]);if(e.family==="bin"){var r=N0e(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var dXe={mi:"italic",mn:"normal",mtext:"normal"};T3({type:"mathord",htmlBuilder(e,t){return Kt.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ln.MathNode("mi",[xh(e.text,e.mode,t)]),r=N0e(e,t)||"italic";return r!==dXe[n.type]&&n.setAttribute("mathvariant",r),n}});T3({type:"textord",htmlBuilder(e,t){return Kt.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=xh(e.text,e.mode,t),r=N0e(e,t)||"normal",i;return e.mode==="text"?i=new Ln.MathNode("mtext",[n]):/[0-9]/.test(e.text)?i=new Ln.MathNode("mn",[n]):e.text==="\\prime"?i=new Ln.MathNode("mo",[n]):i=new Ln.MathNode("mi",[n]),r!==dXe[i.type]&&i.setAttribute("mathvariant",r),i}});var PX={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},FX={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};T3({type:"spacing",htmlBuilder(e,t){if(FX.hasOwnProperty(e.text)){var n=FX[e.text].className||"";if(e.mode==="text"){var r=Kt.makeOrd(e,t,"textord");return r.classes.push(n),r}else return Kt.makeSpan(["mspace",n],[Kt.mathsym(e.text,e.mode,t)],t)}else{if(PX.hasOwnProperty(e.text))return Kt.makeSpan(["mspace",PX[e.text]],[],t);throw new Nn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(FX.hasOwnProperty(e.text))n=new Ln.MathNode("mtext",[new Ln.TextNode(" ")]);else{if(PX.hasOwnProperty(e.text))return new Ln.MathNode("mspace");throw new Nn('Unknown type of space "'+e.text+'"')}return n}});var sxe=()=>{var e=new Ln.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};T3({type:"tag",mathmlBuilder(e,t){var n=new Ln.MathNode("mtable",[new Ln.MathNode("mtr",[sxe(),new Ln.MathNode("mtd",[k2(e.body,t)]),sxe(),new Ln.MathNode("mtd",[k2(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var lxe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},uxe={"\\textbf":"textbf","\\textmd":"textmd"},uor={"\\textit":"textit","\\textup":"textup"},cxe=(e,t)=>{var n=e.font;return n?lxe[n]?t.withTextFontFamily(lxe[n]):uxe[n]?t.withTextFontWeight(uxe[n]):t.withTextFontShape(uor[n]):t};ur({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:"text",mode:n.mode,body:Xs(i),font:r}},htmlBuilder(e,t){var n=cxe(e,t),r=Bl(e.body,n,!0);return Kt.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=cxe(e,t);return k2(e.body,n)}});ur({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=fa(e.body,t),r=Kt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=Kt.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Kt.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var n=new Ln.MathNode("mo",[new Ln.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ln.MathNode("munder",[uo(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});ur({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=fa(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Kt.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ln.MathNode("mpadded",[uo(e.body,t)],["vcenter"])}});ur({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Nn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=fxe(e),r=[],i=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),Rv=BYe,hXe=`[ \r + ]`,cor="\\\\[a-zA-Z@]+",dor="\\\\[^\uD800-\uDFFF]",hor="("+cor+")"+hXe+"*",por=`\\\\( |[ \r ]+ -?)[ \r ]*`,use="[̀-ͯ]",por=new RegExp(use+"+$"),gor="("+hXe+"+)|"+(hor+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(use+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(use+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+dor)+("|"+cor+")");class dxe{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(gor,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Qv("EOF",new qf(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Nn("Unexpected character: '"+t[n]+"'",new Qv(t[n],new qf(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(` -`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Qv(i,new qf(this,n,this.tokenRegex.lastIndex))}}class mor{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Nn("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var vor=nXe;nt("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});nt("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});nt("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});nt("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});nt("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});nt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");nt("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var hxe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};nt("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Nn("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=hxe[t.text],r==null||r>=n)throw new Nn("Invalid base-"+n+" digit "+t.text);for(var i;(i=hxe[e.future().text])!=null&&i{var r=e.consumeArg().tokens;if(r.length!==1)throw new Nn("\\newcommand's first argument must be a macro name");var i=r[0].text,a=e.isDefined(i);if(a&&!t)throw new Nn("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!n)throw new Nn("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var s="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Nn("Invalid number of arguments: "+s);o=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(i,{tokens:r,numArgs:o}),""};nt("\\newcommand",e=>K0e(e,!1,!0));nt("\\renewcommand",e=>K0e(e,!0,!1));nt("\\providecommand",e=>K0e(e,!0,!0));nt("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});nt("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});nt("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Rv[n],xo.math[n],xo.text[n]),""});nt("\\bgroup","{");nt("\\egroup","}");nt("~","\\nobreakspace");nt("\\lq","`");nt("\\rq","'");nt("\\aa","\\r a");nt("\\AA","\\r A");nt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");nt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");nt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");nt("ℬ","\\mathscr{B}");nt("ℰ","\\mathscr{E}");nt("ℱ","\\mathscr{F}");nt("ℋ","\\mathscr{H}");nt("ℐ","\\mathscr{I}");nt("ℒ","\\mathscr{L}");nt("ℳ","\\mathscr{M}");nt("ℛ","\\mathscr{R}");nt("ℭ","\\mathfrak{C}");nt("ℌ","\\mathfrak{H}");nt("ℨ","\\mathfrak{Z}");nt("\\Bbbk","\\Bbb{k}");nt("·","\\cdotp");nt("\\llap","\\mathllap{\\textrm{#1}}");nt("\\rlap","\\mathrlap{\\textrm{#1}}");nt("\\clap","\\mathclap{\\textrm{#1}}");nt("\\mathstrut","\\vphantom{(}");nt("\\underbar","\\underline{\\text{#1}}");nt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');nt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");nt("\\ne","\\neq");nt("≠","\\neq");nt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");nt("∉","\\notin");nt("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");nt("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");nt("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");nt("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");nt("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");nt("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");nt("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");nt("⟂","\\perp");nt("‼","\\mathclose{!\\mkern-0.8mu!}");nt("∌","\\notni");nt("⌜","\\ulcorner");nt("⌝","\\urcorner");nt("⌞","\\llcorner");nt("⌟","\\lrcorner");nt("©","\\copyright");nt("®","\\textregistered");nt("️","\\textregistered");nt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');nt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');nt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');nt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');nt("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");nt("⋮","\\vdots");nt("\\varGamma","\\mathit{\\Gamma}");nt("\\varDelta","\\mathit{\\Delta}");nt("\\varTheta","\\mathit{\\Theta}");nt("\\varLambda","\\mathit{\\Lambda}");nt("\\varXi","\\mathit{\\Xi}");nt("\\varPi","\\mathit{\\Pi}");nt("\\varSigma","\\mathit{\\Sigma}");nt("\\varUpsilon","\\mathit{\\Upsilon}");nt("\\varPhi","\\mathit{\\Phi}");nt("\\varPsi","\\mathit{\\Psi}");nt("\\varOmega","\\mathit{\\Omega}");nt("\\substack","\\begin{subarray}{c}#1\\end{subarray}");nt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");nt("\\boxed","\\fbox{$\\displaystyle{#1}$}");nt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");nt("\\implies","\\DOTSB\\;\\Longrightarrow\\;");nt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var pxe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};nt("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in pxe?t=pxe[n]:(n.slice(0,4)==="\\not"||n in xo.math&&di.contains(["bin","rel"],xo.math[n].group))&&(t="\\dotsb"),t});var Y0e={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};nt("\\dotso",function(e){var t=e.future().text;return t in Y0e?"\\ldots\\,":"\\ldots"});nt("\\dotsc",function(e){var t=e.future().text;return t in Y0e&&t!==","?"\\ldots\\,":"\\ldots"});nt("\\cdots",function(e){var t=e.future().text;return t in Y0e?"\\@cdots\\,":"\\@cdots"});nt("\\dotsb","\\cdots");nt("\\dotsm","\\cdots");nt("\\dotsi","\\!\\cdots");nt("\\dotsx","\\ldots\\,");nt("\\DOTSI","\\relax");nt("\\DOTSB","\\relax");nt("\\DOTSX","\\relax");nt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");nt("\\,","\\tmspace+{3mu}{.1667em}");nt("\\thinspace","\\,");nt("\\>","\\mskip{4mu}");nt("\\:","\\tmspace+{4mu}{.2222em}");nt("\\medspace","\\:");nt("\\;","\\tmspace+{5mu}{.2777em}");nt("\\thickspace","\\;");nt("\\!","\\tmspace-{3mu}{.1667em}");nt("\\negthinspace","\\!");nt("\\negmedspace","\\tmspace-{4mu}{.2222em}");nt("\\negthickspace","\\tmspace-{5mu}{.277em}");nt("\\enspace","\\kern.5em ");nt("\\enskip","\\hskip.5em\\relax");nt("\\quad","\\hskip1em\\relax");nt("\\qquad","\\hskip2em\\relax");nt("\\tag","\\@ifstar\\tag@literal\\tag@paren");nt("\\tag@paren","\\tag@literal{({#1})}");nt("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Nn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});nt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");nt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");nt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");nt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");nt("\\newline","\\\\\\relax");nt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var pXe=Jn(Fp["Main-Regular"]["T".charCodeAt(0)][1]-.7*Fp["Main-Regular"]["A".charCodeAt(0)][1]);nt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+pXe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");nt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+pXe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");nt("\\hspace","\\@ifstar\\@hspacer\\@hspace");nt("\\@hspace","\\hskip #1\\relax");nt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");nt("\\ordinarycolon",":");nt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");nt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');nt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');nt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');nt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');nt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');nt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');nt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');nt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');nt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');nt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');nt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');nt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');nt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');nt("∷","\\dblcolon");nt("∹","\\eqcolon");nt("≔","\\coloneqq");nt("≕","\\eqqcolon");nt("⩴","\\Coloneqq");nt("\\ratio","\\vcentcolon");nt("\\coloncolon","\\dblcolon");nt("\\colonequals","\\coloneqq");nt("\\coloncolonequals","\\Coloneqq");nt("\\equalscolon","\\eqqcolon");nt("\\equalscoloncolon","\\Eqqcolon");nt("\\colonminus","\\coloneq");nt("\\coloncolonminus","\\Coloneq");nt("\\minuscolon","\\eqcolon");nt("\\minuscoloncolon","\\Eqcolon");nt("\\coloncolonapprox","\\Colonapprox");nt("\\coloncolonsim","\\Colonsim");nt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");nt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");nt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");nt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");nt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");nt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");nt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");nt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");nt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");nt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");nt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");nt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");nt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");nt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");nt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");nt("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");nt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");nt("\\nleqq","\\html@mathml{\\@nleqq}{≰}");nt("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");nt("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");nt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");nt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");nt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");nt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");nt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");nt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");nt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");nt("\\imath","\\html@mathml{\\@imath}{ı}");nt("\\jmath","\\html@mathml{\\@jmath}{ȷ}");nt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");nt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");nt("⟦","\\llbracket");nt("⟧","\\rrbracket");nt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");nt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");nt("⦃","\\lBrace");nt("⦄","\\rBrace");nt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");nt("⦵","\\minuso");nt("\\darr","\\downarrow");nt("\\dArr","\\Downarrow");nt("\\Darr","\\Downarrow");nt("\\lang","\\langle");nt("\\rang","\\rangle");nt("\\uarr","\\uparrow");nt("\\uArr","\\Uparrow");nt("\\Uarr","\\Uparrow");nt("\\N","\\mathbb{N}");nt("\\R","\\mathbb{R}");nt("\\Z","\\mathbb{Z}");nt("\\alef","\\aleph");nt("\\alefsym","\\aleph");nt("\\Alpha","\\mathrm{A}");nt("\\Beta","\\mathrm{B}");nt("\\bull","\\bullet");nt("\\Chi","\\mathrm{X}");nt("\\clubs","\\clubsuit");nt("\\cnums","\\mathbb{C}");nt("\\Complex","\\mathbb{C}");nt("\\Dagger","\\ddagger");nt("\\diamonds","\\diamondsuit");nt("\\empty","\\emptyset");nt("\\Epsilon","\\mathrm{E}");nt("\\Eta","\\mathrm{H}");nt("\\exist","\\exists");nt("\\harr","\\leftrightarrow");nt("\\hArr","\\Leftrightarrow");nt("\\Harr","\\Leftrightarrow");nt("\\hearts","\\heartsuit");nt("\\image","\\Im");nt("\\infin","\\infty");nt("\\Iota","\\mathrm{I}");nt("\\isin","\\in");nt("\\Kappa","\\mathrm{K}");nt("\\larr","\\leftarrow");nt("\\lArr","\\Leftarrow");nt("\\Larr","\\Leftarrow");nt("\\lrarr","\\leftrightarrow");nt("\\lrArr","\\Leftrightarrow");nt("\\Lrarr","\\Leftrightarrow");nt("\\Mu","\\mathrm{M}");nt("\\natnums","\\mathbb{N}");nt("\\Nu","\\mathrm{N}");nt("\\Omicron","\\mathrm{O}");nt("\\plusmn","\\pm");nt("\\rarr","\\rightarrow");nt("\\rArr","\\Rightarrow");nt("\\Rarr","\\Rightarrow");nt("\\real","\\Re");nt("\\reals","\\mathbb{R}");nt("\\Reals","\\mathbb{R}");nt("\\Rho","\\mathrm{P}");nt("\\sdot","\\cdot");nt("\\sect","\\S");nt("\\spades","\\spadesuit");nt("\\sub","\\subset");nt("\\sube","\\subseteq");nt("\\supe","\\supseteq");nt("\\Tau","\\mathrm{T}");nt("\\thetasym","\\vartheta");nt("\\weierp","\\wp");nt("\\Zeta","\\mathrm{Z}");nt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");nt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");nt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");nt("\\bra","\\mathinner{\\langle{#1}|}");nt("\\ket","\\mathinner{|{#1}\\rangle}");nt("\\braket","\\mathinner{\\langle{#1}\\rangle}");nt("\\Bra","\\left\\langle#1\\right|");nt("\\Ket","\\left|#1\\right\\rangle");var gXe=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=f=>d=>{e&&(d.macros.set("|",o),i.length&&d.macros.set("\\|",s));var h=f;if(!f&&i.length){var p=d.future();p.text==="|"&&(d.popToken(),h=!0)}return{tokens:h?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...a,...u,...n]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};nt("\\bra@ket",gXe(!1));nt("\\bra@set",gXe(!0));nt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");nt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");nt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");nt("\\angln","{\\angl n}");nt("\\blue","\\textcolor{##6495ed}{#1}");nt("\\orange","\\textcolor{##ffa500}{#1}");nt("\\pink","\\textcolor{##ff00af}{#1}");nt("\\red","\\textcolor{##df0030}{#1}");nt("\\green","\\textcolor{##28ae7b}{#1}");nt("\\gray","\\textcolor{gray}{#1}");nt("\\purple","\\textcolor{##9d38bd}{#1}");nt("\\blueA","\\textcolor{##ccfaff}{#1}");nt("\\blueB","\\textcolor{##80f6ff}{#1}");nt("\\blueC","\\textcolor{##63d9ea}{#1}");nt("\\blueD","\\textcolor{##11accd}{#1}");nt("\\blueE","\\textcolor{##0c7f99}{#1}");nt("\\tealA","\\textcolor{##94fff5}{#1}");nt("\\tealB","\\textcolor{##26edd5}{#1}");nt("\\tealC","\\textcolor{##01d1c1}{#1}");nt("\\tealD","\\textcolor{##01a995}{#1}");nt("\\tealE","\\textcolor{##208170}{#1}");nt("\\greenA","\\textcolor{##b6ffb0}{#1}");nt("\\greenB","\\textcolor{##8af281}{#1}");nt("\\greenC","\\textcolor{##74cf70}{#1}");nt("\\greenD","\\textcolor{##1fab54}{#1}");nt("\\greenE","\\textcolor{##0d923f}{#1}");nt("\\goldA","\\textcolor{##ffd0a9}{#1}");nt("\\goldB","\\textcolor{##ffbb71}{#1}");nt("\\goldC","\\textcolor{##ff9c39}{#1}");nt("\\goldD","\\textcolor{##e07d10}{#1}");nt("\\goldE","\\textcolor{##a75a05}{#1}");nt("\\redA","\\textcolor{##fca9a9}{#1}");nt("\\redB","\\textcolor{##ff8482}{#1}");nt("\\redC","\\textcolor{##f9685d}{#1}");nt("\\redD","\\textcolor{##e84d39}{#1}");nt("\\redE","\\textcolor{##bc2612}{#1}");nt("\\maroonA","\\textcolor{##ffbde0}{#1}");nt("\\maroonB","\\textcolor{##ff92c6}{#1}");nt("\\maroonC","\\textcolor{##ed5fa6}{#1}");nt("\\maroonD","\\textcolor{##ca337c}{#1}");nt("\\maroonE","\\textcolor{##9e034e}{#1}");nt("\\purpleA","\\textcolor{##ddd7ff}{#1}");nt("\\purpleB","\\textcolor{##c6b9fc}{#1}");nt("\\purpleC","\\textcolor{##aa87ff}{#1}");nt("\\purpleD","\\textcolor{##7854ab}{#1}");nt("\\purpleE","\\textcolor{##543b78}{#1}");nt("\\mintA","\\textcolor{##f5f9e8}{#1}");nt("\\mintB","\\textcolor{##edf2df}{#1}");nt("\\mintC","\\textcolor{##e0e5cc}{#1}");nt("\\grayA","\\textcolor{##f6f7f7}{#1}");nt("\\grayB","\\textcolor{##f0f1f2}{#1}");nt("\\grayC","\\textcolor{##e3e5e6}{#1}");nt("\\grayD","\\textcolor{##d6d8da}{#1}");nt("\\grayE","\\textcolor{##babec2}{#1}");nt("\\grayF","\\textcolor{##888d93}{#1}");nt("\\grayG","\\textcolor{##626569}{#1}");nt("\\grayH","\\textcolor{##3b3e40}{#1}");nt("\\grayI","\\textcolor{##21242c}{#1}");nt("\\kaBlue","\\textcolor{##314453}{#1}");nt("\\kaGreen","\\textcolor{##71B307}{#1}");var mXe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class yor{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new mor(vor,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new dxe(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new Qv("EOF",r.loc)),this.pushTokens(i),n.range(r,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++o;else if(a.text==="}"){if(--o,o===-1)throw new Nn("Extra }",a)}else if(a.text==="EOF")throw new Nn("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",a);if(t&&r)if((o===0||o===1&&t[s]==="{")&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Nn("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;ithis.settings.maxExpand)throw new Nn("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new Nn("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...o[+l.text-1]);else throw new Nn("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Qv(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var o=i.replace(/##/g,"");o.indexOf("#"+(a+1))!==-1;)++a;for(var s=new dxe(i,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var c={tokens:l,numArgs:a};return c}return i}isDefined(t){return this.macros.has(t)||Rv.hasOwnProperty(t)||xo.math.hasOwnProperty(t)||xo.text.hasOwnProperty(t)||mXe.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Rv.hasOwnProperty(t)&&!Rv[t].primitive}}var gxe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,LI=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),NX={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},mxe={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let vXe=class cse{constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new yor(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Nn("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Qv("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(cse.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||t&&Rv[i.text]&&Rv[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var s=xo[this.mode][n].group,l=qf.range(t),u;if(iar.hasOwnProperty(s)){var c=s;u={type:"atom",mode:this.mode,family:c,loc:l,text:n}}else u={type:s,mode:this.mode,loc:l,text:n};o=u}else if(n.charCodeAt(0)>=128)this.settings.strict&&(xYe(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:qf.range(t),text:n};else return null;if(this.consume(),a)for(var f=0;fo&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function Z0e(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Cor(e,t){return yxe(e,t.inConstruct,!0)&&!yxe(e,t.notInConstruct,!1)}function yxe(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=u||c+10;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var yor=nXe;nt("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});nt("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});nt("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});nt("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});nt("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});nt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");nt("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var hxe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};nt("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Nn("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=hxe[t.text],r==null||r>=n)throw new Nn("Invalid base-"+n+" digit "+t.text);for(var i;(i=hxe[e.future().text])!=null&&i{var r=e.consumeArg().tokens;if(r.length!==1)throw new Nn("\\newcommand's first argument must be a macro name");var i=r[0].text,a=e.isDefined(i);if(a&&!t)throw new Nn("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!n)throw new Nn("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var s="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new Nn("Invalid number of arguments: "+s);o=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(i,{tokens:r,numArgs:o}),""};nt("\\newcommand",e=>K0e(e,!1,!0));nt("\\renewcommand",e=>K0e(e,!0,!1));nt("\\providecommand",e=>K0e(e,!0,!0));nt("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});nt("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});nt("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Rv[n],xo.math[n],xo.text[n]),""});nt("\\bgroup","{");nt("\\egroup","}");nt("~","\\nobreakspace");nt("\\lq","`");nt("\\rq","'");nt("\\aa","\\r a");nt("\\AA","\\r A");nt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");nt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");nt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");nt("ℬ","\\mathscr{B}");nt("ℰ","\\mathscr{E}");nt("ℱ","\\mathscr{F}");nt("ℋ","\\mathscr{H}");nt("ℐ","\\mathscr{I}");nt("ℒ","\\mathscr{L}");nt("ℳ","\\mathscr{M}");nt("ℛ","\\mathscr{R}");nt("ℭ","\\mathfrak{C}");nt("ℌ","\\mathfrak{H}");nt("ℨ","\\mathfrak{Z}");nt("\\Bbbk","\\Bbb{k}");nt("·","\\cdotp");nt("\\llap","\\mathllap{\\textrm{#1}}");nt("\\rlap","\\mathrlap{\\textrm{#1}}");nt("\\clap","\\mathclap{\\textrm{#1}}");nt("\\mathstrut","\\vphantom{(}");nt("\\underbar","\\underline{\\text{#1}}");nt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');nt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");nt("\\ne","\\neq");nt("≠","\\neq");nt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");nt("∉","\\notin");nt("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");nt("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");nt("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");nt("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");nt("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");nt("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");nt("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");nt("⟂","\\perp");nt("‼","\\mathclose{!\\mkern-0.8mu!}");nt("∌","\\notni");nt("⌜","\\ulcorner");nt("⌝","\\urcorner");nt("⌞","\\llcorner");nt("⌟","\\lrcorner");nt("©","\\copyright");nt("®","\\textregistered");nt("️","\\textregistered");nt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');nt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');nt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');nt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');nt("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");nt("⋮","\\vdots");nt("\\varGamma","\\mathit{\\Gamma}");nt("\\varDelta","\\mathit{\\Delta}");nt("\\varTheta","\\mathit{\\Theta}");nt("\\varLambda","\\mathit{\\Lambda}");nt("\\varXi","\\mathit{\\Xi}");nt("\\varPi","\\mathit{\\Pi}");nt("\\varSigma","\\mathit{\\Sigma}");nt("\\varUpsilon","\\mathit{\\Upsilon}");nt("\\varPhi","\\mathit{\\Phi}");nt("\\varPsi","\\mathit{\\Psi}");nt("\\varOmega","\\mathit{\\Omega}");nt("\\substack","\\begin{subarray}{c}#1\\end{subarray}");nt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");nt("\\boxed","\\fbox{$\\displaystyle{#1}$}");nt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");nt("\\implies","\\DOTSB\\;\\Longrightarrow\\;");nt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var pxe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};nt("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in pxe?t=pxe[n]:(n.slice(0,4)==="\\not"||n in xo.math&&di.contains(["bin","rel"],xo.math[n].group))&&(t="\\dotsb"),t});var Y0e={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};nt("\\dotso",function(e){var t=e.future().text;return t in Y0e?"\\ldots\\,":"\\ldots"});nt("\\dotsc",function(e){var t=e.future().text;return t in Y0e&&t!==","?"\\ldots\\,":"\\ldots"});nt("\\cdots",function(e){var t=e.future().text;return t in Y0e?"\\@cdots\\,":"\\@cdots"});nt("\\dotsb","\\cdots");nt("\\dotsm","\\cdots");nt("\\dotsi","\\!\\cdots");nt("\\dotsx","\\ldots\\,");nt("\\DOTSI","\\relax");nt("\\DOTSB","\\relax");nt("\\DOTSX","\\relax");nt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");nt("\\,","\\tmspace+{3mu}{.1667em}");nt("\\thinspace","\\,");nt("\\>","\\mskip{4mu}");nt("\\:","\\tmspace+{4mu}{.2222em}");nt("\\medspace","\\:");nt("\\;","\\tmspace+{5mu}{.2777em}");nt("\\thickspace","\\;");nt("\\!","\\tmspace-{3mu}{.1667em}");nt("\\negthinspace","\\!");nt("\\negmedspace","\\tmspace-{4mu}{.2222em}");nt("\\negthickspace","\\tmspace-{5mu}{.277em}");nt("\\enspace","\\kern.5em ");nt("\\enskip","\\hskip.5em\\relax");nt("\\quad","\\hskip1em\\relax");nt("\\qquad","\\hskip2em\\relax");nt("\\tag","\\@ifstar\\tag@literal\\tag@paren");nt("\\tag@paren","\\tag@literal{({#1})}");nt("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Nn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});nt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");nt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");nt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");nt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");nt("\\newline","\\\\\\relax");nt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var pXe=Jn(Fp["Main-Regular"]["T".charCodeAt(0)][1]-.7*Fp["Main-Regular"]["A".charCodeAt(0)][1]);nt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+pXe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");nt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+pXe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");nt("\\hspace","\\@ifstar\\@hspacer\\@hspace");nt("\\@hspace","\\hskip #1\\relax");nt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");nt("\\ordinarycolon",":");nt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");nt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');nt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');nt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');nt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');nt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');nt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');nt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');nt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');nt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');nt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');nt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');nt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');nt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');nt("∷","\\dblcolon");nt("∹","\\eqcolon");nt("≔","\\coloneqq");nt("≕","\\eqqcolon");nt("⩴","\\Coloneqq");nt("\\ratio","\\vcentcolon");nt("\\coloncolon","\\dblcolon");nt("\\colonequals","\\coloneqq");nt("\\coloncolonequals","\\Coloneqq");nt("\\equalscolon","\\eqqcolon");nt("\\equalscoloncolon","\\Eqqcolon");nt("\\colonminus","\\coloneq");nt("\\coloncolonminus","\\Coloneq");nt("\\minuscolon","\\eqcolon");nt("\\minuscoloncolon","\\Eqcolon");nt("\\coloncolonapprox","\\Colonapprox");nt("\\coloncolonsim","\\Colonsim");nt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");nt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");nt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");nt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");nt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");nt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");nt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");nt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");nt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");nt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");nt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");nt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");nt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");nt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");nt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");nt("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");nt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");nt("\\nleqq","\\html@mathml{\\@nleqq}{≰}");nt("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");nt("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");nt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");nt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");nt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");nt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");nt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");nt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");nt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");nt("\\imath","\\html@mathml{\\@imath}{ı}");nt("\\jmath","\\html@mathml{\\@jmath}{ȷ}");nt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");nt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");nt("⟦","\\llbracket");nt("⟧","\\rrbracket");nt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");nt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");nt("⦃","\\lBrace");nt("⦄","\\rBrace");nt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");nt("⦵","\\minuso");nt("\\darr","\\downarrow");nt("\\dArr","\\Downarrow");nt("\\Darr","\\Downarrow");nt("\\lang","\\langle");nt("\\rang","\\rangle");nt("\\uarr","\\uparrow");nt("\\uArr","\\Uparrow");nt("\\Uarr","\\Uparrow");nt("\\N","\\mathbb{N}");nt("\\R","\\mathbb{R}");nt("\\Z","\\mathbb{Z}");nt("\\alef","\\aleph");nt("\\alefsym","\\aleph");nt("\\Alpha","\\mathrm{A}");nt("\\Beta","\\mathrm{B}");nt("\\bull","\\bullet");nt("\\Chi","\\mathrm{X}");nt("\\clubs","\\clubsuit");nt("\\cnums","\\mathbb{C}");nt("\\Complex","\\mathbb{C}");nt("\\Dagger","\\ddagger");nt("\\diamonds","\\diamondsuit");nt("\\empty","\\emptyset");nt("\\Epsilon","\\mathrm{E}");nt("\\Eta","\\mathrm{H}");nt("\\exist","\\exists");nt("\\harr","\\leftrightarrow");nt("\\hArr","\\Leftrightarrow");nt("\\Harr","\\Leftrightarrow");nt("\\hearts","\\heartsuit");nt("\\image","\\Im");nt("\\infin","\\infty");nt("\\Iota","\\mathrm{I}");nt("\\isin","\\in");nt("\\Kappa","\\mathrm{K}");nt("\\larr","\\leftarrow");nt("\\lArr","\\Leftarrow");nt("\\Larr","\\Leftarrow");nt("\\lrarr","\\leftrightarrow");nt("\\lrArr","\\Leftrightarrow");nt("\\Lrarr","\\Leftrightarrow");nt("\\Mu","\\mathrm{M}");nt("\\natnums","\\mathbb{N}");nt("\\Nu","\\mathrm{N}");nt("\\Omicron","\\mathrm{O}");nt("\\plusmn","\\pm");nt("\\rarr","\\rightarrow");nt("\\rArr","\\Rightarrow");nt("\\Rarr","\\Rightarrow");nt("\\real","\\Re");nt("\\reals","\\mathbb{R}");nt("\\Reals","\\mathbb{R}");nt("\\Rho","\\mathrm{P}");nt("\\sdot","\\cdot");nt("\\sect","\\S");nt("\\spades","\\spadesuit");nt("\\sub","\\subset");nt("\\sube","\\subseteq");nt("\\supe","\\supseteq");nt("\\Tau","\\mathrm{T}");nt("\\thetasym","\\vartheta");nt("\\weierp","\\wp");nt("\\Zeta","\\mathrm{Z}");nt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");nt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");nt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");nt("\\bra","\\mathinner{\\langle{#1}|}");nt("\\ket","\\mathinner{|{#1}\\rangle}");nt("\\braket","\\mathinner{\\langle{#1}\\rangle}");nt("\\Bra","\\left\\langle#1\\right|");nt("\\Ket","\\left|#1\\right\\rangle");var gXe=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=f=>d=>{e&&(d.macros.set("|",o),i.length&&d.macros.set("\\|",s));var h=f;if(!f&&i.length){var p=d.future();p.text==="|"&&(d.popToken(),h=!0)}return{tokens:h?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...a,...u,...n]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};nt("\\bra@ket",gXe(!1));nt("\\bra@set",gXe(!0));nt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");nt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");nt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");nt("\\angln","{\\angl n}");nt("\\blue","\\textcolor{##6495ed}{#1}");nt("\\orange","\\textcolor{##ffa500}{#1}");nt("\\pink","\\textcolor{##ff00af}{#1}");nt("\\red","\\textcolor{##df0030}{#1}");nt("\\green","\\textcolor{##28ae7b}{#1}");nt("\\gray","\\textcolor{gray}{#1}");nt("\\purple","\\textcolor{##9d38bd}{#1}");nt("\\blueA","\\textcolor{##ccfaff}{#1}");nt("\\blueB","\\textcolor{##80f6ff}{#1}");nt("\\blueC","\\textcolor{##63d9ea}{#1}");nt("\\blueD","\\textcolor{##11accd}{#1}");nt("\\blueE","\\textcolor{##0c7f99}{#1}");nt("\\tealA","\\textcolor{##94fff5}{#1}");nt("\\tealB","\\textcolor{##26edd5}{#1}");nt("\\tealC","\\textcolor{##01d1c1}{#1}");nt("\\tealD","\\textcolor{##01a995}{#1}");nt("\\tealE","\\textcolor{##208170}{#1}");nt("\\greenA","\\textcolor{##b6ffb0}{#1}");nt("\\greenB","\\textcolor{##8af281}{#1}");nt("\\greenC","\\textcolor{##74cf70}{#1}");nt("\\greenD","\\textcolor{##1fab54}{#1}");nt("\\greenE","\\textcolor{##0d923f}{#1}");nt("\\goldA","\\textcolor{##ffd0a9}{#1}");nt("\\goldB","\\textcolor{##ffbb71}{#1}");nt("\\goldC","\\textcolor{##ff9c39}{#1}");nt("\\goldD","\\textcolor{##e07d10}{#1}");nt("\\goldE","\\textcolor{##a75a05}{#1}");nt("\\redA","\\textcolor{##fca9a9}{#1}");nt("\\redB","\\textcolor{##ff8482}{#1}");nt("\\redC","\\textcolor{##f9685d}{#1}");nt("\\redD","\\textcolor{##e84d39}{#1}");nt("\\redE","\\textcolor{##bc2612}{#1}");nt("\\maroonA","\\textcolor{##ffbde0}{#1}");nt("\\maroonB","\\textcolor{##ff92c6}{#1}");nt("\\maroonC","\\textcolor{##ed5fa6}{#1}");nt("\\maroonD","\\textcolor{##ca337c}{#1}");nt("\\maroonE","\\textcolor{##9e034e}{#1}");nt("\\purpleA","\\textcolor{##ddd7ff}{#1}");nt("\\purpleB","\\textcolor{##c6b9fc}{#1}");nt("\\purpleC","\\textcolor{##aa87ff}{#1}");nt("\\purpleD","\\textcolor{##7854ab}{#1}");nt("\\purpleE","\\textcolor{##543b78}{#1}");nt("\\mintA","\\textcolor{##f5f9e8}{#1}");nt("\\mintB","\\textcolor{##edf2df}{#1}");nt("\\mintC","\\textcolor{##e0e5cc}{#1}");nt("\\grayA","\\textcolor{##f6f7f7}{#1}");nt("\\grayB","\\textcolor{##f0f1f2}{#1}");nt("\\grayC","\\textcolor{##e3e5e6}{#1}");nt("\\grayD","\\textcolor{##d6d8da}{#1}");nt("\\grayE","\\textcolor{##babec2}{#1}");nt("\\grayF","\\textcolor{##888d93}{#1}");nt("\\grayG","\\textcolor{##626569}{#1}");nt("\\grayH","\\textcolor{##3b3e40}{#1}");nt("\\grayI","\\textcolor{##21242c}{#1}");nt("\\kaBlue","\\textcolor{##314453}{#1}");nt("\\kaGreen","\\textcolor{##71B307}{#1}");var mXe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class bor{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new vor(yor,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new dxe(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new Qv("EOF",r.loc)),this.pushTokens(i),n.range(r,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text==="{")++o;else if(a.text==="}"){if(--o,o===-1)throw new Nn("Extra }",a)}else if(a.text==="EOF")throw new Nn("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",a);if(t&&r)if((o===0||o===1&&t[s]==="{")&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Nn("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;ithis.settings.maxExpand)throw new Nn("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var l=a[s];if(l.text==="#"){if(s===0)throw new Nn("Incomplete placeholder at end of macro body",l);if(l=a[--s],l.text==="#")a.splice(s+1,1);else if(/^[1-9]$/.test(l.text))a.splice(s,2,...o[+l.text-1]);else throw new Nn("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Qv(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var o=i.replace(/##/g,"");o.indexOf("#"+(a+1))!==-1;)++a;for(var s=new dxe(i,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var c={tokens:l,numArgs:a};return c}return i}isDefined(t){return this.macros.has(t)||Rv.hasOwnProperty(t)||xo.math.hasOwnProperty(t)||xo.text.hasOwnProperty(t)||mXe.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Rv.hasOwnProperty(t)&&!Rv[t].primitive}}var gxe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,LI=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),NX={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},mxe={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let vXe=class cse{constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new bor(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Nn("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Qv("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(cse.endOfExpression.indexOf(i.text)!==-1||n&&i.text===n||t&&Rv[i.text]&&Rv[i.text].infix)break;var a=this.parseAtom(n);if(a){if(a.type==="internal")continue}else break;r.push(a)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var s=xo[this.mode][n].group,l=qf.range(t),u;if(aar.hasOwnProperty(s)){var c=s;u={type:"atom",mode:this.mode,family:c,loc:l,text:n}}else u={type:s,mode:this.mode,loc:l,text:n};o=u}else if(n.charCodeAt(0)>=128)this.settings.strict&&(xYe(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:qf.range(t),text:n};else return null;if(this.consume(),a)for(var f=0;fo&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function Z0e(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Eor(e,t){return yxe(e,t.inConstruct,!0)&&!yxe(e,t.notInConstruct,!1)}function yxe(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=u||c+10&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const $or={tokenize:Vor,partial:!0};function zor(){return{document:{[91]:{tokenize:qor,continuation:{tokenize:Wor},exit:Gor}},text:{[91]:{tokenize:Hor},[93]:{add:"after",tokenize:Uor,resolveTo:jor}}}}function Uor(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=D0(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function jor(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function Hor(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(a>999||f===93&&!o||f===null||f===91||Eo(f))return n(f);if(f===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(D0(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Eo(f)||(o=!0),a++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),a++,u):u(f)}}function qor(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(p)}function c(p){if(o>999||p===93&&!s||p===null||p===91||Eo(p))return n(p);if(p===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=D0(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Eo(p)||(s=!0),o++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),o++,c):c(p)}function d(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),i.includes(a)||i.push(a),Wi(e,h,"gfmFootnoteDefinitionWhitespace")):n(p)}function h(p){return t(p)}}function Wor(e,t,n){return e.check(F7,t,e.attempt($or,t,n))}function Gor(e){e.exit("gfmFootnoteDefinition")}function Vor(e,t,n){const r=this;return Wi(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function Kor(e){let n=(e||{}).singleTilde;const r={tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{[126]:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l1?l(p):(o.consume(p),f++,h);if(f<2&&!n)return l(p);const b=o.exit("strikethroughSequenceTemporary"),m=yB(p);return b._open=!m||m===2&&!!g,b._close=!g||g===2&&!!m,s(p)}}}const Yor={flow:{null:{tokenize:Jor,resolve:Xor}}},wxe={tokenize:Zor,partial:!0};function Xor(e,t){let n=-1,r,i,a,o,s,l,u;for(;++n=4?F(X):(r._gfmTableDynamicInterruptHack=!0,P.check(r.parser.constructs.flow,function(J){return r._gfmTableDynamicInterruptHack=!1,F(J)},function(J){return r._gfmTableDynamicInterruptHack=!1,H(J)})(X))}}}function Zor(e,t,n){let r=0;return i;function i(o){return e.enter("check"),e.consume(o),a}function a(o){return o===-1||o===32?(e.consume(o),r++,r===4?t:a):o===null||Eo(o)?t(o):n(o)}}const Qor={tokenize:tsr},esr={text:{[91]:Qor}};function tsr(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return Eo(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Ur(l)?t(l):Ga(l)?e.check({tokenize:nsr},t,n)(l):n(l)}}function nsr(e,t,n){return Wi(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function rsr(e){return YVe([Ior,zor(),Kor(e),Yor,esr])}function kxe(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function isr(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const asr={}.hasOwnProperty,TXe=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=N7(i.ignore||[]),s=osr(a);let l=-1;for(;++l0?{type:"text",value:T}:void 0),T!==!1&&(b!==E&&w.push({type:"text",value:f.value.slice(b,E)}),Array.isArray(T)?w.push(...T):T&&w.push(T),b=E+k[0].length,v=!0),!p.global)break;k=p.exec(f.value)}return v?(be}const $X="phrasing",zX=["autolink","link","image","label"],ssr={transforms:[psr],enter:{literalAutolink:usr,literalAutolinkEmail:UX,literalAutolinkHttp:UX,literalAutolinkWww:UX},exit:{literalAutolink:hsr,literalAutolinkEmail:dsr,literalAutolinkHttp:csr,literalAutolinkWww:fsr}},lsr={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:zX},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:zX},{character:":",before:"[ps]",after:"\\/",inConstruct:$X,notInConstruct:zX}]};function usr(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function UX(e){this.config.enter.autolinkProtocol.call(this,e)}function csr(e){this.config.exit.autolinkProtocol.call(this,e)}function fsr(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function dsr(e){this.config.exit.autolinkEmail.call(this,e)}function hsr(e){this.exit(e)}function psr(e){TXe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,gsr],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,msr]],{ignore:["link","linkReference"]})}function gsr(e,t,n,r,i){let a="";if(!DXe(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!vsr(n)))return!1;const o=ysr(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function msr(e,t,n,r){return!DXe(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function vsr(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function ysr(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=kxe(e,"(");let a=kxe(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function DXe(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||O4(n)||oz(n))&&(!t||n!==47)}function IXe(e){return e.label||!e.identifier?e.label||"":oKe(e.identifier)}function bsr(e,t,n){const r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const zor={tokenize:Kor,partial:!0};function Uor(){return{document:{[91]:{tokenize:Wor,continuation:{tokenize:Gor},exit:Vor}},text:{[91]:{tokenize:qor},[93]:{add:"after",tokenize:jor,resolveTo:Hor}}}}function jor(e,t,n){const r=this;let i=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!o||!o._balanced)return n(l);const u=D0(r.sliceSerialize({start:o.end,end:r.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Hor(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function qor(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(f){if(a>999||f===93&&!o||f===null||f===91||Eo(f))return n(f);if(f===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(D0(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Eo(f)||(o=!0),a++,e.consume(f),f===92?c:u}function c(f){return f===91||f===92||f===93?(e.consume(f),a++,u):u(f)}}function Wor(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,o=0,s;return l;function l(p){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(p){return p===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(p)}function c(p){if(o>999||p===93&&!s||p===null||p===91||Eo(p))return n(p);if(p===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return a=D0(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(p),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Eo(p)||(s=!0),o++,e.consume(p),p===92?f:c}function f(p){return p===91||p===92||p===93?(e.consume(p),o++,c):c(p)}function d(p){return p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),i.includes(a)||i.push(a),Wi(e,h,"gfmFootnoteDefinitionWhitespace")):n(p)}function h(p){return t(p)}}function Gor(e,t,n){return e.check(F7,t,e.attempt(zor,t,n))}function Vor(e){e.exit("gfmFootnoteDefinition")}function Kor(e,t,n){const r=this;return Wi(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):n(a)}}function Yor(e){let n=(e||{}).singleTilde;const r={tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{[126]:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let l=-1;for(;++l1?l(p):(o.consume(p),f++,h);if(f<2&&!n)return l(p);const b=o.exit("strikethroughSequenceTemporary"),m=yB(p);return b._open=!m||m===2&&!!g,b._close=!g||g===2&&!!m,s(p)}}}const Xor={flow:{null:{tokenize:Zor,resolve:Jor}}},wxe={tokenize:Qor,partial:!0};function Jor(e,t){let n=-1,r,i,a,o,s,l,u;for(;++n=4?F(X):(r._gfmTableDynamicInterruptHack=!0,P.check(r.parser.constructs.flow,function(J){return r._gfmTableDynamicInterruptHack=!1,F(J)},function(J){return r._gfmTableDynamicInterruptHack=!1,H(J)})(X))}}}function Qor(e,t,n){let r=0;return i;function i(o){return e.enter("check"),e.consume(o),a}function a(o){return o===-1||o===32?(e.consume(o),r++,r===4?t:a):o===null||Eo(o)?t(o):n(o)}}const esr={tokenize:nsr},tsr={text:{[91]:esr}};function nsr(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),a)}function a(l){return Eo(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(l)}function s(l){return Ur(l)?t(l):Ga(l)?e.check({tokenize:rsr},t,n)(l):n(l)}}function rsr(e,t,n){return Wi(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function isr(e){return YVe([Ror,Uor(),Yor(e),Xor,tsr])}function kxe(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function asr(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const osr={}.hasOwnProperty,TXe=function(e,t,n,r){let i,a;typeof t=="string"||t instanceof RegExp?(a=[[t,n]],i=r):(a=t,i=n),i||(i={});const o=N7(i.ignore||[]),s=ssr(a);let l=-1;for(;++l0?{type:"text",value:T}:void 0),T!==!1&&(b!==E&&w.push({type:"text",value:f.value.slice(b,E)}),Array.isArray(T)?w.push(...T):T&&w.push(T),b=E+k[0].length,v=!0),!p.global)break;k=p.exec(f.value)}return v?(be}const $X="phrasing",zX=["autolink","link","image","label"],lsr={transforms:[gsr],enter:{literalAutolink:csr,literalAutolinkEmail:UX,literalAutolinkHttp:UX,literalAutolinkWww:UX},exit:{literalAutolink:psr,literalAutolinkEmail:hsr,literalAutolinkHttp:fsr,literalAutolinkWww:dsr}},usr={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:zX},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:$X,notInConstruct:zX},{character:":",before:"[ps]",after:"\\/",inConstruct:$X,notInConstruct:zX}]};function csr(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function UX(e){this.config.enter.autolinkProtocol.call(this,e)}function fsr(e){this.config.exit.autolinkProtocol.call(this,e)}function dsr(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function hsr(e){this.config.exit.autolinkEmail.call(this,e)}function psr(e){this.exit(e)}function gsr(e){TXe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,msr],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,vsr]],{ignore:["link","linkReference"]})}function msr(e,t,n,r,i){let a="";if(!DXe(i)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!ysr(n)))return!1;const o=bsr(n+r);if(!o[0])return!1;const s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function vsr(e,t,n,r){return!DXe(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ysr(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function bsr(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=kxe(e,"(");let a=kxe(e,")");for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function DXe(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||O4(n)||oz(n))&&(!t||n!==47)}function IXe(e){return e.label||!e.identifier?e.label||"":oKe(e.identifier)}function wsr(e,t,n){const r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[];let s=-1;for(r.push(-1);++s `}return` -`}const ksr=/\r?\n|\r/g;function _sr(e,t){const n=[];let r=0,i=0,a;for(;a=ksr.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,i,!s))}}RXe.peek=Osr;function Csr(){return{enter:{gfmFootnoteDefinition:xsr,gfmFootnoteDefinitionLabelString:Ssr,gfmFootnoteCall:Dsr,gfmFootnoteCallString:Isr},exit:{gfmFootnoteDefinition:Tsr,gfmFootnoteDefinitionLabelString:Asr,gfmFootnoteCall:Msr,gfmFootnoteCallString:Rsr}}}function Esr(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Lsr,footnoteReference:RXe}}}function xsr(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ssr(){this.buffer()}function Asr(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D0(this.sliceSerialize(e)).toLowerCase()}function Tsr(e){this.exit(e)}function Dsr(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Isr(){this.buffer()}function Rsr(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D0(this.sliceSerialize(e)).toLowerCase()}function Msr(e){this.exit(e)}function RXe(e,t,n,r){const i=V7(r);let a=i.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(Q0e(n,IXe(e),{...i.current(),before:a,after:"]"})),s(),o(),a+=i.move("]"),a}function Osr(){return"["}function Lsr(e,t,n,r){const i=V7(r);let a=i.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return a+=i.move(Q0e(n,IXe(e),{...i.current(),before:a,after:"]"})),s(),a+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),a+=i.move(_sr(bsr(e,n,i.current()),Bsr)),o(),a}function Bsr(e,t,n){return t===0?e:(n?"":" ")+e}function MXe(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o0&&(s==="\r"||s===` -`)&&u.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(a.join(""))),a.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:c}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const Psr=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];OXe.peek=Usr;const Fsr={canContainEols:["delete"],enter:{strikethrough:$sr},exit:{strikethrough:zsr}},Nsr={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Psr}],handlers:{delete:OXe}};function $sr(e){this.enter({type:"delete",children:[]},e)}function zsr(e){this.exit(e)}function OXe(e,t,n,r){const i=V7(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=MXe(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function Usr(){return"~"}LXe.peek=jsr;function LXe(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++al&&(l=e[u].length);++bs[b])&&(s[b]=v)}p.push(m)}a[u]=p,o[u]=g}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cs[c]&&(s[c]=m),d[c]=m),f[c]=v}a.splice(1,0,f),o.splice(1,0,d),u=-1;const h=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function Ksr(e){this.exit(e),this.setData("inTable")}function Ysr(e){this.enter({type:"tableRow",children:[]},e)}function jX(e){this.exit(e)}function xxe(e){this.enter({type:"tableCell",children:[]},e)}function Xsr(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Jsr));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function Jsr(e,t){return t==="|"?t:e}function Zsr(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`}const _sr=/\r?\n|\r/g;function Csr(e,t){const n=[];let r=0,i=0,a;for(;a=_sr.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join("");function o(s){n.push(t(s,i,!s))}}RXe.peek=Lsr;function Esr(){return{enter:{gfmFootnoteDefinition:Ssr,gfmFootnoteDefinitionLabelString:Asr,gfmFootnoteCall:Isr,gfmFootnoteCallString:Rsr},exit:{gfmFootnoteDefinition:Dsr,gfmFootnoteDefinitionLabelString:Tsr,gfmFootnoteCall:Osr,gfmFootnoteCallString:Msr}}}function xsr(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Bsr,footnoteReference:RXe}}}function Ssr(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Asr(){this.buffer()}function Tsr(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D0(this.sliceSerialize(e)).toLowerCase()}function Dsr(e){this.exit(e)}function Isr(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Rsr(){this.buffer()}function Msr(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D0(this.sliceSerialize(e)).toLowerCase()}function Osr(e){this.exit(e)}function RXe(e,t,n,r){const i=V7(r);let a=i.move("[^");const o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(Q0e(n,IXe(e),{...i.current(),before:a,after:"]"})),s(),o(),a+=i.move("]"),a}function Lsr(){return"["}function Bsr(e,t,n,r){const i=V7(r);let a=i.move("[^");const o=n.enter("footnoteDefinition"),s=n.enter("label");return a+=i.move(Q0e(n,IXe(e),{...i.current(),before:a,after:"]"})),s(),a+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),a+=i.move(Csr(wsr(e,n,i.current()),Psr)),o(),a}function Psr(e,t,n){return t===0?e:(n?"":" ")+e}function MXe(e,t,n){const r=t.indexStack,i=e.children||[],a=[];let o=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++o0&&(s==="\r"||s===` +`)&&u.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(a.join(""))),a.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:c}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join("")}const Fsr=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];OXe.peek=jsr;const Nsr={canContainEols:["delete"],enter:{strikethrough:zsr},exit:{strikethrough:Usr}},$sr={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Fsr}],handlers:{delete:OXe}};function zsr(e){this.enter({type:"delete",children:[]},e)}function Usr(e){this.exit(e)}function OXe(e,t,n,r){const i=V7(r),a=n.enter("strikethrough");let o=i.move("~~");return o+=MXe(e,n,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function jsr(){return"~"}LXe.peek=Hsr;function LXe(e,t,n){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++al&&(l=e[u].length);++bs[b])&&(s[b]=v)}p.push(m)}a[u]=p,o[u]=g}let c=-1;if(typeof n=="object"&&"length"in n)for(;++cs[c]&&(s[c]=m),d[c]=m),f[c]=v}a.splice(1,0,f),o.splice(1,0,d),u=-1;const h=[];for(;++un==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function Ysr(e){this.exit(e),this.setData("inTable")}function Xsr(e){this.enter({type:"tableRow",children:[]},e)}function jX(e){this.exit(e)}function xxe(e){this.enter({type:"tableCell",children:[]},e)}function Jsr(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Zsr));const n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function Zsr(e,t){return t==="|"?t:e}function Qsr(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:o,tableRow:s,tableCell:l,inlineCode:d}};function o(h,p,g,b){return u(c(h,g,b),h.align)}function s(h,p,g,b){const m=f(h,g,b),v=u([m]);return v.slice(0,v.indexOf(` -`))}function l(h,p,g,b){const m=g.enter("tableCell"),v=g.enter("phrasing"),w=MXe(h,g,{...b,before:a,after:a});return v(),m(),w}function u(h,p){return Hsr(h,{align:p,alignDelimiters:r,padding:n,stringLength:i})}function c(h,p,g){const b=h.children;let m=-1;const v=[],w=p.enter("table");for(;++m-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),c);return l(),u;function c(f,d,h){return d?(h?"":" ".repeat(o))+f:(h?a:a+" ".repeat(o-a.length))+f}}const nlr={exit:{taskListCheckValueChecked:Sxe,taskListCheckValueUnchecked:Sxe,paragraph:ilr}},rlr={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:alr}};function Sxe(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function ilr(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++au===e)),a=[];let o,s,l;return Axe.reset(),$7(e,"heading",(u,c,f)=>{const d=VVe(u,{includeImageAlt:!1}),h=u.data&&u.data.hProperties&&u.data.hProperties.id,p=Axe.slug(h||d);if(i(f)){if(c!==null&&t&&!o&&t.test(d)){o=c+1,l=u;return}c!==null&&l&&!s&&u.depth<=l.depth&&(s=c),(s||!t)&&(!n.maxDepth||u.depth<=n.maxDepth)&&(!r||!r.test(d))&&a.push({depth:u.depth,children:u.children,id:p})}}),{index:o===void 0?-1:o,endIndex:o===void 0?-1:s||e.children.length,map:a}}function plr(e,t){const{ordered:n=!1,tight:r=!1,prefix:i=null}=t,a={type:"list",ordered:n,spread:!1,children:[]};let o=Number.POSITIVE_INFINITY,s=-1;for(;++s0){const a=t.children[t.children.length-1];Dx(e,a,n)}else{const a={type:"listItem",spread:!1,children:[]};t.children.push(a),Dx(e,a,n)}else if(i&&i.type==="list")e.depth--,Dx(e,i,n);else{const a={type:"list",ordered:n.ordered,spread:!1,children:[]};t.children.push(a),e.depth--,Dx(e,a,n)}if(t.type==="list"&&!n.tight){for(t.spread=!1;++r1){t.spread=!0;break}}else t.spread=!n.tight}function dse(e){let t=[],n=-1;if(e)for(;++n0?plr(i.map,n):null}}function vlr(e={}){return t=>{const n=mlr(t,Object.assign({},e,{heading:e.heading||"toc|table[ -]of[ -]contents?"}));n.endIndex===null||n.index===null||n.index===-1||!n.map||(t.children=[...t.children.slice(0,n.index),n.map,...t.children.slice(n.endIndex)])}}var ylr=typeof as=="object"&&as&&as.Object===Object&&as,PXe=ylr,blr=PXe,wlr=typeof self=="object"&&self&&self.Object===Object&&self,klr=blr||wlr||Function("return this")(),H0=klr,_lr=H0,Clr=_lr.Symbol,D3=Clr;function Elr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n-1&&e%1==0&&e<=jur}var rpe=Hur,qur=pE,Wur=rpe;function Gur(e){return e!=null&&Wur(e.length)&&!qur(e)}var A1=Gur,Vur=Array.isArray,yl=Vur;function Kur(e){return e!=null&&typeof e=="object"}var T1=Kur,Yur=I3,Xur=yl,Jur=T1,Zur="[object String]";function Qur(e){return typeof e=="string"||!Xur(e)&&Jur(e)&&Yur(e)==Zur}var UXe=Qur;function ecr(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var tcr=ecr;function ncr(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var jXe=ncr;function rcr(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wz=rcr;function icr(e){return e.split("")}var acr=icr,ocr="\\ud800-\\udfff",scr="\\u0300-\\u036f",lcr="\\ufe20-\\ufe2f",ucr="\\u20d0-\\u20ff",ccr=scr+lcr+ucr,fcr="\\ufe0e\\ufe0f",dcr="\\u200d",hcr=RegExp("["+dcr+ocr+ccr+fcr+"]");function pcr(e){return hcr.test(e)}var HXe=pcr,qXe="\\ud800-\\udfff",gcr="\\u0300-\\u036f",mcr="\\ufe20-\\ufe2f",vcr="\\u20d0-\\u20ff",ycr=gcr+mcr+vcr,bcr="\\ufe0e\\ufe0f",wcr="["+qXe+"]",yse="["+ycr+"]",bse="\\ud83c[\\udffb-\\udfff]",kcr="(?:"+yse+"|"+bse+")",WXe="[^"+qXe+"]",GXe="(?:\\ud83c[\\udde6-\\uddff]){2}",VXe="[\\ud800-\\udbff][\\udc00-\\udfff]",_cr="\\u200d",KXe=kcr+"?",YXe="["+bcr+"]?",Ccr="(?:"+_cr+"(?:"+[WXe,GXe,VXe].join("|")+")"+YXe+KXe+")*",Ecr=YXe+KXe+Ccr,xcr="(?:"+[WXe+yse+"?",yse,GXe,VXe,wcr].join("|")+")",Scr=RegExp(bse+"(?="+bse+")|"+xcr+Ecr,"g");function Acr(e){return e.match(Scr)||[]}var Tcr=Acr,Dcr=acr,Icr=HXe,Rcr=Tcr;function Mcr(e){return Icr(e)?Rcr(e):Dcr(e)}var Ocr=Mcr;function Lcr(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1&&e%1==0&&e-1?t===e.length-1?(e=e.substring(0,t),y_(e)):(e=e.substr(t+1),y_(e)):e}function eJe(e){return typeof e=="string"&&e.length>0?":"+e+":":e}function SDr(e){return typeof e=="string"&&e[0]!==":"?eJe(e):e}var ADr=String.fromCharCode(65039),TDr=new RegExp(ADr,"g");function b_(e){return e.replace(TDr,"")}var spe=Object.keys(Yg).reduce(function(e,t){return e[b_(Yg[t])]=t,e},{}),Pa={emoji:Yg};Pa._get=function(t){return spe[b_(t)]?t:Yg.hasOwnProperty(t)?Yg[t]:SDr(t)};Pa.get=function(t){return t=y_(t),Pa._get(t)};Pa.find=function(t){return Pa.findByName(t)||Pa.findByCode(t)};Pa.findByName=function(t){var n=y_(t),r=Yg[n];return r?{emoji:r,key:n}:void 0};Pa.findByCode=function(t){var n=b_(t),r=spe[n];return r?{emoji:Yg[r],key:r}:void 0};Pa.hasEmoji=function(t){return Pa.hasEmojiByName(t)||Pa.hasEmojiByCode(t)};Pa.hasEmojiByName=function(t){var n=Pa.findByName(t);return!!n&&n.key===y_(t)};Pa.hasEmojiByCode=function(t){var n=Pa.findByCode(t);return!!n&&b_(n.emoji)===b_(t)};Pa.which=function(t,n){var r=b_(t),i=spe[r];return n?eJe(i):i};Pa.emojify=function(t,n,r){return t?t.split(EDr).map(function(a,o){if(o%2===0)return a;var s=Pa._get(a),l=s.indexOf(":")>-1;return l&&typeof n=="function"?n(a):!l&&typeof r=="function"?r(s,a):s}).join(""):""};Pa.random=function(){var t=Object.keys(Yg),n=Math.floor(Math.random()*t.length),r=t[n],i=Pa._get(r);return{key:r,emoji:i}};Pa.search=function(t){var n=Object.keys(Yg),r=y_(t),i=n.filter(function(a){return a.toString().indexOf(r)===0});return i.map(function(a){return{key:a,emoji:Pa._get(a)}})};Pa.unemojify=function(t){if(!t)return"";var n=QXe(t);return n.map(function(r){return Pa.which(r,!0)||r}).join("")};Pa.replace=function(t,n,r){if(!t)return"";var i=typeof n=="function"?n:function(){return n},a=QXe(t),o=a.map(function(s,l){var u=Pa.findByCode(s);return u&&r&&a[l+1]===" "&&(a[l+1]=""),u?i(u):s}).join("");return r?o.replace(xDr,""):o};Pa.strip=function(t){return Pa.replace(t,"",!0)};var DDr=Pa,IDr=DDr;const WX=ls(IDr),Uxe=[{name:"angry",emoji:"😠",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"😊",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"💔",tags:[],description:"broken heart",emoticons:["<\\3","038BOopPsSdDxXzZ]{2,5}/g,jxe=/_/g,ODr=/(?:_|-(?!1))/g,LDr={padSpaceAfter:!1,emoticon:!1,accessible:!1};function BDr(e){const t=Object.assign({},LDr,e),n=!!t.padSpaceAfter,r=!!t.emoticon,i=!!t.accessible;function a(u,c){return{type:"text",meta:null,value:u,data:{hName:"span",hProperties:{role:"img",ariaLabel:c},hChildren:[{type:"text",value:u}]}}}function o(u){const c=Uxe.find(b=>b.emoticons.includes(u)),f=Uxe.find(b=>b.emoticons.includes(u.slice(0,-1))),d=c||f;if(!d)return!1;const h=!c&&f?u.slice(-1):"",p=n?" ":"",g=d.emoji+p+h;return i?a(g,d.name+" emoticon"):g}function s(u){let c=WX.get(u);if(u.endsWith("_man:")&&c===u){const f="man-"+u.slice(1,-5).replace(jxe,"-"),d=WX.get(f);d!==f&&(c=d)}else if(u.endsWith("_woman:")&&c===u){const f="woman-"+u.slice(1,-7).replace(jxe,"-"),d=WX.get(f);d!==f&&(c=d)}if(c===u)return!1;if(n&&(c=c+" "),i){const f=u.slice(1,-1).replace(ODr," ")+" emoji";return a(c,f)}return c}function l(u){const c=[[RDr,s]];r&&c.push([MDr,o]),TXe(u,c)}return l}const O3=function(e){if(e==null)return lpe;if(typeof e=="string")return FDr(e);if(typeof e=="object")return PDr(e);if(typeof e=="function")return tJe(e);throw new Error("Expected function, string, or array as test")};function PDr(e){const t=[];let n=-1;for(;++nl&&(l=u):u&&(l!==void 0&&l>-1&&s.push(` -`.repeat(l)||" "),l=-1,s.push(u))}return s.join("")}function rJe(e,t,n){return e.type==="element"?UDr(e,t,n):e.type==="text"?n.whitespace==="normal"?iJe(e,n):jDr(e):[]}function UDr(e,t,n){const r=aJe(e,n),i=e.children||[];let a=-1,o=[];if($Dr(e))return o;let s,l;for(wse(e)||Vxe(e)&&Hxe(t,e,Vxe)?l=` -`:NDr(e)?(s=2,l=2):nJe(e)&&(s=1,l=1);++a{$7(r,"element",a=>{const o=a.properties&&Array.isArray(a.properties.className)?a.properties.className:[],s=o.includes("math-inline"),l=o.includes("math-display");if(!s&&!l)return;const u=zDr(a,{whitespace:"pre"});let c;try{c=vxe.renderToString(u,Jxe({},t,{displayMode:l,throwOnError:!0}))}catch(d){const h=d,p=n?"fail":"message",g=[cIr,h.name.toLowerCase()].join(":");if(i[p](h.message,a.position,g),h.name!=="ParseError"){a.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(h),style:"color:"+(t.errorColor||"#cc0000")},children:[{type:"text",value:u}]}];return}c=vxe.renderToString(u,Jxe({},t,{displayMode:l,throwOnError:!1,strict:"ignore"}))}const f=lIr(c,{fragment:!0});a.children=f.children})}}let DB=class uJe extends Error{constructor(t){super(t),Object.setPrototypeOf(this,uJe.prototype)}};const dIr=/[\s\t\n\r]/,hIr=/[{}[\]=,:]/,pIr=/["']/,gIr=/[a-zA-Z_$-]/,nk=/[0-9]/,mIr=/[a-zA-Z_$-]|[0-9]/,vIr=e=>{let t=0,n=0;const r=[],i=(f=0)=>e[n+f],a=()=>e[n++],o=()=>n>=e.length;function s(f){for(;i()!==f&&!o();)a();if(o())throw new DB("Unterminated string");a(),r.push(e.substring(t,n))}function l(){for(;nk.test(i());)a();if(i()==="-"&&nk.test(i(1))){for(a();nk.test(i());)a();r.push(e.substring(t,n));return}if(i()==="."&&nk.test(i(1)))for(a();nk.test(i());)a();r.push(parseFloat(e.substring(t,n)))}function u(){for(;mIr.test(i())&&!o();)a();r.push(e.substring(t,n))}function c(){for(;!o();){t=n;const f=a();if(!dIr.test(f))if(hIr.test(f))r.push(f);else if(pIr.test(f))s(f);else if(nk.test(f))l();else if(gIr.test(f))u();else throw new DB(`Unexpected character ${f}`)}return r}return c()},Zxe={true:!0,false:!1,NaN:NaN,null:null,undefined:void 0},VX="highlight",Qxe=e=>typeof e=="string"&&/^(['"]).*\1$/.test(e),yIr=e=>{let t=0;const n=new Map,r=(h=0)=>e[t+h],i=()=>e[t++],a=()=>t>=e.length;function o(h,p,g){const b=[];if(i(),r()!==p)for(b.push(g());r()===",";){if(i(),r()===p)throw new DB("Trailing comma");b.push(g())}if(i()!==p)throw new DB(`Unterminated ${h}`);return b}function s(){return o("array","]",u)}function l(){return Object.fromEntries(o("object","}",()=>{const[h,p]=f(":");return[Qxe(h)?h.slice(1,-1):String(h),p]}))}function u(){const h=r();return h==="{"?l():h==="["?s():Qxe(h)?i().slice(1,-1):h in Zxe?Zxe[i()]:i()}function c(){const h=n.has(VX)?n.get(VX):{};return[VX,{...h,...l()}]}function f(h="="){const p=i();return r()===h?(i(),[p,u()]):[p,!0]}function d(){for(;!a();){const[h,p]=r()==="{"?c():f();n.set(String(h).toLowerCase(),p)}return n}return Object.fromEntries(d())},bIr=e=>yIr(vIr(e));var eSe={exports:{}},tSe;function cJe(){return tSe||(tSe=1,function(e,t){(function(n){n(jr)})(function(n){var r=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),i=n.Pos,a={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(d){return d&&d.bracketRegex||/[(){}[\]]/}function s(d,h,p){var g=d.getLineHandle(h.line),b=h.ch-1,m=p&&p.afterCursor;m==null&&(m=/(^| )cm-fat-cursor($| )/.test(d.getWrapperElement().className));var v=o(p),w=!m&&b>=0&&v.test(g.text.charAt(b))&&a[g.text.charAt(b)]||v.test(g.text.charAt(b+1))&&a[g.text.charAt(++b)];if(!w)return null;var k=w.charAt(1)==">"?1:-1;if(p&&p.strict&&k>0!=(b==h.ch))return null;var E=d.getTokenTypeAt(i(h.line,b+1)),S=l(d,i(h.line,b+(k>0?1:0)),k,E,p);return S==null?null:{from:i(h.line,b),to:S&&S.pos,match:S&&S.ch==w.charAt(0),forward:k>0}}function l(d,h,p,g,b){for(var m=b&&b.maxScanLineLength||1e4,v=b&&b.maxScanLines||1e3,w=[],k=o(b),E=p>0?Math.min(h.line+v,d.lastLine()+1):Math.max(d.firstLine()-1,h.line-v),S=h.line;S!=E;S+=p){var T=d.getLine(S);if(T){var L=p>0?0:T.length-1,M=p>0?T.length:-1;if(!(T.length>m))for(S==h.line&&(L=h.ch-(p<0?1:0));L!=M;L+=p){var D=T.charAt(L);if(k.test(D)&&(g===void 0||(d.getTokenTypeAt(i(S,L+1))||"")==(g||""))){var I=a[D];if(I&&I.charAt(1)==">"==p>0)w.push(D);else if(w.length)w.pop();else return{pos:i(S,L),ch:D}}}}}return S-p==(p>0?d.lastLine():d.firstLine())?!1:null}function u(d,h,p){for(var g=d.state.matchBrackets.maxHighlightLineLength||1e3,b=p&&p.highlightNonMatching,m=[],v=d.listSelections(),w=0;w0&&E.ch>=T.length)return k.clipPos(i(E.line+1,0));for(var L="start",M,D=E.ch,I=D,B=S<0?0:T.length,N=0;I!=B;I+=S,N++){var O=T.charAt(S<0?I-1:I),R=O!="_"&&n.isWordChar(O)?"w":"o";if(R=="w"&&O.toUpperCase()==O&&(R="W"),L=="start")R!="o"?(L="in",M=R):D=I+S;else if(L=="in"&&M!=R){if(M=="w"&&R=="W"&&S<0&&I--,M=="W"&&R=="w"&&S>0)if(I==D+1){M="w";continue}else I--;break}}return i(E.line,I)}function o(k,E){k.extendSelectionsBy(function(S){return k.display.shift||k.doc.extend||S.empty()?a(k.doc,S.head,E):E<0?S.from():S.to()})}r.goSubwordLeft=function(k){o(k,-1)},r.goSubwordRight=function(k){o(k,1)},r.scrollLineUp=function(k){var E=k.getScrollInfo();if(!k.somethingSelected()){var S=k.lineAtHeight(E.top+E.clientHeight,"local");k.getCursor().line>=S&&k.execCommand("goLineUp")}k.scrollTo(null,E.top-k.defaultTextHeight())},r.scrollLineDown=function(k){var E=k.getScrollInfo();if(!k.somethingSelected()){var S=k.lineAtHeight(E.top,"local")+1;k.getCursor().line<=S&&k.execCommand("goLineDown")}k.scrollTo(null,E.top+k.defaultTextHeight())},r.splitSelectionByLine=function(k){for(var E=k.listSelections(),S=[],T=0;TL.line&&D==M.line&&M.ch==0||S.push({anchor:D==L.line?L:i(D,0),head:D==M.line?M:i(D)});k.setSelections(S,0)},r.singleSelectionTop=function(k){var E=k.listSelections()[0];k.setSelection(E.anchor,E.head,{scroll:!1})},r.selectLine=function(k){for(var E=k.listSelections(),S=[],T=0;T-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),c);return l(),u;function c(f,d,h){return d?(h?"":" ".repeat(o))+f:(h?a:a+" ".repeat(o-a.length))+f}}const rlr={exit:{taskListCheckValueChecked:Sxe,taskListCheckValueUnchecked:Sxe,paragraph:alr}},ilr={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:olr}};function Sxe(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function alr(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let a=-1,o;for(;++au===e)),a=[];let o,s,l;return Axe.reset(),$7(e,"heading",(u,c,f)=>{const d=VVe(u,{includeImageAlt:!1}),h=u.data&&u.data.hProperties&&u.data.hProperties.id,p=Axe.slug(h||d);if(i(f)){if(c!==null&&t&&!o&&t.test(d)){o=c+1,l=u;return}c!==null&&l&&!s&&u.depth<=l.depth&&(s=c),(s||!t)&&(!n.maxDepth||u.depth<=n.maxDepth)&&(!r||!r.test(d))&&a.push({depth:u.depth,children:u.children,id:p})}}),{index:o===void 0?-1:o,endIndex:o===void 0?-1:s||e.children.length,map:a}}function glr(e,t){const{ordered:n=!1,tight:r=!1,prefix:i=null}=t,a={type:"list",ordered:n,spread:!1,children:[]};let o=Number.POSITIVE_INFINITY,s=-1;for(;++s0){const a=t.children[t.children.length-1];Dx(e,a,n)}else{const a={type:"listItem",spread:!1,children:[]};t.children.push(a),Dx(e,a,n)}else if(i&&i.type==="list")e.depth--,Dx(e,i,n);else{const a={type:"list",ordered:n.ordered,spread:!1,children:[]};t.children.push(a),e.depth--,Dx(e,a,n)}if(t.type==="list"&&!n.tight){for(t.spread=!1;++r1){t.spread=!0;break}}else t.spread=!n.tight}function dse(e){let t=[],n=-1;if(e)for(;++n0?glr(i.map,n):null}}function ylr(e={}){return t=>{const n=vlr(t,Object.assign({},e,{heading:e.heading||"toc|table[ -]of[ -]contents?"}));n.endIndex===null||n.index===null||n.index===-1||!n.map||(t.children=[...t.children.slice(0,n.index),n.map,...t.children.slice(n.endIndex)])}}var blr=typeof as=="object"&&as&&as.Object===Object&&as,PXe=blr,wlr=PXe,klr=typeof self=="object"&&self&&self.Object===Object&&self,_lr=wlr||klr||Function("return this")(),H0=_lr,Clr=H0,Elr=Clr.Symbol,D3=Elr;function xlr(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n-1&&e%1==0&&e<=Hur}var rpe=qur,Wur=pE,Gur=rpe;function Vur(e){return e!=null&&Gur(e.length)&&!Wur(e)}var A1=Vur,Kur=Array.isArray,yl=Kur;function Yur(e){return e!=null&&typeof e=="object"}var T1=Yur,Xur=I3,Jur=yl,Zur=T1,Qur="[object String]";function ecr(e){return typeof e=="string"||!Jur(e)&&Zur(e)&&Xur(e)==Qur}var UXe=ecr;function tcr(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}var ncr=tcr;function rcr(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var jXe=rcr;function icr(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wz=icr;function acr(e){return e.split("")}var ocr=acr,scr="\\ud800-\\udfff",lcr="\\u0300-\\u036f",ucr="\\ufe20-\\ufe2f",ccr="\\u20d0-\\u20ff",fcr=lcr+ucr+ccr,dcr="\\ufe0e\\ufe0f",hcr="\\u200d",pcr=RegExp("["+hcr+scr+fcr+dcr+"]");function gcr(e){return pcr.test(e)}var HXe=gcr,qXe="\\ud800-\\udfff",mcr="\\u0300-\\u036f",vcr="\\ufe20-\\ufe2f",ycr="\\u20d0-\\u20ff",bcr=mcr+vcr+ycr,wcr="\\ufe0e\\ufe0f",kcr="["+qXe+"]",yse="["+bcr+"]",bse="\\ud83c[\\udffb-\\udfff]",_cr="(?:"+yse+"|"+bse+")",WXe="[^"+qXe+"]",GXe="(?:\\ud83c[\\udde6-\\uddff]){2}",VXe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ccr="\\u200d",KXe=_cr+"?",YXe="["+wcr+"]?",Ecr="(?:"+Ccr+"(?:"+[WXe,GXe,VXe].join("|")+")"+YXe+KXe+")*",xcr=YXe+KXe+Ecr,Scr="(?:"+[WXe+yse+"?",yse,GXe,VXe,kcr].join("|")+")",Acr=RegExp(bse+"(?="+bse+")|"+Scr+xcr,"g");function Tcr(e){return e.match(Acr)||[]}var Dcr=Tcr,Icr=ocr,Rcr=HXe,Mcr=Dcr;function Ocr(e){return Rcr(e)?Mcr(e):Icr(e)}var Lcr=Ocr;function Bcr(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1&&e%1==0&&e-1?t===e.length-1?(e=e.substring(0,t),y_(e)):(e=e.substr(t+1),y_(e)):e}function eJe(e){return typeof e=="string"&&e.length>0?":"+e+":":e}function ADr(e){return typeof e=="string"&&e[0]!==":"?eJe(e):e}var TDr=String.fromCharCode(65039),DDr=new RegExp(TDr,"g");function b_(e){return e.replace(DDr,"")}var spe=Object.keys(Yg).reduce(function(e,t){return e[b_(Yg[t])]=t,e},{}),Pa={emoji:Yg};Pa._get=function(t){return spe[b_(t)]?t:Yg.hasOwnProperty(t)?Yg[t]:ADr(t)};Pa.get=function(t){return t=y_(t),Pa._get(t)};Pa.find=function(t){return Pa.findByName(t)||Pa.findByCode(t)};Pa.findByName=function(t){var n=y_(t),r=Yg[n];return r?{emoji:r,key:n}:void 0};Pa.findByCode=function(t){var n=b_(t),r=spe[n];return r?{emoji:Yg[r],key:r}:void 0};Pa.hasEmoji=function(t){return Pa.hasEmojiByName(t)||Pa.hasEmojiByCode(t)};Pa.hasEmojiByName=function(t){var n=Pa.findByName(t);return!!n&&n.key===y_(t)};Pa.hasEmojiByCode=function(t){var n=Pa.findByCode(t);return!!n&&b_(n.emoji)===b_(t)};Pa.which=function(t,n){var r=b_(t),i=spe[r];return n?eJe(i):i};Pa.emojify=function(t,n,r){return t?t.split(xDr).map(function(a,o){if(o%2===0)return a;var s=Pa._get(a),l=s.indexOf(":")>-1;return l&&typeof n=="function"?n(a):!l&&typeof r=="function"?r(s,a):s}).join(""):""};Pa.random=function(){var t=Object.keys(Yg),n=Math.floor(Math.random()*t.length),r=t[n],i=Pa._get(r);return{key:r,emoji:i}};Pa.search=function(t){var n=Object.keys(Yg),r=y_(t),i=n.filter(function(a){return a.toString().indexOf(r)===0});return i.map(function(a){return{key:a,emoji:Pa._get(a)}})};Pa.unemojify=function(t){if(!t)return"";var n=QXe(t);return n.map(function(r){return Pa.which(r,!0)||r}).join("")};Pa.replace=function(t,n,r){if(!t)return"";var i=typeof n=="function"?n:function(){return n},a=QXe(t),o=a.map(function(s,l){var u=Pa.findByCode(s);return u&&r&&a[l+1]===" "&&(a[l+1]=""),u?i(u):s}).join("");return r?o.replace(SDr,""):o};Pa.strip=function(t){return Pa.replace(t,"",!0)};var IDr=Pa,RDr=IDr;const WX=ls(RDr),Uxe=[{name:"angry",emoji:"😠",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"😊",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"💔",tags:[],description:"broken heart",emoticons:["<\\3","038BOopPsSdDxXzZ]{2,5}/g,jxe=/_/g,LDr=/(?:_|-(?!1))/g,BDr={padSpaceAfter:!1,emoticon:!1,accessible:!1};function PDr(e){const t=Object.assign({},BDr,e),n=!!t.padSpaceAfter,r=!!t.emoticon,i=!!t.accessible;function a(u,c){return{type:"text",meta:null,value:u,data:{hName:"span",hProperties:{role:"img",ariaLabel:c},hChildren:[{type:"text",value:u}]}}}function o(u){const c=Uxe.find(b=>b.emoticons.includes(u)),f=Uxe.find(b=>b.emoticons.includes(u.slice(0,-1))),d=c||f;if(!d)return!1;const h=!c&&f?u.slice(-1):"",p=n?" ":"",g=d.emoji+p+h;return i?a(g,d.name+" emoticon"):g}function s(u){let c=WX.get(u);if(u.endsWith("_man:")&&c===u){const f="man-"+u.slice(1,-5).replace(jxe,"-"),d=WX.get(f);d!==f&&(c=d)}else if(u.endsWith("_woman:")&&c===u){const f="woman-"+u.slice(1,-7).replace(jxe,"-"),d=WX.get(f);d!==f&&(c=d)}if(c===u)return!1;if(n&&(c=c+" "),i){const f=u.slice(1,-1).replace(LDr," ")+" emoji";return a(c,f)}return c}function l(u){const c=[[MDr,s]];r&&c.push([ODr,o]),TXe(u,c)}return l}const O3=function(e){if(e==null)return lpe;if(typeof e=="string")return NDr(e);if(typeof e=="object")return FDr(e);if(typeof e=="function")return tJe(e);throw new Error("Expected function, string, or array as test")};function FDr(e){const t=[];let n=-1;for(;++nl&&(l=u):u&&(l!==void 0&&l>-1&&s.push(` +`.repeat(l)||" "),l=-1,s.push(u))}return s.join("")}function rJe(e,t,n){return e.type==="element"?jDr(e,t,n):e.type==="text"?n.whitespace==="normal"?iJe(e,n):HDr(e):[]}function jDr(e,t,n){const r=aJe(e,n),i=e.children||[];let a=-1,o=[];if(zDr(e))return o;let s,l;for(wse(e)||Vxe(e)&&Hxe(t,e,Vxe)?l=` +`:$Dr(e)?(s=2,l=2):nJe(e)&&(s=1,l=1);++a{$7(r,"element",a=>{const o=a.properties&&Array.isArray(a.properties.className)?a.properties.className:[],s=o.includes("math-inline"),l=o.includes("math-display");if(!s&&!l)return;const u=UDr(a,{whitespace:"pre"});let c;try{c=vxe.renderToString(u,Jxe({},t,{displayMode:l,throwOnError:!0}))}catch(d){const h=d,p=n?"fail":"message",g=[fIr,h.name.toLowerCase()].join(":");if(i[p](h.message,a.position,g),h.name!=="ParseError"){a.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(h),style:"color:"+(t.errorColor||"#cc0000")},children:[{type:"text",value:u}]}];return}c=vxe.renderToString(u,Jxe({},t,{displayMode:l,throwOnError:!1,strict:"ignore"}))}const f=uIr(c,{fragment:!0});a.children=f.children})}}let DB=class uJe extends Error{constructor(t){super(t),Object.setPrototypeOf(this,uJe.prototype)}};const hIr=/[\s\t\n\r]/,pIr=/[{}[\]=,:]/,gIr=/["']/,mIr=/[a-zA-Z_$-]/,nk=/[0-9]/,vIr=/[a-zA-Z_$-]|[0-9]/,yIr=e=>{let t=0,n=0;const r=[],i=(f=0)=>e[n+f],a=()=>e[n++],o=()=>n>=e.length;function s(f){for(;i()!==f&&!o();)a();if(o())throw new DB("Unterminated string");a(),r.push(e.substring(t,n))}function l(){for(;nk.test(i());)a();if(i()==="-"&&nk.test(i(1))){for(a();nk.test(i());)a();r.push(e.substring(t,n));return}if(i()==="."&&nk.test(i(1)))for(a();nk.test(i());)a();r.push(parseFloat(e.substring(t,n)))}function u(){for(;vIr.test(i())&&!o();)a();r.push(e.substring(t,n))}function c(){for(;!o();){t=n;const f=a();if(!hIr.test(f))if(pIr.test(f))r.push(f);else if(gIr.test(f))s(f);else if(nk.test(f))l();else if(mIr.test(f))u();else throw new DB(`Unexpected character ${f}`)}return r}return c()},Zxe={true:!0,false:!1,NaN:NaN,null:null,undefined:void 0},VX="highlight",Qxe=e=>typeof e=="string"&&/^(['"]).*\1$/.test(e),bIr=e=>{let t=0;const n=new Map,r=(h=0)=>e[t+h],i=()=>e[t++],a=()=>t>=e.length;function o(h,p,g){const b=[];if(i(),r()!==p)for(b.push(g());r()===",";){if(i(),r()===p)throw new DB("Trailing comma");b.push(g())}if(i()!==p)throw new DB(`Unterminated ${h}`);return b}function s(){return o("array","]",u)}function l(){return Object.fromEntries(o("object","}",()=>{const[h,p]=f(":");return[Qxe(h)?h.slice(1,-1):String(h),p]}))}function u(){const h=r();return h==="{"?l():h==="["?s():Qxe(h)?i().slice(1,-1):h in Zxe?Zxe[i()]:i()}function c(){const h=n.has(VX)?n.get(VX):{};return[VX,{...h,...l()}]}function f(h="="){const p=i();return r()===h?(i(),[p,u()]):[p,!0]}function d(){for(;!a();){const[h,p]=r()==="{"?c():f();n.set(String(h).toLowerCase(),p)}return n}return Object.fromEntries(d())},wIr=e=>bIr(yIr(e));var eSe={exports:{}},tSe;function cJe(){return tSe||(tSe=1,function(e,t){(function(n){n(jr)})(function(n){var r=/MSIE \d/.test(navigator.userAgent)&&(document.documentMode==null||document.documentMode<8),i=n.Pos,a={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function o(d){return d&&d.bracketRegex||/[(){}[\]]/}function s(d,h,p){var g=d.getLineHandle(h.line),b=h.ch-1,m=p&&p.afterCursor;m==null&&(m=/(^| )cm-fat-cursor($| )/.test(d.getWrapperElement().className));var v=o(p),w=!m&&b>=0&&v.test(g.text.charAt(b))&&a[g.text.charAt(b)]||v.test(g.text.charAt(b+1))&&a[g.text.charAt(++b)];if(!w)return null;var k=w.charAt(1)==">"?1:-1;if(p&&p.strict&&k>0!=(b==h.ch))return null;var E=d.getTokenTypeAt(i(h.line,b+1)),S=l(d,i(h.line,b+(k>0?1:0)),k,E,p);return S==null?null:{from:i(h.line,b),to:S&&S.pos,match:S&&S.ch==w.charAt(0),forward:k>0}}function l(d,h,p,g,b){for(var m=b&&b.maxScanLineLength||1e4,v=b&&b.maxScanLines||1e3,w=[],k=o(b),E=p>0?Math.min(h.line+v,d.lastLine()+1):Math.max(d.firstLine()-1,h.line-v),S=h.line;S!=E;S+=p){var T=d.getLine(S);if(T){var L=p>0?0:T.length-1,M=p>0?T.length:-1;if(!(T.length>m))for(S==h.line&&(L=h.ch-(p<0?1:0));L!=M;L+=p){var D=T.charAt(L);if(k.test(D)&&(g===void 0||(d.getTokenTypeAt(i(S,L+1))||"")==(g||""))){var I=a[D];if(I&&I.charAt(1)==">"==p>0)w.push(D);else if(w.length)w.pop();else return{pos:i(S,L),ch:D}}}}}return S-p==(p>0?d.lastLine():d.firstLine())?!1:null}function u(d,h,p){for(var g=d.state.matchBrackets.maxHighlightLineLength||1e3,b=p&&p.highlightNonMatching,m=[],v=d.listSelections(),w=0;w0&&E.ch>=T.length)return k.clipPos(i(E.line+1,0));for(var L="start",M,D=E.ch,I=D,B=S<0?0:T.length,N=0;I!=B;I+=S,N++){var O=T.charAt(S<0?I-1:I),R=O!="_"&&n.isWordChar(O)?"w":"o";if(R=="w"&&O.toUpperCase()==O&&(R="W"),L=="start")R!="o"?(L="in",M=R):D=I+S;else if(L=="in"&&M!=R){if(M=="w"&&R=="W"&&S<0&&I--,M=="W"&&R=="w"&&S>0)if(I==D+1){M="w";continue}else I--;break}}return i(E.line,I)}function o(k,E){k.extendSelectionsBy(function(S){return k.display.shift||k.doc.extend||S.empty()?a(k.doc,S.head,E):E<0?S.from():S.to()})}r.goSubwordLeft=function(k){o(k,-1)},r.goSubwordRight=function(k){o(k,1)},r.scrollLineUp=function(k){var E=k.getScrollInfo();if(!k.somethingSelected()){var S=k.lineAtHeight(E.top+E.clientHeight,"local");k.getCursor().line>=S&&k.execCommand("goLineUp")}k.scrollTo(null,E.top-k.defaultTextHeight())},r.scrollLineDown=function(k){var E=k.getScrollInfo();if(!k.somethingSelected()){var S=k.lineAtHeight(E.top,"local")+1;k.getCursor().line<=S&&k.execCommand("goLineDown")}k.scrollTo(null,E.top+k.defaultTextHeight())},r.splitSelectionByLine=function(k){for(var E=k.listSelections(),S=[],T=0;TL.line&&D==M.line&&M.ch==0||S.push({anchor:D==L.line?L:i(D,0),head:D==M.line?M:i(D)});k.setSelections(S,0)},r.singleSelectionTop=function(k){var E=k.listSelections()[0];k.setSelection(E.anchor,E.head,{scroll:!1})},r.selectLine=function(k){for(var E=k.listSelections(),S=[],T=0;TT?S.push(I,B):S.length&&(S[S.length-1]=B),T=B}k.operation(function(){for(var N=0;Nk.lastLine()?k.replaceRange(` `+P,i(k.lastLine()),null,"+swapLine"):k.replaceRange(P+` `,i(R,0),null,"+swapLine")}k.setSelections(L),k.scrollIntoView()})},r.swapLineDown=function(k){if(k.isReadOnly())return n.Pass;for(var E=k.listSelections(),S=[],T=k.lastLine()+1,L=E.length-1;L>=0;L--){var M=E[L],D=M.to().line+1,I=M.from().line;M.to().ch==0&&!M.empty()&&D--,D=0;B-=2){var N=S[B],O=S[B+1],R=k.getLine(N);N==k.lastLine()?k.replaceRange("",i(N-1),i(N),"+swapLine"):k.replaceRange("",i(N,0),i(N+1,0),"+swapLine"),k.replaceRange(R+` @@ -1085,7 +1085,7 @@ l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, `),oe="",ee=1;ee=re.firstLine();){for(var ee=re.getLine(ae),ne=le??ee.length;ne>0;){var le=ee.charAt(--ne);if(le==")")oe.push("(");else if(le=="]")oe.push("[");else if(le=="}")oe.push("{");else if(/[\(\{\[]/.test(le)&&(!oe.length||oe.pop()!=le))return re.extendSelection(i(ae,ne))}--ae,le=null}}r.killRegion=function(re){d(re,re.getCursor("start"),re.getCursor("end"),!0)},r.killLineEmacs=E(function(re){var Q=re.getCursor(),ae=re.clipPos(i(Q.line)),le=re.getRange(Q,ae);/\S/.test(le)||(le+=` `,ae=i(Q.line+1,0)),d(re,Q,ae,"grow",le)}),r.killRingSave=function(re){s(re.getSelection()),P(re)},r.yank=function(re){var Q=re.getCursor();re.replaceRange(u(k(re)),Q,Q,"paste"),re.setSelection(Q,re.getCursor())},r.yankPop=function(re){re.replaceSelection(c(),"around","paste")},r.forwardChar=T(h,1),r.backwardChar=T(h,-1),r.deleteChar=function(re){L(re,h,1,!1)},r.deleteForwardChar=function(re){M(re,!1)||L(re,h,1,!1)},r.deleteBackwardChar=function(re){M(re,!1)||L(re,h,-1,!1)},r.forwardWord=T(p,1),r.backwardWord=T(p,-1),r.killWord=function(re){L(re,p,1,"grow")},r.backwardKillWord=function(re){L(re,p,-1,"grow")},r.nextLine=T(g,1),r.previousLine=T(g,-1),r.scrollDownCommand=T(b,-1),r.scrollUpCommand=T(b,1),r.backwardParagraph=T(m,-1),r.forwardParagraph=T(m,1),r.backwardSentence=T(v,-1),r.forwardSentence=T(v,1),r.killSentence=function(re){L(re,v,1,"grow")},r.backwardKillSentence=function(re){d(re,re.getCursor(),v(re,re.getCursor(),1),"grow")},r.killSexp=function(re){L(re,w,1,"grow")},r.backwardKillSexp=function(re){L(re,w,-1,"grow")},r.forwardSexp=T(w,1),r.backwardSexp=T(w,-1),r.markSexp=function(re){var Q=re.getCursor();re.setSelection(S(re,Q,w,1),Q)},r.transposeSexps=function(re){var Q=w(re,re.getCursor(),-1),ae=w(re,Q,1),le=w(re,ae,1),oe=w(re,le,-1);re.replaceRange(re.getRange(oe,le)+re.getRange(ae,oe)+re.getRange(Q,ae),Q,le)},r.backwardUpList=E(V),r.justOneSpace=function(re){for(var Q=re.getCursor(),ae=Q.ch,le=Q.ch,oe=re.getLine(Q.line);ae&&/\s/.test(oe.charAt(ae-1));)--ae;for(;le0)return re.setCursor(Q-1);F(re,"Goto line",function(ae){var le;ae&&!isNaN(le=Number(ae))&&le==(le|0)&&le>0&&re.setCursor(le-1)})},r.indentRigidly=function(re){re.indentSelection(k(re,!0)||re.getOption("indentUnit"))},r.exchangePointAndMark=function(re){re.setSelection(re.getCursor("head"),re.getCursor("anchor"))},r.quotedInsertTab=E("insertTab"),r.universalArgument=function(Q){Q.state.emacsPrefixMap=!0,Q.addKeyMap(G),Q.on("keyHandled",R),Q.on("inputRead",R)},n.emacs={kill:d,killRegion:M,repeated:E};var X=n.keyMap.emacs=n.normalizeKeyMap({"Ctrl-W":"killRegion","Ctrl-K":"killLineEmacs","Alt-W":"killRingSave","Ctrl-Y":"yank","Alt-Y":"yankPop","Ctrl-Space":"setMark","Ctrl-Shift-2":"setMark","Ctrl-F":"forwardChar","Ctrl-B":"backwardChar",Right:"forwardChar",Left:"backwardChar","Ctrl-D":"deleteChar",Delete:"deleteForwardChar","Ctrl-H":"deleteBackwardChar",Backspace:"deleteBackwardChar","Alt-F":"forwardWord","Alt-B":"backwardWord","Alt-Right":"forwardWord","Alt-Left":"backwardWord","Alt-D":"killWord","Alt-Backspace":"backwardKillWord","Ctrl-N":"nextLine","Ctrl-P":"previousLine",Down:"nextLine",Up:"previousLine","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":"scrollDownCommand","Ctrl-V":"scrollUpCommand",PageUp:"scrollDownCommand",PageDown:"scrollUpCommand","Ctrl-Up":"backwardParagraph","Ctrl-Down":"forwardParagraph","Alt-{":"backwardParagraph","Alt-}":"forwardParagraph","Alt-A":"backwardSentence","Alt-E":"forwardSentence","Alt-K":"killSentence","Ctrl-X Delete":"backwardKillSentence","Ctrl-Alt-K":"killSexp","Ctrl-Alt-Backspace":"backwardKillSexp","Ctrl-Alt-F":"forwardSexp","Ctrl-Alt-B":"backwardSexp","Shift-Ctrl-Alt-2":"markSexp","Ctrl-Alt-T":"transposeSexps","Ctrl-Alt-U":"backwardUpList","Alt-Space":"justOneSpace","Ctrl-O":"openLine","Ctrl-T":"transposeCharsRepeatable","Alt-C":"capitalizeWord","Alt-U":"upcaseWord","Alt-L":"downcaseWord","Alt-;":"toggleComment","Ctrl-/":"undoRepeatable","Shift-Ctrl--":"undoRepeatable","Ctrl-Z":"undoRepeatable","Cmd-Z":"undoRepeatable","Ctrl-X U":"undoRepeatable","Shift-Ctrl-Z":"redo","Shift-Alt-,":"goDocStart","Shift-Alt-.":"goDocEnd","Ctrl-S":"findPersistentNext","Ctrl-R":"findPersistentPrev","Ctrl-G":"keyboardQuit","Shift-Alt-5":"replace","Alt-/":"autocomplete",Enter:"newlineAndIndent","Ctrl-J":"newline",Tab:"indentAuto","Alt-G G":"gotoLine","Ctrl-X Tab":"indentRigidly","Ctrl-X Ctrl-X":"exchangePointAndMark","Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X K":"close","Ctrl-X H":"selectAll","Ctrl-Q Tab":"quotedInsertTab","Ctrl-U":"universalArgument",fallthrough:"default"}),G={"Ctrl-G":N};function J(re){G[re]=function(Q){D(Q,re)},X["Ctrl-"+re]=function(Q){D(Q,re)},I["Ctrl-"+re]=!0}for(var te=0;te<10;++te)J(String(te));J("-")})})();var nSe={exports:{}},rSe;function wIr(){return rSe||(rSe=1,function(e,t){(function(n){n(jr)})(function(n){function r(a,o,s){var l=a.getWrapperElement(),u;return u=l.appendChild(document.createElement("div")),s?u.className="CodeMirror-dialog CodeMirror-dialog-bottom":u.className="CodeMirror-dialog CodeMirror-dialog-top",typeof o=="string"?u.innerHTML=o:u.appendChild(o),n.addClass(l,"dialog-opened"),u}function i(a,o){a.state.currentNotificationClose&&a.state.currentNotificationClose(),a.state.currentNotificationClose=o}n.defineExtension("openDialog",function(a,o,s){s||(s={}),i(this,null);var l=r(this,a,s.bottom),u=!1,c=this;function f(p){if(typeof p=="string")d.value=p;else{if(u)return;u=!0,n.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),c.focus(),s.onClose&&s.onClose(l)}}var d=l.getElementsByTagName("input")[0],h;return d?(d.focus(),s.value&&(d.value=s.value,s.selectValueOnOpen!==!1&&d.select()),s.onInput&&n.on(d,"input",function(p){s.onInput(p,d.value,f)}),s.onKeyUp&&n.on(d,"keyup",function(p){s.onKeyUp(p,d.value,f)}),n.on(d,"keydown",function(p){s&&s.onKeyDown&&s.onKeyDown(p,d.value,f)||((p.keyCode==27||s.closeOnEnter!==!1&&p.keyCode==13)&&(d.blur(),n.e_stop(p),f()),p.keyCode==13&&o(d.value,p))}),s.closeOnBlur!==!1&&n.on(l,"focusout",function(p){p.relatedTarget!==null&&f()})):(h=l.getElementsByTagName("button")[0])&&(n.on(h,"click",function(){f(),c.focus()}),s.closeOnBlur!==!1&&n.on(h,"blur",f),h.focus()),f}),n.defineExtension("openConfirm",function(a,o,s){i(this,null);var l=r(this,a,s&&s.bottom),u=l.getElementsByTagName("button"),c=!1,f=this,d=1;function h(){c||(c=!0,n.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),f.focus())}u[0].focus();for(var p=0;p",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],u=l.length,c=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"global",shortName:"g"}];function f(Y){Y.setOption("disableInput",!0),Y.setOption("showCursorWhenSelecting",!1),a.signal(Y,"vim-mode-change",{mode:"normal"}),Y.on("cursorActivity",So),oe(Y),a.on(Y.getInputField(),"paste",w(Y))}function d(Y){Y.setOption("disableInput",!1),Y.off("cursorActivity",So),a.off(Y.getInputField(),"paste",w(Y)),Y.state.vim=null,Ia&&clearTimeout(Ia)}function h(Y,pe){this==a.keyMap.vim&&(Y.options.$customCursor=null,a.rmClass(Y.getWrapperElement(),"cm-fat-cursor")),(!pe||pe.attach!=p)&&d(Y)}function p(Y,pe){this==a.keyMap.vim&&(Y.curOp&&(Y.curOp.selectionChanged=!0),Y.options.$customCursor=s,a.addClass(Y.getWrapperElement(),"cm-fat-cursor")),(!pe||pe.attach!=p)&&f(Y)}a.defineOption("vimMode",!1,function(Y,pe,Ee){pe&&Y.getOption("keyMap")!="vim"?Y.setOption("keyMap","vim"):!pe&&Ee!=a.Init&&/^vim/.test(Y.getOption("keyMap"))&&Y.setOption("keyMap","default")});function g(Y,pe){if(pe){if(this[Y])return this[Y];var Ee=v(Y);if(!Ee)return!1;var Me=Ae.findKey(pe,Ee);return typeof Me=="function"&&a.signal(pe,"vim-keypress",Ee),Me}}var b={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},m={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function v(Y){if(Y.charAt(0)=="'")return Y.charAt(1);var pe=Y.split(/-(?!$)/),Ee=pe[pe.length-1];if(pe.length==1&&pe[0].length==1)return!1;if(pe.length==2&&pe[0]=="Shift"&&Ee.length==1)return!1;for(var Me=!1,Ue=0;Ue"):!1}function w(Y){var pe=Y.state.vim;return pe.onPasteFn||(pe.onPasteFn=function(){pe.insertMode||(Y.setCursor(de(Y.getCursor(),0,1)),Oe.enterInsertMode(Y,{},pe))}),pe.onPasteFn}var k=/[\d]/,E=[a.isWordChar,function(Y){return Y&&!a.isWordChar(Y)&&!/\s/.test(Y)}],S=[function(Y){return/\S/.test(Y)}];function T(Y,pe){for(var Ee=[],Me=Y;Me"]),B=[].concat(L,M,D,["-",'"',".",":","_","/"]),N;try{N=new RegExp("^[\\p{Lu}]$","u")}catch{N=/^[A-Z]$/}function O(Y,pe){return pe>=Y.firstLine()&&pe<=Y.lastLine()}function R(Y){return/^[a-z]$/.test(Y)}function P(Y){return"()[]{}".indexOf(Y)!=-1}function H(Y){return k.test(Y)}function F(Y){return N.test(Y)}function q(Y){return/^\s*$/.test(Y)}function V(Y){return".?!".indexOf(Y)!=-1}function X(Y,pe){for(var Ee=0;EeEe?pe=Ee:pe0?1:-1,ln,Qt=ot.getCursor();do if(pe+=nn,At=Ue[(Y+pe)%Y],At&&(ln=At.find())&&!rt(Qt,ln))break;while(peMe)}return At}function dt(ot,St){var At=pe,nn=tt(ot,St);return pe=At,nn&&nn.find()}return{cachedCursor:void 0,add:qe,find:dt,move:tt}},ae=function(Y){return Y?{changes:Y.changes,expectCursorActivityForChange:Y.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function le(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=ae()}le.prototype={exitMacroRecordMode:function(){var Y=ee.macroModeState;Y.onRecordingDone&&Y.onRecordingDone(),Y.onRecordingDone=void 0,Y.isRecording=!1},enterMacroRecordMode:function(Y,pe){var Ee=ee.registerController.getRegister(pe);if(Ee){if(Ee.clear(),this.latestRegister=pe,Y.openDialog){var Me=wt("span",{class:"cm-vim-message"},"recording @"+pe);this.onRecordingDone=Y.openDialog(Me,null,{bottom:!0})}this.isRecording=!0}}};function oe(Y){return Y.state.vim||(Y.state.vim={inputState:new ce,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),Y.state.vim}var ee;function ne(){ee={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:Q(),macroModeState:new le,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new ie({}),searchHistoryController:new he,exCommandHistoryController:new he};for(var Y in G){var pe=G[Y];pe.value=pe.defaultValue}}var ue,Ae={enterVimMode:f,buildKeyMap:function(){},getRegisterController:function(){return ee.registerController},resetVimGlobalState_:ne,getVimGlobalState_:function(){return ee},maybeInitVimState_:oe,suppressErrorLogging:!1,InsertModeKey:nu,map:function(Y,pe,Ee){ja.map(Y,pe,Ee)},unmap:function(Y,pe){return ja.unmap(Y,pe)},noremap:function(Y,pe,Ee){function Me(ln){return ln?[ln]:["normal","insert","visual"]}for(var Ue=Me(Ee),qe=l.length,tt=u,dt=qe-tt;dt=0;Ue--){var qe=Me[Ue];if(Y!==qe.context)if(qe.context)this._mapCommand(qe);else{var tt=["normal","insert","visual"];for(var dt in tt)if(tt[dt]!==Y){var ot={};for(var St in qe)ot[St]=qe[St];ot.context=tt[dt],this._mapCommand(ot)}}}},setOption:te,getOption:re,defineOption:J,defineEx:function(Y,pe,Ee){if(!pe)pe=Y;else if(Y.indexOf(pe)!==0)throw new Error('(Vim.defineEx) "'+pe+'" is not a prefix of "'+Y+'", command not registered');Ma[Y]=Ee,ja.commandMap_[pe]={name:Y,shortName:pe,type:"api"}},handleKey:function(Y,pe,Ee){var Me=this.findKey(Y,pe,Ee);if(typeof Me=="function")return Me()},multiSelectHandleKey:jh,findKey:function(Y,pe,Ee){var Me=oe(Y);function Ue(){var At=ee.macroModeState;if(At.isRecording){if(pe=="q")return At.exitMacroRecordMode(),be(Y),!0;Ee!="mapping"&&En(At,pe)}}function qe(){if(pe==""){if(Me.visualMode)Gt(Y);else if(Me.insertMode)Qa(Y);else return;return be(Y),!0}}function tt(At){for(var nn;At;)nn=/<\w+-.+?>|<\w+>|./.exec(At),pe=nn[0],At=At.substring(nn.index+pe.length),Ae.handleKey(Y,pe,"mapping")}function dt(){if(qe())return!0;for(var At=Me.inputState.keyBuffer=Me.inputState.keyBuffer+pe,nn=pe.length==1,ln=$e.matchCommand(At,l,Me.inputState,"insert");At.length>1&&ln.type!="full";){var At=Me.inputState.keyBuffer=At.slice(1),Qt=$e.matchCommand(At,l,Me.inputState,"insert");Qt.type!="none"&&(ln=Qt)}if(ln.type=="none")return be(Y),!1;if(ln.type=="partial")return ue&&window.clearTimeout(ue),ue=window.setTimeout(function(){Me.insertMode&&Me.inputState.keyBuffer&&be(Y)},re("insertModeEscKeysTimeout")),!nn;if(ue&&window.clearTimeout(ue),nn){for(var Jt=Y.listSelections(),qn=0;qn0||this.motionRepeat.length>0)&&(Y=1,this.prefixRepeat.length>0&&(Y*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(Y*=parseInt(this.motionRepeat.join(""),10))),Y};function be(Y,pe){Y.state.vim.inputState=new ce,a.signal(Y,"vim-command-done",pe)}function ge(Y,pe,Ee){this.clear(),this.keyBuffer=[Y||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!pe,this.blockwise=!!Ee}ge.prototype={setText:function(Y,pe,Ee){this.keyBuffer=[Y||""],this.linewise=!!pe,this.blockwise=!!Ee},pushText:function(Y,pe){pe&&(this.linewise||this.keyBuffer.push(` +`,"end")}),r.gotoLine=function(re){var Q=k(re,!0);if(Q!=null&&Q>0)return re.setCursor(Q-1);F(re,"Goto line",function(ae){var le;ae&&!isNaN(le=Number(ae))&&le==(le|0)&&le>0&&re.setCursor(le-1)})},r.indentRigidly=function(re){re.indentSelection(k(re,!0)||re.getOption("indentUnit"))},r.exchangePointAndMark=function(re){re.setSelection(re.getCursor("head"),re.getCursor("anchor"))},r.quotedInsertTab=E("insertTab"),r.universalArgument=function(Q){Q.state.emacsPrefixMap=!0,Q.addKeyMap(G),Q.on("keyHandled",R),Q.on("inputRead",R)},n.emacs={kill:d,killRegion:M,repeated:E};var X=n.keyMap.emacs=n.normalizeKeyMap({"Ctrl-W":"killRegion","Ctrl-K":"killLineEmacs","Alt-W":"killRingSave","Ctrl-Y":"yank","Alt-Y":"yankPop","Ctrl-Space":"setMark","Ctrl-Shift-2":"setMark","Ctrl-F":"forwardChar","Ctrl-B":"backwardChar",Right:"forwardChar",Left:"backwardChar","Ctrl-D":"deleteChar",Delete:"deleteForwardChar","Ctrl-H":"deleteBackwardChar",Backspace:"deleteBackwardChar","Alt-F":"forwardWord","Alt-B":"backwardWord","Alt-Right":"forwardWord","Alt-Left":"backwardWord","Alt-D":"killWord","Alt-Backspace":"backwardKillWord","Ctrl-N":"nextLine","Ctrl-P":"previousLine",Down:"nextLine",Up:"previousLine","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":"scrollDownCommand","Ctrl-V":"scrollUpCommand",PageUp:"scrollDownCommand",PageDown:"scrollUpCommand","Ctrl-Up":"backwardParagraph","Ctrl-Down":"forwardParagraph","Alt-{":"backwardParagraph","Alt-}":"forwardParagraph","Alt-A":"backwardSentence","Alt-E":"forwardSentence","Alt-K":"killSentence","Ctrl-X Delete":"backwardKillSentence","Ctrl-Alt-K":"killSexp","Ctrl-Alt-Backspace":"backwardKillSexp","Ctrl-Alt-F":"forwardSexp","Ctrl-Alt-B":"backwardSexp","Shift-Ctrl-Alt-2":"markSexp","Ctrl-Alt-T":"transposeSexps","Ctrl-Alt-U":"backwardUpList","Alt-Space":"justOneSpace","Ctrl-O":"openLine","Ctrl-T":"transposeCharsRepeatable","Alt-C":"capitalizeWord","Alt-U":"upcaseWord","Alt-L":"downcaseWord","Alt-;":"toggleComment","Ctrl-/":"undoRepeatable","Shift-Ctrl--":"undoRepeatable","Ctrl-Z":"undoRepeatable","Cmd-Z":"undoRepeatable","Ctrl-X U":"undoRepeatable","Shift-Ctrl-Z":"redo","Shift-Alt-,":"goDocStart","Shift-Alt-.":"goDocEnd","Ctrl-S":"findPersistentNext","Ctrl-R":"findPersistentPrev","Ctrl-G":"keyboardQuit","Shift-Alt-5":"replace","Alt-/":"autocomplete",Enter:"newlineAndIndent","Ctrl-J":"newline",Tab:"indentAuto","Alt-G G":"gotoLine","Ctrl-X Tab":"indentRigidly","Ctrl-X Ctrl-X":"exchangePointAndMark","Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X K":"close","Ctrl-X H":"selectAll","Ctrl-Q Tab":"quotedInsertTab","Ctrl-U":"universalArgument",fallthrough:"default"}),G={"Ctrl-G":N};function J(re){G[re]=function(Q){D(Q,re)},X["Ctrl-"+re]=function(Q){D(Q,re)},I["Ctrl-"+re]=!0}for(var te=0;te<10;++te)J(String(te));J("-")})})();var nSe={exports:{}},rSe;function kIr(){return rSe||(rSe=1,function(e,t){(function(n){n(jr)})(function(n){function r(a,o,s){var l=a.getWrapperElement(),u;return u=l.appendChild(document.createElement("div")),s?u.className="CodeMirror-dialog CodeMirror-dialog-bottom":u.className="CodeMirror-dialog CodeMirror-dialog-top",typeof o=="string"?u.innerHTML=o:u.appendChild(o),n.addClass(l,"dialog-opened"),u}function i(a,o){a.state.currentNotificationClose&&a.state.currentNotificationClose(),a.state.currentNotificationClose=o}n.defineExtension("openDialog",function(a,o,s){s||(s={}),i(this,null);var l=r(this,a,s.bottom),u=!1,c=this;function f(p){if(typeof p=="string")d.value=p;else{if(u)return;u=!0,n.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),c.focus(),s.onClose&&s.onClose(l)}}var d=l.getElementsByTagName("input")[0],h;return d?(d.focus(),s.value&&(d.value=s.value,s.selectValueOnOpen!==!1&&d.select()),s.onInput&&n.on(d,"input",function(p){s.onInput(p,d.value,f)}),s.onKeyUp&&n.on(d,"keyup",function(p){s.onKeyUp(p,d.value,f)}),n.on(d,"keydown",function(p){s&&s.onKeyDown&&s.onKeyDown(p,d.value,f)||((p.keyCode==27||s.closeOnEnter!==!1&&p.keyCode==13)&&(d.blur(),n.e_stop(p),f()),p.keyCode==13&&o(d.value,p))}),s.closeOnBlur!==!1&&n.on(l,"focusout",function(p){p.relatedTarget!==null&&f()})):(h=l.getElementsByTagName("button")[0])&&(n.on(h,"click",function(){f(),c.focus()}),s.closeOnBlur!==!1&&n.on(h,"blur",f),h.focus()),f}),n.defineExtension("openConfirm",function(a,o,s){i(this,null);var l=r(this,a,s&&s.bottom),u=l.getElementsByTagName("button"),c=!1,f=this,d=1;function h(){c||(c=!0,n.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),f.focus())}u[0].focus();for(var p=0;p",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],u=l.length,c=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"global",shortName:"g"}];function f(Y){Y.setOption("disableInput",!0),Y.setOption("showCursorWhenSelecting",!1),a.signal(Y,"vim-mode-change",{mode:"normal"}),Y.on("cursorActivity",So),oe(Y),a.on(Y.getInputField(),"paste",w(Y))}function d(Y){Y.setOption("disableInput",!1),Y.off("cursorActivity",So),a.off(Y.getInputField(),"paste",w(Y)),Y.state.vim=null,Ia&&clearTimeout(Ia)}function h(Y,pe){this==a.keyMap.vim&&(Y.options.$customCursor=null,a.rmClass(Y.getWrapperElement(),"cm-fat-cursor")),(!pe||pe.attach!=p)&&d(Y)}function p(Y,pe){this==a.keyMap.vim&&(Y.curOp&&(Y.curOp.selectionChanged=!0),Y.options.$customCursor=s,a.addClass(Y.getWrapperElement(),"cm-fat-cursor")),(!pe||pe.attach!=p)&&f(Y)}a.defineOption("vimMode",!1,function(Y,pe,Ee){pe&&Y.getOption("keyMap")!="vim"?Y.setOption("keyMap","vim"):!pe&&Ee!=a.Init&&/^vim/.test(Y.getOption("keyMap"))&&Y.setOption("keyMap","default")});function g(Y,pe){if(pe){if(this[Y])return this[Y];var Ee=v(Y);if(!Ee)return!1;var Me=Ae.findKey(pe,Ee);return typeof Me=="function"&&a.signal(pe,"vim-keypress",Ee),Me}}var b={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},m={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function v(Y){if(Y.charAt(0)=="'")return Y.charAt(1);var pe=Y.split(/-(?!$)/),Ee=pe[pe.length-1];if(pe.length==1&&pe[0].length==1)return!1;if(pe.length==2&&pe[0]=="Shift"&&Ee.length==1)return!1;for(var Me=!1,Ue=0;Ue"):!1}function w(Y){var pe=Y.state.vim;return pe.onPasteFn||(pe.onPasteFn=function(){pe.insertMode||(Y.setCursor(de(Y.getCursor(),0,1)),Oe.enterInsertMode(Y,{},pe))}),pe.onPasteFn}var k=/[\d]/,E=[a.isWordChar,function(Y){return Y&&!a.isWordChar(Y)&&!/\s/.test(Y)}],S=[function(Y){return/\S/.test(Y)}];function T(Y,pe){for(var Ee=[],Me=Y;Me"]),B=[].concat(L,M,D,["-",'"',".",":","_","/"]),N;try{N=new RegExp("^[\\p{Lu}]$","u")}catch{N=/^[A-Z]$/}function O(Y,pe){return pe>=Y.firstLine()&&pe<=Y.lastLine()}function R(Y){return/^[a-z]$/.test(Y)}function P(Y){return"()[]{}".indexOf(Y)!=-1}function H(Y){return k.test(Y)}function F(Y){return N.test(Y)}function q(Y){return/^\s*$/.test(Y)}function V(Y){return".?!".indexOf(Y)!=-1}function X(Y,pe){for(var Ee=0;EeEe?pe=Ee:pe0?1:-1,ln,Qt=ot.getCursor();do if(pe+=nn,At=Ue[(Y+pe)%Y],At&&(ln=At.find())&&!rt(Qt,ln))break;while(peMe)}return At}function dt(ot,St){var At=pe,nn=tt(ot,St);return pe=At,nn&&nn.find()}return{cachedCursor:void 0,add:qe,find:dt,move:tt}},ae=function(Y){return Y?{changes:Y.changes,expectCursorActivityForChange:Y.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function le(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=ae()}le.prototype={exitMacroRecordMode:function(){var Y=ee.macroModeState;Y.onRecordingDone&&Y.onRecordingDone(),Y.onRecordingDone=void 0,Y.isRecording=!1},enterMacroRecordMode:function(Y,pe){var Ee=ee.registerController.getRegister(pe);if(Ee){if(Ee.clear(),this.latestRegister=pe,Y.openDialog){var Me=wt("span",{class:"cm-vim-message"},"recording @"+pe);this.onRecordingDone=Y.openDialog(Me,null,{bottom:!0})}this.isRecording=!0}}};function oe(Y){return Y.state.vim||(Y.state.vim={inputState:new ce,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),Y.state.vim}var ee;function ne(){ee={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:Q(),macroModeState:new le,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new ie({}),searchHistoryController:new he,exCommandHistoryController:new he};for(var Y in G){var pe=G[Y];pe.value=pe.defaultValue}}var ue,Ae={enterVimMode:f,buildKeyMap:function(){},getRegisterController:function(){return ee.registerController},resetVimGlobalState_:ne,getVimGlobalState_:function(){return ee},maybeInitVimState_:oe,suppressErrorLogging:!1,InsertModeKey:nu,map:function(Y,pe,Ee){ja.map(Y,pe,Ee)},unmap:function(Y,pe){return ja.unmap(Y,pe)},noremap:function(Y,pe,Ee){function Me(ln){return ln?[ln]:["normal","insert","visual"]}for(var Ue=Me(Ee),qe=l.length,tt=u,dt=qe-tt;dt=0;Ue--){var qe=Me[Ue];if(Y!==qe.context)if(qe.context)this._mapCommand(qe);else{var tt=["normal","insert","visual"];for(var dt in tt)if(tt[dt]!==Y){var ot={};for(var St in qe)ot[St]=qe[St];ot.context=tt[dt],this._mapCommand(ot)}}}},setOption:te,getOption:re,defineOption:J,defineEx:function(Y,pe,Ee){if(!pe)pe=Y;else if(Y.indexOf(pe)!==0)throw new Error('(Vim.defineEx) "'+pe+'" is not a prefix of "'+Y+'", command not registered');Ma[Y]=Ee,ja.commandMap_[pe]={name:Y,shortName:pe,type:"api"}},handleKey:function(Y,pe,Ee){var Me=this.findKey(Y,pe,Ee);if(typeof Me=="function")return Me()},multiSelectHandleKey:jh,findKey:function(Y,pe,Ee){var Me=oe(Y);function Ue(){var At=ee.macroModeState;if(At.isRecording){if(pe=="q")return At.exitMacroRecordMode(),be(Y),!0;Ee!="mapping"&&En(At,pe)}}function qe(){if(pe==""){if(Me.visualMode)Gt(Y);else if(Me.insertMode)Qa(Y);else return;return be(Y),!0}}function tt(At){for(var nn;At;)nn=/<\w+-.+?>|<\w+>|./.exec(At),pe=nn[0],At=At.substring(nn.index+pe.length),Ae.handleKey(Y,pe,"mapping")}function dt(){if(qe())return!0;for(var At=Me.inputState.keyBuffer=Me.inputState.keyBuffer+pe,nn=pe.length==1,ln=$e.matchCommand(At,l,Me.inputState,"insert");At.length>1&&ln.type!="full";){var At=Me.inputState.keyBuffer=At.slice(1),Qt=$e.matchCommand(At,l,Me.inputState,"insert");Qt.type!="none"&&(ln=Qt)}if(ln.type=="none")return be(Y),!1;if(ln.type=="partial")return ue&&window.clearTimeout(ue),ue=window.setTimeout(function(){Me.insertMode&&Me.inputState.keyBuffer&&be(Y)},re("insertModeEscKeysTimeout")),!nn;if(ue&&window.clearTimeout(ue),nn){for(var Jt=Y.listSelections(),qn=0;qn0||this.motionRepeat.length>0)&&(Y=1,this.prefixRepeat.length>0&&(Y*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(Y*=parseInt(this.motionRepeat.join(""),10))),Y};function be(Y,pe){Y.state.vim.inputState=new ce,a.signal(Y,"vim-command-done",pe)}function ge(Y,pe,Ee){this.clear(),this.keyBuffer=[Y||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!pe,this.blockwise=!!Ee}ge.prototype={setText:function(Y,pe,Ee){this.keyBuffer=[Y||""],this.linewise=!!pe,this.blockwise=!!Ee},pushText:function(Y,pe){pe&&(this.linewise||this.keyBuffer.push(` `),this.linewise=!0),this.keyBuffer.push(Y)},pushInsertModeChanges:function(Y){this.insertModeChanges.push(ae(Y))},pushSearchQuery:function(Y){this.searchQueries.push(Y)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}};function ve(Y,pe){var Ee=ee.registerController.registers;if(!Y||Y.length!=1)throw Error("Register name must be 1 character");if(Ee[Y])throw Error("Register already defined "+Y);Ee[Y]=pe,B.push(Y)}function ie(Y){this.registers=Y,this.unnamedRegister=Y['"']=new ge,Y["."]=new ge,Y[":"]=new ge,Y["/"]=new ge}ie.prototype={pushText:function(Y,pe,Ee,Me,Ue){if(Y!=="_"){Me&&Ee.charAt(Ee.length-1)!==` `&&(Ee+=` `);var qe=this.isValidRegister(Y)?this.getRegister(Y):null;if(!qe){switch(pe){case"yank":this.registers[0]=new ge(Ee,Me,Ue);break;case"delete":case"change":Ee.indexOf(` @@ -1110,20 +1110,20 @@ l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, `),Jt=tt||(qe=="decimal"?/(-?)([\d]+)/:qe=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:qe=="octal"?/([0-7]+)/:null),qn=qe=="decimal"?10:qe=="hex"?16:qe=="octal"?8:null,xn=[],br=[];if(qe||tt)for(var $r=0;$r=St){Jr(Y,"Invalid argument: "+pe.argString.substring(Ue));return}for(var At=0;At<=St-ot;At++){var nn=String.fromCharCode(ot+At);delete Ee.marks[nn]}}else{Jr(Y,"Invalid argument: "+tt+"-");return}}else delete Ee.marks[qe]}}},ja=new ia;function yu(Y,pe,Ee,Me,Ue,qe,tt,dt,ot){Y.state.vim.exMode=!0;var St=!1,At,nn,ln;function Qt(){Y.operation(function(){for(;!St;)Jt(),xn();br()})}function Jt(){var Tr=Y.getRange(qe.from(),qe.to()),hi=Tr.replace(tt,dt),to=qe.to().line;qe.replace(hi),nn=qe.to().line,Ue+=nn-to,ln=nn1&&(Yu(Y,pe,pe.insertModeRepeat-1,!0),pe.lastEditInputState.repeatOverride=pe.insertModeRepeat),delete pe.insertModeRepeat,pe.insertMode=!1,Y.setCursor(Y.getCursor().line,Y.getCursor().ch-1),Y.setOption("keyMap","vim"),Y.setOption("disableInput",!0),Y.toggleOverwrite(!1),Me.setText(qe.changes.join("")),a.signal(Y,"vim-mode-change",{mode:"normal"}),Ee.isRecording&&sr(Ee)}function Fl(Y){l.unshift(Y)}function Kn(Y,pe,Ee,Me,Ue){var qe={keys:Y,type:pe};qe[pe]=Ee,qe[pe+"Args"]=Me;for(var tt in Ue)qe[tt]=Ue[tt];Fl(qe)}J("insertModeEscKeysTimeout",200,"number"),a.keyMap["vim-insert"]={fallthrough:["default"],attach:p,detach:h,call:g},a.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:p,detach:h,call:g};function Bt(Y,pe,Ee,Me){var Ue=ee.registerController.getRegister(Me);if(Me==":"){Ue.keyBuffer[0]&&ja.processCommand(Y,Ue.keyBuffer[0]),Ee.isPlaying=!1;return}var qe=Ue.keyBuffer,tt=0;Ee.isPlaying=!0,Ee.replaySearchQueries=Ue.searchQueries.slice(0);for(var dt=0;dt|<\w+>|./.exec(ot),At=St[0],ot=ot.substring(St.index+At.length),Ae.handleKey(Y,At,"macro"),pe.insertMode){var nn=Ue.insertModeChanges[tt++].changes;ee.macroModeState.lastInsertModeChanges.changes=nn,Nl(Y,nn,1),Qa(Y)}Ee.isPlaying=!1}function En(Y,pe){if(!Y.isPlaying){var Ee=Y.latestRegister,Me=ee.registerController.getRegister(Ee);Me&&Me.pushText(pe)}}function sr(Y){if(!Y.isPlaying){var pe=Y.latestRegister,Ee=ee.registerController.getRegister(pe);Ee&&Ee.pushInsertModeChanges&&Ee.pushInsertModeChanges(Y.lastInsertModeChanges)}}function Oi(Y,pe){if(!Y.isPlaying){var Ee=Y.latestRegister,Me=ee.registerController.getRegister(Ee);Me&&Me.pushSearchQuery&&Me.pushSearchQuery(pe)}}function eo(Y,pe){var Ee=ee.macroModeState,Me=Ee.lastInsertModeChanges;if(!Ee.isPlaying)for(;pe;){if(Me.expectCursorActivityForChange=!0,Me.ignoreCount>1)Me.ignoreCount--;else if(pe.origin=="+input"||pe.origin=="paste"||pe.origin===void 0){var Ue=Y.listSelections().length;Ue>1&&(Me.ignoreCount=Ue);var qe=pe.text.join(` -`);Me.maybeReset&&(Me.changes=[],Me.maybeReset=!1),qe&&(Y.state.overwrite&&!/\n/.test(qe)?Me.changes.push([qe]):Me.changes.push(qe))}pe=pe.next}}function So(Y){var pe=Y.state.vim;if(pe.insertMode){var Ee=ee.macroModeState;if(Ee.isPlaying)return;var Me=Ee.lastInsertModeChanges;Me.expectCursorActivityForChange?Me.expectCursorActivityForChange=!1:Me.maybeReset=!0}else Y.curOp.isVimOp||Aa(Y,pe)}function Aa(Y,pe){var Ee=Y.getCursor("anchor"),Me=Y.getCursor("head");if(pe.visualMode&&!Y.somethingSelected()?Gt(Y,!1):!pe.visualMode&&!pe.insertMode&&Y.somethingSelected()&&(pe.visualMode=!0,pe.visualLine=!1,a.signal(Y,"vim-mode-change",{mode:"visual"})),pe.visualMode){var Ue=et(Me,Ee)?0:-1,qe=et(Me,Ee)?-1:0;Me=de(Me,0,Ue),Ee=de(Ee,0,qe),pe.sel={anchor:Ee,head:Me},Mr(Y,pe,"<",Ot(Me,Ee)),Mr(Y,pe,">",jt(Me,Ee))}else pe.insertMode||(pe.lastHPos=Y.getCursor().ch)}function nu(Y){this.keyName=Y}function Ao(Y){var pe=ee.macroModeState,Ee=pe.lastInsertModeChanges,Me=a.keyName(Y);if(!Me)return;function Ue(){return Ee.maybeReset&&(Ee.changes=[],Ee.maybeReset=!1),Ee.changes.push(new nu(Me)),!0}(Me.indexOf("Delete")!=-1||Me.indexOf("Backspace")!=-1)&&a.lookupKey(Me,"vim-insert",Ue)}function Yu(Y,pe,Ee,Me){var Ue=ee.macroModeState;Ue.isPlaying=!0;var qe=!!pe.lastEditActionCommand,tt=pe.inputState;function dt(){qe?$e.processAction(Y,pe,pe.lastEditActionCommand):$e.evalInput(Y,pe)}function ot(At){if(Ue.lastInsertModeChanges.changes.length>0){At=pe.lastEditActionCommand?At:1;var nn=Ue.lastInsertModeChanges;Nl(Y,nn.changes,At)}}if(pe.inputState=pe.lastEditInputState,qe&&pe.lastEditActionCommand.interlaceInsertRepeat)for(var St=0;St"&&!Ue.insertMode&&!Ue.visualMode&&tt&&Ue.status=="")be(Y);else if(qe||!tt||Y.inVirtualSelectionMode)Me=Ae.handleKey(Y,pe,Ee);else{var dt=Pf(Ue);Y.operation(function(){Y.curOp.isVimOp=!0,Y.forEachSelection(function(){var ot=Y.getCursor("head"),St=Y.getCursor("anchor"),At=et(ot,St)?0:-1,nn=et(ot,St)?-1:0;ot=de(ot,0,At),St=de(St,0,nn),Y.state.vim.sel.head=ot,Y.state.vim.sel.anchor=St,Me=Ae.handleKey(Y,pe,Ee),Y.virtualSelection&&(Y.state.vim=Pf(dt))}),Y.curOp.cursorActivity&&!Me&&(Y.curOp.cursorActivity=!1),Y.state.vim=Ue},!0)}return Me&&!Ue.visualMode&&!Ue.insert&&Ue.visualMode!=Y.somethingSelected()&&Aa(Y,Ue),Me}return ne(),Ae}function i(a){return a.Vim=r(a),a.Vim}n.Vim=i(n)})})();var kIr={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){function r(s,l,u,c){if(u&&u.call){var f=u;u=null}else var f=o(s,u,"rangeFinder");typeof l=="number"&&(l=n.Pos(l,0));var d=o(s,u,"minFoldSize");function h(m){var v=f(s,l);if(!v||v.to.line-v.from.lines.firstLine();)l=n.Pos(l.line-1,0),p=h(!1);if(!(!p||p.cleared||c==="unfold")){var g=i(s,u,p);n.on(g,"mousedown",function(m){b.clear(),n.e_preventDefault(m)});var b=s.markText(p.from,p.to,{replacedWith:g,clearOnEnter:o(s,u,"clearOnEnter"),__isFold:!0});b.on("clear",function(m,v){n.signal(s,"unfold",s,m,v)}),n.signal(s,"fold",s,p.from,p.to)}}function i(s,l,u){var c=o(s,l,"widget");if(typeof c=="function"&&(c=c(u.from,u.to)),typeof c=="string"){var f=document.createTextNode(c);c=document.createElement("span"),c.appendChild(f),c.className="CodeMirror-foldmarker"}else c&&(c=c.cloneNode(!0));return c}n.newFoldFunction=function(s,l){return function(u,c){r(u,c,{rangeFinder:s,widget:l})}},n.defineExtension("foldCode",function(s,l,u){r(this,s,l,u)}),n.defineExtension("isFolded",function(s){for(var l=this.findMarksAt(s),u=0;u=E){if(L&&I&&L.test(I.className))return;D=s(w.indicatorOpen)}}!D&&!I||b.setGutterMarker(M,w.gutter,D)})}function u(b){return new RegExp("(^|\\s)"+b+"(?:$|\\s)\\s*")}function c(b){var m=b.getViewport(),v=b.state.foldGutter;v&&(b.operation(function(){l(b,m.from,m.to)}),v.from=m.from,v.to=m.to)}function f(b,m,v){var w=b.state.foldGutter;if(w){var k=w.options;if(v==k.gutter){var E=o(b,m);E?E.clear():b.foldCode(r(m,0),k)}}}function d(b,m){m=="mode"&&h(b)}function h(b){var m=b.state.foldGutter;if(m){var v=m.options;m.from=m.to=0,clearTimeout(m.changeUpdate),m.changeUpdate=setTimeout(function(){c(b)},v.foldOnChangeTimeSpan||600)}}function p(b){var m=b.state.foldGutter;if(m){var v=m.options;clearTimeout(m.changeUpdate),m.changeUpdate=setTimeout(function(){var w=b.getViewport();m.from==m.to||w.from-m.to>20||m.from-w.to>20?c(b):b.operation(function(){w.fromm.to&&(l(b,m.to,w.to),m.to=w.to)})},v.updateViewportTimeSpan||400)}}function g(b,m){var v=b.state.foldGutter;if(v){var w=m.line;w>=v.from&&w1)){if(this.somethingSelected()){if(!m.hint.supportsSelection)return;for(var w=0;wT.clientHeight+1:!1,oe;setTimeout(function(){oe=k.getScrollInfo()});var ee=ae.bottom-Q;if(ee>0){var ne=ae.bottom-ae.top,ue=ae.top-(R.bottom-R.top)-2;Q-ae.topue&&(T.style.height=(ne=ue)+"px"),T.style.top=(H=R.top-ne)+V+"px",F=!1):T.style.height=Q-ae.top-2+"px"}var Ae=ae.right-re;if(le&&(Ae+=k.display.nativeBarWidth),Ae>0&&(ae.right-ae.left>re&&(T.style.width=re-5+"px",Ae-=ae.right-ae.left-re),T.style.left=(P=Math.max(R.left-Ae-q,0))+"px"),le)for(var ce=T.firstChild;ce;ce=ce.nextSibling)ce.style.paddingRight=k.display.nativeBarWidth+"px";if(k.addKeyMap(this.keyMap=c(m,{moveFocus:function(ve,ie){w.changeActive(w.selectedHint+ve,ie)},setFocus:function(ve){w.changeActive(ve)},menuSize:function(){return w.screenAmount()},length:M.length,close:function(){m.close()},pick:function(){w.pick()},data:v})),m.options.closeOnUnfocus){var be;k.on("blur",this.onBlur=function(){be=setTimeout(function(){m.close()},100)}),k.on("focus",this.onFocus=function(){clearTimeout(be)})}k.on("scroll",this.onScroll=function(){var ve=k.getScrollInfo(),ie=k.getWrapperElement().getBoundingClientRect();oe||(oe=k.getScrollInfo());var he=H+oe.top-ve.top,$e=he-(S.pageYOffset||(E.documentElement||E.body).scrollTop);if(F||($e+=T.offsetHeight),$e<=ie.top||$e>=ie.bottom)return m.close();T.style.top=he+"px",T.style.left=P+oe.left-ve.left+"px"}),n.on(T,"dblclick",function(ve){var ie=f(T,ve.target||ve.srcElement);ie&&ie.hintId!=null&&(w.changeActive(ie.hintId),w.pick())}),n.on(T,"click",function(ve){var ie=f(T,ve.target||ve.srcElement);ie&&ie.hintId!=null&&(w.changeActive(ie.hintId),m.options.completeOnSingleClick&&w.pick())}),n.on(T,"mousedown",function(){setTimeout(function(){k.focus()},20)});var ge=this.getSelectedHintRange();return(ge.from!==0||ge.to!==0)&&this.scrollToActive(),n.signal(v,"select",M[this.selectedHint],T.childNodes[this.selectedHint]),!0}d.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var m=this.completion.cm.getInputField();m.removeAttribute("aria-activedescendant"),m.removeAttribute("aria-owns");var v=this.completion.cm;this.completion.options.closeOnUnfocus&&(v.off("blur",this.onBlur),v.off("focus",this.onFocus)),v.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var m=this;this.keyMap={Enter:function(){m.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(m,v){if(m>=this.data.list.length?m=v?this.data.list.length-1:0:m<0&&(m=v?0:this.data.list.length-1),this.selectedHint!=m){var w=this.hints.childNodes[this.selectedHint];w&&(w.className=w.className.replace(" "+i,""),w.removeAttribute("aria-selected")),w=this.hints.childNodes[this.selectedHint=m],w.className+=" "+i,w.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",w.id),this.scrollToActive(),n.signal(this.data,"select",this.data.list[this.selectedHint],w)}},scrollToActive:function(){var m=this.getSelectedHintRange(),v=this.hints.childNodes[m.from],w=this.hints.childNodes[m.to],k=this.hints.firstChild;v.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=w.offsetTop+w.offsetHeight-this.hints.clientHeight+k.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var m=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-m),to:Math.min(this.data.list.length-1,this.selectedHint+m)}}};function h(m,v){if(!m.somethingSelected())return v;for(var w=[],k=0;k0?T(B):D(I+1)})}D(0)};return E.async=!0,E.supportsSelection=!0,E}else return(k=m.getHelper(m.getCursor(),"hintWords"))?function(S){return n.hint.fromList(S,{words:k})}:n.hint.anyword?function(S,T){return n.hint.anyword(S,T)}:function(){}}n.registerHelper("hint","auto",{resolve:g}),n.registerHelper("hint","fromList",function(m,v){var w=m.getCursor(),k=m.getTokenAt(w),E,S=n.Pos(w.line,k.start),T=w;k.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};n.defineOption("hintOptions",null)})})();(function(e,t){(function(n){n(jr)})(function(n){var r={},i=/[^\s\u00a0]/,a=n.Pos,o=n.cmpPos;function s(c){var f=c.search(i);return f==-1?0:f}n.commands.toggleComment=function(c){c.toggleComment()},n.defineExtension("toggleComment",function(c){c||(c=r);for(var f=this,d=1/0,h=this.listSelections(),p=null,g=h.length-1;g>=0;g--){var b=h[g].from(),m=h[g].to();b.line>=d||(m.line>=d&&(m=a(d,0)),d=b.line,p==null?f.uncomment(b,m,c)?p="un":(f.lineComment(b,m,c),p="line"):p=="un"?f.uncomment(b,m,c):f.lineComment(b,m,c))}});function l(c,f,d){return/\bstring\b/.test(c.getTokenTypeAt(a(f.line,0)))&&!/^[\'\"\`]/.test(d)}function u(c,f){var d=c.getMode();return d.useInnerComments===!1||!d.innerMode?d:c.getModeAt(f)}n.defineExtension("lineComment",function(c,f,d){d||(d=r);var h=this,p=u(h,c),g=h.getLine(c.line);if(!(g==null||l(h,c,g))){var b=d.lineComment||p.lineComment;if(!b){(d.blockCommentStart||p.blockCommentStart)&&(d.fullLines=!0,h.blockComment(c,f,d));return}var m=Math.min(f.ch!=0||f.line==c.line?f.line+1:f.line,h.lastLine()+1),v=d.padding==null?" ":d.padding,w=d.commentBlankLines||c.line==f.line;h.operation(function(){if(d.indent){for(var k=null,E=c.line;ET.length)&&(k=T)}for(var E=c.line;Em||h.operation(function(){if(d.fullLines!=!1){var w=i.test(h.getLine(m));h.replaceRange(v+b,a(m)),h.replaceRange(g+v,a(c.line,0));var k=d.blockCommentLead||p.blockCommentLead;if(k!=null)for(var E=c.line+1;E<=m;++E)(E!=m||w)&&h.replaceRange(k+v,a(E,0))}else{var S=o(h.getCursor("to"),f)==0,T=!h.somethingSelected();h.replaceRange(b,f),S&&h.setSelection(T?f:h.getCursor("from"),f),h.replaceRange(g,c)}})}}),n.defineExtension("uncomment",function(c,f,d){d||(d=r);var h=this,p=u(h,c),g=Math.min(f.ch!=0||f.line==c.line?f.line:f.line-1,h.lastLine()),b=Math.min(c.line,g),m=d.lineComment||p.lineComment,v=[],w=d.padding==null?" ":d.padding,k;e:{if(!m)break e;for(var E=b;E<=g;++E){var S=h.getLine(E),T=S.indexOf(m);if(T>-1&&!/comment/.test(h.getTokenTypeAt(a(E,T+1)))&&(T=-1),T==-1&&i.test(S)||T>-1&&i.test(S.slice(0,T)))break e;v.push(S)}if(h.operation(function(){for(var V=b;V<=g;++V){var X=v[V-b],G=X.indexOf(m),J=G+m.length;G<0||(X.slice(J,J+w.length)==w&&(J+=w.length),k=!0,h.replaceRange("",a(V,G),a(V,J)))}}),k)return!0}var L=d.blockCommentStart||p.blockCommentStart,M=d.blockCommentEnd||p.blockCommentEnd;if(!L||!M)return!1;var D=d.blockCommentLead||p.blockCommentLead,I=h.getLine(b),B=I.indexOf(L);if(B==-1)return!1;var N=g==b?I:h.getLine(g),O=N.indexOf(M,g==b?B+L.length:0),R=a(b,B+1),P=a(g,O+1);if(O==-1||!/comment/.test(h.getTokenTypeAt(R))||!/comment/.test(h.getTokenTypeAt(P))||h.getRange(R,P,` +`);Me.maybeReset&&(Me.changes=[],Me.maybeReset=!1),qe&&(Y.state.overwrite&&!/\n/.test(qe)?Me.changes.push([qe]):Me.changes.push(qe))}pe=pe.next}}function So(Y){var pe=Y.state.vim;if(pe.insertMode){var Ee=ee.macroModeState;if(Ee.isPlaying)return;var Me=Ee.lastInsertModeChanges;Me.expectCursorActivityForChange?Me.expectCursorActivityForChange=!1:Me.maybeReset=!0}else Y.curOp.isVimOp||Aa(Y,pe)}function Aa(Y,pe){var Ee=Y.getCursor("anchor"),Me=Y.getCursor("head");if(pe.visualMode&&!Y.somethingSelected()?Gt(Y,!1):!pe.visualMode&&!pe.insertMode&&Y.somethingSelected()&&(pe.visualMode=!0,pe.visualLine=!1,a.signal(Y,"vim-mode-change",{mode:"visual"})),pe.visualMode){var Ue=et(Me,Ee)?0:-1,qe=et(Me,Ee)?-1:0;Me=de(Me,0,Ue),Ee=de(Ee,0,qe),pe.sel={anchor:Ee,head:Me},Mr(Y,pe,"<",Ot(Me,Ee)),Mr(Y,pe,">",jt(Me,Ee))}else pe.insertMode||(pe.lastHPos=Y.getCursor().ch)}function nu(Y){this.keyName=Y}function Ao(Y){var pe=ee.macroModeState,Ee=pe.lastInsertModeChanges,Me=a.keyName(Y);if(!Me)return;function Ue(){return Ee.maybeReset&&(Ee.changes=[],Ee.maybeReset=!1),Ee.changes.push(new nu(Me)),!0}(Me.indexOf("Delete")!=-1||Me.indexOf("Backspace")!=-1)&&a.lookupKey(Me,"vim-insert",Ue)}function Yu(Y,pe,Ee,Me){var Ue=ee.macroModeState;Ue.isPlaying=!0;var qe=!!pe.lastEditActionCommand,tt=pe.inputState;function dt(){qe?$e.processAction(Y,pe,pe.lastEditActionCommand):$e.evalInput(Y,pe)}function ot(At){if(Ue.lastInsertModeChanges.changes.length>0){At=pe.lastEditActionCommand?At:1;var nn=Ue.lastInsertModeChanges;Nl(Y,nn.changes,At)}}if(pe.inputState=pe.lastEditInputState,qe&&pe.lastEditActionCommand.interlaceInsertRepeat)for(var St=0;St"&&!Ue.insertMode&&!Ue.visualMode&&tt&&Ue.status=="")be(Y);else if(qe||!tt||Y.inVirtualSelectionMode)Me=Ae.handleKey(Y,pe,Ee);else{var dt=Pf(Ue);Y.operation(function(){Y.curOp.isVimOp=!0,Y.forEachSelection(function(){var ot=Y.getCursor("head"),St=Y.getCursor("anchor"),At=et(ot,St)?0:-1,nn=et(ot,St)?-1:0;ot=de(ot,0,At),St=de(St,0,nn),Y.state.vim.sel.head=ot,Y.state.vim.sel.anchor=St,Me=Ae.handleKey(Y,pe,Ee),Y.virtualSelection&&(Y.state.vim=Pf(dt))}),Y.curOp.cursorActivity&&!Me&&(Y.curOp.cursorActivity=!1),Y.state.vim=Ue},!0)}return Me&&!Ue.visualMode&&!Ue.insert&&Ue.visualMode!=Y.somethingSelected()&&Aa(Y,Ue),Me}return ne(),Ae}function i(a){return a.Vim=r(a),a.Vim}n.Vim=i(n)})})();var _Ir={exports:{}};(function(e,t){(function(n){n(jr)})(function(n){function r(s,l,u,c){if(u&&u.call){var f=u;u=null}else var f=o(s,u,"rangeFinder");typeof l=="number"&&(l=n.Pos(l,0));var d=o(s,u,"minFoldSize");function h(m){var v=f(s,l);if(!v||v.to.line-v.from.lines.firstLine();)l=n.Pos(l.line-1,0),p=h(!1);if(!(!p||p.cleared||c==="unfold")){var g=i(s,u,p);n.on(g,"mousedown",function(m){b.clear(),n.e_preventDefault(m)});var b=s.markText(p.from,p.to,{replacedWith:g,clearOnEnter:o(s,u,"clearOnEnter"),__isFold:!0});b.on("clear",function(m,v){n.signal(s,"unfold",s,m,v)}),n.signal(s,"fold",s,p.from,p.to)}}function i(s,l,u){var c=o(s,l,"widget");if(typeof c=="function"&&(c=c(u.from,u.to)),typeof c=="string"){var f=document.createTextNode(c);c=document.createElement("span"),c.appendChild(f),c.className="CodeMirror-foldmarker"}else c&&(c=c.cloneNode(!0));return c}n.newFoldFunction=function(s,l){return function(u,c){r(u,c,{rangeFinder:s,widget:l})}},n.defineExtension("foldCode",function(s,l,u){r(this,s,l,u)}),n.defineExtension("isFolded",function(s){for(var l=this.findMarksAt(s),u=0;u=E){if(L&&I&&L.test(I.className))return;D=s(w.indicatorOpen)}}!D&&!I||b.setGutterMarker(M,w.gutter,D)})}function u(b){return new RegExp("(^|\\s)"+b+"(?:$|\\s)\\s*")}function c(b){var m=b.getViewport(),v=b.state.foldGutter;v&&(b.operation(function(){l(b,m.from,m.to)}),v.from=m.from,v.to=m.to)}function f(b,m,v){var w=b.state.foldGutter;if(w){var k=w.options;if(v==k.gutter){var E=o(b,m);E?E.clear():b.foldCode(r(m,0),k)}}}function d(b,m){m=="mode"&&h(b)}function h(b){var m=b.state.foldGutter;if(m){var v=m.options;m.from=m.to=0,clearTimeout(m.changeUpdate),m.changeUpdate=setTimeout(function(){c(b)},v.foldOnChangeTimeSpan||600)}}function p(b){var m=b.state.foldGutter;if(m){var v=m.options;clearTimeout(m.changeUpdate),m.changeUpdate=setTimeout(function(){var w=b.getViewport();m.from==m.to||w.from-m.to>20||m.from-w.to>20?c(b):b.operation(function(){w.fromm.to&&(l(b,m.to,w.to),m.to=w.to)})},v.updateViewportTimeSpan||400)}}function g(b,m){var v=b.state.foldGutter;if(v){var w=m.line;w>=v.from&&w1)){if(this.somethingSelected()){if(!m.hint.supportsSelection)return;for(var w=0;wT.clientHeight+1:!1,oe;setTimeout(function(){oe=k.getScrollInfo()});var ee=ae.bottom-Q;if(ee>0){var ne=ae.bottom-ae.top,ue=ae.top-(R.bottom-R.top)-2;Q-ae.topue&&(T.style.height=(ne=ue)+"px"),T.style.top=(H=R.top-ne)+V+"px",F=!1):T.style.height=Q-ae.top-2+"px"}var Ae=ae.right-re;if(le&&(Ae+=k.display.nativeBarWidth),Ae>0&&(ae.right-ae.left>re&&(T.style.width=re-5+"px",Ae-=ae.right-ae.left-re),T.style.left=(P=Math.max(R.left-Ae-q,0))+"px"),le)for(var ce=T.firstChild;ce;ce=ce.nextSibling)ce.style.paddingRight=k.display.nativeBarWidth+"px";if(k.addKeyMap(this.keyMap=c(m,{moveFocus:function(ve,ie){w.changeActive(w.selectedHint+ve,ie)},setFocus:function(ve){w.changeActive(ve)},menuSize:function(){return w.screenAmount()},length:M.length,close:function(){m.close()},pick:function(){w.pick()},data:v})),m.options.closeOnUnfocus){var be;k.on("blur",this.onBlur=function(){be=setTimeout(function(){m.close()},100)}),k.on("focus",this.onFocus=function(){clearTimeout(be)})}k.on("scroll",this.onScroll=function(){var ve=k.getScrollInfo(),ie=k.getWrapperElement().getBoundingClientRect();oe||(oe=k.getScrollInfo());var he=H+oe.top-ve.top,$e=he-(S.pageYOffset||(E.documentElement||E.body).scrollTop);if(F||($e+=T.offsetHeight),$e<=ie.top||$e>=ie.bottom)return m.close();T.style.top=he+"px",T.style.left=P+oe.left-ve.left+"px"}),n.on(T,"dblclick",function(ve){var ie=f(T,ve.target||ve.srcElement);ie&&ie.hintId!=null&&(w.changeActive(ie.hintId),w.pick())}),n.on(T,"click",function(ve){var ie=f(T,ve.target||ve.srcElement);ie&&ie.hintId!=null&&(w.changeActive(ie.hintId),m.options.completeOnSingleClick&&w.pick())}),n.on(T,"mousedown",function(){setTimeout(function(){k.focus()},20)});var ge=this.getSelectedHintRange();return(ge.from!==0||ge.to!==0)&&this.scrollToActive(),n.signal(v,"select",M[this.selectedHint],T.childNodes[this.selectedHint]),!0}d.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var m=this.completion.cm.getInputField();m.removeAttribute("aria-activedescendant"),m.removeAttribute("aria-owns");var v=this.completion.cm;this.completion.options.closeOnUnfocus&&(v.off("blur",this.onBlur),v.off("focus",this.onFocus)),v.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var m=this;this.keyMap={Enter:function(){m.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(m,v){if(m>=this.data.list.length?m=v?this.data.list.length-1:0:m<0&&(m=v?0:this.data.list.length-1),this.selectedHint!=m){var w=this.hints.childNodes[this.selectedHint];w&&(w.className=w.className.replace(" "+i,""),w.removeAttribute("aria-selected")),w=this.hints.childNodes[this.selectedHint=m],w.className+=" "+i,w.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",w.id),this.scrollToActive(),n.signal(this.data,"select",this.data.list[this.selectedHint],w)}},scrollToActive:function(){var m=this.getSelectedHintRange(),v=this.hints.childNodes[m.from],w=this.hints.childNodes[m.to],k=this.hints.firstChild;v.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=w.offsetTop+w.offsetHeight-this.hints.clientHeight+k.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var m=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-m),to:Math.min(this.data.list.length-1,this.selectedHint+m)}}};function h(m,v){if(!m.somethingSelected())return v;for(var w=[],k=0;k0?T(B):D(I+1)})}D(0)};return E.async=!0,E.supportsSelection=!0,E}else return(k=m.getHelper(m.getCursor(),"hintWords"))?function(S){return n.hint.fromList(S,{words:k})}:n.hint.anyword?function(S,T){return n.hint.anyword(S,T)}:function(){}}n.registerHelper("hint","auto",{resolve:g}),n.registerHelper("hint","fromList",function(m,v){var w=m.getCursor(),k=m.getTokenAt(w),E,S=n.Pos(w.line,k.start),T=w;k.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};n.defineOption("hintOptions",null)})})();(function(e,t){(function(n){n(jr)})(function(n){var r={},i=/[^\s\u00a0]/,a=n.Pos,o=n.cmpPos;function s(c){var f=c.search(i);return f==-1?0:f}n.commands.toggleComment=function(c){c.toggleComment()},n.defineExtension("toggleComment",function(c){c||(c=r);for(var f=this,d=1/0,h=this.listSelections(),p=null,g=h.length-1;g>=0;g--){var b=h[g].from(),m=h[g].to();b.line>=d||(m.line>=d&&(m=a(d,0)),d=b.line,p==null?f.uncomment(b,m,c)?p="un":(f.lineComment(b,m,c),p="line"):p=="un"?f.uncomment(b,m,c):f.lineComment(b,m,c))}});function l(c,f,d){return/\bstring\b/.test(c.getTokenTypeAt(a(f.line,0)))&&!/^[\'\"\`]/.test(d)}function u(c,f){var d=c.getMode();return d.useInnerComments===!1||!d.innerMode?d:c.getModeAt(f)}n.defineExtension("lineComment",function(c,f,d){d||(d=r);var h=this,p=u(h,c),g=h.getLine(c.line);if(!(g==null||l(h,c,g))){var b=d.lineComment||p.lineComment;if(!b){(d.blockCommentStart||p.blockCommentStart)&&(d.fullLines=!0,h.blockComment(c,f,d));return}var m=Math.min(f.ch!=0||f.line==c.line?f.line+1:f.line,h.lastLine()+1),v=d.padding==null?" ":d.padding,w=d.commentBlankLines||c.line==f.line;h.operation(function(){if(d.indent){for(var k=null,E=c.line;ET.length)&&(k=T)}for(var E=c.line;Em||h.operation(function(){if(d.fullLines!=!1){var w=i.test(h.getLine(m));h.replaceRange(v+b,a(m)),h.replaceRange(g+v,a(c.line,0));var k=d.blockCommentLead||p.blockCommentLead;if(k!=null)for(var E=c.line+1;E<=m;++E)(E!=m||w)&&h.replaceRange(k+v,a(E,0))}else{var S=o(h.getCursor("to"),f)==0,T=!h.somethingSelected();h.replaceRange(b,f),S&&h.setSelection(T?f:h.getCursor("from"),f),h.replaceRange(g,c)}})}}),n.defineExtension("uncomment",function(c,f,d){d||(d=r);var h=this,p=u(h,c),g=Math.min(f.ch!=0||f.line==c.line?f.line:f.line-1,h.lastLine()),b=Math.min(c.line,g),m=d.lineComment||p.lineComment,v=[],w=d.padding==null?" ":d.padding,k;e:{if(!m)break e;for(var E=b;E<=g;++E){var S=h.getLine(E),T=S.indexOf(m);if(T>-1&&!/comment/.test(h.getTokenTypeAt(a(E,T+1)))&&(T=-1),T==-1&&i.test(S)||T>-1&&i.test(S.slice(0,T)))break e;v.push(S)}if(h.operation(function(){for(var V=b;V<=g;++V){var X=v[V-b],G=X.indexOf(m),J=G+m.length;G<0||(X.slice(J,J+w.length)==w&&(J+=w.length),k=!0,h.replaceRange("",a(V,G),a(V,J)))}}),k)return!0}var L=d.blockCommentStart||p.blockCommentStart,M=d.blockCommentEnd||p.blockCommentEnd;if(!L||!M)return!1;var D=d.blockCommentLead||p.blockCommentLead,I=h.getLine(b),B=I.indexOf(L);if(B==-1)return!1;var N=g==b?I:h.getLine(g),O=N.indexOf(M,g==b?B+L.length:0),R=a(b,B+1),P=a(g,O+1);if(O==-1||!/comment/.test(h.getTokenTypeAt(R))||!/comment/.test(h.getTokenTypeAt(P))||h.getRange(R,P,` `).indexOf(M)>-1)return!1;var H=I.lastIndexOf(L,c.ch),F=H==-1?-1:I.slice(0,c.ch).indexOf(M,H+L.length);if(H!=-1&&F!=-1&&F+M.length!=c.ch)return!1;F=N.indexOf(M,f.ch);var q=N.slice(f.ch).lastIndexOf(L,F-f.ch);return H=F==-1||q==-1?-1:f.ch+q,F!=-1&&H!=-1&&H!=f.ch?!1:(h.operation(function(){h.replaceRange("",a(g,O-(w&&N.slice(O-w.length,O)==w?w.length:0)),a(g,O+M.length));var V=B+L.length;if(w&&I.slice(V,V+w.length)==w&&(V+=w.length),h.replaceRange("",a(b,B),a(b,V)),D)for(var X=b+1;X<=g;++X){var G=h.getLine(X),J=G.indexOf(D);if(!(J==-1||i.test(G.slice(0,J)))){var te=J+D.length;w&&G.slice(te,te+w.length)==w&&(te+=w.length),h.replaceRange("",a(X,J),a(X,te))}}}),!0)})})})();ts.Vim.defineEx("shuffle","shuf",(e,t)=>{const n=t.line||e.firstLine(),r=t.lineEnd||t.line||e.lastLine();if(n===r)return;const i=new ts.Pos(n,0),a=new ts.Pos(r,e.getLine(r).length),o=e.getRange(i,a).split(` `);for(let s=o.length-1;s>0;s-=1){const l=Math.floor(Math.random()*(s+1));[o[s],o[l]]=[o[l],o[s]]}e.replaceRange(o.join(` -`),i,a)});ts.registerHelper("fold","markdown",function(e,t){var n=100;function r(d){var h=e.getTokenTypeAt(ts.Pos(d,0));return h&&/\bheader\b/.test(h)}function i(d,h,p){var g=h&&h.match(/^#+/);return g&&r(d)?g[0].length:(g=p&&p.match(/^[=\-]+\s*$/),g&&r(d+1)?p[0]=="="?1:2:n)}var a=e.getLine(t.line),o=e.getLine(t.line+1);if(a.indexOf("```tldraw")>-1&&o.indexOf("```")===-1)return{from:ts.Pos(t.line+1,0),to:ts.Pos(t.line+1,o.length)};const s=a.indexOf("(data:");if(s>-1){const d=a.indexOf(";base64,",s),h=a.indexOf(")",s);return{from:ts.Pos(t.line,d+30),to:ts.Pos(t.line,h)}}var l=i(t.line,a,o);if(l!==n){for(var u=e.lastLine(),c=t.line,f=e.getLine(c+2);c=0&&/[\w\.-]/.test(i.charAt(o));)--o;++o;for(var s=i.substr(o,n.ch-o),l=[],u=0;u",":->"],keywords:["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],skins:[{unified:"1f606",native:"😆"}],version:1},sweat_smile:{id:"sweat_smile",name:"Grinning Face with Sweat",keywords:["smile","hot","happy","laugh","relief"],skins:[{unified:"1f605",native:"😅"}],version:1},rolling_on_the_floor_laughing:{id:"rolling_on_the_floor_laughing",name:"Rolling on the Floor Laughing",keywords:["face","lol","haha","rofl"],skins:[{unified:"1f923",native:"🤣"}],version:3},joy:{id:"joy",name:"Face with Tears of Joy",keywords:["cry","weep","happy","happytears","haha"],skins:[{unified:"1f602",native:"😂"}],version:1},slightly_smiling_face:{id:"slightly_smiling_face",name:"Slightly Smiling Face",emoticons:[":)","(:",":-)"],keywords:["smile"],skins:[{unified:"1f642",native:"🙂"}],version:1},upside_down_face:{id:"upside_down_face",name:"Upside-Down Face",keywords:["upside","down","flipped","silly","smile"],skins:[{unified:"1f643",native:"🙃"}],version:1},melting_face:{id:"melting_face",name:"Melting Face",keywords:["hot","heat"],skins:[{unified:"1fae0",native:"🫠"}],version:14},wink:{id:"wink",name:"Winking Face",emoticons:[";)",";-)"],keywords:["wink","happy","mischievous","secret",";)","smile","eye"],skins:[{unified:"1f609",native:"😉"}],version:1},blush:{id:"blush",name:"Smiling Face with Smiling Eyes",emoticons:[":)"],keywords:["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],skins:[{unified:"1f60a",native:"😊"}],version:1},innocent:{id:"innocent",name:"Smiling Face with Halo",keywords:["innocent","angel","heaven"],skins:[{unified:"1f607",native:"😇"}],version:1},smiling_face_with_3_hearts:{id:"smiling_face_with_3_hearts",name:"Smiling Face with Hearts",keywords:["3","love","like","affection","valentines","infatuation","crush","adore"],skins:[{unified:"1f970",native:"🥰"}],version:11},heart_eyes:{id:"heart_eyes",name:"Smiling Face with Heart-Eyes",keywords:["heart","eyes","love","like","affection","valentines","infatuation","crush"],skins:[{unified:"1f60d",native:"😍"}],version:1},"star-struck":{id:"star-struck",name:"Star-Struck",keywords:["star","struck","grinning","face","with","eyes","smile","starry"],skins:[{unified:"1f929",native:"🤩"}],version:5},kissing_heart:{id:"kissing_heart",name:"Face Blowing a Kiss",emoticons:[":*",":-*"],keywords:["kissing","heart","love","like","affection","valentines","infatuation"],skins:[{unified:"1f618",native:"😘"}],version:1},kissing:{id:"kissing",name:"Kissing Face",keywords:["love","like","3","valentines","infatuation","kiss"],skins:[{unified:"1f617",native:"😗"}],version:1},relaxed:{id:"relaxed",name:"Smiling Face",keywords:["relaxed","blush","massage","happiness"],skins:[{unified:"263a-fe0f",native:"☺️"}],version:1},kissing_closed_eyes:{id:"kissing_closed_eyes",name:"Kissing Face with Closed Eyes",keywords:["love","like","affection","valentines","infatuation","kiss"],skins:[{unified:"1f61a",native:"😚"}],version:1},kissing_smiling_eyes:{id:"kissing_smiling_eyes",name:"Kissing Face with Smiling Eyes",keywords:["affection","valentines","infatuation","kiss"],skins:[{unified:"1f619",native:"😙"}],version:1},smiling_face_with_tear:{id:"smiling_face_with_tear",name:"Smiling Face with Tear",keywords:["sad","cry","pretend"],skins:[{unified:"1f972",native:"🥲"}],version:13},yum:{id:"yum",name:"Face Savoring Food",keywords:["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],skins:[{unified:"1f60b",native:"😋"}],version:1},stuck_out_tongue:{id:"stuck_out_tongue",name:"Face with Tongue",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["stuck","out","prank","childish","playful","mischievous","smile"],skins:[{unified:"1f61b",native:"😛"}],version:1},stuck_out_tongue_winking_eye:{id:"stuck_out_tongue_winking_eye",name:"Winking Face with Tongue",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],skins:[{unified:"1f61c",native:"😜"}],version:1},zany_face:{id:"zany_face",name:"Zany Face",keywords:["grinning","with","one","large","and","small","eye","goofy","crazy"],skins:[{unified:"1f92a",native:"🤪"}],version:5},stuck_out_tongue_closed_eyes:{id:"stuck_out_tongue_closed_eyes",name:"Squinting Face with Tongue",keywords:["stuck","out","closed","eyes","prank","playful","mischievous","smile"],skins:[{unified:"1f61d",native:"😝"}],version:1},money_mouth_face:{id:"money_mouth_face",name:"Money-Mouth Face",keywords:["money","mouth","rich","dollar"],skins:[{unified:"1f911",native:"🤑"}],version:1},hugging_face:{id:"hugging_face",name:"Hugging Face",keywords:["smile","hug"],skins:[{unified:"1f917",native:"🤗"}],version:1},face_with_hand_over_mouth:{id:"face_with_hand_over_mouth",name:"Face with Hand over Mouth",keywords:["smiling","eyes","and","covering","whoops","shock","surprise"],skins:[{unified:"1f92d",native:"🤭"}],version:5},face_with_open_eyes_and_hand_over_mouth:{id:"face_with_open_eyes_and_hand_over_mouth",name:"Face with Open Eyes and Hand over Mouth",keywords:["silence","secret","shock","surprise"],skins:[{unified:"1fae2",native:"🫢"}],version:14},face_with_peeking_eye:{id:"face_with_peeking_eye",name:"Face with Peeking Eye",keywords:["scared","frightening","embarrassing"],skins:[{unified:"1fae3",native:"🫣"}],version:14},shushing_face:{id:"shushing_face",name:"Shushing Face",keywords:["with","finger","covering","closed","lips","quiet","shhh"],skins:[{unified:"1f92b",native:"🤫"}],version:5},thinking_face:{id:"thinking_face",name:"Thinking Face",keywords:["hmmm","think","consider"],skins:[{unified:"1f914",native:"🤔"}],version:1},saluting_face:{id:"saluting_face",name:"Saluting Face",keywords:["respect","salute"],skins:[{unified:"1fae1",native:"🫡"}],version:14},zipper_mouth_face:{id:"zipper_mouth_face",name:"Zipper-Mouth Face",keywords:["zipper","mouth","sealed","secret"],skins:[{unified:"1f910",native:"🤐"}],version:1},face_with_raised_eyebrow:{id:"face_with_raised_eyebrow",name:"Face with Raised Eyebrow",keywords:["one","distrust","scepticism","disapproval","disbelief","surprise"],skins:[{unified:"1f928",native:"🤨"}],version:5},neutral_face:{id:"neutral_face",name:"Neutral Face",emoticons:[":|",":-|"],keywords:["indifference","meh",":",""],skins:[{unified:"1f610",native:"😐"}],version:1},expressionless:{id:"expressionless",name:"Expressionless Face",emoticons:["-_-"],keywords:["indifferent","-","","meh","deadpan"],skins:[{unified:"1f611",native:"😑"}],version:1},no_mouth:{id:"no_mouth",name:"Face Without Mouth",keywords:["no","hellokitty"],skins:[{unified:"1f636",native:"😶"}],version:1},dotted_line_face:{id:"dotted_line_face",name:"Dotted Line Face",keywords:["invisible","lonely","isolation","depression"],skins:[{unified:"1fae5",native:"🫥"}],version:14},face_in_clouds:{id:"face_in_clouds",name:"Face in Clouds",keywords:["shower","steam","dream"],skins:[{unified:"1f636-200d-1f32b-fe0f",native:"😶‍🌫️"}],version:13.1},smirk:{id:"smirk",name:"Smirking Face",keywords:["smirk","smile","mean","prank","smug","sarcasm"],skins:[{unified:"1f60f",native:"😏"}],version:1},unamused:{id:"unamused",name:"Unamused Face",emoticons:[":("],keywords:["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],skins:[{unified:"1f612",native:"😒"}],version:1},face_with_rolling_eyes:{id:"face_with_rolling_eyes",name:"Face with Rolling Eyes",keywords:["eyeroll","frustrated"],skins:[{unified:"1f644",native:"🙄"}],version:1},grimacing:{id:"grimacing",name:"Grimacing Face",keywords:["grimace","teeth"],skins:[{unified:"1f62c",native:"😬"}],version:1},face_exhaling:{id:"face_exhaling",name:"Face Exhaling",keywords:["relieve","relief","tired","sigh"],skins:[{unified:"1f62e-200d-1f4a8",native:"😮‍💨"}],version:13.1},lying_face:{id:"lying_face",name:"Lying Face",keywords:["lie","pinocchio"],skins:[{unified:"1f925",native:"🤥"}],version:3},relieved:{id:"relieved",name:"Relieved Face",keywords:["relaxed","phew","massage","happiness"],skins:[{unified:"1f60c",native:"😌"}],version:1},pensive:{id:"pensive",name:"Pensive Face",keywords:["sad","depressed","upset"],skins:[{unified:"1f614",native:"😔"}],version:1},sleepy:{id:"sleepy",name:"Sleepy Face",keywords:["tired","rest","nap"],skins:[{unified:"1f62a",native:"😪"}],version:1},drooling_face:{id:"drooling_face",name:"Drooling Face",keywords:[],skins:[{unified:"1f924",native:"🤤"}],version:3},sleeping:{id:"sleeping",name:"Sleeping Face",keywords:["tired","sleepy","night","zzz"],skins:[{unified:"1f634",native:"😴"}],version:1},mask:{id:"mask",name:"Face with Medical Mask",keywords:["sick","ill","disease"],skins:[{unified:"1f637",native:"😷"}],version:1},face_with_thermometer:{id:"face_with_thermometer",name:"Face with Thermometer",keywords:["sick","temperature","cold","fever"],skins:[{unified:"1f912",native:"🤒"}],version:1},face_with_head_bandage:{id:"face_with_head_bandage",name:"Face with Head-Bandage",keywords:["head","bandage","injured","clumsy","hurt"],skins:[{unified:"1f915",native:"🤕"}],version:1},nauseated_face:{id:"nauseated_face",name:"Nauseated Face",keywords:["vomit","gross","green","sick","throw","up","ill"],skins:[{unified:"1f922",native:"🤢"}],version:3},face_vomiting:{id:"face_vomiting",name:"Face Vomiting",keywords:["with","open","mouth","sick"],skins:[{unified:"1f92e",native:"🤮"}],version:5},sneezing_face:{id:"sneezing_face",name:"Sneezing Face",keywords:["gesundheit","sneeze","sick","allergy"],skins:[{unified:"1f927",native:"🤧"}],version:3},hot_face:{id:"hot_face",name:"Hot Face",keywords:["feverish","heat","red","sweating"],skins:[{unified:"1f975",native:"🥵"}],version:11},cold_face:{id:"cold_face",name:"Cold Face",keywords:["blue","freezing","frozen","frostbite","icicles"],skins:[{unified:"1f976",native:"🥶"}],version:11},woozy_face:{id:"woozy_face",name:"Woozy Face",keywords:["dizzy","intoxicated","tipsy","wavy"],skins:[{unified:"1f974",native:"🥴"}],version:11},dizzy_face:{id:"dizzy_face",name:"Dizzy Face",keywords:["spent","unconscious","xox"],skins:[{unified:"1f635",native:"😵"}],version:1},face_with_spiral_eyes:{id:"face_with_spiral_eyes",name:"Face with Spiral Eyes",keywords:["sick","ill","confused","nauseous","nausea"],skins:[{unified:"1f635-200d-1f4ab",native:"😵‍💫"}],version:13.1},exploding_head:{id:"exploding_head",name:"Exploding Head",keywords:["shocked","face","with","mind","blown"],skins:[{unified:"1f92f",native:"🤯"}],version:5},face_with_cowboy_hat:{id:"face_with_cowboy_hat",name:"Cowboy Hat Face",keywords:["with","cowgirl"],skins:[{unified:"1f920",native:"🤠"}],version:3},partying_face:{id:"partying_face",name:"Partying Face",keywords:["celebration","woohoo"],skins:[{unified:"1f973",native:"🥳"}],version:11},disguised_face:{id:"disguised_face",name:"Disguised Face",keywords:["pretent","brows","glasses","moustache"],skins:[{unified:"1f978",native:"🥸"}],version:13},sunglasses:{id:"sunglasses",name:"Smiling Face with Sunglasses",emoticons:["8)"],keywords:["cool","smile","summer","beach","sunglass"],skins:[{unified:"1f60e",native:"😎"}],version:1},nerd_face:{id:"nerd_face",name:"Nerd Face",keywords:["nerdy","geek","dork"],skins:[{unified:"1f913",native:"🤓"}],version:1},face_with_monocle:{id:"face_with_monocle",name:"Face with Monocle",keywords:["stuffy","wealthy"],skins:[{unified:"1f9d0",native:"🧐"}],version:5},confused:{id:"confused",name:"Confused Face",emoticons:[":\\",":-\\",":/",":-/"],keywords:["indifference","huh","weird","hmmm",":/"],skins:[{unified:"1f615",native:"😕"}],version:1},face_with_diagonal_mouth:{id:"face_with_diagonal_mouth",name:"Face with Diagonal Mouth",keywords:["skeptic","confuse","frustrated","indifferent"],skins:[{unified:"1fae4",native:"🫤"}],version:14},worried:{id:"worried",name:"Worried Face",keywords:["concern","nervous",":("],skins:[{unified:"1f61f",native:"😟"}],version:1},slightly_frowning_face:{id:"slightly_frowning_face",name:"Slightly Frowning Face",keywords:["disappointed","sad","upset"],skins:[{unified:"1f641",native:"🙁"}],version:1},white_frowning_face:{id:"white_frowning_face",name:"Frowning Face",keywords:["white","sad","upset","frown"],skins:[{unified:"2639-fe0f",native:"☹️"}],version:1},open_mouth:{id:"open_mouth",name:"Face with Open Mouth",emoticons:[":o",":-o",":O",":-O"],keywords:["surprise","impressed","wow","whoa",":O"],skins:[{unified:"1f62e",native:"😮"}],version:1},hushed:{id:"hushed",name:"Hushed Face",keywords:["woo","shh"],skins:[{unified:"1f62f",native:"😯"}],version:1},astonished:{id:"astonished",name:"Astonished Face",keywords:["xox","surprised","poisoned"],skins:[{unified:"1f632",native:"😲"}],version:1},flushed:{id:"flushed",name:"Flushed Face",keywords:["blush","shy","flattered"],skins:[{unified:"1f633",native:"😳"}],version:1},pleading_face:{id:"pleading_face",name:"Pleading Face",keywords:["begging","mercy"],skins:[{unified:"1f97a",native:"🥺"}],version:11},face_holding_back_tears:{id:"face_holding_back_tears",name:"Face Holding Back Tears",keywords:["touched","gratitude"],skins:[{unified:"1f979",native:"🥹"}],version:14},frowning:{id:"frowning",name:"Frowning Face with Open Mouth",keywords:["aw","what"],skins:[{unified:"1f626",native:"😦"}],version:1},anguished:{id:"anguished",name:"Anguished Face",emoticons:["D:"],keywords:["stunned","nervous"],skins:[{unified:"1f627",native:"😧"}],version:1},fearful:{id:"fearful",name:"Fearful Face",keywords:["scared","terrified","nervous","oops","huh"],skins:[{unified:"1f628",native:"😨"}],version:1},cold_sweat:{id:"cold_sweat",name:"Anxious Face with Sweat",keywords:["cold","nervous"],skins:[{unified:"1f630",native:"😰"}],version:1},disappointed_relieved:{id:"disappointed_relieved",name:"Sad but Relieved Face",keywords:["disappointed","phew","sweat","nervous"],skins:[{unified:"1f625",native:"😥"}],version:1},cry:{id:"cry",name:"Crying Face",emoticons:[":'("],keywords:["cry","tears","sad","depressed","upset",":'("],skins:[{unified:"1f622",native:"😢"}],version:1},sob:{id:"sob",name:"Loudly Crying Face",emoticons:[":'("],keywords:["sob","cry","tears","sad","upset","depressed"],skins:[{unified:"1f62d",native:"😭"}],version:1},scream:{id:"scream",name:"Face Screaming in Fear",keywords:["scream","munch","scared","omg"],skins:[{unified:"1f631",native:"😱"}],version:1},confounded:{id:"confounded",name:"Confounded Face",keywords:["confused","sick","unwell","oops",":S"],skins:[{unified:"1f616",native:"😖"}],version:1},persevere:{id:"persevere",name:"Persevering Face",keywords:["persevere","sick","no","upset","oops"],skins:[{unified:"1f623",native:"😣"}],version:1},disappointed:{id:"disappointed",name:"Disappointed Face",emoticons:["):",":(",":-("],keywords:["sad","upset","depressed",":("],skins:[{unified:"1f61e",native:"😞"}],version:1},sweat:{id:"sweat",name:"Face with Cold Sweat",keywords:["downcast","hot","sad","tired","exercise"],skins:[{unified:"1f613",native:"😓"}],version:1},weary:{id:"weary",name:"Weary Face",keywords:["tired","sleepy","sad","frustrated","upset"],skins:[{unified:"1f629",native:"😩"}],version:1},tired_face:{id:"tired_face",name:"Tired Face",keywords:["sick","whine","upset","frustrated"],skins:[{unified:"1f62b",native:"😫"}],version:1},yawning_face:{id:"yawning_face",name:"Yawning Face",keywords:["tired","sleepy"],skins:[{unified:"1f971",native:"🥱"}],version:12},triumph:{id:"triumph",name:"Face with Look of Triumph",keywords:["steam","from","nose","gas","phew","proud","pride"],skins:[{unified:"1f624",native:"😤"}],version:1},rage:{id:"rage",name:"Pouting Face",keywords:["rage","angry","mad","hate","despise"],skins:[{unified:"1f621",native:"😡"}],version:1},angry:{id:"angry",name:"Angry Face",emoticons:[">:(",">:-("],keywords:["mad","annoyed","frustrated"],skins:[{unified:"1f620",native:"😠"}],version:1},face_with_symbols_on_mouth:{id:"face_with_symbols_on_mouth",name:"Face with Symbols on Mouth",keywords:["serious","covering","swearing","cursing","cussing","profanity","expletive"],skins:[{unified:"1f92c",native:"🤬"}],version:5},smiling_imp:{id:"smiling_imp",name:"Smiling Face with Horns",keywords:["imp","devil"],skins:[{unified:"1f608",native:"😈"}],version:1},imp:{id:"imp",name:"Imp",keywords:["angry","face","with","horns","devil"],skins:[{unified:"1f47f",native:"👿"}],version:1},skull:{id:"skull",name:"Skull",keywords:["dead","skeleton","creepy","death"],skins:[{unified:"1f480",native:"💀"}],version:1},skull_and_crossbones:{id:"skull_and_crossbones",name:"Skull and Crossbones",keywords:["poison","danger","deadly","scary","death","pirate","evil"],skins:[{unified:"2620-fe0f",native:"☠️"}],version:1},hankey:{id:"hankey",name:"Pile of Poo",keywords:["hankey","poop","shit","shitface","fail","turd"],skins:[{unified:"1f4a9",native:"💩"}],version:1},clown_face:{id:"clown_face",name:"Clown Face",keywords:[],skins:[{unified:"1f921",native:"🤡"}],version:3},japanese_ogre:{id:"japanese_ogre",name:"Ogre",keywords:["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],skins:[{unified:"1f479",native:"👹"}],version:1},japanese_goblin:{id:"japanese_goblin",name:"Goblin",keywords:["japanese","red","evil","mask","monster","scary","creepy"],skins:[{unified:"1f47a",native:"👺"}],version:1},ghost:{id:"ghost",name:"Ghost",keywords:["halloween","spooky","scary"],skins:[{unified:"1f47b",native:"👻"}],version:1},alien:{id:"alien",name:"Alien",keywords:["UFO","paul","weird","outer","space"],skins:[{unified:"1f47d",native:"👽"}],version:1},space_invader:{id:"space_invader",name:"Alien Monster",keywords:["space","invader","game","arcade","play"],skins:[{unified:"1f47e",native:"👾"}],version:1},robot_face:{id:"robot_face",name:"Robot",keywords:["face","computer","machine","bot"],skins:[{unified:"1f916",native:"🤖"}],version:1},smiley_cat:{id:"smiley_cat",name:"Grinning Cat",keywords:["smiley","animal","cats","happy","smile"],skins:[{unified:"1f63a",native:"😺"}],version:1},smile_cat:{id:"smile_cat",name:"Grinning Cat with Smiling Eyes",keywords:["smile","animal","cats"],skins:[{unified:"1f638",native:"😸"}],version:1},joy_cat:{id:"joy_cat",name:"Cat with Tears of Joy",keywords:["animal","cats","haha","happy"],skins:[{unified:"1f639",native:"😹"}],version:1},heart_eyes_cat:{id:"heart_eyes_cat",name:"Smiling Cat with Heart-Eyes",keywords:["heart","eyes","animal","love","like","affection","cats","valentines"],skins:[{unified:"1f63b",native:"😻"}],version:1},smirk_cat:{id:"smirk_cat",name:"Cat with Wry Smile",keywords:["smirk","animal","cats"],skins:[{unified:"1f63c",native:"😼"}],version:1},kissing_cat:{id:"kissing_cat",name:"Kissing Cat",keywords:["animal","cats","kiss"],skins:[{unified:"1f63d",native:"😽"}],version:1},scream_cat:{id:"scream_cat",name:"Weary Cat",keywords:["scream","animal","cats","munch","scared"],skins:[{unified:"1f640",native:"🙀"}],version:1},crying_cat_face:{id:"crying_cat_face",name:"Crying Cat",keywords:["face","animal","tears","weep","sad","cats","upset","cry"],skins:[{unified:"1f63f",native:"😿"}],version:1},pouting_cat:{id:"pouting_cat",name:"Pouting Cat",keywords:["animal","cats"],skins:[{unified:"1f63e",native:"😾"}],version:1},see_no_evil:{id:"see_no_evil",name:"See-No-Evil Monkey",keywords:["see","no","evil","animal","nature","haha"],skins:[{unified:"1f648",native:"🙈"}],version:1},hear_no_evil:{id:"hear_no_evil",name:"Hear-No-Evil Monkey",keywords:["hear","no","evil","animal","nature"],skins:[{unified:"1f649",native:"🙉"}],version:1},speak_no_evil:{id:"speak_no_evil",name:"Speak-No-Evil Monkey",keywords:["speak","no","evil","animal","nature","omg"],skins:[{unified:"1f64a",native:"🙊"}],version:1},kiss:{id:"kiss",name:"Kiss Mark",keywords:["face","lips","love","like","affection","valentines"],skins:[{unified:"1f48b",native:"💋"}],version:1},love_letter:{id:"love_letter",name:"Love Letter",keywords:["email","like","affection","envelope","valentines"],skins:[{unified:"1f48c",native:"💌"}],version:1},cupid:{id:"cupid",name:"Heart with Arrow",keywords:["cupid","love","like","affection","valentines"],skins:[{unified:"1f498",native:"💘"}],version:1},gift_heart:{id:"gift_heart",name:"Heart with Ribbon",keywords:["gift","love","valentines"],skins:[{unified:"1f49d",native:"💝"}],version:1},sparkling_heart:{id:"sparkling_heart",name:"Sparkling Heart",keywords:["love","like","affection","valentines"],skins:[{unified:"1f496",native:"💖"}],version:1},heartpulse:{id:"heartpulse",name:"Growing Heart",keywords:["heartpulse","like","love","affection","valentines","pink"],skins:[{unified:"1f497",native:"💗"}],version:1},heartbeat:{id:"heartbeat",name:"Beating Heart",keywords:["heartbeat","love","like","affection","valentines","pink"],skins:[{unified:"1f493",native:"💓"}],version:1},revolving_hearts:{id:"revolving_hearts",name:"Revolving Hearts",keywords:["love","like","affection","valentines"],skins:[{unified:"1f49e",native:"💞"}],version:1},two_hearts:{id:"two_hearts",name:"Two Hearts",keywords:["love","like","affection","valentines","heart"],skins:[{unified:"1f495",native:"💕"}],version:1},heart_decoration:{id:"heart_decoration",name:"Heart Decoration",keywords:["purple","square","love","like"],skins:[{unified:"1f49f",native:"💟"}],version:1},heavy_heart_exclamation_mark_ornament:{id:"heavy_heart_exclamation_mark_ornament",name:"Heart Exclamation",keywords:["heavy","mark","ornament","decoration","love"],skins:[{unified:"2763-fe0f",native:"❣️"}],version:1},broken_heart:{id:"broken_heart",name:"Broken Heart",emoticons:["{const t=iSe.emojis[e];return{text:`:${e}:`,displayText:`${t.skins[0].native} :${e}:`,className:"emoji-hint",keywords:t.keywords,name:t.name}});ts.registerHelper("hint","emoji",function(e,t){const n=e.getCursor(),r=e.findWordAt(n),i=r.from(),a=r.to(),o=e.getRange(i,a);return{list:AIr.filter(l=>l.text.includes(o)||l.keywords.some(u=>u.includes(o))),from:ts.Pos(n.line,i.ch-1),to:ts.Pos(n.line,a.ch)}});let TIr=0;class DIr{cm;val;widget;markers;options;constructor(t,n){this.cm=t,this.options=n,this.widget=null,this.markers={},this.initEvent()}emit(t,n,r){this.options.emit(t,n,r)}initEvent(){this.cm.on("mousedown",this.onMousedown.bind(this)),this.cm.on("change",this.change.bind(this)),this.cm.on("refresh",this.refresh.bind(this))}getCodeInfo(t){var n=t.target||t.srcElement,r=this.cm.coordsChar({left:t.clientX,top:t.clientY}),i=this.cm.findMarksAt(r);const a=i[0].lines[0].lineNo(),o=this.cm.lineCount();let s=o-1;for(var l=a+1;l{a==="mermaid-preview-save"&&this.updateDraw(o)})}else if(r.className==="mermaid-preview-menu"){n.preventDefault();const i=this.getCodeInfo(n);this.emit("mermaid-preview-menu-click",i,(a,o)=>{a==="mermaid-preview-save"&&this.updateDraw(o)})}}updateDraw(t){const n=this.cm.getAllMarks().find(i=>i.replacedWith.id===t.id);if(n){const i=n.lines[0].lineNo(),a=this.cm.lineCount();let o=a-1;for(var r=i+1;r{this.cm.replaceRange(`${t.content.trim()} -`,{line:i+1,ch:0},{line:o,ch:0}),this.cm.foldCode({line:i,ch:0})})}}change(t,n){this.updateAll()}refresh(){this.change(this.cm,{origin:"setValue"})}updateAll(){this.cm.operation(()=>{for(var t=this.cm.lineCount(),n=0;n-1&&o.indexOf("```")===-1)return{from:ts.Pos(t.line+1,0),to:ts.Pos(t.line+1,o.length)};const s=a.indexOf("(data:");if(s>-1){const d=a.indexOf(";base64,",s),h=a.indexOf(")",s);return{from:ts.Pos(t.line,d+30),to:ts.Pos(t.line,h)}}var l=i(t.line,a,o);if(l!==n){for(var u=e.lastLine(),c=t.line,f=e.getLine(c+2);c=0&&/[\w\.-]/.test(i.charAt(o));)--o;++o;for(var s=i.substr(o,n.ch-o),l=[],u=0;u",":->"],keywords:["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],skins:[{unified:"1f606",native:"😆"}],version:1},sweat_smile:{id:"sweat_smile",name:"Grinning Face with Sweat",keywords:["smile","hot","happy","laugh","relief"],skins:[{unified:"1f605",native:"😅"}],version:1},rolling_on_the_floor_laughing:{id:"rolling_on_the_floor_laughing",name:"Rolling on the Floor Laughing",keywords:["face","lol","haha","rofl"],skins:[{unified:"1f923",native:"🤣"}],version:3},joy:{id:"joy",name:"Face with Tears of Joy",keywords:["cry","weep","happy","happytears","haha"],skins:[{unified:"1f602",native:"😂"}],version:1},slightly_smiling_face:{id:"slightly_smiling_face",name:"Slightly Smiling Face",emoticons:[":)","(:",":-)"],keywords:["smile"],skins:[{unified:"1f642",native:"🙂"}],version:1},upside_down_face:{id:"upside_down_face",name:"Upside-Down Face",keywords:["upside","down","flipped","silly","smile"],skins:[{unified:"1f643",native:"🙃"}],version:1},melting_face:{id:"melting_face",name:"Melting Face",keywords:["hot","heat"],skins:[{unified:"1fae0",native:"🫠"}],version:14},wink:{id:"wink",name:"Winking Face",emoticons:[";)",";-)"],keywords:["wink","happy","mischievous","secret",";)","smile","eye"],skins:[{unified:"1f609",native:"😉"}],version:1},blush:{id:"blush",name:"Smiling Face with Smiling Eyes",emoticons:[":)"],keywords:["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],skins:[{unified:"1f60a",native:"😊"}],version:1},innocent:{id:"innocent",name:"Smiling Face with Halo",keywords:["innocent","angel","heaven"],skins:[{unified:"1f607",native:"😇"}],version:1},smiling_face_with_3_hearts:{id:"smiling_face_with_3_hearts",name:"Smiling Face with Hearts",keywords:["3","love","like","affection","valentines","infatuation","crush","adore"],skins:[{unified:"1f970",native:"🥰"}],version:11},heart_eyes:{id:"heart_eyes",name:"Smiling Face with Heart-Eyes",keywords:["heart","eyes","love","like","affection","valentines","infatuation","crush"],skins:[{unified:"1f60d",native:"😍"}],version:1},"star-struck":{id:"star-struck",name:"Star-Struck",keywords:["star","struck","grinning","face","with","eyes","smile","starry"],skins:[{unified:"1f929",native:"🤩"}],version:5},kissing_heart:{id:"kissing_heart",name:"Face Blowing a Kiss",emoticons:[":*",":-*"],keywords:["kissing","heart","love","like","affection","valentines","infatuation"],skins:[{unified:"1f618",native:"😘"}],version:1},kissing:{id:"kissing",name:"Kissing Face",keywords:["love","like","3","valentines","infatuation","kiss"],skins:[{unified:"1f617",native:"😗"}],version:1},relaxed:{id:"relaxed",name:"Smiling Face",keywords:["relaxed","blush","massage","happiness"],skins:[{unified:"263a-fe0f",native:"☺️"}],version:1},kissing_closed_eyes:{id:"kissing_closed_eyes",name:"Kissing Face with Closed Eyes",keywords:["love","like","affection","valentines","infatuation","kiss"],skins:[{unified:"1f61a",native:"😚"}],version:1},kissing_smiling_eyes:{id:"kissing_smiling_eyes",name:"Kissing Face with Smiling Eyes",keywords:["affection","valentines","infatuation","kiss"],skins:[{unified:"1f619",native:"😙"}],version:1},smiling_face_with_tear:{id:"smiling_face_with_tear",name:"Smiling Face with Tear",keywords:["sad","cry","pretend"],skins:[{unified:"1f972",native:"🥲"}],version:13},yum:{id:"yum",name:"Face Savoring Food",keywords:["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],skins:[{unified:"1f60b",native:"😋"}],version:1},stuck_out_tongue:{id:"stuck_out_tongue",name:"Face with Tongue",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["stuck","out","prank","childish","playful","mischievous","smile"],skins:[{unified:"1f61b",native:"😛"}],version:1},stuck_out_tongue_winking_eye:{id:"stuck_out_tongue_winking_eye",name:"Winking Face with Tongue",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],skins:[{unified:"1f61c",native:"😜"}],version:1},zany_face:{id:"zany_face",name:"Zany Face",keywords:["grinning","with","one","large","and","small","eye","goofy","crazy"],skins:[{unified:"1f92a",native:"🤪"}],version:5},stuck_out_tongue_closed_eyes:{id:"stuck_out_tongue_closed_eyes",name:"Squinting Face with Tongue",keywords:["stuck","out","closed","eyes","prank","playful","mischievous","smile"],skins:[{unified:"1f61d",native:"😝"}],version:1},money_mouth_face:{id:"money_mouth_face",name:"Money-Mouth Face",keywords:["money","mouth","rich","dollar"],skins:[{unified:"1f911",native:"🤑"}],version:1},hugging_face:{id:"hugging_face",name:"Hugging Face",keywords:["smile","hug"],skins:[{unified:"1f917",native:"🤗"}],version:1},face_with_hand_over_mouth:{id:"face_with_hand_over_mouth",name:"Face with Hand over Mouth",keywords:["smiling","eyes","and","covering","whoops","shock","surprise"],skins:[{unified:"1f92d",native:"🤭"}],version:5},face_with_open_eyes_and_hand_over_mouth:{id:"face_with_open_eyes_and_hand_over_mouth",name:"Face with Open Eyes and Hand over Mouth",keywords:["silence","secret","shock","surprise"],skins:[{unified:"1fae2",native:"🫢"}],version:14},face_with_peeking_eye:{id:"face_with_peeking_eye",name:"Face with Peeking Eye",keywords:["scared","frightening","embarrassing"],skins:[{unified:"1fae3",native:"🫣"}],version:14},shushing_face:{id:"shushing_face",name:"Shushing Face",keywords:["with","finger","covering","closed","lips","quiet","shhh"],skins:[{unified:"1f92b",native:"🤫"}],version:5},thinking_face:{id:"thinking_face",name:"Thinking Face",keywords:["hmmm","think","consider"],skins:[{unified:"1f914",native:"🤔"}],version:1},saluting_face:{id:"saluting_face",name:"Saluting Face",keywords:["respect","salute"],skins:[{unified:"1fae1",native:"🫡"}],version:14},zipper_mouth_face:{id:"zipper_mouth_face",name:"Zipper-Mouth Face",keywords:["zipper","mouth","sealed","secret"],skins:[{unified:"1f910",native:"🤐"}],version:1},face_with_raised_eyebrow:{id:"face_with_raised_eyebrow",name:"Face with Raised Eyebrow",keywords:["one","distrust","scepticism","disapproval","disbelief","surprise"],skins:[{unified:"1f928",native:"🤨"}],version:5},neutral_face:{id:"neutral_face",name:"Neutral Face",emoticons:[":|",":-|"],keywords:["indifference","meh",":",""],skins:[{unified:"1f610",native:"😐"}],version:1},expressionless:{id:"expressionless",name:"Expressionless Face",emoticons:["-_-"],keywords:["indifferent","-","","meh","deadpan"],skins:[{unified:"1f611",native:"😑"}],version:1},no_mouth:{id:"no_mouth",name:"Face Without Mouth",keywords:["no","hellokitty"],skins:[{unified:"1f636",native:"😶"}],version:1},dotted_line_face:{id:"dotted_line_face",name:"Dotted Line Face",keywords:["invisible","lonely","isolation","depression"],skins:[{unified:"1fae5",native:"🫥"}],version:14},face_in_clouds:{id:"face_in_clouds",name:"Face in Clouds",keywords:["shower","steam","dream"],skins:[{unified:"1f636-200d-1f32b-fe0f",native:"😶‍🌫️"}],version:13.1},smirk:{id:"smirk",name:"Smirking Face",keywords:["smirk","smile","mean","prank","smug","sarcasm"],skins:[{unified:"1f60f",native:"😏"}],version:1},unamused:{id:"unamused",name:"Unamused Face",emoticons:[":("],keywords:["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],skins:[{unified:"1f612",native:"😒"}],version:1},face_with_rolling_eyes:{id:"face_with_rolling_eyes",name:"Face with Rolling Eyes",keywords:["eyeroll","frustrated"],skins:[{unified:"1f644",native:"🙄"}],version:1},grimacing:{id:"grimacing",name:"Grimacing Face",keywords:["grimace","teeth"],skins:[{unified:"1f62c",native:"😬"}],version:1},face_exhaling:{id:"face_exhaling",name:"Face Exhaling",keywords:["relieve","relief","tired","sigh"],skins:[{unified:"1f62e-200d-1f4a8",native:"😮‍💨"}],version:13.1},lying_face:{id:"lying_face",name:"Lying Face",keywords:["lie","pinocchio"],skins:[{unified:"1f925",native:"🤥"}],version:3},relieved:{id:"relieved",name:"Relieved Face",keywords:["relaxed","phew","massage","happiness"],skins:[{unified:"1f60c",native:"😌"}],version:1},pensive:{id:"pensive",name:"Pensive Face",keywords:["sad","depressed","upset"],skins:[{unified:"1f614",native:"😔"}],version:1},sleepy:{id:"sleepy",name:"Sleepy Face",keywords:["tired","rest","nap"],skins:[{unified:"1f62a",native:"😪"}],version:1},drooling_face:{id:"drooling_face",name:"Drooling Face",keywords:[],skins:[{unified:"1f924",native:"🤤"}],version:3},sleeping:{id:"sleeping",name:"Sleeping Face",keywords:["tired","sleepy","night","zzz"],skins:[{unified:"1f634",native:"😴"}],version:1},mask:{id:"mask",name:"Face with Medical Mask",keywords:["sick","ill","disease"],skins:[{unified:"1f637",native:"😷"}],version:1},face_with_thermometer:{id:"face_with_thermometer",name:"Face with Thermometer",keywords:["sick","temperature","cold","fever"],skins:[{unified:"1f912",native:"🤒"}],version:1},face_with_head_bandage:{id:"face_with_head_bandage",name:"Face with Head-Bandage",keywords:["head","bandage","injured","clumsy","hurt"],skins:[{unified:"1f915",native:"🤕"}],version:1},nauseated_face:{id:"nauseated_face",name:"Nauseated Face",keywords:["vomit","gross","green","sick","throw","up","ill"],skins:[{unified:"1f922",native:"🤢"}],version:3},face_vomiting:{id:"face_vomiting",name:"Face Vomiting",keywords:["with","open","mouth","sick"],skins:[{unified:"1f92e",native:"🤮"}],version:5},sneezing_face:{id:"sneezing_face",name:"Sneezing Face",keywords:["gesundheit","sneeze","sick","allergy"],skins:[{unified:"1f927",native:"🤧"}],version:3},hot_face:{id:"hot_face",name:"Hot Face",keywords:["feverish","heat","red","sweating"],skins:[{unified:"1f975",native:"🥵"}],version:11},cold_face:{id:"cold_face",name:"Cold Face",keywords:["blue","freezing","frozen","frostbite","icicles"],skins:[{unified:"1f976",native:"🥶"}],version:11},woozy_face:{id:"woozy_face",name:"Woozy Face",keywords:["dizzy","intoxicated","tipsy","wavy"],skins:[{unified:"1f974",native:"🥴"}],version:11},dizzy_face:{id:"dizzy_face",name:"Dizzy Face",keywords:["spent","unconscious","xox"],skins:[{unified:"1f635",native:"😵"}],version:1},face_with_spiral_eyes:{id:"face_with_spiral_eyes",name:"Face with Spiral Eyes",keywords:["sick","ill","confused","nauseous","nausea"],skins:[{unified:"1f635-200d-1f4ab",native:"😵‍💫"}],version:13.1},exploding_head:{id:"exploding_head",name:"Exploding Head",keywords:["shocked","face","with","mind","blown"],skins:[{unified:"1f92f",native:"🤯"}],version:5},face_with_cowboy_hat:{id:"face_with_cowboy_hat",name:"Cowboy Hat Face",keywords:["with","cowgirl"],skins:[{unified:"1f920",native:"🤠"}],version:3},partying_face:{id:"partying_face",name:"Partying Face",keywords:["celebration","woohoo"],skins:[{unified:"1f973",native:"🥳"}],version:11},disguised_face:{id:"disguised_face",name:"Disguised Face",keywords:["pretent","brows","glasses","moustache"],skins:[{unified:"1f978",native:"🥸"}],version:13},sunglasses:{id:"sunglasses",name:"Smiling Face with Sunglasses",emoticons:["8)"],keywords:["cool","smile","summer","beach","sunglass"],skins:[{unified:"1f60e",native:"😎"}],version:1},nerd_face:{id:"nerd_face",name:"Nerd Face",keywords:["nerdy","geek","dork"],skins:[{unified:"1f913",native:"🤓"}],version:1},face_with_monocle:{id:"face_with_monocle",name:"Face with Monocle",keywords:["stuffy","wealthy"],skins:[{unified:"1f9d0",native:"🧐"}],version:5},confused:{id:"confused",name:"Confused Face",emoticons:[":\\",":-\\",":/",":-/"],keywords:["indifference","huh","weird","hmmm",":/"],skins:[{unified:"1f615",native:"😕"}],version:1},face_with_diagonal_mouth:{id:"face_with_diagonal_mouth",name:"Face with Diagonal Mouth",keywords:["skeptic","confuse","frustrated","indifferent"],skins:[{unified:"1fae4",native:"🫤"}],version:14},worried:{id:"worried",name:"Worried Face",keywords:["concern","nervous",":("],skins:[{unified:"1f61f",native:"😟"}],version:1},slightly_frowning_face:{id:"slightly_frowning_face",name:"Slightly Frowning Face",keywords:["disappointed","sad","upset"],skins:[{unified:"1f641",native:"🙁"}],version:1},white_frowning_face:{id:"white_frowning_face",name:"Frowning Face",keywords:["white","sad","upset","frown"],skins:[{unified:"2639-fe0f",native:"☹️"}],version:1},open_mouth:{id:"open_mouth",name:"Face with Open Mouth",emoticons:[":o",":-o",":O",":-O"],keywords:["surprise","impressed","wow","whoa",":O"],skins:[{unified:"1f62e",native:"😮"}],version:1},hushed:{id:"hushed",name:"Hushed Face",keywords:["woo","shh"],skins:[{unified:"1f62f",native:"😯"}],version:1},astonished:{id:"astonished",name:"Astonished Face",keywords:["xox","surprised","poisoned"],skins:[{unified:"1f632",native:"😲"}],version:1},flushed:{id:"flushed",name:"Flushed Face",keywords:["blush","shy","flattered"],skins:[{unified:"1f633",native:"😳"}],version:1},pleading_face:{id:"pleading_face",name:"Pleading Face",keywords:["begging","mercy"],skins:[{unified:"1f97a",native:"🥺"}],version:11},face_holding_back_tears:{id:"face_holding_back_tears",name:"Face Holding Back Tears",keywords:["touched","gratitude"],skins:[{unified:"1f979",native:"🥹"}],version:14},frowning:{id:"frowning",name:"Frowning Face with Open Mouth",keywords:["aw","what"],skins:[{unified:"1f626",native:"😦"}],version:1},anguished:{id:"anguished",name:"Anguished Face",emoticons:["D:"],keywords:["stunned","nervous"],skins:[{unified:"1f627",native:"😧"}],version:1},fearful:{id:"fearful",name:"Fearful Face",keywords:["scared","terrified","nervous","oops","huh"],skins:[{unified:"1f628",native:"😨"}],version:1},cold_sweat:{id:"cold_sweat",name:"Anxious Face with Sweat",keywords:["cold","nervous"],skins:[{unified:"1f630",native:"😰"}],version:1},disappointed_relieved:{id:"disappointed_relieved",name:"Sad but Relieved Face",keywords:["disappointed","phew","sweat","nervous"],skins:[{unified:"1f625",native:"😥"}],version:1},cry:{id:"cry",name:"Crying Face",emoticons:[":'("],keywords:["cry","tears","sad","depressed","upset",":'("],skins:[{unified:"1f622",native:"😢"}],version:1},sob:{id:"sob",name:"Loudly Crying Face",emoticons:[":'("],keywords:["sob","cry","tears","sad","upset","depressed"],skins:[{unified:"1f62d",native:"😭"}],version:1},scream:{id:"scream",name:"Face Screaming in Fear",keywords:["scream","munch","scared","omg"],skins:[{unified:"1f631",native:"😱"}],version:1},confounded:{id:"confounded",name:"Confounded Face",keywords:["confused","sick","unwell","oops",":S"],skins:[{unified:"1f616",native:"😖"}],version:1},persevere:{id:"persevere",name:"Persevering Face",keywords:["persevere","sick","no","upset","oops"],skins:[{unified:"1f623",native:"😣"}],version:1},disappointed:{id:"disappointed",name:"Disappointed Face",emoticons:["):",":(",":-("],keywords:["sad","upset","depressed",":("],skins:[{unified:"1f61e",native:"😞"}],version:1},sweat:{id:"sweat",name:"Face with Cold Sweat",keywords:["downcast","hot","sad","tired","exercise"],skins:[{unified:"1f613",native:"😓"}],version:1},weary:{id:"weary",name:"Weary Face",keywords:["tired","sleepy","sad","frustrated","upset"],skins:[{unified:"1f629",native:"😩"}],version:1},tired_face:{id:"tired_face",name:"Tired Face",keywords:["sick","whine","upset","frustrated"],skins:[{unified:"1f62b",native:"😫"}],version:1},yawning_face:{id:"yawning_face",name:"Yawning Face",keywords:["tired","sleepy"],skins:[{unified:"1f971",native:"🥱"}],version:12},triumph:{id:"triumph",name:"Face with Look of Triumph",keywords:["steam","from","nose","gas","phew","proud","pride"],skins:[{unified:"1f624",native:"😤"}],version:1},rage:{id:"rage",name:"Pouting Face",keywords:["rage","angry","mad","hate","despise"],skins:[{unified:"1f621",native:"😡"}],version:1},angry:{id:"angry",name:"Angry Face",emoticons:[">:(",">:-("],keywords:["mad","annoyed","frustrated"],skins:[{unified:"1f620",native:"😠"}],version:1},face_with_symbols_on_mouth:{id:"face_with_symbols_on_mouth",name:"Face with Symbols on Mouth",keywords:["serious","covering","swearing","cursing","cussing","profanity","expletive"],skins:[{unified:"1f92c",native:"🤬"}],version:5},smiling_imp:{id:"smiling_imp",name:"Smiling Face with Horns",keywords:["imp","devil"],skins:[{unified:"1f608",native:"😈"}],version:1},imp:{id:"imp",name:"Imp",keywords:["angry","face","with","horns","devil"],skins:[{unified:"1f47f",native:"👿"}],version:1},skull:{id:"skull",name:"Skull",keywords:["dead","skeleton","creepy","death"],skins:[{unified:"1f480",native:"💀"}],version:1},skull_and_crossbones:{id:"skull_and_crossbones",name:"Skull and Crossbones",keywords:["poison","danger","deadly","scary","death","pirate","evil"],skins:[{unified:"2620-fe0f",native:"☠️"}],version:1},hankey:{id:"hankey",name:"Pile of Poo",keywords:["hankey","poop","shit","shitface","fail","turd"],skins:[{unified:"1f4a9",native:"💩"}],version:1},clown_face:{id:"clown_face",name:"Clown Face",keywords:[],skins:[{unified:"1f921",native:"🤡"}],version:3},japanese_ogre:{id:"japanese_ogre",name:"Ogre",keywords:["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],skins:[{unified:"1f479",native:"👹"}],version:1},japanese_goblin:{id:"japanese_goblin",name:"Goblin",keywords:["japanese","red","evil","mask","monster","scary","creepy"],skins:[{unified:"1f47a",native:"👺"}],version:1},ghost:{id:"ghost",name:"Ghost",keywords:["halloween","spooky","scary"],skins:[{unified:"1f47b",native:"👻"}],version:1},alien:{id:"alien",name:"Alien",keywords:["UFO","paul","weird","outer","space"],skins:[{unified:"1f47d",native:"👽"}],version:1},space_invader:{id:"space_invader",name:"Alien Monster",keywords:["space","invader","game","arcade","play"],skins:[{unified:"1f47e",native:"👾"}],version:1},robot_face:{id:"robot_face",name:"Robot",keywords:["face","computer","machine","bot"],skins:[{unified:"1f916",native:"🤖"}],version:1},smiley_cat:{id:"smiley_cat",name:"Grinning Cat",keywords:["smiley","animal","cats","happy","smile"],skins:[{unified:"1f63a",native:"😺"}],version:1},smile_cat:{id:"smile_cat",name:"Grinning Cat with Smiling Eyes",keywords:["smile","animal","cats"],skins:[{unified:"1f638",native:"😸"}],version:1},joy_cat:{id:"joy_cat",name:"Cat with Tears of Joy",keywords:["animal","cats","haha","happy"],skins:[{unified:"1f639",native:"😹"}],version:1},heart_eyes_cat:{id:"heart_eyes_cat",name:"Smiling Cat with Heart-Eyes",keywords:["heart","eyes","animal","love","like","affection","cats","valentines"],skins:[{unified:"1f63b",native:"😻"}],version:1},smirk_cat:{id:"smirk_cat",name:"Cat with Wry Smile",keywords:["smirk","animal","cats"],skins:[{unified:"1f63c",native:"😼"}],version:1},kissing_cat:{id:"kissing_cat",name:"Kissing Cat",keywords:["animal","cats","kiss"],skins:[{unified:"1f63d",native:"😽"}],version:1},scream_cat:{id:"scream_cat",name:"Weary Cat",keywords:["scream","animal","cats","munch","scared"],skins:[{unified:"1f640",native:"🙀"}],version:1},crying_cat_face:{id:"crying_cat_face",name:"Crying Cat",keywords:["face","animal","tears","weep","sad","cats","upset","cry"],skins:[{unified:"1f63f",native:"😿"}],version:1},pouting_cat:{id:"pouting_cat",name:"Pouting Cat",keywords:["animal","cats"],skins:[{unified:"1f63e",native:"😾"}],version:1},see_no_evil:{id:"see_no_evil",name:"See-No-Evil Monkey",keywords:["see","no","evil","animal","nature","haha"],skins:[{unified:"1f648",native:"🙈"}],version:1},hear_no_evil:{id:"hear_no_evil",name:"Hear-No-Evil Monkey",keywords:["hear","no","evil","animal","nature"],skins:[{unified:"1f649",native:"🙉"}],version:1},speak_no_evil:{id:"speak_no_evil",name:"Speak-No-Evil Monkey",keywords:["speak","no","evil","animal","nature","omg"],skins:[{unified:"1f64a",native:"🙊"}],version:1},kiss:{id:"kiss",name:"Kiss Mark",keywords:["face","lips","love","like","affection","valentines"],skins:[{unified:"1f48b",native:"💋"}],version:1},love_letter:{id:"love_letter",name:"Love Letter",keywords:["email","like","affection","envelope","valentines"],skins:[{unified:"1f48c",native:"💌"}],version:1},cupid:{id:"cupid",name:"Heart with Arrow",keywords:["cupid","love","like","affection","valentines"],skins:[{unified:"1f498",native:"💘"}],version:1},gift_heart:{id:"gift_heart",name:"Heart with Ribbon",keywords:["gift","love","valentines"],skins:[{unified:"1f49d",native:"💝"}],version:1},sparkling_heart:{id:"sparkling_heart",name:"Sparkling Heart",keywords:["love","like","affection","valentines"],skins:[{unified:"1f496",native:"💖"}],version:1},heartpulse:{id:"heartpulse",name:"Growing Heart",keywords:["heartpulse","like","love","affection","valentines","pink"],skins:[{unified:"1f497",native:"💗"}],version:1},heartbeat:{id:"heartbeat",name:"Beating Heart",keywords:["heartbeat","love","like","affection","valentines","pink"],skins:[{unified:"1f493",native:"💓"}],version:1},revolving_hearts:{id:"revolving_hearts",name:"Revolving Hearts",keywords:["love","like","affection","valentines"],skins:[{unified:"1f49e",native:"💞"}],version:1},two_hearts:{id:"two_hearts",name:"Two Hearts",keywords:["love","like","affection","valentines","heart"],skins:[{unified:"1f495",native:"💕"}],version:1},heart_decoration:{id:"heart_decoration",name:"Heart Decoration",keywords:["purple","square","love","like"],skins:[{unified:"1f49f",native:"💟"}],version:1},heavy_heart_exclamation_mark_ornament:{id:"heavy_heart_exclamation_mark_ornament",name:"Heart Exclamation",keywords:["heavy","mark","ornament","decoration","love"],skins:[{unified:"2763-fe0f",native:"❣️"}],version:1},broken_heart:{id:"broken_heart",name:"Broken Heart",emoticons:["{const t=iSe.emojis[e];return{text:`:${e}:`,displayText:`${t.skins[0].native} :${e}:`,className:"emoji-hint",keywords:t.keywords,name:t.name}});ts.registerHelper("hint","emoji",function(e,t){const n=e.getCursor(),r=e.findWordAt(n),i=r.from(),a=r.to(),o=e.getRange(i,a);return{list:TIr.filter(l=>l.text.includes(o)||l.keywords.some(u=>u.includes(o))),from:ts.Pos(n.line,i.ch-1),to:ts.Pos(n.line,a.ch)}});let DIr=0;class IIr{cm;val;widget;markers;options;constructor(t,n){this.cm=t,this.options=n,this.widget=null,this.markers={},this.initEvent()}emit(t,n,r){this.options.emit(t,n,r)}initEvent(){this.cm.on("mousedown",this.onMousedown.bind(this)),this.cm.on("change",this.change.bind(this)),this.cm.on("refresh",this.refresh.bind(this))}getCodeInfo(t){var n=t.target||t.srcElement,r=this.cm.coordsChar({left:t.clientX,top:t.clientY}),i=this.cm.findMarksAt(r);const a=i[0].lines[0].lineNo(),o=this.cm.lineCount();let s=o-1;for(var l=a+1;l{a==="mermaid-preview-save"&&this.updateDraw(o)})}else if(r.className==="mermaid-preview-menu"){n.preventDefault();const i=this.getCodeInfo(n);this.emit("mermaid-preview-menu-click",i,(a,o)=>{a==="mermaid-preview-save"&&this.updateDraw(o)})}}updateDraw(t){const n=this.cm.getAllMarks().find(i=>i.replacedWith.id===t.id);if(n){const i=n.lines[0].lineNo(),a=this.cm.lineCount();let o=a-1;for(var r=i+1;r{this.cm.replaceRange(`${t.content.trim()} +`,{line:i+1,ch:0},{line:o,ch:0}),this.cm.foldCode({line:i,ch:0})})}}change(t,n){this.updateAll()}refresh(){this.change(this.cm,{origin:"setValue"})}updateAll(){this.cm.operation(()=>{for(var t=this.cm.lineCount(),n=0;nEdit - `,t}key(t,n){return[t,n].join(":")}init(){this.markers={}}addMarker(t,n,r){this.markers[this.key(n,r)]=t}set_state(t,n){var r=this.create_marker(t,n);return r.lineNo=t,r.ch=n,r}create_marker(t,n){return this.has_marker(t,n)||this.init_marker(t,n),this.get_marker(t,n)}init_marker(t,n){this.markers[this.key(t,n)]=this.make_element()}has_marker(t,n){return!!this.get_marker(t,n)}get_marker(t,n){var r=this.key(t,n);return this.markers[r]}set_mark(t,n,r){const i=this.cm.setBookmark({line:t,ch:n},{widget:r,handleMouseEvents:!0});r.marker=i}}ts.defineOption("mermaid",!1,function(e,t){t&&(e.state.mermaidView=new DIr(e,t))});const dp={TAG_REGEX:/^(\[[^\]]+\]|\{[^\}]+\}|\([^\)]+\))/,STRING_REGEX:/^("[^"]+")/,PIPE_REGEX:/^(\|[^\|]+\|)/,KEYWORD_REGEX:/^(flowchart|timeline|graph|sequenceDiagram|gantt|erDiagram|classDiagram|node|edge|classDef|journey|mindmap)|($|\s)/,KEYWORD_REGEX_2:/^(def|for|box|actor|participant|activate|deactivate|over|loop|end|subgraph|class|style|classDef|Note|alt|opt|par|critical|option|break|rect|right of)/i,KEYWORD_REGEX_3:/^(title|dateFormat|excludes|section|Completed|Active|Future)/i,OPERATOR_REGEX:/^(-+>|->|->>|--)/,BRACKET_REGEX:/^(\(|\))/,NUMBER_REGEX:/^(\d+)/,PROPERTY_REGEX:/^\w+:/,COMMENT_REGEX:/^%%.*/,ATOM_REGEX:/^([^\s]+)/,PUNCTUATION_REGEX:/^(\.|,|:|;)/,SPACE_REGEX:/^(\s+)/};ts.defineMode("mermaid",function(e,t){var n=ts.getMode(e,"text/plain"),r=t.keywords||{},i=t.operators||{};function a(o,s){return o.match(dp.TAG_REGEX)?"tag":o.match(dp.STRING_REGEX)?"string":o.match(dp.PIPE_REGEX)?"string-2":o.match(dp.KEYWORD_REGEX)||o.match(dp.KEYWORD_REGEX_2)||o.match(dp.KEYWORD_REGEX_3)?"keyword":o.match(dp.OPERATOR_REGEX)?"operator":o.match(dp.NUMBER_REGEX)?"number":o.match(dp.PROPERTY_REGEX)?"property":o.match(/^\w+/)?"word":o.match(dp.COMMENT_REGEX)?"comment":(o.next(),null)}return ts.overlayMode(n,{token:function(o,s){return r.propertyIsEnumerable(o.current())?"keyword":i.propertyIsEnumerable(o.current())?"operator":a(o)}})});let IIr=0;class RIr{cm;options;widget;markers;constructor(t,n){this.cm=t,this.options=n,this.widget=null,this.markers={},this.initEvent()}emit(t,n,r){this.options.emit(t,n,r)}initEvent(){this.cm.on("mousedown",this.onMousedown.bind(this)),this.cm.on("change",this.change.bind(this)),this.cm.on("refresh",this.refresh.bind(this))}getCodeInfo(t){var n=t.target||t.srcElement,r=this.cm.coordsChar({left:t.clientX,top:t.clientY}),i=this.cm.findMarksAt(r);const a=i[0].lines[0].lineNo(),o=this.cm.lineCount();let s=o-1;for(var l=a+1;l{a==="tldraw-preview-save"&&this.updateDraw(o)})}}updateDraw(t){const n=this.cm.getAllMarks().find(i=>i.replacedWith.id===t.id);if(n){const i=n.lines[0].lineNo(),a=this.cm.lineCount();let o=a-1;for(var r=i+1;r{this.cm.replaceRange(""+JSON.stringify(t.content)+` -`,{line:i+1,ch:0},{line:o,ch:0}),this.cm.foldCode({line:i,ch:0})})}}change(t,n){this.updateAll()}refresh(){this.change(this.cm,{origin:"setValue"})}updateAll(){this.cm.operation(()=>{for(var t=this.cm.lineCount(),n=0;n|->|->>|--)/,BRACKET_REGEX:/^(\(|\))/,NUMBER_REGEX:/^(\d+)/,PROPERTY_REGEX:/^\w+:/,COMMENT_REGEX:/^%%.*/,ATOM_REGEX:/^([^\s]+)/,PUNCTUATION_REGEX:/^(\.|,|:|;)/,SPACE_REGEX:/^(\s+)/};ts.defineMode("mermaid",function(e,t){var n=ts.getMode(e,"text/plain"),r=t.keywords||{},i=t.operators||{};function a(o,s){return o.match(dp.TAG_REGEX)?"tag":o.match(dp.STRING_REGEX)?"string":o.match(dp.PIPE_REGEX)?"string-2":o.match(dp.KEYWORD_REGEX)||o.match(dp.KEYWORD_REGEX_2)||o.match(dp.KEYWORD_REGEX_3)?"keyword":o.match(dp.OPERATOR_REGEX)?"operator":o.match(dp.NUMBER_REGEX)?"number":o.match(dp.PROPERTY_REGEX)?"property":o.match(/^\w+/)?"word":o.match(dp.COMMENT_REGEX)?"comment":(o.next(),null)}return ts.overlayMode(n,{token:function(o,s){return r.propertyIsEnumerable(o.current())?"keyword":i.propertyIsEnumerable(o.current())?"operator":a(o)}})});let RIr=0;class MIr{cm;options;widget;markers;constructor(t,n){this.cm=t,this.options=n,this.widget=null,this.markers={},this.initEvent()}emit(t,n,r){this.options.emit(t,n,r)}initEvent(){this.cm.on("mousedown",this.onMousedown.bind(this)),this.cm.on("change",this.change.bind(this)),this.cm.on("refresh",this.refresh.bind(this))}getCodeInfo(t){var n=t.target||t.srcElement,r=this.cm.coordsChar({left:t.clientX,top:t.clientY}),i=this.cm.findMarksAt(r);const a=i[0].lines[0].lineNo(),o=this.cm.lineCount();let s=o-1;for(var l=a+1;l{a==="tldraw-preview-save"&&this.updateDraw(o)})}}updateDraw(t){const n=this.cm.getAllMarks().find(i=>i.replacedWith.id===t.id);if(n){const i=n.lines[0].lineNo(),a=this.cm.lineCount();let o=a-1;for(var r=i+1;r{this.cm.replaceRange(""+JSON.stringify(t.content)+` +`,{line:i+1,ch:0},{line:o,ch:0}),this.cm.foldCode({line:i,ch:0})})}}change(t,n){this.updateAll()}refresh(){this.change(this.cm,{origin:"setValue"})}updateAll(){this.cm.operation(()=>{for(var t=this.cm.lineCount(),n=0;nEdit - `,t}key(t,n){return[t,n].join(":")}init(){this.markers={}}addMarker(t,n,r){this.markers[this.key(n,r)]=t}set_state(t,n){var r=this.create_marker(t,n);return r.lineNo=t,r.ch=n,r}create_marker(t,n){return this.has_marker(t,n)||this.init_marker(t,n),this.get_marker(t,n)}init_marker(t,n){this.markers[this.key(t,n)]=this.make_element()}has_marker(t,n){return!!this.get_marker(t,n)}get_marker(t,n){var r=this.key(t,n);return this.markers[r]}set_mark(t,n,r){const i=this.cm.setBookmark({line:t,ch:n},{widget:r,handleMouseEvents:!0});r.marker=i}updateAllFold(){const t=this.cm,n=t.lineCount();for(let r=0;rr.threshold?n?Cse(r.black):r.black:n?Cse(r.white):r.white}function Sse(e,t=!1){return e=Ese(e),t?xse(e,t):"#"+e.map(n=>OIr((255-n).toString(16))).join("")}(function(e){function t(r,i){r=Ese(r);const a=i?xse(r,i,!0):r.map(o=>255-o);return LIr(a)}e.asRGB=t;function n(r,i){return r=Ese(r),i?xse(r,i,!0):r.map(a=>255-a)}e.asRgbArray=n,e.defaultThreshold=fJe,e.asRgbObject=t})(Sse||(Sse={}));const PIr=Sse;class FIr{id;username;color;height;marker;lineMarker;status;nameRemoveTimeMap;nameAnimationDelay;nameAnimationDuration;nameRemoveTime;nameHolder;cursorHolder;constructor(t,n){this.id=t,this.username=n.username,this.color=n.color,this.height=0,this.status="deactivated",this.nameRemoveTimeMap=new Map,this.nameAnimationDelay=1,this.nameAnimationDuration=.2,this.nameRemoveTime=(this.nameAnimationDuration+this.nameAnimationDelay)*1e3}updateCursor(t,n){this.removeCursor(),this.status="activated";const r=t.cursorCoords(n);this.height=r.bottom-r.top,this.cursorHolder||(this.cursorHolder=document.createElement("span"),this.cursorHolder.classList.add("codePair-cursor"),this.cursorHolder.style.borderLeftColor=this.color,this.cursorHolder.addEventListener("mouseenter",()=>{this.nameRemoveTimeMap.has(this.id)&&clearTimeout(this.nameRemoveTimeMap.get(this.id)),this.nameHolder&&(this.nameHolder.classList.remove("text-remove"),this.cursorHolder?.appendChild(this.nameHolder))}),this.cursorHolder.addEventListener("mouseleave",()=>{this.nameHolder&&(this.nameHolder.classList.add("text-remove"),this.nameHolder.style.animationDuration=`${this.nameAnimationDuration}s`,this.nameHolder.style.animationDelay=`${this.nameAnimationDelay}s`)}),this.nameHolder?.addEventListener("animationend",()=>{this.nameHolder?.classList.contains("text-remove")&&this.nameRemoveTimeMap.delete(this.id)})),this.cursorHolder.style.height=`${this.height}px`,this.cursorHolder.setAttribute("data-pos",r.top<130?"top":"bottom"),this.marker=t.setBookmark(n,{widget:this.cursorHolder,insertLeft:!0}),this.showCursorNameReserve(this.cursorHolder)}updateLine(t,n,r){this.removeLine(),this.status="activated";const i=parseInt(this.color.slice(1,3),16),a=parseInt(this.color.slice(3,5),16),o=parseInt(this.color.slice(5,7),16),s=`rgba(${i}, ${a}, ${o}, 0.15)`;this.lineMarker=t.getDoc().markText(n,r,{css:`background-color : ${s};`})}showCursorNameReserve(t){this.nameHolder||(this.nameHolder=document.createElement("span"),this.nameHolder.classList.add("codePair-name"),this.nameHolder.textContent=this.username,this.nameHolder.style.backgroundColor=this.color,this.nameHolder.style.color=PIr(this.color,!0)),this.nameHolder.parentElement!==t&&t.appendChild(this.nameHolder),this.nameHolder.classList.remove("text-remove"),this.resetRemoveNameReserve(this.nameHolder)}resetRemoveNameReserve(t){this.nameRemoveTimeMap.has(this.id)&&clearTimeout(this.nameRemoveTimeMap.get(this.id)),this.removeNameReserve(t)}removeNameReserve(t){const n=setTimeout(()=>{if(t){t.classList.add("text-remove");const{style:r}=t;r.animationDuration=`${this.nameAnimationDuration}s`,r.animationDelay=`${this.nameAnimationDelay}s`}},this.nameRemoveTime);this.nameRemoveTimeMap.set(this.id,n)}removeCursor(){this.marker&&(this.marker.clear(),this.marker=void 0)}removeLine(){this.lineMarker&&(this.lineMarker.clear(),this.lineMarker=void 0)}clear(){this.removeCursor(),this.removeLine()}isActive(){return this.status==="activated"}}var dJe={},L4={};Object.defineProperty(L4,"__esModule",{value:!0});L4.marpitContainer=L4.default=void 0;let hJe=class{constructor(t,n={}){Object.defineProperties(this,{attributes:{value:n},tag:{enumerable:!0,value:t}});for(const r of Object.keys(n))Object.defineProperty(this,r,{enumerable:!0,value:n[r]});Object.freeze(this)}};const NIr=new hJe("div",{class:"marpit"});L4.marpitContainer=NIr;var $Ir=hJe;L4.default=$Ir;var xz={},xa={};const zIr="Á",UIr="á",jIr="Ă",HIr="ă",qIr="∾",WIr="∿",GIr="∾̳",VIr="Â",KIr="â",YIr="´",XIr="А",JIr="а",ZIr="Æ",QIr="æ",eRr="⁡",tRr="𝔄",nRr="𝔞",rRr="À",iRr="à",aRr="ℵ",oRr="ℵ",sRr="Α",lRr="α",uRr="Ā",cRr="ā",fRr="⨿",dRr="&",hRr="&",pRr="⩕",gRr="⩓",mRr="∧",vRr="⩜",yRr="⩘",bRr="⩚",wRr="∠",kRr="⦤",_Rr="∠",CRr="⦨",ERr="⦩",xRr="⦪",SRr="⦫",ARr="⦬",TRr="⦭",DRr="⦮",IRr="⦯",RRr="∡",MRr="∟",ORr="⊾",LRr="⦝",BRr="∢",PRr="Å",FRr="⍼",NRr="Ą",$Rr="ą",zRr="𝔸",URr="𝕒",jRr="⩯",HRr="≈",qRr="⩰",WRr="≊",GRr="≋",VRr="'",KRr="⁡",YRr="≈",XRr="≊",JRr="Å",ZRr="å",QRr="𝒜",eMr="𝒶",tMr="≔",nMr="*",rMr="≈",iMr="≍",aMr="Ã",oMr="ã",sMr="Ä",lMr="ä",uMr="∳",cMr="⨑",fMr="≌",dMr="϶",hMr="‵",pMr="∽",gMr="⋍",mMr="∖",vMr="⫧",yMr="⊽",bMr="⌅",wMr="⌆",kMr="⌅",_Mr="⎵",CMr="⎶",EMr="≌",xMr="Б",SMr="б",AMr="„",TMr="∵",DMr="∵",IMr="∵",RMr="⦰",MMr="϶",OMr="ℬ",LMr="ℬ",BMr="Β",PMr="β",FMr="ℶ",NMr="≬",$Mr="𝔅",zMr="𝔟",UMr="⋂",jMr="◯",HMr="⋃",qMr="⨀",WMr="⨁",GMr="⨂",VMr="⨆",KMr="★",YMr="▽",XMr="△",JMr="⨄",ZMr="⋁",QMr="⋀",eOr="⤍",tOr="⧫",nOr="▪",rOr="▴",iOr="▾",aOr="◂",oOr="▸",sOr="␣",lOr="▒",uOr="░",cOr="▓",fOr="█",dOr="=⃥",hOr="≡⃥",pOr="⫭",gOr="⌐",mOr="𝔹",vOr="𝕓",yOr="⊥",bOr="⊥",wOr="⋈",kOr="⧉",_Or="┐",COr="╕",EOr="╖",xOr="╗",SOr="┌",AOr="╒",TOr="╓",DOr="╔",IOr="─",ROr="═",MOr="┬",OOr="╤",LOr="╥",BOr="╦",POr="┴",FOr="╧",NOr="╨",$Or="╩",zOr="⊟",UOr="⊞",jOr="⊠",HOr="┘",qOr="╛",WOr="╜",GOr="╝",VOr="└",KOr="╘",YOr="╙",XOr="╚",JOr="│",ZOr="║",QOr="┼",eLr="╪",tLr="╫",nLr="╬",rLr="┤",iLr="╡",aLr="╢",oLr="╣",sLr="├",lLr="╞",uLr="╟",cLr="╠",fLr="‵",dLr="˘",hLr="˘",pLr="¦",gLr="𝒷",mLr="ℬ",vLr="⁏",yLr="∽",bLr="⋍",wLr="⧅",kLr="\\",_Lr="⟈",CLr="•",ELr="•",xLr="≎",SLr="⪮",ALr="≏",TLr="≎",DLr="≏",ILr="Ć",RLr="ć",MLr="⩄",OLr="⩉",LLr="⩋",BLr="∩",PLr="⋒",FLr="⩇",NLr="⩀",$Lr="ⅅ",zLr="∩︀",ULr="⁁",jLr="ˇ",HLr="ℭ",qLr="⩍",WLr="Č",GLr="č",VLr="Ç",KLr="ç",YLr="Ĉ",XLr="ĉ",JLr="∰",ZLr="⩌",QLr="⩐",eBr="Ċ",tBr="ċ",nBr="¸",rBr="¸",iBr="⦲",aBr="¢",oBr="·",sBr="·",lBr="𝔠",uBr="ℭ",cBr="Ч",fBr="ч",dBr="✓",hBr="✓",pBr="Χ",gBr="χ",mBr="ˆ",vBr="≗",yBr="↺",bBr="↻",wBr="⊛",kBr="⊚",_Br="⊝",CBr="⊙",EBr="®",xBr="Ⓢ",SBr="⊖",ABr="⊕",TBr="⊗",DBr="○",IBr="⧃",RBr="≗",MBr="⨐",OBr="⫯",LBr="⧂",BBr="∲",PBr="”",FBr="’",NBr="♣",$Br="♣",zBr=":",UBr="∷",jBr="⩴",HBr="≔",qBr="≔",WBr=",",GBr="@",VBr="∁",KBr="∘",YBr="∁",XBr="ℂ",JBr="≅",ZBr="⩭",QBr="≡",ePr="∮",tPr="∯",nPr="∮",rPr="𝕔",iPr="ℂ",aPr="∐",oPr="∐",sPr="©",lPr="©",uPr="℗",cPr="∳",fPr="↵",dPr="✗",hPr="⨯",pPr="𝒞",gPr="𝒸",mPr="⫏",vPr="⫑",yPr="⫐",bPr="⫒",wPr="⋯",kPr="⤸",_Pr="⤵",CPr="⋞",EPr="⋟",xPr="↶",SPr="⤽",APr="⩈",TPr="⩆",DPr="≍",IPr="∪",RPr="⋓",MPr="⩊",OPr="⊍",LPr="⩅",BPr="∪︀",PPr="↷",FPr="⤼",NPr="⋞",$Pr="⋟",zPr="⋎",UPr="⋏",jPr="¤",HPr="↶",qPr="↷",WPr="⋎",GPr="⋏",VPr="∲",KPr="∱",YPr="⌭",XPr="†",JPr="‡",ZPr="ℸ",QPr="↓",eFr="↡",tFr="⇓",nFr="‐",rFr="⫤",iFr="⊣",aFr="⤏",oFr="˝",sFr="Ď",lFr="ď",uFr="Д",cFr="д",fFr="‡",dFr="⇊",hFr="ⅅ",pFr="ⅆ",gFr="⤑",mFr="⩷",vFr="°",yFr="∇",bFr="Δ",wFr="δ",kFr="⦱",_Fr="⥿",CFr="𝔇",EFr="𝔡",xFr="⥥",SFr="⇃",AFr="⇂",TFr="´",DFr="˙",IFr="˝",RFr="`",MFr="˜",OFr="⋄",LFr="⋄",BFr="⋄",PFr="♦",FFr="♦",NFr="¨",$Fr="ⅆ",zFr="ϝ",UFr="⋲",jFr="÷",HFr="÷",qFr="⋇",WFr="⋇",GFr="Ђ",VFr="ђ",KFr="⌞",YFr="⌍",XFr="$",JFr="𝔻",ZFr="𝕕",QFr="¨",eNr="˙",tNr="⃜",nNr="≐",rNr="≑",iNr="≐",aNr="∸",oNr="∔",sNr="⊡",lNr="⌆",uNr="∯",cNr="¨",fNr="⇓",dNr="⇐",hNr="⇔",pNr="⫤",gNr="⟸",mNr="⟺",vNr="⟹",yNr="⇒",bNr="⊨",wNr="⇑",kNr="⇕",_Nr="∥",CNr="⤓",ENr="↓",xNr="↓",SNr="⇓",ANr="⇵",TNr="̑",DNr="⇊",INr="⇃",RNr="⇂",MNr="⥐",ONr="⥞",LNr="⥖",BNr="↽",PNr="⥟",FNr="⥗",NNr="⇁",$Nr="↧",zNr="⊤",UNr="⤐",jNr="⌟",HNr="⌌",qNr="𝒟",WNr="𝒹",GNr="Ѕ",VNr="ѕ",KNr="⧶",YNr="Đ",XNr="đ",JNr="⋱",ZNr="▿",QNr="▾",e$r="⇵",t$r="⥯",n$r="⦦",r$r="Џ",i$r="џ",a$r="⟿",o$r="É",s$r="é",l$r="⩮",u$r="Ě",c$r="ě",f$r="Ê",d$r="ê",h$r="≖",p$r="≕",g$r="Э",m$r="э",v$r="⩷",y$r="Ė",b$r="ė",w$r="≑",k$r="ⅇ",_$r="≒",C$r="𝔈",E$r="𝔢",x$r="⪚",S$r="È",A$r="è",T$r="⪖",D$r="⪘",I$r="⪙",R$r="∈",M$r="⏧",O$r="ℓ",L$r="⪕",B$r="⪗",P$r="Ē",F$r="ē",N$r="∅",$$r="∅",z$r="◻",U$r="∅",j$r="▫",H$r=" ",q$r=" ",W$r=" ",G$r="Ŋ",V$r="ŋ",K$r=" ",Y$r="Ę",X$r="ę",J$r="𝔼",Z$r="𝕖",Q$r="⋕",ezr="⧣",tzr="⩱",nzr="ε",rzr="Ε",izr="ε",azr="ϵ",ozr="≖",szr="≕",lzr="≂",uzr="⪖",czr="⪕",fzr="⩵",dzr="=",hzr="≂",pzr="≟",gzr="⇌",mzr="≡",vzr="⩸",yzr="⧥",bzr="⥱",wzr="≓",kzr="ℯ",_zr="ℰ",Czr="≐",Ezr="⩳",xzr="≂",Szr="Η",Azr="η",Tzr="Ð",Dzr="ð",Izr="Ë",Rzr="ë",Mzr="€",Ozr="!",Lzr="∃",Bzr="∃",Pzr="ℰ",Fzr="ⅇ",Nzr="ⅇ",$zr="≒",zzr="Ф",Uzr="ф",jzr="♀",Hzr="ffi",qzr="ff",Wzr="ffl",Gzr="𝔉",Vzr="𝔣",Kzr="fi",Yzr="◼",Xzr="▪",Jzr="fj",Zzr="♭",Qzr="fl",eUr="▱",tUr="ƒ",nUr="𝔽",rUr="𝕗",iUr="∀",aUr="∀",oUr="⋔",sUr="⫙",lUr="ℱ",uUr="⨍",cUr="½",fUr="⅓",dUr="¼",hUr="⅕",pUr="⅙",gUr="⅛",mUr="⅔",vUr="⅖",yUr="¾",bUr="⅗",wUr="⅜",kUr="⅘",_Ur="⅚",CUr="⅝",EUr="⅞",xUr="⁄",SUr="⌢",AUr="𝒻",TUr="ℱ",DUr="ǵ",IUr="Γ",RUr="γ",MUr="Ϝ",OUr="ϝ",LUr="⪆",BUr="Ğ",PUr="ğ",FUr="Ģ",NUr="Ĝ",$Ur="ĝ",zUr="Г",UUr="г",jUr="Ġ",HUr="ġ",qUr="≥",WUr="≧",GUr="⪌",VUr="⋛",KUr="≥",YUr="≧",XUr="⩾",JUr="⪩",ZUr="⩾",QUr="⪀",ejr="⪂",tjr="⪄",njr="⋛︀",rjr="⪔",ijr="𝔊",ajr="𝔤",ojr="≫",sjr="⋙",ljr="⋙",ujr="ℷ",cjr="Ѓ",fjr="ѓ",djr="⪥",hjr="≷",pjr="⪒",gjr="⪤",mjr="⪊",vjr="⪊",yjr="⪈",bjr="≩",wjr="⪈",kjr="≩",_jr="⋧",Cjr="𝔾",Ejr="𝕘",xjr="`",Sjr="≥",Ajr="⋛",Tjr="≧",Djr="⪢",Ijr="≷",Rjr="⩾",Mjr="≳",Ojr="𝒢",Ljr="ℊ",Bjr="≳",Pjr="⪎",Fjr="⪐",Njr="⪧",$jr="⩺",zjr=">",Ujr=">",jjr="≫",Hjr="⋗",qjr="⦕",Wjr="⩼",Gjr="⪆",Vjr="⥸",Kjr="⋗",Yjr="⋛",Xjr="⪌",Jjr="≷",Zjr="≳",Qjr="≩︀",eHr="≩︀",tHr="ˇ",nHr=" ",rHr="½",iHr="ℋ",aHr="Ъ",oHr="ъ",sHr="⥈",lHr="↔",uHr="⇔",cHr="↭",fHr="^",dHr="ℏ",hHr="Ĥ",pHr="ĥ",gHr="♥",mHr="♥",vHr="…",yHr="⊹",bHr="𝔥",wHr="ℌ",kHr="ℋ",_Hr="⤥",CHr="⤦",EHr="⇿",xHr="∻",SHr="↩",AHr="↪",THr="𝕙",DHr="ℍ",IHr="―",RHr="─",MHr="𝒽",OHr="ℋ",LHr="ℏ",BHr="Ħ",PHr="ħ",FHr="≎",NHr="≏",$Hr="⁃",zHr="‐",UHr="Í",jHr="í",HHr="⁣",qHr="Î",WHr="î",GHr="И",VHr="и",KHr="İ",YHr="Е",XHr="е",JHr="¡",ZHr="⇔",QHr="𝔦",eqr="ℑ",tqr="Ì",nqr="ì",rqr="ⅈ",iqr="⨌",aqr="∭",oqr="⧜",sqr="℩",lqr="IJ",uqr="ij",cqr="Ī",fqr="ī",dqr="ℑ",hqr="ⅈ",pqr="ℐ",gqr="ℑ",mqr="ı",vqr="ℑ",yqr="⊷",bqr="Ƶ",wqr="⇒",kqr="℅",_qr="∞",Cqr="⧝",Eqr="ı",xqr="⊺",Sqr="∫",Aqr="∬",Tqr="ℤ",Dqr="∫",Iqr="⊺",Rqr="⋂",Mqr="⨗",Oqr="⨼",Lqr="⁣",Bqr="⁢",Pqr="Ё",Fqr="ё",Nqr="Į",$qr="į",zqr="𝕀",Uqr="𝕚",jqr="Ι",Hqr="ι",qqr="⨼",Wqr="¿",Gqr="𝒾",Vqr="ℐ",Kqr="∈",Yqr="⋵",Xqr="⋹",Jqr="⋴",Zqr="⋳",Qqr="∈",eWr="⁢",tWr="Ĩ",nWr="ĩ",rWr="І",iWr="і",aWr="Ï",oWr="ï",sWr="Ĵ",lWr="ĵ",uWr="Й",cWr="й",fWr="𝔍",dWr="𝔧",hWr="ȷ",pWr="𝕁",gWr="𝕛",mWr="𝒥",vWr="𝒿",yWr="Ј",bWr="ј",wWr="Є",kWr="є",_Wr="Κ",CWr="κ",EWr="ϰ",xWr="Ķ",SWr="ķ",AWr="К",TWr="к",DWr="𝔎",IWr="𝔨",RWr="ĸ",MWr="Х",OWr="х",LWr="Ќ",BWr="ќ",PWr="𝕂",FWr="𝕜",NWr="𝒦",$Wr="𝓀",zWr="⇚",UWr="Ĺ",jWr="ĺ",HWr="⦴",qWr="ℒ",WWr="Λ",GWr="λ",VWr="⟨",KWr="⟪",YWr="⦑",XWr="⟨",JWr="⪅",ZWr="ℒ",QWr="«",eGr="⇤",tGr="⤟",nGr="←",rGr="↞",iGr="⇐",aGr="⤝",oGr="↩",sGr="↫",lGr="⤹",uGr="⥳",cGr="↢",fGr="⤙",dGr="⤛",hGr="⪫",pGr="⪭",gGr="⪭︀",mGr="⤌",vGr="⤎",yGr="❲",bGr="{",wGr="[",kGr="⦋",_Gr="⦏",CGr="⦍",EGr="Ľ",xGr="ľ",SGr="Ļ",AGr="ļ",TGr="⌈",DGr="{",IGr="Л",RGr="л",MGr="⤶",OGr="“",LGr="„",BGr="⥧",PGr="⥋",FGr="↲",NGr="≤",$Gr="≦",zGr="⟨",UGr="⇤",jGr="←",HGr="←",qGr="⇐",WGr="⇆",GGr="↢",VGr="⌈",KGr="⟦",YGr="⥡",XGr="⥙",JGr="⇃",ZGr="⌊",QGr="↽",eVr="↼",tVr="⇇",nVr="↔",rVr="↔",iVr="⇔",aVr="⇆",oVr="⇋",sVr="↭",lVr="⥎",uVr="↤",cVr="⊣",fVr="⥚",dVr="⋋",hVr="⧏",pVr="⊲",gVr="⊴",mVr="⥑",vVr="⥠",yVr="⥘",bVr="↿",wVr="⥒",kVr="↼",_Vr="⪋",CVr="⋚",EVr="≤",xVr="≦",SVr="⩽",AVr="⪨",TVr="⩽",DVr="⩿",IVr="⪁",RVr="⪃",MVr="⋚︀",OVr="⪓",LVr="⪅",BVr="⋖",PVr="⋚",FVr="⪋",NVr="⋚",$Vr="≦",zVr="≶",UVr="≶",jVr="⪡",HVr="≲",qVr="⩽",WVr="≲",GVr="⥼",VVr="⌊",KVr="𝔏",YVr="𝔩",XVr="≶",JVr="⪑",ZVr="⥢",QVr="↽",eKr="↼",tKr="⥪",nKr="▄",rKr="Љ",iKr="љ",aKr="⇇",oKr="≪",sKr="⋘",lKr="⌞",uKr="⇚",cKr="⥫",fKr="◺",dKr="Ŀ",hKr="ŀ",pKr="⎰",gKr="⎰",mKr="⪉",vKr="⪉",yKr="⪇",bKr="≨",wKr="⪇",kKr="≨",_Kr="⋦",CKr="⟬",EKr="⇽",xKr="⟦",SKr="⟵",AKr="⟵",TKr="⟸",DKr="⟷",IKr="⟷",RKr="⟺",MKr="⟼",OKr="⟶",LKr="⟶",BKr="⟹",PKr="↫",FKr="↬",NKr="⦅",$Kr="𝕃",zKr="𝕝",UKr="⨭",jKr="⨴",HKr="∗",qKr="_",WKr="↙",GKr="↘",VKr="◊",KKr="◊",YKr="⧫",XKr="(",JKr="⦓",ZKr="⇆",QKr="⌟",eYr="⇋",tYr="⥭",nYr="‎",rYr="⊿",iYr="‹",aYr="𝓁",oYr="ℒ",sYr="↰",lYr="↰",uYr="≲",cYr="⪍",fYr="⪏",dYr="[",hYr="‘",pYr="‚",gYr="Ł",mYr="ł",vYr="⪦",yYr="⩹",bYr="<",wYr="<",kYr="≪",_Yr="⋖",CYr="⋋",EYr="⋉",xYr="⥶",SYr="⩻",AYr="◃",TYr="⊴",DYr="◂",IYr="⦖",RYr="⥊",MYr="⥦",OYr="≨︀",LYr="≨︀",BYr="¯",PYr="♂",FYr="✠",NYr="✠",$Yr="↦",zYr="↦",UYr="↧",jYr="↤",HYr="↥",qYr="▮",WYr="⨩",GYr="М",VYr="м",KYr="—",YYr="∺",XYr="∡",JYr=" ",ZYr="ℳ",QYr="𝔐",eXr="𝔪",tXr="℧",nXr="µ",rXr="*",iXr="⫰",aXr="∣",oXr="·",sXr="⊟",lXr="−",uXr="∸",cXr="⨪",fXr="∓",dXr="⫛",hXr="…",pXr="∓",gXr="⊧",mXr="𝕄",vXr="𝕞",yXr="∓",bXr="𝓂",wXr="ℳ",kXr="∾",_Xr="Μ",CXr="μ",EXr="⊸",xXr="⊸",SXr="∇",AXr="Ń",TXr="ń",DXr="∠⃒",IXr="≉",RXr="⩰̸",MXr="≋̸",OXr="ʼn",LXr="≉",BXr="♮",PXr="ℕ",FXr="♮",NXr=" ",$Xr="≎̸",zXr="≏̸",UXr="⩃",jXr="Ň",HXr="ň",qXr="Ņ",WXr="ņ",GXr="≇",VXr="⩭̸",KXr="⩂",YXr="Н",XXr="н",JXr="–",ZXr="⤤",QXr="↗",eJr="⇗",tJr="↗",nJr="≠",rJr="≐̸",iJr="​",aJr="​",oJr="​",sJr="​",lJr="≢",uJr="⤨",cJr="≂̸",fJr="≫",dJr="≪",hJr=` -`,pJr="∄",gJr="∄",mJr="𝔑",vJr="𝔫",yJr="≧̸",bJr="≱",wJr="≱",kJr="≧̸",_Jr="⩾̸",CJr="⩾̸",EJr="⋙̸",xJr="≵",SJr="≫⃒",AJr="≯",TJr="≯",DJr="≫̸",IJr="↮",RJr="⇎",MJr="⫲",OJr="∋",LJr="⋼",BJr="⋺",PJr="∋",FJr="Њ",NJr="њ",$Jr="↚",zJr="⇍",UJr="‥",jJr="≦̸",HJr="≰",qJr="↚",WJr="⇍",GJr="↮",VJr="⇎",KJr="≰",YJr="≦̸",XJr="⩽̸",JJr="⩽̸",ZJr="≮",QJr="⋘̸",eZr="≴",tZr="≪⃒",nZr="≮",rZr="⋪",iZr="⋬",aZr="≪̸",oZr="∤",sZr="⁠",lZr=" ",uZr="𝕟",cZr="ℕ",fZr="⫬",dZr="¬",hZr="≢",pZr="≭",gZr="∦",mZr="∉",vZr="≠",yZr="≂̸",bZr="∄",wZr="≯",kZr="≱",_Zr="≧̸",CZr="≫̸",EZr="≹",xZr="⩾̸",SZr="≵",AZr="≎̸",TZr="≏̸",DZr="∉",IZr="⋵̸",RZr="⋹̸",MZr="∉",OZr="⋷",LZr="⋶",BZr="⧏̸",PZr="⋪",FZr="⋬",NZr="≮",$Zr="≰",zZr="≸",UZr="≪̸",jZr="⩽̸",HZr="≴",qZr="⪢̸",WZr="⪡̸",GZr="∌",VZr="∌",KZr="⋾",YZr="⋽",XZr="⊀",JZr="⪯̸",ZZr="⋠",QZr="∌",eQr="⧐̸",tQr="⋫",nQr="⋭",rQr="⊏̸",iQr="⋢",aQr="⊐̸",oQr="⋣",sQr="⊂⃒",lQr="⊈",uQr="⊁",cQr="⪰̸",fQr="⋡",dQr="≿̸",hQr="⊃⃒",pQr="⊉",gQr="≁",mQr="≄",vQr="≇",yQr="≉",bQr="∤",wQr="∦",kQr="∦",_Qr="⫽⃥",CQr="∂̸",EQr="⨔",xQr="⊀",SQr="⋠",AQr="⊀",TQr="⪯̸",DQr="⪯̸",IQr="⤳̸",RQr="↛",MQr="⇏",OQr="↝̸",LQr="↛",BQr="⇏",PQr="⋫",FQr="⋭",NQr="⊁",$Qr="⋡",zQr="⪰̸",UQr="𝒩",jQr="𝓃",HQr="∤",qQr="∦",WQr="≁",GQr="≄",VQr="≄",KQr="∤",YQr="∦",XQr="⋢",JQr="⋣",ZQr="⊄",QQr="⫅̸",eei="⊈",tei="⊂⃒",nei="⊈",rei="⫅̸",iei="⊁",aei="⪰̸",oei="⊅",sei="⫆̸",lei="⊉",uei="⊃⃒",cei="⊉",fei="⫆̸",dei="≹",hei="Ñ",pei="ñ",gei="≸",mei="⋪",vei="⋬",yei="⋫",bei="⋭",wei="Ν",kei="ν",_ei="#",Cei="№",Eei=" ",xei="≍⃒",Sei="⊬",Aei="⊭",Tei="⊮",Dei="⊯",Iei="≥⃒",Rei=">⃒",Mei="⤄",Oei="⧞",Lei="⤂",Bei="≤⃒",Pei="<⃒",Fei="⊴⃒",Nei="⤃",$ei="⊵⃒",zei="∼⃒",Uei="⤣",jei="↖",Hei="⇖",qei="↖",Wei="⤧",Gei="Ó",Vei="ó",Kei="⊛",Yei="Ô",Xei="ô",Jei="⊚",Zei="О",Qei="о",eti="⊝",tti="Ő",nti="ő",rti="⨸",iti="⊙",ati="⦼",oti="Œ",sti="œ",lti="⦿",uti="𝔒",cti="𝔬",fti="˛",dti="Ò",hti="ò",pti="⧁",gti="⦵",mti="Ω",vti="∮",yti="↺",bti="⦾",wti="⦻",kti="‾",_ti="⧀",Cti="Ō",Eti="ō",xti="Ω",Sti="ω",Ati="Ο",Tti="ο",Dti="⦶",Iti="⊖",Rti="𝕆",Mti="𝕠",Oti="⦷",Lti="“",Bti="‘",Pti="⦹",Fti="⊕",Nti="↻",$ti="⩔",zti="∨",Uti="⩝",jti="ℴ",Hti="ℴ",qti="ª",Wti="º",Gti="⊶",Vti="⩖",Kti="⩗",Yti="⩛",Xti="Ⓢ",Jti="𝒪",Zti="ℴ",Qti="Ø",eni="ø",tni="⊘",nni="Õ",rni="õ",ini="⨶",ani="⨷",oni="⊗",sni="Ö",lni="ö",uni="⌽",cni="‾",fni="⏞",dni="⎴",hni="⏜",pni="¶",gni="∥",mni="∥",vni="⫳",yni="⫽",bni="∂",wni="∂",kni="П",_ni="п",Cni="%",Eni=".",xni="‰",Sni="⊥",Ani="‱",Tni="𝔓",Dni="𝔭",Ini="Φ",Rni="φ",Mni="ϕ",Oni="ℳ",Lni="☎",Bni="Π",Pni="π",Fni="⋔",Nni="ϖ",$ni="ℏ",zni="ℎ",Uni="ℏ",jni="⨣",Hni="⊞",qni="⨢",Wni="+",Gni="∔",Vni="⨥",Kni="⩲",Yni="±",Xni="±",Jni="⨦",Zni="⨧",Qni="±",eri="ℌ",tri="⨕",nri="𝕡",rri="ℙ",iri="£",ari="⪷",ori="⪻",sri="≺",lri="≼",uri="⪷",cri="≺",fri="≼",dri="≺",hri="⪯",pri="≼",gri="≾",mri="⪯",vri="⪹",yri="⪵",bri="⋨",wri="⪯",kri="⪳",_ri="≾",Cri="′",Eri="″",xri="ℙ",Sri="⪹",Ari="⪵",Tri="⋨",Dri="∏",Iri="∏",Rri="⌮",Mri="⌒",Ori="⌓",Lri="∝",Bri="∝",Pri="∷",Fri="∝",Nri="≾",$ri="⊰",zri="𝒫",Uri="𝓅",jri="Ψ",Hri="ψ",qri=" ",Wri="𝔔",Gri="𝔮",Vri="⨌",Kri="𝕢",Yri="ℚ",Xri="⁗",Jri="𝒬",Zri="𝓆",Qri="ℍ",eii="⨖",tii="?",nii="≟",rii='"',iii='"',aii="⇛",oii="∽̱",sii="Ŕ",lii="ŕ",uii="√",cii="⦳",fii="⟩",dii="⟫",hii="⦒",pii="⦥",gii="⟩",mii="»",vii="⥵",yii="⇥",bii="⤠",wii="⤳",kii="→",_ii="↠",Cii="⇒",Eii="⤞",xii="↪",Sii="↬",Aii="⥅",Tii="⥴",Dii="⤖",Iii="↣",Rii="↝",Mii="⤚",Oii="⤜",Lii="∶",Bii="ℚ",Pii="⤍",Fii="⤏",Nii="⤐",$ii="❳",zii="}",Uii="]",jii="⦌",Hii="⦎",qii="⦐",Wii="Ř",Gii="ř",Vii="Ŗ",Kii="ŗ",Yii="⌉",Xii="}",Jii="Р",Zii="р",Qii="⤷",eai="⥩",tai="”",nai="”",rai="↳",iai="ℜ",aai="ℛ",oai="ℜ",sai="ℝ",lai="ℜ",uai="▭",cai="®",fai="®",dai="∋",hai="⇋",pai="⥯",gai="⥽",mai="⌋",vai="𝔯",yai="ℜ",bai="⥤",wai="⇁",kai="⇀",_ai="⥬",Cai="Ρ",Eai="ρ",xai="ϱ",Sai="⟩",Aai="⇥",Tai="→",Dai="→",Iai="⇒",Rai="⇄",Mai="↣",Oai="⌉",Lai="⟧",Bai="⥝",Pai="⥕",Fai="⇂",Nai="⌋",$ai="⇁",zai="⇀",Uai="⇄",jai="⇌",Hai="⇉",qai="↝",Wai="↦",Gai="⊢",Vai="⥛",Kai="⋌",Yai="⧐",Xai="⊳",Jai="⊵",Zai="⥏",Qai="⥜",eoi="⥔",toi="↾",noi="⥓",roi="⇀",ioi="˚",aoi="≓",ooi="⇄",soi="⇌",loi="‏",uoi="⎱",coi="⎱",foi="⫮",doi="⟭",hoi="⇾",poi="⟧",goi="⦆",moi="𝕣",voi="ℝ",yoi="⨮",boi="⨵",woi="⥰",koi=")",_oi="⦔",Coi="⨒",Eoi="⇉",xoi="⇛",Soi="›",Aoi="𝓇",Toi="ℛ",Doi="↱",Ioi="↱",Roi="]",Moi="’",Ooi="’",Loi="⋌",Boi="⋊",Poi="▹",Foi="⊵",Noi="▸",$oi="⧎",zoi="⧴",Uoi="⥨",joi="℞",Hoi="Ś",qoi="ś",Woi="‚",Goi="⪸",Voi="Š",Koi="š",Yoi="⪼",Xoi="≻",Joi="≽",Zoi="⪰",Qoi="⪴",esi="Ş",tsi="ş",nsi="Ŝ",rsi="ŝ",isi="⪺",asi="⪶",osi="⋩",ssi="⨓",lsi="≿",usi="С",csi="с",fsi="⊡",dsi="⋅",hsi="⩦",psi="⤥",gsi="↘",msi="⇘",vsi="↘",ysi="§",bsi=";",wsi="⤩",ksi="∖",_si="∖",Csi="✶",Esi="𝔖",xsi="𝔰",Ssi="⌢",Asi="♯",Tsi="Щ",Dsi="щ",Isi="Ш",Rsi="ш",Msi="↓",Osi="←",Lsi="∣",Bsi="∥",Psi="→",Fsi="↑",Nsi="­",$si="Σ",zsi="σ",Usi="ς",jsi="ς",Hsi="∼",qsi="⩪",Wsi="≃",Gsi="≃",Vsi="⪞",Ksi="⪠",Ysi="⪝",Xsi="⪟",Jsi="≆",Zsi="⨤",Qsi="⥲",eli="←",tli="∘",nli="∖",rli="⨳",ili="⧤",ali="∣",oli="⌣",sli="⪪",lli="⪬",uli="⪬︀",cli="Ь",fli="ь",dli="⌿",hli="⧄",pli="/",gli="𝕊",mli="𝕤",vli="♠",yli="♠",bli="∥",wli="⊓",kli="⊓︀",_li="⊔",Cli="⊔︀",Eli="√",xli="⊏",Sli="⊑",Ali="⊏",Tli="⊑",Dli="⊐",Ili="⊒",Rli="⊐",Mli="⊒",Oli="□",Lli="□",Bli="⊓",Pli="⊏",Fli="⊑",Nli="⊐",$li="⊒",zli="⊔",Uli="▪",jli="□",Hli="▪",qli="→",Wli="𝒮",Gli="𝓈",Vli="∖",Kli="⌣",Yli="⋆",Xli="⋆",Jli="☆",Zli="★",Qli="ϵ",eui="ϕ",tui="¯",nui="⊂",rui="⋐",iui="⪽",aui="⫅",oui="⊆",sui="⫃",lui="⫁",uui="⫋",cui="⊊",fui="⪿",dui="⥹",hui="⊂",pui="⋐",gui="⊆",mui="⫅",vui="⊆",yui="⊊",bui="⫋",wui="⫇",kui="⫕",_ui="⫓",Cui="⪸",Eui="≻",xui="≽",Sui="≻",Aui="⪰",Tui="≽",Dui="≿",Iui="⪰",Rui="⪺",Mui="⪶",Oui="⋩",Lui="≿",Bui="∋",Pui="∑",Fui="∑",Nui="♪",$ui="¹",zui="²",Uui="³",jui="⊃",Hui="⋑",qui="⪾",Wui="⫘",Gui="⫆",Vui="⊇",Kui="⫄",Yui="⊃",Xui="⊇",Jui="⟉",Zui="⫗",Qui="⥻",eci="⫂",tci="⫌",nci="⊋",rci="⫀",ici="⊃",aci="⋑",oci="⊇",sci="⫆",lci="⊋",uci="⫌",cci="⫈",fci="⫔",dci="⫖",hci="⤦",pci="↙",gci="⇙",mci="↙",vci="⤪",yci="ß",bci=" ",wci="⌖",kci="Τ",_ci="τ",Cci="⎴",Eci="Ť",xci="ť",Sci="Ţ",Aci="ţ",Tci="Т",Dci="т",Ici="⃛",Rci="⌕",Mci="𝔗",Oci="𝔱",Lci="∴",Bci="∴",Pci="∴",Fci="Θ",Nci="θ",$ci="ϑ",zci="ϑ",Uci="≈",jci="∼",Hci="  ",qci=" ",Wci=" ",Gci="≈",Vci="∼",Kci="Þ",Yci="þ",Xci="˜",Jci="∼",Zci="≃",Qci="≅",efi="≈",tfi="⨱",nfi="⊠",rfi="×",ifi="⨰",afi="∭",ofi="⤨",sfi="⌶",lfi="⫱",ufi="⊤",cfi="𝕋",ffi="𝕥",dfi="⫚",hfi="⤩",pfi="‴",gfi="™",mfi="™",vfi="▵",yfi="▿",bfi="◃",wfi="⊴",kfi="≜",_fi="▹",Cfi="⊵",Efi="◬",xfi="≜",Sfi="⨺",Afi="⃛",Tfi="⨹",Dfi="⧍",Ifi="⨻",Rfi="⏢",Mfi="𝒯",Ofi="𝓉",Lfi="Ц",Bfi="ц",Pfi="Ћ",Ffi="ћ",Nfi="Ŧ",$fi="ŧ",zfi="≬",Ufi="↞",jfi="↠",Hfi="Ú",qfi="ú",Wfi="↑",Gfi="↟",Vfi="⇑",Kfi="⥉",Yfi="Ў",Xfi="ў",Jfi="Ŭ",Zfi="ŭ",Qfi="Û",edi="û",tdi="У",ndi="у",rdi="⇅",idi="Ű",adi="ű",odi="⥮",sdi="⥾",ldi="𝔘",udi="𝔲",cdi="Ù",fdi="ù",ddi="⥣",hdi="↿",pdi="↾",gdi="▀",mdi="⌜",vdi="⌜",ydi="⌏",bdi="◸",wdi="Ū",kdi="ū",_di="¨",Cdi="_",Edi="⏟",xdi="⎵",Sdi="⏝",Adi="⋃",Tdi="⊎",Ddi="Ų",Idi="ų",Rdi="𝕌",Mdi="𝕦",Odi="⤒",Ldi="↑",Bdi="↑",Pdi="⇑",Fdi="⇅",Ndi="↕",$di="↕",zdi="⇕",Udi="⥮",jdi="↿",Hdi="↾",qdi="⊎",Wdi="↖",Gdi="↗",Vdi="υ",Kdi="ϒ",Ydi="ϒ",Xdi="Υ",Jdi="υ",Zdi="↥",Qdi="⊥",ehi="⇈",thi="⌝",nhi="⌝",rhi="⌎",ihi="Ů",ahi="ů",ohi="◹",shi="𝒰",lhi="𝓊",uhi="⋰",chi="Ũ",fhi="ũ",dhi="▵",hhi="▴",phi="⇈",ghi="Ü",mhi="ü",vhi="⦧",yhi="⦜",bhi="ϵ",whi="ϰ",khi="∅",_hi="ϕ",Chi="ϖ",Ehi="∝",xhi="↕",Shi="⇕",Ahi="ϱ",Thi="ς",Dhi="⊊︀",Ihi="⫋︀",Rhi="⊋︀",Mhi="⫌︀",Ohi="ϑ",Lhi="⊲",Bhi="⊳",Phi="⫨",Fhi="⫫",Nhi="⫩",$hi="В",zhi="в",Uhi="⊢",jhi="⊨",Hhi="⊩",qhi="⊫",Whi="⫦",Ghi="⊻",Vhi="∨",Khi="⋁",Yhi="≚",Xhi="⋮",Jhi="|",Zhi="‖",Qhi="|",e0i="‖",t0i="∣",n0i="|",r0i="❘",i0i="≀",a0i=" ",o0i="𝔙",s0i="𝔳",l0i="⊲",u0i="⊂⃒",c0i="⊃⃒",f0i="𝕍",d0i="𝕧",h0i="∝",p0i="⊳",g0i="𝒱",m0i="𝓋",v0i="⫋︀",y0i="⊊︀",b0i="⫌︀",w0i="⊋︀",k0i="⊪",_0i="⦚",C0i="Ŵ",E0i="ŵ",x0i="⩟",S0i="∧",A0i="⋀",T0i="≙",D0i="℘",I0i="𝔚",R0i="𝔴",M0i="𝕎",O0i="𝕨",L0i="℘",B0i="≀",P0i="≀",F0i="𝒲",N0i="𝓌",$0i="⋂",z0i="◯",U0i="⋃",j0i="▽",H0i="𝔛",q0i="𝔵",W0i="⟷",G0i="⟺",V0i="Ξ",K0i="ξ",Y0i="⟵",X0i="⟸",J0i="⟼",Z0i="⋻",Q0i="⨀",epi="𝕏",tpi="𝕩",npi="⨁",rpi="⨂",ipi="⟶",api="⟹",opi="𝒳",spi="𝓍",lpi="⨆",upi="⨄",cpi="△",fpi="⋁",dpi="⋀",hpi="Ý",ppi="ý",gpi="Я",mpi="я",vpi="Ŷ",ypi="ŷ",bpi="Ы",wpi="ы",kpi="¥",_pi="𝔜",Cpi="𝔶",Epi="Ї",xpi="ї",Spi="𝕐",Api="𝕪",Tpi="𝒴",Dpi="𝓎",Ipi="Ю",Rpi="ю",Mpi="ÿ",Opi="Ÿ",Lpi="Ź",Bpi="ź",Ppi="Ž",Fpi="ž",Npi="З",$pi="з",zpi="Ż",Upi="ż",jpi="ℨ",Hpi="​",qpi="Ζ",Wpi="ζ",Gpi="𝔷",Vpi="ℨ",Kpi="Ж",Ypi="ж",Xpi="⇝",Jpi="𝕫",Zpi="ℤ",Qpi="𝒵",e1i="𝓏",t1i="‍",n1i="‌",r1i={Aacute:zIr,aacute:UIr,Abreve:jIr,abreve:HIr,ac:qIr,acd:WIr,acE:GIr,Acirc:VIr,acirc:KIr,acute:YIr,Acy:XIr,acy:JIr,AElig:ZIr,aelig:QIr,af:eRr,Afr:tRr,afr:nRr,Agrave:rRr,agrave:iRr,alefsym:aRr,aleph:oRr,Alpha:sRr,alpha:lRr,Amacr:uRr,amacr:cRr,amalg:fRr,amp:dRr,AMP:hRr,andand:pRr,And:gRr,and:mRr,andd:vRr,andslope:yRr,andv:bRr,ang:wRr,ange:kRr,angle:_Rr,angmsdaa:CRr,angmsdab:ERr,angmsdac:xRr,angmsdad:SRr,angmsdae:ARr,angmsdaf:TRr,angmsdag:DRr,angmsdah:IRr,angmsd:RRr,angrt:MRr,angrtvb:ORr,angrtvbd:LRr,angsph:BRr,angst:PRr,angzarr:FRr,Aogon:NRr,aogon:$Rr,Aopf:zRr,aopf:URr,apacir:jRr,ap:HRr,apE:qRr,ape:WRr,apid:GRr,apos:VRr,ApplyFunction:KRr,approx:YRr,approxeq:XRr,Aring:JRr,aring:ZRr,Ascr:QRr,ascr:eMr,Assign:tMr,ast:nMr,asymp:rMr,asympeq:iMr,Atilde:aMr,atilde:oMr,Auml:sMr,auml:lMr,awconint:uMr,awint:cMr,backcong:fMr,backepsilon:dMr,backprime:hMr,backsim:pMr,backsimeq:gMr,Backslash:mMr,Barv:vMr,barvee:yMr,barwed:bMr,Barwed:wMr,barwedge:kMr,bbrk:_Mr,bbrktbrk:CMr,bcong:EMr,Bcy:xMr,bcy:SMr,bdquo:AMr,becaus:TMr,because:DMr,Because:IMr,bemptyv:RMr,bepsi:MMr,bernou:OMr,Bernoullis:LMr,Beta:BMr,beta:PMr,beth:FMr,between:NMr,Bfr:$Mr,bfr:zMr,bigcap:UMr,bigcirc:jMr,bigcup:HMr,bigodot:qMr,bigoplus:WMr,bigotimes:GMr,bigsqcup:VMr,bigstar:KMr,bigtriangledown:YMr,bigtriangleup:XMr,biguplus:JMr,bigvee:ZMr,bigwedge:QMr,bkarow:eOr,blacklozenge:tOr,blacksquare:nOr,blacktriangle:rOr,blacktriangledown:iOr,blacktriangleleft:aOr,blacktriangleright:oOr,blank:sOr,blk12:lOr,blk14:uOr,blk34:cOr,block:fOr,bne:dOr,bnequiv:hOr,bNot:pOr,bnot:gOr,Bopf:mOr,bopf:vOr,bot:yOr,bottom:bOr,bowtie:wOr,boxbox:kOr,boxdl:_Or,boxdL:COr,boxDl:EOr,boxDL:xOr,boxdr:SOr,boxdR:AOr,boxDr:TOr,boxDR:DOr,boxh:IOr,boxH:ROr,boxhd:MOr,boxHd:OOr,boxhD:LOr,boxHD:BOr,boxhu:POr,boxHu:FOr,boxhU:NOr,boxHU:$Or,boxminus:zOr,boxplus:UOr,boxtimes:jOr,boxul:HOr,boxuL:qOr,boxUl:WOr,boxUL:GOr,boxur:VOr,boxuR:KOr,boxUr:YOr,boxUR:XOr,boxv:JOr,boxV:ZOr,boxvh:QOr,boxvH:eLr,boxVh:tLr,boxVH:nLr,boxvl:rLr,boxvL:iLr,boxVl:aLr,boxVL:oLr,boxvr:sLr,boxvR:lLr,boxVr:uLr,boxVR:cLr,bprime:fLr,breve:dLr,Breve:hLr,brvbar:pLr,bscr:gLr,Bscr:mLr,bsemi:vLr,bsim:yLr,bsime:bLr,bsolb:wLr,bsol:kLr,bsolhsub:_Lr,bull:CLr,bullet:ELr,bump:xLr,bumpE:SLr,bumpe:ALr,Bumpeq:TLr,bumpeq:DLr,Cacute:ILr,cacute:RLr,capand:MLr,capbrcup:OLr,capcap:LLr,cap:BLr,Cap:PLr,capcup:FLr,capdot:NLr,CapitalDifferentialD:$Lr,caps:zLr,caret:ULr,caron:jLr,Cayleys:HLr,ccaps:qLr,Ccaron:WLr,ccaron:GLr,Ccedil:VLr,ccedil:KLr,Ccirc:YLr,ccirc:XLr,Cconint:JLr,ccups:ZLr,ccupssm:QLr,Cdot:eBr,cdot:tBr,cedil:nBr,Cedilla:rBr,cemptyv:iBr,cent:aBr,centerdot:oBr,CenterDot:sBr,cfr:lBr,Cfr:uBr,CHcy:cBr,chcy:fBr,check:dBr,checkmark:hBr,Chi:pBr,chi:gBr,circ:mBr,circeq:vBr,circlearrowleft:yBr,circlearrowright:bBr,circledast:wBr,circledcirc:kBr,circleddash:_Br,CircleDot:CBr,circledR:EBr,circledS:xBr,CircleMinus:SBr,CirclePlus:ABr,CircleTimes:TBr,cir:DBr,cirE:IBr,cire:RBr,cirfnint:MBr,cirmid:OBr,cirscir:LBr,ClockwiseContourIntegral:BBr,CloseCurlyDoubleQuote:PBr,CloseCurlyQuote:FBr,clubs:NBr,clubsuit:$Br,colon:zBr,Colon:UBr,Colone:jBr,colone:HBr,coloneq:qBr,comma:WBr,commat:GBr,comp:VBr,compfn:KBr,complement:YBr,complexes:XBr,cong:JBr,congdot:ZBr,Congruent:QBr,conint:ePr,Conint:tPr,ContourIntegral:nPr,copf:rPr,Copf:iPr,coprod:aPr,Coproduct:oPr,copy:sPr,COPY:lPr,copysr:uPr,CounterClockwiseContourIntegral:cPr,crarr:fPr,cross:dPr,Cross:hPr,Cscr:pPr,cscr:gPr,csub:mPr,csube:vPr,csup:yPr,csupe:bPr,ctdot:wPr,cudarrl:kPr,cudarrr:_Pr,cuepr:CPr,cuesc:EPr,cularr:xPr,cularrp:SPr,cupbrcap:APr,cupcap:TPr,CupCap:DPr,cup:IPr,Cup:RPr,cupcup:MPr,cupdot:OPr,cupor:LPr,cups:BPr,curarr:PPr,curarrm:FPr,curlyeqprec:NPr,curlyeqsucc:$Pr,curlyvee:zPr,curlywedge:UPr,curren:jPr,curvearrowleft:HPr,curvearrowright:qPr,cuvee:WPr,cuwed:GPr,cwconint:VPr,cwint:KPr,cylcty:YPr,dagger:XPr,Dagger:JPr,daleth:ZPr,darr:QPr,Darr:eFr,dArr:tFr,dash:nFr,Dashv:rFr,dashv:iFr,dbkarow:aFr,dblac:oFr,Dcaron:sFr,dcaron:lFr,Dcy:uFr,dcy:cFr,ddagger:fFr,ddarr:dFr,DD:hFr,dd:pFr,DDotrahd:gFr,ddotseq:mFr,deg:vFr,Del:yFr,Delta:bFr,delta:wFr,demptyv:kFr,dfisht:_Fr,Dfr:CFr,dfr:EFr,dHar:xFr,dharl:SFr,dharr:AFr,DiacriticalAcute:TFr,DiacriticalDot:DFr,DiacriticalDoubleAcute:IFr,DiacriticalGrave:RFr,DiacriticalTilde:MFr,diam:OFr,diamond:LFr,Diamond:BFr,diamondsuit:PFr,diams:FFr,die:NFr,DifferentialD:$Fr,digamma:zFr,disin:UFr,div:jFr,divide:HFr,divideontimes:qFr,divonx:WFr,DJcy:GFr,djcy:VFr,dlcorn:KFr,dlcrop:YFr,dollar:XFr,Dopf:JFr,dopf:ZFr,Dot:QFr,dot:eNr,DotDot:tNr,doteq:nNr,doteqdot:rNr,DotEqual:iNr,dotminus:aNr,dotplus:oNr,dotsquare:sNr,doublebarwedge:lNr,DoubleContourIntegral:uNr,DoubleDot:cNr,DoubleDownArrow:fNr,DoubleLeftArrow:dNr,DoubleLeftRightArrow:hNr,DoubleLeftTee:pNr,DoubleLongLeftArrow:gNr,DoubleLongLeftRightArrow:mNr,DoubleLongRightArrow:vNr,DoubleRightArrow:yNr,DoubleRightTee:bNr,DoubleUpArrow:wNr,DoubleUpDownArrow:kNr,DoubleVerticalBar:_Nr,DownArrowBar:CNr,downarrow:ENr,DownArrow:xNr,Downarrow:SNr,DownArrowUpArrow:ANr,DownBreve:TNr,downdownarrows:DNr,downharpoonleft:INr,downharpoonright:RNr,DownLeftRightVector:MNr,DownLeftTeeVector:ONr,DownLeftVectorBar:LNr,DownLeftVector:BNr,DownRightTeeVector:PNr,DownRightVectorBar:FNr,DownRightVector:NNr,DownTeeArrow:$Nr,DownTee:zNr,drbkarow:UNr,drcorn:jNr,drcrop:HNr,Dscr:qNr,dscr:WNr,DScy:GNr,dscy:VNr,dsol:KNr,Dstrok:YNr,dstrok:XNr,dtdot:JNr,dtri:ZNr,dtrif:QNr,duarr:e$r,duhar:t$r,dwangle:n$r,DZcy:r$r,dzcy:i$r,dzigrarr:a$r,Eacute:o$r,eacute:s$r,easter:l$r,Ecaron:u$r,ecaron:c$r,Ecirc:f$r,ecirc:d$r,ecir:h$r,ecolon:p$r,Ecy:g$r,ecy:m$r,eDDot:v$r,Edot:y$r,edot:b$r,eDot:w$r,ee:k$r,efDot:_$r,Efr:C$r,efr:E$r,eg:x$r,Egrave:S$r,egrave:A$r,egs:T$r,egsdot:D$r,el:I$r,Element:R$r,elinters:M$r,ell:O$r,els:L$r,elsdot:B$r,Emacr:P$r,emacr:F$r,empty:N$r,emptyset:$$r,EmptySmallSquare:z$r,emptyv:U$r,EmptyVerySmallSquare:j$r,emsp13:H$r,emsp14:q$r,emsp:W$r,ENG:G$r,eng:V$r,ensp:K$r,Eogon:Y$r,eogon:X$r,Eopf:J$r,eopf:Z$r,epar:Q$r,eparsl:ezr,eplus:tzr,epsi:nzr,Epsilon:rzr,epsilon:izr,epsiv:azr,eqcirc:ozr,eqcolon:szr,eqsim:lzr,eqslantgtr:uzr,eqslantless:czr,Equal:fzr,equals:dzr,EqualTilde:hzr,equest:pzr,Equilibrium:gzr,equiv:mzr,equivDD:vzr,eqvparsl:yzr,erarr:bzr,erDot:wzr,escr:kzr,Escr:_zr,esdot:Czr,Esim:Ezr,esim:xzr,Eta:Szr,eta:Azr,ETH:Tzr,eth:Dzr,Euml:Izr,euml:Rzr,euro:Mzr,excl:Ozr,exist:Lzr,Exists:Bzr,expectation:Pzr,exponentiale:Fzr,ExponentialE:Nzr,fallingdotseq:$zr,Fcy:zzr,fcy:Uzr,female:jzr,ffilig:Hzr,fflig:qzr,ffllig:Wzr,Ffr:Gzr,ffr:Vzr,filig:Kzr,FilledSmallSquare:Yzr,FilledVerySmallSquare:Xzr,fjlig:Jzr,flat:Zzr,fllig:Qzr,fltns:eUr,fnof:tUr,Fopf:nUr,fopf:rUr,forall:iUr,ForAll:aUr,fork:oUr,forkv:sUr,Fouriertrf:lUr,fpartint:uUr,frac12:cUr,frac13:fUr,frac14:dUr,frac15:hUr,frac16:pUr,frac18:gUr,frac23:mUr,frac25:vUr,frac34:yUr,frac35:bUr,frac38:wUr,frac45:kUr,frac56:_Ur,frac58:CUr,frac78:EUr,frasl:xUr,frown:SUr,fscr:AUr,Fscr:TUr,gacute:DUr,Gamma:IUr,gamma:RUr,Gammad:MUr,gammad:OUr,gap:LUr,Gbreve:BUr,gbreve:PUr,Gcedil:FUr,Gcirc:NUr,gcirc:$Ur,Gcy:zUr,gcy:UUr,Gdot:jUr,gdot:HUr,ge:qUr,gE:WUr,gEl:GUr,gel:VUr,geq:KUr,geqq:YUr,geqslant:XUr,gescc:JUr,ges:ZUr,gesdot:QUr,gesdoto:ejr,gesdotol:tjr,gesl:njr,gesles:rjr,Gfr:ijr,gfr:ajr,gg:ojr,Gg:sjr,ggg:ljr,gimel:ujr,GJcy:cjr,gjcy:fjr,gla:djr,gl:hjr,glE:pjr,glj:gjr,gnap:mjr,gnapprox:vjr,gne:yjr,gnE:bjr,gneq:wjr,gneqq:kjr,gnsim:_jr,Gopf:Cjr,gopf:Ejr,grave:xjr,GreaterEqual:Sjr,GreaterEqualLess:Ajr,GreaterFullEqual:Tjr,GreaterGreater:Djr,GreaterLess:Ijr,GreaterSlantEqual:Rjr,GreaterTilde:Mjr,Gscr:Ojr,gscr:Ljr,gsim:Bjr,gsime:Pjr,gsiml:Fjr,gtcc:Njr,gtcir:$jr,gt:zjr,GT:Ujr,Gt:jjr,gtdot:Hjr,gtlPar:qjr,gtquest:Wjr,gtrapprox:Gjr,gtrarr:Vjr,gtrdot:Kjr,gtreqless:Yjr,gtreqqless:Xjr,gtrless:Jjr,gtrsim:Zjr,gvertneqq:Qjr,gvnE:eHr,Hacek:tHr,hairsp:nHr,half:rHr,hamilt:iHr,HARDcy:aHr,hardcy:oHr,harrcir:sHr,harr:lHr,hArr:uHr,harrw:cHr,Hat:fHr,hbar:dHr,Hcirc:hHr,hcirc:pHr,hearts:gHr,heartsuit:mHr,hellip:vHr,hercon:yHr,hfr:bHr,Hfr:wHr,HilbertSpace:kHr,hksearow:_Hr,hkswarow:CHr,hoarr:EHr,homtht:xHr,hookleftarrow:SHr,hookrightarrow:AHr,hopf:THr,Hopf:DHr,horbar:IHr,HorizontalLine:RHr,hscr:MHr,Hscr:OHr,hslash:LHr,Hstrok:BHr,hstrok:PHr,HumpDownHump:FHr,HumpEqual:NHr,hybull:$Hr,hyphen:zHr,Iacute:UHr,iacute:jHr,ic:HHr,Icirc:qHr,icirc:WHr,Icy:GHr,icy:VHr,Idot:KHr,IEcy:YHr,iecy:XHr,iexcl:JHr,iff:ZHr,ifr:QHr,Ifr:eqr,Igrave:tqr,igrave:nqr,ii:rqr,iiiint:iqr,iiint:aqr,iinfin:oqr,iiota:sqr,IJlig:lqr,ijlig:uqr,Imacr:cqr,imacr:fqr,image:dqr,ImaginaryI:hqr,imagline:pqr,imagpart:gqr,imath:mqr,Im:vqr,imof:yqr,imped:bqr,Implies:wqr,incare:kqr,in:"∈",infin:_qr,infintie:Cqr,inodot:Eqr,intcal:xqr,int:Sqr,Int:Aqr,integers:Tqr,Integral:Dqr,intercal:Iqr,Intersection:Rqr,intlarhk:Mqr,intprod:Oqr,InvisibleComma:Lqr,InvisibleTimes:Bqr,IOcy:Pqr,iocy:Fqr,Iogon:Nqr,iogon:$qr,Iopf:zqr,iopf:Uqr,Iota:jqr,iota:Hqr,iprod:qqr,iquest:Wqr,iscr:Gqr,Iscr:Vqr,isin:Kqr,isindot:Yqr,isinE:Xqr,isins:Jqr,isinsv:Zqr,isinv:Qqr,it:eWr,Itilde:tWr,itilde:nWr,Iukcy:rWr,iukcy:iWr,Iuml:aWr,iuml:oWr,Jcirc:sWr,jcirc:lWr,Jcy:uWr,jcy:cWr,Jfr:fWr,jfr:dWr,jmath:hWr,Jopf:pWr,jopf:gWr,Jscr:mWr,jscr:vWr,Jsercy:yWr,jsercy:bWr,Jukcy:wWr,jukcy:kWr,Kappa:_Wr,kappa:CWr,kappav:EWr,Kcedil:xWr,kcedil:SWr,Kcy:AWr,kcy:TWr,Kfr:DWr,kfr:IWr,kgreen:RWr,KHcy:MWr,khcy:OWr,KJcy:LWr,kjcy:BWr,Kopf:PWr,kopf:FWr,Kscr:NWr,kscr:$Wr,lAarr:zWr,Lacute:UWr,lacute:jWr,laemptyv:HWr,lagran:qWr,Lambda:WWr,lambda:GWr,lang:VWr,Lang:KWr,langd:YWr,langle:XWr,lap:JWr,Laplacetrf:ZWr,laquo:QWr,larrb:eGr,larrbfs:tGr,larr:nGr,Larr:rGr,lArr:iGr,larrfs:aGr,larrhk:oGr,larrlp:sGr,larrpl:lGr,larrsim:uGr,larrtl:cGr,latail:fGr,lAtail:dGr,lat:hGr,late:pGr,lates:gGr,lbarr:mGr,lBarr:vGr,lbbrk:yGr,lbrace:bGr,lbrack:wGr,lbrke:kGr,lbrksld:_Gr,lbrkslu:CGr,Lcaron:EGr,lcaron:xGr,Lcedil:SGr,lcedil:AGr,lceil:TGr,lcub:DGr,Lcy:IGr,lcy:RGr,ldca:MGr,ldquo:OGr,ldquor:LGr,ldrdhar:BGr,ldrushar:PGr,ldsh:FGr,le:NGr,lE:$Gr,LeftAngleBracket:zGr,LeftArrowBar:UGr,leftarrow:jGr,LeftArrow:HGr,Leftarrow:qGr,LeftArrowRightArrow:WGr,leftarrowtail:GGr,LeftCeiling:VGr,LeftDoubleBracket:KGr,LeftDownTeeVector:YGr,LeftDownVectorBar:XGr,LeftDownVector:JGr,LeftFloor:ZGr,leftharpoondown:QGr,leftharpoonup:eVr,leftleftarrows:tVr,leftrightarrow:nVr,LeftRightArrow:rVr,Leftrightarrow:iVr,leftrightarrows:aVr,leftrightharpoons:oVr,leftrightsquigarrow:sVr,LeftRightVector:lVr,LeftTeeArrow:uVr,LeftTee:cVr,LeftTeeVector:fVr,leftthreetimes:dVr,LeftTriangleBar:hVr,LeftTriangle:pVr,LeftTriangleEqual:gVr,LeftUpDownVector:mVr,LeftUpTeeVector:vVr,LeftUpVectorBar:yVr,LeftUpVector:bVr,LeftVectorBar:wVr,LeftVector:kVr,lEg:_Vr,leg:CVr,leq:EVr,leqq:xVr,leqslant:SVr,lescc:AVr,les:TVr,lesdot:DVr,lesdoto:IVr,lesdotor:RVr,lesg:MVr,lesges:OVr,lessapprox:LVr,lessdot:BVr,lesseqgtr:PVr,lesseqqgtr:FVr,LessEqualGreater:NVr,LessFullEqual:$Vr,LessGreater:zVr,lessgtr:UVr,LessLess:jVr,lesssim:HVr,LessSlantEqual:qVr,LessTilde:WVr,lfisht:GVr,lfloor:VVr,Lfr:KVr,lfr:YVr,lg:XVr,lgE:JVr,lHar:ZVr,lhard:QVr,lharu:eKr,lharul:tKr,lhblk:nKr,LJcy:rKr,ljcy:iKr,llarr:aKr,ll:oKr,Ll:sKr,llcorner:lKr,Lleftarrow:uKr,llhard:cKr,lltri:fKr,Lmidot:dKr,lmidot:hKr,lmoustache:pKr,lmoust:gKr,lnap:mKr,lnapprox:vKr,lne:yKr,lnE:bKr,lneq:wKr,lneqq:kKr,lnsim:_Kr,loang:CKr,loarr:EKr,lobrk:xKr,longleftarrow:SKr,LongLeftArrow:AKr,Longleftarrow:TKr,longleftrightarrow:DKr,LongLeftRightArrow:IKr,Longleftrightarrow:RKr,longmapsto:MKr,longrightarrow:OKr,LongRightArrow:LKr,Longrightarrow:BKr,looparrowleft:PKr,looparrowright:FKr,lopar:NKr,Lopf:$Kr,lopf:zKr,loplus:UKr,lotimes:jKr,lowast:HKr,lowbar:qKr,LowerLeftArrow:WKr,LowerRightArrow:GKr,loz:VKr,lozenge:KKr,lozf:YKr,lpar:XKr,lparlt:JKr,lrarr:ZKr,lrcorner:QKr,lrhar:eYr,lrhard:tYr,lrm:nYr,lrtri:rYr,lsaquo:iYr,lscr:aYr,Lscr:oYr,lsh:sYr,Lsh:lYr,lsim:uYr,lsime:cYr,lsimg:fYr,lsqb:dYr,lsquo:hYr,lsquor:pYr,Lstrok:gYr,lstrok:mYr,ltcc:vYr,ltcir:yYr,lt:bYr,LT:wYr,Lt:kYr,ltdot:_Yr,lthree:CYr,ltimes:EYr,ltlarr:xYr,ltquest:SYr,ltri:AYr,ltrie:TYr,ltrif:DYr,ltrPar:IYr,lurdshar:RYr,luruhar:MYr,lvertneqq:OYr,lvnE:LYr,macr:BYr,male:PYr,malt:FYr,maltese:NYr,Map:"⤅",map:$Yr,mapsto:zYr,mapstodown:UYr,mapstoleft:jYr,mapstoup:HYr,marker:qYr,mcomma:WYr,Mcy:GYr,mcy:VYr,mdash:KYr,mDDot:YYr,measuredangle:XYr,MediumSpace:JYr,Mellintrf:ZYr,Mfr:QYr,mfr:eXr,mho:tXr,micro:nXr,midast:rXr,midcir:iXr,mid:aXr,middot:oXr,minusb:sXr,minus:lXr,minusd:uXr,minusdu:cXr,MinusPlus:fXr,mlcp:dXr,mldr:hXr,mnplus:pXr,models:gXr,Mopf:mXr,mopf:vXr,mp:yXr,mscr:bXr,Mscr:wXr,mstpos:kXr,Mu:_Xr,mu:CXr,multimap:EXr,mumap:xXr,nabla:SXr,Nacute:AXr,nacute:TXr,nang:DXr,nap:IXr,napE:RXr,napid:MXr,napos:OXr,napprox:LXr,natural:BXr,naturals:PXr,natur:FXr,nbsp:NXr,nbump:$Xr,nbumpe:zXr,ncap:UXr,Ncaron:jXr,ncaron:HXr,Ncedil:qXr,ncedil:WXr,ncong:GXr,ncongdot:VXr,ncup:KXr,Ncy:YXr,ncy:XXr,ndash:JXr,nearhk:ZXr,nearr:QXr,neArr:eJr,nearrow:tJr,ne:nJr,nedot:rJr,NegativeMediumSpace:iJr,NegativeThickSpace:aJr,NegativeThinSpace:oJr,NegativeVeryThinSpace:sJr,nequiv:lJr,nesear:uJr,nesim:cJr,NestedGreaterGreater:fJr,NestedLessLess:dJr,NewLine:hJr,nexist:pJr,nexists:gJr,Nfr:mJr,nfr:vJr,ngE:yJr,nge:bJr,ngeq:wJr,ngeqq:kJr,ngeqslant:_Jr,nges:CJr,nGg:EJr,ngsim:xJr,nGt:SJr,ngt:AJr,ngtr:TJr,nGtv:DJr,nharr:IJr,nhArr:RJr,nhpar:MJr,ni:OJr,nis:LJr,nisd:BJr,niv:PJr,NJcy:FJr,njcy:NJr,nlarr:$Jr,nlArr:zJr,nldr:UJr,nlE:jJr,nle:HJr,nleftarrow:qJr,nLeftarrow:WJr,nleftrightarrow:GJr,nLeftrightarrow:VJr,nleq:KJr,nleqq:YJr,nleqslant:XJr,nles:JJr,nless:ZJr,nLl:QJr,nlsim:eZr,nLt:tZr,nlt:nZr,nltri:rZr,nltrie:iZr,nLtv:aZr,nmid:oZr,NoBreak:sZr,NonBreakingSpace:lZr,nopf:uZr,Nopf:cZr,Not:fZr,not:dZr,NotCongruent:hZr,NotCupCap:pZr,NotDoubleVerticalBar:gZr,NotElement:mZr,NotEqual:vZr,NotEqualTilde:yZr,NotExists:bZr,NotGreater:wZr,NotGreaterEqual:kZr,NotGreaterFullEqual:_Zr,NotGreaterGreater:CZr,NotGreaterLess:EZr,NotGreaterSlantEqual:xZr,NotGreaterTilde:SZr,NotHumpDownHump:AZr,NotHumpEqual:TZr,notin:DZr,notindot:IZr,notinE:RZr,notinva:MZr,notinvb:OZr,notinvc:LZr,NotLeftTriangleBar:BZr,NotLeftTriangle:PZr,NotLeftTriangleEqual:FZr,NotLess:NZr,NotLessEqual:$Zr,NotLessGreater:zZr,NotLessLess:UZr,NotLessSlantEqual:jZr,NotLessTilde:HZr,NotNestedGreaterGreater:qZr,NotNestedLessLess:WZr,notni:GZr,notniva:VZr,notnivb:KZr,notnivc:YZr,NotPrecedes:XZr,NotPrecedesEqual:JZr,NotPrecedesSlantEqual:ZZr,NotReverseElement:QZr,NotRightTriangleBar:eQr,NotRightTriangle:tQr,NotRightTriangleEqual:nQr,NotSquareSubset:rQr,NotSquareSubsetEqual:iQr,NotSquareSuperset:aQr,NotSquareSupersetEqual:oQr,NotSubset:sQr,NotSubsetEqual:lQr,NotSucceeds:uQr,NotSucceedsEqual:cQr,NotSucceedsSlantEqual:fQr,NotSucceedsTilde:dQr,NotSuperset:hQr,NotSupersetEqual:pQr,NotTilde:gQr,NotTildeEqual:mQr,NotTildeFullEqual:vQr,NotTildeTilde:yQr,NotVerticalBar:bQr,nparallel:wQr,npar:kQr,nparsl:_Qr,npart:CQr,npolint:EQr,npr:xQr,nprcue:SQr,nprec:AQr,npreceq:TQr,npre:DQr,nrarrc:IQr,nrarr:RQr,nrArr:MQr,nrarrw:OQr,nrightarrow:LQr,nRightarrow:BQr,nrtri:PQr,nrtrie:FQr,nsc:NQr,nsccue:$Qr,nsce:zQr,Nscr:UQr,nscr:jQr,nshortmid:HQr,nshortparallel:qQr,nsim:WQr,nsime:GQr,nsimeq:VQr,nsmid:KQr,nspar:YQr,nsqsube:XQr,nsqsupe:JQr,nsub:ZQr,nsubE:QQr,nsube:eei,nsubset:tei,nsubseteq:nei,nsubseteqq:rei,nsucc:iei,nsucceq:aei,nsup:oei,nsupE:sei,nsupe:lei,nsupset:uei,nsupseteq:cei,nsupseteqq:fei,ntgl:dei,Ntilde:hei,ntilde:pei,ntlg:gei,ntriangleleft:mei,ntrianglelefteq:vei,ntriangleright:yei,ntrianglerighteq:bei,Nu:wei,nu:kei,num:_ei,numero:Cei,numsp:Eei,nvap:xei,nvdash:Sei,nvDash:Aei,nVdash:Tei,nVDash:Dei,nvge:Iei,nvgt:Rei,nvHarr:Mei,nvinfin:Oei,nvlArr:Lei,nvle:Bei,nvlt:Pei,nvltrie:Fei,nvrArr:Nei,nvrtrie:$ei,nvsim:zei,nwarhk:Uei,nwarr:jei,nwArr:Hei,nwarrow:qei,nwnear:Wei,Oacute:Gei,oacute:Vei,oast:Kei,Ocirc:Yei,ocirc:Xei,ocir:Jei,Ocy:Zei,ocy:Qei,odash:eti,Odblac:tti,odblac:nti,odiv:rti,odot:iti,odsold:ati,OElig:oti,oelig:sti,ofcir:lti,Ofr:uti,ofr:cti,ogon:fti,Ograve:dti,ograve:hti,ogt:pti,ohbar:gti,ohm:mti,oint:vti,olarr:yti,olcir:bti,olcross:wti,oline:kti,olt:_ti,Omacr:Cti,omacr:Eti,Omega:xti,omega:Sti,Omicron:Ati,omicron:Tti,omid:Dti,ominus:Iti,Oopf:Rti,oopf:Mti,opar:Oti,OpenCurlyDoubleQuote:Lti,OpenCurlyQuote:Bti,operp:Pti,oplus:Fti,orarr:Nti,Or:$ti,or:zti,ord:Uti,order:jti,orderof:Hti,ordf:qti,ordm:Wti,origof:Gti,oror:Vti,orslope:Kti,orv:Yti,oS:Xti,Oscr:Jti,oscr:Zti,Oslash:Qti,oslash:eni,osol:tni,Otilde:nni,otilde:rni,otimesas:ini,Otimes:ani,otimes:oni,Ouml:sni,ouml:lni,ovbar:uni,OverBar:cni,OverBrace:fni,OverBracket:dni,OverParenthesis:hni,para:pni,parallel:gni,par:mni,parsim:vni,parsl:yni,part:bni,PartialD:wni,Pcy:kni,pcy:_ni,percnt:Cni,period:Eni,permil:xni,perp:Sni,pertenk:Ani,Pfr:Tni,pfr:Dni,Phi:Ini,phi:Rni,phiv:Mni,phmmat:Oni,phone:Lni,Pi:Bni,pi:Pni,pitchfork:Fni,piv:Nni,planck:$ni,planckh:zni,plankv:Uni,plusacir:jni,plusb:Hni,pluscir:qni,plus:Wni,plusdo:Gni,plusdu:Vni,pluse:Kni,PlusMinus:Yni,plusmn:Xni,plussim:Jni,plustwo:Zni,pm:Qni,Poincareplane:eri,pointint:tri,popf:nri,Popf:rri,pound:iri,prap:ari,Pr:ori,pr:sri,prcue:lri,precapprox:uri,prec:cri,preccurlyeq:fri,Precedes:dri,PrecedesEqual:hri,PrecedesSlantEqual:pri,PrecedesTilde:gri,preceq:mri,precnapprox:vri,precneqq:yri,precnsim:bri,pre:wri,prE:kri,precsim:_ri,prime:Cri,Prime:Eri,primes:xri,prnap:Sri,prnE:Ari,prnsim:Tri,prod:Dri,Product:Iri,profalar:Rri,profline:Mri,profsurf:Ori,prop:Lri,Proportional:Bri,Proportion:Pri,propto:Fri,prsim:Nri,prurel:$ri,Pscr:zri,pscr:Uri,Psi:jri,psi:Hri,puncsp:qri,Qfr:Wri,qfr:Gri,qint:Vri,qopf:Kri,Qopf:Yri,qprime:Xri,Qscr:Jri,qscr:Zri,quaternions:Qri,quatint:eii,quest:tii,questeq:nii,quot:rii,QUOT:iii,rAarr:aii,race:oii,Racute:sii,racute:lii,radic:uii,raemptyv:cii,rang:fii,Rang:dii,rangd:hii,range:pii,rangle:gii,raquo:mii,rarrap:vii,rarrb:yii,rarrbfs:bii,rarrc:wii,rarr:kii,Rarr:_ii,rArr:Cii,rarrfs:Eii,rarrhk:xii,rarrlp:Sii,rarrpl:Aii,rarrsim:Tii,Rarrtl:Dii,rarrtl:Iii,rarrw:Rii,ratail:Mii,rAtail:Oii,ratio:Lii,rationals:Bii,rbarr:Pii,rBarr:Fii,RBarr:Nii,rbbrk:$ii,rbrace:zii,rbrack:Uii,rbrke:jii,rbrksld:Hii,rbrkslu:qii,Rcaron:Wii,rcaron:Gii,Rcedil:Vii,rcedil:Kii,rceil:Yii,rcub:Xii,Rcy:Jii,rcy:Zii,rdca:Qii,rdldhar:eai,rdquo:tai,rdquor:nai,rdsh:rai,real:iai,realine:aai,realpart:oai,reals:sai,Re:lai,rect:uai,reg:cai,REG:fai,ReverseElement:dai,ReverseEquilibrium:hai,ReverseUpEquilibrium:pai,rfisht:gai,rfloor:mai,rfr:vai,Rfr:yai,rHar:bai,rhard:wai,rharu:kai,rharul:_ai,Rho:Cai,rho:Eai,rhov:xai,RightAngleBracket:Sai,RightArrowBar:Aai,rightarrow:Tai,RightArrow:Dai,Rightarrow:Iai,RightArrowLeftArrow:Rai,rightarrowtail:Mai,RightCeiling:Oai,RightDoubleBracket:Lai,RightDownTeeVector:Bai,RightDownVectorBar:Pai,RightDownVector:Fai,RightFloor:Nai,rightharpoondown:$ai,rightharpoonup:zai,rightleftarrows:Uai,rightleftharpoons:jai,rightrightarrows:Hai,rightsquigarrow:qai,RightTeeArrow:Wai,RightTee:Gai,RightTeeVector:Vai,rightthreetimes:Kai,RightTriangleBar:Yai,RightTriangle:Xai,RightTriangleEqual:Jai,RightUpDownVector:Zai,RightUpTeeVector:Qai,RightUpVectorBar:eoi,RightUpVector:toi,RightVectorBar:noi,RightVector:roi,ring:ioi,risingdotseq:aoi,rlarr:ooi,rlhar:soi,rlm:loi,rmoustache:uoi,rmoust:coi,rnmid:foi,roang:doi,roarr:hoi,robrk:poi,ropar:goi,ropf:moi,Ropf:voi,roplus:yoi,rotimes:boi,RoundImplies:woi,rpar:koi,rpargt:_oi,rppolint:Coi,rrarr:Eoi,Rrightarrow:xoi,rsaquo:Soi,rscr:Aoi,Rscr:Toi,rsh:Doi,Rsh:Ioi,rsqb:Roi,rsquo:Moi,rsquor:Ooi,rthree:Loi,rtimes:Boi,rtri:Poi,rtrie:Foi,rtrif:Noi,rtriltri:$oi,RuleDelayed:zoi,ruluhar:Uoi,rx:joi,Sacute:Hoi,sacute:qoi,sbquo:Woi,scap:Goi,Scaron:Voi,scaron:Koi,Sc:Yoi,sc:Xoi,sccue:Joi,sce:Zoi,scE:Qoi,Scedil:esi,scedil:tsi,Scirc:nsi,scirc:rsi,scnap:isi,scnE:asi,scnsim:osi,scpolint:ssi,scsim:lsi,Scy:usi,scy:csi,sdotb:fsi,sdot:dsi,sdote:hsi,searhk:psi,searr:gsi,seArr:msi,searrow:vsi,sect:ysi,semi:bsi,seswar:wsi,setminus:ksi,setmn:_si,sext:Csi,Sfr:Esi,sfr:xsi,sfrown:Ssi,sharp:Asi,SHCHcy:Tsi,shchcy:Dsi,SHcy:Isi,shcy:Rsi,ShortDownArrow:Msi,ShortLeftArrow:Osi,shortmid:Lsi,shortparallel:Bsi,ShortRightArrow:Psi,ShortUpArrow:Fsi,shy:Nsi,Sigma:$si,sigma:zsi,sigmaf:Usi,sigmav:jsi,sim:Hsi,simdot:qsi,sime:Wsi,simeq:Gsi,simg:Vsi,simgE:Ksi,siml:Ysi,simlE:Xsi,simne:Jsi,simplus:Zsi,simrarr:Qsi,slarr:eli,SmallCircle:tli,smallsetminus:nli,smashp:rli,smeparsl:ili,smid:ali,smile:oli,smt:sli,smte:lli,smtes:uli,SOFTcy:cli,softcy:fli,solbar:dli,solb:hli,sol:pli,Sopf:gli,sopf:mli,spades:vli,spadesuit:yli,spar:bli,sqcap:wli,sqcaps:kli,sqcup:_li,sqcups:Cli,Sqrt:Eli,sqsub:xli,sqsube:Sli,sqsubset:Ali,sqsubseteq:Tli,sqsup:Dli,sqsupe:Ili,sqsupset:Rli,sqsupseteq:Mli,square:Oli,Square:Lli,SquareIntersection:Bli,SquareSubset:Pli,SquareSubsetEqual:Fli,SquareSuperset:Nli,SquareSupersetEqual:$li,SquareUnion:zli,squarf:Uli,squ:jli,squf:Hli,srarr:qli,Sscr:Wli,sscr:Gli,ssetmn:Vli,ssmile:Kli,sstarf:Yli,Star:Xli,star:Jli,starf:Zli,straightepsilon:Qli,straightphi:eui,strns:tui,sub:nui,Sub:rui,subdot:iui,subE:aui,sube:oui,subedot:sui,submult:lui,subnE:uui,subne:cui,subplus:fui,subrarr:dui,subset:hui,Subset:pui,subseteq:gui,subseteqq:mui,SubsetEqual:vui,subsetneq:yui,subsetneqq:bui,subsim:wui,subsub:kui,subsup:_ui,succapprox:Cui,succ:Eui,succcurlyeq:xui,Succeeds:Sui,SucceedsEqual:Aui,SucceedsSlantEqual:Tui,SucceedsTilde:Dui,succeq:Iui,succnapprox:Rui,succneqq:Mui,succnsim:Oui,succsim:Lui,SuchThat:Bui,sum:Pui,Sum:Fui,sung:Nui,sup1:$ui,sup2:zui,sup3:Uui,sup:jui,Sup:Hui,supdot:qui,supdsub:Wui,supE:Gui,supe:Vui,supedot:Kui,Superset:Yui,SupersetEqual:Xui,suphsol:Jui,suphsub:Zui,suplarr:Qui,supmult:eci,supnE:tci,supne:nci,supplus:rci,supset:ici,Supset:aci,supseteq:oci,supseteqq:sci,supsetneq:lci,supsetneqq:uci,supsim:cci,supsub:fci,supsup:dci,swarhk:hci,swarr:pci,swArr:gci,swarrow:mci,swnwar:vci,szlig:yci,Tab:bci,target:wci,Tau:kci,tau:_ci,tbrk:Cci,Tcaron:Eci,tcaron:xci,Tcedil:Sci,tcedil:Aci,Tcy:Tci,tcy:Dci,tdot:Ici,telrec:Rci,Tfr:Mci,tfr:Oci,there4:Lci,therefore:Bci,Therefore:Pci,Theta:Fci,theta:Nci,thetasym:$ci,thetav:zci,thickapprox:Uci,thicksim:jci,ThickSpace:Hci,ThinSpace:qci,thinsp:Wci,thkap:Gci,thksim:Vci,THORN:Kci,thorn:Yci,tilde:Xci,Tilde:Jci,TildeEqual:Zci,TildeFullEqual:Qci,TildeTilde:efi,timesbar:tfi,timesb:nfi,times:rfi,timesd:ifi,tint:afi,toea:ofi,topbot:sfi,topcir:lfi,top:ufi,Topf:cfi,topf:ffi,topfork:dfi,tosa:hfi,tprime:pfi,trade:gfi,TRADE:mfi,triangle:vfi,triangledown:yfi,triangleleft:bfi,trianglelefteq:wfi,triangleq:kfi,triangleright:_fi,trianglerighteq:Cfi,tridot:Efi,trie:xfi,triminus:Sfi,TripleDot:Afi,triplus:Tfi,trisb:Dfi,tritime:Ifi,trpezium:Rfi,Tscr:Mfi,tscr:Ofi,TScy:Lfi,tscy:Bfi,TSHcy:Pfi,tshcy:Ffi,Tstrok:Nfi,tstrok:$fi,twixt:zfi,twoheadleftarrow:Ufi,twoheadrightarrow:jfi,Uacute:Hfi,uacute:qfi,uarr:Wfi,Uarr:Gfi,uArr:Vfi,Uarrocir:Kfi,Ubrcy:Yfi,ubrcy:Xfi,Ubreve:Jfi,ubreve:Zfi,Ucirc:Qfi,ucirc:edi,Ucy:tdi,ucy:ndi,udarr:rdi,Udblac:idi,udblac:adi,udhar:odi,ufisht:sdi,Ufr:ldi,ufr:udi,Ugrave:cdi,ugrave:fdi,uHar:ddi,uharl:hdi,uharr:pdi,uhblk:gdi,ulcorn:mdi,ulcorner:vdi,ulcrop:ydi,ultri:bdi,Umacr:wdi,umacr:kdi,uml:_di,UnderBar:Cdi,UnderBrace:Edi,UnderBracket:xdi,UnderParenthesis:Sdi,Union:Adi,UnionPlus:Tdi,Uogon:Ddi,uogon:Idi,Uopf:Rdi,uopf:Mdi,UpArrowBar:Odi,uparrow:Ldi,UpArrow:Bdi,Uparrow:Pdi,UpArrowDownArrow:Fdi,updownarrow:Ndi,UpDownArrow:$di,Updownarrow:zdi,UpEquilibrium:Udi,upharpoonleft:jdi,upharpoonright:Hdi,uplus:qdi,UpperLeftArrow:Wdi,UpperRightArrow:Gdi,upsi:Vdi,Upsi:Kdi,upsih:Ydi,Upsilon:Xdi,upsilon:Jdi,UpTeeArrow:Zdi,UpTee:Qdi,upuparrows:ehi,urcorn:thi,urcorner:nhi,urcrop:rhi,Uring:ihi,uring:ahi,urtri:ohi,Uscr:shi,uscr:lhi,utdot:uhi,Utilde:chi,utilde:fhi,utri:dhi,utrif:hhi,uuarr:phi,Uuml:ghi,uuml:mhi,uwangle:vhi,vangrt:yhi,varepsilon:bhi,varkappa:whi,varnothing:khi,varphi:_hi,varpi:Chi,varpropto:Ehi,varr:xhi,vArr:Shi,varrho:Ahi,varsigma:Thi,varsubsetneq:Dhi,varsubsetneqq:Ihi,varsupsetneq:Rhi,varsupsetneqq:Mhi,vartheta:Ohi,vartriangleleft:Lhi,vartriangleright:Bhi,vBar:Phi,Vbar:Fhi,vBarv:Nhi,Vcy:$hi,vcy:zhi,vdash:Uhi,vDash:jhi,Vdash:Hhi,VDash:qhi,Vdashl:Whi,veebar:Ghi,vee:Vhi,Vee:Khi,veeeq:Yhi,vellip:Xhi,verbar:Jhi,Verbar:Zhi,vert:Qhi,Vert:e0i,VerticalBar:t0i,VerticalLine:n0i,VerticalSeparator:r0i,VerticalTilde:i0i,VeryThinSpace:a0i,Vfr:o0i,vfr:s0i,vltri:l0i,vnsub:u0i,vnsup:c0i,Vopf:f0i,vopf:d0i,vprop:h0i,vrtri:p0i,Vscr:g0i,vscr:m0i,vsubnE:v0i,vsubne:y0i,vsupnE:b0i,vsupne:w0i,Vvdash:k0i,vzigzag:_0i,Wcirc:C0i,wcirc:E0i,wedbar:x0i,wedge:S0i,Wedge:A0i,wedgeq:T0i,weierp:D0i,Wfr:I0i,wfr:R0i,Wopf:M0i,wopf:O0i,wp:L0i,wr:B0i,wreath:P0i,Wscr:F0i,wscr:N0i,xcap:$0i,xcirc:z0i,xcup:U0i,xdtri:j0i,Xfr:H0i,xfr:q0i,xharr:W0i,xhArr:G0i,Xi:V0i,xi:K0i,xlarr:Y0i,xlArr:X0i,xmap:J0i,xnis:Z0i,xodot:Q0i,Xopf:epi,xopf:tpi,xoplus:npi,xotime:rpi,xrarr:ipi,xrArr:api,Xscr:opi,xscr:spi,xsqcup:lpi,xuplus:upi,xutri:cpi,xvee:fpi,xwedge:dpi,Yacute:hpi,yacute:ppi,YAcy:gpi,yacy:mpi,Ycirc:vpi,ycirc:ypi,Ycy:bpi,ycy:wpi,yen:kpi,Yfr:_pi,yfr:Cpi,YIcy:Epi,yicy:xpi,Yopf:Spi,yopf:Api,Yscr:Tpi,yscr:Dpi,YUcy:Ipi,yucy:Rpi,yuml:Mpi,Yuml:Opi,Zacute:Lpi,zacute:Bpi,Zcaron:Ppi,zcaron:Fpi,Zcy:Npi,zcy:$pi,Zdot:zpi,zdot:Upi,zeetrf:jpi,ZeroWidthSpace:Hpi,Zeta:qpi,zeta:Wpi,zfr:Gpi,Zfr:Vpi,ZHcy:Kpi,zhcy:Ypi,zigrarr:Xpi,zopf:Jpi,Zopf:Zpi,Zscr:Qpi,zscr:e1i,zwj:t1i,zwnj:n1i};var pJe=r1i,upe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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\u09FD\u0A76\u0AF0\u0C84\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,vE={},oSe={};function i1i(e){var t,n,r=oSe[e];if(r)return r;for(r=oSe[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=i1i(t),r=0,i=e.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&o<=57343)){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[r])}return l}Sz.defaultChars=";/?:@&=+$,-_.!~*'()#";Sz.componentChars="-_.!~*'()";var a1i=Sz,sSe={};function o1i(e){var t,n,r=sSe[e];if(r)return r;for(r=sSe[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&c<=57343?f+="���":f+=String.fromCharCode(c),i+=6;continue}if((o&248)===240&&i+91114111?f+="����":(c-=65536,f+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),i+=9;continue}f+="�"}return f})}Az.defaultChars=";/?:@&=+$,#";Az.componentChars="";var s1i=Az,l1i=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function IB(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var u1i=/^([a-z0-9.+-]+:)/i,c1i=/:[0-9]*$/,f1i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d1i=["<",">",'"',"`"," ","\r",` -`," "],h1i=["{","}","|","\\","^","`"].concat(d1i),p1i=["'"].concat(h1i),lSe=["%","/","?",";","#"].concat(p1i),uSe=["/","?","#"],g1i=255,cSe=/^[+a-z0-9A-Z_-]{0,63}$/,m1i=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fSe={javascript:!0,"javascript:":!0},dSe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function v1i(e,t){if(e&&e instanceof IB)return e;var n=new IB;return n.parse(e,t),n}IB.prototype.parse=function(e,t){var n,r,i,a,o,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=f1i.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=u1i.exec(s);if(u&&(u=u[0],i=u.toLowerCase(),this.protocol=u,s=s.substr(u.length)),(t||u||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=s.substr(0,2)==="//",o&&!(u&&fSe[u])&&(s=s.substr(2),this.slashes=!0)),!fSe[u]&&(o||u&&!dSe[u])){var c=-1;for(n=0;n127?m+="x":m+=b[v];if(!m.match(cSe)){var k=g.slice(0,n),E=g.slice(n+1),S=b.match(m1i);S&&(k.push(S[1]),E.unshift(S[2])),E.length&&(s=E.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>g1i&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=s.indexOf("#");T!==-1&&(this.hash=s.substr(T),s=s.slice(0,T));var L=s.indexOf("?");return L!==-1&&(this.search=s.substr(L),s=s.slice(0,L)),s&&(this.pathname=s),dSe[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};IB.prototype.parseHost=function(e){var t=c1i.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var y1i=v1i;vE.encode=a1i;vE.decode=s1i;vE.format=l1i;vE.parse=y1i;var lb={},KX,hSe;function gJe(){return hSe||(hSe=1,KX=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),KX}var YX,pSe;function mJe(){return pSe||(pSe=1,YX=/[\0-\x1F\x7F-\x9F]/),YX}var XX,gSe;function b1i(){return gSe||(gSe=1,XX=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),XX}var JX,mSe;function vJe(){return mSe||(mSe=1,JX=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),JX}var vSe;function w1i(){return vSe||(vSe=1,lb.Any=gJe(),lb.Cc=mJe(),lb.Cf=b1i(),lb.P=upe,lb.Z=vJe()),lb}(function(e){function t(O){return Object.prototype.toString.call(O)}function n(O){return t(O)==="[object String]"}var r=Object.prototype.hasOwnProperty;function i(O,R){return r.call(O,R)}function a(O){var R=Array.prototype.slice.call(arguments,1);return R.forEach(function(P){if(P){if(typeof P!="object")throw new TypeError(P+"must be object");Object.keys(P).forEach(function(H){O[H]=P[H]})}}),O}function o(O,R,P){return[].concat(O.slice(0,R),P,O.slice(R+1))}function s(O){return!(O>=55296&&O<=57343||O>=64976&&O<=65007||(O&65535)===65535||(O&65535)===65534||O>=0&&O<=8||O===11||O>=14&&O<=31||O>=127&&O<=159||O>1114111)}function l(O){if(O>65535){O-=65536;var R=55296+(O>>10),P=56320+(O&1023);return String.fromCharCode(R,P)}return String.fromCharCode(O)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(u.source+"|"+c.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=pJe;function p(O,R){var P=0;return i(h,R)?h[R]:R.charCodeAt(0)===35&&d.test(R)&&(P=R[1].toLowerCase()==="x"?parseInt(R.slice(2),16):parseInt(R.slice(1),10),s(P))?l(P):O}function g(O){return O.indexOf("\\")<0?O:O.replace(u,"$1")}function b(O){return O.indexOf("\\")<0&&O.indexOf("&")<0?O:O.replace(f,function(R,P,H){return P||p(R,H)})}var m=/[&<>"]/,v=/[&<>"]/g,w={"&":"&","<":"<",">":">",'"':"""};function k(O){return w[O]}function E(O){return m.test(O)?O.replace(v,k):O}var S=/[.?*+^$[\]\\(){}|-]/g;function T(O){return O.replace(S,"\\$&")}function L(O){switch(O){case 9:case 32:return!0}return!1}function M(O){if(O>=8192&&O<=8202)return!0;switch(O){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var D=upe;function I(O){return D.test(O)}function B(O){switch(O){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function N(O){return O=O.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(O=O.replace(/ẞ/g,"ß")),O.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=vE,e.lib.ucmicro=w1i(),e.assign=a,e.isString=n,e.has=i,e.unescapeMd=g,e.unescapeAll=b,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=E,e.arrayReplaceAt=o,e.isSpace=L,e.isWhiteSpace=M,e.isMdAsciiPunct=B,e.isPunctChar=I,e.escapeRE=T,e.normalizeReference=N})(xa);var Tz={},k1i=function(t,n,r){var i,a,o,s,l=-1,u=t.posMax,c=t.pos;for(t.pos=n+1,i=1;t.pos32))return l;if(i===41){if(a===0)break;a--}n++}return s===n||a!==0||(l.str=ySe(t.slice(s,n)),l.lines=o,l.pos=n,l.ok=!0),l},C1i=xa.unescapeAll,E1i=function(t,n,r){var i,a,o=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=r||(a=t.charCodeAt(n),a!==34&&a!==39&&a!==40))return l;for(n++,a===40&&(a=41);n"+B4(e[t].content)+""};D1.code_block=function(e,t,n,r,i){var a=e[t];return""+B4(e[t].content)+` -`};D1.fence=function(e,t,n,r,i){var a=e[t],o=a.info?S1i(a.info).trim():"",s="",l="",u,c,f,d,h;return o&&(f=o.split(/(\s+)/g),s=f[0],l=f.slice(2).join("")),n.highlight?u=n.highlight(a.content,s,l)||B4(a.content):u=B4(a.content),u.indexOf("r.threshold?n?Cse(r.black):r.black:n?Cse(r.white):r.white}function Sse(e,t=!1){return e=Ese(e),t?xse(e,t):"#"+e.map(n=>LIr((255-n).toString(16))).join("")}(function(e){function t(r,i){r=Ese(r);const a=i?xse(r,i,!0):r.map(o=>255-o);return BIr(a)}e.asRGB=t;function n(r,i){return r=Ese(r),i?xse(r,i,!0):r.map(a=>255-a)}e.asRgbArray=n,e.defaultThreshold=fJe,e.asRgbObject=t})(Sse||(Sse={}));const FIr=Sse;class NIr{id;username;color;height;marker;lineMarker;status;nameRemoveTimeMap;nameAnimationDelay;nameAnimationDuration;nameRemoveTime;nameHolder;cursorHolder;constructor(t,n){this.id=t,this.username=n.username,this.color=n.color,this.height=0,this.status="deactivated",this.nameRemoveTimeMap=new Map,this.nameAnimationDelay=1,this.nameAnimationDuration=.2,this.nameRemoveTime=(this.nameAnimationDuration+this.nameAnimationDelay)*1e3}updateCursor(t,n){this.removeCursor(),this.status="activated";const r=t.cursorCoords(n);this.height=r.bottom-r.top,this.cursorHolder||(this.cursorHolder=document.createElement("span"),this.cursorHolder.classList.add("codePair-cursor"),this.cursorHolder.style.borderLeftColor=this.color,this.cursorHolder.addEventListener("mouseenter",()=>{this.nameRemoveTimeMap.has(this.id)&&clearTimeout(this.nameRemoveTimeMap.get(this.id)),this.nameHolder&&(this.nameHolder.classList.remove("text-remove"),this.cursorHolder?.appendChild(this.nameHolder))}),this.cursorHolder.addEventListener("mouseleave",()=>{this.nameHolder&&(this.nameHolder.classList.add("text-remove"),this.nameHolder.style.animationDuration=`${this.nameAnimationDuration}s`,this.nameHolder.style.animationDelay=`${this.nameAnimationDelay}s`)}),this.nameHolder?.addEventListener("animationend",()=>{this.nameHolder?.classList.contains("text-remove")&&this.nameRemoveTimeMap.delete(this.id)})),this.cursorHolder.style.height=`${this.height}px`,this.cursorHolder.setAttribute("data-pos",r.top<130?"top":"bottom"),this.marker=t.setBookmark(n,{widget:this.cursorHolder,insertLeft:!0}),this.showCursorNameReserve(this.cursorHolder)}updateLine(t,n,r){this.removeLine(),this.status="activated";const i=parseInt(this.color.slice(1,3),16),a=parseInt(this.color.slice(3,5),16),o=parseInt(this.color.slice(5,7),16),s=`rgba(${i}, ${a}, ${o}, 0.15)`;this.lineMarker=t.getDoc().markText(n,r,{css:`background-color : ${s};`})}showCursorNameReserve(t){this.nameHolder||(this.nameHolder=document.createElement("span"),this.nameHolder.classList.add("codePair-name"),this.nameHolder.textContent=this.username,this.nameHolder.style.backgroundColor=this.color,this.nameHolder.style.color=FIr(this.color,!0)),this.nameHolder.parentElement!==t&&t.appendChild(this.nameHolder),this.nameHolder.classList.remove("text-remove"),this.resetRemoveNameReserve(this.nameHolder)}resetRemoveNameReserve(t){this.nameRemoveTimeMap.has(this.id)&&clearTimeout(this.nameRemoveTimeMap.get(this.id)),this.removeNameReserve(t)}removeNameReserve(t){const n=setTimeout(()=>{if(t){t.classList.add("text-remove");const{style:r}=t;r.animationDuration=`${this.nameAnimationDuration}s`,r.animationDelay=`${this.nameAnimationDelay}s`}},this.nameRemoveTime);this.nameRemoveTimeMap.set(this.id,n)}removeCursor(){this.marker&&(this.marker.clear(),this.marker=void 0)}removeLine(){this.lineMarker&&(this.lineMarker.clear(),this.lineMarker=void 0)}clear(){this.removeCursor(),this.removeLine()}isActive(){return this.status==="activated"}}var dJe={},L4={};Object.defineProperty(L4,"__esModule",{value:!0});L4.marpitContainer=L4.default=void 0;let hJe=class{constructor(t,n={}){Object.defineProperties(this,{attributes:{value:n},tag:{enumerable:!0,value:t}});for(const r of Object.keys(n))Object.defineProperty(this,r,{enumerable:!0,value:n[r]});Object.freeze(this)}};const $Ir=new hJe("div",{class:"marpit"});L4.marpitContainer=$Ir;var zIr=hJe;L4.default=zIr;var xz={},xa={};const UIr="Á",jIr="á",HIr="Ă",qIr="ă",WIr="∾",GIr="∿",VIr="∾̳",KIr="Â",YIr="â",XIr="´",JIr="А",ZIr="а",QIr="Æ",eRr="æ",tRr="⁡",nRr="𝔄",rRr="𝔞",iRr="À",aRr="à",oRr="ℵ",sRr="ℵ",lRr="Α",uRr="α",cRr="Ā",fRr="ā",dRr="⨿",hRr="&",pRr="&",gRr="⩕",mRr="⩓",vRr="∧",yRr="⩜",bRr="⩘",wRr="⩚",kRr="∠",_Rr="⦤",CRr="∠",ERr="⦨",xRr="⦩",SRr="⦪",ARr="⦫",TRr="⦬",DRr="⦭",IRr="⦮",RRr="⦯",MRr="∡",ORr="∟",LRr="⊾",BRr="⦝",PRr="∢",FRr="Å",NRr="⍼",$Rr="Ą",zRr="ą",URr="𝔸",jRr="𝕒",HRr="⩯",qRr="≈",WRr="⩰",GRr="≊",VRr="≋",KRr="'",YRr="⁡",XRr="≈",JRr="≊",ZRr="Å",QRr="å",eMr="𝒜",tMr="𝒶",nMr="≔",rMr="*",iMr="≈",aMr="≍",oMr="Ã",sMr="ã",lMr="Ä",uMr="ä",cMr="∳",fMr="⨑",dMr="≌",hMr="϶",pMr="‵",gMr="∽",mMr="⋍",vMr="∖",yMr="⫧",bMr="⊽",wMr="⌅",kMr="⌆",_Mr="⌅",CMr="⎵",EMr="⎶",xMr="≌",SMr="Б",AMr="б",TMr="„",DMr="∵",IMr="∵",RMr="∵",MMr="⦰",OMr="϶",LMr="ℬ",BMr="ℬ",PMr="Β",FMr="β",NMr="ℶ",$Mr="≬",zMr="𝔅",UMr="𝔟",jMr="⋂",HMr="◯",qMr="⋃",WMr="⨀",GMr="⨁",VMr="⨂",KMr="⨆",YMr="★",XMr="▽",JMr="△",ZMr="⨄",QMr="⋁",eOr="⋀",tOr="⤍",nOr="⧫",rOr="▪",iOr="▴",aOr="▾",oOr="◂",sOr="▸",lOr="␣",uOr="▒",cOr="░",fOr="▓",dOr="█",hOr="=⃥",pOr="≡⃥",gOr="⫭",mOr="⌐",vOr="𝔹",yOr="𝕓",bOr="⊥",wOr="⊥",kOr="⋈",_Or="⧉",COr="┐",EOr="╕",xOr="╖",SOr="╗",AOr="┌",TOr="╒",DOr="╓",IOr="╔",ROr="─",MOr="═",OOr="┬",LOr="╤",BOr="╥",POr="╦",FOr="┴",NOr="╧",$Or="╨",zOr="╩",UOr="⊟",jOr="⊞",HOr="⊠",qOr="┘",WOr="╛",GOr="╜",VOr="╝",KOr="└",YOr="╘",XOr="╙",JOr="╚",ZOr="│",QOr="║",eLr="┼",tLr="╪",nLr="╫",rLr="╬",iLr="┤",aLr="╡",oLr="╢",sLr="╣",lLr="├",uLr="╞",cLr="╟",fLr="╠",dLr="‵",hLr="˘",pLr="˘",gLr="¦",mLr="𝒷",vLr="ℬ",yLr="⁏",bLr="∽",wLr="⋍",kLr="⧅",_Lr="\\",CLr="⟈",ELr="•",xLr="•",SLr="≎",ALr="⪮",TLr="≏",DLr="≎",ILr="≏",RLr="Ć",MLr="ć",OLr="⩄",LLr="⩉",BLr="⩋",PLr="∩",FLr="⋒",NLr="⩇",$Lr="⩀",zLr="ⅅ",ULr="∩︀",jLr="⁁",HLr="ˇ",qLr="ℭ",WLr="⩍",GLr="Č",VLr="č",KLr="Ç",YLr="ç",XLr="Ĉ",JLr="ĉ",ZLr="∰",QLr="⩌",eBr="⩐",tBr="Ċ",nBr="ċ",rBr="¸",iBr="¸",aBr="⦲",oBr="¢",sBr="·",lBr="·",uBr="𝔠",cBr="ℭ",fBr="Ч",dBr="ч",hBr="✓",pBr="✓",gBr="Χ",mBr="χ",vBr="ˆ",yBr="≗",bBr="↺",wBr="↻",kBr="⊛",_Br="⊚",CBr="⊝",EBr="⊙",xBr="®",SBr="Ⓢ",ABr="⊖",TBr="⊕",DBr="⊗",IBr="○",RBr="⧃",MBr="≗",OBr="⨐",LBr="⫯",BBr="⧂",PBr="∲",FBr="”",NBr="’",$Br="♣",zBr="♣",UBr=":",jBr="∷",HBr="⩴",qBr="≔",WBr="≔",GBr=",",VBr="@",KBr="∁",YBr="∘",XBr="∁",JBr="ℂ",ZBr="≅",QBr="⩭",ePr="≡",tPr="∮",nPr="∯",rPr="∮",iPr="𝕔",aPr="ℂ",oPr="∐",sPr="∐",lPr="©",uPr="©",cPr="℗",fPr="∳",dPr="↵",hPr="✗",pPr="⨯",gPr="𝒞",mPr="𝒸",vPr="⫏",yPr="⫑",bPr="⫐",wPr="⫒",kPr="⋯",_Pr="⤸",CPr="⤵",EPr="⋞",xPr="⋟",SPr="↶",APr="⤽",TPr="⩈",DPr="⩆",IPr="≍",RPr="∪",MPr="⋓",OPr="⩊",LPr="⊍",BPr="⩅",PPr="∪︀",FPr="↷",NPr="⤼",$Pr="⋞",zPr="⋟",UPr="⋎",jPr="⋏",HPr="¤",qPr="↶",WPr="↷",GPr="⋎",VPr="⋏",KPr="∲",YPr="∱",XPr="⌭",JPr="†",ZPr="‡",QPr="ℸ",eFr="↓",tFr="↡",nFr="⇓",rFr="‐",iFr="⫤",aFr="⊣",oFr="⤏",sFr="˝",lFr="Ď",uFr="ď",cFr="Д",fFr="д",dFr="‡",hFr="⇊",pFr="ⅅ",gFr="ⅆ",mFr="⤑",vFr="⩷",yFr="°",bFr="∇",wFr="Δ",kFr="δ",_Fr="⦱",CFr="⥿",EFr="𝔇",xFr="𝔡",SFr="⥥",AFr="⇃",TFr="⇂",DFr="´",IFr="˙",RFr="˝",MFr="`",OFr="˜",LFr="⋄",BFr="⋄",PFr="⋄",FFr="♦",NFr="♦",$Fr="¨",zFr="ⅆ",UFr="ϝ",jFr="⋲",HFr="÷",qFr="÷",WFr="⋇",GFr="⋇",VFr="Ђ",KFr="ђ",YFr="⌞",XFr="⌍",JFr="$",ZFr="𝔻",QFr="𝕕",eNr="¨",tNr="˙",nNr="⃜",rNr="≐",iNr="≑",aNr="≐",oNr="∸",sNr="∔",lNr="⊡",uNr="⌆",cNr="∯",fNr="¨",dNr="⇓",hNr="⇐",pNr="⇔",gNr="⫤",mNr="⟸",vNr="⟺",yNr="⟹",bNr="⇒",wNr="⊨",kNr="⇑",_Nr="⇕",CNr="∥",ENr="⤓",xNr="↓",SNr="↓",ANr="⇓",TNr="⇵",DNr="̑",INr="⇊",RNr="⇃",MNr="⇂",ONr="⥐",LNr="⥞",BNr="⥖",PNr="↽",FNr="⥟",NNr="⥗",$Nr="⇁",zNr="↧",UNr="⊤",jNr="⤐",HNr="⌟",qNr="⌌",WNr="𝒟",GNr="𝒹",VNr="Ѕ",KNr="ѕ",YNr="⧶",XNr="Đ",JNr="đ",ZNr="⋱",QNr="▿",e$r="▾",t$r="⇵",n$r="⥯",r$r="⦦",i$r="Џ",a$r="џ",o$r="⟿",s$r="É",l$r="é",u$r="⩮",c$r="Ě",f$r="ě",d$r="Ê",h$r="ê",p$r="≖",g$r="≕",m$r="Э",v$r="э",y$r="⩷",b$r="Ė",w$r="ė",k$r="≑",_$r="ⅇ",C$r="≒",E$r="𝔈",x$r="𝔢",S$r="⪚",A$r="È",T$r="è",D$r="⪖",I$r="⪘",R$r="⪙",M$r="∈",O$r="⏧",L$r="ℓ",B$r="⪕",P$r="⪗",F$r="Ē",N$r="ē",$$r="∅",z$r="∅",U$r="◻",j$r="∅",H$r="▫",q$r=" ",W$r=" ",G$r=" ",V$r="Ŋ",K$r="ŋ",Y$r=" ",X$r="Ę",J$r="ę",Z$r="𝔼",Q$r="𝕖",ezr="⋕",tzr="⧣",nzr="⩱",rzr="ε",izr="Ε",azr="ε",ozr="ϵ",szr="≖",lzr="≕",uzr="≂",czr="⪖",fzr="⪕",dzr="⩵",hzr="=",pzr="≂",gzr="≟",mzr="⇌",vzr="≡",yzr="⩸",bzr="⧥",wzr="⥱",kzr="≓",_zr="ℯ",Czr="ℰ",Ezr="≐",xzr="⩳",Szr="≂",Azr="Η",Tzr="η",Dzr="Ð",Izr="ð",Rzr="Ë",Mzr="ë",Ozr="€",Lzr="!",Bzr="∃",Pzr="∃",Fzr="ℰ",Nzr="ⅇ",$zr="ⅇ",zzr="≒",Uzr="Ф",jzr="ф",Hzr="♀",qzr="ffi",Wzr="ff",Gzr="ffl",Vzr="𝔉",Kzr="𝔣",Yzr="fi",Xzr="◼",Jzr="▪",Zzr="fj",Qzr="♭",eUr="fl",tUr="▱",nUr="ƒ",rUr="𝔽",iUr="𝕗",aUr="∀",oUr="∀",sUr="⋔",lUr="⫙",uUr="ℱ",cUr="⨍",fUr="½",dUr="⅓",hUr="¼",pUr="⅕",gUr="⅙",mUr="⅛",vUr="⅔",yUr="⅖",bUr="¾",wUr="⅗",kUr="⅜",_Ur="⅘",CUr="⅚",EUr="⅝",xUr="⅞",SUr="⁄",AUr="⌢",TUr="𝒻",DUr="ℱ",IUr="ǵ",RUr="Γ",MUr="γ",OUr="Ϝ",LUr="ϝ",BUr="⪆",PUr="Ğ",FUr="ğ",NUr="Ģ",$Ur="Ĝ",zUr="ĝ",UUr="Г",jUr="г",HUr="Ġ",qUr="ġ",WUr="≥",GUr="≧",VUr="⪌",KUr="⋛",YUr="≥",XUr="≧",JUr="⩾",ZUr="⪩",QUr="⩾",ejr="⪀",tjr="⪂",njr="⪄",rjr="⋛︀",ijr="⪔",ajr="𝔊",ojr="𝔤",sjr="≫",ljr="⋙",ujr="⋙",cjr="ℷ",fjr="Ѓ",djr="ѓ",hjr="⪥",pjr="≷",gjr="⪒",mjr="⪤",vjr="⪊",yjr="⪊",bjr="⪈",wjr="≩",kjr="⪈",_jr="≩",Cjr="⋧",Ejr="𝔾",xjr="𝕘",Sjr="`",Ajr="≥",Tjr="⋛",Djr="≧",Ijr="⪢",Rjr="≷",Mjr="⩾",Ojr="≳",Ljr="𝒢",Bjr="ℊ",Pjr="≳",Fjr="⪎",Njr="⪐",$jr="⪧",zjr="⩺",Ujr=">",jjr=">",Hjr="≫",qjr="⋗",Wjr="⦕",Gjr="⩼",Vjr="⪆",Kjr="⥸",Yjr="⋗",Xjr="⋛",Jjr="⪌",Zjr="≷",Qjr="≳",eHr="≩︀",tHr="≩︀",nHr="ˇ",rHr=" ",iHr="½",aHr="ℋ",oHr="Ъ",sHr="ъ",lHr="⥈",uHr="↔",cHr="⇔",fHr="↭",dHr="^",hHr="ℏ",pHr="Ĥ",gHr="ĥ",mHr="♥",vHr="♥",yHr="…",bHr="⊹",wHr="𝔥",kHr="ℌ",_Hr="ℋ",CHr="⤥",EHr="⤦",xHr="⇿",SHr="∻",AHr="↩",THr="↪",DHr="𝕙",IHr="ℍ",RHr="―",MHr="─",OHr="𝒽",LHr="ℋ",BHr="ℏ",PHr="Ħ",FHr="ħ",NHr="≎",$Hr="≏",zHr="⁃",UHr="‐",jHr="Í",HHr="í",qHr="⁣",WHr="Î",GHr="î",VHr="И",KHr="и",YHr="İ",XHr="Е",JHr="е",ZHr="¡",QHr="⇔",eqr="𝔦",tqr="ℑ",nqr="Ì",rqr="ì",iqr="ⅈ",aqr="⨌",oqr="∭",sqr="⧜",lqr="℩",uqr="IJ",cqr="ij",fqr="Ī",dqr="ī",hqr="ℑ",pqr="ⅈ",gqr="ℐ",mqr="ℑ",vqr="ı",yqr="ℑ",bqr="⊷",wqr="Ƶ",kqr="⇒",_qr="℅",Cqr="∞",Eqr="⧝",xqr="ı",Sqr="⊺",Aqr="∫",Tqr="∬",Dqr="ℤ",Iqr="∫",Rqr="⊺",Mqr="⋂",Oqr="⨗",Lqr="⨼",Bqr="⁣",Pqr="⁢",Fqr="Ё",Nqr="ё",$qr="Į",zqr="į",Uqr="𝕀",jqr="𝕚",Hqr="Ι",qqr="ι",Wqr="⨼",Gqr="¿",Vqr="𝒾",Kqr="ℐ",Yqr="∈",Xqr="⋵",Jqr="⋹",Zqr="⋴",Qqr="⋳",eWr="∈",tWr="⁢",nWr="Ĩ",rWr="ĩ",iWr="І",aWr="і",oWr="Ï",sWr="ï",lWr="Ĵ",uWr="ĵ",cWr="Й",fWr="й",dWr="𝔍",hWr="𝔧",pWr="ȷ",gWr="𝕁",mWr="𝕛",vWr="𝒥",yWr="𝒿",bWr="Ј",wWr="ј",kWr="Є",_Wr="є",CWr="Κ",EWr="κ",xWr="ϰ",SWr="Ķ",AWr="ķ",TWr="К",DWr="к",IWr="𝔎",RWr="𝔨",MWr="ĸ",OWr="Х",LWr="х",BWr="Ќ",PWr="ќ",FWr="𝕂",NWr="𝕜",$Wr="𝒦",zWr="𝓀",UWr="⇚",jWr="Ĺ",HWr="ĺ",qWr="⦴",WWr="ℒ",GWr="Λ",VWr="λ",KWr="⟨",YWr="⟪",XWr="⦑",JWr="⟨",ZWr="⪅",QWr="ℒ",eGr="«",tGr="⇤",nGr="⤟",rGr="←",iGr="↞",aGr="⇐",oGr="⤝",sGr="↩",lGr="↫",uGr="⤹",cGr="⥳",fGr="↢",dGr="⤙",hGr="⤛",pGr="⪫",gGr="⪭",mGr="⪭︀",vGr="⤌",yGr="⤎",bGr="❲",wGr="{",kGr="[",_Gr="⦋",CGr="⦏",EGr="⦍",xGr="Ľ",SGr="ľ",AGr="Ļ",TGr="ļ",DGr="⌈",IGr="{",RGr="Л",MGr="л",OGr="⤶",LGr="“",BGr="„",PGr="⥧",FGr="⥋",NGr="↲",$Gr="≤",zGr="≦",UGr="⟨",jGr="⇤",HGr="←",qGr="←",WGr="⇐",GGr="⇆",VGr="↢",KGr="⌈",YGr="⟦",XGr="⥡",JGr="⥙",ZGr="⇃",QGr="⌊",eVr="↽",tVr="↼",nVr="⇇",rVr="↔",iVr="↔",aVr="⇔",oVr="⇆",sVr="⇋",lVr="↭",uVr="⥎",cVr="↤",fVr="⊣",dVr="⥚",hVr="⋋",pVr="⧏",gVr="⊲",mVr="⊴",vVr="⥑",yVr="⥠",bVr="⥘",wVr="↿",kVr="⥒",_Vr="↼",CVr="⪋",EVr="⋚",xVr="≤",SVr="≦",AVr="⩽",TVr="⪨",DVr="⩽",IVr="⩿",RVr="⪁",MVr="⪃",OVr="⋚︀",LVr="⪓",BVr="⪅",PVr="⋖",FVr="⋚",NVr="⪋",$Vr="⋚",zVr="≦",UVr="≶",jVr="≶",HVr="⪡",qVr="≲",WVr="⩽",GVr="≲",VVr="⥼",KVr="⌊",YVr="𝔏",XVr="𝔩",JVr="≶",ZVr="⪑",QVr="⥢",eKr="↽",tKr="↼",nKr="⥪",rKr="▄",iKr="Љ",aKr="љ",oKr="⇇",sKr="≪",lKr="⋘",uKr="⌞",cKr="⇚",fKr="⥫",dKr="◺",hKr="Ŀ",pKr="ŀ",gKr="⎰",mKr="⎰",vKr="⪉",yKr="⪉",bKr="⪇",wKr="≨",kKr="⪇",_Kr="≨",CKr="⋦",EKr="⟬",xKr="⇽",SKr="⟦",AKr="⟵",TKr="⟵",DKr="⟸",IKr="⟷",RKr="⟷",MKr="⟺",OKr="⟼",LKr="⟶",BKr="⟶",PKr="⟹",FKr="↫",NKr="↬",$Kr="⦅",zKr="𝕃",UKr="𝕝",jKr="⨭",HKr="⨴",qKr="∗",WKr="_",GKr="↙",VKr="↘",KKr="◊",YKr="◊",XKr="⧫",JKr="(",ZKr="⦓",QKr="⇆",eYr="⌟",tYr="⇋",nYr="⥭",rYr="‎",iYr="⊿",aYr="‹",oYr="𝓁",sYr="ℒ",lYr="↰",uYr="↰",cYr="≲",fYr="⪍",dYr="⪏",hYr="[",pYr="‘",gYr="‚",mYr="Ł",vYr="ł",yYr="⪦",bYr="⩹",wYr="<",kYr="<",_Yr="≪",CYr="⋖",EYr="⋋",xYr="⋉",SYr="⥶",AYr="⩻",TYr="◃",DYr="⊴",IYr="◂",RYr="⦖",MYr="⥊",OYr="⥦",LYr="≨︀",BYr="≨︀",PYr="¯",FYr="♂",NYr="✠",$Yr="✠",zYr="↦",UYr="↦",jYr="↧",HYr="↤",qYr="↥",WYr="▮",GYr="⨩",VYr="М",KYr="м",YYr="—",XYr="∺",JYr="∡",ZYr=" ",QYr="ℳ",eXr="𝔐",tXr="𝔪",nXr="℧",rXr="µ",iXr="*",aXr="⫰",oXr="∣",sXr="·",lXr="⊟",uXr="−",cXr="∸",fXr="⨪",dXr="∓",hXr="⫛",pXr="…",gXr="∓",mXr="⊧",vXr="𝕄",yXr="𝕞",bXr="∓",wXr="𝓂",kXr="ℳ",_Xr="∾",CXr="Μ",EXr="μ",xXr="⊸",SXr="⊸",AXr="∇",TXr="Ń",DXr="ń",IXr="∠⃒",RXr="≉",MXr="⩰̸",OXr="≋̸",LXr="ʼn",BXr="≉",PXr="♮",FXr="ℕ",NXr="♮",$Xr=" ",zXr="≎̸",UXr="≏̸",jXr="⩃",HXr="Ň",qXr="ň",WXr="Ņ",GXr="ņ",VXr="≇",KXr="⩭̸",YXr="⩂",XXr="Н",JXr="н",ZXr="–",QXr="⤤",eJr="↗",tJr="⇗",nJr="↗",rJr="≠",iJr="≐̸",aJr="​",oJr="​",sJr="​",lJr="​",uJr="≢",cJr="⤨",fJr="≂̸",dJr="≫",hJr="≪",pJr=` +`,gJr="∄",mJr="∄",vJr="𝔑",yJr="𝔫",bJr="≧̸",wJr="≱",kJr="≱",_Jr="≧̸",CJr="⩾̸",EJr="⩾̸",xJr="⋙̸",SJr="≵",AJr="≫⃒",TJr="≯",DJr="≯",IJr="≫̸",RJr="↮",MJr="⇎",OJr="⫲",LJr="∋",BJr="⋼",PJr="⋺",FJr="∋",NJr="Њ",$Jr="њ",zJr="↚",UJr="⇍",jJr="‥",HJr="≦̸",qJr="≰",WJr="↚",GJr="⇍",VJr="↮",KJr="⇎",YJr="≰",XJr="≦̸",JJr="⩽̸",ZJr="⩽̸",QJr="≮",eZr="⋘̸",tZr="≴",nZr="≪⃒",rZr="≮",iZr="⋪",aZr="⋬",oZr="≪̸",sZr="∤",lZr="⁠",uZr=" ",cZr="𝕟",fZr="ℕ",dZr="⫬",hZr="¬",pZr="≢",gZr="≭",mZr="∦",vZr="∉",yZr="≠",bZr="≂̸",wZr="∄",kZr="≯",_Zr="≱",CZr="≧̸",EZr="≫̸",xZr="≹",SZr="⩾̸",AZr="≵",TZr="≎̸",DZr="≏̸",IZr="∉",RZr="⋵̸",MZr="⋹̸",OZr="∉",LZr="⋷",BZr="⋶",PZr="⧏̸",FZr="⋪",NZr="⋬",$Zr="≮",zZr="≰",UZr="≸",jZr="≪̸",HZr="⩽̸",qZr="≴",WZr="⪢̸",GZr="⪡̸",VZr="∌",KZr="∌",YZr="⋾",XZr="⋽",JZr="⊀",ZZr="⪯̸",QZr="⋠",eQr="∌",tQr="⧐̸",nQr="⋫",rQr="⋭",iQr="⊏̸",aQr="⋢",oQr="⊐̸",sQr="⋣",lQr="⊂⃒",uQr="⊈",cQr="⊁",fQr="⪰̸",dQr="⋡",hQr="≿̸",pQr="⊃⃒",gQr="⊉",mQr="≁",vQr="≄",yQr="≇",bQr="≉",wQr="∤",kQr="∦",_Qr="∦",CQr="⫽⃥",EQr="∂̸",xQr="⨔",SQr="⊀",AQr="⋠",TQr="⊀",DQr="⪯̸",IQr="⪯̸",RQr="⤳̸",MQr="↛",OQr="⇏",LQr="↝̸",BQr="↛",PQr="⇏",FQr="⋫",NQr="⋭",$Qr="⊁",zQr="⋡",UQr="⪰̸",jQr="𝒩",HQr="𝓃",qQr="∤",WQr="∦",GQr="≁",VQr="≄",KQr="≄",YQr="∤",XQr="∦",JQr="⋢",ZQr="⋣",QQr="⊄",eei="⫅̸",tei="⊈",nei="⊂⃒",rei="⊈",iei="⫅̸",aei="⊁",oei="⪰̸",sei="⊅",lei="⫆̸",uei="⊉",cei="⊃⃒",fei="⊉",dei="⫆̸",hei="≹",pei="Ñ",gei="ñ",mei="≸",vei="⋪",yei="⋬",bei="⋫",wei="⋭",kei="Ν",_ei="ν",Cei="#",Eei="№",xei=" ",Sei="≍⃒",Aei="⊬",Tei="⊭",Dei="⊮",Iei="⊯",Rei="≥⃒",Mei=">⃒",Oei="⤄",Lei="⧞",Bei="⤂",Pei="≤⃒",Fei="<⃒",Nei="⊴⃒",$ei="⤃",zei="⊵⃒",Uei="∼⃒",jei="⤣",Hei="↖",qei="⇖",Wei="↖",Gei="⤧",Vei="Ó",Kei="ó",Yei="⊛",Xei="Ô",Jei="ô",Zei="⊚",Qei="О",eti="о",tti="⊝",nti="Ő",rti="ő",iti="⨸",ati="⊙",oti="⦼",sti="Œ",lti="œ",uti="⦿",cti="𝔒",fti="𝔬",dti="˛",hti="Ò",pti="ò",gti="⧁",mti="⦵",vti="Ω",yti="∮",bti="↺",wti="⦾",kti="⦻",_ti="‾",Cti="⧀",Eti="Ō",xti="ō",Sti="Ω",Ati="ω",Tti="Ο",Dti="ο",Iti="⦶",Rti="⊖",Mti="𝕆",Oti="𝕠",Lti="⦷",Bti="“",Pti="‘",Fti="⦹",Nti="⊕",$ti="↻",zti="⩔",Uti="∨",jti="⩝",Hti="ℴ",qti="ℴ",Wti="ª",Gti="º",Vti="⊶",Kti="⩖",Yti="⩗",Xti="⩛",Jti="Ⓢ",Zti="𝒪",Qti="ℴ",eni="Ø",tni="ø",nni="⊘",rni="Õ",ini="õ",ani="⨶",oni="⨷",sni="⊗",lni="Ö",uni="ö",cni="⌽",fni="‾",dni="⏞",hni="⎴",pni="⏜",gni="¶",mni="∥",vni="∥",yni="⫳",bni="⫽",wni="∂",kni="∂",_ni="П",Cni="п",Eni="%",xni=".",Sni="‰",Ani="⊥",Tni="‱",Dni="𝔓",Ini="𝔭",Rni="Φ",Mni="φ",Oni="ϕ",Lni="ℳ",Bni="☎",Pni="Π",Fni="π",Nni="⋔",$ni="ϖ",zni="ℏ",Uni="ℎ",jni="ℏ",Hni="⨣",qni="⊞",Wni="⨢",Gni="+",Vni="∔",Kni="⨥",Yni="⩲",Xni="±",Jni="±",Zni="⨦",Qni="⨧",eri="±",tri="ℌ",nri="⨕",rri="𝕡",iri="ℙ",ari="£",ori="⪷",sri="⪻",lri="≺",uri="≼",cri="⪷",fri="≺",dri="≼",hri="≺",pri="⪯",gri="≼",mri="≾",vri="⪯",yri="⪹",bri="⪵",wri="⋨",kri="⪯",_ri="⪳",Cri="≾",Eri="′",xri="″",Sri="ℙ",Ari="⪹",Tri="⪵",Dri="⋨",Iri="∏",Rri="∏",Mri="⌮",Ori="⌒",Lri="⌓",Bri="∝",Pri="∝",Fri="∷",Nri="∝",$ri="≾",zri="⊰",Uri="𝒫",jri="𝓅",Hri="Ψ",qri="ψ",Wri=" ",Gri="𝔔",Vri="𝔮",Kri="⨌",Yri="𝕢",Xri="ℚ",Jri="⁗",Zri="𝒬",Qri="𝓆",eii="ℍ",tii="⨖",nii="?",rii="≟",iii='"',aii='"',oii="⇛",sii="∽̱",lii="Ŕ",uii="ŕ",cii="√",fii="⦳",dii="⟩",hii="⟫",pii="⦒",gii="⦥",mii="⟩",vii="»",yii="⥵",bii="⇥",wii="⤠",kii="⤳",_ii="→",Cii="↠",Eii="⇒",xii="⤞",Sii="↪",Aii="↬",Tii="⥅",Dii="⥴",Iii="⤖",Rii="↣",Mii="↝",Oii="⤚",Lii="⤜",Bii="∶",Pii="ℚ",Fii="⤍",Nii="⤏",$ii="⤐",zii="❳",Uii="}",jii="]",Hii="⦌",qii="⦎",Wii="⦐",Gii="Ř",Vii="ř",Kii="Ŗ",Yii="ŗ",Xii="⌉",Jii="}",Zii="Р",Qii="р",eai="⤷",tai="⥩",nai="”",rai="”",iai="↳",aai="ℜ",oai="ℛ",sai="ℜ",lai="ℝ",uai="ℜ",cai="▭",fai="®",dai="®",hai="∋",pai="⇋",gai="⥯",mai="⥽",vai="⌋",yai="𝔯",bai="ℜ",wai="⥤",kai="⇁",_ai="⇀",Cai="⥬",Eai="Ρ",xai="ρ",Sai="ϱ",Aai="⟩",Tai="⇥",Dai="→",Iai="→",Rai="⇒",Mai="⇄",Oai="↣",Lai="⌉",Bai="⟧",Pai="⥝",Fai="⥕",Nai="⇂",$ai="⌋",zai="⇁",Uai="⇀",jai="⇄",Hai="⇌",qai="⇉",Wai="↝",Gai="↦",Vai="⊢",Kai="⥛",Yai="⋌",Xai="⧐",Jai="⊳",Zai="⊵",Qai="⥏",eoi="⥜",toi="⥔",noi="↾",roi="⥓",ioi="⇀",aoi="˚",ooi="≓",soi="⇄",loi="⇌",uoi="‏",coi="⎱",foi="⎱",doi="⫮",hoi="⟭",poi="⇾",goi="⟧",moi="⦆",voi="𝕣",yoi="ℝ",boi="⨮",woi="⨵",koi="⥰",_oi=")",Coi="⦔",Eoi="⨒",xoi="⇉",Soi="⇛",Aoi="›",Toi="𝓇",Doi="ℛ",Ioi="↱",Roi="↱",Moi="]",Ooi="’",Loi="’",Boi="⋌",Poi="⋊",Foi="▹",Noi="⊵",$oi="▸",zoi="⧎",Uoi="⧴",joi="⥨",Hoi="℞",qoi="Ś",Woi="ś",Goi="‚",Voi="⪸",Koi="Š",Yoi="š",Xoi="⪼",Joi="≻",Zoi="≽",Qoi="⪰",esi="⪴",tsi="Ş",nsi="ş",rsi="Ŝ",isi="ŝ",asi="⪺",osi="⪶",ssi="⋩",lsi="⨓",usi="≿",csi="С",fsi="с",dsi="⊡",hsi="⋅",psi="⩦",gsi="⤥",msi="↘",vsi="⇘",ysi="↘",bsi="§",wsi=";",ksi="⤩",_si="∖",Csi="∖",Esi="✶",xsi="𝔖",Ssi="𝔰",Asi="⌢",Tsi="♯",Dsi="Щ",Isi="щ",Rsi="Ш",Msi="ш",Osi="↓",Lsi="←",Bsi="∣",Psi="∥",Fsi="→",Nsi="↑",$si="­",zsi="Σ",Usi="σ",jsi="ς",Hsi="ς",qsi="∼",Wsi="⩪",Gsi="≃",Vsi="≃",Ksi="⪞",Ysi="⪠",Xsi="⪝",Jsi="⪟",Zsi="≆",Qsi="⨤",eli="⥲",tli="←",nli="∘",rli="∖",ili="⨳",ali="⧤",oli="∣",sli="⌣",lli="⪪",uli="⪬",cli="⪬︀",fli="Ь",dli="ь",hli="⌿",pli="⧄",gli="/",mli="𝕊",vli="𝕤",yli="♠",bli="♠",wli="∥",kli="⊓",_li="⊓︀",Cli="⊔",Eli="⊔︀",xli="√",Sli="⊏",Ali="⊑",Tli="⊏",Dli="⊑",Ili="⊐",Rli="⊒",Mli="⊐",Oli="⊒",Lli="□",Bli="□",Pli="⊓",Fli="⊏",Nli="⊑",$li="⊐",zli="⊒",Uli="⊔",jli="▪",Hli="□",qli="▪",Wli="→",Gli="𝒮",Vli="𝓈",Kli="∖",Yli="⌣",Xli="⋆",Jli="⋆",Zli="☆",Qli="★",eui="ϵ",tui="ϕ",nui="¯",rui="⊂",iui="⋐",aui="⪽",oui="⫅",sui="⊆",lui="⫃",uui="⫁",cui="⫋",fui="⊊",dui="⪿",hui="⥹",pui="⊂",gui="⋐",mui="⊆",vui="⫅",yui="⊆",bui="⊊",wui="⫋",kui="⫇",_ui="⫕",Cui="⫓",Eui="⪸",xui="≻",Sui="≽",Aui="≻",Tui="⪰",Dui="≽",Iui="≿",Rui="⪰",Mui="⪺",Oui="⪶",Lui="⋩",Bui="≿",Pui="∋",Fui="∑",Nui="∑",$ui="♪",zui="¹",Uui="²",jui="³",Hui="⊃",qui="⋑",Wui="⪾",Gui="⫘",Vui="⫆",Kui="⊇",Yui="⫄",Xui="⊃",Jui="⊇",Zui="⟉",Qui="⫗",eci="⥻",tci="⫂",nci="⫌",rci="⊋",ici="⫀",aci="⊃",oci="⋑",sci="⊇",lci="⫆",uci="⊋",cci="⫌",fci="⫈",dci="⫔",hci="⫖",pci="⤦",gci="↙",mci="⇙",vci="↙",yci="⤪",bci="ß",wci=" ",kci="⌖",_ci="Τ",Cci="τ",Eci="⎴",xci="Ť",Sci="ť",Aci="Ţ",Tci="ţ",Dci="Т",Ici="т",Rci="⃛",Mci="⌕",Oci="𝔗",Lci="𝔱",Bci="∴",Pci="∴",Fci="∴",Nci="Θ",$ci="θ",zci="ϑ",Uci="ϑ",jci="≈",Hci="∼",qci="  ",Wci=" ",Gci=" ",Vci="≈",Kci="∼",Yci="Þ",Xci="þ",Jci="˜",Zci="∼",Qci="≃",efi="≅",tfi="≈",nfi="⨱",rfi="⊠",ifi="×",afi="⨰",ofi="∭",sfi="⤨",lfi="⌶",ufi="⫱",cfi="⊤",ffi="𝕋",dfi="𝕥",hfi="⫚",pfi="⤩",gfi="‴",mfi="™",vfi="™",yfi="▵",bfi="▿",wfi="◃",kfi="⊴",_fi="≜",Cfi="▹",Efi="⊵",xfi="◬",Sfi="≜",Afi="⨺",Tfi="⃛",Dfi="⨹",Ifi="⧍",Rfi="⨻",Mfi="⏢",Ofi="𝒯",Lfi="𝓉",Bfi="Ц",Pfi="ц",Ffi="Ћ",Nfi="ћ",$fi="Ŧ",zfi="ŧ",Ufi="≬",jfi="↞",Hfi="↠",qfi="Ú",Wfi="ú",Gfi="↑",Vfi="↟",Kfi="⇑",Yfi="⥉",Xfi="Ў",Jfi="ў",Zfi="Ŭ",Qfi="ŭ",edi="Û",tdi="û",ndi="У",rdi="у",idi="⇅",adi="Ű",odi="ű",sdi="⥮",ldi="⥾",udi="𝔘",cdi="𝔲",fdi="Ù",ddi="ù",hdi="⥣",pdi="↿",gdi="↾",mdi="▀",vdi="⌜",ydi="⌜",bdi="⌏",wdi="◸",kdi="Ū",_di="ū",Cdi="¨",Edi="_",xdi="⏟",Sdi="⎵",Adi="⏝",Tdi="⋃",Ddi="⊎",Idi="Ų",Rdi="ų",Mdi="𝕌",Odi="𝕦",Ldi="⤒",Bdi="↑",Pdi="↑",Fdi="⇑",Ndi="⇅",$di="↕",zdi="↕",Udi="⇕",jdi="⥮",Hdi="↿",qdi="↾",Wdi="⊎",Gdi="↖",Vdi="↗",Kdi="υ",Ydi="ϒ",Xdi="ϒ",Jdi="Υ",Zdi="υ",Qdi="↥",ehi="⊥",thi="⇈",nhi="⌝",rhi="⌝",ihi="⌎",ahi="Ů",ohi="ů",shi="◹",lhi="𝒰",uhi="𝓊",chi="⋰",fhi="Ũ",dhi="ũ",hhi="▵",phi="▴",ghi="⇈",mhi="Ü",vhi="ü",yhi="⦧",bhi="⦜",whi="ϵ",khi="ϰ",_hi="∅",Chi="ϕ",Ehi="ϖ",xhi="∝",Shi="↕",Ahi="⇕",Thi="ϱ",Dhi="ς",Ihi="⊊︀",Rhi="⫋︀",Mhi="⊋︀",Ohi="⫌︀",Lhi="ϑ",Bhi="⊲",Phi="⊳",Fhi="⫨",Nhi="⫫",$hi="⫩",zhi="В",Uhi="в",jhi="⊢",Hhi="⊨",qhi="⊩",Whi="⊫",Ghi="⫦",Vhi="⊻",Khi="∨",Yhi="⋁",Xhi="≚",Jhi="⋮",Zhi="|",Qhi="‖",e0i="|",t0i="‖",n0i="∣",r0i="|",i0i="❘",a0i="≀",o0i=" ",s0i="𝔙",l0i="𝔳",u0i="⊲",c0i="⊂⃒",f0i="⊃⃒",d0i="𝕍",h0i="𝕧",p0i="∝",g0i="⊳",m0i="𝒱",v0i="𝓋",y0i="⫋︀",b0i="⊊︀",w0i="⫌︀",k0i="⊋︀",_0i="⊪",C0i="⦚",E0i="Ŵ",x0i="ŵ",S0i="⩟",A0i="∧",T0i="⋀",D0i="≙",I0i="℘",R0i="𝔚",M0i="𝔴",O0i="𝕎",L0i="𝕨",B0i="℘",P0i="≀",F0i="≀",N0i="𝒲",$0i="𝓌",z0i="⋂",U0i="◯",j0i="⋃",H0i="▽",q0i="𝔛",W0i="𝔵",G0i="⟷",V0i="⟺",K0i="Ξ",Y0i="ξ",X0i="⟵",J0i="⟸",Z0i="⟼",Q0i="⋻",epi="⨀",tpi="𝕏",npi="𝕩",rpi="⨁",ipi="⨂",api="⟶",opi="⟹",spi="𝒳",lpi="𝓍",upi="⨆",cpi="⨄",fpi="△",dpi="⋁",hpi="⋀",ppi="Ý",gpi="ý",mpi="Я",vpi="я",ypi="Ŷ",bpi="ŷ",wpi="Ы",kpi="ы",_pi="¥",Cpi="𝔜",Epi="𝔶",xpi="Ї",Spi="ї",Api="𝕐",Tpi="𝕪",Dpi="𝒴",Ipi="𝓎",Rpi="Ю",Mpi="ю",Opi="ÿ",Lpi="Ÿ",Bpi="Ź",Ppi="ź",Fpi="Ž",Npi="ž",$pi="З",zpi="з",Upi="Ż",jpi="ż",Hpi="ℨ",qpi="​",Wpi="Ζ",Gpi="ζ",Vpi="𝔷",Kpi="ℨ",Ypi="Ж",Xpi="ж",Jpi="⇝",Zpi="𝕫",Qpi="ℤ",e1i="𝒵",t1i="𝓏",n1i="‍",r1i="‌",i1i={Aacute:UIr,aacute:jIr,Abreve:HIr,abreve:qIr,ac:WIr,acd:GIr,acE:VIr,Acirc:KIr,acirc:YIr,acute:XIr,Acy:JIr,acy:ZIr,AElig:QIr,aelig:eRr,af:tRr,Afr:nRr,afr:rRr,Agrave:iRr,agrave:aRr,alefsym:oRr,aleph:sRr,Alpha:lRr,alpha:uRr,Amacr:cRr,amacr:fRr,amalg:dRr,amp:hRr,AMP:pRr,andand:gRr,And:mRr,and:vRr,andd:yRr,andslope:bRr,andv:wRr,ang:kRr,ange:_Rr,angle:CRr,angmsdaa:ERr,angmsdab:xRr,angmsdac:SRr,angmsdad:ARr,angmsdae:TRr,angmsdaf:DRr,angmsdag:IRr,angmsdah:RRr,angmsd:MRr,angrt:ORr,angrtvb:LRr,angrtvbd:BRr,angsph:PRr,angst:FRr,angzarr:NRr,Aogon:$Rr,aogon:zRr,Aopf:URr,aopf:jRr,apacir:HRr,ap:qRr,apE:WRr,ape:GRr,apid:VRr,apos:KRr,ApplyFunction:YRr,approx:XRr,approxeq:JRr,Aring:ZRr,aring:QRr,Ascr:eMr,ascr:tMr,Assign:nMr,ast:rMr,asymp:iMr,asympeq:aMr,Atilde:oMr,atilde:sMr,Auml:lMr,auml:uMr,awconint:cMr,awint:fMr,backcong:dMr,backepsilon:hMr,backprime:pMr,backsim:gMr,backsimeq:mMr,Backslash:vMr,Barv:yMr,barvee:bMr,barwed:wMr,Barwed:kMr,barwedge:_Mr,bbrk:CMr,bbrktbrk:EMr,bcong:xMr,Bcy:SMr,bcy:AMr,bdquo:TMr,becaus:DMr,because:IMr,Because:RMr,bemptyv:MMr,bepsi:OMr,bernou:LMr,Bernoullis:BMr,Beta:PMr,beta:FMr,beth:NMr,between:$Mr,Bfr:zMr,bfr:UMr,bigcap:jMr,bigcirc:HMr,bigcup:qMr,bigodot:WMr,bigoplus:GMr,bigotimes:VMr,bigsqcup:KMr,bigstar:YMr,bigtriangledown:XMr,bigtriangleup:JMr,biguplus:ZMr,bigvee:QMr,bigwedge:eOr,bkarow:tOr,blacklozenge:nOr,blacksquare:rOr,blacktriangle:iOr,blacktriangledown:aOr,blacktriangleleft:oOr,blacktriangleright:sOr,blank:lOr,blk12:uOr,blk14:cOr,blk34:fOr,block:dOr,bne:hOr,bnequiv:pOr,bNot:gOr,bnot:mOr,Bopf:vOr,bopf:yOr,bot:bOr,bottom:wOr,bowtie:kOr,boxbox:_Or,boxdl:COr,boxdL:EOr,boxDl:xOr,boxDL:SOr,boxdr:AOr,boxdR:TOr,boxDr:DOr,boxDR:IOr,boxh:ROr,boxH:MOr,boxhd:OOr,boxHd:LOr,boxhD:BOr,boxHD:POr,boxhu:FOr,boxHu:NOr,boxhU:$Or,boxHU:zOr,boxminus:UOr,boxplus:jOr,boxtimes:HOr,boxul:qOr,boxuL:WOr,boxUl:GOr,boxUL:VOr,boxur:KOr,boxuR:YOr,boxUr:XOr,boxUR:JOr,boxv:ZOr,boxV:QOr,boxvh:eLr,boxvH:tLr,boxVh:nLr,boxVH:rLr,boxvl:iLr,boxvL:aLr,boxVl:oLr,boxVL:sLr,boxvr:lLr,boxvR:uLr,boxVr:cLr,boxVR:fLr,bprime:dLr,breve:hLr,Breve:pLr,brvbar:gLr,bscr:mLr,Bscr:vLr,bsemi:yLr,bsim:bLr,bsime:wLr,bsolb:kLr,bsol:_Lr,bsolhsub:CLr,bull:ELr,bullet:xLr,bump:SLr,bumpE:ALr,bumpe:TLr,Bumpeq:DLr,bumpeq:ILr,Cacute:RLr,cacute:MLr,capand:OLr,capbrcup:LLr,capcap:BLr,cap:PLr,Cap:FLr,capcup:NLr,capdot:$Lr,CapitalDifferentialD:zLr,caps:ULr,caret:jLr,caron:HLr,Cayleys:qLr,ccaps:WLr,Ccaron:GLr,ccaron:VLr,Ccedil:KLr,ccedil:YLr,Ccirc:XLr,ccirc:JLr,Cconint:ZLr,ccups:QLr,ccupssm:eBr,Cdot:tBr,cdot:nBr,cedil:rBr,Cedilla:iBr,cemptyv:aBr,cent:oBr,centerdot:sBr,CenterDot:lBr,cfr:uBr,Cfr:cBr,CHcy:fBr,chcy:dBr,check:hBr,checkmark:pBr,Chi:gBr,chi:mBr,circ:vBr,circeq:yBr,circlearrowleft:bBr,circlearrowright:wBr,circledast:kBr,circledcirc:_Br,circleddash:CBr,CircleDot:EBr,circledR:xBr,circledS:SBr,CircleMinus:ABr,CirclePlus:TBr,CircleTimes:DBr,cir:IBr,cirE:RBr,cire:MBr,cirfnint:OBr,cirmid:LBr,cirscir:BBr,ClockwiseContourIntegral:PBr,CloseCurlyDoubleQuote:FBr,CloseCurlyQuote:NBr,clubs:$Br,clubsuit:zBr,colon:UBr,Colon:jBr,Colone:HBr,colone:qBr,coloneq:WBr,comma:GBr,commat:VBr,comp:KBr,compfn:YBr,complement:XBr,complexes:JBr,cong:ZBr,congdot:QBr,Congruent:ePr,conint:tPr,Conint:nPr,ContourIntegral:rPr,copf:iPr,Copf:aPr,coprod:oPr,Coproduct:sPr,copy:lPr,COPY:uPr,copysr:cPr,CounterClockwiseContourIntegral:fPr,crarr:dPr,cross:hPr,Cross:pPr,Cscr:gPr,cscr:mPr,csub:vPr,csube:yPr,csup:bPr,csupe:wPr,ctdot:kPr,cudarrl:_Pr,cudarrr:CPr,cuepr:EPr,cuesc:xPr,cularr:SPr,cularrp:APr,cupbrcap:TPr,cupcap:DPr,CupCap:IPr,cup:RPr,Cup:MPr,cupcup:OPr,cupdot:LPr,cupor:BPr,cups:PPr,curarr:FPr,curarrm:NPr,curlyeqprec:$Pr,curlyeqsucc:zPr,curlyvee:UPr,curlywedge:jPr,curren:HPr,curvearrowleft:qPr,curvearrowright:WPr,cuvee:GPr,cuwed:VPr,cwconint:KPr,cwint:YPr,cylcty:XPr,dagger:JPr,Dagger:ZPr,daleth:QPr,darr:eFr,Darr:tFr,dArr:nFr,dash:rFr,Dashv:iFr,dashv:aFr,dbkarow:oFr,dblac:sFr,Dcaron:lFr,dcaron:uFr,Dcy:cFr,dcy:fFr,ddagger:dFr,ddarr:hFr,DD:pFr,dd:gFr,DDotrahd:mFr,ddotseq:vFr,deg:yFr,Del:bFr,Delta:wFr,delta:kFr,demptyv:_Fr,dfisht:CFr,Dfr:EFr,dfr:xFr,dHar:SFr,dharl:AFr,dharr:TFr,DiacriticalAcute:DFr,DiacriticalDot:IFr,DiacriticalDoubleAcute:RFr,DiacriticalGrave:MFr,DiacriticalTilde:OFr,diam:LFr,diamond:BFr,Diamond:PFr,diamondsuit:FFr,diams:NFr,die:$Fr,DifferentialD:zFr,digamma:UFr,disin:jFr,div:HFr,divide:qFr,divideontimes:WFr,divonx:GFr,DJcy:VFr,djcy:KFr,dlcorn:YFr,dlcrop:XFr,dollar:JFr,Dopf:ZFr,dopf:QFr,Dot:eNr,dot:tNr,DotDot:nNr,doteq:rNr,doteqdot:iNr,DotEqual:aNr,dotminus:oNr,dotplus:sNr,dotsquare:lNr,doublebarwedge:uNr,DoubleContourIntegral:cNr,DoubleDot:fNr,DoubleDownArrow:dNr,DoubleLeftArrow:hNr,DoubleLeftRightArrow:pNr,DoubleLeftTee:gNr,DoubleLongLeftArrow:mNr,DoubleLongLeftRightArrow:vNr,DoubleLongRightArrow:yNr,DoubleRightArrow:bNr,DoubleRightTee:wNr,DoubleUpArrow:kNr,DoubleUpDownArrow:_Nr,DoubleVerticalBar:CNr,DownArrowBar:ENr,downarrow:xNr,DownArrow:SNr,Downarrow:ANr,DownArrowUpArrow:TNr,DownBreve:DNr,downdownarrows:INr,downharpoonleft:RNr,downharpoonright:MNr,DownLeftRightVector:ONr,DownLeftTeeVector:LNr,DownLeftVectorBar:BNr,DownLeftVector:PNr,DownRightTeeVector:FNr,DownRightVectorBar:NNr,DownRightVector:$Nr,DownTeeArrow:zNr,DownTee:UNr,drbkarow:jNr,drcorn:HNr,drcrop:qNr,Dscr:WNr,dscr:GNr,DScy:VNr,dscy:KNr,dsol:YNr,Dstrok:XNr,dstrok:JNr,dtdot:ZNr,dtri:QNr,dtrif:e$r,duarr:t$r,duhar:n$r,dwangle:r$r,DZcy:i$r,dzcy:a$r,dzigrarr:o$r,Eacute:s$r,eacute:l$r,easter:u$r,Ecaron:c$r,ecaron:f$r,Ecirc:d$r,ecirc:h$r,ecir:p$r,ecolon:g$r,Ecy:m$r,ecy:v$r,eDDot:y$r,Edot:b$r,edot:w$r,eDot:k$r,ee:_$r,efDot:C$r,Efr:E$r,efr:x$r,eg:S$r,Egrave:A$r,egrave:T$r,egs:D$r,egsdot:I$r,el:R$r,Element:M$r,elinters:O$r,ell:L$r,els:B$r,elsdot:P$r,Emacr:F$r,emacr:N$r,empty:$$r,emptyset:z$r,EmptySmallSquare:U$r,emptyv:j$r,EmptyVerySmallSquare:H$r,emsp13:q$r,emsp14:W$r,emsp:G$r,ENG:V$r,eng:K$r,ensp:Y$r,Eogon:X$r,eogon:J$r,Eopf:Z$r,eopf:Q$r,epar:ezr,eparsl:tzr,eplus:nzr,epsi:rzr,Epsilon:izr,epsilon:azr,epsiv:ozr,eqcirc:szr,eqcolon:lzr,eqsim:uzr,eqslantgtr:czr,eqslantless:fzr,Equal:dzr,equals:hzr,EqualTilde:pzr,equest:gzr,Equilibrium:mzr,equiv:vzr,equivDD:yzr,eqvparsl:bzr,erarr:wzr,erDot:kzr,escr:_zr,Escr:Czr,esdot:Ezr,Esim:xzr,esim:Szr,Eta:Azr,eta:Tzr,ETH:Dzr,eth:Izr,Euml:Rzr,euml:Mzr,euro:Ozr,excl:Lzr,exist:Bzr,Exists:Pzr,expectation:Fzr,exponentiale:Nzr,ExponentialE:$zr,fallingdotseq:zzr,Fcy:Uzr,fcy:jzr,female:Hzr,ffilig:qzr,fflig:Wzr,ffllig:Gzr,Ffr:Vzr,ffr:Kzr,filig:Yzr,FilledSmallSquare:Xzr,FilledVerySmallSquare:Jzr,fjlig:Zzr,flat:Qzr,fllig:eUr,fltns:tUr,fnof:nUr,Fopf:rUr,fopf:iUr,forall:aUr,ForAll:oUr,fork:sUr,forkv:lUr,Fouriertrf:uUr,fpartint:cUr,frac12:fUr,frac13:dUr,frac14:hUr,frac15:pUr,frac16:gUr,frac18:mUr,frac23:vUr,frac25:yUr,frac34:bUr,frac35:wUr,frac38:kUr,frac45:_Ur,frac56:CUr,frac58:EUr,frac78:xUr,frasl:SUr,frown:AUr,fscr:TUr,Fscr:DUr,gacute:IUr,Gamma:RUr,gamma:MUr,Gammad:OUr,gammad:LUr,gap:BUr,Gbreve:PUr,gbreve:FUr,Gcedil:NUr,Gcirc:$Ur,gcirc:zUr,Gcy:UUr,gcy:jUr,Gdot:HUr,gdot:qUr,ge:WUr,gE:GUr,gEl:VUr,gel:KUr,geq:YUr,geqq:XUr,geqslant:JUr,gescc:ZUr,ges:QUr,gesdot:ejr,gesdoto:tjr,gesdotol:njr,gesl:rjr,gesles:ijr,Gfr:ajr,gfr:ojr,gg:sjr,Gg:ljr,ggg:ujr,gimel:cjr,GJcy:fjr,gjcy:djr,gla:hjr,gl:pjr,glE:gjr,glj:mjr,gnap:vjr,gnapprox:yjr,gne:bjr,gnE:wjr,gneq:kjr,gneqq:_jr,gnsim:Cjr,Gopf:Ejr,gopf:xjr,grave:Sjr,GreaterEqual:Ajr,GreaterEqualLess:Tjr,GreaterFullEqual:Djr,GreaterGreater:Ijr,GreaterLess:Rjr,GreaterSlantEqual:Mjr,GreaterTilde:Ojr,Gscr:Ljr,gscr:Bjr,gsim:Pjr,gsime:Fjr,gsiml:Njr,gtcc:$jr,gtcir:zjr,gt:Ujr,GT:jjr,Gt:Hjr,gtdot:qjr,gtlPar:Wjr,gtquest:Gjr,gtrapprox:Vjr,gtrarr:Kjr,gtrdot:Yjr,gtreqless:Xjr,gtreqqless:Jjr,gtrless:Zjr,gtrsim:Qjr,gvertneqq:eHr,gvnE:tHr,Hacek:nHr,hairsp:rHr,half:iHr,hamilt:aHr,HARDcy:oHr,hardcy:sHr,harrcir:lHr,harr:uHr,hArr:cHr,harrw:fHr,Hat:dHr,hbar:hHr,Hcirc:pHr,hcirc:gHr,hearts:mHr,heartsuit:vHr,hellip:yHr,hercon:bHr,hfr:wHr,Hfr:kHr,HilbertSpace:_Hr,hksearow:CHr,hkswarow:EHr,hoarr:xHr,homtht:SHr,hookleftarrow:AHr,hookrightarrow:THr,hopf:DHr,Hopf:IHr,horbar:RHr,HorizontalLine:MHr,hscr:OHr,Hscr:LHr,hslash:BHr,Hstrok:PHr,hstrok:FHr,HumpDownHump:NHr,HumpEqual:$Hr,hybull:zHr,hyphen:UHr,Iacute:jHr,iacute:HHr,ic:qHr,Icirc:WHr,icirc:GHr,Icy:VHr,icy:KHr,Idot:YHr,IEcy:XHr,iecy:JHr,iexcl:ZHr,iff:QHr,ifr:eqr,Ifr:tqr,Igrave:nqr,igrave:rqr,ii:iqr,iiiint:aqr,iiint:oqr,iinfin:sqr,iiota:lqr,IJlig:uqr,ijlig:cqr,Imacr:fqr,imacr:dqr,image:hqr,ImaginaryI:pqr,imagline:gqr,imagpart:mqr,imath:vqr,Im:yqr,imof:bqr,imped:wqr,Implies:kqr,incare:_qr,in:"∈",infin:Cqr,infintie:Eqr,inodot:xqr,intcal:Sqr,int:Aqr,Int:Tqr,integers:Dqr,Integral:Iqr,intercal:Rqr,Intersection:Mqr,intlarhk:Oqr,intprod:Lqr,InvisibleComma:Bqr,InvisibleTimes:Pqr,IOcy:Fqr,iocy:Nqr,Iogon:$qr,iogon:zqr,Iopf:Uqr,iopf:jqr,Iota:Hqr,iota:qqr,iprod:Wqr,iquest:Gqr,iscr:Vqr,Iscr:Kqr,isin:Yqr,isindot:Xqr,isinE:Jqr,isins:Zqr,isinsv:Qqr,isinv:eWr,it:tWr,Itilde:nWr,itilde:rWr,Iukcy:iWr,iukcy:aWr,Iuml:oWr,iuml:sWr,Jcirc:lWr,jcirc:uWr,Jcy:cWr,jcy:fWr,Jfr:dWr,jfr:hWr,jmath:pWr,Jopf:gWr,jopf:mWr,Jscr:vWr,jscr:yWr,Jsercy:bWr,jsercy:wWr,Jukcy:kWr,jukcy:_Wr,Kappa:CWr,kappa:EWr,kappav:xWr,Kcedil:SWr,kcedil:AWr,Kcy:TWr,kcy:DWr,Kfr:IWr,kfr:RWr,kgreen:MWr,KHcy:OWr,khcy:LWr,KJcy:BWr,kjcy:PWr,Kopf:FWr,kopf:NWr,Kscr:$Wr,kscr:zWr,lAarr:UWr,Lacute:jWr,lacute:HWr,laemptyv:qWr,lagran:WWr,Lambda:GWr,lambda:VWr,lang:KWr,Lang:YWr,langd:XWr,langle:JWr,lap:ZWr,Laplacetrf:QWr,laquo:eGr,larrb:tGr,larrbfs:nGr,larr:rGr,Larr:iGr,lArr:aGr,larrfs:oGr,larrhk:sGr,larrlp:lGr,larrpl:uGr,larrsim:cGr,larrtl:fGr,latail:dGr,lAtail:hGr,lat:pGr,late:gGr,lates:mGr,lbarr:vGr,lBarr:yGr,lbbrk:bGr,lbrace:wGr,lbrack:kGr,lbrke:_Gr,lbrksld:CGr,lbrkslu:EGr,Lcaron:xGr,lcaron:SGr,Lcedil:AGr,lcedil:TGr,lceil:DGr,lcub:IGr,Lcy:RGr,lcy:MGr,ldca:OGr,ldquo:LGr,ldquor:BGr,ldrdhar:PGr,ldrushar:FGr,ldsh:NGr,le:$Gr,lE:zGr,LeftAngleBracket:UGr,LeftArrowBar:jGr,leftarrow:HGr,LeftArrow:qGr,Leftarrow:WGr,LeftArrowRightArrow:GGr,leftarrowtail:VGr,LeftCeiling:KGr,LeftDoubleBracket:YGr,LeftDownTeeVector:XGr,LeftDownVectorBar:JGr,LeftDownVector:ZGr,LeftFloor:QGr,leftharpoondown:eVr,leftharpoonup:tVr,leftleftarrows:nVr,leftrightarrow:rVr,LeftRightArrow:iVr,Leftrightarrow:aVr,leftrightarrows:oVr,leftrightharpoons:sVr,leftrightsquigarrow:lVr,LeftRightVector:uVr,LeftTeeArrow:cVr,LeftTee:fVr,LeftTeeVector:dVr,leftthreetimes:hVr,LeftTriangleBar:pVr,LeftTriangle:gVr,LeftTriangleEqual:mVr,LeftUpDownVector:vVr,LeftUpTeeVector:yVr,LeftUpVectorBar:bVr,LeftUpVector:wVr,LeftVectorBar:kVr,LeftVector:_Vr,lEg:CVr,leg:EVr,leq:xVr,leqq:SVr,leqslant:AVr,lescc:TVr,les:DVr,lesdot:IVr,lesdoto:RVr,lesdotor:MVr,lesg:OVr,lesges:LVr,lessapprox:BVr,lessdot:PVr,lesseqgtr:FVr,lesseqqgtr:NVr,LessEqualGreater:$Vr,LessFullEqual:zVr,LessGreater:UVr,lessgtr:jVr,LessLess:HVr,lesssim:qVr,LessSlantEqual:WVr,LessTilde:GVr,lfisht:VVr,lfloor:KVr,Lfr:YVr,lfr:XVr,lg:JVr,lgE:ZVr,lHar:QVr,lhard:eKr,lharu:tKr,lharul:nKr,lhblk:rKr,LJcy:iKr,ljcy:aKr,llarr:oKr,ll:sKr,Ll:lKr,llcorner:uKr,Lleftarrow:cKr,llhard:fKr,lltri:dKr,Lmidot:hKr,lmidot:pKr,lmoustache:gKr,lmoust:mKr,lnap:vKr,lnapprox:yKr,lne:bKr,lnE:wKr,lneq:kKr,lneqq:_Kr,lnsim:CKr,loang:EKr,loarr:xKr,lobrk:SKr,longleftarrow:AKr,LongLeftArrow:TKr,Longleftarrow:DKr,longleftrightarrow:IKr,LongLeftRightArrow:RKr,Longleftrightarrow:MKr,longmapsto:OKr,longrightarrow:LKr,LongRightArrow:BKr,Longrightarrow:PKr,looparrowleft:FKr,looparrowright:NKr,lopar:$Kr,Lopf:zKr,lopf:UKr,loplus:jKr,lotimes:HKr,lowast:qKr,lowbar:WKr,LowerLeftArrow:GKr,LowerRightArrow:VKr,loz:KKr,lozenge:YKr,lozf:XKr,lpar:JKr,lparlt:ZKr,lrarr:QKr,lrcorner:eYr,lrhar:tYr,lrhard:nYr,lrm:rYr,lrtri:iYr,lsaquo:aYr,lscr:oYr,Lscr:sYr,lsh:lYr,Lsh:uYr,lsim:cYr,lsime:fYr,lsimg:dYr,lsqb:hYr,lsquo:pYr,lsquor:gYr,Lstrok:mYr,lstrok:vYr,ltcc:yYr,ltcir:bYr,lt:wYr,LT:kYr,Lt:_Yr,ltdot:CYr,lthree:EYr,ltimes:xYr,ltlarr:SYr,ltquest:AYr,ltri:TYr,ltrie:DYr,ltrif:IYr,ltrPar:RYr,lurdshar:MYr,luruhar:OYr,lvertneqq:LYr,lvnE:BYr,macr:PYr,male:FYr,malt:NYr,maltese:$Yr,Map:"⤅",map:zYr,mapsto:UYr,mapstodown:jYr,mapstoleft:HYr,mapstoup:qYr,marker:WYr,mcomma:GYr,Mcy:VYr,mcy:KYr,mdash:YYr,mDDot:XYr,measuredangle:JYr,MediumSpace:ZYr,Mellintrf:QYr,Mfr:eXr,mfr:tXr,mho:nXr,micro:rXr,midast:iXr,midcir:aXr,mid:oXr,middot:sXr,minusb:lXr,minus:uXr,minusd:cXr,minusdu:fXr,MinusPlus:dXr,mlcp:hXr,mldr:pXr,mnplus:gXr,models:mXr,Mopf:vXr,mopf:yXr,mp:bXr,mscr:wXr,Mscr:kXr,mstpos:_Xr,Mu:CXr,mu:EXr,multimap:xXr,mumap:SXr,nabla:AXr,Nacute:TXr,nacute:DXr,nang:IXr,nap:RXr,napE:MXr,napid:OXr,napos:LXr,napprox:BXr,natural:PXr,naturals:FXr,natur:NXr,nbsp:$Xr,nbump:zXr,nbumpe:UXr,ncap:jXr,Ncaron:HXr,ncaron:qXr,Ncedil:WXr,ncedil:GXr,ncong:VXr,ncongdot:KXr,ncup:YXr,Ncy:XXr,ncy:JXr,ndash:ZXr,nearhk:QXr,nearr:eJr,neArr:tJr,nearrow:nJr,ne:rJr,nedot:iJr,NegativeMediumSpace:aJr,NegativeThickSpace:oJr,NegativeThinSpace:sJr,NegativeVeryThinSpace:lJr,nequiv:uJr,nesear:cJr,nesim:fJr,NestedGreaterGreater:dJr,NestedLessLess:hJr,NewLine:pJr,nexist:gJr,nexists:mJr,Nfr:vJr,nfr:yJr,ngE:bJr,nge:wJr,ngeq:kJr,ngeqq:_Jr,ngeqslant:CJr,nges:EJr,nGg:xJr,ngsim:SJr,nGt:AJr,ngt:TJr,ngtr:DJr,nGtv:IJr,nharr:RJr,nhArr:MJr,nhpar:OJr,ni:LJr,nis:BJr,nisd:PJr,niv:FJr,NJcy:NJr,njcy:$Jr,nlarr:zJr,nlArr:UJr,nldr:jJr,nlE:HJr,nle:qJr,nleftarrow:WJr,nLeftarrow:GJr,nleftrightarrow:VJr,nLeftrightarrow:KJr,nleq:YJr,nleqq:XJr,nleqslant:JJr,nles:ZJr,nless:QJr,nLl:eZr,nlsim:tZr,nLt:nZr,nlt:rZr,nltri:iZr,nltrie:aZr,nLtv:oZr,nmid:sZr,NoBreak:lZr,NonBreakingSpace:uZr,nopf:cZr,Nopf:fZr,Not:dZr,not:hZr,NotCongruent:pZr,NotCupCap:gZr,NotDoubleVerticalBar:mZr,NotElement:vZr,NotEqual:yZr,NotEqualTilde:bZr,NotExists:wZr,NotGreater:kZr,NotGreaterEqual:_Zr,NotGreaterFullEqual:CZr,NotGreaterGreater:EZr,NotGreaterLess:xZr,NotGreaterSlantEqual:SZr,NotGreaterTilde:AZr,NotHumpDownHump:TZr,NotHumpEqual:DZr,notin:IZr,notindot:RZr,notinE:MZr,notinva:OZr,notinvb:LZr,notinvc:BZr,NotLeftTriangleBar:PZr,NotLeftTriangle:FZr,NotLeftTriangleEqual:NZr,NotLess:$Zr,NotLessEqual:zZr,NotLessGreater:UZr,NotLessLess:jZr,NotLessSlantEqual:HZr,NotLessTilde:qZr,NotNestedGreaterGreater:WZr,NotNestedLessLess:GZr,notni:VZr,notniva:KZr,notnivb:YZr,notnivc:XZr,NotPrecedes:JZr,NotPrecedesEqual:ZZr,NotPrecedesSlantEqual:QZr,NotReverseElement:eQr,NotRightTriangleBar:tQr,NotRightTriangle:nQr,NotRightTriangleEqual:rQr,NotSquareSubset:iQr,NotSquareSubsetEqual:aQr,NotSquareSuperset:oQr,NotSquareSupersetEqual:sQr,NotSubset:lQr,NotSubsetEqual:uQr,NotSucceeds:cQr,NotSucceedsEqual:fQr,NotSucceedsSlantEqual:dQr,NotSucceedsTilde:hQr,NotSuperset:pQr,NotSupersetEqual:gQr,NotTilde:mQr,NotTildeEqual:vQr,NotTildeFullEqual:yQr,NotTildeTilde:bQr,NotVerticalBar:wQr,nparallel:kQr,npar:_Qr,nparsl:CQr,npart:EQr,npolint:xQr,npr:SQr,nprcue:AQr,nprec:TQr,npreceq:DQr,npre:IQr,nrarrc:RQr,nrarr:MQr,nrArr:OQr,nrarrw:LQr,nrightarrow:BQr,nRightarrow:PQr,nrtri:FQr,nrtrie:NQr,nsc:$Qr,nsccue:zQr,nsce:UQr,Nscr:jQr,nscr:HQr,nshortmid:qQr,nshortparallel:WQr,nsim:GQr,nsime:VQr,nsimeq:KQr,nsmid:YQr,nspar:XQr,nsqsube:JQr,nsqsupe:ZQr,nsub:QQr,nsubE:eei,nsube:tei,nsubset:nei,nsubseteq:rei,nsubseteqq:iei,nsucc:aei,nsucceq:oei,nsup:sei,nsupE:lei,nsupe:uei,nsupset:cei,nsupseteq:fei,nsupseteqq:dei,ntgl:hei,Ntilde:pei,ntilde:gei,ntlg:mei,ntriangleleft:vei,ntrianglelefteq:yei,ntriangleright:bei,ntrianglerighteq:wei,Nu:kei,nu:_ei,num:Cei,numero:Eei,numsp:xei,nvap:Sei,nvdash:Aei,nvDash:Tei,nVdash:Dei,nVDash:Iei,nvge:Rei,nvgt:Mei,nvHarr:Oei,nvinfin:Lei,nvlArr:Bei,nvle:Pei,nvlt:Fei,nvltrie:Nei,nvrArr:$ei,nvrtrie:zei,nvsim:Uei,nwarhk:jei,nwarr:Hei,nwArr:qei,nwarrow:Wei,nwnear:Gei,Oacute:Vei,oacute:Kei,oast:Yei,Ocirc:Xei,ocirc:Jei,ocir:Zei,Ocy:Qei,ocy:eti,odash:tti,Odblac:nti,odblac:rti,odiv:iti,odot:ati,odsold:oti,OElig:sti,oelig:lti,ofcir:uti,Ofr:cti,ofr:fti,ogon:dti,Ograve:hti,ograve:pti,ogt:gti,ohbar:mti,ohm:vti,oint:yti,olarr:bti,olcir:wti,olcross:kti,oline:_ti,olt:Cti,Omacr:Eti,omacr:xti,Omega:Sti,omega:Ati,Omicron:Tti,omicron:Dti,omid:Iti,ominus:Rti,Oopf:Mti,oopf:Oti,opar:Lti,OpenCurlyDoubleQuote:Bti,OpenCurlyQuote:Pti,operp:Fti,oplus:Nti,orarr:$ti,Or:zti,or:Uti,ord:jti,order:Hti,orderof:qti,ordf:Wti,ordm:Gti,origof:Vti,oror:Kti,orslope:Yti,orv:Xti,oS:Jti,Oscr:Zti,oscr:Qti,Oslash:eni,oslash:tni,osol:nni,Otilde:rni,otilde:ini,otimesas:ani,Otimes:oni,otimes:sni,Ouml:lni,ouml:uni,ovbar:cni,OverBar:fni,OverBrace:dni,OverBracket:hni,OverParenthesis:pni,para:gni,parallel:mni,par:vni,parsim:yni,parsl:bni,part:wni,PartialD:kni,Pcy:_ni,pcy:Cni,percnt:Eni,period:xni,permil:Sni,perp:Ani,pertenk:Tni,Pfr:Dni,pfr:Ini,Phi:Rni,phi:Mni,phiv:Oni,phmmat:Lni,phone:Bni,Pi:Pni,pi:Fni,pitchfork:Nni,piv:$ni,planck:zni,planckh:Uni,plankv:jni,plusacir:Hni,plusb:qni,pluscir:Wni,plus:Gni,plusdo:Vni,plusdu:Kni,pluse:Yni,PlusMinus:Xni,plusmn:Jni,plussim:Zni,plustwo:Qni,pm:eri,Poincareplane:tri,pointint:nri,popf:rri,Popf:iri,pound:ari,prap:ori,Pr:sri,pr:lri,prcue:uri,precapprox:cri,prec:fri,preccurlyeq:dri,Precedes:hri,PrecedesEqual:pri,PrecedesSlantEqual:gri,PrecedesTilde:mri,preceq:vri,precnapprox:yri,precneqq:bri,precnsim:wri,pre:kri,prE:_ri,precsim:Cri,prime:Eri,Prime:xri,primes:Sri,prnap:Ari,prnE:Tri,prnsim:Dri,prod:Iri,Product:Rri,profalar:Mri,profline:Ori,profsurf:Lri,prop:Bri,Proportional:Pri,Proportion:Fri,propto:Nri,prsim:$ri,prurel:zri,Pscr:Uri,pscr:jri,Psi:Hri,psi:qri,puncsp:Wri,Qfr:Gri,qfr:Vri,qint:Kri,qopf:Yri,Qopf:Xri,qprime:Jri,Qscr:Zri,qscr:Qri,quaternions:eii,quatint:tii,quest:nii,questeq:rii,quot:iii,QUOT:aii,rAarr:oii,race:sii,Racute:lii,racute:uii,radic:cii,raemptyv:fii,rang:dii,Rang:hii,rangd:pii,range:gii,rangle:mii,raquo:vii,rarrap:yii,rarrb:bii,rarrbfs:wii,rarrc:kii,rarr:_ii,Rarr:Cii,rArr:Eii,rarrfs:xii,rarrhk:Sii,rarrlp:Aii,rarrpl:Tii,rarrsim:Dii,Rarrtl:Iii,rarrtl:Rii,rarrw:Mii,ratail:Oii,rAtail:Lii,ratio:Bii,rationals:Pii,rbarr:Fii,rBarr:Nii,RBarr:$ii,rbbrk:zii,rbrace:Uii,rbrack:jii,rbrke:Hii,rbrksld:qii,rbrkslu:Wii,Rcaron:Gii,rcaron:Vii,Rcedil:Kii,rcedil:Yii,rceil:Xii,rcub:Jii,Rcy:Zii,rcy:Qii,rdca:eai,rdldhar:tai,rdquo:nai,rdquor:rai,rdsh:iai,real:aai,realine:oai,realpart:sai,reals:lai,Re:uai,rect:cai,reg:fai,REG:dai,ReverseElement:hai,ReverseEquilibrium:pai,ReverseUpEquilibrium:gai,rfisht:mai,rfloor:vai,rfr:yai,Rfr:bai,rHar:wai,rhard:kai,rharu:_ai,rharul:Cai,Rho:Eai,rho:xai,rhov:Sai,RightAngleBracket:Aai,RightArrowBar:Tai,rightarrow:Dai,RightArrow:Iai,Rightarrow:Rai,RightArrowLeftArrow:Mai,rightarrowtail:Oai,RightCeiling:Lai,RightDoubleBracket:Bai,RightDownTeeVector:Pai,RightDownVectorBar:Fai,RightDownVector:Nai,RightFloor:$ai,rightharpoondown:zai,rightharpoonup:Uai,rightleftarrows:jai,rightleftharpoons:Hai,rightrightarrows:qai,rightsquigarrow:Wai,RightTeeArrow:Gai,RightTee:Vai,RightTeeVector:Kai,rightthreetimes:Yai,RightTriangleBar:Xai,RightTriangle:Jai,RightTriangleEqual:Zai,RightUpDownVector:Qai,RightUpTeeVector:eoi,RightUpVectorBar:toi,RightUpVector:noi,RightVectorBar:roi,RightVector:ioi,ring:aoi,risingdotseq:ooi,rlarr:soi,rlhar:loi,rlm:uoi,rmoustache:coi,rmoust:foi,rnmid:doi,roang:hoi,roarr:poi,robrk:goi,ropar:moi,ropf:voi,Ropf:yoi,roplus:boi,rotimes:woi,RoundImplies:koi,rpar:_oi,rpargt:Coi,rppolint:Eoi,rrarr:xoi,Rrightarrow:Soi,rsaquo:Aoi,rscr:Toi,Rscr:Doi,rsh:Ioi,Rsh:Roi,rsqb:Moi,rsquo:Ooi,rsquor:Loi,rthree:Boi,rtimes:Poi,rtri:Foi,rtrie:Noi,rtrif:$oi,rtriltri:zoi,RuleDelayed:Uoi,ruluhar:joi,rx:Hoi,Sacute:qoi,sacute:Woi,sbquo:Goi,scap:Voi,Scaron:Koi,scaron:Yoi,Sc:Xoi,sc:Joi,sccue:Zoi,sce:Qoi,scE:esi,Scedil:tsi,scedil:nsi,Scirc:rsi,scirc:isi,scnap:asi,scnE:osi,scnsim:ssi,scpolint:lsi,scsim:usi,Scy:csi,scy:fsi,sdotb:dsi,sdot:hsi,sdote:psi,searhk:gsi,searr:msi,seArr:vsi,searrow:ysi,sect:bsi,semi:wsi,seswar:ksi,setminus:_si,setmn:Csi,sext:Esi,Sfr:xsi,sfr:Ssi,sfrown:Asi,sharp:Tsi,SHCHcy:Dsi,shchcy:Isi,SHcy:Rsi,shcy:Msi,ShortDownArrow:Osi,ShortLeftArrow:Lsi,shortmid:Bsi,shortparallel:Psi,ShortRightArrow:Fsi,ShortUpArrow:Nsi,shy:$si,Sigma:zsi,sigma:Usi,sigmaf:jsi,sigmav:Hsi,sim:qsi,simdot:Wsi,sime:Gsi,simeq:Vsi,simg:Ksi,simgE:Ysi,siml:Xsi,simlE:Jsi,simne:Zsi,simplus:Qsi,simrarr:eli,slarr:tli,SmallCircle:nli,smallsetminus:rli,smashp:ili,smeparsl:ali,smid:oli,smile:sli,smt:lli,smte:uli,smtes:cli,SOFTcy:fli,softcy:dli,solbar:hli,solb:pli,sol:gli,Sopf:mli,sopf:vli,spades:yli,spadesuit:bli,spar:wli,sqcap:kli,sqcaps:_li,sqcup:Cli,sqcups:Eli,Sqrt:xli,sqsub:Sli,sqsube:Ali,sqsubset:Tli,sqsubseteq:Dli,sqsup:Ili,sqsupe:Rli,sqsupset:Mli,sqsupseteq:Oli,square:Lli,Square:Bli,SquareIntersection:Pli,SquareSubset:Fli,SquareSubsetEqual:Nli,SquareSuperset:$li,SquareSupersetEqual:zli,SquareUnion:Uli,squarf:jli,squ:Hli,squf:qli,srarr:Wli,Sscr:Gli,sscr:Vli,ssetmn:Kli,ssmile:Yli,sstarf:Xli,Star:Jli,star:Zli,starf:Qli,straightepsilon:eui,straightphi:tui,strns:nui,sub:rui,Sub:iui,subdot:aui,subE:oui,sube:sui,subedot:lui,submult:uui,subnE:cui,subne:fui,subplus:dui,subrarr:hui,subset:pui,Subset:gui,subseteq:mui,subseteqq:vui,SubsetEqual:yui,subsetneq:bui,subsetneqq:wui,subsim:kui,subsub:_ui,subsup:Cui,succapprox:Eui,succ:xui,succcurlyeq:Sui,Succeeds:Aui,SucceedsEqual:Tui,SucceedsSlantEqual:Dui,SucceedsTilde:Iui,succeq:Rui,succnapprox:Mui,succneqq:Oui,succnsim:Lui,succsim:Bui,SuchThat:Pui,sum:Fui,Sum:Nui,sung:$ui,sup1:zui,sup2:Uui,sup3:jui,sup:Hui,Sup:qui,supdot:Wui,supdsub:Gui,supE:Vui,supe:Kui,supedot:Yui,Superset:Xui,SupersetEqual:Jui,suphsol:Zui,suphsub:Qui,suplarr:eci,supmult:tci,supnE:nci,supne:rci,supplus:ici,supset:aci,Supset:oci,supseteq:sci,supseteqq:lci,supsetneq:uci,supsetneqq:cci,supsim:fci,supsub:dci,supsup:hci,swarhk:pci,swarr:gci,swArr:mci,swarrow:vci,swnwar:yci,szlig:bci,Tab:wci,target:kci,Tau:_ci,tau:Cci,tbrk:Eci,Tcaron:xci,tcaron:Sci,Tcedil:Aci,tcedil:Tci,Tcy:Dci,tcy:Ici,tdot:Rci,telrec:Mci,Tfr:Oci,tfr:Lci,there4:Bci,therefore:Pci,Therefore:Fci,Theta:Nci,theta:$ci,thetasym:zci,thetav:Uci,thickapprox:jci,thicksim:Hci,ThickSpace:qci,ThinSpace:Wci,thinsp:Gci,thkap:Vci,thksim:Kci,THORN:Yci,thorn:Xci,tilde:Jci,Tilde:Zci,TildeEqual:Qci,TildeFullEqual:efi,TildeTilde:tfi,timesbar:nfi,timesb:rfi,times:ifi,timesd:afi,tint:ofi,toea:sfi,topbot:lfi,topcir:ufi,top:cfi,Topf:ffi,topf:dfi,topfork:hfi,tosa:pfi,tprime:gfi,trade:mfi,TRADE:vfi,triangle:yfi,triangledown:bfi,triangleleft:wfi,trianglelefteq:kfi,triangleq:_fi,triangleright:Cfi,trianglerighteq:Efi,tridot:xfi,trie:Sfi,triminus:Afi,TripleDot:Tfi,triplus:Dfi,trisb:Ifi,tritime:Rfi,trpezium:Mfi,Tscr:Ofi,tscr:Lfi,TScy:Bfi,tscy:Pfi,TSHcy:Ffi,tshcy:Nfi,Tstrok:$fi,tstrok:zfi,twixt:Ufi,twoheadleftarrow:jfi,twoheadrightarrow:Hfi,Uacute:qfi,uacute:Wfi,uarr:Gfi,Uarr:Vfi,uArr:Kfi,Uarrocir:Yfi,Ubrcy:Xfi,ubrcy:Jfi,Ubreve:Zfi,ubreve:Qfi,Ucirc:edi,ucirc:tdi,Ucy:ndi,ucy:rdi,udarr:idi,Udblac:adi,udblac:odi,udhar:sdi,ufisht:ldi,Ufr:udi,ufr:cdi,Ugrave:fdi,ugrave:ddi,uHar:hdi,uharl:pdi,uharr:gdi,uhblk:mdi,ulcorn:vdi,ulcorner:ydi,ulcrop:bdi,ultri:wdi,Umacr:kdi,umacr:_di,uml:Cdi,UnderBar:Edi,UnderBrace:xdi,UnderBracket:Sdi,UnderParenthesis:Adi,Union:Tdi,UnionPlus:Ddi,Uogon:Idi,uogon:Rdi,Uopf:Mdi,uopf:Odi,UpArrowBar:Ldi,uparrow:Bdi,UpArrow:Pdi,Uparrow:Fdi,UpArrowDownArrow:Ndi,updownarrow:$di,UpDownArrow:zdi,Updownarrow:Udi,UpEquilibrium:jdi,upharpoonleft:Hdi,upharpoonright:qdi,uplus:Wdi,UpperLeftArrow:Gdi,UpperRightArrow:Vdi,upsi:Kdi,Upsi:Ydi,upsih:Xdi,Upsilon:Jdi,upsilon:Zdi,UpTeeArrow:Qdi,UpTee:ehi,upuparrows:thi,urcorn:nhi,urcorner:rhi,urcrop:ihi,Uring:ahi,uring:ohi,urtri:shi,Uscr:lhi,uscr:uhi,utdot:chi,Utilde:fhi,utilde:dhi,utri:hhi,utrif:phi,uuarr:ghi,Uuml:mhi,uuml:vhi,uwangle:yhi,vangrt:bhi,varepsilon:whi,varkappa:khi,varnothing:_hi,varphi:Chi,varpi:Ehi,varpropto:xhi,varr:Shi,vArr:Ahi,varrho:Thi,varsigma:Dhi,varsubsetneq:Ihi,varsubsetneqq:Rhi,varsupsetneq:Mhi,varsupsetneqq:Ohi,vartheta:Lhi,vartriangleleft:Bhi,vartriangleright:Phi,vBar:Fhi,Vbar:Nhi,vBarv:$hi,Vcy:zhi,vcy:Uhi,vdash:jhi,vDash:Hhi,Vdash:qhi,VDash:Whi,Vdashl:Ghi,veebar:Vhi,vee:Khi,Vee:Yhi,veeeq:Xhi,vellip:Jhi,verbar:Zhi,Verbar:Qhi,vert:e0i,Vert:t0i,VerticalBar:n0i,VerticalLine:r0i,VerticalSeparator:i0i,VerticalTilde:a0i,VeryThinSpace:o0i,Vfr:s0i,vfr:l0i,vltri:u0i,vnsub:c0i,vnsup:f0i,Vopf:d0i,vopf:h0i,vprop:p0i,vrtri:g0i,Vscr:m0i,vscr:v0i,vsubnE:y0i,vsubne:b0i,vsupnE:w0i,vsupne:k0i,Vvdash:_0i,vzigzag:C0i,Wcirc:E0i,wcirc:x0i,wedbar:S0i,wedge:A0i,Wedge:T0i,wedgeq:D0i,weierp:I0i,Wfr:R0i,wfr:M0i,Wopf:O0i,wopf:L0i,wp:B0i,wr:P0i,wreath:F0i,Wscr:N0i,wscr:$0i,xcap:z0i,xcirc:U0i,xcup:j0i,xdtri:H0i,Xfr:q0i,xfr:W0i,xharr:G0i,xhArr:V0i,Xi:K0i,xi:Y0i,xlarr:X0i,xlArr:J0i,xmap:Z0i,xnis:Q0i,xodot:epi,Xopf:tpi,xopf:npi,xoplus:rpi,xotime:ipi,xrarr:api,xrArr:opi,Xscr:spi,xscr:lpi,xsqcup:upi,xuplus:cpi,xutri:fpi,xvee:dpi,xwedge:hpi,Yacute:ppi,yacute:gpi,YAcy:mpi,yacy:vpi,Ycirc:ypi,ycirc:bpi,Ycy:wpi,ycy:kpi,yen:_pi,Yfr:Cpi,yfr:Epi,YIcy:xpi,yicy:Spi,Yopf:Api,yopf:Tpi,Yscr:Dpi,yscr:Ipi,YUcy:Rpi,yucy:Mpi,yuml:Opi,Yuml:Lpi,Zacute:Bpi,zacute:Ppi,Zcaron:Fpi,zcaron:Npi,Zcy:$pi,zcy:zpi,Zdot:Upi,zdot:jpi,zeetrf:Hpi,ZeroWidthSpace:qpi,Zeta:Wpi,zeta:Gpi,zfr:Vpi,Zfr:Kpi,ZHcy:Ypi,zhcy:Xpi,zigrarr:Jpi,zopf:Zpi,Zopf:Qpi,Zscr:e1i,zscr:t1i,zwj:n1i,zwnj:r1i};var pJe=i1i,upe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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\u09FD\u0A76\u0AF0\u0C84\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-\u2E4E\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[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,vE={},oSe={};function a1i(e){var t,n,r=oSe[e];if(r)return r;for(r=oSe[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=a1i(t),r=0,i=e.length;r=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1=56320&&o<=57343)){l+=encodeURIComponent(e[r]+e[r+1]),r++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[r])}return l}Sz.defaultChars=";/?:@&=+$,-_.!~*'()#";Sz.componentChars="-_.!~*'()";var o1i=Sz,sSe={};function s1i(e){var t,n,r=sSe[e];if(r)return r;for(r=sSe[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&c<=57343?f+="���":f+=String.fromCharCode(c),i+=6;continue}if((o&248)===240&&i+91114111?f+="����":(c-=65536,f+=String.fromCharCode(55296+(c>>10),56320+(c&1023))),i+=9;continue}f+="�"}return f})}Az.defaultChars=";/?:@&=+$,#";Az.componentChars="";var l1i=Az,u1i=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function IB(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var c1i=/^([a-z0-9.+-]+:)/i,f1i=/:[0-9]*$/,d1i=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h1i=["<",">",'"',"`"," ","\r",` +`," "],p1i=["{","}","|","\\","^","`"].concat(h1i),g1i=["'"].concat(p1i),lSe=["%","/","?",";","#"].concat(g1i),uSe=["/","?","#"],m1i=255,cSe=/^[+a-z0-9A-Z_-]{0,63}$/,v1i=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fSe={javascript:!0,"javascript:":!0},dSe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function y1i(e,t){if(e&&e instanceof IB)return e;var n=new IB;return n.parse(e,t),n}IB.prototype.parse=function(e,t){var n,r,i,a,o,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=d1i.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var u=c1i.exec(s);if(u&&(u=u[0],i=u.toLowerCase(),this.protocol=u,s=s.substr(u.length)),(t||u||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=s.substr(0,2)==="//",o&&!(u&&fSe[u])&&(s=s.substr(2),this.slashes=!0)),!fSe[u]&&(o||u&&!dSe[u])){var c=-1;for(n=0;n127?m+="x":m+=b[v];if(!m.match(cSe)){var k=g.slice(0,n),E=g.slice(n+1),S=b.match(v1i);S&&(k.push(S[1]),E.unshift(S[2])),E.length&&(s=E.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>m1i&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=s.indexOf("#");T!==-1&&(this.hash=s.substr(T),s=s.slice(0,T));var L=s.indexOf("?");return L!==-1&&(this.search=s.substr(L),s=s.slice(0,L)),s&&(this.pathname=s),dSe[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};IB.prototype.parseHost=function(e){var t=f1i.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var b1i=y1i;vE.encode=o1i;vE.decode=l1i;vE.format=u1i;vE.parse=b1i;var lb={},KX,hSe;function gJe(){return hSe||(hSe=1,KX=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),KX}var YX,pSe;function mJe(){return pSe||(pSe=1,YX=/[\0-\x1F\x7F-\x9F]/),YX}var XX,gSe;function w1i(){return gSe||(gSe=1,XX=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),XX}var JX,mSe;function vJe(){return mSe||(mSe=1,JX=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),JX}var vSe;function k1i(){return vSe||(vSe=1,lb.Any=gJe(),lb.Cc=mJe(),lb.Cf=w1i(),lb.P=upe,lb.Z=vJe()),lb}(function(e){function t(O){return Object.prototype.toString.call(O)}function n(O){return t(O)==="[object String]"}var r=Object.prototype.hasOwnProperty;function i(O,R){return r.call(O,R)}function a(O){var R=Array.prototype.slice.call(arguments,1);return R.forEach(function(P){if(P){if(typeof P!="object")throw new TypeError(P+"must be object");Object.keys(P).forEach(function(H){O[H]=P[H]})}}),O}function o(O,R,P){return[].concat(O.slice(0,R),P,O.slice(R+1))}function s(O){return!(O>=55296&&O<=57343||O>=64976&&O<=65007||(O&65535)===65535||(O&65535)===65534||O>=0&&O<=8||O===11||O>=14&&O<=31||O>=127&&O<=159||O>1114111)}function l(O){if(O>65535){O-=65536;var R=55296+(O>>10),P=56320+(O&1023);return String.fromCharCode(R,P)}return String.fromCharCode(O)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(u.source+"|"+c.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=pJe;function p(O,R){var P=0;return i(h,R)?h[R]:R.charCodeAt(0)===35&&d.test(R)&&(P=R[1].toLowerCase()==="x"?parseInt(R.slice(2),16):parseInt(R.slice(1),10),s(P))?l(P):O}function g(O){return O.indexOf("\\")<0?O:O.replace(u,"$1")}function b(O){return O.indexOf("\\")<0&&O.indexOf("&")<0?O:O.replace(f,function(R,P,H){return P||p(R,H)})}var m=/[&<>"]/,v=/[&<>"]/g,w={"&":"&","<":"<",">":">",'"':"""};function k(O){return w[O]}function E(O){return m.test(O)?O.replace(v,k):O}var S=/[.?*+^$[\]\\(){}|-]/g;function T(O){return O.replace(S,"\\$&")}function L(O){switch(O){case 9:case 32:return!0}return!1}function M(O){if(O>=8192&&O<=8202)return!0;switch(O){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var D=upe;function I(O){return D.test(O)}function B(O){switch(O){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function N(O){return O=O.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(O=O.replace(/ẞ/g,"ß")),O.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=vE,e.lib.ucmicro=k1i(),e.assign=a,e.isString=n,e.has=i,e.unescapeMd=g,e.unescapeAll=b,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=E,e.arrayReplaceAt=o,e.isSpace=L,e.isWhiteSpace=M,e.isMdAsciiPunct=B,e.isPunctChar=I,e.escapeRE=T,e.normalizeReference=N})(xa);var Tz={},_1i=function(t,n,r){var i,a,o,s,l=-1,u=t.posMax,c=t.pos;for(t.pos=n+1,i=1;t.pos32))return l;if(i===41){if(a===0)break;a--}n++}return s===n||a!==0||(l.str=ySe(t.slice(s,n)),l.lines=o,l.pos=n,l.ok=!0),l},E1i=xa.unescapeAll,x1i=function(t,n,r){var i,a,o=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=r||(a=t.charCodeAt(n),a!==34&&a!==39&&a!==40))return l;for(n++,a===40&&(a=41);n"+B4(e[t].content)+""};D1.code_block=function(e,t,n,r,i){var a=e[t];return""+B4(e[t].content)+` +`};D1.fence=function(e,t,n,r,i){var a=e[t],o=a.info?A1i(a.info).trim():"",s="",l="",u,c,f,d,h;return o&&(f=o.split(/(\s+)/g),s=f[0],l=f.slice(2).join("")),n.highlight?u=n.highlight(a.content,s,l)||B4(a.content):u=B4(a.content),u.indexOf(""+u+` `):"

"+u+`
`};D1.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)};D1.hardbreak=function(e,t,n){return n.xhtmlOut?`
@@ -1131,12 +1131,12 @@ l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, `};D1.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};D1.text=function(e,t){return B4(e[t].content)};D1.html_block=function(e,t){return e[t].content};D1.html_inline=function(e,t){return e[t].content};function yE(){this.rules=x1i({},D1)}yE.prototype.renderAttrs=function(t){var n,r,i;if(!t.attrs)return"";for(i="",n=0,r=t.attrs.length;n `:">",a)};yE.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,s=e.length;o\s]/i.test(e)}function B1i(e){return/^<\/a\s*>/i.test(e)}var P1i=function(t){var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v=t.tokens,w;if(t.md.options.linkify){for(r=0,i=v.length;r=0;n--){if(s=a[n],s.type==="link_close"){for(n--;a[n].level!==s.level&&a[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(L1i(s.content)&&p>0&&p--,B1i(s.content)&&p++),!(p>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(c=s.content,w=t.md.linkify.match(c),l=[],h=s.level,d=0,w.length>0&&w[0].index===0&&n>0&&a[n-1].type==="text_special"&&(w=w.slice(1)),u=0;ud&&(o=new t.Token("text","",0),o.content=c.slice(d,f),o.level=h,l.push(o)),o=new t.Token("link_open","a",1),o.attrs=[["href",b]],o.level=h++,o.markup="linkify",o.info="auto",l.push(o),o=new t.Token("text","",0),o.content=m,o.level=h,l.push(o),o=new t.Token("link_close","a",-1),o.level=--h,o.markup="linkify",o.info="auto",l.push(o),d=w[u].lastIndex);d=0;t--)n=e[t],n.type==="text"&&!r&&(n.content=n.content.replace(N1i,z1i)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function j1i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!r&&yJe.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var H1i=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(F1i.test(t.tokens[n].content)&&U1i(t.tokens[n].children),yJe.test(t.tokens[n].content)&&j1i(t.tokens[n].children))},bSe=xa.isWhiteSpace,wSe=xa.isPunctChar,kSe=xa.isMdAsciiPunct,q1i=/['"]/,_Se=/['"]/g,CSe="’";function BI(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function W1i(e,t){var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v,w,k,E,S;for(k=[],n=0;n=0&&!(k[v].level<=l);v--);if(k.length=v+1,r.type==="text"){i=r.content,o=0,s=i.length;e:for(;o=0)c=i.charCodeAt(a.index-1);else for(v=n-1;v>=0&&!(e[v].type==="softbreak"||e[v].type==="hardbreak");v--)if(e[v].content){c=e[v].content.charCodeAt(e[v].content.length-1);break}if(f=32,o=48&&c<=57&&(m=b=!1),b&&m&&(b=d,m=h),!b&&!m){w&&(r.content=BI(r.content,a.index,CSe));continue}if(m){for(v=k.length-1;v>=0&&(u=k[v],!(k[v].level=0;n--)t.tokens[n].type!=="inline"||!q1i.test(t.tokens[n].content)||W1i(t.tokens[n].children,t)},V1i=function(t){var n,r,i,a,o,s,l=t.tokens;for(n=0,r=l.length;n=0&&(r=this.attrs[n][1]),r};bE.prototype.attrJoin=function(t,n){var r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var fpe=bE,K1i=fpe;function bJe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}bJe.prototype.Token=K1i;var Y1i=bJe,X1i=cpe,ZX=[["normalize",I1i],["block",R1i],["inline",M1i],["linkify",P1i],["replacements",H1i],["smartquotes",G1i],["text_join",V1i]];function dpe(){this.ruler=new X1i;for(var e=0;er||(c=n+1,t.sCount[c]=4||(s=t.bMarks[c]+t.tShift[c],s>=t.eMarks[c])||(E=t.src.charCodeAt(s++),E!==124&&E!==45&&E!==58)||s>=t.eMarks[c]||(S=t.src.charCodeAt(s++),S!==124&&S!==45&&S!==58&&!QX(S))||E===45&&QX(S))return!1;for(;s=4||(f=ESe(o),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),d=f.length,d===0||d!==p.length))return!1;if(i)return!0;for(v=t.parentType,t.parentType="table",k=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),h.map=b=[n,0],h=t.push("thead_open","thead",1),h.map=[n,n+1],h=t.push("tr_open","tr",1),h.map=[n,n+1],l=0;l=4)break;for(f=ESe(o),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),c===n+2&&(h=t.push("tbody_open","tbody",1),h.map=m=[n+2,0]),h=t.push("tr_open","tr",1),h.map=[c,c+1],l=0;l=4){i++,a=i;continue}break}return t.line=a,o=t.push("code_block","code",0),o.content=t.getLines(n,a,4+t.blkIndent,!1)+` -`,o.map=[n,t.line],!0},egi=function(t,n,r,i){var a,o,s,l,u,c,f,d=!1,h=t.bMarks[n]+t.tShift[n],p=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>p||(a=t.src.charCodeAt(h),a!==126&&a!==96)||(u=h,h=t.skipChars(h,a),o=h-u,o<3)||(f=t.src.slice(u,h),s=t.src.slice(h,p),a===96&&s.indexOf(String.fromCharCode(a))>=0))return!1;if(i)return!0;for(l=n;l++,!(l>=r||(h=u=t.bMarks[l]+t.tShift[l],p=t.eMarks[l],h=4)&&(h=t.skipChars(h,a),!(h-u=4||t.src.charCodeAt(D++)!==62)return!1;if(i)return!0;for(l=h=t.sCount[n]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,a=!1,k=!0):t.src.charCodeAt(D)===9?(k=!0,(t.bsCount[n]+h)%4===3?(D++,l++,h++,a=!1):a=!0):k=!1,p=[t.bMarks[n]],t.bMarks[n]=D;D=I,v=[t.sCount[n]],t.sCount[n]=h-l,w=[t.tShift[n]],t.tShift[n]=D-t.bMarks[n],S=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",d=n+1;d=I));d++){if(t.src.charCodeAt(D++)===62&&!L){for(l=h=t.sCount[d]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,a=!1,k=!0):t.src.charCodeAt(D)===9?(k=!0,(t.bsCount[d]+h)%4===3?(D++,l++,h++,a=!1):a=!0):k=!1,p.push(t.bMarks[d]),t.bMarks[d]=D;D=I,g.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(k?1:0),v.push(t.sCount[d]),t.sCount[d]=h-l,w.push(t.tShift[d]),t.tShift[d]=D-t.bMarks[d];continue}if(c)break;for(E=!1,s=0,u=S.length;s",T.map=f=[n,0],t.md.block.tokenize(t,n,d),T=t.push("blockquote_close","blockquote",-1),T.markup=">",t.lineMax=M,t.parentType=m,f[1]=t.line,s=0;s=4||(a=t.src.charCodeAt(u++),a!==42&&a!==45&&a!==95))return!1;for(o=1;u=a||(n=e.src.charCodeAt(i++),n<48||n>57))return-1;for(;;){if(i>=a)return-1;if(n=e.src.charCodeAt(i++),n>=48&&n<=57){if(i-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return i=4||t.listIndent>=0&&t.sCount[n]-t.listIndent>=4&&t.sCount[n]=t.blkIndent&&(H=!0),(I=ASe(t,n))>=0){if(f=!0,N=t.bMarks[n]+t.tShift[n],m=Number(t.src.slice(N,I-1)),H&&m!==1)return!1}else if((I=SSe(t,n))>=0)f=!1;else return!1;if(H&&t.skipSpaces(I)>=t.eMarks[n])return!1;if(b=t.src.charCodeAt(I-1),i)return!0;for(g=t.tokens.length,f?(P=t.push("ordered_list_open","ol",1),m!==1&&(P.attrs=[["start",m]])):P=t.push("bullet_list_open","ul",1),P.map=p=[n,0],P.markup=String.fromCharCode(b),w=n,B=!1,R=t.md.block.ruler.getRules("list"),S=t.parentType,t.parentType="list";w=v?u=1:u=k-c,u>4&&(u=1),l=c+u,P=t.push("list_item_open","li",1),P.markup=String.fromCharCode(b),P.map=d=[n,0],f&&(P.info=t.src.slice(N,I-1)),M=t.tight,L=t.tShift[n],T=t.sCount[n],E=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[n]=o-t.bMarks[n],t.sCount[n]=k,o>=v&&t.isEmpty(n+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,n,r,!0),(!t.tight||B)&&(F=!1),B=t.line-n>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=E,t.tShift[n]=L,t.sCount[n]=T,t.tight=M,P=t.push("list_item_close","li",-1),P.markup=String.fromCharCode(b),w=n=t.line,d[1]=w,o=t.bMarks[n],w>=r||t.sCount[w]=4)break;for(O=!1,s=0,h=R.length;s=4||t.src.charCodeAt(S)!==91)return!1;for(;++S3)&&!(t.sCount[L]<0)){for(v=!1,c=0,f=w.length;c"u"&&(t.env.references={}),typeof t.env.references[d]>"u"&&(t.env.references[d]={title:k,href:u}),t.parentType=p,t.line=n+E+1),!0)},lgi=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Dz={},ugi="[a-zA-Z_:][a-zA-Z0-9:._-]*",cgi="[^\"'=<>`\\x00-\\x20]+",fgi="'[^']*'",dgi='"[^"]*"',hgi="(?:"+cgi+"|"+fgi+"|"+dgi+")",pgi="(?:\\s+"+ugi+"(?:\\s*=\\s*"+hgi+")?)",kJe="<[A-Za-z][A-Za-z0-9\\-]*"+pgi+"*\\s*\\/?>",_Je="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",ggi="|",mgi="<[?][\\s\\S]*?[?]>",vgi="]*>",ygi="",bgi=new RegExp("^(?:"+kJe+"|"+_Je+"|"+ggi+"|"+mgi+"|"+vgi+"|"+ygi+")"),wgi=new RegExp("^(?:"+kJe+"|"+_Je+")");Dz.HTML_TAG_RE=bgi;Dz.HTML_OPEN_CLOSE_TAG_RE=wgi;var kgi=lgi,_gi=Dz.HTML_OPEN_CLOSE_TAG_RE,rk=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(_gi.source+"\\s*$"),/^$/,!1]],Cgi=function(t,n,r,i){var a,o,s,l,u=t.bMarks[n]+t.tShift[n],c=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(u)!==60)return!1;for(l=t.src.slice(u,c),a=0;a=4||(a=t.src.charCodeAt(u),a!==35||u>=c))return!1;for(o=1,a=t.src.charCodeAt(++u);a===35&&u6||uu&&TSe(t.src.charCodeAt(s-1))&&(c=s),t.line=n+1,l=t.push("heading_open","h"+String(o),1),l.markup="########".slice(0,o),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(u,c).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(o),-1),l.markup="########".slice(0,o)),!0)},xgi=function(t,n,r){var i,a,o,s,l,u,c,f,d,h=n+1,p,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h3)){if(t.sCount[h]>=t.blkIndent&&(u=t.bMarks[h]+t.tShift[h],c=t.eMarks[h],u=c)))){f=d===61?1:2;break}if(!(t.sCount[h]<0)){for(a=!1,o=0,s=g.length;o3)&&!(t.sCount[u]<0)){for(i=!1,a=0,o=c.length;a0&&this.level++,this.tokens.push(r),r};I1.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};I1.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Iz(this.src.charCodeAt(--t)))return t+1;return t};I1.prototype.skipChars=function(t,n){for(var r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};I1.prototype.getLines=function(t,n,r,i){var a,o,s,l,u,c,f,d=t;if(t>=n)return"";for(c=new Array(n-t),a=0;dr?c[a]=new Array(o-r+1).join(" ")+this.src.slice(l,u):c[a]=this.src.slice(l,u)}return c.join("")};I1.prototype.Token=CJe;var Agi=I1,Tgi=cpe,FI=[["table",Z1i,["paragraph","reference"]],["code",Q1i],["fence",egi,["paragraph","reference","blockquote","list"]],["blockquote",tgi,["paragraph","reference","blockquote","list"]],["hr",rgi,["paragraph","reference","blockquote","list"]],["list",agi,["paragraph","reference","blockquote"]],["reference",sgi],["html_block",Cgi,["paragraph","reference","blockquote"]],["heading",Egi,["paragraph","reference","blockquote"]],["lheading",xgi],["paragraph",Sgi]];function Rz(){this.ruler=new Tgi;for(var e=0;e=n||e.sCount[s]=u){e.line=n;break}for(i=0;i0||(r=t.pos,i=t.posMax,r+3>i)||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47||(a=t.pending.match(Mgi),!a)||(o=a[1],s=t.md.linkify.matchAtStart(t.src.slice(r-o.length)),!s)||(l=s.url,l=l.replace(/\*+$/,""),u=t.md.normalizeLink(l),!t.md.validateLink(u))?!1:(n||(t.pending=t.pending.slice(0,-o.length),c=t.push("link_open","a",1),c.attrs=[["href",u]],c.markup="linkify",c.info="auto",c=t.push("text","",0),c.content=t.md.normalizeLinkText(l),c=t.push("link_close","a",-1),c.markup="linkify",c.info="auto"),t.pos+=l.length-o.length,!0)},Lgi=xa.isSpace,Bgi=function(t,n){var r,i,a,o=t.pos;if(t.src.charCodeAt(o)!==10)return!1;if(r=t.pending.length-1,i=t.posMax,!n)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&t.pending.charCodeAt(a-1)===32;)a--;t.pending=t.pending.slice(0,a),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){hpe[e.charCodeAt(0)]=1});var Fgi=function(t,n){var r,i,a,o,s,l=t.pos,u=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=u))return!1;if(r=t.src.charCodeAt(l),r===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(o+=t.src[l+1],l++)),a="\\"+o,n||(s=t.push("text_special","",0),r<256&&hpe[r]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"),t.pos=l+1,!0},Ngi=function(t,n){var r,i,a,o,s,l,u,c,f=t.pos,d=t.src.charCodeAt(f);if(d!==96)return!1;for(r=f,f++,i=t.posMax;f=0;n--)r=t[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),a=e.tokens[r.token],a.type=s?"strong_open":"em_open",a.tag=s?"strong":"em",a.nesting=1,a.markup=s?o+o:o,a.content="",a=e.tokens[i.token],a.type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?o+o:o,a.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}Oz.postProcess=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(RSe(t,t.delimiters),n=0;n=g)return!1;if(b=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok){for(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?l=u.pos:d="",b=l;l=g||t.src.charCodeAt(l)!==41)&&(m=!0),l++}if(m){if(typeof t.env.references>"u")return!1;if(l=0?a=t.src.slice(b,l++):l=o+1):l=o+1,a||(a=t.src.slice(s,o)),c=t.env.references[$gi(a)],!c)return t.pos=p,!1;d=c.href,h=c.title}return n||(t.pos=s,t.posMax=o,f=t.push("link_open","a",1),f.attrs=r=[["href",d]],h&&r.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,f=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},Ugi=xa.normalizeReference,nJ=xa.isSpace,jgi=function(t,n){var r,i,a,o,s,l,u,c,f,d,h,p,g,b="",m=t.pos,v=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(u=s+1,u=v)return!1;for(g=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(b=t.md.normalizeLink(f.str),t.md.validateLink(b)?u=f.pos:b=""),g=u;u=v||t.src.charCodeAt(u)!==41)return t.pos=m,!1;u++}else{if(typeof t.env.references>"u")return!1;if(u=0?o=t.src.slice(g,u++):u=s+1):u=s+1,o||(o=t.src.slice(l,s)),c=t.env.references[Ugi(o)],!c)return t.pos=m,!1;b=c.href,d=c.title}return n||(a=t.src.slice(l,s),t.md.inline.parse(a,t.md,t.env,p=[]),h=t.push("image","img",0),h.attrs=r=[["src",b],["alt",""]],h.children=p,h.content=a,d&&r.push(["title",d])),t.pos=u,t.posMax=v,!0},Hgi=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,qgi=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Wgi=function(t,n){var r,i,a,o,s,l,u=t.pos;if(t.src.charCodeAt(u)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++u>=l||(o=t.src.charCodeAt(u),o===60))return!1;if(o===62)break}return r=t.src.slice(s+1,u),qgi.test(r)?(i=t.md.normalizeLink(r),t.md.validateLink(i)?(n||(a=t.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(r),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=r.length+2,!0):!1):Hgi.test(r)?(i=t.md.normalizeLink("mailto:"+r),t.md.validateLink(i)?(n||(a=t.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(r),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=r.length+2,!0):!1):!1},Ggi=Dz.HTML_TAG_RE;function Vgi(e){return/^\s]/i.test(e)}function Kgi(e){return/^<\/a\s*>/i.test(e)}function Ygi(e){var t=e|32;return t>=97&&t<=122}var Xgi=function(t,n){var r,i,a,o,s=t.pos;return!t.md.options.html||(a=t.posMax,t.src.charCodeAt(s)!==60||s+2>=a)||(r=t.src.charCodeAt(s+1),r!==33&&r!==63&&r!==47&&!Ygi(r))||(i=t.src.slice(s).match(Ggi),!i)?!1:(n||(o=t.push("html_inline","",0),o.content=t.src.slice(s,s+i[0].length),Vgi(o.content)&&t.linkLevel++,Kgi(o.content)&&t.linkLevel--),t.pos+=i[0].length,!0)},MSe=pJe,Jgi=xa.has,Zgi=xa.isValidEntityCode,OSe=xa.fromCodePoint,Qgi=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,emi=/^&([a-z][a-z0-9]{1,31});/i,tmi=function(t,n){var r,i,a,o,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(r=t.src.charCodeAt(s+1),r===35){if(a=t.src.slice(s).match(Qgi),a)return n||(i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=t.push("text_special","",0),o.content=Zgi(i)?OSe(i):OSe(65533),o.markup=a[0],o.info="entity"),t.pos+=a[0].length,!0}else if(a=t.src.slice(s).match(emi),a&&Jgi(MSe,a[1]))return n||(o=t.push("text_special","",0),o.content=MSe[a[1]],o.markup=a[0],o.info="entity"),t.pos+=a[0].length,!0;return!1};function LSe(e,t){var n,r,i,a,o,s,l,u,c={},f=t.length;if(f){var d=0,h=-2,p=[];for(n=0;no;r-=p[r]+1)if(a=t[r],a.marker===i.marker&&a.open&&a.end<0&&(l=!1,(a.close||i.open)&&(a.length+i.length)%3===0&&(a.length%3!==0||i.length%3!==0)&&(l=!0),!l)){u=r>0&&!t[r-1].open?p[r-1]+1:0,p[n]=n-r+u,p[r]=u,i.open=!1,a.end=n,a.close=!1,s=-1,h=-2;break}s!==-1&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}var nmi=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(LSe(t,t.delimiters),n=0;n0&&i++,a[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};X7.prototype.scanDelims=function(e,t){var n=e,r,i,a,o,s,l,u,c,f,d=!0,h=!0,p=this.posMax,g=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;n=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};J7.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+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}),aJ}function Ase(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Lz(e){return Object.prototype.toString.call(e)}function smi(e){return Lz(e)==="[object String]"}function lmi(e){return Lz(e)==="[object Object]"}function umi(e){return Lz(e)==="[object RegExp]"}function zSe(e){return Lz(e)==="[object Function]"}function cmi(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var EJe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function fmi(e){return Object.keys(e||{}).reduce(function(t,n){return t||EJe.hasOwnProperty(n)},!1)}var dmi={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},hmi="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]",pmi="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function gmi(e){e.__index__=-1,e.__text_cache__=""}function mmi(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function USe(){return function(e,t){t.normalize(e)}}function RB(e){var t=e.re=omi()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(hmi),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function a(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var u={validate:null,link:null};if(e.__compiled__[s]=u,lmi(l)){umi(l.validate)?u.validate=mmi(l.validate):zSe(l.validate)?u.validate=l.validate:a(s,l),zSe(l.normalize)?u.normalize=l.normalize:l.normalize?a(s,l):u.normalize=USe();return}if(smi(l)){i.push(s);return}a(s,l)}}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:USe()};var o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(cmi).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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"),gmi(e)}function vmi(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Tse(e,t){var n=new vmi(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fd(e,t){if(!(this instanceof fd))return new fd(e,t);t||fmi(e)&&(t=e,e={}),this.__opts__=Ase({},EJe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ase({},dmi,e),this.__compiled__={},this.__tlds__=pmi,this.__tlds_replaced__=!1,this.re={},RB(this)}fd.prototype.add=function(t,n){return this.__schemas__[t]=n,RB(this),this};fd.prototype.set=function(t){return this.__opts__=Ase(this.__opts__,t),this};fd.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,i,a,o,s,l,u,c;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],l.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(i=t.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0};fd.prototype.pretest=function(t){return this.re.pretest.test(t)};fd.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};fd.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Tse(this,n)),n=this.__last_index__);for(var i=n?t.slice(n):t;this.test(i);)r.push(Tse(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};fd.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Tse(this,0)):null};fd.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),RB(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,RB(this),this)};fd.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};fd.prototype.onCompile=function(){};var ymi=fd;const D6=2147483647,Np=36,gpe=1,t8=26,bmi=38,wmi=700,xJe=72,SJe=128,AJe="-",kmi=/^xn--/,_mi=/[^\0-\x7F]/,Cmi=/[\x2E\u3002\uFF0E\uFF61]/g,Emi={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oJ=Np-gpe,$p=Math.floor,sJ=String.fromCharCode;function cv(e){throw new RangeError(Emi[e])}function xmi(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function TJe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Cmi,".");const i=e.split("."),a=xmi(i,t).join(".");return r+a}function mpe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),Smi=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Np},jSe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},IJe=function(e,t,n){let r=0;for(e=n?$p(e/wmi):e>>1,e+=$p(e/t);e>oJ*t8>>1;r+=Np)e=$p(e/oJ);return $p(r+(oJ+1)*e/(e+bmi))},vpe=function(e){const t=[],n=e.length;let r=0,i=SJe,a=xJe,o=e.lastIndexOf(AJe);o<0&&(o=0);for(let s=0;s=128&&cv("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s=n&&cv("invalid-input");const d=Smi(e.charCodeAt(s++));d>=Np&&cv("invalid-input"),d>$p((D6-r)/c)&&cv("overflow"),r+=d*c;const h=f<=a?gpe:f>=a+t8?t8:f-a;if(d$p(D6/p)&&cv("overflow"),c*=p}const u=t.length+1;a=IJe(r-l,u,l==0),$p(r/u)>D6-i&&cv("overflow"),i+=$p(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ype=function(e){const t=[];e=mpe(e);const n=e.length;let r=SJe,i=0,a=xJe;for(const l of e)l<128&&t.push(sJ(l));const o=t.length;let s=o;for(o&&t.push(AJe);s=r&&c$p((D6-i)/u)&&cv("overflow"),i+=(l-r)*u,r=l;for(const c of e)if(cD6&&cv("overflow"),c===r){let f=i;for(let d=Np;;d+=Np){const h=d<=a?gpe:d>=a+t8?t8:d-a;if(f=0))try{t.hostname=OJe.toASCII(t.hostname)}catch{}return Jb.encode(Jb.format(t))}function qmi(e){var t=Jb.parse(e,!0);if(t.hostname&&(!t.protocol||LJe.indexOf(t.protocol)>=0))try{t.hostname=OJe.toUnicode(t.hostname)}catch{}return Jb.decode(Jb.format(t),Jb.decode.defaultChars+"%")}function Sh(e,t){if(!(this instanceof Sh))return new Sh(e,t);t||WS.isString(e)||(t=e||{},e="default"),this.inline=new Fmi,this.block=new Pmi,this.core=new Bmi,this.renderer=new Lmi,this.linkify=new Nmi,this.validateLink=jmi,this.normalizeLink=Hmi,this.normalizeLinkText=qmi,this.utils=WS,this.helpers=WS.assign({},Omi),this.options={},this.configure(e),t&&this.set(t)}Sh.prototype.set=function(e){return WS.assign(this.options,e),this};Sh.prototype.configure=function(e){var t=this,n;if(WS.isString(e)&&(n=e,e=$mi[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};Sh.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Sh.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Sh.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Sh.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Sh.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Sh.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Sh.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Wmi=Sh,Gmi=Wmi,Xg={};Object.defineProperty(Xg,"__esModule",{value:!0});Xg.wrapArray=Xg.default=void 0;const BJe=e=>e==null||e===!1?[]:e instanceof Array?e:[e];Xg.wrapArray=BJe;var Vmi=BJe;Xg.default=Vmi;var w_={};function k_(e){return function(t,...n){if(t.marpit)return e.call(this,t,...n);throw new Error("Marpit plugin has detected incompatible markdown-it instance.")}}Object.defineProperty(k_,"__esModule",{value:!0});Object.defineProperty(k_,"default",{value:k_});Object.defineProperty(k_,"marpitPlugin",{value:k_});var zs=k_,__={},wE={},bpe={exports:{}},Oo=String,PJe=function(){return{isColorSupported:!1,reset:Oo,bold:Oo,dim:Oo,italic:Oo,underline:Oo,inverse:Oo,hidden:Oo,strikethrough:Oo,black:Oo,red:Oo,green:Oo,yellow:Oo,blue:Oo,magenta:Oo,cyan:Oo,white:Oo,gray:Oo,bgBlack:Oo,bgRed:Oo,bgGreen:Oo,bgYellow:Oo,bgBlue:Oo,bgMagenta:Oo,bgCyan:Oo,bgWhite:Oo}};bpe.exports=PJe();bpe.exports.createColors=PJe;var Kmi=bpe.exports;let HSe=Kmi,qSe=Mh,Dse=class FJe extends Error{constructor(t,n,r,i,a,o){super(t),this.name="CssSyntaxError",this.reason=t,a&&(this.file=a),i&&(this.source=i),o&&(this.plugin=o),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,FJe)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=HSe.isColorSupported),qSe&&t&&(n=qSe(n));let r=n.split(/\r?\n/),i=Math.max(this.line-3,0),a=Math.min(this.line+2,r.length),o=String(a).length,s,l;if(t){let{bold:u,gray:c,red:f}=HSe.createColors(!0);s=d=>u(f(d)),l=d=>c(d)}else s=l=u=>u;return r.slice(i,a).map((u,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let h=l(d.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+l(d)+u+` +`);return r};yE.prototype.render=function(e,t,n){var r,i,a,o="",s=this.rules;for(r=0,i=e.length;r\s]/i.test(e)}function P1i(e){return/^<\/a\s*>/i.test(e)}var F1i=function(t){var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v=t.tokens,w;if(t.md.options.linkify){for(r=0,i=v.length;r=0;n--){if(s=a[n],s.type==="link_close"){for(n--;a[n].level!==s.level&&a[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(B1i(s.content)&&p>0&&p--,P1i(s.content)&&p++),!(p>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(c=s.content,w=t.md.linkify.match(c),l=[],h=s.level,d=0,w.length>0&&w[0].index===0&&n>0&&a[n-1].type==="text_special"&&(w=w.slice(1)),u=0;ud&&(o=new t.Token("text","",0),o.content=c.slice(d,f),o.level=h,l.push(o)),o=new t.Token("link_open","a",1),o.attrs=[["href",b]],o.level=h++,o.markup="linkify",o.info="auto",l.push(o),o=new t.Token("text","",0),o.content=m,o.level=h,l.push(o),o=new t.Token("link_close","a",-1),o.level=--h,o.markup="linkify",o.info="auto",l.push(o),d=w[u].lastIndex);d=0;t--)n=e[t],n.type==="text"&&!r&&(n.content=n.content.replace($1i,U1i)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function H1i(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!r&&yJe.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var q1i=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(N1i.test(t.tokens[n].content)&&j1i(t.tokens[n].children),yJe.test(t.tokens[n].content)&&H1i(t.tokens[n].children))},bSe=xa.isWhiteSpace,wSe=xa.isPunctChar,kSe=xa.isMdAsciiPunct,W1i=/['"]/,_Se=/['"]/g,CSe="’";function BI(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function G1i(e,t){var n,r,i,a,o,s,l,u,c,f,d,h,p,g,b,m,v,w,k,E,S;for(k=[],n=0;n=0&&!(k[v].level<=l);v--);if(k.length=v+1,r.type==="text"){i=r.content,o=0,s=i.length;e:for(;o=0)c=i.charCodeAt(a.index-1);else for(v=n-1;v>=0&&!(e[v].type==="softbreak"||e[v].type==="hardbreak");v--)if(e[v].content){c=e[v].content.charCodeAt(e[v].content.length-1);break}if(f=32,o=48&&c<=57&&(m=b=!1),b&&m&&(b=d,m=h),!b&&!m){w&&(r.content=BI(r.content,a.index,CSe));continue}if(m){for(v=k.length-1;v>=0&&(u=k[v],!(k[v].level=0;n--)t.tokens[n].type!=="inline"||!W1i.test(t.tokens[n].content)||G1i(t.tokens[n].children,t)},K1i=function(t){var n,r,i,a,o,s,l=t.tokens;for(n=0,r=l.length;n=0&&(r=this.attrs[n][1]),r};bE.prototype.attrJoin=function(t,n){var r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var fpe=bE,Y1i=fpe;function bJe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}bJe.prototype.Token=Y1i;var X1i=bJe,J1i=cpe,ZX=[["normalize",R1i],["block",M1i],["inline",O1i],["linkify",F1i],["replacements",q1i],["smartquotes",V1i],["text_join",K1i]];function dpe(){this.ruler=new J1i;for(var e=0;er||(c=n+1,t.sCount[c]=4||(s=t.bMarks[c]+t.tShift[c],s>=t.eMarks[c])||(E=t.src.charCodeAt(s++),E!==124&&E!==45&&E!==58)||s>=t.eMarks[c]||(S=t.src.charCodeAt(s++),S!==124&&S!==45&&S!==58&&!QX(S))||E===45&&QX(S))return!1;for(;s=4||(f=ESe(o),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),d=f.length,d===0||d!==p.length))return!1;if(i)return!0;for(v=t.parentType,t.parentType="table",k=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),h.map=b=[n,0],h=t.push("thead_open","thead",1),h.map=[n,n+1],h=t.push("tr_open","tr",1),h.map=[n,n+1],l=0;l=4)break;for(f=ESe(o),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),c===n+2&&(h=t.push("tbody_open","tbody",1),h.map=m=[n+2,0]),h=t.push("tr_open","tr",1),h.map=[c,c+1],l=0;l=4){i++,a=i;continue}break}return t.line=a,o=t.push("code_block","code",0),o.content=t.getLines(n,a,4+t.blkIndent,!1)+` +`,o.map=[n,t.line],!0},tgi=function(t,n,r,i){var a,o,s,l,u,c,f,d=!1,h=t.bMarks[n]+t.tShift[n],p=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>p||(a=t.src.charCodeAt(h),a!==126&&a!==96)||(u=h,h=t.skipChars(h,a),o=h-u,o<3)||(f=t.src.slice(u,h),s=t.src.slice(h,p),a===96&&s.indexOf(String.fromCharCode(a))>=0))return!1;if(i)return!0;for(l=n;l++,!(l>=r||(h=u=t.bMarks[l]+t.tShift[l],p=t.eMarks[l],h=4)&&(h=t.skipChars(h,a),!(h-u=4||t.src.charCodeAt(D++)!==62)return!1;if(i)return!0;for(l=h=t.sCount[n]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,a=!1,k=!0):t.src.charCodeAt(D)===9?(k=!0,(t.bsCount[n]+h)%4===3?(D++,l++,h++,a=!1):a=!0):k=!1,p=[t.bMarks[n]],t.bMarks[n]=D;D=I,v=[t.sCount[n]],t.sCount[n]=h-l,w=[t.tShift[n]],t.tShift[n]=D-t.bMarks[n],S=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",d=n+1;d=I));d++){if(t.src.charCodeAt(D++)===62&&!L){for(l=h=t.sCount[d]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,a=!1,k=!0):t.src.charCodeAt(D)===9?(k=!0,(t.bsCount[d]+h)%4===3?(D++,l++,h++,a=!1):a=!0):k=!1,p.push(t.bMarks[d]),t.bMarks[d]=D;D=I,g.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(k?1:0),v.push(t.sCount[d]),t.sCount[d]=h-l,w.push(t.tShift[d]),t.tShift[d]=D-t.bMarks[d];continue}if(c)break;for(E=!1,s=0,u=S.length;s",T.map=f=[n,0],t.md.block.tokenize(t,n,d),T=t.push("blockquote_close","blockquote",-1),T.markup=">",t.lineMax=M,t.parentType=m,f[1]=t.line,s=0;s=4||(a=t.src.charCodeAt(u++),a!==42&&a!==45&&a!==95))return!1;for(o=1;u=a||(n=e.src.charCodeAt(i++),n<48||n>57))return-1;for(;;){if(i>=a)return-1;if(n=e.src.charCodeAt(i++),n>=48&&n<=57){if(i-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return i=4||t.listIndent>=0&&t.sCount[n]-t.listIndent>=4&&t.sCount[n]=t.blkIndent&&(H=!0),(I=ASe(t,n))>=0){if(f=!0,N=t.bMarks[n]+t.tShift[n],m=Number(t.src.slice(N,I-1)),H&&m!==1)return!1}else if((I=SSe(t,n))>=0)f=!1;else return!1;if(H&&t.skipSpaces(I)>=t.eMarks[n])return!1;if(b=t.src.charCodeAt(I-1),i)return!0;for(g=t.tokens.length,f?(P=t.push("ordered_list_open","ol",1),m!==1&&(P.attrs=[["start",m]])):P=t.push("bullet_list_open","ul",1),P.map=p=[n,0],P.markup=String.fromCharCode(b),w=n,B=!1,R=t.md.block.ruler.getRules("list"),S=t.parentType,t.parentType="list";w=v?u=1:u=k-c,u>4&&(u=1),l=c+u,P=t.push("list_item_open","li",1),P.markup=String.fromCharCode(b),P.map=d=[n,0],f&&(P.info=t.src.slice(N,I-1)),M=t.tight,L=t.tShift[n],T=t.sCount[n],E=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[n]=o-t.bMarks[n],t.sCount[n]=k,o>=v&&t.isEmpty(n+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,n,r,!0),(!t.tight||B)&&(F=!1),B=t.line-n>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=E,t.tShift[n]=L,t.sCount[n]=T,t.tight=M,P=t.push("list_item_close","li",-1),P.markup=String.fromCharCode(b),w=n=t.line,d[1]=w,o=t.bMarks[n],w>=r||t.sCount[w]=4)break;for(O=!1,s=0,h=R.length;s=4||t.src.charCodeAt(S)!==91)return!1;for(;++S3)&&!(t.sCount[L]<0)){for(v=!1,c=0,f=w.length;c"u"&&(t.env.references={}),typeof t.env.references[d]>"u"&&(t.env.references[d]={title:k,href:u}),t.parentType=p,t.line=n+E+1),!0)},ugi=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Dz={},cgi="[a-zA-Z_:][a-zA-Z0-9:._-]*",fgi="[^\"'=<>`\\x00-\\x20]+",dgi="'[^']*'",hgi='"[^"]*"',pgi="(?:"+fgi+"|"+dgi+"|"+hgi+")",ggi="(?:\\s+"+cgi+"(?:\\s*=\\s*"+pgi+")?)",kJe="<[A-Za-z][A-Za-z0-9\\-]*"+ggi+"*\\s*\\/?>",_Je="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",mgi="|",vgi="<[?][\\s\\S]*?[?]>",ygi="]*>",bgi="",wgi=new RegExp("^(?:"+kJe+"|"+_Je+"|"+mgi+"|"+vgi+"|"+ygi+"|"+bgi+")"),kgi=new RegExp("^(?:"+kJe+"|"+_Je+")");Dz.HTML_TAG_RE=wgi;Dz.HTML_OPEN_CLOSE_TAG_RE=kgi;var _gi=ugi,Cgi=Dz.HTML_OPEN_CLOSE_TAG_RE,rk=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Cgi.source+"\\s*$"),/^$/,!1]],Egi=function(t,n,r,i){var a,o,s,l,u=t.bMarks[n]+t.tShift[n],c=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(u)!==60)return!1;for(l=t.src.slice(u,c),a=0;a=4||(a=t.src.charCodeAt(u),a!==35||u>=c))return!1;for(o=1,a=t.src.charCodeAt(++u);a===35&&u6||uu&&TSe(t.src.charCodeAt(s-1))&&(c=s),t.line=n+1,l=t.push("heading_open","h"+String(o),1),l.markup="########".slice(0,o),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(u,c).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(o),-1),l.markup="########".slice(0,o)),!0)},Sgi=function(t,n,r){var i,a,o,s,l,u,c,f,d,h=n+1,p,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h3)){if(t.sCount[h]>=t.blkIndent&&(u=t.bMarks[h]+t.tShift[h],c=t.eMarks[h],u=c)))){f=d===61?1:2;break}if(!(t.sCount[h]<0)){for(a=!1,o=0,s=g.length;o3)&&!(t.sCount[u]<0)){for(i=!1,a=0,o=c.length;a0&&this.level++,this.tokens.push(r),r};I1.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};I1.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Iz(this.src.charCodeAt(--t)))return t+1;return t};I1.prototype.skipChars=function(t,n){for(var r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};I1.prototype.getLines=function(t,n,r,i){var a,o,s,l,u,c,f,d=t;if(t>=n)return"";for(c=new Array(n-t),a=0;dr?c[a]=new Array(o-r+1).join(" ")+this.src.slice(l,u):c[a]=this.src.slice(l,u)}return c.join("")};I1.prototype.Token=CJe;var Tgi=I1,Dgi=cpe,FI=[["table",Q1i,["paragraph","reference"]],["code",egi],["fence",tgi,["paragraph","reference","blockquote","list"]],["blockquote",ngi,["paragraph","reference","blockquote","list"]],["hr",igi,["paragraph","reference","blockquote","list"]],["list",ogi,["paragraph","reference","blockquote"]],["reference",lgi],["html_block",Egi,["paragraph","reference","blockquote"]],["heading",xgi,["paragraph","reference","blockquote"]],["lheading",Sgi],["paragraph",Agi]];function Rz(){this.ruler=new Dgi;for(var e=0;e=n||e.sCount[s]=u){e.line=n;break}for(i=0;i0||(r=t.pos,i=t.posMax,r+3>i)||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47||(a=t.pending.match(Ogi),!a)||(o=a[1],s=t.md.linkify.matchAtStart(t.src.slice(r-o.length)),!s)||(l=s.url,l=l.replace(/\*+$/,""),u=t.md.normalizeLink(l),!t.md.validateLink(u))?!1:(n||(t.pending=t.pending.slice(0,-o.length),c=t.push("link_open","a",1),c.attrs=[["href",u]],c.markup="linkify",c.info="auto",c=t.push("text","",0),c.content=t.md.normalizeLinkText(l),c=t.push("link_close","a",-1),c.markup="linkify",c.info="auto"),t.pos+=l.length-o.length,!0)},Bgi=xa.isSpace,Pgi=function(t,n){var r,i,a,o=t.pos;if(t.src.charCodeAt(o)!==10)return!1;if(r=t.pending.length-1,i=t.posMax,!n)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(a=r-1;a>=1&&t.pending.charCodeAt(a-1)===32;)a--;t.pending=t.pending.slice(0,a),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(o++;o?@[]^_`{|}~-".split("").forEach(function(e){hpe[e.charCodeAt(0)]=1});var Ngi=function(t,n){var r,i,a,o,s,l=t.pos,u=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=u))return!1;if(r=t.src.charCodeAt(l),r===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&r<=56319&&l+1=56320&&i<=57343&&(o+=t.src[l+1],l++)),a="\\"+o,n||(s=t.push("text_special","",0),r<256&&hpe[r]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"),t.pos=l+1,!0},$gi=function(t,n){var r,i,a,o,s,l,u,c,f=t.pos,d=t.src.charCodeAt(f);if(d!==96)return!1;for(r=f,f++,i=t.posMax;f=0;n--)r=t[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(i=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===i.token+1,o=String.fromCharCode(r.marker),a=e.tokens[r.token],a.type=s?"strong_open":"em_open",a.tag=s?"strong":"em",a.nesting=1,a.markup=s?o+o:o,a.content="",a=e.tokens[i.token],a.type=s?"strong_close":"em_close",a.tag=s?"strong":"em",a.nesting=-1,a.markup=s?o+o:o,a.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}Oz.postProcess=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(RSe(t,t.delimiters),n=0;n=g)return!1;if(b=l,u=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),u.ok){for(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?l=u.pos:d="",b=l;l=g||t.src.charCodeAt(l)!==41)&&(m=!0),l++}if(m){if(typeof t.env.references>"u")return!1;if(l=0?a=t.src.slice(b,l++):l=o+1):l=o+1,a||(a=t.src.slice(s,o)),c=t.env.references[zgi(a)],!c)return t.pos=p,!1;d=c.href,h=c.title}return n||(t.pos=s,t.posMax=o,f=t.push("link_open","a",1),f.attrs=r=[["href",d]],h&&r.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,f=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},jgi=xa.normalizeReference,nJ=xa.isSpace,Hgi=function(t,n){var r,i,a,o,s,l,u,c,f,d,h,p,g,b="",m=t.pos,v=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(u=s+1,u=v)return!1;for(g=u,f=t.md.helpers.parseLinkDestination(t.src,u,t.posMax),f.ok&&(b=t.md.normalizeLink(f.str),t.md.validateLink(b)?u=f.pos:b=""),g=u;u=v||t.src.charCodeAt(u)!==41)return t.pos=m,!1;u++}else{if(typeof t.env.references>"u")return!1;if(u=0?o=t.src.slice(g,u++):u=s+1):u=s+1,o||(o=t.src.slice(l,s)),c=t.env.references[jgi(o)],!c)return t.pos=m,!1;b=c.href,d=c.title}return n||(a=t.src.slice(l,s),t.md.inline.parse(a,t.md,t.env,p=[]),h=t.push("image","img",0),h.attrs=r=[["src",b],["alt",""]],h.children=p,h.content=a,d&&r.push(["title",d])),t.pos=u,t.posMax=v,!0},qgi=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Wgi=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Ggi=function(t,n){var r,i,a,o,s,l,u=t.pos;if(t.src.charCodeAt(u)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++u>=l||(o=t.src.charCodeAt(u),o===60))return!1;if(o===62)break}return r=t.src.slice(s+1,u),Wgi.test(r)?(i=t.md.normalizeLink(r),t.md.validateLink(i)?(n||(a=t.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(r),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=r.length+2,!0):!1):qgi.test(r)?(i=t.md.normalizeLink("mailto:"+r),t.md.validateLink(i)?(n||(a=t.push("link_open","a",1),a.attrs=[["href",i]],a.markup="autolink",a.info="auto",a=t.push("text","",0),a.content=t.md.normalizeLinkText(r),a=t.push("link_close","a",-1),a.markup="autolink",a.info="auto"),t.pos+=r.length+2,!0):!1):!1},Vgi=Dz.HTML_TAG_RE;function Kgi(e){return/^\s]/i.test(e)}function Ygi(e){return/^<\/a\s*>/i.test(e)}function Xgi(e){var t=e|32;return t>=97&&t<=122}var Jgi=function(t,n){var r,i,a,o,s=t.pos;return!t.md.options.html||(a=t.posMax,t.src.charCodeAt(s)!==60||s+2>=a)||(r=t.src.charCodeAt(s+1),r!==33&&r!==63&&r!==47&&!Xgi(r))||(i=t.src.slice(s).match(Vgi),!i)?!1:(n||(o=t.push("html_inline","",0),o.content=t.src.slice(s,s+i[0].length),Kgi(o.content)&&t.linkLevel++,Ygi(o.content)&&t.linkLevel--),t.pos+=i[0].length,!0)},MSe=pJe,Zgi=xa.has,Qgi=xa.isValidEntityCode,OSe=xa.fromCodePoint,emi=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,tmi=/^&([a-z][a-z0-9]{1,31});/i,nmi=function(t,n){var r,i,a,o,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(r=t.src.charCodeAt(s+1),r===35){if(a=t.src.slice(s).match(emi),a)return n||(i=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),o=t.push("text_special","",0),o.content=Qgi(i)?OSe(i):OSe(65533),o.markup=a[0],o.info="entity"),t.pos+=a[0].length,!0}else if(a=t.src.slice(s).match(tmi),a&&Zgi(MSe,a[1]))return n||(o=t.push("text_special","",0),o.content=MSe[a[1]],o.markup=a[0],o.info="entity"),t.pos+=a[0].length,!0;return!1};function LSe(e,t){var n,r,i,a,o,s,l,u,c={},f=t.length;if(f){var d=0,h=-2,p=[];for(n=0;no;r-=p[r]+1)if(a=t[r],a.marker===i.marker&&a.open&&a.end<0&&(l=!1,(a.close||i.open)&&(a.length+i.length)%3===0&&(a.length%3!==0||i.length%3!==0)&&(l=!0),!l)){u=r>0&&!t[r-1].open?p[r-1]+1:0,p[n]=n-r+u,p[r]=u,i.open=!1,a.end=n,a.close=!1,s=-1,h=-2;break}s!==-1&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=s)}}}var rmi=function(t){var n,r=t.tokens_meta,i=t.tokens_meta.length;for(LSe(t,t.delimiters),n=0;n0&&i++,a[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};X7.prototype.scanDelims=function(e,t){var n=e,r,i,a,o,s,l,u,c,f,d=!0,h=!0,p=this.posMax,g=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;n=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};J7.prototype.parse=function(e,t,n,r){var i,a,o,s=new this.State(e,t,n,r);for(this.tokenize(s),a=this.ruler2.getRules(""),o=a.length,i=0;i|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+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}),aJ}function Ase(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function Lz(e){return Object.prototype.toString.call(e)}function lmi(e){return Lz(e)==="[object String]"}function umi(e){return Lz(e)==="[object Object]"}function cmi(e){return Lz(e)==="[object RegExp]"}function zSe(e){return Lz(e)==="[object Function]"}function fmi(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var EJe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function dmi(e){return Object.keys(e||{}).reduce(function(t,n){return t||EJe.hasOwnProperty(n)},!1)}var hmi={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},pmi="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]",gmi="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function mmi(e){e.__index__=-1,e.__text_cache__=""}function vmi(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function USe(){return function(e,t){t.normalize(e)}}function RB(e){var t=e.re=smi()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(pmi),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];e.__compiled__={};function a(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var u={validate:null,link:null};if(e.__compiled__[s]=u,umi(l)){cmi(l.validate)?u.validate=vmi(l.validate):zSe(l.validate)?u.validate=l.validate:a(s,l),zSe(l.normalize)?u.normalize=l.normalize:l.normalize?a(s,l):u.normalize=USe();return}if(lmi(l)){i.push(s);return}a(s,l)}}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:USe()};var o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(fmi).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","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"),mmi(e)}function ymi(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function Tse(e,t){var n=new ymi(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fd(e,t){if(!(this instanceof fd))return new fd(e,t);t||dmi(e)&&(t=e,e={}),this.__opts__=Ase({},EJe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ase({},hmi,e),this.__compiled__={},this.__tlds__=gmi,this.__tlds_replaced__=!1,this.re={},RB(this)}fd.prototype.add=function(t,n){return this.__schemas__[t]=n,RB(this),this};fd.prototype.set=function(t){return this.__opts__=Ase(this.__opts__,t),this};fd.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,r,i,a,o,s,l,u,c;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],l.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=t.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(i=t.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0};fd.prototype.pretest=function(t){return this.re.pretest.test(t)};fd.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};fd.prototype.match=function(t){var n=0,r=[];this.__index__>=0&&this.__text_cache__===t&&(r.push(Tse(this,n)),n=this.__last_index__);for(var i=n?t.slice(n):t;this.test(i);)r.push(Tse(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};fd.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,Tse(this,0)):null};fd.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,a){return r!==a[i-1]}).reverse(),RB(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,RB(this),this)};fd.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};fd.prototype.onCompile=function(){};var bmi=fd;const D6=2147483647,Np=36,gpe=1,t8=26,wmi=38,kmi=700,xJe=72,SJe=128,AJe="-",_mi=/^xn--/,Cmi=/[^\0-\x7F]/,Emi=/[\x2E\u3002\uFF0E\uFF61]/g,xmi={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oJ=Np-gpe,$p=Math.floor,sJ=String.fromCharCode;function cv(e){throw new RangeError(xmi[e])}function Smi(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function TJe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Emi,".");const i=e.split("."),a=Smi(i,t).join(".");return r+a}function mpe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),Ami=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Np},jSe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},IJe=function(e,t,n){let r=0;for(e=n?$p(e/kmi):e>>1,e+=$p(e/t);e>oJ*t8>>1;r+=Np)e=$p(e/oJ);return $p(r+(oJ+1)*e/(e+wmi))},vpe=function(e){const t=[],n=e.length;let r=0,i=SJe,a=xJe,o=e.lastIndexOf(AJe);o<0&&(o=0);for(let s=0;s=128&&cv("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s=n&&cv("invalid-input");const d=Ami(e.charCodeAt(s++));d>=Np&&cv("invalid-input"),d>$p((D6-r)/c)&&cv("overflow"),r+=d*c;const h=f<=a?gpe:f>=a+t8?t8:f-a;if(d$p(D6/p)&&cv("overflow"),c*=p}const u=t.length+1;a=IJe(r-l,u,l==0),$p(r/u)>D6-i&&cv("overflow"),i+=$p(r/u),r%=u,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ype=function(e){const t=[];e=mpe(e);const n=e.length;let r=SJe,i=0,a=xJe;for(const l of e)l<128&&t.push(sJ(l));const o=t.length;let s=o;for(o&&t.push(AJe);s=r&&c$p((D6-i)/u)&&cv("overflow"),i+=(l-r)*u,r=l;for(const c of e)if(cD6&&cv("overflow"),c===r){let f=i;for(let d=Np;;d+=Np){const h=d<=a?gpe:d>=a+t8?t8:d-a;if(f=0))try{t.hostname=OJe.toASCII(t.hostname)}catch{}return Jb.encode(Jb.format(t))}function Wmi(e){var t=Jb.parse(e,!0);if(t.hostname&&(!t.protocol||LJe.indexOf(t.protocol)>=0))try{t.hostname=OJe.toUnicode(t.hostname)}catch{}return Jb.decode(Jb.format(t),Jb.decode.defaultChars+"%")}function Sh(e,t){if(!(this instanceof Sh))return new Sh(e,t);t||WS.isString(e)||(t=e||{},e="default"),this.inline=new Nmi,this.block=new Fmi,this.core=new Pmi,this.renderer=new Bmi,this.linkify=new $mi,this.validateLink=Hmi,this.normalizeLink=qmi,this.normalizeLinkText=Wmi,this.utils=WS,this.helpers=WS.assign({},Lmi),this.options={},this.configure(e),t&&this.set(t)}Sh.prototype.set=function(e){return WS.assign(this.options,e),this};Sh.prototype.configure=function(e){var t=this,n;if(WS.isString(e)&&(n=e,e=zmi[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};Sh.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Sh.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Sh.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Sh.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};Sh.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Sh.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};Sh.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Gmi=Sh,Vmi=Gmi,Xg={};Object.defineProperty(Xg,"__esModule",{value:!0});Xg.wrapArray=Xg.default=void 0;const BJe=e=>e==null||e===!1?[]:e instanceof Array?e:[e];Xg.wrapArray=BJe;var Kmi=BJe;Xg.default=Kmi;var w_={};function k_(e){return function(t,...n){if(t.marpit)return e.call(this,t,...n);throw new Error("Marpit plugin has detected incompatible markdown-it instance.")}}Object.defineProperty(k_,"__esModule",{value:!0});Object.defineProperty(k_,"default",{value:k_});Object.defineProperty(k_,"marpitPlugin",{value:k_});var zs=k_,__={},wE={},bpe={exports:{}},Oo=String,PJe=function(){return{isColorSupported:!1,reset:Oo,bold:Oo,dim:Oo,italic:Oo,underline:Oo,inverse:Oo,hidden:Oo,strikethrough:Oo,black:Oo,red:Oo,green:Oo,yellow:Oo,blue:Oo,magenta:Oo,cyan:Oo,white:Oo,gray:Oo,bgBlack:Oo,bgRed:Oo,bgGreen:Oo,bgYellow:Oo,bgBlue:Oo,bgMagenta:Oo,bgCyan:Oo,bgWhite:Oo}};bpe.exports=PJe();bpe.exports.createColors=PJe;var Ymi=bpe.exports;let HSe=Ymi,qSe=Mh,Dse=class FJe extends Error{constructor(t,n,r,i,a,o){super(t),this.name="CssSyntaxError",this.reason=t,a&&(this.file=a),i&&(this.source=i),o&&(this.plugin=o),typeof n<"u"&&typeof r<"u"&&(typeof n=="number"?(this.line=n,this.column=r):(this.line=n.line,this.column=n.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,FJe)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=HSe.isColorSupported),qSe&&t&&(n=qSe(n));let r=n.split(/\r?\n/),i=Math.max(this.line-3,0),a=Math.min(this.line+2,r.length),o=String(a).length,s,l;if(t){let{bold:u,gray:c,red:f}=HSe.createColors(!0);s=d=>u(f(d)),l=d=>c(d)}else s=l=u=>u;return r.slice(i,a).map((u,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let h=l(d.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+l(d)+u+` `+h+s("^")}return" "+l(d)+u}).join(` `)}toString(){let t=this.showSourceCode();return t&&(t=` @@ -1146,55 +1146,55 @@ l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` -`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Ymi(e){return e[0].toUpperCase()+e.slice(1)}let Ise=class{constructor(t){this.builder=t}atrule(t,n){let r="@"+t.name,i=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:i&&(r+=" "),t.nodes)this.block(t,r+i);else{let a=(t.raws.between||"")+(n?";":"");this.builder(r+i+a,t)}}beforeAfter(t,n){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):n==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let i=t.parent,a=0;for(;i&&i.type!=="root";)a+=1,i=i.parent;if(r.includes(` -`)){let o=this.raw(t,null,"indent");if(o.length)for(let s=0;s0&&t.nodes[n].type==="comment";)n-=1;let r=this.raw(t,"semicolon");for(let i=0;i{if(i=l.raws[n],typeof i<"u")return!1})}return typeof i>"u"&&(i=WSe[r]),o.rawCache[r]=i,i}rawBeforeClose(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(` +`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Xmi(e){return e[0].toUpperCase()+e.slice(1)}let Ise=class{constructor(t){this.builder=t}atrule(t,n){let r="@"+t.name,i=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:i&&(r+=" "),t.nodes)this.block(t,r+i);else{let a=(t.raws.between||"")+(n?";":"");this.builder(r+i+a,t)}}beforeAfter(t,n){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):n==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let i=t.parent,a=0;for(;i&&i.type!=="root";)a+=1,i=i.parent;if(r.includes(` +`)){let o=this.raw(t,null,"indent");if(o.length)for(let s=0;s0&&t.nodes[n].type==="comment";)n-=1;let r=this.raw(t,"semicolon");for(let i=0;i{if(i=l.raws[n],typeof i<"u")return!1})}return typeof i>"u"&&(i=WSe[r]),o.rawCache[r]=i,i}rawBeforeClose(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return n=r.raws.after,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawBeforeComment(t,n){let r;return t.walkComments(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,n){let r;return t.walkDecls(i=>{if(typeof i.raws.before<"u")return r=i.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(n,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let n;return t.walk(r=>{if(r.type!=="decl"&&(n=r.raws.between,typeof n<"u"))return!1}),n}rawBeforeRule(t){let n;return t.walk(r=>{if(r.nodes&&(r.parent!==t||t.first!==r)&&typeof r.raws.before<"u")return n=r.raws.before,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n}rawColon(t){let n;return t.walkDecls(r=>{if(typeof r.raws.between<"u")return n=r.raws.between.replace(/[^\s:]/g,""),!1}),n}rawEmptyBody(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length===0&&(n=r.raws.after,typeof n<"u"))return!1}),n}rawIndent(t){if(t.raws.indent)return t.raws.indent;let n;return t.walk(r=>{let i=r.parent;if(i&&i!==t&&i.parent&&i.parent===t&&typeof r.raws.before<"u"){let a=r.raws.before.split(` -`);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(t,n){let r=t[n],i=t.raws[n];return i&&i.value===r?i.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,n){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,n)}};var NJe=Ise;Ise.default=Ise;let Xmi=NJe;function Rse(e,t){new Xmi(t).stringify(e)}var Bz=Rse;Rse.default=Rse;let{isClean:NI,my:Jmi}=Z7,Zmi=wpe,Qmi=NJe,evi=Bz;function Mse(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let i=e[r],a=typeof i;r==="parent"&&a==="object"?t&&(n[r]=t):r==="source"?n[r]=i:Array.isArray(i)?n[r]=i.map(o=>Mse(o,n)):(a==="object"&&i!==null&&(i=Mse(i)),n[r]=i)}return n}let Ose=class{constructor(t={}){this.raws={},this[NI]=!1,this[Jmi]=!0;for(let n in t)if(n==="nodes"){this.nodes=[];for(let r of t[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=t[n]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let n=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let n in t)this[n]=t[n];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let n=Mse(this);for(let r in t)n[r]=t[r];return n}cloneAfter(t={}){let n=this.clone(t);return this.parent.insertAfter(this,n),n}cloneBefore(t={}){let n=this.clone(t);return this.parent.insertBefore(this,n),n}error(t,n={}){if(this.source){let{end:r,start:i}=this.rangeBy(n);return this.source.input.error(t,{column:i.column,line:i.line},{column:r.column,line:r.line},n)}return new Zmi(t)}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:n==="root"?()=>t.root().toProxy():t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&t.markDirty()),!0}}}markDirty(){if(this[NI]){this[NI]=!1;let t=this;for(;t=t.parent;)t[NI]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,n){let r=this.source.start;if(t.index)r=this.positionInside(t.index,n);else if(t.word){n=this.toString();let i=n.indexOf(t.word);i!==-1&&(r=this.positionInside(i,n))}return r}positionInside(t,n){let r=n||this.toString(),i=this.source.start.column,a=this.source.start.line;for(let o=0;otypeof l=="object"&&l.toJSON?l.toJSON(null,n):l);else if(typeof s=="object"&&s.toJSON)r[o]=s.toJSON(null,n);else if(o==="source"){let l=n.get(s.input);l==null&&(l=a,n.set(s.input,a),a++),r[o]={end:s.end,inputId:l,start:s.start}}else r[o]=s}return i&&(r.inputs=[...n.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=evi){t.stringify&&(t=t.stringify);let n="";return t(this,r=>{n+=r}),n}warn(t,n,r){let i={node:this};for(let a in r)i[a]=r[a];return t.warn(n,i)}get proxyOf(){return this}};var Pz=Ose;Ose.default=Ose;let tvi=Pz,Lse=class extends tvi{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var Fz=Lse;Lse.default=Lse;let nvi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",rvi=(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r},ivi=(e=21)=>{let t="",n=e;for(;n--;)t+=nvi[Math.random()*64|0];return t};var avi={nanoid:ivi,customAlphabet:rvi};let{SourceMapConsumer:GSe,SourceMapGenerator:VSe}=Mh,{existsSync:ovi,readFileSync:svi}=Mh,{dirname:lJ,join:lvi}=Mh;function uvi(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}let Bse=class{constructor(t,n){if(n.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=lJ(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new GSe(this.text)),this.consumerCache}decodeInline(t){let n=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(i.test(t)||a.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(n.test(t)||r.test(t))return uvi(t.substr(RegExp.lastMatch.length));let o=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let n=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!n)return;let r=t.lastIndexOf(n.pop()),i=t.indexOf("*/",r);r>-1&&i>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,i)))}loadFile(t){if(this.root=lJ(t),ovi(t))return this.mapFile=t,svi(t,"utf-8").toString().trim()}loadMap(t,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){let r=n(t);if(r){let i=this.loadFile(r);if(!i)throw new Error("Unable to load previous source map: "+r.toString());return i}}else{if(n instanceof GSe)return VSe.fromSourceMap(n).toString();if(n instanceof VSe)return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=lvi(lJ(t),r)),this.loadFile(r)}}}startWith(t,n){return t?t.substr(0,n.length)===n:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var $Je=Bse;Bse.default=Bse;let{SourceMapConsumer:cvi,SourceMapGenerator:fvi}=Mh,{fileURLToPath:KSe,pathToFileURL:$I}=Mh,{isAbsolute:Pse,resolve:Fse}=Mh,{nanoid:dvi}=avi,uJ=Mh,YSe=wpe,hvi=$Je,cJ=Symbol("fromOffsetCache"),pvi=!!(cvi&&fvi),XSe=!!(Fse&&Pse),MB=class{constructor(t,n={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!XSe||/^\w+:\/\//.test(n.from)||Pse(n.from)?this.file=n.from:this.file=Fse(n.from)),XSe&&pvi){let r=new hvi(this.css,n);if(r.text){this.map=r;let i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,n,r,i={}){let a,o,s;if(n&&typeof n=="object"){let u=n,c=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);n=f.line,r=f.col}else n=u.line,r=u.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,s=f.col}else o=c.line,s=c.column}else if(!r){let u=this.fromOffset(n);n=u.line,r=u.col}let l=this.origin(n,r,o,s);return l?a=new YSe(t,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,i.plugin):a=new YSe(t,o===void 0?n:{column:r,line:n},o===void 0?r:{column:s,line:o},this.css,this.file,i.plugin),a.input={column:r,endColumn:s,endLine:o,line:n,source:this.css},this.file&&($I&&(a.input.url=$I(this.file).toString()),a.input.file=this.file),a}fromOffset(t){let n,r;if(this[cJ])r=this[cJ];else{let a=this.css.split(` -`);r=new Array(a.length);let o=0;for(let s=0,l=a.length;s=n)i=r.length-1;else{let a=r.length-2,o;for(;i>1),t=r[o+1])i=o+1;else{i=o;break}}return{col:t-r[i]+1,line:i+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:Fse(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,n,r,i){if(!this.map)return!1;let a=this.map.consumer(),o=a.originalPositionFor({column:n,line:t});if(!o.source)return!1;let s;typeof r=="number"&&(s=a.originalPositionFor({column:i,line:r}));let l;Pse(o.source)?l=$I(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||$I(this.map.mapFile));let u={column:o.column,endColumn:s&&s.column,endLine:s&&s.line,line:o.line,url:l.toString()};if(l.protocol==="file:")if(KSe)u.file=KSe(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=a.sourceContentFor(o.source);return c&&(u.source=c),u}toJSON(){let t={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(t[n]=this[n]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};var Nz=MB;MB.default=MB;uJ&&uJ.registerInput&&uJ.registerInput(MB);let{SourceMapConsumer:zJe,SourceMapGenerator:mO}=Mh,{dirname:vO,relative:UJe,resolve:jJe,sep:HJe}=Mh,{pathToFileURL:JSe}=Mh,gvi=Nz,mvi=!!(zJe&&mO),vvi=!!(vO&&jJe&&UJe&&HJe),yvi=class{constructor(t,n,r,i){this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let n=` +`);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n}rawSemicolon(t){let n;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(n=r.raws.semicolon,typeof n<"u"))return!1}),n}rawValue(t,n){let r=t[n],i=t.raws[n];return i&&i.value===r?i.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,n){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,n)}};var NJe=Ise;Ise.default=Ise;let Jmi=NJe;function Rse(e,t){new Jmi(t).stringify(e)}var Bz=Rse;Rse.default=Rse;let{isClean:NI,my:Zmi}=Z7,Qmi=wpe,evi=NJe,tvi=Bz;function Mse(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let i=e[r],a=typeof i;r==="parent"&&a==="object"?t&&(n[r]=t):r==="source"?n[r]=i:Array.isArray(i)?n[r]=i.map(o=>Mse(o,n)):(a==="object"&&i!==null&&(i=Mse(i)),n[r]=i)}return n}let Ose=class{constructor(t={}){this.raws={},this[NI]=!1,this[Zmi]=!0;for(let n in t)if(n==="nodes"){this.nodes=[];for(let r of t[n])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[n]=t[n]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let n=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${n.input.from}:${n.start.line}:${n.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let n in t)this[n]=t[n];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let n=Mse(this);for(let r in t)n[r]=t[r];return n}cloneAfter(t={}){let n=this.clone(t);return this.parent.insertAfter(this,n),n}cloneBefore(t={}){let n=this.clone(t);return this.parent.insertBefore(this,n),n}error(t,n={}){if(this.source){let{end:r,start:i}=this.rangeBy(n);return this.source.input.error(t,{column:i.column,line:i.line},{column:r.column,line:r.line},n)}return new Qmi(t)}getProxyProcessor(){return{get(t,n){return n==="proxyOf"?t:n==="root"?()=>t.root().toProxy():t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="prop"||n==="value"||n==="name"||n==="params"||n==="important"||n==="text")&&t.markDirty()),!0}}}markDirty(){if(this[NI]){this[NI]=!1;let t=this;for(;t=t.parent;)t[NI]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,n){let r=this.source.start;if(t.index)r=this.positionInside(t.index,n);else if(t.word){n=this.toString();let i=n.indexOf(t.word);i!==-1&&(r=this.positionInside(i,n))}return r}positionInside(t,n){let r=n||this.toString(),i=this.source.start.column,a=this.source.start.line;for(let o=0;otypeof l=="object"&&l.toJSON?l.toJSON(null,n):l);else if(typeof s=="object"&&s.toJSON)r[o]=s.toJSON(null,n);else if(o==="source"){let l=n.get(s.input);l==null&&(l=a,n.set(s.input,a),a++),r[o]={end:s.end,inputId:l,start:s.start}}else r[o]=s}return i&&(r.inputs=[...n.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=tvi){t.stringify&&(t=t.stringify);let n="";return t(this,r=>{n+=r}),n}warn(t,n,r){let i={node:this};for(let a in r)i[a]=r[a];return t.warn(n,i)}get proxyOf(){return this}};var Pz=Ose;Ose.default=Ose;let nvi=Pz,Lse=class extends nvi{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var Fz=Lse;Lse.default=Lse;let rvi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",ivi=(e,t=21)=>(n=t)=>{let r="",i=n;for(;i--;)r+=e[Math.random()*e.length|0];return r},avi=(e=21)=>{let t="",n=e;for(;n--;)t+=rvi[Math.random()*64|0];return t};var ovi={nanoid:avi,customAlphabet:ivi};let{SourceMapConsumer:GSe,SourceMapGenerator:VSe}=Mh,{existsSync:svi,readFileSync:lvi}=Mh,{dirname:lJ,join:uvi}=Mh;function cvi(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}let Bse=class{constructor(t,n){if(n.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);!this.mapFile&&n.from&&(this.mapFile=n.from),this.mapFile&&(this.root=lJ(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new GSe(this.text)),this.consumerCache}decodeInline(t){let n=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(i.test(t)||a.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(n.test(t)||r.test(t))return cvi(t.substr(RegExp.lastMatch.length));let o=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let n=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!n)return;let r=t.lastIndexOf(n.pop()),i=t.indexOf("*/",r);r>-1&&i>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,i)))}loadFile(t){if(this.root=lJ(t),svi(t))return this.mapFile=t,lvi(t,"utf-8").toString().trim()}loadMap(t,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){let r=n(t);if(r){let i=this.loadFile(r);if(!i)throw new Error("Unable to load previous source map: "+r.toString());return i}}else{if(n instanceof GSe)return VSe.fromSourceMap(n).toString();if(n instanceof VSe)return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=uvi(lJ(t),r)),this.loadFile(r)}}}startWith(t,n){return t?t.substr(0,n.length)===n:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var $Je=Bse;Bse.default=Bse;let{SourceMapConsumer:fvi,SourceMapGenerator:dvi}=Mh,{fileURLToPath:KSe,pathToFileURL:$I}=Mh,{isAbsolute:Pse,resolve:Fse}=Mh,{nanoid:hvi}=ovi,uJ=Mh,YSe=wpe,pvi=$Je,cJ=Symbol("fromOffsetCache"),gvi=!!(fvi&&dvi),XSe=!!(Fse&&Pse),MB=class{constructor(t,n={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,n.from&&(!XSe||/^\w+:\/\//.test(n.from)||Pse(n.from)?this.file=n.from:this.file=Fse(n.from)),XSe&&gvi){let r=new pvi(this.css,n);if(r.text){this.map=r;let i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,n,r,i={}){let a,o,s;if(n&&typeof n=="object"){let u=n,c=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);n=f.line,r=f.col}else n=u.line,r=u.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,s=f.col}else o=c.line,s=c.column}else if(!r){let u=this.fromOffset(n);n=u.line,r=u.col}let l=this.origin(n,r,o,s);return l?a=new YSe(t,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,i.plugin):a=new YSe(t,o===void 0?n:{column:r,line:n},o===void 0?r:{column:s,line:o},this.css,this.file,i.plugin),a.input={column:r,endColumn:s,endLine:o,line:n,source:this.css},this.file&&($I&&(a.input.url=$I(this.file).toString()),a.input.file=this.file),a}fromOffset(t){let n,r;if(this[cJ])r=this[cJ];else{let a=this.css.split(` +`);r=new Array(a.length);let o=0;for(let s=0,l=a.length;s=n)i=r.length-1;else{let a=r.length-2,o;for(;i>1),t=r[o+1])i=o+1;else{i=o;break}}return{col:t-r[i]+1,line:i+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:Fse(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,n,r,i){if(!this.map)return!1;let a=this.map.consumer(),o=a.originalPositionFor({column:n,line:t});if(!o.source)return!1;let s;typeof r=="number"&&(s=a.originalPositionFor({column:i,line:r}));let l;Pse(o.source)?l=$I(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||$I(this.map.mapFile));let u={column:o.column,endColumn:s&&s.column,endLine:s&&s.line,line:o.line,url:l.toString()};if(l.protocol==="file:")if(KSe)u.file=KSe(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=a.sourceContentFor(o.source);return c&&(u.source=c),u}toJSON(){let t={};for(let n of["hasBOM","css","file","id"])this[n]!=null&&(t[n]=this[n]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};var Nz=MB;MB.default=MB;uJ&&uJ.registerInput&&uJ.registerInput(MB);let{SourceMapConsumer:zJe,SourceMapGenerator:mO}=Mh,{dirname:vO,relative:UJe,resolve:jJe,sep:HJe}=Mh,{pathToFileURL:JSe}=Mh,mvi=Nz,vvi=!!(zJe&&mO),yvi=!!(vO&&jJe&&UJe&&HJe),bvi=class{constructor(t,n,r,i){this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let n=` `;this.css.includes(`\r `)&&(n=`\r -`),this.css+=n+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),r=t.root||vO(t.file),i;this.mapOpts.sourcesContent===!1?(i=new zJe(t.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=t.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let n=this.root.nodes.length-1;n>=0;n--)t=this.root.nodes[n],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),vvi&&mvi&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,n=>{t+=n}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=mO.fromSourceMap(t)}else this.map=new mO({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new mO({file:this.outputFile()});let t=1,n=1,r="",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},a,o;this.stringify(this.root,(s,l,u)=>{if(this.css+=s,l&&u!=="end"&&(i.generated.line=t,i.generated.column=n-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),a=s.match(/\n/g),a?(t+=a.length,o=s.lastIndexOf(` -`),n=s.length-o):n+=s.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=t,i.generated.column=n-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=n-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(n=>n.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let n=this.memoizedPaths.get(t);if(n)return n;let r=this.opts.to?vO(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=vO(jJe(r,this.mapOpts.annotation)));let i=UJe(r,t);return this.memoizedPaths.set(t,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let n=t.source.input.map;this.previousMaps.includes(n)||this.previousMaps.push(n)}});else{let t=new gvi(this.css,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(n=>{if(n.source){let r=n.source.input.from;if(r&&!t[r]){t[r]=!0;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){let n=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(n,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let n=this.memoizedFileURLs.get(t);if(n)return n;if(JSe){let r=JSe(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let n=this.memoizedURLs.get(t);if(n)return n;HJe==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};var qJe=yvi;let bvi=Pz,Nse=class extends bvi{constructor(t){super(t),this.type="comment"}};var $z=Nse;Nse.default=Nse;let{isClean:WJe,my:GJe}=Z7,VJe=Fz,KJe=$z,wvi=Pz,YJe,kpe,_pe,XJe;function JJe(e){return e.map(t=>(t.nodes&&(t.nodes=JJe(t.nodes)),delete t.source,t))}function ZJe(e){if(e[WJe]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)ZJe(t)}let Jg=class QJe extends wvi{append(...t){for(let n of t){let r=this.normalize(n,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let n of this.nodes)n.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,i;for(;this.indexes[n]t[n](...r.map(i=>typeof i=="function"?(a,o)=>i(a.toProxy(),o):i)):n==="every"||n==="some"?r=>t[n]((i,...a)=>r(i.toProxy(),...a)):n==="root"?()=>t.root().toProxy():n==="nodes"?t.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?t[n].toProxy():t[n]:t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="name"||n==="params"||n==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,n){let r=this.index(t),i=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let a;for(let o in this.indexes)a=this.indexes[o],r"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new VJe(t)]}else if(t.selector)t=[new kpe(t)];else if(t.name)t=[new _pe(t)];else if(t.text)t=[new KJe(t)];else throw new Error("Unknown node type in node creation");return t.map(i=>(i[GJe]||QJe.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[WJe]&&ZJe(i),typeof i.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(i.raws.before=n.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...t){t=t.reverse();for(let n of t){let r=this.normalize(n,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=t&&(this.indexes[r]=n-1);return this.markDirty(),this}replaceValues(t,n,r){return r||(r=n,n={}),this.walkDecls(i=>{n.props&&!n.props.includes(i.prop)||n.fast&&!i.value.includes(n.fast)||(i.value=i.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((n,r)=>{let i;try{i=t(n,r)}catch(a){throw n.addToError(a)}return i!==!1&&n.walk&&(i=n.walk(t)),i})}walkAtRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&t.test(r.name))return n(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="atrule")return n(r,i)}))}walkComments(t){return this.walk((n,r)=>{if(n.type==="comment")return t(n,r)})}walkDecls(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&t.test(r.prop))return n(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="decl")return n(r,i)}))}walkRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&t.test(r.selector))return n(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="rule")return n(r,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Jg.registerParse=e=>{YJe=e};Jg.registerRule=e=>{kpe=e};Jg.registerAtRule=e=>{_pe=e};Jg.registerRoot=e=>{XJe=e};var L3=Jg;Jg.default=Jg;Jg.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,_pe.prototype):e.type==="rule"?Object.setPrototypeOf(e,kpe.prototype):e.type==="decl"?Object.setPrototypeOf(e,VJe.prototype):e.type==="comment"?Object.setPrototypeOf(e,KJe.prototype):e.type==="root"&&Object.setPrototypeOf(e,XJe.prototype),e[GJe]=!0,e.nodes&&e.nodes.forEach(t=>{Jg.rebuild(t)})};let kvi=L3,eZe,tZe,n8=class extends kvi{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new eZe(new tZe,this,t).stringify()}};n8.registerLazyResult=e=>{eZe=e};n8.registerProcessor=e=>{tZe=e};var Cpe=n8;n8.default=n8;let $se=class{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var nZe=$se;$se.default=$se;let _vi=nZe,zse=class{constructor(t,n,r){this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new _vi(t,n);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};var Epe=zse;zse.default=zse;const fJ="'".charCodeAt(0),ZSe='"'.charCodeAt(0),zI="\\".charCodeAt(0),QSe="/".charCodeAt(0),UI=` -`.charCodeAt(0),q5=" ".charCodeAt(0),jI="\f".charCodeAt(0),HI=" ".charCodeAt(0),qI="\r".charCodeAt(0),Cvi="[".charCodeAt(0),Evi="]".charCodeAt(0),xvi="(".charCodeAt(0),Svi=")".charCodeAt(0),Avi="{".charCodeAt(0),Tvi="}".charCodeAt(0),Dvi=";".charCodeAt(0),Ivi="*".charCodeAt(0),Rvi=":".charCodeAt(0),Mvi="@".charCodeAt(0),WI=/[\t\n\f\r "#'()/;[\\\]{}]/g,GI=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ovi=/.[\r\n"'(/\\]/,eAe=/[\da-f]/i;var Lvi=function(t,n={}){let r=t.css.valueOf(),i=n.ignoreErrors,a,o,s,l,u,c,f,d,h,p,g=r.length,b=0,m=[],v=[];function w(){return b}function k(L){throw t.error("Unclosed "+L,b)}function E(){return v.length===0&&b>=g}function S(L){if(v.length)return v.pop();if(b>=g)return;let M=L?L.ignoreUnclosed:!1;switch(a=r.charCodeAt(b),a){case UI:case q5:case HI:case qI:case jI:{o=b;do o+=1,a=r.charCodeAt(o);while(a===q5||a===UI||a===HI||a===qI||a===jI);p=["space",r.slice(b,o)],b=o-1;break}case Cvi:case Evi:case Avi:case Tvi:case Rvi:case Dvi:case Svi:{let D=String.fromCharCode(a);p=[D,D,b];break}case xvi:{if(d=m.length?m.pop()[1]:"",h=r.charCodeAt(b+1),d==="url"&&h!==fJ&&h!==ZSe&&h!==q5&&h!==UI&&h!==HI&&h!==jI&&h!==qI){o=b;do{if(c=!1,o=r.indexOf(")",o+1),o===-1)if(i||M){o=b;break}else k("bracket");for(f=o;r.charCodeAt(f-1)===zI;)f-=1,c=!c}while(c);p=["brackets",r.slice(b,o+1),b,o],b=o}else o=r.indexOf(")",b+1),l=r.slice(b,o+1),o===-1||Ovi.test(l)?p=["(","(",b]:(p=["brackets",l,b,o],b=o);break}case fJ:case ZSe:{s=a===fJ?"'":'"',o=b;do{if(c=!1,o=r.indexOf(s,o+1),o===-1)if(i||M){o=b+1;break}else k("string");for(f=o;r.charCodeAt(f-1)===zI;)f-=1,c=!c}while(c);p=["string",r.slice(b,o+1),b,o],b=o;break}case Mvi:{WI.lastIndex=b+1,WI.test(r),WI.lastIndex===0?o=r.length-1:o=WI.lastIndex-2,p=["at-word",r.slice(b,o+1),b,o],b=o;break}case zI:{for(o=b,u=!0;r.charCodeAt(o+1)===zI;)o+=1,u=!u;if(a=r.charCodeAt(o+1),u&&a!==QSe&&a!==q5&&a!==UI&&a!==HI&&a!==qI&&a!==jI&&(o+=1,eAe.test(r.charAt(o)))){for(;eAe.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===q5&&(o+=1)}p=["word",r.slice(b,o+1),b,o],b=o;break}default:{a===QSe&&r.charCodeAt(b+1)===Ivi?(o=r.indexOf("*/",b+2)+1,o===0&&(i||M?o=r.length:k("comment")),p=["comment",r.slice(b,o+1),b,o],b=o):(GI.lastIndex=b+1,GI.test(r),GI.lastIndex===0?o=r.length-1:o=GI.lastIndex-2,p=["word",r.slice(b,o+1),b,o],m.push(p),b=o);break}}return b++,p}function T(L){v.push(L)}return{back:T,endOfFile:E,nextToken:S,position:w}};let rZe=L3,OB=class extends rZe{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};var xpe=OB;OB.default=OB;rZe.registerAtRule(OB);let iZe=L3,aZe,oZe,C_=class extends iZe{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,n,r){let i=super.normalize(t);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let a of i)a.raws.before=n.raws.before}return i}removeChild(t,n){let r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new aZe(new oZe,this,t).stringify()}};C_.registerLazyResult=e=>{aZe=e};C_.registerProcessor=e=>{oZe=e};var Q7=C_;C_.default=C_;iZe.registerRoot(C_);let r8={comma(e){return r8.split(e,[","],!0)},space(e){let t=[" ",` -`," "];return r8.split(e,t)},split(e,t,n){let r=[],i="",a=!1,o=0,s=!1,l="",u=!1;for(let c of e)u?u=!1:c==="\\"?u=!0:s?c===l&&(s=!1):c==='"'||c==="'"?(s=!0,l=c):c==="("?o+=1:c===")"?o>0&&(o-=1):o===0&&t.includes(c)&&(a=!0),a?(i!==""&&r.push(i.trim()),i="",a=!1):i+=c;return(n||i!=="")&&r.push(i.trim()),r}};var sZe=r8;r8.default=r8;let lZe=L3,Bvi=sZe,LB=class extends lZe{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Bvi.comma(this.selector)}set selectors(t){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};var Spe=LB;LB.default=LB;lZe.registerRule(LB);let Pvi=Fz,Fvi=Lvi,Nvi=$z,$vi=xpe,zvi=Q7,tAe=Spe;const nAe={empty:!0,space:!0};function Uvi(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}let jvi=class{constructor(t){this.input=t,this.root=new zvi,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new $vi;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let r,i,a,o=!1,s=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){s=!0;break}else if(r==="}"){if(l.length>0){for(a=l.length-1,i=l[a];i&&i[0]==="space";)i=l[--a];i&&(n.source.end=this.getPosition(i[3]||i[2]),n.source.end.offset++)}this.end(t);break}else l.push(t);else l.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(n.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(n,"params",l),o&&(t=l[l.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),s&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let r=0,i;for(let a=n-1;a>=0&&(i=t[a],!(i[0]!=="space"&&(r+=1,r===2)));a--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(t){let n=0,r,i,a;for(let[o,s]of t.entries()){if(r=s,i=r[0],i==="("&&(n+=1),i===")"&&(n-=1),n===0&&i===":")if(!a)this.doubleColon(r);else{if(a[0]==="word"&&a[1]==="progid")continue;return o}a=r}return!1}comment(t){let n=new Nvi;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let i=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=i[2],n.raws.left=i[1],n.raws.right=i[3]}}createTokenizer(){this.tokenizer=Fvi(this.input)}decl(t,n){let r=new Pvi;this.init(r,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(i[3]||i[2]||Uvi(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let a;for(;t.length;)if(a=t.shift(),a[0]===":"){r.raws.between+=a[1];break}else a[0]==="word"&&/\w/.test(a[1])&&this.unknownWord([a]),r.raws.between+=a[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],s;for(;t.length&&(s=t[0][0],!(s!=="space"&&s!=="comment"));)o.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(a=t[u],a[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(t,u);c=this.spacesFromEnd(t)+c,c!==" !important"&&(r.raws.important=c);break}else if(a[1].toLowerCase()==="important"){let c=t.slice(0),f="";for(let d=u;d>0;d--){let h=c[d][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=c)}if(a[0]!=="space"&&a[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=o.map(u=>u[1]).join(""),o=[]),this.raw(r,"value",o.concat(t),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new tAe;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,r=null,i=!1,a=null,o=[],s=t[1].startsWith("--"),l=[],u=t;for(;u;){if(r=u[0],l.push(u),r==="("||r==="[")a||(a=u),o.push(r==="("?")":"]");else if(s&&i&&r==="{")a||(a=u),o.push("}");else if(o.length===0)if(r===";")if(i){this.decl(l,s);return}else break;else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop()),n=!0;break}else r===":"&&(i=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(a=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),o.length>0&&this.unclosedBracket(a),n&&i){if(!s)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,s)}else this.unknownWord(l)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,r,i){let a,o,s=r.length,l="",u=!0,c,f;for(let d=0;dh+p[1],"");t.raws[n]={raw:d,value:l}}t[n]=l}rule(t){t.pop();let n=new tAe;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let n,r="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],n==="space");)r=t.pop()[1]+r;return r}stringFrom(t,n){let r="";for(let i=n;iUse(t)),e}let jse={},x_=class cZe{constructor(t,n,r){this.stringified=!1,this.processed=!1;let i;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))i=Use(n);else if(n instanceof cZe||n instanceof rAe)i=Use(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let a=Zvi;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{i=a(n,r)}catch(o){this.processed=!0,this.error=o}i&&!i[Vvi]&&Xvi.rebuild(i)}this.result=new rAe(t,i,r),this.helpers={...jse,postcss:jse,result:this.result},this.plugins=this.processor.plugins.map(a=>typeof a=="object"&&a.prepare?{...a,...a.prepare(this.result)}:a)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,n){let r=this.result.lastPlugin;try{n&&n.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(i){console&&console.error&&console.error(i)}return t}prepareVisitors(){this.listeners={};let t=(n,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,i])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!t2i[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!n2i[r])if(typeof n[r]=="object")for(let i in n[r])i==="*"?t(n,r,n[r][i]):t(n,r+"-"+i.toLowerCase(),n[r][i]);else typeof n[r]=="function"&&t(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(n);if(W5(r))try{await r}catch(i){let a=n[n.length-1].node;throw this.handleError(i,a)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(t.type==="document"){let i=t.nodes.map(a=>r(a,this.helpers));await Promise.all(i)}else await r(t,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return W5(n[0])?Promise.all(n):n}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(n){throw this.handleError(n)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,n=Yvi;t.syntax&&(n=t.syntax.stringify),t.stringifier&&(n=t.stringifier),n.stringify&&(n=n.stringify);let i=new Kvi(n,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let n=this.runOnRoot(t);if(W5(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[pp];)t[pp]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let n of t.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,n){return this.async().then(t,n)}toString(){return this.css}visitSync(t,n){for(let[r,i]of t){this.result.lastPlugin=r;let a;try{a=i(n,this.helpers)}catch(o){throw this.handleError(o,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(W5(a))throw this.getAsyncError()}}visitTick(t){let n=t[t.length-1],{node:r,visitors:i}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(i.length>0&&n.visitorIndex{i[pp]||this.walkSync(i)});else{let i=this.listeners[r];if(i&&this.visitSync(i,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};x_.registerPostcss=e=>{jse=e};var fZe=x_;x_.default=x_;Qvi.registerLazyResult(x_);Jvi.registerLazyResult(x_);let r2i=qJe,i2i=Bz,a2i=Ape;const o2i=Epe;let Hse=class{constructor(t,n,r){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=r,this._map=void 0;let i,a=i2i;this.result=new o2i(this._processor,i,this._opts),this.result.css=n;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let s=new r2i(a,i,this._opts,n);if(s.isMap()){let[l,u]=s.generate();l&&(this.result.css=l),u&&(this.result.map=u)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,n){return this.async().then(t,n)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,n=a2i;try{t=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};var s2i=Hse;Hse.default=Hse;let l2i=s2i,u2i=fZe,c2i=Cpe,f2i=Q7,i8=class{constructor(t=[]){this.version="8.4.31",this.plugins=this.normalize(t)}normalize(t){let n=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}process(t,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new l2i(this,t,n):new u2i(this,t,n)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};var d2i=i8;i8.default=i8;f2i.registerProcessor(i8);c2i.registerProcessor(i8);let h2i=Fz,p2i=$Je,g2i=$z,m2i=xpe,v2i=Nz,y2i=Q7,b2i=Spe;function a8(e,t){if(Array.isArray(e))return e.map(i=>a8(i));let{inputs:n,...r}=e;if(n){t=[];for(let i of n){let a={...i,__proto__:v2i.prototype};a.map&&(a.map={...a.map,__proto__:p2i.prototype}),t.push(a)}}if(r.nodes&&(r.nodes=e.nodes.map(i=>a8(i,t))),r.source){let{inputId:i,...a}=r.source;r.source=a,i!=null&&(r.source.input=t[i])}if(r.type==="root")return new y2i(r);if(r.type==="decl")return new h2i(r);if(r.type==="rule")return new b2i(r);if(r.type==="comment")return new g2i(r);if(r.type==="atrule")return new m2i(r);throw new Error("Unknown node type: "+e.type)}var w2i=a8;a8.default=a8;let k2i=wpe,dZe=Fz,_2i=fZe,C2i=L3,Tpe=d2i,E2i=Bz,x2i=w2i,hZe=Cpe,S2i=nZe,pZe=$z,gZe=xpe,A2i=Epe,T2i=Nz,D2i=Ape,I2i=sZe,mZe=Spe,vZe=Q7,R2i=Pz;function Fa(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new Tpe(e)}Fa.plugin=function(t,n){let r=!1;function i(...o){console&&console.warn&&!r&&(r=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide: +`),this.css+=n+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let n=this.toUrl(this.path(t.file)),r=t.root||vO(t.file),i;this.mapOpts.sourcesContent===!1?(i=new zJe(t.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=t.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let n=this.root.nodes.length-1;n>=0;n--)t=this.root.nodes[n],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),yvi&&vvi&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,n=>{t+=n}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=mO.fromSourceMap(t)}else this.map=new mO({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new mO({file:this.outputFile()});let t=1,n=1,r="",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},a,o;this.stringify(this.root,(s,l,u)=>{if(this.css+=s,l&&u!=="end"&&(i.generated.line=t,i.generated.column=n-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),a=s.match(/\n/g),a?(t+=a.length,o=s.lastIndexOf(` +`),n=s.length-o):n+=s.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=t,i.generated.column=n-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=n-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(n=>n.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let n=this.memoizedPaths.get(t);if(n)return n;let r=this.opts.to?vO(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=vO(jJe(r,this.mapOpts.annotation)));let i=UJe(r,t);return this.memoizedPaths.set(t,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let n=t.source.input.map;this.previousMaps.includes(n)||this.previousMaps.push(n)}});else{let t=new mvi(this.css,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(n=>{if(n.source){let r=n.source.input.from;if(r&&!t[r]){t[r]=!0;let i=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){let n=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(n,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let n=this.memoizedFileURLs.get(t);if(n)return n;if(JSe){let r=JSe(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let n=this.memoizedURLs.get(t);if(n)return n;HJe==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};var qJe=bvi;let wvi=Pz,Nse=class extends wvi{constructor(t){super(t),this.type="comment"}};var $z=Nse;Nse.default=Nse;let{isClean:WJe,my:GJe}=Z7,VJe=Fz,KJe=$z,kvi=Pz,YJe,kpe,_pe,XJe;function JJe(e){return e.map(t=>(t.nodes&&(t.nodes=JJe(t.nodes)),delete t.source,t))}function ZJe(e){if(e[WJe]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)ZJe(t)}let Jg=class QJe extends kvi{append(...t){for(let n of t){let r=this.normalize(n,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let n of this.nodes)n.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let n=this.getIterator(),r,i;for(;this.indexes[n]t[n](...r.map(i=>typeof i=="function"?(a,o)=>i(a.toProxy(),o):i)):n==="every"||n==="some"?r=>t[n]((i,...a)=>r(i.toProxy(),...a)):n==="root"?()=>t.root().toProxy():n==="nodes"?t.nodes.map(r=>r.toProxy()):n==="first"||n==="last"?t[n].toProxy():t[n]:t[n]},set(t,n,r){return t[n]===r||(t[n]=r,(n==="name"||n==="params"||n==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,n){let r=this.index(t),i=this.normalize(n,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let a;for(let o in this.indexes)a=this.indexes[o],r"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new VJe(t)]}else if(t.selector)t=[new kpe(t)];else if(t.name)t=[new _pe(t)];else if(t.text)t=[new KJe(t)];else throw new Error("Unknown node type in node creation");return t.map(i=>(i[GJe]||QJe.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[WJe]&&ZJe(i),typeof i.raws.before>"u"&&n&&typeof n.raws.before<"u"&&(i.raws.before=n.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...t){t=t.reverse();for(let n of t){let r=this.normalize(n,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let n;for(let r in this.indexes)n=this.indexes[r],n>=t&&(this.indexes[r]=n-1);return this.markDirty(),this}replaceValues(t,n,r){return r||(r=n,n={}),this.walkDecls(i=>{n.props&&!n.props.includes(i.prop)||n.fast&&!i.value.includes(n.fast)||(i.value=i.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((n,r)=>{let i;try{i=t(n,r)}catch(a){throw n.addToError(a)}return i!==!1&&n.walk&&(i=n.walk(t)),i})}walkAtRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&t.test(r.name))return n(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="atrule")return n(r,i)}))}walkComments(t){return this.walk((n,r)=>{if(n.type==="comment")return t(n,r)})}walkDecls(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&t.test(r.prop))return n(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="decl")return n(r,i)}))}walkRules(t,n){return n?t instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&t.test(r.selector))return n(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===t)return n(r,i)}):(n=t,this.walk((r,i)=>{if(r.type==="rule")return n(r,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Jg.registerParse=e=>{YJe=e};Jg.registerRule=e=>{kpe=e};Jg.registerAtRule=e=>{_pe=e};Jg.registerRoot=e=>{XJe=e};var L3=Jg;Jg.default=Jg;Jg.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,_pe.prototype):e.type==="rule"?Object.setPrototypeOf(e,kpe.prototype):e.type==="decl"?Object.setPrototypeOf(e,VJe.prototype):e.type==="comment"?Object.setPrototypeOf(e,KJe.prototype):e.type==="root"&&Object.setPrototypeOf(e,XJe.prototype),e[GJe]=!0,e.nodes&&e.nodes.forEach(t=>{Jg.rebuild(t)})};let _vi=L3,eZe,tZe,n8=class extends _vi{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new eZe(new tZe,this,t).stringify()}};n8.registerLazyResult=e=>{eZe=e};n8.registerProcessor=e=>{tZe=e};var Cpe=n8;n8.default=n8;let $se=class{constructor(t,n={}){if(this.type="warning",this.text=t,n.node&&n.node.source){let r=n.node.rangeBy(n);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in n)this[r]=n[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var nZe=$se;$se.default=$se;let Cvi=nZe,zse=class{constructor(t,n,r){this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let r=new Cvi(t,n);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};var Epe=zse;zse.default=zse;const fJ="'".charCodeAt(0),ZSe='"'.charCodeAt(0),zI="\\".charCodeAt(0),QSe="/".charCodeAt(0),UI=` +`.charCodeAt(0),q5=" ".charCodeAt(0),jI="\f".charCodeAt(0),HI=" ".charCodeAt(0),qI="\r".charCodeAt(0),Evi="[".charCodeAt(0),xvi="]".charCodeAt(0),Svi="(".charCodeAt(0),Avi=")".charCodeAt(0),Tvi="{".charCodeAt(0),Dvi="}".charCodeAt(0),Ivi=";".charCodeAt(0),Rvi="*".charCodeAt(0),Mvi=":".charCodeAt(0),Ovi="@".charCodeAt(0),WI=/[\t\n\f\r "#'()/;[\\\]{}]/g,GI=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Lvi=/.[\r\n"'(/\\]/,eAe=/[\da-f]/i;var Bvi=function(t,n={}){let r=t.css.valueOf(),i=n.ignoreErrors,a,o,s,l,u,c,f,d,h,p,g=r.length,b=0,m=[],v=[];function w(){return b}function k(L){throw t.error("Unclosed "+L,b)}function E(){return v.length===0&&b>=g}function S(L){if(v.length)return v.pop();if(b>=g)return;let M=L?L.ignoreUnclosed:!1;switch(a=r.charCodeAt(b),a){case UI:case q5:case HI:case qI:case jI:{o=b;do o+=1,a=r.charCodeAt(o);while(a===q5||a===UI||a===HI||a===qI||a===jI);p=["space",r.slice(b,o)],b=o-1;break}case Evi:case xvi:case Tvi:case Dvi:case Mvi:case Ivi:case Avi:{let D=String.fromCharCode(a);p=[D,D,b];break}case Svi:{if(d=m.length?m.pop()[1]:"",h=r.charCodeAt(b+1),d==="url"&&h!==fJ&&h!==ZSe&&h!==q5&&h!==UI&&h!==HI&&h!==jI&&h!==qI){o=b;do{if(c=!1,o=r.indexOf(")",o+1),o===-1)if(i||M){o=b;break}else k("bracket");for(f=o;r.charCodeAt(f-1)===zI;)f-=1,c=!c}while(c);p=["brackets",r.slice(b,o+1),b,o],b=o}else o=r.indexOf(")",b+1),l=r.slice(b,o+1),o===-1||Lvi.test(l)?p=["(","(",b]:(p=["brackets",l,b,o],b=o);break}case fJ:case ZSe:{s=a===fJ?"'":'"',o=b;do{if(c=!1,o=r.indexOf(s,o+1),o===-1)if(i||M){o=b+1;break}else k("string");for(f=o;r.charCodeAt(f-1)===zI;)f-=1,c=!c}while(c);p=["string",r.slice(b,o+1),b,o],b=o;break}case Ovi:{WI.lastIndex=b+1,WI.test(r),WI.lastIndex===0?o=r.length-1:o=WI.lastIndex-2,p=["at-word",r.slice(b,o+1),b,o],b=o;break}case zI:{for(o=b,u=!0;r.charCodeAt(o+1)===zI;)o+=1,u=!u;if(a=r.charCodeAt(o+1),u&&a!==QSe&&a!==q5&&a!==UI&&a!==HI&&a!==qI&&a!==jI&&(o+=1,eAe.test(r.charAt(o)))){for(;eAe.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===q5&&(o+=1)}p=["word",r.slice(b,o+1),b,o],b=o;break}default:{a===QSe&&r.charCodeAt(b+1)===Rvi?(o=r.indexOf("*/",b+2)+1,o===0&&(i||M?o=r.length:k("comment")),p=["comment",r.slice(b,o+1),b,o],b=o):(GI.lastIndex=b+1,GI.test(r),GI.lastIndex===0?o=r.length-1:o=GI.lastIndex-2,p=["word",r.slice(b,o+1),b,o],m.push(p),b=o);break}}return b++,p}function T(L){v.push(L)}return{back:T,endOfFile:E,nextToken:S,position:w}};let rZe=L3,OB=class extends rZe{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};var xpe=OB;OB.default=OB;rZe.registerAtRule(OB);let iZe=L3,aZe,oZe,C_=class extends iZe{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,n,r){let i=super.normalize(t);if(n){if(r==="prepend")this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(let a of i)a.raws.before=n.raws.before}return i}removeChild(t,n){let r=this.index(t);return!n&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new aZe(new oZe,this,t).stringify()}};C_.registerLazyResult=e=>{aZe=e};C_.registerProcessor=e=>{oZe=e};var Q7=C_;C_.default=C_;iZe.registerRoot(C_);let r8={comma(e){return r8.split(e,[","],!0)},space(e){let t=[" ",` +`," "];return r8.split(e,t)},split(e,t,n){let r=[],i="",a=!1,o=0,s=!1,l="",u=!1;for(let c of e)u?u=!1:c==="\\"?u=!0:s?c===l&&(s=!1):c==='"'||c==="'"?(s=!0,l=c):c==="("?o+=1:c===")"?o>0&&(o-=1):o===0&&t.includes(c)&&(a=!0),a?(i!==""&&r.push(i.trim()),i="",a=!1):i+=c;return(n||i!=="")&&r.push(i.trim()),r}};var sZe=r8;r8.default=r8;let lZe=L3,Pvi=sZe,LB=class extends lZe{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Pvi.comma(this.selector)}set selectors(t){let n=this.selector?this.selector.match(/,\s*/):null,r=n?n[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};var Spe=LB;LB.default=LB;lZe.registerRule(LB);let Fvi=Fz,Nvi=Bvi,$vi=$z,zvi=xpe,Uvi=Q7,tAe=Spe;const nAe={empty:!0,space:!0};function jvi(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}let Hvi=class{constructor(t){this.input=t,this.root=new Uvi,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let n=new zvi;n.name=t[1].slice(1),n.name===""&&this.unnamedAtrule(n,t),this.init(n,t[2]);let r,i,a,o=!1,s=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){n.source.end=this.getPosition(t[2]),n.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){s=!0;break}else if(r==="}"){if(l.length>0){for(a=l.length-1,i=l[a];i&&i[0]==="space";)i=l[--a];i&&(n.source.end=this.getPosition(i[3]||i[2]),n.source.end.offset++)}this.end(t);break}else l.push(t);else l.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(n.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(n,"params",l),o&&(t=l[l.length-1],n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),s&&(n.nodes=[],this.current=n)}checkMissedSemicolon(t){let n=this.colon(t);if(n===!1)return;let r=0,i;for(let a=n-1;a>=0&&(i=t[a],!(i[0]!=="space"&&(r+=1,r===2)));a--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(t){let n=0,r,i,a;for(let[o,s]of t.entries()){if(r=s,i=r[0],i==="("&&(n+=1),i===")"&&(n-=1),n===0&&i===":")if(!a)this.doubleColon(r);else{if(a[0]==="word"&&a[1]==="progid")continue;return o}a=r}return!1}comment(t){let n=new $vi;this.init(n,t[2]),n.source.end=this.getPosition(t[3]||t[2]),n.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))n.text="",n.raws.left=r,n.raws.right="";else{let i=r.match(/^(\s*)([^]*\S)(\s*)$/);n.text=i[2],n.raws.left=i[1],n.raws.right=i[3]}}createTokenizer(){this.tokenizer=Nvi(this.input)}decl(t,n){let r=new Fvi;this.init(r,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(i[3]||i[2]||jvi(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let a;for(;t.length;)if(a=t.shift(),a[0]===":"){r.raws.between+=a[1];break}else a[0]==="word"&&/\w/.test(a[1])&&this.unknownWord([a]),r.raws.between+=a[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],s;for(;t.length&&(s=t[0][0],!(s!=="space"&&s!=="comment"));)o.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(a=t[u],a[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(t,u);c=this.spacesFromEnd(t)+c,c!==" !important"&&(r.raws.important=c);break}else if(a[1].toLowerCase()==="important"){let c=t.slice(0),f="";for(let d=u;d>0;d--){let h=c[d][0];if(f.trim().indexOf("!")===0&&h!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=c)}if(a[0]!=="space"&&a[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=o.map(u=>u[1]).join(""),o=[]),this.raw(r,"value",o.concat(t),n),r.value.includes(":")&&!n&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let n=new tAe;this.init(n,t[2]),n.selector="",n.raws.between="",this.current=n}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let n=this.input.fromOffset(t);return{column:n.col,line:n.line,offset:t}}init(t,n){this.current.push(t),t.source={input:this.input,start:this.getPosition(n)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let n=!1,r=null,i=!1,a=null,o=[],s=t[1].startsWith("--"),l=[],u=t;for(;u;){if(r=u[0],l.push(u),r==="("||r==="[")a||(a=u),o.push(r==="("?")":"]");else if(s&&i&&r==="{")a||(a=u),o.push("}");else if(o.length===0)if(r===";")if(i){this.decl(l,s);return}else break;else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop()),n=!0;break}else r===":"&&(i=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(a=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(n=!0),o.length>0&&this.unclosedBracket(a),n&&i){if(!s)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,s)}else this.unknownWord(l)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,n,r,i){let a,o,s=r.length,l="",u=!0,c,f;for(let d=0;dh+p[1],"");t.raws[n]={raw:d,value:l}}t[n]=l}rule(t){t.pop();let n=new tAe;this.init(n,t[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(n,"selector",t),this.current=n}spacesAndCommentsFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],!(n!=="space"&&n!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let n,r="";for(;t.length&&(n=t[0][0],!(n!=="space"&&n!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let n,r="";for(;t.length&&(n=t[t.length-1][0],n==="space");)r=t.pop()[1]+r;return r}stringFrom(t,n){let r="";for(let i=n;iUse(t)),e}let jse={},x_=class cZe{constructor(t,n,r){this.stringified=!1,this.processed=!1;let i;if(typeof n=="object"&&n!==null&&(n.type==="root"||n.type==="document"))i=Use(n);else if(n instanceof cZe||n instanceof rAe)i=Use(n.root),n.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{let a=Qvi;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{i=a(n,r)}catch(o){this.processed=!0,this.error=o}i&&!i[Kvi]&&Jvi.rebuild(i)}this.result=new rAe(t,i,r),this.helpers={...jse,postcss:jse,result:this.result},this.plugins=this.processor.plugins.map(a=>typeof a=="object"&&a.prepare?{...a,...a.prepare(this.result)}:a)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,n){let r=this.result.lastPlugin;try{n&&n.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(i){console&&console.error&&console.error(i)}return t}prepareVisitors(){this.listeners={};let t=(n,r,i)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([n,i])};for(let n of this.plugins)if(typeof n=="object")for(let r in n){if(!n2i[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${n.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!r2i[r])if(typeof n[r]=="object")for(let i in n[r])i==="*"?t(n,r,n[r][i]):t(n,r+"-"+i.toLowerCase(),n[r][i]);else typeof n[r]=="function"&&t(n,r,n[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(n);if(W5(r))try{await r}catch(i){let a=n[n.length-1].node;throw this.handleError(i,a)}}}if(this.listeners.OnceExit)for(let[n,r]of this.listeners.OnceExit){this.result.lastPlugin=n;try{if(t.type==="document"){let i=t.nodes.map(a=>r(a,this.helpers));await Promise.all(i)}else await r(t,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let n=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return W5(n[0])?Promise.all(n):n}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(n){throw this.handleError(n)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,n=Xvi;t.syntax&&(n=t.syntax.stringify),t.stringifier&&(n=t.stringifier),n.stringify&&(n=n.stringify);let i=new Yvi(n,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let n=this.runOnRoot(t);if(W5(n))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[pp];)t[pp]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let n of t.nodes)this.visitSync(this.listeners.OnceExit,n);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,n){return this.async().then(t,n)}toString(){return this.css}visitSync(t,n){for(let[r,i]of t){this.result.lastPlugin=r;let a;try{a=i(n,this.helpers)}catch(o){throw this.handleError(o,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(W5(a))throw this.getAsyncError()}}visitTick(t){let n=t[t.length-1],{node:r,visitors:i}=n;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(i.length>0&&n.visitorIndex{i[pp]||this.walkSync(i)});else{let i=this.listeners[r];if(i&&this.visitSync(i,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};x_.registerPostcss=e=>{jse=e};var fZe=x_;x_.default=x_;e2i.registerLazyResult(x_);Zvi.registerLazyResult(x_);let i2i=qJe,a2i=Bz,o2i=Ape;const s2i=Epe;let Hse=class{constructor(t,n,r){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=r,this._map=void 0;let i,a=a2i;this.result=new s2i(this._processor,i,this._opts),this.result.css=n;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let s=new i2i(a,i,this._opts,n);if(s.isMap()){let[l,u]=s.generate();l&&(this.result.css=l),u&&(this.result.map=u)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,n){return this.async().then(t,n)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,n=o2i;try{t=n(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};var l2i=Hse;Hse.default=Hse;let u2i=l2i,c2i=fZe,f2i=Cpe,d2i=Q7,i8=class{constructor(t=[]){this.version="8.4.31",this.plugins=this.normalize(t)}normalize(t){let n=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))n=n.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)n.push(r);else if(typeof r=="function")n.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return n}process(t,n={}){return this.plugins.length===0&&typeof n.parser>"u"&&typeof n.stringifier>"u"&&typeof n.syntax>"u"?new u2i(this,t,n):new c2i(this,t,n)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};var h2i=i8;i8.default=i8;d2i.registerProcessor(i8);f2i.registerProcessor(i8);let p2i=Fz,g2i=$Je,m2i=$z,v2i=xpe,y2i=Nz,b2i=Q7,w2i=Spe;function a8(e,t){if(Array.isArray(e))return e.map(i=>a8(i));let{inputs:n,...r}=e;if(n){t=[];for(let i of n){let a={...i,__proto__:y2i.prototype};a.map&&(a.map={...a.map,__proto__:g2i.prototype}),t.push(a)}}if(r.nodes&&(r.nodes=e.nodes.map(i=>a8(i,t))),r.source){let{inputId:i,...a}=r.source;r.source=a,i!=null&&(r.source.input=t[i])}if(r.type==="root")return new b2i(r);if(r.type==="decl")return new p2i(r);if(r.type==="rule")return new w2i(r);if(r.type==="comment")return new m2i(r);if(r.type==="atrule")return new v2i(r);throw new Error("Unknown node type: "+e.type)}var k2i=a8;a8.default=a8;let _2i=wpe,dZe=Fz,C2i=fZe,E2i=L3,Tpe=h2i,x2i=Bz,S2i=k2i,hZe=Cpe,A2i=nZe,pZe=$z,gZe=xpe,T2i=Epe,D2i=Nz,I2i=Ape,R2i=sZe,mZe=Spe,vZe=Q7,M2i=Pz;function Fa(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new Tpe(e)}Fa.plugin=function(t,n){let r=!1;function i(...o){console&&console.warn&&!r&&(r=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{}.LANG&&{}.LANG.startsWith("cn")&&console.warn(t+`: 里面 postcss.plugin 被弃用. 迁移指南: -https://www.w3ctech.com/topic/2226`));let s=n(...o);return s.postcssPlugin=t,s.postcssVersion=new Tpe().version,s}let a;return Object.defineProperty(i,"postcss",{get(){return a||(a=i()),a}}),i.process=function(o,s,l){return Fa([i(l)]).process(o,s)},i};Fa.stringify=E2i;Fa.parse=D2i;Fa.fromJSON=x2i;Fa.list=I2i;Fa.comment=e=>new pZe(e);Fa.atRule=e=>new gZe(e);Fa.decl=e=>new dZe(e);Fa.rule=e=>new mZe(e);Fa.root=e=>new vZe(e);Fa.document=e=>new hZe(e);Fa.CssSyntaxError=k2i;Fa.Declaration=dZe;Fa.Container=C2i;Fa.Processor=Tpe;Fa.Document=hZe;Fa.Comment=pZe;Fa.Warning=S2i;Fa.AtRule=gZe;Fa.Result=A2i;Fa.Input=T2i;Fa.Rule=mZe;Fa.Root=vZe;Fa.Node=R2i;_2i.registerPostcss(Fa);var zz=Fa;Fa.default=Fa;Object.defineProperty(wE,"__esModule",{value:!0});wE.default=void 0;var aAe=M2i(zz);function M2i(e){return e&&e.__esModule?e:{default:e}}class Dpe{constructor(t){this.decls={},t&&(t instanceof Dpe||typeof t=="string"?aAe.default.parse(t.toString(),{from:void 0}).each(r=>{r.type==="decl"&&(this.decls[r.prop]=r.value)}):this.decls={...t})}delete(t){return delete this.decls[t],this}set(t,n){return this.decls[t]=n,this}toString(){let t="";for(const n of Object.keys(this.decls)){let r;try{r=aAe.default.parse(`${n}:${this.decls[n]}`,{from:void 0})}catch{}r&&(r.each(i=>{(i.type!=="decl"||i.prop!==n)&&i.remove()}),t+=`${r.toString()};`)}return t}}wE.default=Dpe;var R1={};Object.defineProperty(R1,"__esModule",{value:!0});R1.default=void 0;R1.wrapTokens=yZe;function yZe(e,t,n,r=[]){const{tag:i}=n;for(const s of r)s.level+=1;const a=new e(`${t}_open`,i,1),o=new e(`${t}_close`,i,-1);Object.assign(a,{...n.open||{}}),Object.assign(o,{...n.close||{}});for(const s of Object.keys(n))!["open","close","tag"].includes(s)&&n[s]!=null&&a.attrSet(s,n[s]);return[a,...r,o]}var O2i=yZe;R1.default=O2i;Object.defineProperty(__,"__esModule",{value:!0});__.default=__.advancedBackground=void 0;var dJ=bZe(wE),ik=R1,L2i=bZe(zs);function bZe(e){return e&&e.__esModule?e:{default:e}}function B2i(e){e.core.ruler.after("marpit_directives_apply","marpit_advanced_background",t=>{let n;const r=[];for(const i of t.tokens)if(i.type==="marpit_inline_svg_content_open"&&i.meta&&i.meta.marpitBackground){n=i;const{height:a,images:o,open:s,width:l}=i.meta.marpitBackground;s.attrSet("data-marpit-advanced-background","content");const u=i.meta.marpitBackground.direction||"horizontal",c=i.meta.marpitBackground.split;if(c){s.attrSet("data-marpit-advanced-background-split",c);const f=i.meta.marpitBackground.splitSize||"50%";i.attrSet("width",`${100-Number.parseFloat(f.slice(0,-1))}%`),c==="left"&&i.attrSet("x",f);const d=new dJ.default(s.attrGet("style"));d.set("--marpit-advanced-background-split",f),s.attrSet("style",d.toString())}r.push(...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_foreign_object",{tag:"foreignObject",width:l,height:a},(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_section",{...s.attrs.reduce((f,[d,h])=>({...f,[d]:h}),{}),tag:"section",id:void 0,"data-marpit-advanced-background":"background"},(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_image_container",{tag:"div","data-marpit-advanced-background-container":!0,"data-marpit-advanced-background-direction":u},(()=>{const f=[];for(const d of o){const h=new dJ.default({"background-image":`url("${d.url}")`});d.size&&h.set("background-size",d.size),d.filter&&h.set("filter",d.filter),f.push(...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_image",{tag:"figure",style:h.toString()}))}return f})()))),i)}else if(n&&i.type==="marpit_inline_svg_content_close"){const{open:a,height:o,width:s}=n.meta.marpitBackground,l=new dJ.default;a.meta&&a.meta.marpitDirectives&&a.meta.marpitDirectives.color&&l.set("color",a.meta.marpitDirectives.color),r.push(i,...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_foreign_object",{tag:"foreignObject",width:s,height:o,"data-marpit-advanced-background":"pseudo"},(0,ik.wrapTokens)(t.Token,"marpit_advanced_pseudo_section",{...a.attrs.reduce((u,[c,f])=>({...u,[c]:f}),{}),tag:"section",id:void 0,style:l.toString(),"data-marpit-advanced-background":"pseudo"}))),n=void 0}else r.push(i);t.tokens=r})}const wZe=(0,L2i.default)(B2i);__.advancedBackground=wZe;var P2i=wZe;__.default=P2i;var S_={};Object.defineProperty(S_,"__esModule",{value:!0});S_.default=S_.backgroundImageApply=void 0;var F2i=N2i(zs);function N2i(e){return e&&e.__esModule?e:{default:e}}function $2i(e){e.core.ruler.after("marpit_inline_svg","marpit_apply_background_image",({inlineMode:t,tokens:n})=>{if(t)return;let r={};for(const i of n){if(i.type==="marpit_slide_open"&&(r.open=i),i.type==="marpit_inline_svg_content_open"&&(r.svgContent=i),i.type==="marpit_slide_close"){if(r.images&&r.images.length>0)if(r.svgContent)r.svgContent.meta={...r.svgContent.meta||{},marpitBackground:{direction:r.direction,height:r.svgContent.attrGet("height"),images:r.images,open:r.open,split:r.split,splitSize:r.splitSize,width:r.svgContent.attrGet("width")}};else{const a=r.images[r.images.length-1];r.open.meta.marpitDirectives={...r.open.meta.marpitDirectives||{},backgroundImage:`url("${a.url}")`},a.size&&(r.open.meta.marpitDirectives.backgroundSize=a.size)}r={}}if(r.open&&i.type==="inline"){for(const a of i.children)if(a.type==="image"){const{background:o,backgroundDirection:s,backgroundSize:l,backgroundSplit:u,backgroundSplitSize:c,color:f,filter:d,height:h,size:p,url:g,width:b}=a.meta.marpitImage;o&&!g.match(/^\s*$/)&&(f?r.open.meta.marpitDirectives={...r.open.meta.marpitDirectives||{},backgroundColor:f}:r.images=[...r.images||[],{filter:d,height:h,size:(()=>{const m=p||l||void 0;return!["contain","cover"].includes(m)&&(b||h)?`${b||m||"auto"} ${h||m||"auto"}`:m})(),url:g,width:b}]),s&&(r.direction=s),u&&(r.split=u),c&&(r.splitSize=c)}}}})}const kZe=(0,F2i.default)($2i);S_.backgroundImageApply=kZe;var z2i=kZe;S_.default=z2i;var A_={};Object.defineProperty(A_,"__esModule",{value:!0});A_.default=A_.backgroundImageParse=void 0;var U2i=j2i(zs);function j2i(e){return e&&e.__esModule?e:{default:e}}const oAe={auto:"auto",contain:"contain",cover:"cover",fit:"contain"},H2i=/^(left|right)(?::((?:\d*\.)?\d+%))?$/;function q2i(e){e.inline.ruler2.after("marpit_parse_image","marpit_background_image",({tokens:t})=>{for(const n of t)if(n.type==="image"){const{marpitImage:r}=n.meta;if(r.options.some(i=>!i.consumed&&i.content==="bg")){r.background=!0,n.hidden=!0;for(const i of r.options){if(i.consumed)continue;let a=!1;i.content==="bg"&&(a=!0),oAe[i.content]&&(r.backgroundSize=oAe[i.content],a=!0);const o=i.content.match(H2i);if(o){const[,s,l]=o;r.backgroundSplit=s,r.backgroundSplitSize=l,a=!0}(i.content==="vertical"||i.content==="horizontal")&&(r.backgroundDirection=i.content,a=!0),a&&(i.consumed=!0)}}}})}const _Ze=(0,U2i.default)(q2i);A_.backgroundImageParse=_Ze;var W2i=_Ze;A_.default=W2i;Object.defineProperty(w_,"__esModule",{value:!0});w_.default=w_.backgroundImage=void 0;var G2i=Uz(zs),V2i=Uz(__),K2i=Uz(S_),Y2i=Uz(A_);function Uz(e){return e&&e.__esModule?e:{default:e}}function X2i(e){(0,Y2i.default)(e),(0,K2i.default)(e),(0,V2i.default)(e)}const CZe=(0,G2i.default)(X2i);w_.backgroundImage=CZe;var J2i=CZe;w_.default=J2i;var T_={};Object.defineProperty(T_,"__esModule",{value:!0});T_.default=T_.collect=void 0;var Z2i=Q2i(zs);function Q2i(e){return e&&e.__esModule?e:{default:e}}function eyi(e){const{marpit:t}=e;e.core.ruler.push("marpit_collect",n=>{if(n.inlineMode)return;t.lastComments=[],t.lastSlideTokens=[];let r,i=-1;const a=s=>{r>=0&&!(s.meta&&s.meta.marpitCommentParsed!==void 0)&&t.lastComments[r].push(s.content)},o=()=>r>=0&&t.lastSlideTokens[r]!==void 0;for(const s of n.tokens)if(s.meta&&s.meta.marpitSlideElement===1)i+=1,r=i,t.lastSlideTokens[r]===void 0&&(t.lastSlideTokens[r]=[s],t.lastComments[r]=[]);else if(s.meta&&s.meta.marpitSlideElement===-1)o()&&t.lastSlideTokens[r].push(s),r=void 0;else if(o()&&t.lastSlideTokens[r].push(s),s.type==="marpit_comment")a(s);else if(s.type==="inline")for(const l of s.children)l.type==="marpit_comment"&&a(l)})}const EZe=(0,Z2i.default)(eyi);T_.collect=EZe;var tyi=EZe;T_.default=tyi;var _2={},P4={},qc={},Ipe={},W0={};function xZe(e){return typeof e>"u"||e===null}function nyi(e){return typeof e=="object"&&e!==null}function ryi(e){return Array.isArray(e)?e:xZe(e)?[]:[e]}function iyi(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;nnew pZe(e);Fa.atRule=e=>new gZe(e);Fa.decl=e=>new dZe(e);Fa.rule=e=>new mZe(e);Fa.root=e=>new vZe(e);Fa.document=e=>new hZe(e);Fa.CssSyntaxError=_2i;Fa.Declaration=dZe;Fa.Container=E2i;Fa.Processor=Tpe;Fa.Document=hZe;Fa.Comment=pZe;Fa.Warning=A2i;Fa.AtRule=gZe;Fa.Result=T2i;Fa.Input=D2i;Fa.Rule=mZe;Fa.Root=vZe;Fa.Node=M2i;C2i.registerPostcss(Fa);var zz=Fa;Fa.default=Fa;Object.defineProperty(wE,"__esModule",{value:!0});wE.default=void 0;var aAe=O2i(zz);function O2i(e){return e&&e.__esModule?e:{default:e}}class Dpe{constructor(t){this.decls={},t&&(t instanceof Dpe||typeof t=="string"?aAe.default.parse(t.toString(),{from:void 0}).each(r=>{r.type==="decl"&&(this.decls[r.prop]=r.value)}):this.decls={...t})}delete(t){return delete this.decls[t],this}set(t,n){return this.decls[t]=n,this}toString(){let t="";for(const n of Object.keys(this.decls)){let r;try{r=aAe.default.parse(`${n}:${this.decls[n]}`,{from:void 0})}catch{}r&&(r.each(i=>{(i.type!=="decl"||i.prop!==n)&&i.remove()}),t+=`${r.toString()};`)}return t}}wE.default=Dpe;var R1={};Object.defineProperty(R1,"__esModule",{value:!0});R1.default=void 0;R1.wrapTokens=yZe;function yZe(e,t,n,r=[]){const{tag:i}=n;for(const s of r)s.level+=1;const a=new e(`${t}_open`,i,1),o=new e(`${t}_close`,i,-1);Object.assign(a,{...n.open||{}}),Object.assign(o,{...n.close||{}});for(const s of Object.keys(n))!["open","close","tag"].includes(s)&&n[s]!=null&&a.attrSet(s,n[s]);return[a,...r,o]}var L2i=yZe;R1.default=L2i;Object.defineProperty(__,"__esModule",{value:!0});__.default=__.advancedBackground=void 0;var dJ=bZe(wE),ik=R1,B2i=bZe(zs);function bZe(e){return e&&e.__esModule?e:{default:e}}function P2i(e){e.core.ruler.after("marpit_directives_apply","marpit_advanced_background",t=>{let n;const r=[];for(const i of t.tokens)if(i.type==="marpit_inline_svg_content_open"&&i.meta&&i.meta.marpitBackground){n=i;const{height:a,images:o,open:s,width:l}=i.meta.marpitBackground;s.attrSet("data-marpit-advanced-background","content");const u=i.meta.marpitBackground.direction||"horizontal",c=i.meta.marpitBackground.split;if(c){s.attrSet("data-marpit-advanced-background-split",c);const f=i.meta.marpitBackground.splitSize||"50%";i.attrSet("width",`${100-Number.parseFloat(f.slice(0,-1))}%`),c==="left"&&i.attrSet("x",f);const d=new dJ.default(s.attrGet("style"));d.set("--marpit-advanced-background-split",f),s.attrSet("style",d.toString())}r.push(...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_foreign_object",{tag:"foreignObject",width:l,height:a},(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_section",{...s.attrs.reduce((f,[d,h])=>({...f,[d]:h}),{}),tag:"section",id:void 0,"data-marpit-advanced-background":"background"},(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_image_container",{tag:"div","data-marpit-advanced-background-container":!0,"data-marpit-advanced-background-direction":u},(()=>{const f=[];for(const d of o){const h=new dJ.default({"background-image":`url("${d.url}")`});d.size&&h.set("background-size",d.size),d.filter&&h.set("filter",d.filter),f.push(...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_image",{tag:"figure",style:h.toString()}))}return f})()))),i)}else if(n&&i.type==="marpit_inline_svg_content_close"){const{open:a,height:o,width:s}=n.meta.marpitBackground,l=new dJ.default;a.meta&&a.meta.marpitDirectives&&a.meta.marpitDirectives.color&&l.set("color",a.meta.marpitDirectives.color),r.push(i,...(0,ik.wrapTokens)(t.Token,"marpit_advanced_background_foreign_object",{tag:"foreignObject",width:s,height:o,"data-marpit-advanced-background":"pseudo"},(0,ik.wrapTokens)(t.Token,"marpit_advanced_pseudo_section",{...a.attrs.reduce((u,[c,f])=>({...u,[c]:f}),{}),tag:"section",id:void 0,style:l.toString(),"data-marpit-advanced-background":"pseudo"}))),n=void 0}else r.push(i);t.tokens=r})}const wZe=(0,B2i.default)(P2i);__.advancedBackground=wZe;var F2i=wZe;__.default=F2i;var S_={};Object.defineProperty(S_,"__esModule",{value:!0});S_.default=S_.backgroundImageApply=void 0;var N2i=$2i(zs);function $2i(e){return e&&e.__esModule?e:{default:e}}function z2i(e){e.core.ruler.after("marpit_inline_svg","marpit_apply_background_image",({inlineMode:t,tokens:n})=>{if(t)return;let r={};for(const i of n){if(i.type==="marpit_slide_open"&&(r.open=i),i.type==="marpit_inline_svg_content_open"&&(r.svgContent=i),i.type==="marpit_slide_close"){if(r.images&&r.images.length>0)if(r.svgContent)r.svgContent.meta={...r.svgContent.meta||{},marpitBackground:{direction:r.direction,height:r.svgContent.attrGet("height"),images:r.images,open:r.open,split:r.split,splitSize:r.splitSize,width:r.svgContent.attrGet("width")}};else{const a=r.images[r.images.length-1];r.open.meta.marpitDirectives={...r.open.meta.marpitDirectives||{},backgroundImage:`url("${a.url}")`},a.size&&(r.open.meta.marpitDirectives.backgroundSize=a.size)}r={}}if(r.open&&i.type==="inline"){for(const a of i.children)if(a.type==="image"){const{background:o,backgroundDirection:s,backgroundSize:l,backgroundSplit:u,backgroundSplitSize:c,color:f,filter:d,height:h,size:p,url:g,width:b}=a.meta.marpitImage;o&&!g.match(/^\s*$/)&&(f?r.open.meta.marpitDirectives={...r.open.meta.marpitDirectives||{},backgroundColor:f}:r.images=[...r.images||[],{filter:d,height:h,size:(()=>{const m=p||l||void 0;return!["contain","cover"].includes(m)&&(b||h)?`${b||m||"auto"} ${h||m||"auto"}`:m})(),url:g,width:b}]),s&&(r.direction=s),u&&(r.split=u),c&&(r.splitSize=c)}}}})}const kZe=(0,N2i.default)(z2i);S_.backgroundImageApply=kZe;var U2i=kZe;S_.default=U2i;var A_={};Object.defineProperty(A_,"__esModule",{value:!0});A_.default=A_.backgroundImageParse=void 0;var j2i=H2i(zs);function H2i(e){return e&&e.__esModule?e:{default:e}}const oAe={auto:"auto",contain:"contain",cover:"cover",fit:"contain"},q2i=/^(left|right)(?::((?:\d*\.)?\d+%))?$/;function W2i(e){e.inline.ruler2.after("marpit_parse_image","marpit_background_image",({tokens:t})=>{for(const n of t)if(n.type==="image"){const{marpitImage:r}=n.meta;if(r.options.some(i=>!i.consumed&&i.content==="bg")){r.background=!0,n.hidden=!0;for(const i of r.options){if(i.consumed)continue;let a=!1;i.content==="bg"&&(a=!0),oAe[i.content]&&(r.backgroundSize=oAe[i.content],a=!0);const o=i.content.match(q2i);if(o){const[,s,l]=o;r.backgroundSplit=s,r.backgroundSplitSize=l,a=!0}(i.content==="vertical"||i.content==="horizontal")&&(r.backgroundDirection=i.content,a=!0),a&&(i.consumed=!0)}}}})}const _Ze=(0,j2i.default)(W2i);A_.backgroundImageParse=_Ze;var G2i=_Ze;A_.default=G2i;Object.defineProperty(w_,"__esModule",{value:!0});w_.default=w_.backgroundImage=void 0;var V2i=Uz(zs),K2i=Uz(__),Y2i=Uz(S_),X2i=Uz(A_);function Uz(e){return e&&e.__esModule?e:{default:e}}function J2i(e){(0,X2i.default)(e),(0,Y2i.default)(e),(0,K2i.default)(e)}const CZe=(0,V2i.default)(J2i);w_.backgroundImage=CZe;var Z2i=CZe;w_.default=Z2i;var T_={};Object.defineProperty(T_,"__esModule",{value:!0});T_.default=T_.collect=void 0;var Q2i=eyi(zs);function eyi(e){return e&&e.__esModule?e:{default:e}}function tyi(e){const{marpit:t}=e;e.core.ruler.push("marpit_collect",n=>{if(n.inlineMode)return;t.lastComments=[],t.lastSlideTokens=[];let r,i=-1;const a=s=>{r>=0&&!(s.meta&&s.meta.marpitCommentParsed!==void 0)&&t.lastComments[r].push(s.content)},o=()=>r>=0&&t.lastSlideTokens[r]!==void 0;for(const s of n.tokens)if(s.meta&&s.meta.marpitSlideElement===1)i+=1,r=i,t.lastSlideTokens[r]===void 0&&(t.lastSlideTokens[r]=[s],t.lastComments[r]=[]);else if(s.meta&&s.meta.marpitSlideElement===-1)o()&&t.lastSlideTokens[r].push(s),r=void 0;else if(o()&&t.lastSlideTokens[r].push(s),s.type==="marpit_comment")a(s);else if(s.type==="inline")for(const l of s.children)l.type==="marpit_comment"&&a(l)})}const EZe=(0,Q2i.default)(tyi);T_.collect=EZe;var nyi=EZe;T_.default=nyi;var _2={},P4={},qc={},Ipe={},W0={};function xZe(e){return typeof e>"u"||e===null}function ryi(e){return typeof e=="object"&&e!==null}function iyi(e){return Array.isArray(e)?e:xZe(e)?[]:[e]}function ayi(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;ns&&(a=" ... ",t=r-s+a.length),n-r>s&&(o=" ...",n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function pJ(e,t){return Ix.repeat(" ",t-e.length)+e}function syi(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s="",l,u,c=Math.min(e.line+t.linesAfter,i.length).toString().length,f=t.maxLength-(t.indent+c+3);for(l=1;l<=t.linesBefore&&!(o-l<0);l++)u=hJ(e.buffer,r[o-l],i[o-l],e.position-(r[o]-r[o-l]),f),s=Ix.repeat(" ",t.indent)+pJ((e.line-l+1).toString(),c)+" | "+u.str+` +`+e.mark.snippet),r+" "+n):r}function o8(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=SZe(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}o8.prototype=Object.create(Error.prototype);o8.prototype.constructor=o8;o8.prototype.toString=function(t){return this.name+": "+SZe(this,t)};var eT=o8,Ix=W0;function hJ(e,t,n,r,i){var a="",o="",s=Math.floor(i/2)-1;return r-t>s&&(a=" ... ",t=r-s+a.length),n-r>s&&(o=" ...",n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,"→")+o,pos:r-t+a.length}}function pJ(e,t){return Ix.repeat(" ",t-e.length)+e}function lyi(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s="",l,u,c=Math.min(e.line+t.linesAfter,i.length).toString().length,f=t.maxLength-(t.indent+c+3);for(l=1;l<=t.linesBefore&&!(o-l<0);l++)u=hJ(e.buffer,r[o-l],i[o-l],e.position-(r[o]-r[o-l]),f),s=Ix.repeat(" ",t.indent)+pJ((e.line-l+1).toString(),c)+" | "+u.str+` `+s;for(u=hJ(e.buffer,r[o],i[o],e.position,f),s+=Ix.repeat(" ",t.indent)+pJ((e.line+1).toString(),c)+" | "+u.str+` `,s+=Ix.repeat("-",t.indent+c+3+u.pos)+`^ `,l=1;l<=t.linesAfter&&!(o+l>=i.length);l++)u=hJ(e.buffer,r[o+l],i[o+l],e.position-(r[o]-r[o+l]),f),s+=Ix.repeat(" ",t.indent)+pJ((e.line+l+1).toString(),c)+" | "+u.str+` -`;return s.replace(/\n$/,"")}var lyi=syi,sAe=eT,uyi=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],cyi=["scalar","sequence","mapping"];function fyi(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(r){t[String(r)]=n})}),t}function dyi(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(uyi.indexOf(n)===-1)throw new sAe('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=fyi(t.styleAliases||null),cyi.indexOf(this.kind)===-1)throw new sAe('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Wc=dyi,G5=eT,gJ=Wc;function lAe(e,t){var n=[];return e[t].forEach(function(r){var i=n.length;n.forEach(function(a,o){a.tag===r.tag&&a.kind===r.kind&&a.multi===r.multi&&(i=o)}),n[i]=r}),n}function hyi(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,n=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),BZe=W0,Lyi=Wc,Byi=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Pyi(e){return!(e===null||!Byi.test(e)||e[e.length-1]==="_")}function Fyi(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var Nyi=/^[-+]?[0-9]+e/;function $yi(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(BZe.isNegativeZero(e))return"-0.0";return n=e.toString(10),Nyi.test(n)?n.replace("e",".e"):n}function zyi(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||BZe.isNegativeZero(e))}var PZe=new Lyi("tag:yaml.org,2002:float",{kind:"scalar",resolve:Pyi,construct:Fyi,predicate:zyi,represent:$yi,defaultStyle:"lowercase"}),FZe=RZe.extend({implicit:[MZe,OZe,LZe,PZe]}),NZe=FZe,Uyi=Wc,$Ze=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),zZe=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function jyi(e){return e===null?!1:$Ze.exec(e)!==null||zZe.exec(e)!==null}function Hyi(e){var t,n,r,i,a,o,s,l=0,u=null,c,f,d;if(t=$Ze.exec(e),t===null&&(t=zZe.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(c=+t[10],f=+(t[11]||0),u=(c*60+f)*6e4,t[9]==="-"&&(u=-u)),d=new Date(Date.UTC(n,r,i,a,o,s,l)),u&&d.setTime(d.getTime()-u),d}function qyi(e){return e.toISOString()}var UZe=new Uyi("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:jyi,construct:Hyi,instanceOf:Date,represent:qyi}),Wyi=Wc;function Gyi(e){return e==="<<"||e===null}var jZe=new Wyi("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Gyi}),Vyi=Wc,Rpe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Kyi(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=Rpe;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function Yyi(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=Rpe,o=0,s=[];for(t=0;t>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function Xyi(e){var t="",n=0,r,i,a=e.length,o=Rpe;for(r=0;r>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function Jyi(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var HZe=new Vyi("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Kyi,construct:Yyi,predicate:Jyi,represent:Xyi}),Zyi=Wc,Qyi=Object.prototype.hasOwnProperty,ebi=Object.prototype.toString;function tbi(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n>10)+55296,(e-65536&1023)+56320)}var ZZe=new Array(256),QZe=new Array(256);for(var ak=0;ak<256;ak++)ZZe[ak]=fAe(ak)?1:0,QZe[ak]=fAe(ak);function kbi(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||dbi,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function eQe(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=fbi(n),new VZe(t,n)}function Gr(e,t){throw eQe(e,t)}function NB(e,t){e.onWarning&&e.onWarning.call(null,eQe(e,t))}var dAe={YAML:function(t,n,r){var i,a,o;t.version!==null&&Gr(t,"duplication of %YAML directive"),r.length!==1&&Gr(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&Gr(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),a!==1&&Gr(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&NB(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var i,a;r.length!==2&&Gr(t,"TAG directive accepts exactly two arguments"),i=r[0],a=r[1],XZe.test(i)||Gr(t,"ill-formed tag handle (first argument) of the TAG directive"),C2.call(t.tagMap,i)&&Gr(t,'there is a previously declared suffix for "'+i+'" tag handle'),JZe.test(a)||Gr(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{Gr(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function e2(e,t,n,r){var i,a,o,s;if(t1&&(e.result+=$b.repeat(` -`,t-1))}function _bi(e,t,n){var r,i,a,o,s,l,u,c,f=e.kind,d=e.result,h;if(h=e.input.charCodeAt(e.position),vf(h)||Qk(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(i=e.input.charCodeAt(e.position+1),vf(i)||n&&Qk(i)))return!1;for(e.kind="scalar",e.result="",a=o=e.position,s=!1;h!==0;){if(h===58){if(i=e.input.charCodeAt(e.position+1),vf(i)||n&&Qk(i))break}else if(h===35){if(r=e.input.charCodeAt(e.position-1),vf(r))break}else{if(e.position===e.lineStart&&jz(e)||n&&Qk(h))break;if(Zp(h))if(l=e.line,u=e.lineStart,c=e.lineIndent,cl(e,!1,-1),e.lineIndent>=t){s=!0,h=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}s&&(e2(e,a,o,!1),Lpe(e,e.line-l),a=o=e.position,s=!1),u4(h)||(o=e.position+1),h=e.input.charCodeAt(++e.position)}return e2(e,a,o,!1),e.result?!0:(e.kind=f,e.result=d,!1)}function Cbi(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(e2(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else Zp(n)?(e2(e,r,i,!0),Lpe(e,cl(e,!1,t)),r=i=e.position):e.position===e.lineStart&&jz(e)?Gr(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Gr(e,"unexpected end of the stream within a single quoted scalar")}function Ebi(e,t){var n,r,i,a,o,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return e2(e,n,e.position,!0),e.position++,!0;if(s===92){if(e2(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),Zp(s))cl(e,!1,t);else if(s<256&&ZZe[s])e.result+=QZe[s],e.position++;else if((o=ybi(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=vbi(s))>=0?a=(a<<4)+o:Gr(e,"expected hexadecimal character");e.result+=wbi(a),e.position++}else Gr(e,"unknown escape sequence");n=r=e.position}else Zp(s)?(e2(e,n,r,!0),Lpe(e,cl(e,!1,t)),n=r=e.position):e.position===e.lineStart&&jz(e)?Gr(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Gr(e,"unexpected end of the stream within a double quoted scalar")}function xbi(e,t){var n=!0,r,i,a,o=e.tag,s,l=e.anchor,u,c,f,d,h,p=Object.create(null),g,b,m,v;if(v=e.input.charCodeAt(e.position),v===91)c=93,h=!1,s=[];else if(v===123)c=125,h=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(cl(e,!0,t),v=e.input.charCodeAt(e.position),v===c)return e.position++,e.tag=o,e.anchor=l,e.kind=h?"mapping":"sequence",e.result=s,!0;n?v===44&&Gr(e,"expected the node content, but found ','"):Gr(e,"missed comma between flow collection entries"),b=g=m=null,f=d=!1,v===63&&(u=e.input.charCodeAt(e.position+1),vf(u)&&(f=d=!0,e.position++,cl(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,D_(e,t,PB,!1,!0),b=e.tag,g=e.result,cl(e,!0,t),v=e.input.charCodeAt(e.position),(d||e.line===r)&&v===58&&(f=!0,v=e.input.charCodeAt(++e.position),cl(e,!0,t),D_(e,t,PB,!1,!0),m=e.result),h?e6(e,s,p,b,g,m,r,i,a):f?s.push(e6(e,null,p,b,g,m,r,i,a)):s.push(g),cl(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}Gr(e,"unexpected end of the stream within a flow collection")}function Sbi(e,t){var n,r,i=mJ,a=!1,o=!1,s=t,l=0,u=!1,c,f;if(f=e.input.charCodeAt(e.position),f===124)r=!1;else if(f===62)r=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)mJ===i?i=f===43?uAe:hbi:Gr(e,"repeat of a chomping mode identifier");else if((c=bbi(f))>=0)c===0?Gr(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Gr(e,"repeat of an indentation width identifier"):(s=t+c-1,o=!0);else break;if(u4(f)){do f=e.input.charCodeAt(++e.position);while(u4(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!Zp(f)&&f!==0)}for(;f!==0;){for(Ope(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndents&&(s=e.lineIndent),Zp(f)){l++;continue}if(e.lineIndent=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),BZe=W0,Byi=Wc,Pyi=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Fyi(e){return!(e===null||!Pyi.test(e)||e[e.length-1]==="_")}function Nyi(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var $yi=/^[-+]?[0-9]+e/;function zyi(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(BZe.isNegativeZero(e))return"-0.0";return n=e.toString(10),$yi.test(n)?n.replace("e",".e"):n}function Uyi(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||BZe.isNegativeZero(e))}var PZe=new Byi("tag:yaml.org,2002:float",{kind:"scalar",resolve:Fyi,construct:Nyi,predicate:Uyi,represent:zyi,defaultStyle:"lowercase"}),FZe=RZe.extend({implicit:[MZe,OZe,LZe,PZe]}),NZe=FZe,jyi=Wc,$Ze=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),zZe=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Hyi(e){return e===null?!1:$Ze.exec(e)!==null||zZe.exec(e)!==null}function qyi(e){var t,n,r,i,a,o,s,l=0,u=null,c,f,d;if(t=$Ze.exec(e),t===null&&(t=zZe.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(c=+t[10],f=+(t[11]||0),u=(c*60+f)*6e4,t[9]==="-"&&(u=-u)),d=new Date(Date.UTC(n,r,i,a,o,s,l)),u&&d.setTime(d.getTime()-u),d}function Wyi(e){return e.toISOString()}var UZe=new jyi("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Hyi,construct:qyi,instanceOf:Date,represent:Wyi}),Gyi=Wc;function Vyi(e){return e==="<<"||e===null}var jZe=new Gyi("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Vyi}),Kyi=Wc,Rpe=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function Yyi(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=Rpe;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8===0}function Xyi(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=Rpe,o=0,s=[];for(t=0;t>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}function Jyi(e){var t="",n=0,r,i,a=e.length,o=Rpe;for(r=0;r>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}function Zyi(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var HZe=new Kyi("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Yyi,construct:Xyi,predicate:Zyi,represent:Jyi}),Qyi=Wc,ebi=Object.prototype.hasOwnProperty,tbi=Object.prototype.toString;function nbi(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n>10)+55296,(e-65536&1023)+56320)}var ZZe=new Array(256),QZe=new Array(256);for(var ak=0;ak<256;ak++)ZZe[ak]=fAe(ak)?1:0,QZe[ak]=fAe(ak);function _bi(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||hbi,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function eQe(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=dbi(n),new VZe(t,n)}function Gr(e,t){throw eQe(e,t)}function NB(e,t){e.onWarning&&e.onWarning.call(null,eQe(e,t))}var dAe={YAML:function(t,n,r){var i,a,o;t.version!==null&&Gr(t,"duplication of %YAML directive"),r.length!==1&&Gr(t,"YAML directive accepts exactly one argument"),i=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),i===null&&Gr(t,"ill-formed argument of the YAML directive"),a=parseInt(i[1],10),o=parseInt(i[2],10),a!==1&&Gr(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&NB(t,"unsupported YAML version of the document")},TAG:function(t,n,r){var i,a;r.length!==2&&Gr(t,"TAG directive accepts exactly two arguments"),i=r[0],a=r[1],XZe.test(i)||Gr(t,"ill-formed tag handle (first argument) of the TAG directive"),C2.call(t.tagMap,i)&&Gr(t,'there is a previously declared suffix for "'+i+'" tag handle'),JZe.test(a)||Gr(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch{Gr(t,"tag prefix is malformed: "+a)}t.tagMap[i]=a}};function e2(e,t,n,r){var i,a,o,s;if(t1&&(e.result+=$b.repeat(` +`,t-1))}function Cbi(e,t,n){var r,i,a,o,s,l,u,c,f=e.kind,d=e.result,h;if(h=e.input.charCodeAt(e.position),vf(h)||Qk(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(i=e.input.charCodeAt(e.position+1),vf(i)||n&&Qk(i)))return!1;for(e.kind="scalar",e.result="",a=o=e.position,s=!1;h!==0;){if(h===58){if(i=e.input.charCodeAt(e.position+1),vf(i)||n&&Qk(i))break}else if(h===35){if(r=e.input.charCodeAt(e.position-1),vf(r))break}else{if(e.position===e.lineStart&&jz(e)||n&&Qk(h))break;if(Zp(h))if(l=e.line,u=e.lineStart,c=e.lineIndent,cl(e,!1,-1),e.lineIndent>=t){s=!0,h=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}s&&(e2(e,a,o,!1),Lpe(e,e.line-l),a=o=e.position,s=!1),u4(h)||(o=e.position+1),h=e.input.charCodeAt(++e.position)}return e2(e,a,o,!1),e.result?!0:(e.kind=f,e.result=d,!1)}function Ebi(e,t){var n,r,i;if(n=e.input.charCodeAt(e.position),n!==39)return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(e2(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else Zp(n)?(e2(e,r,i,!0),Lpe(e,cl(e,!1,t)),r=i=e.position):e.position===e.lineStart&&jz(e)?Gr(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Gr(e,"unexpected end of the stream within a single quoted scalar")}function xbi(e,t){var n,r,i,a,o,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return e2(e,n,e.position,!0),e.position++,!0;if(s===92){if(e2(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),Zp(s))cl(e,!1,t);else if(s<256&&ZZe[s])e.result+=QZe[s],e.position++;else if((o=bbi(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=ybi(s))>=0?a=(a<<4)+o:Gr(e,"expected hexadecimal character");e.result+=kbi(a),e.position++}else Gr(e,"unknown escape sequence");n=r=e.position}else Zp(s)?(e2(e,n,r,!0),Lpe(e,cl(e,!1,t)),n=r=e.position):e.position===e.lineStart&&jz(e)?Gr(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}Gr(e,"unexpected end of the stream within a double quoted scalar")}function Sbi(e,t){var n=!0,r,i,a,o=e.tag,s,l=e.anchor,u,c,f,d,h,p=Object.create(null),g,b,m,v;if(v=e.input.charCodeAt(e.position),v===91)c=93,h=!1,s=[];else if(v===123)c=125,h=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(cl(e,!0,t),v=e.input.charCodeAt(e.position),v===c)return e.position++,e.tag=o,e.anchor=l,e.kind=h?"mapping":"sequence",e.result=s,!0;n?v===44&&Gr(e,"expected the node content, but found ','"):Gr(e,"missed comma between flow collection entries"),b=g=m=null,f=d=!1,v===63&&(u=e.input.charCodeAt(e.position+1),vf(u)&&(f=d=!0,e.position++,cl(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,D_(e,t,PB,!1,!0),b=e.tag,g=e.result,cl(e,!0,t),v=e.input.charCodeAt(e.position),(d||e.line===r)&&v===58&&(f=!0,v=e.input.charCodeAt(++e.position),cl(e,!0,t),D_(e,t,PB,!1,!0),m=e.result),h?e6(e,s,p,b,g,m,r,i,a):f?s.push(e6(e,null,p,b,g,m,r,i,a)):s.push(g),cl(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}Gr(e,"unexpected end of the stream within a flow collection")}function Abi(e,t){var n,r,i=mJ,a=!1,o=!1,s=t,l=0,u=!1,c,f;if(f=e.input.charCodeAt(e.position),f===124)r=!1;else if(f===62)r=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)mJ===i?i=f===43?uAe:pbi:Gr(e,"repeat of a chomping mode identifier");else if((c=wbi(f))>=0)c===0?Gr(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?Gr(e,"repeat of an indentation width identifier"):(s=t+c-1,o=!0);else break;if(u4(f)){do f=e.input.charCodeAt(++e.position);while(u4(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!Zp(f)&&f!==0)}for(;f!==0;){for(Ope(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndents&&(s=e.lineIndent),Zp(f)){l++;continue}if(e.lineIndentt)&&l!==0)Gr(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(b&&(o=e.line,s=e.lineStart,l=e.position),D_(e,t,FB,!0,i)&&(b?p=e.result:g=e.result),b||(e6(e,f,d,h,p,g,o,s,l),h=p=g=null),cl(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)Gr(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),f=0,d=e.implicitTypes.length;f"),e.result!==null&&p.kind!==e.kind&&Gr(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Gr(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function Rbi(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(cl(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!vf(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Gr(e,"directive name must not be less than one character in length");o!==0;){for(;u4(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Zp(o));break}if(Zp(o))break;for(n=e.position;o!==0&&!vf(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Ope(e),C2.call(dAe,r)?dAe[r](e,r,i):NB(e,'unknown document directive "'+r+'"')}if(cl(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,cl(e,!0,-1)):a&&Gr(e,"directives end mark is expected"),D_(e,e.lineIndent-1,FB,!1,!0),cl(e,!0,-1),e.checkLineBreaks&&gbi.test(e.input.slice(t,e.position))&&NB(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&jz(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,cl(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=tQe(e,n);if(typeof t!="function")return r;for(var i=0,a=r.length;it)&&l!==0)Gr(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(b&&(o=e.line,s=e.lineStart,l=e.position),D_(e,t,FB,!0,i)&&(b?p=e.result:g=e.result),b||(e6(e,f,d,h,p,g,o,s,l),h=p=g=null),cl(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)Gr(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),f=0,d=e.implicitTypes.length;f"),e.result!==null&&p.kind!==e.kind&&Gr(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result,e.tag)?(e.result=p.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Gr(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||c}function Mbi(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(cl(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!vf(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&Gr(e,"directive name must not be less than one character in length");o!==0;){for(;u4(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Zp(o));break}if(Zp(o))break;for(n=e.position;o!==0&&!vf(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&Ope(e),C2.call(dAe,r)?dAe[r](e,r,i):NB(e,'unknown document directive "'+r+'"')}if(cl(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,cl(e,!0,-1)):a&&Gr(e,"directives end mark is expected"),D_(e,e.lineIndent-1,FB,!1,!0),cl(e,!0,-1),e.checkLineBreaks&&mbi.test(e.input.slice(t,e.position))&&NB(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&jz(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,cl(e,!0,-1));return}if(e.position"u"&&(n=t,t=null);var r=tQe(e,n);if(typeof t!="function")return r;for(var i=0,a=r.length;i=55296&&n<=56319&&t+1=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function cQe(e){var t=/^\n* /;return t.test(e)}var fQe=1,Vse=2,dQe=3,hQe=4,Dk=5;function o4i(e,t,n,r,i,a,o,s){var l,u=0,c=null,f=!1,d=!1,h=r!==-1,p=-1,g=i4i(Rx(e,0))&&a4i(Rx(e,e.length-1));if(t||o)for(l=0;l=65536?l+=2:l++){if(u=Rx(e,l),!u8(u))return Dk;g=g&&vAe(u,c,s),c=u}else{for(l=0;l=65536?l+=2:l++){if(u=Rx(e,l),u===s8)f=!0,h&&(d=d||l-p-1>r&&e[p+1]!==" ",p=l);else if(!u8(u))return Dk;g=g&&vAe(u,c,s),c=u}d=d||h&&l-p-1>r&&e[p+1]!==" "}return!f&&!d?g&&!o&&!i(e)?fQe:a===l8?Dk:Vse:n>9&&cQe(e)?Dk:o?a===l8?Dk:Vse:d?hQe:dQe}function s4i(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===l8?'""':"''";if(!e.noCompatMode&&(Jbi.indexOf(t)!==-1||Zbi.test(t)))return e.quotingType===l8?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function l(u){return r4i(e,u)}switch(o4i(t,s,e.indent,o,l,e.quotingType,e.forceQuotes&&!r,i)){case fQe:return t;case Vse:return"'"+t.replace(/'/g,"''")+"'";case dQe:return"|"+yAe(t,e.indent)+bAe(gAe(t,a));case hQe:return">"+yAe(t,e.indent)+bAe(gAe(l4i(t,o),a));case Dk:return'"'+u4i(t)+'"';default:throw new tT("impossible error: invalid scalar style")}}()}function yAe(e,t){var n=cQe(e)?String(t):"",r=e[e.length-1]===` +`+Hz.repeat(" ",e.indent*t)}function i4i(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n=55296&&n<=56319&&t+1=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function cQe(e){var t=/^\n* /;return t.test(e)}var fQe=1,Vse=2,dQe=3,hQe=4,Dk=5;function s4i(e,t,n,r,i,a,o,s){var l,u=0,c=null,f=!1,d=!1,h=r!==-1,p=-1,g=a4i(Rx(e,0))&&o4i(Rx(e,e.length-1));if(t||o)for(l=0;l=65536?l+=2:l++){if(u=Rx(e,l),!u8(u))return Dk;g=g&&vAe(u,c,s),c=u}else{for(l=0;l=65536?l+=2:l++){if(u=Rx(e,l),u===s8)f=!0,h&&(d=d||l-p-1>r&&e[p+1]!==" ",p=l);else if(!u8(u))return Dk;g=g&&vAe(u,c,s),c=u}d=d||h&&l-p-1>r&&e[p+1]!==" "}return!f&&!d?g&&!o&&!i(e)?fQe:a===l8?Dk:Vse:n>9&&cQe(e)?Dk:o?a===l8?Dk:Vse:d?hQe:dQe}function l4i(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===l8?'""':"''";if(!e.noCompatMode&&(Zbi.indexOf(t)!==-1||Qbi.test(t)))return e.quotingType===l8?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function l(u){return i4i(e,u)}switch(s4i(t,s,e.indent,o,l,e.quotingType,e.forceQuotes&&!r,i)){case fQe:return t;case Vse:return"'"+t.replace(/'/g,"''")+"'";case dQe:return"|"+yAe(t,e.indent)+bAe(gAe(t,a));case hQe:return">"+yAe(t,e.indent)+bAe(gAe(u4i(t,o),a));case Dk:return'"'+c4i(t)+'"';default:throw new tT("impossible error: invalid scalar style")}}()}function yAe(e,t){var n=cQe(e)?String(t):"",r=e[e.length-1]===` `,i=r&&(e[e.length-2]===` `||e===` `),a=i?"+":r?"":"-";return n+a+` `}function bAe(e){return e[e.length-1]===` -`?e.slice(0,-1):e}function l4i(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var u=e.indexOf(` +`?e.slice(0,-1):e}function u4i(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var u=e.indexOf(` `);return u=u!==-1?u:e.length,n.lastIndex=u,wAe(e.slice(0,u),t)}(),i=e[0]===` `||e[0]===" ",a,o;o=n.exec(e);){var s=o[1],l=o[2];a=l[0]===" ",r+=s+(!i&&!a&&l!==""?` `:"")+wAe(l,t),i=a}return r}function wAe(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,l="";r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,l+=` `+e.slice(i,a),i=a+1),o=s;return l+=` `,e.length-i>t&&o>i?l+=e.slice(i,o)+` -`+e.slice(o+1):l+=e.slice(i),l.slice(1)}function u4i(e){for(var t="",n=0,r,i=0;i=65536?i+=2:i++)n=Rx(e,i),r=Vu[n],!r&&u8(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||e4i(n);return t}function c4i(e,t,n){var r="",i=e.tag,a,o,s;for(a=0,o=n.length;a"u"&&Zg(e,t,null,!1,!1))&&(r!==""&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=i,e.dump="["+r+"]"}function kAe(e,t,n,r){var i="",a=e.tag,o,s,l;for(o=0,s=n.length;o"u"&&Zg(e,t+1,null,!0,!0,!1,!0))&&((!r||i!=="")&&(i+=Gse(e,t)),e.dump&&s8===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=a,e.dump=i||"[]"}function f4i(e,t,n){var r="",i=e.tag,a=Object.keys(n),o,s,l,u,c;for(o=0,s=a.length;o1024&&(c+="? "),c+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Zg(e,t,u,!1,!1)&&(c+=e.dump,r+=c));e.tag=i,e.dump="{"+r+"}"}function d4i(e,t,n,r){var i="",a=e.tag,o=Object.keys(n),s,l,u,c,f,d;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new tT("sortKeys must be a boolean or a function");for(s=0,l=o.length;s1024,f&&(e.dump&&s8===e.dump.charCodeAt(0)?d+="?":d+="? "),d+=e.dump,f&&(d+=Gse(e,t)),Zg(e,t+1,c,!0,f)&&(e.dump&&s8===e.dump.charCodeAt(0)?d+=":":d+=": ",d+=e.dump,i+=d));e.tag=a,e.dump=i||"{}"}function _Ae(e,t,n){var r,i,a,o,s,l;for(i=n?e.explicitTypes:e.implicitTypes,a=0,o=i.length;a tag resolver accepts not "'+l+'" style');e.dump=r}return!0}return!1}function Zg(e,t,n,r,i,a,o){e.tag=null,e.dump=n,_Ae(e,n,!1)||_Ae(e,n,!0);var s=rQe.call(e.dump),l=r,u;r&&(r=e.flowLevel<0||e.flowLevel>t);var c=s==="[object Object]"||s==="[object Array]",f,d;if(c&&(f=e.duplicates.indexOf(n),d=f!==-1),(e.tag!==null&&e.tag!=="?"||d||e.indent!==2&&t>0)&&(i=!1),d&&e.usedDuplicates[f])e.dump="*ref_"+f;else{if(c&&d&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),s==="[object Object]")r&&Object.keys(e.dump).length!==0?(d4i(e,t,e.dump,i),d&&(e.dump="&ref_"+f+e.dump)):(f4i(e,t,e.dump),d&&(e.dump="&ref_"+f+" "+e.dump));else if(s==="[object Array]")r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?kAe(e,t-1,e.dump,i):kAe(e,t,e.dump,i),d&&(e.dump="&ref_"+f+e.dump)):(c4i(e,t,e.dump),d&&(e.dump="&ref_"+f+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&s4i(e,e.dump,t,a,l);else{if(s==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new tT("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function h4i(e,t){var n=[],r=[],i,a;for(Kse(e,n,r),i=0,a=r.length;i{const t=[1,2,3,4,5,6],n=i=>Array.isArray(i)||Number.isNaN(i)?i:Number.parseInt(i,10),r=n(e);if(Array.isArray(r)){const i=r.map(n);return{headingDivider:t.filter(a=>i.includes(a))}}return e==="false"?{headingDivider:!1}:t.includes(r)?{headingDivider:r}:{}},style:e=>({style:e}),theme:(e,t)=>t.themeSet.has(e)?{theme:e}:{}});Qp.globals=gQe;const mQe=Object.assign(Object.create(null),{backgroundColor:e=>({backgroundColor:e}),backgroundImage:e=>({backgroundImage:e}),backgroundPosition:e=>({backgroundPosition:e}),backgroundRepeat:e=>({backgroundRepeat:e}),backgroundSize:e=>({backgroundSize:e}),class:e=>({class:Array.isArray(e)?e.join(" "):e}),color:e=>({color:e}),footer:e=>typeof e=="string"?{footer:e}:{},header:e=>typeof e=="string"?{header:e}:{},paginate:e=>({paginate:(e||"").toLowerCase()==="true"})});Qp.locals=mQe;var m4i=[...Object.keys(gQe),...Object.keys(mQe)];Qp.default=m4i;Object.defineProperty(P4,"__esModule",{value:!0});P4.yaml=P4.default=void 0;var CAe=b4i(qc),v4i=y4i(Qp);function y4i(e){return e&&e.__esModule?e:{default:e}}function vQe(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(vQe=function(r){return r?n:t})(e)}function b4i(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=vQe(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var o=i?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}const w4i=e=>{const t=new Set;for(const n of e){const r="_?"+n.replace(/[.*+?^=!:${}()|[\]\\/]/g,"\\$&");t.add(r),t.add(`"${r}"`),t.add(`'${r}'`)}return[...t.values()]},k4i=`["'{|>~&*`;function _4i(e){try{const t=CAe.default.load(e,{schema:CAe.FAILSAFE_SCHEMA});return t===null||typeof t!="object"?!1:t}catch{return!1}}function C4i(e,t){const n=`(?:${w4i(t).join("|")})`,r=new RegExp(`^(${n}\\s*:)(.+)$`);let i="";for(const a of e.split(/\r?\n/))i+=`${a.replace(r,(o,s,l)=>{const u=l.trim();if(u.length===0||k4i.includes(u[0]))return o;const c=l.length-l.trimLeft().length,f=l.substring(0,c);return`${s}${f}"${u.split('"').join('\\"')}"`})} -`;return i.trim()}const yQe=(e,t=!1)=>_4i(t?C4i(e,[...v4i.default,...Array.isArray(t)?t:[]]):e);P4.yaml=yQe;var E4i=yQe;P4.default=E4i;Object.defineProperty(_2,"__esModule",{value:!0});_2.default=_2.comment=void 0;_2.markAsParsed=bQe;var x4i=A4i(zs),S4i=P4;function A4i(e){return e&&e.__esModule?e:{default:e}}const EAe=//,D4i=[/^prettier-ignore(-(start|end))?$/,/^markdownlint-((disable|enable).*|capture|restore)$/,/^lint (disable|enable|ignore).*$/];function bQe(e,t){e.meta=e.meta||{},e.meta.marpitCommentParsed=t}function I4i(e){const t=(n,r)=>{const i=(0,S4i.yaml)(r,!!e.marpit.options.looseYAML);n.meta=n.meta||{},n.meta.marpitParsedDirectives=i===!1?{}:i;for(const a of D4i)if(a.test(r.trim())){bQe(n,"well-known-magic-comment");break}};e.block.ruler.before("html_block","marpit_comment",(n,r,i,a)=>{let o=n.bMarks[r]+n.tShift[r];if(n.src.charCodeAt(o)!==60)return!1;let s=n.eMarks[r],l=n.src.slice(o,s);if(!T4i.test(l))return!1;if(a)return!0;let u=r+1;if(!xAe.test(l))for(;u{const{posMax:i,src:a}=n;if(n.pos+2>=i||a.charCodeAt(n.pos)!==60||a.charCodeAt(n.pos+1)!==33)return!1;const o=a.slice(n.pos).match(EAe);if(!o)return!1;if(!r){const s=n.push("marpit_comment","",0);s.hidden=!0,s.markup=a.slice(n.pos,n.pos+o[0].length),s.content=o[1].trim(),t(s,s.content)}return n.pos+=o[0].length,!0})}const wQe=(0,x4i.default)(I4i);_2.comment=wQe;var R4i=wQe;_2.default=R4i;var I_={};Object.defineProperty(I_,"__esModule",{value:!0});I_.default=I_.container=void 0;var M4i=Xg,O4i=R1,L4i=B4i(zs);function B4i(e){return e&&e.__esModule?e:{default:e}}function P4i(e){const t=(0,M4i.wrapArray)(e.marpit.options.container);if(!t)return;const n=[...t].reverse();e.core.ruler.push("marpit_containers",r=>{if(!r.inlineMode)for(const i of n)r.tokens=(0,O4i.wrapTokens)(r.Token,"marpit_containers",i,r.tokens)})}const kQe=(0,L4i.default)(P4i);I_.container=kQe;var F4i=kQe;I_.default=F4i;var R_={},N4i=1/0,$4i="[object Symbol]",z4i=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,U4i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_Qe="\\ud800-\\udfff",j4i="\\u0300-\\u036f\\ufe20-\\ufe23",H4i="\\u20d0-\\u20f0",CQe="\\u2700-\\u27bf",EQe="a-z\\xdf-\\xf6\\xf8-\\xff",q4i="\\xac\\xb1\\xd7\\xf7",W4i="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",G4i="\\u2000-\\u206f",V4i=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xQe="A-Z\\xc0-\\xd6\\xd8-\\xde",K4i="\\ufe0e\\ufe0f",SQe=q4i+W4i+G4i+V4i,Fpe="['’]",SAe="["+SQe+"]",AQe="["+j4i+H4i+"]",TQe="\\d+",Y4i="["+CQe+"]",DQe="["+EQe+"]",IQe="[^"+_Qe+SQe+TQe+CQe+EQe+xQe+"]",X4i="\\ud83c[\\udffb-\\udfff]",J4i="(?:"+AQe+"|"+X4i+")",Z4i="[^"+_Qe+"]",RQe="(?:\\ud83c[\\udde6-\\uddff]){2}",MQe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ik="["+xQe+"]",Q4i="\\u200d",AAe="(?:"+DQe+"|"+IQe+")",e3i="(?:"+Ik+"|"+IQe+")",TAe="(?:"+Fpe+"(?:d|ll|m|re|s|t|ve))?",DAe="(?:"+Fpe+"(?:D|LL|M|RE|S|T|VE))?",OQe=J4i+"?",LQe="["+K4i+"]?",t3i="(?:"+Q4i+"(?:"+[Z4i,RQe,MQe].join("|")+")"+LQe+OQe+")*",n3i=LQe+OQe+t3i,r3i="(?:"+[Y4i,RQe,MQe].join("|")+")"+n3i,i3i=RegExp(Fpe,"g"),a3i=RegExp(AQe,"g"),o3i=RegExp([Ik+"?"+DQe+"+"+TAe+"(?="+[SAe,Ik,"$"].join("|")+")",e3i+"+"+DAe+"(?="+[SAe,Ik+AAe,"$"].join("|")+")",Ik+"?"+AAe+"+"+TAe,Ik+"+"+DAe,TQe,r3i].join("|"),"g"),s3i=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,l3i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"ss"},u3i=typeof as=="object"&&as&&as.Object===Object&&as,c3i=typeof self=="object"&&self&&self.Object===Object&&self,f3i=u3i||c3i||Function("return this")();function d3i(e,t,n,r){var i=-1,a=e?e.length:0;for(r&&a&&(n=e[++i]);++i{if(!l.inlineMode)for(const u of l.tokens){const{marpitDirectives:c,marpitSlide:f,marpitSlideTotal:d}=u.meta||{};if(c){const h=new D3i.default(u.attrGet("style"));for(const g of Object.keys(c))if(s.includes(g)){const b=c[g];if(b){const m=(0,T3i.default)(g);r&&u.attrSet(`data-${m}`,b),i&&h.set(`--${m}`,b)}}c.class&&u.attrJoin("class",c.class),c.color&&h.set("color",c.color),c.backgroundColor&&h.set("background-color",c.backgroundColor).set("background-image","none"),c.backgroundImage&&(h.set("background-image",c.backgroundImage).set("background-position","center").set("background-repeat","no-repeat").set("background-size","cover"),c.backgroundPosition&&h.set("background-position",c.backgroundPosition),c.backgroundRepeat&&h.set("background-repeat",c.backgroundRepeat),c.backgroundSize&&h.set("background-size",c.backgroundSize)),c.paginate&&(u.attrSet("data-marpit-pagination",f+1),u.attrSet("data-marpit-pagination-total",d)),c.header&&(u.meta.marpitHeader=c.header),c.footer&&(u.meta.marpitFooter=c.footer);const p=h.toString();p!==""&&u.attrSet("style",p)}}})}const PQe=(0,I3i.default)(M3i);R_.apply=PQe;var O3i=PQe;R_.default=O3i;var M_={},L3i=function(t,n){var r=3,i="-",a=i.charCodeAt(0),o=i.length;function s(l,u,c,f){var d,h,p,g,b,m,v,w=!1,k=l.bMarks[u]+l.tShift[u],E=l.eMarks[u];if(u!==0||a!==l.src.charCodeAt(0))return!1;for(d=k+1;d<=E;d++)if(i[(d-k)%o]!==l.src[d]){v=d+1;break}if(p=Math.floor((d-k)/o),p=c||l.src.slice(k,E)==="..."||(k=l.bMarks[h]+l.tShift[h],E=l.eMarks[h],k=4)){for(d=k+1;d<=E&&i[(d-k)%o]===l.src[d];d++);if(!(Math.floor((d-k)/o)e.type==="marpit_comment"&&e.meta.marpitParsedDirectives;function $3i(e,t={}){const{marpit:n}=e,r=(o,s)=>{let l={};for(const u of Object.keys(o))s[u]?l={...l,...s[u](o[u],n)}:l[u]=o[u];return l},i=t.frontMatter===void 0?!0:!!t.frontMatter;let a={};i&&(e.core.ruler.before("block","marpit_directives_front_matter",o=>{a={},o.inlineMode||(n.lastGlobalDirectives={})}),e.use(B3i.default,o=>{a.text=o;const s=(0,F3i.yaml)(o,n.options.looseYAML?[...Object.keys(n.customDirectives.global),...Object.keys(n.customDirectives.local)]:!1);s!==!1&&(a.yaml=s)})),e.core.ruler.after("inline","marpit_directives_global_parse",o=>{if(o.inlineMode)return;let s={};const l=u=>{let c=!1;for(const f of Object.keys(u))Z1.globals[f]?(c=!0,s={...s,...Z1.globals[f](u[f],n)}):n.customDirectives.global[f]&&(c=!0,s={...s,...r(n.customDirectives.global[f](u[f],n),Z1.globals)});return c};a.yaml&&l(a.yaml);for(const u of o.tokens)if(KI(u)&&l(u.meta.marpitParsedDirectives))(0,VI.markAsParsed)(u,"directive");else if(u.type==="inline")for(const c of u.children)KI(c)&&l(c.meta.marpitParsedDirectives)&&(0,VI.markAsParsed)(c,"directive");n.lastGlobalDirectives={...s}}),e.core.ruler.after("marpit_slide","marpit_directives_parse",o=>{if(o.inlineMode)return;const s=[],l={slide:void 0,local:{},spot:{}},u=c=>{let f=!1;for(const d of Object.keys(c))if(Z1.locals[d]?(f=!0,l.local={...l.local,...Z1.locals[d](c[d],n)}):n.customDirectives.local[d]&&(f=!0,l.local={...l.local,...r(n.customDirectives.local[d](c[d],n),Z1.locals)}),d.startsWith("_")){const h=d.slice(1);Z1.locals[h]?(f=!0,l.spot={...l.spot,...Z1.locals[h](c[d],n)}):n.customDirectives.local[h]&&(f=!0,l.spot={...l.spot,...r(n.customDirectives.local[h](c[d],n),Z1.locals)})}return f};a.yaml&&u(a.yaml);for(const c of o.tokens)if(c.meta&&c.meta.marpitSlideElement===1)c.meta.marpitDirectives={},s.push(c),l.slide=c;else if(c.meta&&c.meta.marpitSlideElement===-1)l.slide.meta.marpitDirectives={...l.slide.meta.marpitDirectives,...l.local,...l.spot},l.spot={};else if(KI(c)&&u(c.meta.marpitParsedDirectives))(0,VI.markAsParsed)(c,"directive");else if(c.type==="inline")for(const f of c.children)KI(f)&&u(f.meta.marpitParsedDirectives)&&(0,VI.markAsParsed)(f,"directive");for(const c of s)c.meta.marpitDirectives={...c.meta.marpitDirectives,...n.lastGlobalDirectives}})}const $Qe=(0,P3i.default)($3i);M_.parse=$Qe;var z3i=$Qe;M_.default=z3i;var O_={};Object.defineProperty(O_,"__esModule",{value:!0});O_.fragment=O_.default=void 0;var U3i=j3i(zs);function j3i(e){return e&&e.__esModule?e:{default:e}}const H3i=["*",")"];function q3i(e){e.core.ruler.after("marpit_directives_parse","marpit_fragment",t=>{if(!t.inlineMode)for(const n of t.tokens)n.type==="list_item_open"&&H3i.includes(n.markup)&&(n.meta=n.meta||{},n.meta.marpitFragment=!0)}),e.core.ruler.after("marpit_fragment","marpit_apply_fragment",t=>{if(t.inlineMode)return;const n={slide:void 0,count:0};for(const r of t.tokens)r.meta&&r.meta.marpitSlideElement===1?(n.slide=r,n.count=0):r.meta&&r.meta.marpitSlideElement===-1?n.slide&&n.count>0&&n.slide.attrSet("data-marpit-fragments",n.count):r.meta&&r.meta.marpitFragment&&(n.count+=1,r.meta.marpitFragment=n.count,r.attrSet("data-marpit-fragment",n.count))})}const zQe=(0,U3i.default)(q3i);O_.fragment=zQe;var W3i=zQe;O_.default=W3i;var L_={};Object.defineProperty(L_,"__esModule",{value:!0});L_.headerAndFooter=L_.default=void 0;var G3i=R1,V3i=K3i(zs);function K3i(e){return e&&e.__esModule?e:{default:e}}function Y3i(e){e.core.ruler.after("marpit_directives_apply","marpit_header_and_footer",t=>{if(t.inlineMode)return;const n=new Map,r=s=>{let l=n.get(s);return l||(l=e.parseInline(s,t.env),delete l.map,n.set(s,l)),l},i=(s,l)=>(0,G3i.wrapTokens)(t.Token,`marpit_${s}`,{tag:s,close:{block:!0}},r(l));let a;const o=[];for(const s of t.tokens)s.type==="marpit_slide_open"?(a=s,o.push(s),a.meta&&a.meta.marpitHeader&&o.push(...i("header",a.meta.marpitHeader))):(s.type==="marpit_slide_close"&&a.meta&&a.meta.marpitFooter&&o.push(...i("footer",a.meta.marpitFooter)),o.push(s));t.tokens=o})}const UQe=(0,V3i.default)(Y3i);L_.headerAndFooter=UQe;var X3i=UQe;L_.default=X3i;var B_={},ry={};Object.defineProperty(ry,"__esModule",{value:!0});ry.default=void 0;ry.split=jQe;function jQe(e,t,n=!1){const r=[[]];for(const i of e)t(i)?r.push(n?[i]:[]):r[r.length-1].push(i);return r}var J3i=jQe;ry.default=J3i;Object.defineProperty(B_,"__esModule",{value:!0});B_.headingDivider=B_.default=void 0;var Z3i=ry,Q3i=ewi(zs);function ewi(e){return e&&e.__esModule?e:{default:e}}function twi(e){const{marpit:t}=e;e.core.ruler.before("marpit_slide","marpit_heading_divider",n=>{let r=t.options.headingDivider;if(t.lastGlobalDirectives&&Object.prototype.hasOwnProperty.call(t.lastGlobalDirectives,"headingDivider")&&(r=t.lastGlobalDirectives.headingDivider),n.inlineMode||r===!1||(Number.isInteger(r)&&r>=1&&r<=6&&(r=[...Array(r).keys()].map(s=>s+1)),!Array.isArray(r)))return;const i=r.map(s=>`h${s}`),a=s=>s.type==="heading_open"&&i.includes(s.tag),o=[];for(const s of(0,Z3i.split)(n.tokens,a,!0)){const[l]=s;if(l&&a(l)&&o.some(u=>!u.hidden)){const u=new n.Token("hr","",0);u.hidden=!0,u.map=l.map,o.push(u)}o.push(...s)}n.tokens=o})}const HQe=(0,Q3i.default)(twi);B_.headingDivider=HQe;var nwi=HQe;B_.default=nwi;var P_={},F_={};Object.defineProperty(F_,"__esModule",{value:!0});F_.default=F_.applyImage=void 0;var rwi=qQe(wE),iwi=qQe(zs);function qQe(e){return e&&e.__esModule?e:{default:e}}function awi(e){e.inline.ruler2.push("marpit_apply_image",({tokens:t})=>{for(const n of t)if(n.type==="image"){const{filters:r,height:i,width:a}=n.meta.marpitImage,o=new rwi.default(n.attrGet("style"));if(a&&!a.endsWith("%")&&o.set("width",a),i&&!i.endsWith("%")&&o.set("height",i),r){const l=[];for(const u of r)l.push(`${u[0]}(${u[1]})`);n.meta.marpitImage.filter=l.join(" "),o.set("filter",n.meta.marpitImage.filter)}const s=o.toString();s&&n.attrSet("style",s)}}),e.core.ruler.after("marpit_inline_svg","marpit_apply_color",({inlineMode:t,tokens:n})=>{if(t)return;let r;for(const i of n)if(i.type==="marpit_slide_open"&&(r=i),i.type==="marpit_slide_close"&&(r=void 0),r&&i.type==="inline"){for(const a of i.children)if(a.type==="image"){const{background:o,color:s}=a.meta.marpitImage;!o&&s&&(r.meta.marpitDirectives={...r.meta.marpitDirectives||{},color:s})}}})}const WQe=(0,iwi.default)(awi);F_.applyImage=WQe;var owi=WQe;F_.default=owi;var N_={},GQe={exports:{}},swi={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},VQe={exports:{}},lwi=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},uwi=lwi,cwi=Array.prototype.concat,fwi=Array.prototype.slice,OAe=VQe.exports=function(t){for(var n=[],r=0,i=t.length;r=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};id.to.keyword=function(e){return YQe[e.slice(0,3)]};function t2(e,t,n){return Math.min(Math.max(t,e),n)}function YI(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var hwi=GQe.exports;Object.defineProperty(N_,"__esModule",{value:!0});N_.parseImage=N_.default=void 0;var pwi=XQe(hwi),gwi=XQe(zs);function XQe(e){return e&&e.__esModule?e:{default:e}}const B0=e=>e.replace(/[\\;:()]/g,t=>`\\${t[0].codePointAt(0).toString(16)} `),Lf=new Map;Lf.set(/^(\d*\.)?\d+%$/,e=>({size:e[0]}));const JQe=e=>`${e}${/^(\d*\.)?\d+$/.test(e)?"px":""}`;Lf.set(/^w(?:idth)?:((?:\d*\.)?\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px)?|auto)$/,e=>({width:JQe(e[1])}));Lf.set(/^h(?:eight)?:((?:\d*\.)?\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px)?|auto)$/,e=>({height:JQe(e[1])}));Lf.set(/^blur(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["blur",B0(e[1]||"10px")]]}));Lf.set(/^brightness(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["brightness",B0(e[1]||"1.5")]]}));Lf.set(/^contrast(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["contrast",B0(e[1]||"2")]]}));Lf.set(/^drop-shadow(?::(.+?),(.+?)(?:,(.+?))?(?:,(.+?))?)?$/,(e,t)=>{const n=[];for(const r of e.slice(1))if(r){const i=r.match(/^(rgba?|hsla?|hwb|(?:ok)?(?:lab|lch)|color)\((.*)\)$/);n.push(i?`${i[1]}(${B0(i[2])})`:B0(r))}return{filters:[...t.filters,["drop-shadow",n.join(" ")||"0 5px 10px rgba(0,0,0,.4)"]]}});Lf.set(/^grayscale(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["grayscale",B0(e[1]||"1")]]}));Lf.set(/^hue-rotate(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["hue-rotate",B0(e[1]||"180deg")]]}));Lf.set(/^invert(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["invert",B0(e[1]||"1")]]}));Lf.set(/^opacity(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["opacity",B0(e[1]||".5")]]}));Lf.set(/^saturate(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["saturate",B0(e[1]||"2")]]}));Lf.set(/^sepia(?::(.+))?$/,(e,t)=>({filters:[...t.filters,["sepia",B0(e[1]||"1")]]}));function mwi(e){const{process:t}=e.core;let n,r=0;const i=(a,o)=>{if(a.attrs&&Array.isArray(a.attrs)&&(a.attrs=a.attrs.map(([s,l])=>[s,l.toString()])),a.type==="inline")for(const s of a.children)i(s,o);if(a.type==="image"&&a.meta&&a.meta.marpitImage){let s="",l=!1;for(const u of a.meta.marpitImage.options)u.consumed?l=!0:s+=u.leading+u.content;if(l){let u=[];e.inline.parse(s.trimLeft(),o.md,o.env,u),a.children=u}}};e.core.process=a=>{const{normalizeLink:o}=e;r===0&&(n=new WeakMap);try{return e.normalizeLink=s=>{const l=new String(o.call(e,s));return n.set(l,s),l},r+=1,t.call(e.core,a)}finally{if(r-=1,e.normalizeLink=o,r===0)for(const s of a.tokens)i(s,a)}},e.inline.ruler2.push("marpit_parse_image",({tokens:a})=>{for(const o of a)if(o.type==="image"){const s=o.content.split(/(\s+)/);let l=0,u="";const c=s.reduce((h,p,g)=>(g%2===0&&p.length>0?(l+=u.length,h.push({content:p,index:l,leading:u,consumed:!1}),u="",l+=p.length):u+=p,h),[]),f=o.attrGet("src"),d=n.has(f)?n.get(f):f;if(o.meta=o.meta||{},o.meta.marpitImage={...o.meta.marpitImage||{},url:f.toString(),options:c},pwi.default.get(d)||d.toLowerCase()==="currentcolor"){const h=c.some(p=>p.content==="bg")?"backgroundColor":"color";console.warn(`Deprecation warning: Shorthand for setting colors via Markdown image syntax is deprecated now, and will remove in next major release. Please replace to a scoped local direcitve , or use the scoped style